docs.go 1.4 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133
  1. // Package docs 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. "text/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{escape .Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://www.muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetClientMenus": {
  402. "get": {
  403. "security": [
  404. {
  405. "ApiKeyAuth": []
  406. }
  407. ],
  408. "produces": [
  409. "application/json"
  410. ],
  411. "tags": [
  412. "通用服务"
  413. ],
  414. "summary": "获取交易端菜单",
  415. "parameters": [
  416. {
  417. "type": "integer",
  418. "description": "登录账号",
  419. "name": "loginID",
  420. "in": "query",
  421. "required": true
  422. },
  423. {
  424. "type": "integer",
  425. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  426. "name": "clientType",
  427. "in": "query"
  428. },
  429. {
  430. "type": "string",
  431. "description": "分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台",
  432. "name": "name",
  433. "in": "query"
  434. }
  435. ],
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "type": "array",
  441. "items": {
  442. "$ref": "#/definitions/common.ClientMenu"
  443. }
  444. }
  445. },
  446. "500": {
  447. "description": "Internal Server Error",
  448. "schema": {
  449. "$ref": "#/definitions/app.Response"
  450. }
  451. }
  452. }
  453. }
  454. },
  455. "/Common/GetDivisions": {
  456. "get": {
  457. "produces": [
  458. "application/json"
  459. ],
  460. "tags": [
  461. "通用服务"
  462. ],
  463. "summary": "查询区域信息",
  464. "responses": {
  465. "200": {
  466. "description": "OK",
  467. "schema": {
  468. "$ref": "#/definitions/models.Division"
  469. }
  470. },
  471. "500": {
  472. "description": "Internal Server Error",
  473. "schema": {
  474. "$ref": "#/definitions/app.Response"
  475. }
  476. }
  477. }
  478. }
  479. },
  480. "/Common/GetPCWebMenus": {
  481. "get": {
  482. "security": [
  483. {
  484. "ApiKeyAuth": []
  485. }
  486. ],
  487. "produces": [
  488. "application/json"
  489. ],
  490. "tags": [
  491. "通用服务"
  492. ],
  493. "summary": "获取PCWeb交易端菜单",
  494. "parameters": [
  495. {
  496. "type": "integer",
  497. "description": "登录账号",
  498. "name": "loginID",
  499. "in": "query",
  500. "required": true
  501. },
  502. {
  503. "type": "string",
  504. "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
  505. "name": "name",
  506. "in": "query"
  507. }
  508. ],
  509. "responses": {
  510. "200": {
  511. "description": "OK",
  512. "schema": {
  513. "type": "array",
  514. "items": {
  515. "$ref": "#/definitions/common.PCWebMenu"
  516. }
  517. }
  518. },
  519. "500": {
  520. "description": "Internal Server Error",
  521. "schema": {
  522. "$ref": "#/definitions/app.Response"
  523. }
  524. }
  525. }
  526. }
  527. },
  528. "/Common/GetServerTime": {
  529. "get": {
  530. "produces": [
  531. "application/json"
  532. ],
  533. "tags": [
  534. "通用服务"
  535. ],
  536. "summary": "获取服务器时间",
  537. "responses": {
  538. "200": {
  539. "description": "OK",
  540. "schema": {
  541. "$ref": "#/definitions/app.Response"
  542. }
  543. },
  544. "500": {
  545. "description": "Internal Server Error",
  546. "schema": {
  547. "$ref": "#/definitions/app.Response"
  548. }
  549. }
  550. }
  551. }
  552. },
  553. "/Common/NoticeReaded": {
  554. "post": {
  555. "security": [
  556. {
  557. "ApiKeyAuth": []
  558. }
  559. ],
  560. "produces": [
  561. "application/json"
  562. ],
  563. "tags": [
  564. "通用服务"
  565. ],
  566. "summary": "通知公告设置已读请求",
  567. "parameters": [
  568. {
  569. "type": "integer",
  570. "description": "登录账号",
  571. "name": "loginID",
  572. "in": "query",
  573. "required": true
  574. },
  575. {
  576. "type": "integer",
  577. "description": "通知公告ID",
  578. "name": "noticeID",
  579. "in": "query",
  580. "required": true
  581. }
  582. ],
  583. "responses": {
  584. "200": {
  585. "description": "OK",
  586. "schema": {
  587. "$ref": "#/definitions/app.Response"
  588. }
  589. },
  590. "500": {
  591. "description": "Internal Server Error",
  592. "schema": {
  593. "$ref": "#/definitions/app.Response"
  594. }
  595. }
  596. }
  597. }
  598. },
  599. "/Common/QueryErrorInfos": {
  600. "get": {
  601. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  602. "produces": [
  603. "application/json"
  604. ],
  605. "tags": [
  606. "通用服务"
  607. ],
  608. "summary": "获取数据库错误信息",
  609. "parameters": [
  610. {
  611. "type": "string",
  612. "description": "起始行号前索引",
  613. "name": "rowNumber",
  614. "in": "query"
  615. }
  616. ],
  617. "responses": {
  618. "200": {
  619. "description": "OK",
  620. "schema": {
  621. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  622. }
  623. },
  624. "500": {
  625. "description": "Internal Server Error",
  626. "schema": {
  627. "$ref": "#/definitions/app.Response"
  628. }
  629. }
  630. }
  631. }
  632. },
  633. "/Common/QueryImageConfigs": {
  634. "get": {
  635. "produces": [
  636. "application/json"
  637. ],
  638. "tags": [
  639. "通用服务"
  640. ],
  641. "summary": "查询轮播图配置信息",
  642. "parameters": [
  643. {
  644. "type": "integer",
  645. "description": "用户id",
  646. "name": "userId",
  647. "in": "query"
  648. },
  649. {
  650. "type": "integer",
  651. "description": "类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)",
  652. "name": "imageType",
  653. "in": "query"
  654. }
  655. ],
  656. "responses": {
  657. "200": {
  658. "description": "OK",
  659. "schema": {
  660. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  661. }
  662. },
  663. "500": {
  664. "description": "Internal Server Error",
  665. "schema": {
  666. "$ref": "#/definitions/app.Response"
  667. }
  668. }
  669. }
  670. }
  671. },
  672. "/Common/QueryNotice": {
  673. "get": {
  674. "security": [
  675. {
  676. "ApiKeyAuth": []
  677. }
  678. ],
  679. "produces": [
  680. "application/json"
  681. ],
  682. "tags": [
  683. "通用服务"
  684. ],
  685. "summary": "通知公告系统消息查询",
  686. "parameters": [
  687. {
  688. "type": "integer",
  689. "description": "页码",
  690. "name": "page",
  691. "in": "query"
  692. },
  693. {
  694. "type": "integer",
  695. "description": "每页条数",
  696. "name": "pagesize",
  697. "in": "query"
  698. },
  699. {
  700. "type": "integer",
  701. "description": "登录账号",
  702. "name": "loginID",
  703. "in": "query",
  704. "required": true
  705. },
  706. {
  707. "type": "integer",
  708. "description": "消息类型 - 1:公告通知 2:系统消息",
  709. "name": "msgType",
  710. "in": "query"
  711. },
  712. {
  713. "type": "boolean",
  714. "description": "是否只获取未读信息",
  715. "name": "onlyUnRead",
  716. "in": "query"
  717. },
  718. {
  719. "type": "integer",
  720. "description": "自增ID,传入后会返回这个ID后面的记录",
  721. "name": "lastID",
  722. "in": "query"
  723. }
  724. ],
  725. "responses": {
  726. "200": {
  727. "description": "OK",
  728. "schema": {
  729. "$ref": "#/definitions/common.QueryNoticeRsp"
  730. }
  731. },
  732. "500": {
  733. "description": "Internal Server Error",
  734. "schema": {
  735. "$ref": "#/definitions/app.Response"
  736. }
  737. }
  738. }
  739. }
  740. },
  741. "/Common/QueryProvincesAndCities": {
  742. "get": {
  743. "produces": [
  744. "application/json"
  745. ],
  746. "tags": [
  747. "通用服务"
  748. ],
  749. "summary": "查询省市信息(不包括区)",
  750. "parameters": [
  751. {
  752. "type": "integer",
  753. "description": "省ID",
  754. "name": "provinceID",
  755. "in": "query"
  756. }
  757. ],
  758. "responses": {
  759. "200": {
  760. "description": "OK",
  761. "schema": {
  762. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  763. }
  764. },
  765. "500": {
  766. "description": "Internal Server Error",
  767. "schema": {
  768. "$ref": "#/definitions/app.Response"
  769. }
  770. }
  771. }
  772. }
  773. },
  774. "/Common/QueryTableDefine": {
  775. "get": {
  776. "produces": [
  777. "application/json"
  778. ],
  779. "tags": [
  780. "通用服务"
  781. ],
  782. "summary": "查询交易端列表头信息",
  783. "parameters": [
  784. {
  785. "type": "string",
  786. "description": "表key",
  787. "name": "tableKey",
  788. "in": "query"
  789. },
  790. {
  791. "type": "integer",
  792. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  793. "name": "tableType",
  794. "in": "query"
  795. }
  796. ],
  797. "responses": {
  798. "200": {
  799. "description": "OK",
  800. "schema": {
  801. "$ref": "#/definitions/common.QueryTableDefineRsp"
  802. }
  803. },
  804. "500": {
  805. "description": "Internal Server Error",
  806. "schema": {
  807. "$ref": "#/definitions/app.Response"
  808. }
  809. }
  810. }
  811. }
  812. },
  813. "/Common/QueryTraderMenu": {
  814. "get": {
  815. "produces": [
  816. "application/json"
  817. ],
  818. "tags": [
  819. "通用服务"
  820. ],
  821. "summary": "查询交易端菜单",
  822. "parameters": [
  823. {
  824. "type": "integer",
  825. "description": "登录账号",
  826. "name": "loginid",
  827. "in": "query",
  828. "required": true
  829. }
  830. ],
  831. "responses": {
  832. "200": {
  833. "description": "OK",
  834. "schema": {
  835. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  836. }
  837. },
  838. "500": {
  839. "description": "Internal Server Error",
  840. "schema": {
  841. "$ref": "#/definitions/app.Response"
  842. }
  843. }
  844. }
  845. }
  846. },
  847. "/Delivery/QueryDeliveryRelation": {
  848. "get": {
  849. "security": [
  850. {
  851. "ApiKeyAuth": []
  852. }
  853. ],
  854. "produces": [
  855. "application/json"
  856. ],
  857. "tags": [
  858. "交割服务"
  859. ],
  860. "summary": "查询商品交割关系表",
  861. "parameters": [
  862. {
  863. "type": "integer",
  864. "description": "商品ID",
  865. "name": "goodsid",
  866. "in": "query"
  867. },
  868. {
  869. "type": "integer",
  870. "description": "品种ID",
  871. "name": "deliverygoodsid",
  872. "in": "query"
  873. },
  874. {
  875. "type": "integer",
  876. "description": "市场ID",
  877. "name": "marketid",
  878. "in": "query"
  879. }
  880. ],
  881. "responses": {
  882. "200": {
  883. "description": "OK",
  884. "schema": {
  885. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  886. }
  887. },
  888. "500": {
  889. "description": "Internal Server Error",
  890. "schema": {
  891. "$ref": "#/definitions/app.Response"
  892. }
  893. }
  894. }
  895. }
  896. },
  897. "/Ermcp/GetErmcpGoods": {
  898. "get": {
  899. "security": [
  900. {
  901. "ApiKeyAuth": []
  902. }
  903. ],
  904. "produces": [
  905. "application/json"
  906. ],
  907. "tags": [
  908. "企业风险管理(app)"
  909. ],
  910. "summary": "查询企业风管期货商品信息",
  911. "parameters": [
  912. {
  913. "type": "integer",
  914. "description": "用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)",
  915. "name": "userid",
  916. "in": "query"
  917. },
  918. {
  919. "type": "string",
  920. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  921. "name": "lastUpdateTime",
  922. "in": "query"
  923. }
  924. ],
  925. "responses": {
  926. "200": {
  927. "description": "OK",
  928. "schema": {
  929. "$ref": "#/definitions/models.ErmcpGoods"
  930. }
  931. },
  932. "500": {
  933. "description": "Internal Server Error",
  934. "schema": {
  935. "$ref": "#/definitions/app.Response"
  936. }
  937. }
  938. }
  939. }
  940. },
  941. "/Ermcp/GetErmcpGoodsSortByPosition": {
  942. "get": {
  943. "security": [
  944. {
  945. "ApiKeyAuth": []
  946. }
  947. ],
  948. "produces": [
  949. "application/json"
  950. ],
  951. "tags": [
  952. "企业风险管理(app)"
  953. ],
  954. "summary": "查询企业风管期货主力、次主力商品信息",
  955. "parameters": [
  956. {
  957. "type": "string",
  958. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  959. "name": "sortIndex",
  960. "in": "query"
  961. }
  962. ],
  963. "responses": {
  964. "200": {
  965. "description": "OK",
  966. "schema": {
  967. "$ref": "#/definitions/models.Goodssortbypreposition"
  968. }
  969. },
  970. "500": {
  971. "description": "Internal Server Error",
  972. "schema": {
  973. "$ref": "#/definitions/app.Response"
  974. }
  975. }
  976. }
  977. }
  978. },
  979. "/Ermcp/GetErmcpOutAccountStatus": {
  980. "get": {
  981. "security": [
  982. {
  983. "ApiKeyAuth": []
  984. }
  985. ],
  986. "produces": [
  987. "application/json"
  988. ],
  989. "tags": [
  990. "企业风险管理(app)"
  991. ],
  992. "summary": "获取目标登录账号当前对冲账号在线状态",
  993. "parameters": [
  994. {
  995. "type": "integer",
  996. "description": "登录账号",
  997. "name": "loginID",
  998. "in": "query",
  999. "required": true
  1000. }
  1001. ],
  1002. "responses": {
  1003. "200": {
  1004. "description": "OK",
  1005. "schema": {
  1006. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1007. }
  1008. },
  1009. "500": {
  1010. "description": "Internal Server Error",
  1011. "schema": {
  1012. "$ref": "#/definitions/app.Response"
  1013. }
  1014. }
  1015. }
  1016. }
  1017. },
  1018. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1019. "get": {
  1020. "security": [
  1021. {
  1022. "ApiKeyAuth": []
  1023. }
  1024. ],
  1025. "produces": [
  1026. "application/json"
  1027. ],
  1028. "tags": [
  1029. "企业风险管理(app)"
  1030. ],
  1031. "summary": "获取企业风管终端权限",
  1032. "parameters": [
  1033. {
  1034. "type": "integer",
  1035. "description": "登录账号",
  1036. "name": "loginID",
  1037. "in": "query",
  1038. "required": true
  1039. }
  1040. ],
  1041. "responses": {
  1042. "200": {
  1043. "description": "OK",
  1044. "schema": {
  1045. "$ref": "#/definitions/models.Funcmenulist"
  1046. }
  1047. },
  1048. "500": {
  1049. "description": "Internal Server Error",
  1050. "schema": {
  1051. "$ref": "#/definitions/app.Response"
  1052. }
  1053. }
  1054. }
  1055. }
  1056. },
  1057. "/Ermcp/QueryAccMgrBizGroupSet": {
  1058. "get": {
  1059. "security": [
  1060. {
  1061. "ApiKeyAuth": []
  1062. }
  1063. ],
  1064. "produces": [
  1065. "application/json"
  1066. ],
  1067. "tags": [
  1068. "企业风险管理(app)"
  1069. ],
  1070. "summary": "查询业务类型分组(账户管理/账户设置)",
  1071. "parameters": [
  1072. {
  1073. "type": "integer",
  1074. "description": "用户ID",
  1075. "name": "userid",
  1076. "in": "query",
  1077. "required": true
  1078. },
  1079. {
  1080. "type": "integer",
  1081. "description": "现货商品id",
  1082. "name": "deliverygoodsid",
  1083. "in": "query"
  1084. }
  1085. ],
  1086. "responses": {
  1087. "200": {
  1088. "description": "OK",
  1089. "schema": {
  1090. "type": "array",
  1091. "items": {
  1092. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1093. }
  1094. }
  1095. },
  1096. "500": {
  1097. "description": "Internal Server Error",
  1098. "schema": {
  1099. "$ref": "#/definitions/app.Response"
  1100. }
  1101. }
  1102. }
  1103. }
  1104. },
  1105. "/Ermcp/QueryAccMgrLoginUser": {
  1106. "get": {
  1107. "security": [
  1108. {
  1109. "ApiKeyAuth": []
  1110. }
  1111. ],
  1112. "produces": [
  1113. "application/json"
  1114. ],
  1115. "tags": [
  1116. "企业风险管理(app)"
  1117. ],
  1118. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1119. "parameters": [
  1120. {
  1121. "type": "integer",
  1122. "description": "用户ID",
  1123. "name": "userid",
  1124. "in": "query",
  1125. "required": true
  1126. },
  1127. {
  1128. "type": "integer",
  1129. "description": "用户类型 2-机构 7-企业成员",
  1130. "name": "usertype",
  1131. "in": "query"
  1132. },
  1133. {
  1134. "type": "integer",
  1135. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1136. "name": "querytype",
  1137. "in": "query",
  1138. "required": true
  1139. }
  1140. ],
  1141. "responses": {
  1142. "200": {
  1143. "description": "OK",
  1144. "schema": {
  1145. "type": "array",
  1146. "items": {
  1147. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1148. }
  1149. }
  1150. },
  1151. "500": {
  1152. "description": "Internal Server Error",
  1153. "schema": {
  1154. "$ref": "#/definitions/app.Response"
  1155. }
  1156. }
  1157. }
  1158. }
  1159. },
  1160. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1161. "get": {
  1162. "security": [
  1163. {
  1164. "ApiKeyAuth": []
  1165. }
  1166. ],
  1167. "produces": [
  1168. "application/json"
  1169. ],
  1170. "tags": [
  1171. "企业风险管理(app)"
  1172. ],
  1173. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1174. "parameters": [
  1175. {
  1176. "type": "integer",
  1177. "description": "用户ID",
  1178. "name": "userid",
  1179. "in": "query"
  1180. },
  1181. {
  1182. "type": "integer",
  1183. "description": "主账号id",
  1184. "name": "accountid",
  1185. "in": "query"
  1186. }
  1187. ],
  1188. "responses": {
  1189. "200": {
  1190. "description": "OK",
  1191. "schema": {
  1192. "type": "array",
  1193. "items": {
  1194. "$ref": "#/definitions/models.MainAccountInfo"
  1195. }
  1196. }
  1197. },
  1198. "500": {
  1199. "description": "Internal Server Error",
  1200. "schema": {
  1201. "$ref": "#/definitions/app.Response"
  1202. }
  1203. }
  1204. }
  1205. }
  1206. },
  1207. "/Ermcp/QueryAccMgrRole": {
  1208. "get": {
  1209. "security": [
  1210. {
  1211. "ApiKeyAuth": []
  1212. }
  1213. ],
  1214. "produces": [
  1215. "application/json"
  1216. ],
  1217. "tags": [
  1218. "企业风险管理(app)"
  1219. ],
  1220. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1221. "parameters": [
  1222. {
  1223. "type": "integer",
  1224. "description": "用户ID",
  1225. "name": "userid",
  1226. "in": "query",
  1227. "required": true
  1228. }
  1229. ],
  1230. "responses": {
  1231. "200": {
  1232. "description": "OK",
  1233. "schema": {
  1234. "type": "array",
  1235. "items": {
  1236. "$ref": "#/definitions/models.ErmcpRole"
  1237. }
  1238. }
  1239. },
  1240. "500": {
  1241. "description": "Internal Server Error",
  1242. "schema": {
  1243. "$ref": "#/definitions/app.Response"
  1244. }
  1245. }
  1246. }
  1247. }
  1248. },
  1249. "/Ermcp/QueryAccMgrRoleMenu": {
  1250. "get": {
  1251. "security": [
  1252. {
  1253. "ApiKeyAuth": []
  1254. }
  1255. ],
  1256. "produces": [
  1257. "application/json"
  1258. ],
  1259. "tags": [
  1260. "企业风险管理(app)"
  1261. ],
  1262. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1263. "parameters": [
  1264. {
  1265. "type": "integer",
  1266. "description": "用户ID",
  1267. "name": "userid",
  1268. "in": "query",
  1269. "required": true
  1270. },
  1271. {
  1272. "type": "string",
  1273. "description": "角色id(可多个,逗号隔开)",
  1274. "name": "roleid",
  1275. "in": "query"
  1276. },
  1277. {
  1278. "type": "integer",
  1279. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1280. "name": "menutype",
  1281. "in": "query"
  1282. }
  1283. ],
  1284. "responses": {
  1285. "200": {
  1286. "description": "OK",
  1287. "schema": {
  1288. "type": "array",
  1289. "items": {
  1290. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1291. }
  1292. }
  1293. },
  1294. "500": {
  1295. "description": "Internal Server Error",
  1296. "schema": {
  1297. "$ref": "#/definitions/app.Response"
  1298. }
  1299. }
  1300. }
  1301. }
  1302. },
  1303. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1304. "get": {
  1305. "security": [
  1306. {
  1307. "ApiKeyAuth": []
  1308. }
  1309. ],
  1310. "produces": [
  1311. "application/json"
  1312. ],
  1313. "tags": [
  1314. "企业风险管理(app)"
  1315. ],
  1316. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1317. "parameters": [
  1318. {
  1319. "type": "integer",
  1320. "description": "用户ID",
  1321. "name": "userid",
  1322. "in": "query",
  1323. "required": true
  1324. },
  1325. {
  1326. "type": "integer",
  1327. "description": "账号id",
  1328. "name": "accountid",
  1329. "in": "query"
  1330. }
  1331. ],
  1332. "responses": {
  1333. "200": {
  1334. "description": "OK",
  1335. "schema": {
  1336. "type": "array",
  1337. "items": {
  1338. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1339. }
  1340. }
  1341. },
  1342. "500": {
  1343. "description": "Internal Server Error",
  1344. "schema": {
  1345. "$ref": "#/definitions/app.Response"
  1346. }
  1347. }
  1348. }
  1349. }
  1350. },
  1351. "/Ermcp/QueryAccMgrTaaccount": {
  1352. "get": {
  1353. "security": [
  1354. {
  1355. "ApiKeyAuth": []
  1356. }
  1357. ],
  1358. "produces": [
  1359. "application/json"
  1360. ],
  1361. "tags": [
  1362. "企业风险管理(app)"
  1363. ],
  1364. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1365. "parameters": [
  1366. {
  1367. "type": "integer",
  1368. "description": "用户ID",
  1369. "name": "userid",
  1370. "in": "query",
  1371. "required": true
  1372. }
  1373. ],
  1374. "responses": {
  1375. "200": {
  1376. "description": "OK",
  1377. "schema": {
  1378. "type": "array",
  1379. "items": {
  1380. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1381. }
  1382. }
  1383. },
  1384. "500": {
  1385. "description": "Internal Server Error",
  1386. "schema": {
  1387. "$ref": "#/definitions/app.Response"
  1388. }
  1389. }
  1390. }
  1391. }
  1392. },
  1393. "/Ermcp/QueryAvaildGoodsGroup": {
  1394. "get": {
  1395. "security": [
  1396. {
  1397. "ApiKeyAuth": []
  1398. }
  1399. ],
  1400. "produces": [
  1401. "application/json"
  1402. ],
  1403. "tags": [
  1404. "企业风险管理(app)"
  1405. ],
  1406. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1407. "parameters": [
  1408. {
  1409. "type": "integer",
  1410. "description": "所属机构ID",
  1411. "name": "userid",
  1412. "in": "query",
  1413. "required": true
  1414. }
  1415. ],
  1416. "responses": {
  1417. "200": {
  1418. "description": "OK",
  1419. "schema": {
  1420. "type": "array",
  1421. "items": {
  1422. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1423. }
  1424. }
  1425. },
  1426. "500": {
  1427. "description": "Internal Server Error",
  1428. "schema": {
  1429. "$ref": "#/definitions/app.Response"
  1430. }
  1431. }
  1432. }
  1433. }
  1434. },
  1435. "/Ermcp/QueryBusinessDj": {
  1436. "get": {
  1437. "security": [
  1438. {
  1439. "ApiKeyAuth": []
  1440. }
  1441. ],
  1442. "produces": [
  1443. "application/json"
  1444. ],
  1445. "tags": [
  1446. "企业风险管理(app)"
  1447. ],
  1448. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1449. "parameters": [
  1450. {
  1451. "type": "integer",
  1452. "description": "用户ID",
  1453. "name": "UserId",
  1454. "in": "query",
  1455. "required": true
  1456. },
  1457. {
  1458. "type": "integer",
  1459. "description": "用户类型 2-机构 7-企业成员",
  1460. "name": "usertype",
  1461. "in": "query"
  1462. },
  1463. {
  1464. "type": "string",
  1465. "description": "现货合同ID, 不填则查所有",
  1466. "name": "relatedid",
  1467. "in": "query"
  1468. },
  1469. {
  1470. "type": "string",
  1471. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1472. "name": "applystatus",
  1473. "in": "query"
  1474. }
  1475. ],
  1476. "responses": {
  1477. "200": {
  1478. "description": "OK",
  1479. "schema": {
  1480. "type": "array",
  1481. "items": {
  1482. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1483. }
  1484. }
  1485. },
  1486. "500": {
  1487. "description": "Internal Server Error",
  1488. "schema": {
  1489. "$ref": "#/definitions/app.Response"
  1490. }
  1491. }
  1492. }
  1493. }
  1494. },
  1495. "/Ermcp/QueryBusinessFp": {
  1496. "get": {
  1497. "security": [
  1498. {
  1499. "ApiKeyAuth": []
  1500. }
  1501. ],
  1502. "produces": [
  1503. "application/json"
  1504. ],
  1505. "tags": [
  1506. "企业风险管理(app)"
  1507. ],
  1508. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1509. "parameters": [
  1510. {
  1511. "type": "integer",
  1512. "description": "用户ID",
  1513. "name": "UserId",
  1514. "in": "query",
  1515. "required": true
  1516. },
  1517. {
  1518. "type": "integer",
  1519. "description": "用户类型 2-机构 7-企业成员",
  1520. "name": "usertype",
  1521. "in": "query"
  1522. },
  1523. {
  1524. "type": "string",
  1525. "description": "现货合同ID, 不填则查所有",
  1526. "name": "relatedid",
  1527. "in": "query"
  1528. },
  1529. {
  1530. "type": "string",
  1531. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1532. "name": "applystatus",
  1533. "in": "query"
  1534. }
  1535. ],
  1536. "responses": {
  1537. "200": {
  1538. "description": "OK",
  1539. "schema": {
  1540. "type": "array",
  1541. "items": {
  1542. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1543. }
  1544. }
  1545. },
  1546. "500": {
  1547. "description": "Internal Server Error",
  1548. "schema": {
  1549. "$ref": "#/definitions/app.Response"
  1550. }
  1551. }
  1552. }
  1553. }
  1554. },
  1555. "/Ermcp/QueryBusinessJs": {
  1556. "get": {
  1557. "security": [
  1558. {
  1559. "ApiKeyAuth": []
  1560. }
  1561. ],
  1562. "produces": [
  1563. "application/json"
  1564. ],
  1565. "tags": [
  1566. "企业风险管理(app)"
  1567. ],
  1568. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1569. "parameters": [
  1570. {
  1571. "type": "integer",
  1572. "description": "用户ID",
  1573. "name": "UserId",
  1574. "in": "query",
  1575. "required": true
  1576. },
  1577. {
  1578. "type": "integer",
  1579. "description": "用户类型 2-机构 7-企业成员",
  1580. "name": "usertype",
  1581. "in": "query"
  1582. },
  1583. {
  1584. "type": "string",
  1585. "description": "现货合同ID, 不填则查所有",
  1586. "name": "relatedid",
  1587. "in": "query"
  1588. },
  1589. {
  1590. "type": "string",
  1591. "description": "操作申请id",
  1592. "name": "operateapplyid",
  1593. "in": "query"
  1594. },
  1595. {
  1596. "type": "string",
  1597. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1598. "name": "applystatus",
  1599. "in": "query"
  1600. }
  1601. ],
  1602. "responses": {
  1603. "200": {
  1604. "description": "OK",
  1605. "schema": {
  1606. "type": "array",
  1607. "items": {
  1608. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1609. }
  1610. }
  1611. },
  1612. "500": {
  1613. "description": "Internal Server Error",
  1614. "schema": {
  1615. "$ref": "#/definitions/app.Response"
  1616. }
  1617. }
  1618. }
  1619. }
  1620. },
  1621. "/Ermcp/QueryBusinessJsEx": {
  1622. "get": {
  1623. "security": [
  1624. {
  1625. "ApiKeyAuth": []
  1626. }
  1627. ],
  1628. "produces": [
  1629. "application/json"
  1630. ],
  1631. "tags": [
  1632. "企业风险管理(app)"
  1633. ],
  1634. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1635. "parameters": [
  1636. {
  1637. "type": "integer",
  1638. "description": "用户ID",
  1639. "name": "UserId",
  1640. "in": "query",
  1641. "required": true
  1642. },
  1643. {
  1644. "type": "integer",
  1645. "description": "用户类型 2-机构 7-企业成员",
  1646. "name": "usertype",
  1647. "in": "query"
  1648. },
  1649. {
  1650. "type": "string",
  1651. "description": "现货合同ID, 不填则查所有",
  1652. "name": "relatedid",
  1653. "in": "query"
  1654. },
  1655. {
  1656. "type": "string",
  1657. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1658. "name": "applystatus",
  1659. "in": "query"
  1660. }
  1661. ],
  1662. "responses": {
  1663. "200": {
  1664. "description": "OK",
  1665. "schema": {
  1666. "type": "array",
  1667. "items": {
  1668. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1669. }
  1670. }
  1671. },
  1672. "500": {
  1673. "description": "Internal Server Error",
  1674. "schema": {
  1675. "$ref": "#/definitions/app.Response"
  1676. }
  1677. }
  1678. }
  1679. }
  1680. },
  1681. "/Ermcp/QueryBusinessKx": {
  1682. "get": {
  1683. "security": [
  1684. {
  1685. "ApiKeyAuth": []
  1686. }
  1687. ],
  1688. "produces": [
  1689. "application/json"
  1690. ],
  1691. "tags": [
  1692. "企业风险管理(app)"
  1693. ],
  1694. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1695. "parameters": [
  1696. {
  1697. "type": "integer",
  1698. "description": "用户ID",
  1699. "name": "UserId",
  1700. "in": "query",
  1701. "required": true
  1702. },
  1703. {
  1704. "type": "integer",
  1705. "description": "用户类型 2-机构 7-企业成员",
  1706. "name": "usertype",
  1707. "in": "query"
  1708. },
  1709. {
  1710. "type": "string",
  1711. "description": "现货合同ID, 不填则查所有",
  1712. "name": "relatedid",
  1713. "in": "query"
  1714. },
  1715. {
  1716. "type": "string",
  1717. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1718. "name": "applystatus",
  1719. "in": "query"
  1720. }
  1721. ],
  1722. "responses": {
  1723. "200": {
  1724. "description": "OK",
  1725. "schema": {
  1726. "type": "array",
  1727. "items": {
  1728. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1729. }
  1730. }
  1731. },
  1732. "500": {
  1733. "description": "Internal Server Error",
  1734. "schema": {
  1735. "$ref": "#/definitions/app.Response"
  1736. }
  1737. }
  1738. }
  1739. }
  1740. },
  1741. "/Ermcp/QueryChangeLog": {
  1742. "get": {
  1743. "security": [
  1744. {
  1745. "ApiKeyAuth": []
  1746. }
  1747. ],
  1748. "produces": [
  1749. "application/json"
  1750. ],
  1751. "tags": [
  1752. "企业风险管理(app)"
  1753. ],
  1754. "summary": "查询变更记录",
  1755. "parameters": [
  1756. {
  1757. "type": "string",
  1758. "description": "合同ID",
  1759. "name": "RelatedId",
  1760. "in": "query",
  1761. "required": true
  1762. }
  1763. ],
  1764. "responses": {
  1765. "200": {
  1766. "description": "OK",
  1767. "schema": {
  1768. "type": "array",
  1769. "items": {
  1770. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1771. }
  1772. }
  1773. },
  1774. "500": {
  1775. "description": "Internal Server Error",
  1776. "schema": {
  1777. "$ref": "#/definitions/app.Response"
  1778. }
  1779. }
  1780. }
  1781. }
  1782. },
  1783. "/Ermcp/QueryErmcpHisOrderDetails": {
  1784. "get": {
  1785. "security": [
  1786. {
  1787. "ApiKeyAuth": []
  1788. }
  1789. ],
  1790. "produces": [
  1791. "application/json"
  1792. ],
  1793. "tags": [
  1794. "企业风险管理(app)"
  1795. ],
  1796. "summary": "获取企业风管期货历史委托单信息",
  1797. "parameters": [
  1798. {
  1799. "type": "integer",
  1800. "description": "资金账户ID",
  1801. "name": "accountID",
  1802. "in": "query",
  1803. "required": true
  1804. },
  1805. {
  1806. "type": "string",
  1807. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1808. "name": "startDate",
  1809. "in": "query"
  1810. },
  1811. {
  1812. "type": "string",
  1813. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1814. "name": "endDate",
  1815. "in": "query"
  1816. }
  1817. ],
  1818. "responses": {
  1819. "200": {
  1820. "description": "OK",
  1821. "schema": {
  1822. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1823. }
  1824. },
  1825. "500": {
  1826. "description": "Internal Server Error",
  1827. "schema": {
  1828. "$ref": "#/definitions/app.Response"
  1829. }
  1830. }
  1831. }
  1832. }
  1833. },
  1834. "/Ermcp/QueryErmcpHisTradeDetails": {
  1835. "get": {
  1836. "security": [
  1837. {
  1838. "ApiKeyAuth": []
  1839. }
  1840. ],
  1841. "produces": [
  1842. "application/json"
  1843. ],
  1844. "tags": [
  1845. "企业风险管理(app)"
  1846. ],
  1847. "summary": "获取企业风管期货历史成交单信息",
  1848. "parameters": [
  1849. {
  1850. "type": "integer",
  1851. "description": "资金账户ID",
  1852. "name": "accountID",
  1853. "in": "query",
  1854. "required": true
  1855. },
  1856. {
  1857. "type": "integer",
  1858. "description": "商品ID",
  1859. "name": "goodsID",
  1860. "in": "query"
  1861. },
  1862. {
  1863. "type": "integer",
  1864. "description": "买卖方向,0:买 1:卖",
  1865. "name": "buyOrSell",
  1866. "in": "query"
  1867. },
  1868. {
  1869. "type": "integer",
  1870. "description": "关联委托单号",
  1871. "name": "orderID",
  1872. "in": "query"
  1873. },
  1874. {
  1875. "type": "string",
  1876. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1877. "name": "startDate",
  1878. "in": "query"
  1879. },
  1880. {
  1881. "type": "string",
  1882. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1883. "name": "endDate",
  1884. "in": "query"
  1885. }
  1886. ],
  1887. "responses": {
  1888. "200": {
  1889. "description": "OK",
  1890. "schema": {
  1891. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1892. }
  1893. },
  1894. "500": {
  1895. "description": "Internal Server Error",
  1896. "schema": {
  1897. "$ref": "#/definitions/app.Response"
  1898. }
  1899. }
  1900. }
  1901. }
  1902. },
  1903. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1904. "get": {
  1905. "security": [
  1906. {
  1907. "ApiKeyAuth": []
  1908. }
  1909. ],
  1910. "produces": [
  1911. "application/json"
  1912. ],
  1913. "tags": [
  1914. "企业风险管理(app)"
  1915. ],
  1916. "summary": "获取企业风管期货内部持仓单信息",
  1917. "parameters": [
  1918. {
  1919. "type": "integer",
  1920. "description": "资金账户ID",
  1921. "name": "accountID",
  1922. "in": "query",
  1923. "required": true
  1924. },
  1925. {
  1926. "type": "integer",
  1927. "description": "商品ID",
  1928. "name": "goodsID",
  1929. "in": "query"
  1930. },
  1931. {
  1932. "type": "integer",
  1933. "description": "买卖方向,0:买 1:卖",
  1934. "name": "buyOrSell",
  1935. "in": "query"
  1936. }
  1937. ],
  1938. "responses": {
  1939. "200": {
  1940. "description": "OK",
  1941. "schema": {
  1942. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1943. }
  1944. },
  1945. "500": {
  1946. "description": "Internal Server Error",
  1947. "schema": {
  1948. "$ref": "#/definitions/app.Response"
  1949. }
  1950. }
  1951. }
  1952. }
  1953. },
  1954. "/Ermcp/QueryErmcpOrderDetails": {
  1955. "get": {
  1956. "security": [
  1957. {
  1958. "ApiKeyAuth": []
  1959. }
  1960. ],
  1961. "produces": [
  1962. "application/json"
  1963. ],
  1964. "tags": [
  1965. "企业风险管理(app)"
  1966. ],
  1967. "summary": "获取企业风管期货委托单信息",
  1968. "parameters": [
  1969. {
  1970. "type": "integer",
  1971. "description": "资金账户ID",
  1972. "name": "accountID",
  1973. "in": "query",
  1974. "required": true
  1975. }
  1976. ],
  1977. "responses": {
  1978. "200": {
  1979. "description": "OK",
  1980. "schema": {
  1981. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1982. }
  1983. },
  1984. "500": {
  1985. "description": "Internal Server Error",
  1986. "schema": {
  1987. "$ref": "#/definitions/app.Response"
  1988. }
  1989. }
  1990. }
  1991. }
  1992. },
  1993. "/Ermcp/QueryErmcpTradeDetails": {
  1994. "get": {
  1995. "security": [
  1996. {
  1997. "ApiKeyAuth": []
  1998. }
  1999. ],
  2000. "produces": [
  2001. "application/json"
  2002. ],
  2003. "tags": [
  2004. "企业风险管理(app)"
  2005. ],
  2006. "summary": "获取企业风管期货成交单信息",
  2007. "parameters": [
  2008. {
  2009. "type": "integer",
  2010. "description": "资金账户ID",
  2011. "name": "accountID",
  2012. "in": "query",
  2013. "required": true
  2014. },
  2015. {
  2016. "type": "integer",
  2017. "description": "商品ID",
  2018. "name": "goodsID",
  2019. "in": "query"
  2020. },
  2021. {
  2022. "type": "integer",
  2023. "description": "买卖方向,0:买 1:卖",
  2024. "name": "buyOrSell",
  2025. "in": "query"
  2026. },
  2027. {
  2028. "type": "integer",
  2029. "description": "关联委托单号",
  2030. "name": "orderID",
  2031. "in": "query"
  2032. }
  2033. ],
  2034. "responses": {
  2035. "200": {
  2036. "description": "OK",
  2037. "schema": {
  2038. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2039. }
  2040. },
  2041. "500": {
  2042. "description": "Internal Server Error",
  2043. "schema": {
  2044. "$ref": "#/definitions/app.Response"
  2045. }
  2046. }
  2047. }
  2048. }
  2049. },
  2050. "/Ermcp/QueryErmcpTradePosition": {
  2051. "get": {
  2052. "security": [
  2053. {
  2054. "ApiKeyAuth": []
  2055. }
  2056. ],
  2057. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2058. "produces": [
  2059. "application/json"
  2060. ],
  2061. "tags": [
  2062. "企业风险管理(app)"
  2063. ],
  2064. "summary": "获取企业风管期货持仓头寸信息",
  2065. "parameters": [
  2066. {
  2067. "type": "integer",
  2068. "description": "资金账户ID",
  2069. "name": "accountID",
  2070. "in": "query",
  2071. "required": true
  2072. },
  2073. {
  2074. "type": "integer",
  2075. "description": "所属市场ID",
  2076. "name": "marketID",
  2077. "in": "query"
  2078. }
  2079. ],
  2080. "responses": {
  2081. "200": {
  2082. "description": "OK",
  2083. "schema": {
  2084. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2085. }
  2086. },
  2087. "500": {
  2088. "description": "Internal Server Error",
  2089. "schema": {
  2090. "$ref": "#/definitions/app.Response"
  2091. }
  2092. }
  2093. }
  2094. }
  2095. },
  2096. "/Ermcp/QueryExposureDetail": {
  2097. "get": {
  2098. "security": [
  2099. {
  2100. "ApiKeyAuth": []
  2101. }
  2102. ],
  2103. "produces": [
  2104. "application/json"
  2105. ],
  2106. "tags": [
  2107. "企业风险管理(app)"
  2108. ],
  2109. "summary": "查询敞口现货明细",
  2110. "parameters": [
  2111. {
  2112. "type": "integer",
  2113. "description": "所属机构ID",
  2114. "name": "areaUserId",
  2115. "in": "query",
  2116. "required": true
  2117. },
  2118. {
  2119. "type": "integer",
  2120. "description": "套保商品",
  2121. "name": "middleGoodsId",
  2122. "in": "query",
  2123. "required": true
  2124. }
  2125. ],
  2126. "responses": {
  2127. "200": {
  2128. "description": "OK",
  2129. "schema": {
  2130. "type": "array",
  2131. "items": {
  2132. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2133. }
  2134. }
  2135. },
  2136. "500": {
  2137. "description": "Internal Server Error",
  2138. "schema": {
  2139. "$ref": "#/definitions/app.Response"
  2140. }
  2141. }
  2142. }
  2143. }
  2144. },
  2145. "/Ermcp/QueryExposureGoods": {
  2146. "get": {
  2147. "security": [
  2148. {
  2149. "ApiKeyAuth": []
  2150. }
  2151. ],
  2152. "produces": [
  2153. "application/json"
  2154. ],
  2155. "tags": [
  2156. "企业风险管理(app)"
  2157. ],
  2158. "summary": "查询敞口主力合约",
  2159. "parameters": [
  2160. {
  2161. "type": "integer",
  2162. "description": "套保商品id",
  2163. "name": "middlegoodsid",
  2164. "in": "query",
  2165. "required": true
  2166. }
  2167. ],
  2168. "responses": {
  2169. "200": {
  2170. "description": "OK",
  2171. "schema": {
  2172. "type": "array",
  2173. "items": {
  2174. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2175. }
  2176. }
  2177. },
  2178. "500": {
  2179. "description": "Internal Server Error",
  2180. "schema": {
  2181. "$ref": "#/definitions/app.Response"
  2182. }
  2183. }
  2184. }
  2185. }
  2186. },
  2187. "/Ermcp/QueryExposureHedgePosition": {
  2188. "get": {
  2189. "security": [
  2190. {
  2191. "ApiKeyAuth": []
  2192. }
  2193. ],
  2194. "produces": [
  2195. "application/json"
  2196. ],
  2197. "tags": [
  2198. "企业风险管理(app)"
  2199. ],
  2200. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2201. "parameters": [
  2202. {
  2203. "type": "integer",
  2204. "description": "用户id",
  2205. "name": "userid",
  2206. "in": "query",
  2207. "required": true
  2208. }
  2209. ],
  2210. "responses": {
  2211. "200": {
  2212. "description": "OK",
  2213. "schema": {
  2214. "type": "array",
  2215. "items": {
  2216. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2217. }
  2218. }
  2219. },
  2220. "500": {
  2221. "description": "Internal Server Error",
  2222. "schema": {
  2223. "$ref": "#/definitions/app.Response"
  2224. }
  2225. }
  2226. }
  2227. }
  2228. },
  2229. "/Ermcp/QueryExposureHedgePositionDetail": {
  2230. "get": {
  2231. "security": [
  2232. {
  2233. "ApiKeyAuth": []
  2234. }
  2235. ],
  2236. "produces": [
  2237. "application/json"
  2238. ],
  2239. "tags": [
  2240. "企业风险管理(app)"
  2241. ],
  2242. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2243. "parameters": [
  2244. {
  2245. "type": "integer",
  2246. "description": "所属机构ID",
  2247. "name": "userid",
  2248. "in": "query",
  2249. "required": true
  2250. },
  2251. {
  2252. "type": "integer",
  2253. "description": "商品id",
  2254. "name": "goodsId",
  2255. "in": "query",
  2256. "required": true
  2257. }
  2258. ],
  2259. "responses": {
  2260. "200": {
  2261. "description": "OK",
  2262. "schema": {
  2263. "type": "array",
  2264. "items": {
  2265. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2266. }
  2267. }
  2268. },
  2269. "500": {
  2270. "description": "Internal Server Error",
  2271. "schema": {
  2272. "$ref": "#/definitions/app.Response"
  2273. }
  2274. }
  2275. }
  2276. }
  2277. },
  2278. "/Ermcp/QueryExposureSpot": {
  2279. "get": {
  2280. "security": [
  2281. {
  2282. "ApiKeyAuth": []
  2283. }
  2284. ],
  2285. "produces": [
  2286. "application/json"
  2287. ],
  2288. "tags": [
  2289. "企业风险管理(app)"
  2290. ],
  2291. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2292. "parameters": [
  2293. {
  2294. "type": "integer",
  2295. "description": "所属机构ID",
  2296. "name": "areaUserId",
  2297. "in": "query",
  2298. "required": true
  2299. }
  2300. ],
  2301. "responses": {
  2302. "200": {
  2303. "description": "OK",
  2304. "schema": {
  2305. "type": "array",
  2306. "items": {
  2307. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2308. }
  2309. }
  2310. },
  2311. "500": {
  2312. "description": "Internal Server Error",
  2313. "schema": {
  2314. "$ref": "#/definitions/app.Response"
  2315. }
  2316. }
  2317. }
  2318. }
  2319. },
  2320. "/Ermcp/QueryExposureSpotDetail": {
  2321. "get": {
  2322. "security": [
  2323. {
  2324. "ApiKeyAuth": []
  2325. }
  2326. ],
  2327. "produces": [
  2328. "application/json"
  2329. ],
  2330. "tags": [
  2331. "企业风险管理(app)"
  2332. ],
  2333. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2334. "parameters": [
  2335. {
  2336. "type": "integer",
  2337. "description": "所属机构ID",
  2338. "name": "areaUserId",
  2339. "in": "query",
  2340. "required": true
  2341. },
  2342. {
  2343. "type": "integer",
  2344. "description": "现货品种ID",
  2345. "name": "wrstandardId",
  2346. "in": "query",
  2347. "required": true
  2348. }
  2349. ],
  2350. "responses": {
  2351. "200": {
  2352. "description": "OK",
  2353. "schema": {
  2354. "type": "array",
  2355. "items": {
  2356. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2357. }
  2358. }
  2359. },
  2360. "500": {
  2361. "description": "Internal Server Error",
  2362. "schema": {
  2363. "$ref": "#/definitions/app.Response"
  2364. }
  2365. }
  2366. }
  2367. }
  2368. },
  2369. "/Ermcp/QueryFuturesCompany": {
  2370. "get": {
  2371. "security": [
  2372. {
  2373. "ApiKeyAuth": []
  2374. }
  2375. ],
  2376. "produces": [
  2377. "application/json"
  2378. ],
  2379. "tags": [
  2380. "企业风险管理(app)"
  2381. ],
  2382. "summary": "查询期货公司",
  2383. "responses": {
  2384. "200": {
  2385. "description": "OK",
  2386. "schema": {
  2387. "type": "array",
  2388. "items": {
  2389. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2390. }
  2391. }
  2392. },
  2393. "500": {
  2394. "description": "Internal Server Error",
  2395. "schema": {
  2396. "$ref": "#/definitions/app.Response"
  2397. }
  2398. }
  2399. }
  2400. }
  2401. },
  2402. "/Ermcp/QueryGGConvertConfig": {
  2403. "get": {
  2404. "security": [
  2405. {
  2406. "ApiKeyAuth": []
  2407. }
  2408. ],
  2409. "produces": [
  2410. "application/json"
  2411. ],
  2412. "tags": [
  2413. "企业风险管理(app)"
  2414. ],
  2415. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2416. "parameters": [
  2417. {
  2418. "type": "integer",
  2419. "description": "品种id(不填则查所有)",
  2420. "name": "goodsgroupid",
  2421. "in": "query"
  2422. }
  2423. ],
  2424. "responses": {
  2425. "200": {
  2426. "description": "OK",
  2427. "schema": {
  2428. "type": "array",
  2429. "items": {
  2430. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2431. }
  2432. }
  2433. },
  2434. "500": {
  2435. "description": "Internal Server Error",
  2436. "schema": {
  2437. "$ref": "#/definitions/app.Response"
  2438. }
  2439. }
  2440. }
  2441. }
  2442. },
  2443. "/Ermcp/QueryGoodsBrand": {
  2444. "get": {
  2445. "security": [
  2446. {
  2447. "ApiKeyAuth": []
  2448. }
  2449. ],
  2450. "produces": [
  2451. "application/json"
  2452. ],
  2453. "tags": [
  2454. "企业风险管理(app)"
  2455. ],
  2456. "summary": "查询商品品牌",
  2457. "parameters": [
  2458. {
  2459. "type": "integer",
  2460. "description": "用户ID",
  2461. "name": "userid",
  2462. "in": "query",
  2463. "required": true
  2464. },
  2465. {
  2466. "type": "integer",
  2467. "description": "现货商品ID",
  2468. "name": "wrstandardid",
  2469. "in": "query"
  2470. }
  2471. ],
  2472. "responses": {
  2473. "200": {
  2474. "description": "OK",
  2475. "schema": {
  2476. "type": "array",
  2477. "items": {
  2478. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2479. }
  2480. }
  2481. },
  2482. "500": {
  2483. "description": "Internal Server Error",
  2484. "schema": {
  2485. "$ref": "#/definitions/app.Response"
  2486. }
  2487. }
  2488. }
  2489. }
  2490. },
  2491. "/Ermcp/QueryGoodsModel": {
  2492. "get": {
  2493. "security": [
  2494. {
  2495. "ApiKeyAuth": []
  2496. }
  2497. ],
  2498. "produces": [
  2499. "application/json"
  2500. ],
  2501. "tags": [
  2502. "企业风险管理(app)"
  2503. ],
  2504. "summary": "查询商品型号",
  2505. "parameters": [
  2506. {
  2507. "type": "integer",
  2508. "description": "用户ID",
  2509. "name": "userid",
  2510. "in": "query",
  2511. "required": true
  2512. }
  2513. ],
  2514. "responses": {
  2515. "200": {
  2516. "description": "OK",
  2517. "schema": {
  2518. "type": "array",
  2519. "items": {
  2520. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2521. }
  2522. }
  2523. },
  2524. "500": {
  2525. "description": "Internal Server Error",
  2526. "schema": {
  2527. "$ref": "#/definitions/app.Response"
  2528. }
  2529. }
  2530. }
  2531. }
  2532. },
  2533. "/Ermcp/QueryHisExposure": {
  2534. "get": {
  2535. "security": [
  2536. {
  2537. "ApiKeyAuth": []
  2538. }
  2539. ],
  2540. "produces": [
  2541. "application/json"
  2542. ],
  2543. "tags": [
  2544. "企业风险管理(app)"
  2545. ],
  2546. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2547. "parameters": [
  2548. {
  2549. "type": "integer",
  2550. "description": "用户id",
  2551. "name": "userid",
  2552. "in": "query",
  2553. "required": true
  2554. },
  2555. {
  2556. "type": "integer",
  2557. "description": "每个品种记录数",
  2558. "name": "lastNum",
  2559. "in": "query",
  2560. "required": true
  2561. }
  2562. ],
  2563. "responses": {
  2564. "200": {
  2565. "description": "OK",
  2566. "schema": {
  2567. "type": "array",
  2568. "items": {
  2569. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2570. }
  2571. }
  2572. },
  2573. "500": {
  2574. "description": "Internal Server Error",
  2575. "schema": {
  2576. "$ref": "#/definitions/app.Response"
  2577. }
  2578. }
  2579. }
  2580. }
  2581. },
  2582. "/Ermcp/QueryMiddleGoods": {
  2583. "get": {
  2584. "security": [
  2585. {
  2586. "ApiKeyAuth": []
  2587. }
  2588. ],
  2589. "produces": [
  2590. "application/json"
  2591. ],
  2592. "tags": [
  2593. "企业风险管理(app)"
  2594. ],
  2595. "summary": "查询套保品种(菜单:套保品种)",
  2596. "parameters": [
  2597. {
  2598. "type": "integer",
  2599. "description": "所属机构ID",
  2600. "name": "userid",
  2601. "in": "query",
  2602. "required": true
  2603. },
  2604. {
  2605. "type": "integer",
  2606. "description": "状态 0-停用 1-正常",
  2607. "name": "status",
  2608. "in": "query",
  2609. "required": true
  2610. }
  2611. ],
  2612. "responses": {
  2613. "200": {
  2614. "description": "OK",
  2615. "schema": {
  2616. "type": "array",
  2617. "items": {
  2618. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2619. }
  2620. }
  2621. },
  2622. "500": {
  2623. "description": "Internal Server Error",
  2624. "schema": {
  2625. "$ref": "#/definitions/app.Response"
  2626. }
  2627. }
  2628. }
  2629. }
  2630. },
  2631. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2632. "get": {
  2633. "security": [
  2634. {
  2635. "ApiKeyAuth": []
  2636. }
  2637. ],
  2638. "produces": [
  2639. "application/json"
  2640. ],
  2641. "tags": [
  2642. "企业风险管理(app)"
  2643. ],
  2644. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2645. "parameters": [
  2646. {
  2647. "type": "integer",
  2648. "description": "所属机构ID",
  2649. "name": "userid",
  2650. "in": "query",
  2651. "required": true
  2652. },
  2653. {
  2654. "type": "integer",
  2655. "description": "套保品种id",
  2656. "name": "middlegoodsid",
  2657. "in": "query",
  2658. "required": true
  2659. }
  2660. ],
  2661. "responses": {
  2662. "200": {
  2663. "description": "OK",
  2664. "schema": {
  2665. "type": "array",
  2666. "items": {
  2667. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2668. }
  2669. }
  2670. },
  2671. "500": {
  2672. "description": "Internal Server Error",
  2673. "schema": {
  2674. "$ref": "#/definitions/app.Response"
  2675. }
  2676. }
  2677. }
  2678. }
  2679. },
  2680. "/Ermcp/QueryMiddleGoodsDetail": {
  2681. "get": {
  2682. "security": [
  2683. {
  2684. "ApiKeyAuth": []
  2685. }
  2686. ],
  2687. "produces": [
  2688. "application/json"
  2689. ],
  2690. "tags": [
  2691. "企业风险管理(app)"
  2692. ],
  2693. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2694. "parameters": [
  2695. {
  2696. "type": "integer",
  2697. "description": "所属机构ID",
  2698. "name": "userid",
  2699. "in": "query",
  2700. "required": true
  2701. },
  2702. {
  2703. "type": "integer",
  2704. "description": "套保品种id",
  2705. "name": "middlegoodsid",
  2706. "in": "query"
  2707. }
  2708. ],
  2709. "responses": {
  2710. "200": {
  2711. "description": "OK",
  2712. "schema": {
  2713. "type": "array",
  2714. "items": {
  2715. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2716. }
  2717. }
  2718. },
  2719. "500": {
  2720. "description": "Internal Server Error",
  2721. "schema": {
  2722. "$ref": "#/definitions/app.Response"
  2723. }
  2724. }
  2725. }
  2726. }
  2727. },
  2728. "/Ermcp/QueryPendingAuditInfo": {
  2729. "get": {
  2730. "security": [
  2731. {
  2732. "ApiKeyAuth": []
  2733. }
  2734. ],
  2735. "produces": [
  2736. "application/json"
  2737. ],
  2738. "tags": [
  2739. "企业风险管理(app)"
  2740. ],
  2741. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2742. "parameters": [
  2743. {
  2744. "type": "integer",
  2745. "description": "用户ID",
  2746. "name": "UserId",
  2747. "in": "query",
  2748. "required": true
  2749. }
  2750. ],
  2751. "responses": {
  2752. "200": {
  2753. "description": "OK",
  2754. "schema": {
  2755. "type": "array",
  2756. "items": {
  2757. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2758. }
  2759. }
  2760. },
  2761. "500": {
  2762. "description": "Internal Server Error",
  2763. "schema": {
  2764. "$ref": "#/definitions/app.Response"
  2765. }
  2766. }
  2767. }
  2768. }
  2769. },
  2770. "/Ermcp/QueryRealtimeExposure": {
  2771. "get": {
  2772. "security": [
  2773. {
  2774. "ApiKeyAuth": []
  2775. }
  2776. ],
  2777. "produces": [
  2778. "application/json"
  2779. ],
  2780. "tags": [
  2781. "企业风险管理(app)"
  2782. ],
  2783. "summary": "查询实时敞口",
  2784. "parameters": [
  2785. {
  2786. "type": "integer",
  2787. "description": "所属机构ID",
  2788. "name": "userid",
  2789. "in": "query",
  2790. "required": true
  2791. }
  2792. ],
  2793. "responses": {
  2794. "200": {
  2795. "description": "OK",
  2796. "schema": {
  2797. "type": "array",
  2798. "items": {
  2799. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2800. }
  2801. }
  2802. },
  2803. "500": {
  2804. "description": "Internal Server Error",
  2805. "schema": {
  2806. "$ref": "#/definitions/app.Response"
  2807. }
  2808. }
  2809. }
  2810. }
  2811. },
  2812. "/Ermcp/QueryRealtimeExposurePosition": {
  2813. "get": {
  2814. "security": [
  2815. {
  2816. "ApiKeyAuth": []
  2817. }
  2818. ],
  2819. "produces": [
  2820. "application/json"
  2821. ],
  2822. "tags": [
  2823. "企业风险管理(app)"
  2824. ],
  2825. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2826. "parameters": [
  2827. {
  2828. "type": "integer",
  2829. "description": "用户id",
  2830. "name": "userid",
  2831. "in": "query",
  2832. "required": true
  2833. },
  2834. {
  2835. "type": "integer",
  2836. "description": "套保商品ID",
  2837. "name": "middleGoodsId",
  2838. "in": "query",
  2839. "required": true
  2840. }
  2841. ],
  2842. "responses": {
  2843. "200": {
  2844. "description": "OK",
  2845. "schema": {
  2846. "type": "array",
  2847. "items": {
  2848. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2849. }
  2850. }
  2851. },
  2852. "500": {
  2853. "description": "Internal Server Error",
  2854. "schema": {
  2855. "$ref": "#/definitions/app.Response"
  2856. }
  2857. }
  2858. }
  2859. }
  2860. },
  2861. "/Ermcp/QueryRoleMenu": {
  2862. "get": {
  2863. "security": [
  2864. {
  2865. "ApiKeyAuth": []
  2866. }
  2867. ],
  2868. "produces": [
  2869. "application/json"
  2870. ],
  2871. "tags": [
  2872. "企业风险管理(app)"
  2873. ],
  2874. "summary": "查询角色菜单和权限",
  2875. "parameters": [
  2876. {
  2877. "type": "integer",
  2878. "description": "登录ID",
  2879. "name": "loginid",
  2880. "in": "query",
  2881. "required": true
  2882. },
  2883. {
  2884. "type": "integer",
  2885. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2886. "name": "menutype",
  2887. "in": "query"
  2888. }
  2889. ],
  2890. "responses": {
  2891. "200": {
  2892. "description": "OK",
  2893. "schema": {
  2894. "type": "array",
  2895. "items": {
  2896. "$ref": "#/definitions/models.RoleMenu"
  2897. }
  2898. }
  2899. },
  2900. "500": {
  2901. "description": "Internal Server Error",
  2902. "schema": {
  2903. "$ref": "#/definitions/app.Response"
  2904. }
  2905. }
  2906. }
  2907. }
  2908. },
  2909. "/Ermcp/QueryTradeConfigTMP": {
  2910. "get": {
  2911. "security": [
  2912. {
  2913. "ApiKeyAuth": []
  2914. }
  2915. ],
  2916. "produces": [
  2917. "application/json"
  2918. ],
  2919. "tags": [
  2920. "企业风险管理(app)"
  2921. ],
  2922. "summary": "查询交易模板配置",
  2923. "parameters": [
  2924. {
  2925. "type": "integer",
  2926. "description": "所属机构id",
  2927. "name": "areauserid",
  2928. "in": "query"
  2929. }
  2930. ],
  2931. "responses": {
  2932. "200": {
  2933. "description": "OK",
  2934. "schema": {
  2935. "type": "array",
  2936. "items": {
  2937. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2938. }
  2939. }
  2940. },
  2941. "500": {
  2942. "description": "Internal Server Error",
  2943. "schema": {
  2944. "$ref": "#/definitions/app.Response"
  2945. }
  2946. }
  2947. }
  2948. }
  2949. },
  2950. "/Ermcp/QueryUserInfo": {
  2951. "get": {
  2952. "security": [
  2953. {
  2954. "ApiKeyAuth": []
  2955. }
  2956. ],
  2957. "produces": [
  2958. "application/json"
  2959. ],
  2960. "tags": [
  2961. "企业风险管理(app)"
  2962. ],
  2963. "summary": "查询客户资料",
  2964. "parameters": [
  2965. {
  2966. "type": "integer",
  2967. "description": "所属机构用户ID",
  2968. "name": "MemberUserID",
  2969. "in": "query",
  2970. "required": true
  2971. },
  2972. {
  2973. "type": "integer",
  2974. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2975. "name": "queryType",
  2976. "in": "query",
  2977. "required": true
  2978. }
  2979. ],
  2980. "responses": {
  2981. "200": {
  2982. "description": "OK",
  2983. "schema": {
  2984. "type": "array",
  2985. "items": {
  2986. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2987. }
  2988. }
  2989. },
  2990. "500": {
  2991. "description": "Internal Server Error",
  2992. "schema": {
  2993. "$ref": "#/definitions/app.Response"
  2994. }
  2995. }
  2996. }
  2997. }
  2998. },
  2999. "/Ermcp/QueryWarehouseInfo": {
  3000. "get": {
  3001. "security": [
  3002. {
  3003. "ApiKeyAuth": []
  3004. }
  3005. ],
  3006. "produces": [
  3007. "application/json"
  3008. ],
  3009. "tags": [
  3010. "企业风险管理(app)"
  3011. ],
  3012. "summary": "查询仓库信息",
  3013. "parameters": [
  3014. {
  3015. "type": "integer",
  3016. "description": "用户ID",
  3017. "name": "userid",
  3018. "in": "query",
  3019. "required": true
  3020. },
  3021. {
  3022. "type": "string",
  3023. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3024. "name": "status",
  3025. "in": "query"
  3026. }
  3027. ],
  3028. "responses": {
  3029. "200": {
  3030. "description": "OK",
  3031. "schema": {
  3032. "type": "array",
  3033. "items": {
  3034. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3035. }
  3036. }
  3037. },
  3038. "500": {
  3039. "description": "Internal Server Error",
  3040. "schema": {
  3041. "$ref": "#/definitions/app.Response"
  3042. }
  3043. }
  3044. }
  3045. }
  3046. },
  3047. "/Ermcp3/QryAreaExpourseContractDetail": {
  3048. "get": {
  3049. "security": [
  3050. {
  3051. "ApiKeyAuth": []
  3052. }
  3053. ],
  3054. "produces": [
  3055. "application/json"
  3056. ],
  3057. "tags": [
  3058. "企业风险管理v3(app)"
  3059. ],
  3060. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3061. "parameters": [
  3062. {
  3063. "type": "integer",
  3064. "description": "用户ID",
  3065. "name": "userid",
  3066. "in": "query",
  3067. "required": true
  3068. },
  3069. {
  3070. "type": "integer",
  3071. "description": "套保商品id",
  3072. "name": "middlegoodsid",
  3073. "in": "query",
  3074. "required": true
  3075. },
  3076. {
  3077. "type": "integer",
  3078. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3079. "name": "cycletype",
  3080. "in": "query",
  3081. "required": true
  3082. },
  3083. {
  3084. "type": "string",
  3085. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3086. "name": "cycletime",
  3087. "in": "query",
  3088. "required": true
  3089. }
  3090. ],
  3091. "responses": {
  3092. "200": {
  3093. "description": "OK",
  3094. "schema": {
  3095. "type": "array",
  3096. "items": {
  3097. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3098. }
  3099. }
  3100. },
  3101. "500": {
  3102. "description": "Internal Server Error",
  3103. "schema": {
  3104. "$ref": "#/definitions/app.Response"
  3105. }
  3106. }
  3107. }
  3108. }
  3109. },
  3110. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3111. "get": {
  3112. "security": [
  3113. {
  3114. "ApiKeyAuth": []
  3115. }
  3116. ],
  3117. "produces": [
  3118. "application/json"
  3119. ],
  3120. "tags": [
  3121. "企业风险管理v3(app)"
  3122. ],
  3123. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3124. "parameters": [
  3125. {
  3126. "type": "integer",
  3127. "description": "用户ID",
  3128. "name": "userid",
  3129. "in": "query",
  3130. "required": true
  3131. },
  3132. {
  3133. "type": "integer",
  3134. "description": "套保商品id",
  3135. "name": "middlegoodsid",
  3136. "in": "query",
  3137. "required": true
  3138. },
  3139. {
  3140. "type": "integer",
  3141. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3142. "name": "cycletype",
  3143. "in": "query",
  3144. "required": true
  3145. },
  3146. {
  3147. "type": "string",
  3148. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3149. "name": "cycletime",
  3150. "in": "query",
  3151. "required": true
  3152. }
  3153. ],
  3154. "responses": {
  3155. "200": {
  3156. "description": "OK",
  3157. "schema": {
  3158. "type": "array",
  3159. "items": {
  3160. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3161. }
  3162. }
  3163. },
  3164. "500": {
  3165. "description": "Internal Server Error",
  3166. "schema": {
  3167. "$ref": "#/definitions/app.Response"
  3168. }
  3169. }
  3170. }
  3171. }
  3172. },
  3173. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3174. "get": {
  3175. "security": [
  3176. {
  3177. "ApiKeyAuth": []
  3178. }
  3179. ],
  3180. "produces": [
  3181. "application/json"
  3182. ],
  3183. "tags": [
  3184. "企业风险管理v3(app)"
  3185. ],
  3186. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3187. "parameters": [
  3188. {
  3189. "type": "integer",
  3190. "description": "用户ID",
  3191. "name": "userid",
  3192. "in": "query",
  3193. "required": true
  3194. },
  3195. {
  3196. "type": "integer",
  3197. "description": "套保商品id",
  3198. "name": "middlegoodsid",
  3199. "in": "query",
  3200. "required": true
  3201. },
  3202. {
  3203. "type": "integer",
  3204. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3205. "name": "cycletype",
  3206. "in": "query",
  3207. "required": true
  3208. },
  3209. {
  3210. "type": "string",
  3211. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3212. "name": "cycletime",
  3213. "in": "query",
  3214. "required": true
  3215. }
  3216. ],
  3217. "responses": {
  3218. "200": {
  3219. "description": "OK",
  3220. "schema": {
  3221. "type": "array",
  3222. "items": {
  3223. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3224. }
  3225. }
  3226. },
  3227. "500": {
  3228. "description": "Internal Server Error",
  3229. "schema": {
  3230. "$ref": "#/definitions/app.Response"
  3231. }
  3232. }
  3233. }
  3234. }
  3235. },
  3236. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3237. "get": {
  3238. "security": [
  3239. {
  3240. "ApiKeyAuth": []
  3241. }
  3242. ],
  3243. "produces": [
  3244. "application/json"
  3245. ],
  3246. "tags": [
  3247. "企业风险管理v3(app)"
  3248. ],
  3249. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3250. "parameters": [
  3251. {
  3252. "type": "integer",
  3253. "description": "用户ID",
  3254. "name": "userid",
  3255. "in": "query",
  3256. "required": true
  3257. },
  3258. {
  3259. "type": "integer",
  3260. "description": "套保商品id",
  3261. "name": "middlegoodsid",
  3262. "in": "query",
  3263. "required": true
  3264. },
  3265. {
  3266. "type": "integer",
  3267. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3268. "name": "cycletype",
  3269. "in": "query",
  3270. "required": true
  3271. },
  3272. {
  3273. "type": "string",
  3274. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3275. "name": "cycletime",
  3276. "in": "query",
  3277. "required": true
  3278. }
  3279. ],
  3280. "responses": {
  3281. "200": {
  3282. "description": "OK",
  3283. "schema": {
  3284. "type": "array",
  3285. "items": {
  3286. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3287. }
  3288. }
  3289. },
  3290. "500": {
  3291. "description": "Internal Server Error",
  3292. "schema": {
  3293. "$ref": "#/definitions/app.Response"
  3294. }
  3295. }
  3296. }
  3297. }
  3298. },
  3299. "/Ermcp3/QryAreaExpourseReport": {
  3300. "get": {
  3301. "security": [
  3302. {
  3303. "ApiKeyAuth": []
  3304. }
  3305. ],
  3306. "produces": [
  3307. "application/json"
  3308. ],
  3309. "tags": [
  3310. "企业风险管理v3(app)"
  3311. ],
  3312. "summary": "查询敞口报表",
  3313. "parameters": [
  3314. {
  3315. "type": "integer",
  3316. "description": "用户ID",
  3317. "name": "userid",
  3318. "in": "query",
  3319. "required": true
  3320. },
  3321. {
  3322. "type": "integer",
  3323. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3324. "name": "querytype",
  3325. "in": "query",
  3326. "required": true
  3327. },
  3328. {
  3329. "type": "integer",
  3330. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3331. "name": "cycletype",
  3332. "in": "query",
  3333. "required": true
  3334. },
  3335. {
  3336. "type": "string",
  3337. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3338. "name": "cycletime",
  3339. "in": "query",
  3340. "required": true
  3341. }
  3342. ],
  3343. "responses": {
  3344. "200": {
  3345. "description": "OK",
  3346. "schema": {
  3347. "type": "array",
  3348. "items": {
  3349. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3350. }
  3351. }
  3352. },
  3353. "500": {
  3354. "description": "Internal Server Error",
  3355. "schema": {
  3356. "$ref": "#/definitions/app.Response"
  3357. }
  3358. }
  3359. }
  3360. }
  3361. },
  3362. "/Ermcp3/QryAreaSpotplReport": {
  3363. "get": {
  3364. "security": [
  3365. {
  3366. "ApiKeyAuth": []
  3367. }
  3368. ],
  3369. "produces": [
  3370. "application/json"
  3371. ],
  3372. "tags": [
  3373. "企业风险管理v3(app)"
  3374. ],
  3375. "summary": "查询现货报表",
  3376. "parameters": [
  3377. {
  3378. "type": "integer",
  3379. "description": "用户ID",
  3380. "name": "userid",
  3381. "in": "query",
  3382. "required": true
  3383. },
  3384. {
  3385. "type": "integer",
  3386. "description": "查询类型 1-报表 2-报表明细",
  3387. "name": "querytype",
  3388. "in": "query",
  3389. "required": true
  3390. },
  3391. {
  3392. "type": "integer",
  3393. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3394. "name": "cycletype",
  3395. "in": "query",
  3396. "required": true
  3397. },
  3398. {
  3399. "type": "string",
  3400. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3401. "name": "cycletime",
  3402. "in": "query",
  3403. "required": true
  3404. },
  3405. {
  3406. "type": "integer",
  3407. "description": "现货品种id(明细必填)",
  3408. "name": "deliverygoodsid",
  3409. "in": "query"
  3410. },
  3411. {
  3412. "type": "integer",
  3413. "description": "币种id(明细必填)",
  3414. "name": "currencyid",
  3415. "in": "query"
  3416. }
  3417. ],
  3418. "responses": {
  3419. "200": {
  3420. "description": "OK",
  3421. "schema": {
  3422. "type": "array",
  3423. "items": {
  3424. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3425. }
  3426. }
  3427. },
  3428. "500": {
  3429. "description": "Internal Server Error",
  3430. "schema": {
  3431. "$ref": "#/definitions/app.Response"
  3432. }
  3433. }
  3434. }
  3435. }
  3436. },
  3437. "/Ermcp3/QryAreaStockReport": {
  3438. "get": {
  3439. "security": [
  3440. {
  3441. "ApiKeyAuth": []
  3442. }
  3443. ],
  3444. "produces": [
  3445. "application/json"
  3446. ],
  3447. "tags": [
  3448. "企业风险管理v3(app)"
  3449. ],
  3450. "summary": "查询库存报表",
  3451. "parameters": [
  3452. {
  3453. "type": "integer",
  3454. "description": "用户ID",
  3455. "name": "userid",
  3456. "in": "query",
  3457. "required": true
  3458. },
  3459. {
  3460. "type": "integer",
  3461. "description": "查询类型 1-报表 2-报表明细",
  3462. "name": "querytype",
  3463. "in": "query",
  3464. "required": true
  3465. },
  3466. {
  3467. "type": "integer",
  3468. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3469. "name": "cycletype",
  3470. "in": "query",
  3471. "required": true
  3472. },
  3473. {
  3474. "type": "string",
  3475. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3476. "name": "cycletime",
  3477. "in": "query",
  3478. "required": true
  3479. },
  3480. {
  3481. "type": "string",
  3482. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3483. "name": "sumfields",
  3484. "in": "query"
  3485. },
  3486. {
  3487. "type": "integer",
  3488. "description": "品种ID",
  3489. "name": "deliverygoodsid",
  3490. "in": "query"
  3491. },
  3492. {
  3493. "type": "integer",
  3494. "description": "品类ID",
  3495. "name": "wrstandardid",
  3496. "in": "query"
  3497. },
  3498. {
  3499. "type": "integer",
  3500. "description": "品牌ID",
  3501. "name": "spotgoodsbrandid",
  3502. "in": "query"
  3503. },
  3504. {
  3505. "type": "integer",
  3506. "description": "仓库ID",
  3507. "name": "warehouseinfoid",
  3508. "in": "query"
  3509. }
  3510. ],
  3511. "responses": {
  3512. "200": {
  3513. "description": "OK",
  3514. "schema": {
  3515. "type": "array",
  3516. "items": {
  3517. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3518. }
  3519. }
  3520. },
  3521. "500": {
  3522. "description": "Internal Server Error",
  3523. "schema": {
  3524. "$ref": "#/definitions/app.Response"
  3525. }
  3526. }
  3527. }
  3528. }
  3529. },
  3530. "/Ermcp3/QryAreaSumPL": {
  3531. "get": {
  3532. "security": [
  3533. {
  3534. "ApiKeyAuth": []
  3535. }
  3536. ],
  3537. "produces": [
  3538. "application/json"
  3539. ],
  3540. "tags": [
  3541. "企业风险管理v3(app)"
  3542. ],
  3543. "summary": "查询汇总损益表",
  3544. "parameters": [
  3545. {
  3546. "type": "integer",
  3547. "description": "用户ID",
  3548. "name": "userid",
  3549. "in": "query",
  3550. "required": true
  3551. },
  3552. {
  3553. "type": "integer",
  3554. "description": "查询类型 1-报表 2-报表明细",
  3555. "name": "querytype",
  3556. "in": "query",
  3557. "required": true
  3558. },
  3559. {
  3560. "type": "integer",
  3561. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3562. "name": "cycletype",
  3563. "in": "query",
  3564. "required": true
  3565. },
  3566. {
  3567. "type": "string",
  3568. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3569. "name": "cycletime",
  3570. "in": "query",
  3571. "required": true
  3572. },
  3573. {
  3574. "type": "integer",
  3575. "description": "币种id(明细必填)",
  3576. "name": "currencyid",
  3577. "in": "query"
  3578. }
  3579. ],
  3580. "responses": {
  3581. "200": {
  3582. "description": "OK",
  3583. "schema": {
  3584. "type": "array",
  3585. "items": {
  3586. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3587. }
  3588. }
  3589. },
  3590. "500": {
  3591. "description": "Internal Server Error",
  3592. "schema": {
  3593. "$ref": "#/definitions/app.Response"
  3594. }
  3595. }
  3596. }
  3597. }
  3598. },
  3599. "/Ermcp3/QryFinanceReport": {
  3600. "get": {
  3601. "security": [
  3602. {
  3603. "ApiKeyAuth": []
  3604. }
  3605. ],
  3606. "produces": [
  3607. "application/json"
  3608. ],
  3609. "tags": [
  3610. "企业风险管理v3(app)"
  3611. ],
  3612. "summary": "查询财务报表",
  3613. "parameters": [
  3614. {
  3615. "type": "integer",
  3616. "description": "用户ID",
  3617. "name": "userid",
  3618. "in": "query",
  3619. "required": true
  3620. },
  3621. {
  3622. "type": "integer",
  3623. "description": "查询类型 1-报表 2-报表明细",
  3624. "name": "querytype",
  3625. "in": "query",
  3626. "required": true
  3627. },
  3628. {
  3629. "type": "integer",
  3630. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3631. "name": "cycletype",
  3632. "in": "query",
  3633. "required": true
  3634. },
  3635. {
  3636. "type": "string",
  3637. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3638. "name": "cycletime",
  3639. "in": "query",
  3640. "required": true
  3641. },
  3642. {
  3643. "type": "integer",
  3644. "description": "币种id(报表明细必填)",
  3645. "name": "currencyid",
  3646. "in": "query"
  3647. },
  3648. {
  3649. "type": "string",
  3650. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3651. "name": "sumfields",
  3652. "in": "query"
  3653. }
  3654. ],
  3655. "responses": {
  3656. "200": {
  3657. "description": "OK",
  3658. "schema": {
  3659. "type": "array",
  3660. "items": {
  3661. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3662. }
  3663. }
  3664. },
  3665. "500": {
  3666. "description": "Internal Server Error",
  3667. "schema": {
  3668. "$ref": "#/definitions/app.Response"
  3669. }
  3670. }
  3671. }
  3672. }
  3673. },
  3674. "/Ermcp3/QrySCMiddleGoodsReport": {
  3675. "get": {
  3676. "security": [
  3677. {
  3678. "ApiKeyAuth": []
  3679. }
  3680. ],
  3681. "produces": [
  3682. "application/json"
  3683. ],
  3684. "tags": [
  3685. "企业风险管理v3(app)"
  3686. ],
  3687. "summary": "查询定价报表",
  3688. "parameters": [
  3689. {
  3690. "type": "integer",
  3691. "description": "用户ID",
  3692. "name": "userid",
  3693. "in": "query",
  3694. "required": true
  3695. },
  3696. {
  3697. "type": "integer",
  3698. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3699. "name": "cycletype",
  3700. "in": "query",
  3701. "required": true
  3702. },
  3703. {
  3704. "type": "string",
  3705. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3706. "name": "cycletime",
  3707. "in": "query",
  3708. "required": true
  3709. },
  3710. {
  3711. "type": "integer",
  3712. "description": "合同id",
  3713. "name": "spotcontractid",
  3714. "in": "query"
  3715. },
  3716. {
  3717. "type": "integer",
  3718. "description": "套保品种id",
  3719. "name": "middlegoodsid",
  3720. "in": "query"
  3721. },
  3722. {
  3723. "type": "integer",
  3724. "description": "现货品种id",
  3725. "name": "deliverygoodsid",
  3726. "in": "query"
  3727. },
  3728. {
  3729. "type": "integer",
  3730. "description": "现货商品id",
  3731. "name": "wrstandardid",
  3732. "in": "query"
  3733. },
  3734. {
  3735. "type": "string",
  3736. "description": "合同编号(模糊匹配)",
  3737. "name": "contractno",
  3738. "in": "query"
  3739. }
  3740. ],
  3741. "responses": {
  3742. "200": {
  3743. "description": "OK",
  3744. "schema": {
  3745. "type": "array",
  3746. "items": {
  3747. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3748. }
  3749. }
  3750. },
  3751. "500": {
  3752. "description": "Internal Server Error",
  3753. "schema": {
  3754. "$ref": "#/definitions/app.Response"
  3755. }
  3756. }
  3757. }
  3758. }
  3759. },
  3760. "/Ermcp3/QryTaFutureDataReport": {
  3761. "get": {
  3762. "security": [
  3763. {
  3764. "ApiKeyAuth": []
  3765. }
  3766. ],
  3767. "produces": [
  3768. "application/json"
  3769. ],
  3770. "tags": [
  3771. "企业风险管理v3(app)"
  3772. ],
  3773. "summary": "查询期货报表",
  3774. "parameters": [
  3775. {
  3776. "type": "integer",
  3777. "description": "用户ID",
  3778. "name": "userid",
  3779. "in": "query",
  3780. "required": true
  3781. },
  3782. {
  3783. "type": "integer",
  3784. "description": "查询类型 1-报表 2-报表明细",
  3785. "name": "querytype",
  3786. "in": "query",
  3787. "required": true
  3788. },
  3789. {
  3790. "type": "integer",
  3791. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3792. "name": "cycletype",
  3793. "in": "query",
  3794. "required": true
  3795. },
  3796. {
  3797. "type": "string",
  3798. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3799. "name": "cycletime",
  3800. "in": "query",
  3801. "required": true
  3802. },
  3803. {
  3804. "type": "integer",
  3805. "description": "币种id(查明细必填)",
  3806. "name": "currencyid",
  3807. "in": "query"
  3808. },
  3809. {
  3810. "type": "integer",
  3811. "description": "品种id(查明细必填)",
  3812. "name": "goodsgroupid",
  3813. "in": "query"
  3814. },
  3815. {
  3816. "type": "integer",
  3817. "description": "商品id(查明细必填)",
  3818. "name": "goodsid",
  3819. "in": "query"
  3820. },
  3821. {
  3822. "type": "integer",
  3823. "description": "买卖方向(查明细必填)",
  3824. "name": "buyorsell",
  3825. "in": "query"
  3826. }
  3827. ],
  3828. "responses": {
  3829. "200": {
  3830. "description": "OK",
  3831. "schema": {
  3832. "type": "array",
  3833. "items": {
  3834. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3835. }
  3836. }
  3837. },
  3838. "500": {
  3839. "description": "Internal Server Error",
  3840. "schema": {
  3841. "$ref": "#/definitions/app.Response"
  3842. }
  3843. }
  3844. }
  3845. }
  3846. },
  3847. "/Ermcp3/QueryAreaStock": {
  3848. "get": {
  3849. "security": [
  3850. {
  3851. "ApiKeyAuth": []
  3852. }
  3853. ],
  3854. "produces": [
  3855. "application/json"
  3856. ],
  3857. "tags": [
  3858. "企业风险管理v3(app)"
  3859. ],
  3860. "summary": "查询机构库存(库存管理/当前库存)",
  3861. "parameters": [
  3862. {
  3863. "type": "integer",
  3864. "description": "用户ID",
  3865. "name": "userid",
  3866. "in": "query",
  3867. "required": true
  3868. }
  3869. ],
  3870. "responses": {
  3871. "200": {
  3872. "description": "OK",
  3873. "schema": {
  3874. "type": "array",
  3875. "items": {
  3876. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3877. }
  3878. }
  3879. },
  3880. "500": {
  3881. "description": "Internal Server Error",
  3882. "schema": {
  3883. "$ref": "#/definitions/app.Response"
  3884. }
  3885. }
  3886. }
  3887. }
  3888. },
  3889. "/Ermcp3/QueryAreaStockApply": {
  3890. "get": {
  3891. "security": [
  3892. {
  3893. "ApiKeyAuth": []
  3894. }
  3895. ],
  3896. "produces": [
  3897. "application/json"
  3898. ],
  3899. "tags": [
  3900. "企业风险管理v3(app)"
  3901. ],
  3902. "summary": "查询库存申请(出入库记录|库存审核)",
  3903. "parameters": [
  3904. {
  3905. "type": "integer",
  3906. "description": "用户ID",
  3907. "name": "userid",
  3908. "in": "query",
  3909. "required": true
  3910. },
  3911. {
  3912. "type": "integer",
  3913. "description": "用户类型 2-机构 7-企业成员",
  3914. "name": "usertype",
  3915. "in": "query"
  3916. },
  3917. {
  3918. "type": "integer",
  3919. "description": "现货商品ID",
  3920. "name": "deliverygoodsid",
  3921. "in": "query"
  3922. },
  3923. {
  3924. "type": "string",
  3925. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3926. "name": "inouttype",
  3927. "in": "query"
  3928. },
  3929. {
  3930. "type": "integer",
  3931. "description": "合同ID",
  3932. "name": "spotcontractid",
  3933. "in": "query"
  3934. },
  3935. {
  3936. "type": "integer",
  3937. "description": "品类ID",
  3938. "name": "wrstandardid",
  3939. "in": "query"
  3940. },
  3941. {
  3942. "type": "integer",
  3943. "description": "品牌ID",
  3944. "name": "spotgoodsbrandid",
  3945. "in": "query"
  3946. },
  3947. {
  3948. "type": "integer",
  3949. "description": "仓库ID",
  3950. "name": "warehouseinfoid",
  3951. "in": "query"
  3952. },
  3953. {
  3954. "type": "string",
  3955. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3956. "name": "applystatus",
  3957. "in": "query"
  3958. }
  3959. ],
  3960. "responses": {
  3961. "200": {
  3962. "description": "OK",
  3963. "schema": {
  3964. "type": "array",
  3965. "items": {
  3966. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3967. }
  3968. }
  3969. },
  3970. "500": {
  3971. "description": "Internal Server Error",
  3972. "schema": {
  3973. "$ref": "#/definitions/app.Response"
  3974. }
  3975. }
  3976. }
  3977. }
  3978. },
  3979. "/Ermcp3/QueryAreaStockApplySum": {
  3980. "get": {
  3981. "security": [
  3982. {
  3983. "ApiKeyAuth": []
  3984. }
  3985. ],
  3986. "produces": [
  3987. "application/json"
  3988. ],
  3989. "tags": [
  3990. "企业风险管理v3(app)"
  3991. ],
  3992. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3993. "parameters": [
  3994. {
  3995. "type": "integer",
  3996. "description": "合同ID",
  3997. "name": "spotcontractid",
  3998. "in": "query",
  3999. "required": true
  4000. }
  4001. ],
  4002. "responses": {
  4003. "200": {
  4004. "description": "OK",
  4005. "schema": {
  4006. "type": "array",
  4007. "items": {
  4008. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4009. }
  4010. }
  4011. },
  4012. "500": {
  4013. "description": "Internal Server Error",
  4014. "schema": {
  4015. "$ref": "#/definitions/app.Response"
  4016. }
  4017. }
  4018. }
  4019. }
  4020. },
  4021. "/Ermcp3/QueryDGFactoryItem": {
  4022. "get": {
  4023. "security": [
  4024. {
  4025. "ApiKeyAuth": []
  4026. }
  4027. ],
  4028. "produces": [
  4029. "application/json"
  4030. ],
  4031. "tags": [
  4032. "企业风险管理v3(app)"
  4033. ],
  4034. "summary": "查询品种要素定义项",
  4035. "parameters": [
  4036. {
  4037. "type": "integer",
  4038. "description": "用户id",
  4039. "name": "userid",
  4040. "in": "query"
  4041. },
  4042. {
  4043. "type": "integer",
  4044. "description": "用户类型 2-机构 7-企业成员",
  4045. "name": "usertype",
  4046. "in": "query"
  4047. },
  4048. {
  4049. "type": "integer",
  4050. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4051. "name": "dgfactoryitemid",
  4052. "in": "query"
  4053. },
  4054. {
  4055. "type": "integer",
  4056. "description": "现货品种ID",
  4057. "name": "deliverygoodsid",
  4058. "in": "query"
  4059. },
  4060. {
  4061. "type": "integer",
  4062. "description": "要素项类型",
  4063. "name": "dgfactoryitemtypeid",
  4064. "in": "query"
  4065. },
  4066. {
  4067. "type": "integer",
  4068. "description": "顺序",
  4069. "name": "orderindex",
  4070. "in": "query"
  4071. }
  4072. ],
  4073. "responses": {
  4074. "200": {
  4075. "description": "OK",
  4076. "schema": {
  4077. "type": "array",
  4078. "items": {
  4079. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4080. }
  4081. }
  4082. },
  4083. "500": {
  4084. "description": "Internal Server Error",
  4085. "schema": {
  4086. "$ref": "#/definitions/app.Response"
  4087. }
  4088. }
  4089. }
  4090. }
  4091. },
  4092. "/Ermcp3/QueryDeliveryGoods": {
  4093. "get": {
  4094. "security": [
  4095. {
  4096. "ApiKeyAuth": []
  4097. }
  4098. ],
  4099. "produces": [
  4100. "application/json"
  4101. ],
  4102. "tags": [
  4103. "企业风险管理v3(app)"
  4104. ],
  4105. "summary": "查询现货商品",
  4106. "parameters": [
  4107. {
  4108. "type": "integer",
  4109. "description": "用户id",
  4110. "name": "userid",
  4111. "in": "query",
  4112. "required": true
  4113. },
  4114. {
  4115. "type": "integer",
  4116. "description": "用户类型 2-机构 7-企业成员",
  4117. "name": "usertype",
  4118. "in": "query"
  4119. },
  4120. {
  4121. "type": "integer",
  4122. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4123. "name": "excludecfg",
  4124. "in": "query"
  4125. }
  4126. ],
  4127. "responses": {
  4128. "200": {
  4129. "description": "OK",
  4130. "schema": {
  4131. "type": "array",
  4132. "items": {
  4133. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4134. }
  4135. }
  4136. },
  4137. "500": {
  4138. "description": "Internal Server Error",
  4139. "schema": {
  4140. "$ref": "#/definitions/app.Response"
  4141. }
  4142. }
  4143. }
  4144. }
  4145. },
  4146. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4147. "get": {
  4148. "security": [
  4149. {
  4150. "ApiKeyAuth": []
  4151. }
  4152. ],
  4153. "produces": [
  4154. "application/json"
  4155. ],
  4156. "tags": [
  4157. "企业风险管理v3(app)"
  4158. ],
  4159. "summary": "查询现货商品详情",
  4160. "parameters": [
  4161. {
  4162. "type": "integer",
  4163. "description": "用户id",
  4164. "name": "userid",
  4165. "in": "query",
  4166. "required": true
  4167. },
  4168. {
  4169. "type": "integer",
  4170. "description": "用户类型 2-机构 7-企业成员",
  4171. "name": "usertype",
  4172. "in": "query"
  4173. },
  4174. {
  4175. "type": "integer",
  4176. "description": "现货商品id",
  4177. "name": "deliverygoodsid",
  4178. "in": "query"
  4179. },
  4180. {
  4181. "type": "integer",
  4182. "description": "过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示",
  4183. "name": "filtersubempty",
  4184. "in": "query"
  4185. }
  4186. ],
  4187. "responses": {
  4188. "200": {
  4189. "description": "OK",
  4190. "schema": {
  4191. "type": "array",
  4192. "items": {
  4193. "$ref": "#/definitions/models.XHDeliveryGoods"
  4194. }
  4195. }
  4196. },
  4197. "500": {
  4198. "description": "Internal Server Error",
  4199. "schema": {
  4200. "$ref": "#/definitions/app.Response"
  4201. }
  4202. }
  4203. }
  4204. }
  4205. },
  4206. "/Ermcp3/QueryExposureDetail": {
  4207. "get": {
  4208. "security": [
  4209. {
  4210. "ApiKeyAuth": []
  4211. }
  4212. ],
  4213. "produces": [
  4214. "application/json"
  4215. ],
  4216. "tags": [
  4217. "企业风险管理v3(app)"
  4218. ],
  4219. "summary": "查询敞口现货明细",
  4220. "parameters": [
  4221. {
  4222. "type": "integer",
  4223. "description": "用户id",
  4224. "name": "userid",
  4225. "in": "query",
  4226. "required": true
  4227. },
  4228. {
  4229. "type": "integer",
  4230. "description": "用户类型 2-机构 7-企业成员",
  4231. "name": "usertype",
  4232. "in": "query"
  4233. },
  4234. {
  4235. "type": "integer",
  4236. "description": "套保商品",
  4237. "name": "middlegoodsid",
  4238. "in": "query",
  4239. "required": true
  4240. }
  4241. ],
  4242. "responses": {
  4243. "200": {
  4244. "description": "OK",
  4245. "schema": {
  4246. "type": "array",
  4247. "items": {
  4248. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4249. }
  4250. }
  4251. },
  4252. "500": {
  4253. "description": "Internal Server Error",
  4254. "schema": {
  4255. "$ref": "#/definitions/app.Response"
  4256. }
  4257. }
  4258. }
  4259. }
  4260. },
  4261. "/Ermcp3/QueryExposureSpot": {
  4262. "get": {
  4263. "security": [
  4264. {
  4265. "ApiKeyAuth": []
  4266. }
  4267. ],
  4268. "produces": [
  4269. "application/json"
  4270. ],
  4271. "tags": [
  4272. "企业风险管理v3(app)"
  4273. ],
  4274. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4275. "parameters": [
  4276. {
  4277. "type": "integer",
  4278. "description": "用户id",
  4279. "name": "userid",
  4280. "in": "query",
  4281. "required": true
  4282. },
  4283. {
  4284. "type": "integer",
  4285. "description": "用户类型 2-机构 7-企业成员",
  4286. "name": "usertype",
  4287. "in": "query"
  4288. }
  4289. ],
  4290. "responses": {
  4291. "200": {
  4292. "description": "OK",
  4293. "schema": {
  4294. "type": "array",
  4295. "items": {
  4296. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4297. }
  4298. }
  4299. },
  4300. "500": {
  4301. "description": "Internal Server Error",
  4302. "schema": {
  4303. "$ref": "#/definitions/app.Response"
  4304. }
  4305. }
  4306. }
  4307. }
  4308. },
  4309. "/Ermcp3/QueryExposureSpotDetail": {
  4310. "get": {
  4311. "security": [
  4312. {
  4313. "ApiKeyAuth": []
  4314. }
  4315. ],
  4316. "produces": [
  4317. "application/json"
  4318. ],
  4319. "tags": [
  4320. "企业风险管理v3(app)"
  4321. ],
  4322. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4323. "parameters": [
  4324. {
  4325. "type": "integer",
  4326. "description": "用户id",
  4327. "name": "userid",
  4328. "in": "query",
  4329. "required": true
  4330. },
  4331. {
  4332. "type": "integer",
  4333. "description": "用户类型 2-机构 7-企业成员",
  4334. "name": "usertype",
  4335. "in": "query"
  4336. },
  4337. {
  4338. "type": "integer",
  4339. "description": "现货商品ID",
  4340. "name": "wrstandardid",
  4341. "in": "query",
  4342. "required": true
  4343. }
  4344. ],
  4345. "responses": {
  4346. "200": {
  4347. "description": "OK",
  4348. "schema": {
  4349. "type": "array",
  4350. "items": {
  4351. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4352. }
  4353. }
  4354. },
  4355. "500": {
  4356. "description": "Internal Server Error",
  4357. "schema": {
  4358. "$ref": "#/definitions/app.Response"
  4359. }
  4360. }
  4361. }
  4362. }
  4363. },
  4364. "/Ermcp3/QueryGoodsGroup": {
  4365. "get": {
  4366. "security": [
  4367. {
  4368. "ApiKeyAuth": []
  4369. }
  4370. ],
  4371. "produces": [
  4372. "application/json"
  4373. ],
  4374. "tags": [
  4375. "企业风险管理v3(app)"
  4376. ],
  4377. "summary": "查询期货商品组",
  4378. "parameters": [
  4379. {
  4380. "type": "integer",
  4381. "description": "用户id",
  4382. "name": "userid",
  4383. "in": "query",
  4384. "required": true
  4385. },
  4386. {
  4387. "type": "integer",
  4388. "description": "用户类型 2-机构 7-企业成员",
  4389. "name": "usertype",
  4390. "in": "query"
  4391. },
  4392. {
  4393. "type": "integer",
  4394. "description": "排除套保品中已关联的商品组 1-排除",
  4395. "name": "excludecfg",
  4396. "in": "query"
  4397. }
  4398. ],
  4399. "responses": {
  4400. "200": {
  4401. "description": "OK",
  4402. "schema": {
  4403. "type": "array",
  4404. "items": {
  4405. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4406. }
  4407. }
  4408. },
  4409. "500": {
  4410. "description": "Internal Server Error",
  4411. "schema": {
  4412. "$ref": "#/definitions/app.Response"
  4413. }
  4414. }
  4415. }
  4416. }
  4417. },
  4418. "/Ermcp3/QueryGoodsWrstandard": {
  4419. "get": {
  4420. "security": [
  4421. {
  4422. "ApiKeyAuth": []
  4423. }
  4424. ],
  4425. "produces": [
  4426. "application/json"
  4427. ],
  4428. "tags": [
  4429. "企业风险管理v3(app)"
  4430. ],
  4431. "summary": "查询商品品类",
  4432. "parameters": [
  4433. {
  4434. "type": "integer",
  4435. "description": "用户id",
  4436. "name": "userid",
  4437. "in": "query",
  4438. "required": true
  4439. },
  4440. {
  4441. "type": "integer",
  4442. "description": "用户类型 2-机构 7-企业成员",
  4443. "name": "usertype",
  4444. "in": "query"
  4445. },
  4446. {
  4447. "type": "integer",
  4448. "description": "现货商品id",
  4449. "name": "deliverygoodsid",
  4450. "in": "query"
  4451. }
  4452. ],
  4453. "responses": {
  4454. "200": {
  4455. "description": "OK",
  4456. "schema": {
  4457. "type": "array",
  4458. "items": {
  4459. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4460. }
  4461. }
  4462. },
  4463. "500": {
  4464. "description": "Internal Server Error",
  4465. "schema": {
  4466. "$ref": "#/definitions/app.Response"
  4467. }
  4468. }
  4469. }
  4470. }
  4471. },
  4472. "/Ermcp3/QueryGoodsbrand": {
  4473. "get": {
  4474. "security": [
  4475. {
  4476. "ApiKeyAuth": []
  4477. }
  4478. ],
  4479. "produces": [
  4480. "application/json"
  4481. ],
  4482. "tags": [
  4483. "企业风险管理v3(app)"
  4484. ],
  4485. "summary": "查询商品品牌",
  4486. "parameters": [
  4487. {
  4488. "type": "integer",
  4489. "description": "用户id",
  4490. "name": "userid",
  4491. "in": "query",
  4492. "required": true
  4493. },
  4494. {
  4495. "type": "integer",
  4496. "description": "用户类型 2-机构 7-企业成员",
  4497. "name": "usertype",
  4498. "in": "query"
  4499. }
  4500. ],
  4501. "responses": {
  4502. "200": {
  4503. "description": "OK",
  4504. "schema": {
  4505. "type": "array",
  4506. "items": {
  4507. "$ref": "#/definitions/models.Ermcp3Brand"
  4508. }
  4509. }
  4510. },
  4511. "500": {
  4512. "description": "Internal Server Error",
  4513. "schema": {
  4514. "$ref": "#/definitions/app.Response"
  4515. }
  4516. }
  4517. }
  4518. }
  4519. },
  4520. "/Ermcp3/QueryHedgePlan": {
  4521. "get": {
  4522. "security": [
  4523. {
  4524. "ApiKeyAuth": []
  4525. }
  4526. ],
  4527. "produces": [
  4528. "application/json"
  4529. ],
  4530. "tags": [
  4531. "企业风险管理v3(app)"
  4532. ],
  4533. "summary": "查询套保计划",
  4534. "parameters": [
  4535. {
  4536. "type": "integer",
  4537. "description": "用户ID",
  4538. "name": "userid",
  4539. "in": "query",
  4540. "required": true
  4541. },
  4542. {
  4543. "type": "integer",
  4544. "description": "用户类型 2-机构 7-企业成员",
  4545. "name": "usertype",
  4546. "in": "query"
  4547. },
  4548. {
  4549. "type": "string",
  4550. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4551. "name": "hedgeplanstatus",
  4552. "in": "query",
  4553. "required": true
  4554. }
  4555. ],
  4556. "responses": {
  4557. "200": {
  4558. "description": "OK",
  4559. "schema": {
  4560. "type": "array",
  4561. "items": {
  4562. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4563. }
  4564. }
  4565. },
  4566. "500": {
  4567. "description": "Internal Server Error",
  4568. "schema": {
  4569. "$ref": "#/definitions/app.Response"
  4570. }
  4571. }
  4572. }
  4573. }
  4574. },
  4575. "/Ermcp3/QueryInnerTradeLink": {
  4576. "get": {
  4577. "security": [
  4578. {
  4579. "ApiKeyAuth": []
  4580. }
  4581. ],
  4582. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4583. "produces": [
  4584. "application/json"
  4585. ],
  4586. "tags": [
  4587. "企业风险管理v3(app)"
  4588. ],
  4589. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4590. "parameters": [
  4591. {
  4592. "type": "integer",
  4593. "description": "外部成交单号",
  4594. "name": "outtradeid",
  4595. "in": "query",
  4596. "required": true
  4597. }
  4598. ],
  4599. "responses": {
  4600. "200": {
  4601. "description": "OK",
  4602. "schema": {
  4603. "type": "array",
  4604. "items": {
  4605. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4606. }
  4607. }
  4608. },
  4609. "500": {
  4610. "description": "Internal Server Error",
  4611. "schema": {
  4612. "$ref": "#/definitions/app.Response"
  4613. }
  4614. }
  4615. }
  4616. }
  4617. },
  4618. "/Ermcp3/QueryMiddleGoodsDetail": {
  4619. "get": {
  4620. "security": [
  4621. {
  4622. "ApiKeyAuth": []
  4623. }
  4624. ],
  4625. "produces": [
  4626. "application/json"
  4627. ],
  4628. "tags": [
  4629. "企业风险管理v3(app)"
  4630. ],
  4631. "summary": "查询套保品种详情(套保品种/商品详情)",
  4632. "parameters": [
  4633. {
  4634. "type": "integer",
  4635. "description": "用户id",
  4636. "name": "userid",
  4637. "in": "query",
  4638. "required": true
  4639. },
  4640. {
  4641. "type": "integer",
  4642. "description": "用户类型 2-机构 7-企业成员",
  4643. "name": "usertype",
  4644. "in": "query"
  4645. },
  4646. {
  4647. "type": "integer",
  4648. "description": "套保品种id",
  4649. "name": "middlegoodsid",
  4650. "in": "query"
  4651. }
  4652. ],
  4653. "responses": {
  4654. "200": {
  4655. "description": "OK",
  4656. "schema": {
  4657. "type": "array",
  4658. "items": {
  4659. "$ref": "#/definitions/models.TBMiddleGoods"
  4660. }
  4661. }
  4662. },
  4663. "500": {
  4664. "description": "Internal Server Error",
  4665. "schema": {
  4666. "$ref": "#/definitions/app.Response"
  4667. }
  4668. }
  4669. }
  4670. }
  4671. },
  4672. "/Ermcp3/QueryOutTradeLink": {
  4673. "get": {
  4674. "security": [
  4675. {
  4676. "ApiKeyAuth": []
  4677. }
  4678. ],
  4679. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  4680. "produces": [
  4681. "application/json"
  4682. ],
  4683. "tags": [
  4684. "企业风险管理v3(app)"
  4685. ],
  4686. "summary": "查询外部成交单关联",
  4687. "parameters": [
  4688. {
  4689. "type": "integer",
  4690. "description": "用户ID(填登录用户的userid)",
  4691. "name": "userid",
  4692. "in": "query",
  4693. "required": true
  4694. },
  4695. {
  4696. "type": "string",
  4697. "description": "外部订单号(模糊匹配)",
  4698. "name": "outtradeid",
  4699. "in": "query"
  4700. },
  4701. {
  4702. "type": "string",
  4703. "description": "合约名称/代码(模糊匹配)",
  4704. "name": "goodsname",
  4705. "in": "query"
  4706. },
  4707. {
  4708. "type": "integer",
  4709. "description": "关联状态 0-未关联 1-已关联",
  4710. "name": "hasinnerorder",
  4711. "in": "query"
  4712. }
  4713. ],
  4714. "responses": {
  4715. "200": {
  4716. "description": "OK",
  4717. "schema": {
  4718. "type": "array",
  4719. "items": {
  4720. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  4721. }
  4722. }
  4723. },
  4724. "500": {
  4725. "description": "Internal Server Error",
  4726. "schema": {
  4727. "$ref": "#/definitions/app.Response"
  4728. }
  4729. }
  4730. }
  4731. }
  4732. },
  4733. "/Ermcp3/QueryPaAreaAuditCfg": {
  4734. "get": {
  4735. "security": [
  4736. {
  4737. "ApiKeyAuth": []
  4738. }
  4739. ],
  4740. "produces": [
  4741. "application/json"
  4742. ],
  4743. "tags": [
  4744. "企业风险管理v3(app)"
  4745. ],
  4746. "summary": "查询审核设置",
  4747. "parameters": [
  4748. {
  4749. "type": "integer",
  4750. "description": "用户id",
  4751. "name": "userid",
  4752. "in": "query",
  4753. "required": true
  4754. }
  4755. ],
  4756. "responses": {
  4757. "200": {
  4758. "description": "OK",
  4759. "schema": {
  4760. "type": "array",
  4761. "items": {
  4762. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4763. }
  4764. }
  4765. },
  4766. "500": {
  4767. "description": "Internal Server Error",
  4768. "schema": {
  4769. "$ref": "#/definitions/app.Response"
  4770. }
  4771. }
  4772. }
  4773. }
  4774. },
  4775. "/Ermcp3/QueryPaAreaSubject": {
  4776. "get": {
  4777. "security": [
  4778. {
  4779. "ApiKeyAuth": []
  4780. }
  4781. ],
  4782. "produces": [
  4783. "application/json"
  4784. ],
  4785. "tags": [
  4786. "企业风险管理v3(app)"
  4787. ],
  4788. "summary": "查询交易主体",
  4789. "parameters": [
  4790. {
  4791. "type": "integer",
  4792. "description": "用户id",
  4793. "name": "userid",
  4794. "in": "query",
  4795. "required": true
  4796. },
  4797. {
  4798. "type": "integer",
  4799. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4800. "name": "subjectid",
  4801. "in": "query"
  4802. },
  4803. {
  4804. "type": "integer",
  4805. "description": "主体类型 - 1:交易主体 2:业务部门",
  4806. "name": "subjecttype",
  4807. "in": "query"
  4808. },
  4809. {
  4810. "type": "integer",
  4811. "description": "主体状态 - 1:正常 2: 停用",
  4812. "name": "subjectstatus",
  4813. "in": "query"
  4814. }
  4815. ],
  4816. "responses": {
  4817. "200": {
  4818. "description": "OK",
  4819. "schema": {
  4820. "type": "array",
  4821. "items": {
  4822. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4823. }
  4824. }
  4825. },
  4826. "500": {
  4827. "description": "Internal Server Error",
  4828. "schema": {
  4829. "$ref": "#/definitions/app.Response"
  4830. }
  4831. }
  4832. }
  4833. }
  4834. },
  4835. "/Ermcp3/QueryPaTradeLink": {
  4836. "get": {
  4837. "security": [
  4838. {
  4839. "ApiKeyAuth": []
  4840. }
  4841. ],
  4842. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4843. "produces": [
  4844. "application/json"
  4845. ],
  4846. "tags": [
  4847. "企业风险管理v3(app)"
  4848. ],
  4849. "summary": "查询期现单据关联",
  4850. "parameters": [
  4851. {
  4852. "type": "integer",
  4853. "description": "用户ID",
  4854. "name": "userid",
  4855. "in": "query",
  4856. "required": true
  4857. }
  4858. ],
  4859. "responses": {
  4860. "200": {
  4861. "description": "OK",
  4862. "schema": {
  4863. "type": "array",
  4864. "items": {
  4865. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4866. }
  4867. }
  4868. },
  4869. "500": {
  4870. "description": "Internal Server Error",
  4871. "schema": {
  4872. "$ref": "#/definitions/app.Response"
  4873. }
  4874. }
  4875. }
  4876. }
  4877. },
  4878. "/Ermcp3/QueryPaTradeLinkDetail": {
  4879. "get": {
  4880. "security": [
  4881. {
  4882. "ApiKeyAuth": []
  4883. }
  4884. ],
  4885. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  4886. "produces": [
  4887. "application/json"
  4888. ],
  4889. "tags": [
  4890. "企业风险管理v3(app)"
  4891. ],
  4892. "summary": "查询期现关联记录",
  4893. "parameters": [
  4894. {
  4895. "type": "integer",
  4896. "description": "用户ID(填登录用户的userid)",
  4897. "name": "userid",
  4898. "in": "query",
  4899. "required": true
  4900. },
  4901. {
  4902. "type": "integer",
  4903. "description": "关联状态 1:成功 2:失败 3:解绑",
  4904. "name": "linkstatus",
  4905. "in": "query"
  4906. },
  4907. {
  4908. "type": "string",
  4909. "description": "期货订单号(模糊匹配)",
  4910. "name": "tradeid",
  4911. "in": "query"
  4912. },
  4913. {
  4914. "type": "string",
  4915. "description": "现货编号(模糊匹配)",
  4916. "name": "contractno",
  4917. "in": "query"
  4918. },
  4919. {
  4920. "type": "string",
  4921. "description": "期货账户(模糊匹配)",
  4922. "name": "taname",
  4923. "in": "query"
  4924. }
  4925. ],
  4926. "responses": {
  4927. "200": {
  4928. "description": "OK",
  4929. "schema": {
  4930. "type": "array",
  4931. "items": {
  4932. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  4933. }
  4934. }
  4935. },
  4936. "500": {
  4937. "description": "Internal Server Error",
  4938. "schema": {
  4939. "$ref": "#/definitions/app.Response"
  4940. }
  4941. }
  4942. }
  4943. }
  4944. },
  4945. "/Ermcp3/QueryParamChangeApp": {
  4946. "get": {
  4947. "security": [
  4948. {
  4949. "ApiKeyAuth": []
  4950. }
  4951. ],
  4952. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  4953. "produces": [
  4954. "application/json"
  4955. ],
  4956. "tags": [
  4957. "企业风险管理v3(app)"
  4958. ],
  4959. "summary": "查询现货商品参数变更申请(流水)",
  4960. "parameters": [
  4961. {
  4962. "type": "integer",
  4963. "description": "用户ID",
  4964. "name": "userid",
  4965. "in": "query",
  4966. "required": true
  4967. },
  4968. {
  4969. "type": "integer",
  4970. "description": "现货品种id",
  4971. "name": "deliverygoodsid",
  4972. "in": "query"
  4973. },
  4974. {
  4975. "type": "integer",
  4976. "description": "现货商品id",
  4977. "name": "wrstandardid",
  4978. "in": "query"
  4979. },
  4980. {
  4981. "type": "integer",
  4982. "description": "套保商品id",
  4983. "name": "middlegoodsid",
  4984. "in": "query"
  4985. },
  4986. {
  4987. "type": "integer",
  4988. "description": "操作类型 1:新增 2:修改",
  4989. "name": "operatetype",
  4990. "in": "query"
  4991. },
  4992. {
  4993. "type": "integer",
  4994. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  4995. "name": "paramchangetype",
  4996. "in": "query"
  4997. },
  4998. {
  4999. "type": "string",
  5000. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5001. "name": "ftstatus",
  5002. "in": "query"
  5003. }
  5004. ],
  5005. "responses": {
  5006. "200": {
  5007. "description": "OK",
  5008. "schema": {
  5009. "type": "array",
  5010. "items": {
  5011. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5012. }
  5013. }
  5014. },
  5015. "500": {
  5016. "description": "Internal Server Error",
  5017. "schema": {
  5018. "$ref": "#/definitions/app.Response"
  5019. }
  5020. }
  5021. }
  5022. }
  5023. },
  5024. "/Ermcp3/QueryRootUserAccount": {
  5025. "get": {
  5026. "security": [
  5027. {
  5028. "ApiKeyAuth": []
  5029. }
  5030. ],
  5031. "produces": [
  5032. "application/json"
  5033. ],
  5034. "tags": [
  5035. "企业风险管理v3(app)"
  5036. ],
  5037. "summary": "查询顶级用户信息",
  5038. "parameters": [
  5039. {
  5040. "type": "integer",
  5041. "description": "用户ID",
  5042. "name": "userid",
  5043. "in": "query",
  5044. "required": true
  5045. }
  5046. ],
  5047. "responses": {
  5048. "200": {
  5049. "description": "OK",
  5050. "schema": {
  5051. "type": "array",
  5052. "items": {
  5053. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5054. }
  5055. }
  5056. },
  5057. "500": {
  5058. "description": "Internal Server Error",
  5059. "schema": {
  5060. "$ref": "#/definitions/app.Response"
  5061. }
  5062. }
  5063. }
  5064. }
  5065. },
  5066. "/Ermcp3/QuerySCMiddleGoods": {
  5067. "get": {
  5068. "security": [
  5069. {
  5070. "ApiKeyAuth": []
  5071. }
  5072. ],
  5073. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5074. "produces": [
  5075. "application/json"
  5076. ],
  5077. "tags": [
  5078. "企业风险管理v3(app)"
  5079. ],
  5080. "summary": "查询现货订单",
  5081. "parameters": [
  5082. {
  5083. "type": "integer",
  5084. "description": "用户ID(填登录用户的userid)",
  5085. "name": "userid",
  5086. "in": "query",
  5087. "required": true
  5088. },
  5089. {
  5090. "type": "integer",
  5091. "description": "买卖方向 0-买 1-卖",
  5092. "name": "buyorsell",
  5093. "in": "query",
  5094. "required": true
  5095. },
  5096. {
  5097. "type": "integer",
  5098. "description": "商品组id",
  5099. "name": "goodsgroupid",
  5100. "in": "query",
  5101. "required": true
  5102. },
  5103. {
  5104. "type": "integer",
  5105. "description": "业务类型 1:套保 2:套利",
  5106. "name": "biztype",
  5107. "in": "query"
  5108. },
  5109. {
  5110. "type": "string",
  5111. "description": "现货编号(模糊匹配)",
  5112. "name": "contractno",
  5113. "in": "query"
  5114. },
  5115. {
  5116. "type": "string",
  5117. "description": "对手方(模糊匹配)",
  5118. "name": "customername",
  5119. "in": "query"
  5120. },
  5121. {
  5122. "type": "string",
  5123. "description": "现货商品名称(模糊匹配)",
  5124. "name": "wrstandardname",
  5125. "in": "query"
  5126. }
  5127. ],
  5128. "responses": {
  5129. "200": {
  5130. "description": "OK",
  5131. "schema": {
  5132. "type": "array",
  5133. "items": {
  5134. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5135. }
  5136. }
  5137. },
  5138. "500": {
  5139. "description": "Internal Server Error",
  5140. "schema": {
  5141. "$ref": "#/definitions/app.Response"
  5142. }
  5143. }
  5144. }
  5145. }
  5146. },
  5147. "/Ermcp3/QuerySpotContract": {
  5148. "get": {
  5149. "security": [
  5150. {
  5151. "ApiKeyAuth": []
  5152. }
  5153. ],
  5154. "produces": [
  5155. "application/json"
  5156. ],
  5157. "tags": [
  5158. "企业风险管理v3(app)"
  5159. ],
  5160. "summary": "查询现货合同",
  5161. "parameters": [
  5162. {
  5163. "type": "integer",
  5164. "description": "用户id(当指定contractid, userid可不填)",
  5165. "name": "userid",
  5166. "in": "query",
  5167. "required": true
  5168. },
  5169. {
  5170. "type": "integer",
  5171. "description": "用户类型 2-机构 7-企业成员",
  5172. "name": "usertype",
  5173. "in": "query"
  5174. },
  5175. {
  5176. "type": "integer",
  5177. "description": "合同类型 1-采购, -1-销售",
  5178. "name": "contracttype",
  5179. "in": "query"
  5180. },
  5181. {
  5182. "type": "string",
  5183. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5184. "name": "querytype",
  5185. "in": "query"
  5186. },
  5187. {
  5188. "type": "string",
  5189. "description": "合同ID(SpotContractId)",
  5190. "name": "contractid",
  5191. "in": "query"
  5192. },
  5193. {
  5194. "type": "string",
  5195. "description": "合同编号(模糊匹配)",
  5196. "name": "contractno",
  5197. "in": "query"
  5198. },
  5199. {
  5200. "type": "string",
  5201. "description": "商品名称(模糊匹配)",
  5202. "name": "wrstandardname",
  5203. "in": "query"
  5204. },
  5205. {
  5206. "type": "string",
  5207. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5208. "name": "status",
  5209. "in": "query"
  5210. },
  5211. {
  5212. "type": "integer",
  5213. "description": "是否只查今日的合同 1-查今日合同",
  5214. "name": "istoday",
  5215. "in": "query"
  5216. }
  5217. ],
  5218. "responses": {
  5219. "200": {
  5220. "description": "OK",
  5221. "schema": {
  5222. "type": "array",
  5223. "items": {
  5224. "$ref": "#/definitions/models.Ermcp3Contract"
  5225. }
  5226. }
  5227. },
  5228. "500": {
  5229. "description": "Internal Server Error",
  5230. "schema": {
  5231. "$ref": "#/definitions/app.Response"
  5232. }
  5233. }
  5234. }
  5235. }
  5236. },
  5237. "/Ermcp3/QuerySpotContractBS": {
  5238. "get": {
  5239. "security": [
  5240. {
  5241. "ApiKeyAuth": []
  5242. }
  5243. ],
  5244. "produces": [
  5245. "application/json"
  5246. ],
  5247. "tags": [
  5248. "企业风险管理v3(app)"
  5249. ],
  5250. "summary": "查询合同(采购/销售)",
  5251. "parameters": [
  5252. {
  5253. "type": "integer",
  5254. "description": "用户id",
  5255. "name": "userid",
  5256. "in": "query",
  5257. "required": true
  5258. },
  5259. {
  5260. "type": "integer",
  5261. "description": "用户类型 2-机构 7-企业成员",
  5262. "name": "usertype",
  5263. "in": "query"
  5264. },
  5265. {
  5266. "type": "integer",
  5267. "description": "合同类型 1-采购, -1-销售",
  5268. "name": "contracttype",
  5269. "in": "query",
  5270. "required": true
  5271. },
  5272. {
  5273. "type": "integer",
  5274. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5275. "name": "querytype",
  5276. "in": "query"
  5277. },
  5278. {
  5279. "type": "string",
  5280. "description": "合同ID(SpotContractId)",
  5281. "name": "contractid",
  5282. "in": "query"
  5283. },
  5284. {
  5285. "type": "string",
  5286. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5287. "name": "status",
  5288. "in": "query"
  5289. },
  5290. {
  5291. "type": "integer",
  5292. "description": "是否只查今日的合同 1-查今日合同",
  5293. "name": "istoday",
  5294. "in": "query"
  5295. }
  5296. ],
  5297. "responses": {
  5298. "200": {
  5299. "description": "OK",
  5300. "schema": {
  5301. "type": "array",
  5302. "items": {
  5303. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5304. }
  5305. }
  5306. },
  5307. "500": {
  5308. "description": "Internal Server Error",
  5309. "schema": {
  5310. "$ref": "#/definitions/app.Response"
  5311. }
  5312. }
  5313. }
  5314. }
  5315. },
  5316. "/Ermcp3/QuerySpotGoodsPrice": {
  5317. "get": {
  5318. "security": [
  5319. {
  5320. "ApiKeyAuth": []
  5321. }
  5322. ],
  5323. "produces": [
  5324. "application/json"
  5325. ],
  5326. "tags": [
  5327. "企业风险管理v3(app)"
  5328. ],
  5329. "summary": "查询现货市价(现货市价)",
  5330. "parameters": [
  5331. {
  5332. "type": "integer",
  5333. "description": "用户ID",
  5334. "name": "userid",
  5335. "in": "query",
  5336. "required": true
  5337. }
  5338. ],
  5339. "responses": {
  5340. "200": {
  5341. "description": "OK",
  5342. "schema": {
  5343. "type": "array",
  5344. "items": {
  5345. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5346. }
  5347. }
  5348. },
  5349. "500": {
  5350. "description": "Internal Server Error",
  5351. "schema": {
  5352. "$ref": "#/definitions/app.Response"
  5353. }
  5354. }
  5355. }
  5356. }
  5357. },
  5358. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5359. "get": {
  5360. "security": [
  5361. {
  5362. "ApiKeyAuth": []
  5363. }
  5364. ],
  5365. "produces": [
  5366. "application/json"
  5367. ],
  5368. "tags": [
  5369. "企业风险管理v3(app)"
  5370. ],
  5371. "summary": "查询现货市价详情(现货市价/详情)",
  5372. "parameters": [
  5373. {
  5374. "type": "integer",
  5375. "description": "用户ID",
  5376. "name": "userid",
  5377. "in": "query",
  5378. "required": true
  5379. },
  5380. {
  5381. "type": "integer",
  5382. "description": "现货商品ID",
  5383. "name": "deliverygoodsid",
  5384. "in": "query",
  5385. "required": true
  5386. },
  5387. {
  5388. "type": "integer",
  5389. "description": "品牌ID",
  5390. "name": "brandid",
  5391. "in": "query"
  5392. },
  5393. {
  5394. "type": "integer",
  5395. "description": "品类ID",
  5396. "name": "wrstandardid",
  5397. "in": "query"
  5398. }
  5399. ],
  5400. "responses": {
  5401. "200": {
  5402. "description": "OK",
  5403. "schema": {
  5404. "type": "array",
  5405. "items": {
  5406. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5407. }
  5408. }
  5409. },
  5410. "500": {
  5411. "description": "Internal Server Error",
  5412. "schema": {
  5413. "$ref": "#/definitions/app.Response"
  5414. }
  5415. }
  5416. }
  5417. }
  5418. },
  5419. "/Ermcp3/QuerySubTaaccount": {
  5420. "get": {
  5421. "security": [
  5422. {
  5423. "ApiKeyAuth": []
  5424. }
  5425. ],
  5426. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5427. "produces": [
  5428. "application/json"
  5429. ],
  5430. "tags": [
  5431. "企业风险管理v3(app)"
  5432. ],
  5433. "summary": "查询期货子账户",
  5434. "parameters": [
  5435. {
  5436. "type": "integer",
  5437. "description": "母账号id",
  5438. "name": "parentaccountid",
  5439. "in": "query"
  5440. },
  5441. {
  5442. "type": "string",
  5443. "description": "母账号代码",
  5444. "name": "parentaccountcode",
  5445. "in": "query"
  5446. }
  5447. ],
  5448. "responses": {
  5449. "200": {
  5450. "description": "OK",
  5451. "schema": {
  5452. "type": "array",
  5453. "items": {
  5454. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5455. }
  5456. }
  5457. },
  5458. "500": {
  5459. "description": "Internal Server Error",
  5460. "schema": {
  5461. "$ref": "#/definitions/app.Response"
  5462. }
  5463. }
  5464. }
  5465. }
  5466. },
  5467. "/Erms2/QueryArbitrageStrategy": {
  5468. "get": {
  5469. "security": [
  5470. {
  5471. "ApiKeyAuth": []
  5472. }
  5473. ],
  5474. "produces": [
  5475. "application/json"
  5476. ],
  5477. "tags": [
  5478. "风险管理"
  5479. ],
  5480. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5481. "parameters": [
  5482. {
  5483. "type": "integer",
  5484. "description": "账户ID",
  5485. "name": "userid",
  5486. "in": "query",
  5487. "required": true
  5488. },
  5489. {
  5490. "type": "string",
  5491. "description": "商品组ID(品种ID)",
  5492. "name": "goodsgroupid",
  5493. "in": "query"
  5494. }
  5495. ],
  5496. "responses": {
  5497. "200": {
  5498. "description": "OK",
  5499. "schema": {
  5500. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5501. }
  5502. },
  5503. "500": {
  5504. "description": "Internal Server Error",
  5505. "schema": {
  5506. "$ref": "#/definitions/app.Response"
  5507. }
  5508. }
  5509. }
  5510. }
  5511. },
  5512. "/Erms2/QueryInnerTradeDetail": {
  5513. "get": {
  5514. "security": [
  5515. {
  5516. "ApiKeyAuth": []
  5517. }
  5518. ],
  5519. "produces": [
  5520. "application/json"
  5521. ],
  5522. "tags": [
  5523. "风险管理"
  5524. ],
  5525. "summary": "查询内部成交单信息",
  5526. "parameters": [
  5527. {
  5528. "type": "integer",
  5529. "description": "资金账户",
  5530. "name": "accountid",
  5531. "in": "query",
  5532. "required": true
  5533. }
  5534. ],
  5535. "responses": {
  5536. "200": {
  5537. "description": "OK",
  5538. "schema": {
  5539. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5540. }
  5541. },
  5542. "500": {
  5543. "description": "Internal Server Error",
  5544. "schema": {
  5545. "$ref": "#/definitions/app.Response"
  5546. }
  5547. }
  5548. }
  5549. }
  5550. },
  5551. "/Erms2/QuerySpotContract": {
  5552. "get": {
  5553. "security": [
  5554. {
  5555. "ApiKeyAuth": []
  5556. }
  5557. ],
  5558. "produces": [
  5559. "application/json"
  5560. ],
  5561. "tags": [
  5562. "风险管理"
  5563. ],
  5564. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5565. "parameters": [
  5566. {
  5567. "type": "integer",
  5568. "description": "策略申请ID",
  5569. "name": "asapplyid",
  5570. "in": "query",
  5571. "required": true
  5572. },
  5573. {
  5574. "type": "integer",
  5575. "description": "现货合同ID",
  5576. "name": "spotcontractid",
  5577. "in": "query"
  5578. }
  5579. ],
  5580. "responses": {
  5581. "200": {
  5582. "description": "OK",
  5583. "schema": {
  5584. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5585. }
  5586. },
  5587. "500": {
  5588. "description": "Internal Server Error",
  5589. "schema": {
  5590. "$ref": "#/definitions/app.Response"
  5591. }
  5592. }
  5593. }
  5594. }
  5595. },
  5596. "/Erms3/AddErms2ASApply": {
  5597. "post": {
  5598. "security": [
  5599. {
  5600. "ApiKeyAuth": []
  5601. }
  5602. ],
  5603. "produces": [
  5604. "application/json"
  5605. ],
  5606. "tags": [
  5607. "风险管理v3"
  5608. ],
  5609. "summary": "新增期现套利业务申请",
  5610. "parameters": [
  5611. {
  5612. "description": "申请参数",
  5613. "name": "jsonBody",
  5614. "in": "body",
  5615. "required": true,
  5616. "schema": {
  5617. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5618. }
  5619. }
  5620. ],
  5621. "responses": {
  5622. "200": {
  5623. "description": "OK",
  5624. "schema": {
  5625. "$ref": "#/definitions/app.Response"
  5626. }
  5627. },
  5628. "500": {
  5629. "description": "Internal Server Error",
  5630. "schema": {
  5631. "$ref": "#/definitions/app.Response"
  5632. }
  5633. }
  5634. }
  5635. }
  5636. },
  5637. "/Erms3/AddErms2SpotTradeApply": {
  5638. "post": {
  5639. "security": [
  5640. {
  5641. "ApiKeyAuth": []
  5642. }
  5643. ],
  5644. "produces": [
  5645. "application/json"
  5646. ],
  5647. "tags": [
  5648. "风险管理v3"
  5649. ],
  5650. "summary": "新增现货贸易业务申请",
  5651. "parameters": [
  5652. {
  5653. "description": "申请参数",
  5654. "name": "jsonBody",
  5655. "in": "body",
  5656. "required": true,
  5657. "schema": {
  5658. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5659. }
  5660. }
  5661. ],
  5662. "responses": {
  5663. "200": {
  5664. "description": "OK",
  5665. "schema": {
  5666. "$ref": "#/definitions/app.Response"
  5667. }
  5668. },
  5669. "500": {
  5670. "description": "Internal Server Error",
  5671. "schema": {
  5672. "$ref": "#/definitions/app.Response"
  5673. }
  5674. }
  5675. }
  5676. }
  5677. },
  5678. "/Erms3/AddSpotContractApply": {
  5679. "post": {
  5680. "security": [
  5681. {
  5682. "ApiKeyAuth": []
  5683. }
  5684. ],
  5685. "produces": [
  5686. "application/json"
  5687. ],
  5688. "tags": [
  5689. "风险管理v3"
  5690. ],
  5691. "summary": "新增现货合同申请",
  5692. "parameters": [
  5693. {
  5694. "description": "申请参数",
  5695. "name": "jsonBody",
  5696. "in": "body",
  5697. "required": true,
  5698. "schema": {
  5699. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5700. }
  5701. }
  5702. ],
  5703. "responses": {
  5704. "200": {
  5705. "description": "OK",
  5706. "schema": {
  5707. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5708. }
  5709. },
  5710. "500": {
  5711. "description": "Internal Server Error",
  5712. "schema": {
  5713. "$ref": "#/definitions/app.Response"
  5714. }
  5715. }
  5716. }
  5717. }
  5718. },
  5719. "/Erms3/AddUserInfoApply": {
  5720. "post": {
  5721. "security": [
  5722. {
  5723. "ApiKeyAuth": []
  5724. }
  5725. ],
  5726. "produces": [
  5727. "application/json"
  5728. ],
  5729. "tags": [
  5730. "风险管理v3"
  5731. ],
  5732. "summary": "新增客户申请",
  5733. "parameters": [
  5734. {
  5735. "description": "用户信息",
  5736. "name": "jsonBody",
  5737. "in": "body",
  5738. "required": true,
  5739. "schema": {
  5740. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5741. }
  5742. }
  5743. ],
  5744. "responses": {
  5745. "200": {
  5746. "description": "OK",
  5747. "schema": {
  5748. "$ref": "#/definitions/app.Response"
  5749. }
  5750. },
  5751. "500": {
  5752. "description": "Internal Server Error",
  5753. "schema": {
  5754. "$ref": "#/definitions/app.Response"
  5755. }
  5756. }
  5757. }
  5758. }
  5759. },
  5760. "/Erms3/DeleteUserInfoApply": {
  5761. "get": {
  5762. "security": [
  5763. {
  5764. "ApiKeyAuth": []
  5765. }
  5766. ],
  5767. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5768. "produces": [
  5769. "application/json"
  5770. ],
  5771. "tags": [
  5772. "风险管理v3"
  5773. ],
  5774. "summary": "删除客户申请",
  5775. "parameters": [
  5776. {
  5777. "type": "integer",
  5778. "description": "用户ID",
  5779. "name": "userID",
  5780. "in": "query",
  5781. "required": true
  5782. }
  5783. ],
  5784. "responses": {
  5785. "200": {
  5786. "description": "OK",
  5787. "schema": {
  5788. "$ref": "#/definitions/app.Response"
  5789. }
  5790. },
  5791. "500": {
  5792. "description": "Internal Server Error",
  5793. "schema": {
  5794. "$ref": "#/definitions/app.Response"
  5795. }
  5796. }
  5797. }
  5798. }
  5799. },
  5800. "/Erms3/ModifyUserInfoApply": {
  5801. "post": {
  5802. "security": [
  5803. {
  5804. "ApiKeyAuth": []
  5805. }
  5806. ],
  5807. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5808. "produces": [
  5809. "application/json"
  5810. ],
  5811. "tags": [
  5812. "风险管理v3"
  5813. ],
  5814. "summary": "修改客户申请",
  5815. "parameters": [
  5816. {
  5817. "description": "用户信息",
  5818. "name": "jsonBody",
  5819. "in": "body",
  5820. "required": true,
  5821. "schema": {
  5822. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5823. }
  5824. }
  5825. ],
  5826. "responses": {
  5827. "200": {
  5828. "description": "OK",
  5829. "schema": {
  5830. "$ref": "#/definitions/app.Response"
  5831. }
  5832. },
  5833. "500": {
  5834. "description": "Internal Server Error",
  5835. "schema": {
  5836. "$ref": "#/definitions/app.Response"
  5837. }
  5838. }
  5839. }
  5840. }
  5841. },
  5842. "/Erms3/QueryBusinessInfo": {
  5843. "get": {
  5844. "security": [
  5845. {
  5846. "ApiKeyAuth": []
  5847. }
  5848. ],
  5849. "produces": [
  5850. "application/json"
  5851. ],
  5852. "tags": [
  5853. "风险管理v3"
  5854. ],
  5855. "summary": "查询业务表单数据",
  5856. "parameters": [
  5857. {
  5858. "type": "string",
  5859. "description": "资金账号ID列表,用逗号分隔",
  5860. "name": "accountids",
  5861. "in": "query",
  5862. "required": true
  5863. },
  5864. {
  5865. "type": "integer",
  5866. "description": "状态,0为未结束 1为已结束",
  5867. "name": "status",
  5868. "in": "query",
  5869. "required": true
  5870. }
  5871. ],
  5872. "responses": {
  5873. "200": {
  5874. "description": "OK",
  5875. "schema": {
  5876. "type": "array",
  5877. "items": {
  5878. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5879. }
  5880. }
  5881. },
  5882. "500": {
  5883. "description": "Internal Server Error",
  5884. "schema": {
  5885. "$ref": "#/definitions/app.Response"
  5886. }
  5887. }
  5888. }
  5889. }
  5890. },
  5891. "/Erms3/QueryPendingAuditContract": {
  5892. "get": {
  5893. "security": [
  5894. {
  5895. "ApiKeyAuth": []
  5896. }
  5897. ],
  5898. "produces": [
  5899. "application/json"
  5900. ],
  5901. "tags": [
  5902. "风险管理v3"
  5903. ],
  5904. "summary": "查询待审核合同",
  5905. "parameters": [
  5906. {
  5907. "type": "string",
  5908. "description": "资金账号ID列表,逗号隔开",
  5909. "name": "accountids",
  5910. "in": "query",
  5911. "required": true
  5912. },
  5913. {
  5914. "type": "integer",
  5915. "description": "合同类型 1-采购 -1-销售",
  5916. "name": "contracttype",
  5917. "in": "query",
  5918. "required": true
  5919. },
  5920. {
  5921. "type": "integer",
  5922. "description": "合同模式 1-普通 2-回购",
  5923. "name": "contractmode",
  5924. "in": "query",
  5925. "required": true
  5926. }
  5927. ],
  5928. "responses": {
  5929. "200": {
  5930. "description": "OK",
  5931. "schema": {
  5932. "type": "array",
  5933. "items": {
  5934. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5935. }
  5936. }
  5937. },
  5938. "500": {
  5939. "description": "Internal Server Error",
  5940. "schema": {
  5941. "$ref": "#/definitions/app.Response"
  5942. }
  5943. }
  5944. }
  5945. }
  5946. },
  5947. "/Erms3/QueryPendingBusiness": {
  5948. "get": {
  5949. "security": [
  5950. {
  5951. "ApiKeyAuth": []
  5952. }
  5953. ],
  5954. "produces": [
  5955. "application/json"
  5956. ],
  5957. "tags": [
  5958. "风险管理v3"
  5959. ],
  5960. "summary": "查询待审核基差贸易业务",
  5961. "parameters": [
  5962. {
  5963. "type": "string",
  5964. "description": "资金账号ID列表,逗号隔开",
  5965. "name": "accountids",
  5966. "in": "query",
  5967. "required": true
  5968. }
  5969. ],
  5970. "responses": {
  5971. "200": {
  5972. "description": "OK",
  5973. "schema": {
  5974. "type": "array",
  5975. "items": {
  5976. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5977. }
  5978. }
  5979. },
  5980. "500": {
  5981. "description": "Internal Server Error",
  5982. "schema": {
  5983. "$ref": "#/definitions/app.Response"
  5984. }
  5985. }
  5986. }
  5987. }
  5988. },
  5989. "/Erms3/QuerySpotContractAppleForm": {
  5990. "get": {
  5991. "security": [
  5992. {
  5993. "ApiKeyAuth": []
  5994. }
  5995. ],
  5996. "produces": [
  5997. "application/json"
  5998. ],
  5999. "tags": [
  6000. "风险管理v3"
  6001. ],
  6002. "summary": "查询合同申请表单数据",
  6003. "parameters": [
  6004. {
  6005. "type": "integer",
  6006. "description": "登录账号",
  6007. "name": "loginID",
  6008. "in": "query",
  6009. "required": true
  6010. }
  6011. ],
  6012. "responses": {
  6013. "200": {
  6014. "description": "OK",
  6015. "schema": {
  6016. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  6017. }
  6018. },
  6019. "500": {
  6020. "description": "Internal Server Error",
  6021. "schema": {
  6022. "$ref": "#/definitions/app.Response"
  6023. }
  6024. }
  6025. }
  6026. }
  6027. },
  6028. "/Erms3/QuerySpotContractDetail": {
  6029. "get": {
  6030. "security": [
  6031. {
  6032. "ApiKeyAuth": []
  6033. }
  6034. ],
  6035. "produces": [
  6036. "application/json"
  6037. ],
  6038. "tags": [
  6039. "风险管理v3"
  6040. ],
  6041. "summary": "查询合同详细信息",
  6042. "parameters": [
  6043. {
  6044. "type": "string",
  6045. "description": "资金账号ID列表,用逗号分隔",
  6046. "name": "accountids",
  6047. "in": "query",
  6048. "required": true
  6049. },
  6050. {
  6051. "type": "integer",
  6052. "description": "合同类型,1为采购合同 -1为销售合同",
  6053. "name": "contracttype",
  6054. "in": "query",
  6055. "required": true
  6056. },
  6057. {
  6058. "type": "integer",
  6059. "description": "合同模式,1为普通合同 2为回购销售合同",
  6060. "name": "contractmode",
  6061. "in": "query",
  6062. "required": true
  6063. },
  6064. {
  6065. "type": "integer",
  6066. "description": "状态,0为履约中 1为已完成",
  6067. "name": "status",
  6068. "in": "query",
  6069. "required": true
  6070. }
  6071. ],
  6072. "responses": {
  6073. "200": {
  6074. "description": "OK",
  6075. "schema": {
  6076. "type": "array",
  6077. "items": {
  6078. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6079. }
  6080. }
  6081. },
  6082. "500": {
  6083. "description": "Internal Server Error",
  6084. "schema": {
  6085. "$ref": "#/definitions/app.Response"
  6086. }
  6087. }
  6088. }
  6089. }
  6090. },
  6091. "/Erms3/QueryUserInfoApplies": {
  6092. "get": {
  6093. "security": [
  6094. {
  6095. "ApiKeyAuth": []
  6096. }
  6097. ],
  6098. "produces": [
  6099. "application/json"
  6100. ],
  6101. "tags": [
  6102. "风险管理v3"
  6103. ],
  6104. "summary": "客户申请信息查询",
  6105. "parameters": [
  6106. {
  6107. "type": "integer",
  6108. "description": "页码",
  6109. "name": "page",
  6110. "in": "query"
  6111. },
  6112. {
  6113. "type": "integer",
  6114. "description": "每页条数",
  6115. "name": "pagesize",
  6116. "in": "query"
  6117. },
  6118. {
  6119. "type": "string",
  6120. "description": "客户名称,支持模糊查询",
  6121. "name": "userName",
  6122. "in": "query"
  6123. }
  6124. ],
  6125. "responses": {
  6126. "200": {
  6127. "description": "OK",
  6128. "schema": {
  6129. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6130. }
  6131. },
  6132. "500": {
  6133. "description": "Internal Server Error",
  6134. "schema": {
  6135. "$ref": "#/definitions/app.Response"
  6136. }
  6137. }
  6138. }
  6139. }
  6140. },
  6141. "/Erms3/QueryUserInfos": {
  6142. "get": {
  6143. "security": [
  6144. {
  6145. "ApiKeyAuth": []
  6146. }
  6147. ],
  6148. "produces": [
  6149. "application/json"
  6150. ],
  6151. "tags": [
  6152. "风险管理v3"
  6153. ],
  6154. "summary": "客户信息查询",
  6155. "parameters": [
  6156. {
  6157. "type": "integer",
  6158. "description": "页码",
  6159. "name": "page",
  6160. "in": "query"
  6161. },
  6162. {
  6163. "type": "integer",
  6164. "description": "每页条数",
  6165. "name": "pagesize",
  6166. "in": "query"
  6167. },
  6168. {
  6169. "type": "string",
  6170. "description": "客户名称,支持模糊查询",
  6171. "name": "userName",
  6172. "in": "query"
  6173. }
  6174. ],
  6175. "responses": {
  6176. "200": {
  6177. "description": "OK",
  6178. "schema": {
  6179. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6180. }
  6181. },
  6182. "500": {
  6183. "description": "Internal Server Error",
  6184. "schema": {
  6185. "$ref": "#/definitions/app.Response"
  6186. }
  6187. }
  6188. }
  6189. }
  6190. },
  6191. "/HSBY/GetHsbyMyCount": {
  6192. "get": {
  6193. "security": [
  6194. {
  6195. "ApiKeyAuth": []
  6196. }
  6197. ],
  6198. "description": "说明: 不包括已完成的数量。",
  6199. "produces": [
  6200. "application/json"
  6201. ],
  6202. "tags": [
  6203. "定制【海商报业】"
  6204. ],
  6205. "summary": "获取我的订单与包裹数量",
  6206. "parameters": [
  6207. {
  6208. "type": "string",
  6209. "description": "资金账户列表,格式:1,2,3",
  6210. "name": "accountIDs",
  6211. "in": "query",
  6212. "required": true
  6213. }
  6214. ],
  6215. "responses": {
  6216. "200": {
  6217. "description": "OK",
  6218. "schema": {
  6219. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6220. }
  6221. },
  6222. "500": {
  6223. "description": "Internal Server Error",
  6224. "schema": {
  6225. "$ref": "#/definitions/app.Response"
  6226. }
  6227. }
  6228. }
  6229. }
  6230. },
  6231. "/HSBY/QueryClientFixedADConfigs": {
  6232. "get": {
  6233. "security": [
  6234. {
  6235. "ApiKeyAuth": []
  6236. }
  6237. ],
  6238. "produces": [
  6239. "application/json"
  6240. ],
  6241. "tags": [
  6242. "定制【海商报业】"
  6243. ],
  6244. "summary": "获取终端固定广告配置",
  6245. "responses": {
  6246. "200": {
  6247. "description": "OK",
  6248. "schema": {
  6249. "$ref": "#/definitions/models.Clientfixedadconfig"
  6250. }
  6251. },
  6252. "500": {
  6253. "description": "Internal Server Error",
  6254. "schema": {
  6255. "$ref": "#/definitions/app.Response"
  6256. }
  6257. }
  6258. }
  6259. }
  6260. },
  6261. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6262. "get": {
  6263. "security": [
  6264. {
  6265. "ApiKeyAuth": []
  6266. }
  6267. ],
  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": "资金账户列表,格式:1,2,3",
  6291. "name": "accountIDs",
  6292. "in": "query",
  6293. "required": true
  6294. }
  6295. ],
  6296. "responses": {
  6297. "200": {
  6298. "description": "OK",
  6299. "schema": {
  6300. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6301. }
  6302. },
  6303. "500": {
  6304. "description": "Internal Server Error",
  6305. "schema": {
  6306. "$ref": "#/definitions/app.Response"
  6307. }
  6308. }
  6309. }
  6310. }
  6311. },
  6312. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6313. "get": {
  6314. "security": [
  6315. {
  6316. "ApiKeyAuth": []
  6317. }
  6318. ],
  6319. "description": "说明:查询结果已按委托价格和委托时间排序",
  6320. "produces": [
  6321. "application/json"
  6322. ],
  6323. "tags": [
  6324. "定制【海商报业】"
  6325. ],
  6326. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6327. "parameters": [
  6328. {
  6329. "type": "integer",
  6330. "description": "商品ID",
  6331. "name": "goodsID",
  6332. "in": "query",
  6333. "required": true
  6334. },
  6335. {
  6336. "type": "string",
  6337. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6338. "name": "accountIDs",
  6339. "in": "query"
  6340. },
  6341. {
  6342. "type": "integer",
  6343. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6344. "name": "buyOrSell",
  6345. "in": "query"
  6346. },
  6347. {
  6348. "type": "number",
  6349. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6350. "name": "price",
  6351. "in": "query"
  6352. },
  6353. {
  6354. "type": "integer",
  6355. "description": "档位,不传则默认为3档",
  6356. "name": "speed",
  6357. "in": "query"
  6358. }
  6359. ],
  6360. "responses": {
  6361. "200": {
  6362. "description": "OK",
  6363. "schema": {
  6364. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6365. }
  6366. },
  6367. "500": {
  6368. "description": "Internal Server Error",
  6369. "schema": {
  6370. "$ref": "#/definitions/app.Response"
  6371. }
  6372. }
  6373. }
  6374. }
  6375. },
  6376. "/HSBY/QueryHsbyListingGoodsDetail": {
  6377. "get": {
  6378. "security": [
  6379. {
  6380. "ApiKeyAuth": []
  6381. }
  6382. ],
  6383. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6384. "produces": [
  6385. "application/json"
  6386. ],
  6387. "tags": [
  6388. "定制【海商报业】"
  6389. ],
  6390. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6391. "parameters": [
  6392. {
  6393. "type": "integer",
  6394. "description": "商品ID",
  6395. "name": "goodsID",
  6396. "in": "query",
  6397. "required": true
  6398. },
  6399. {
  6400. "type": "integer",
  6401. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6402. "name": "accountID",
  6403. "in": "query"
  6404. }
  6405. ],
  6406. "responses": {
  6407. "200": {
  6408. "description": "OK",
  6409. "schema": {
  6410. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6411. }
  6412. },
  6413. "500": {
  6414. "description": "Internal Server Error",
  6415. "schema": {
  6416. "$ref": "#/definitions/app.Response"
  6417. }
  6418. }
  6419. }
  6420. }
  6421. },
  6422. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6423. "get": {
  6424. "security": [
  6425. {
  6426. "ApiKeyAuth": []
  6427. }
  6428. ],
  6429. "produces": [
  6430. "application/json"
  6431. ],
  6432. "tags": [
  6433. "定制【海商报业】"
  6434. ],
  6435. "summary": "查询三级市场(商城)商品信息详情",
  6436. "parameters": [
  6437. {
  6438. "type": "integer",
  6439. "description": "委托单号",
  6440. "name": "orderID",
  6441. "in": "query",
  6442. "required": true
  6443. },
  6444. {
  6445. "type": "integer",
  6446. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6447. "name": "accountID",
  6448. "in": "query"
  6449. }
  6450. ],
  6451. "responses": {
  6452. "200": {
  6453. "description": "OK",
  6454. "schema": {
  6455. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6456. }
  6457. },
  6458. "500": {
  6459. "description": "Internal Server Error",
  6460. "schema": {
  6461. "$ref": "#/definitions/app.Response"
  6462. }
  6463. }
  6464. }
  6465. }
  6466. },
  6467. "/HSBY/QueryHsbyMarketGoodses": {
  6468. "get": {
  6469. "security": [
  6470. {
  6471. "ApiKeyAuth": []
  6472. }
  6473. ],
  6474. "produces": [
  6475. "application/json"
  6476. ],
  6477. "tags": [
  6478. "定制【海商报业】"
  6479. ],
  6480. "summary": "查询特卖商品列表(三级商城)",
  6481. "parameters": [
  6482. {
  6483. "type": "integer",
  6484. "description": "页码",
  6485. "name": "page",
  6486. "in": "query"
  6487. },
  6488. {
  6489. "type": "integer",
  6490. "description": "每页条数",
  6491. "name": "pagesize",
  6492. "in": "query"
  6493. },
  6494. {
  6495. "type": "string",
  6496. "description": "市场ID列表,格式:1,2,3",
  6497. "name": "marketIDs",
  6498. "in": "query",
  6499. "required": true
  6500. },
  6501. {
  6502. "type": "integer",
  6503. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6504. "name": "accountID",
  6505. "in": "query",
  6506. "required": true
  6507. },
  6508. {
  6509. "type": "integer",
  6510. "description": "类别ID",
  6511. "name": "categoryID",
  6512. "in": "query"
  6513. },
  6514. {
  6515. "type": "string",
  6516. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6517. "name": "goodsIDs",
  6518. "in": "query"
  6519. },
  6520. {
  6521. "type": "integer",
  6522. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6523. "name": "couponTypeID",
  6524. "in": "query"
  6525. }
  6526. ],
  6527. "responses": {
  6528. "200": {
  6529. "description": "OK",
  6530. "schema": {
  6531. "$ref": "#/definitions/models.HsbyMarketGoods"
  6532. }
  6533. },
  6534. "500": {
  6535. "description": "Internal Server Error",
  6536. "schema": {
  6537. "$ref": "#/definitions/app.Response"
  6538. }
  6539. }
  6540. }
  6541. }
  6542. },
  6543. "/HSBY/QueryHsbyMarkets": {
  6544. "get": {
  6545. "security": [
  6546. {
  6547. "ApiKeyAuth": []
  6548. }
  6549. ],
  6550. "produces": [
  6551. "application/json"
  6552. ],
  6553. "tags": [
  6554. "定制【海商报业】"
  6555. ],
  6556. "summary": "查询海商报业相关市场信息",
  6557. "responses": {
  6558. "200": {
  6559. "description": "OK",
  6560. "schema": {
  6561. "$ref": "#/definitions/models.HsbyMarketInfo"
  6562. }
  6563. },
  6564. "500": {
  6565. "description": "Internal Server Error",
  6566. "schema": {
  6567. "$ref": "#/definitions/app.Response"
  6568. }
  6569. }
  6570. }
  6571. }
  6572. },
  6573. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6574. "get": {
  6575. "security": [
  6576. {
  6577. "ApiKeyAuth": []
  6578. }
  6579. ],
  6580. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6581. "produces": [
  6582. "application/json"
  6583. ],
  6584. "tags": [
  6585. "定制【海商报业】"
  6586. ],
  6587. "summary": "查询“我的订单”信息",
  6588. "parameters": [
  6589. {
  6590. "type": "string",
  6591. "description": "资金账户列表,格式:1,2,3",
  6592. "name": "accountIDs",
  6593. "in": "query",
  6594. "required": true
  6595. }
  6596. ],
  6597. "responses": {
  6598. "200": {
  6599. "description": "OK",
  6600. "schema": {
  6601. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6602. }
  6603. },
  6604. "500": {
  6605. "description": "Internal Server Error",
  6606. "schema": {
  6607. "$ref": "#/definitions/app.Response"
  6608. }
  6609. }
  6610. }
  6611. }
  6612. },
  6613. "/HSBY/QueryHsbyMyGoods": {
  6614. "get": {
  6615. "security": [
  6616. {
  6617. "ApiKeyAuth": []
  6618. }
  6619. ],
  6620. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6621. "produces": [
  6622. "application/json"
  6623. ],
  6624. "tags": [
  6625. "定制【海商报业】"
  6626. ],
  6627. "summary": "查询“我的商品”信息",
  6628. "parameters": [
  6629. {
  6630. "type": "string",
  6631. "description": "资金账户列表,格式:1,2,3",
  6632. "name": "accountIDs",
  6633. "in": "query",
  6634. "required": true
  6635. }
  6636. ],
  6637. "responses": {
  6638. "200": {
  6639. "description": "OK",
  6640. "schema": {
  6641. "$ref": "#/definitions/models.HsbyMyGoods"
  6642. }
  6643. },
  6644. "500": {
  6645. "description": "Internal Server Error",
  6646. "schema": {
  6647. "$ref": "#/definitions/app.Response"
  6648. }
  6649. }
  6650. }
  6651. }
  6652. },
  6653. "/HSBY/QueryHsbyMyPackages": {
  6654. "get": {
  6655. "security": [
  6656. {
  6657. "ApiKeyAuth": []
  6658. }
  6659. ],
  6660. "produces": [
  6661. "application/json"
  6662. ],
  6663. "tags": [
  6664. "定制【海商报业】"
  6665. ],
  6666. "summary": "查询我的包裹信息",
  6667. "parameters": [
  6668. {
  6669. "type": "string",
  6670. "description": "资金账户列表,格式:1,2,3",
  6671. "name": "accountIDs",
  6672. "in": "query",
  6673. "required": true
  6674. },
  6675. {
  6676. "type": "integer",
  6677. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6678. "name": "takeOrderStatus",
  6679. "in": "query"
  6680. }
  6681. ],
  6682. "responses": {
  6683. "200": {
  6684. "description": "OK",
  6685. "schema": {
  6686. "$ref": "#/definitions/models.HsbyMyPackage"
  6687. }
  6688. },
  6689. "500": {
  6690. "description": "Internal Server Error",
  6691. "schema": {
  6692. "$ref": "#/definitions/app.Response"
  6693. }
  6694. }
  6695. }
  6696. }
  6697. },
  6698. "/HSBY/QueryHsbyPreGoodsDetail": {
  6699. "get": {
  6700. "security": [
  6701. {
  6702. "ApiKeyAuth": []
  6703. }
  6704. ],
  6705. "produces": [
  6706. "application/json"
  6707. ],
  6708. "tags": [
  6709. "定制【海商报业】"
  6710. ],
  6711. "summary": "查询一级市场(预售)商品信息详情",
  6712. "parameters": [
  6713. {
  6714. "type": "integer",
  6715. "description": "商品ID",
  6716. "name": "goodsID",
  6717. "in": "query",
  6718. "required": true
  6719. },
  6720. {
  6721. "type": "integer",
  6722. "description": "资金账户,主要用于获取预售商品购买上限",
  6723. "name": "accountID",
  6724. "in": "query"
  6725. }
  6726. ],
  6727. "responses": {
  6728. "200": {
  6729. "description": "OK",
  6730. "schema": {
  6731. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6732. }
  6733. },
  6734. "500": {
  6735. "description": "Internal Server Error",
  6736. "schema": {
  6737. "$ref": "#/definitions/app.Response"
  6738. }
  6739. }
  6740. }
  6741. }
  6742. },
  6743. "/HSBY/QueryHsbyPreGoodses": {
  6744. "get": {
  6745. "security": [
  6746. {
  6747. "ApiKeyAuth": []
  6748. }
  6749. ],
  6750. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6751. "produces": [
  6752. "application/json"
  6753. ],
  6754. "tags": [
  6755. "定制【海商报业】"
  6756. ],
  6757. "summary": "查询新品上市商品列表(一级市场预售)",
  6758. "parameters": [
  6759. {
  6760. "type": "integer",
  6761. "description": "页码",
  6762. "name": "page",
  6763. "in": "query"
  6764. },
  6765. {
  6766. "type": "integer",
  6767. "description": "每页条数",
  6768. "name": "pagesize",
  6769. "in": "query"
  6770. },
  6771. {
  6772. "type": "string",
  6773. "description": "市场ID列表,格式:1,2,3",
  6774. "name": "marketIDs",
  6775. "in": "query",
  6776. "required": true
  6777. },
  6778. {
  6779. "type": "integer",
  6780. "description": "目的地(省)ID",
  6781. "name": "descProvinceID",
  6782. "in": "query"
  6783. },
  6784. {
  6785. "type": "integer",
  6786. "description": "目的地(市)ID",
  6787. "name": "descCityID",
  6788. "in": "query"
  6789. }
  6790. ],
  6791. "responses": {
  6792. "200": {
  6793. "description": "OK",
  6794. "schema": {
  6795. "$ref": "#/definitions/models.HsbyPreGoods"
  6796. }
  6797. },
  6798. "500": {
  6799. "description": "Internal Server Error",
  6800. "schema": {
  6801. "$ref": "#/definitions/app.Response"
  6802. }
  6803. }
  6804. }
  6805. }
  6806. },
  6807. "/HSBY/QueryHsbySellMyDetails": {
  6808. "get": {
  6809. "security": [
  6810. {
  6811. "ApiKeyAuth": []
  6812. }
  6813. ],
  6814. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6815. "produces": [
  6816. "application/json"
  6817. ],
  6818. "tags": [
  6819. "定制【海商报业】"
  6820. ],
  6821. "summary": "查询\"我的闲置\"单据信息",
  6822. "parameters": [
  6823. {
  6824. "type": "integer",
  6825. "description": "页码",
  6826. "name": "page",
  6827. "in": "query"
  6828. },
  6829. {
  6830. "type": "integer",
  6831. "description": "每页条数",
  6832. "name": "pagesize",
  6833. "in": "query"
  6834. },
  6835. {
  6836. "type": "string",
  6837. "description": "资金账户列表,格式:1,2,3",
  6838. "name": "accountIDs",
  6839. "in": "query",
  6840. "required": true
  6841. },
  6842. {
  6843. "type": "integer",
  6844. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6845. "name": "orderType",
  6846. "in": "query"
  6847. }
  6848. ],
  6849. "responses": {
  6850. "200": {
  6851. "description": "OK",
  6852. "schema": {
  6853. "$ref": "#/definitions/models.HsbySellMyDetail"
  6854. }
  6855. },
  6856. "500": {
  6857. "description": "Internal Server Error",
  6858. "schema": {
  6859. "$ref": "#/definitions/app.Response"
  6860. }
  6861. }
  6862. }
  6863. }
  6864. },
  6865. "/HSBY/QueryHsbyTopGoodses": {
  6866. "get": {
  6867. "security": [
  6868. {
  6869. "ApiKeyAuth": []
  6870. }
  6871. ],
  6872. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6873. "produces": [
  6874. "application/json"
  6875. ],
  6876. "tags": [
  6877. "定制【海商报业】"
  6878. ],
  6879. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6880. "parameters": [
  6881. {
  6882. "type": "integer",
  6883. "description": "页码",
  6884. "name": "page",
  6885. "in": "query"
  6886. },
  6887. {
  6888. "type": "integer",
  6889. "description": "每页条数",
  6890. "name": "pagesize",
  6891. "in": "query"
  6892. },
  6893. {
  6894. "type": "string",
  6895. "description": "市场ID列表,格式:1,2,3",
  6896. "name": "marketIDs",
  6897. "in": "query",
  6898. "required": true
  6899. },
  6900. {
  6901. "type": "integer",
  6902. "description": "目的地(省)ID",
  6903. "name": "descProvinceID",
  6904. "in": "query"
  6905. },
  6906. {
  6907. "type": "integer",
  6908. "description": "目的地(市)ID",
  6909. "name": "descCityID",
  6910. "in": "query"
  6911. }
  6912. ],
  6913. "responses": {
  6914. "200": {
  6915. "description": "OK",
  6916. "schema": {
  6917. "$ref": "#/definitions/models.HsbyTopGoods"
  6918. }
  6919. },
  6920. "500": {
  6921. "description": "Internal Server Error",
  6922. "schema": {
  6923. "$ref": "#/definitions/app.Response"
  6924. }
  6925. }
  6926. }
  6927. }
  6928. },
  6929. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6930. "get": {
  6931. "security": [
  6932. {
  6933. "ApiKeyAuth": []
  6934. }
  6935. ],
  6936. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6937. "produces": [
  6938. "application/json"
  6939. ],
  6940. "tags": [
  6941. "定制【海商报业】"
  6942. ],
  6943. "summary": "查询游客三级市场(商城)商品信息详情",
  6944. "parameters": [
  6945. {
  6946. "type": "integer",
  6947. "description": "商品ID",
  6948. "name": "goodsID",
  6949. "in": "query",
  6950. "required": true
  6951. }
  6952. ],
  6953. "responses": {
  6954. "200": {
  6955. "description": "OK",
  6956. "schema": {
  6957. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6958. }
  6959. },
  6960. "500": {
  6961. "description": "Internal Server Error",
  6962. "schema": {
  6963. "$ref": "#/definitions/app.Response"
  6964. }
  6965. }
  6966. }
  6967. }
  6968. },
  6969. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6970. "get": {
  6971. "security": [
  6972. {
  6973. "ApiKeyAuth": []
  6974. }
  6975. ],
  6976. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6977. "produces": [
  6978. "application/json"
  6979. ],
  6980. "tags": [
  6981. "定制【海商报业】"
  6982. ],
  6983. "summary": "查询游客特卖商品列表(三级商城)",
  6984. "parameters": [
  6985. {
  6986. "type": "integer",
  6987. "description": "页码",
  6988. "name": "page",
  6989. "in": "query"
  6990. },
  6991. {
  6992. "type": "integer",
  6993. "description": "每页条数",
  6994. "name": "pagesize",
  6995. "in": "query"
  6996. },
  6997. {
  6998. "type": "string",
  6999. "description": "市场ID列表,格式:1,2,3",
  7000. "name": "marketIDs",
  7001. "in": "query",
  7002. "required": true
  7003. },
  7004. {
  7005. "type": "integer",
  7006. "description": "类别ID",
  7007. "name": "categoryID",
  7008. "in": "query"
  7009. },
  7010. {
  7011. "type": "string",
  7012. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7013. "name": "goodsIDs",
  7014. "in": "query"
  7015. }
  7016. ],
  7017. "responses": {
  7018. "200": {
  7019. "description": "OK",
  7020. "schema": {
  7021. "$ref": "#/definitions/models.HsbyMarketGoods"
  7022. }
  7023. },
  7024. "500": {
  7025. "description": "Internal Server Error",
  7026. "schema": {
  7027. "$ref": "#/definitions/app.Response"
  7028. }
  7029. }
  7030. }
  7031. }
  7032. },
  7033. "/HSBY/QueryMyCollectionOrders": {
  7034. "get": {
  7035. "security": [
  7036. {
  7037. "ApiKeyAuth": []
  7038. }
  7039. ],
  7040. "produces": [
  7041. "application/json"
  7042. ],
  7043. "tags": [
  7044. "定制【海商报业】"
  7045. ],
  7046. "summary": "我的闲置中收款信息查询",
  7047. "parameters": [
  7048. {
  7049. "type": "integer",
  7050. "description": "页码",
  7051. "name": "page",
  7052. "in": "query"
  7053. },
  7054. {
  7055. "type": "integer",
  7056. "description": "每页条数",
  7057. "name": "pagesize",
  7058. "in": "query"
  7059. },
  7060. {
  7061. "type": "string",
  7062. "description": "资金账户,格式:1,2,3",
  7063. "name": "accountIDs",
  7064. "in": "query",
  7065. "required": true
  7066. }
  7067. ],
  7068. "responses": {
  7069. "200": {
  7070. "description": "OK",
  7071. "schema": {
  7072. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7073. }
  7074. },
  7075. "500": {
  7076. "description": "Internal Server Error",
  7077. "schema": {
  7078. "$ref": "#/definitions/app.Response"
  7079. }
  7080. }
  7081. }
  7082. }
  7083. },
  7084. "/HSBY/QueryMyCouponHolds": {
  7085. "get": {
  7086. "security": [
  7087. {
  7088. "ApiKeyAuth": []
  7089. }
  7090. ],
  7091. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7092. "produces": [
  7093. "application/json"
  7094. ],
  7095. "tags": [
  7096. "定制【海商报业】"
  7097. ],
  7098. "summary": "我的优惠卷持仓查询",
  7099. "parameters": [
  7100. {
  7101. "type": "string",
  7102. "description": "资金账户列表,格式:1,2,3",
  7103. "name": "accountIDs",
  7104. "in": "query",
  7105. "required": true
  7106. },
  7107. {
  7108. "type": "string",
  7109. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7110. "name": "holdStatus",
  7111. "in": "query"
  7112. }
  7113. ],
  7114. "responses": {
  7115. "200": {
  7116. "description": "OK",
  7117. "schema": {
  7118. "$ref": "#/definitions/models.MyCouponHold"
  7119. }
  7120. },
  7121. "500": {
  7122. "description": "Internal Server Error",
  7123. "schema": {
  7124. "$ref": "#/definitions/app.Response"
  7125. }
  7126. }
  7127. }
  7128. }
  7129. },
  7130. "/HSBY/QueryMyCoupons": {
  7131. "get": {
  7132. "security": [
  7133. {
  7134. "ApiKeyAuth": []
  7135. }
  7136. ],
  7137. "produces": [
  7138. "application/json"
  7139. ],
  7140. "tags": [
  7141. "定制【海商报业】"
  7142. ],
  7143. "summary": "我的优惠卷查询",
  7144. "parameters": [
  7145. {
  7146. "type": "string",
  7147. "description": "资金账户列表,格式:1,2,3",
  7148. "name": "accountIDs",
  7149. "in": "query",
  7150. "required": true
  7151. },
  7152. {
  7153. "type": "integer",
  7154. "description": "商品ID, 一般与sellUserID配套传入",
  7155. "name": "goodsID",
  7156. "in": "query"
  7157. },
  7158. {
  7159. "type": "integer",
  7160. "description": "卖方UserID",
  7161. "name": "sellUserID",
  7162. "in": "query"
  7163. }
  7164. ],
  7165. "responses": {
  7166. "200": {
  7167. "description": "OK",
  7168. "schema": {
  7169. "$ref": "#/definitions/models.MyCoupon"
  7170. }
  7171. },
  7172. "500": {
  7173. "description": "Internal Server Error",
  7174. "schema": {
  7175. "$ref": "#/definitions/app.Response"
  7176. }
  7177. }
  7178. }
  7179. }
  7180. },
  7181. "/HSBY/QueryMyPayOrders": {
  7182. "get": {
  7183. "security": [
  7184. {
  7185. "ApiKeyAuth": []
  7186. }
  7187. ],
  7188. "produces": [
  7189. "application/json"
  7190. ],
  7191. "tags": [
  7192. "定制【海商报业】"
  7193. ],
  7194. "summary": "获取我的订单中待付款信息",
  7195. "parameters": [
  7196. {
  7197. "type": "integer",
  7198. "description": "页码",
  7199. "name": "page",
  7200. "in": "query"
  7201. },
  7202. {
  7203. "type": "integer",
  7204. "description": "每页条数",
  7205. "name": "pagesize",
  7206. "in": "query"
  7207. },
  7208. {
  7209. "type": "string",
  7210. "description": "资金账户列表,格式:1,2,3",
  7211. "name": "accountIDs",
  7212. "in": "query",
  7213. "required": true
  7214. },
  7215. {
  7216. "type": "integer",
  7217. "description": "买方委托单号",
  7218. "name": "buyOrderID",
  7219. "in": "query"
  7220. },
  7221. {
  7222. "type": "integer",
  7223. "description": "卖方委托单号",
  7224. "name": "sellOrderID",
  7225. "in": "query"
  7226. }
  7227. ],
  7228. "responses": {
  7229. "200": {
  7230. "description": "OK",
  7231. "schema": {
  7232. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7233. }
  7234. },
  7235. "500": {
  7236. "description": "Internal Server Error",
  7237. "schema": {
  7238. "$ref": "#/definitions/app.Response"
  7239. }
  7240. }
  7241. }
  7242. }
  7243. },
  7244. "/HSBY/QueryMyUsedCoupon": {
  7245. "get": {
  7246. "security": [
  7247. {
  7248. "ApiKeyAuth": []
  7249. }
  7250. ],
  7251. "produces": [
  7252. "application/json"
  7253. ],
  7254. "tags": [
  7255. "定制【海商报业】"
  7256. ],
  7257. "summary": "已使用优惠卷查询",
  7258. "parameters": [
  7259. {
  7260. "type": "string",
  7261. "description": "资金账户列表,格式:1,2,3",
  7262. "name": "accountIDs",
  7263. "in": "query",
  7264. "required": true
  7265. }
  7266. ],
  7267. "responses": {
  7268. "200": {
  7269. "description": "OK",
  7270. "schema": {
  7271. "$ref": "#/definitions/models.MyUsedCoupon"
  7272. }
  7273. },
  7274. "500": {
  7275. "description": "Internal Server Error",
  7276. "schema": {
  7277. "$ref": "#/definitions/app.Response"
  7278. }
  7279. }
  7280. }
  7281. }
  7282. },
  7283. "/HSBY/QueryProvincesAndCities": {
  7284. "get": {
  7285. "security": [
  7286. {
  7287. "ApiKeyAuth": []
  7288. }
  7289. ],
  7290. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7291. "produces": [
  7292. "application/json"
  7293. ],
  7294. "tags": [
  7295. "定制【海商报业】"
  7296. ],
  7297. "summary": "查询省市信息(不包括区)",
  7298. "parameters": [
  7299. {
  7300. "type": "integer",
  7301. "description": "省ID",
  7302. "name": "provinceID",
  7303. "in": "query"
  7304. }
  7305. ],
  7306. "responses": {
  7307. "200": {
  7308. "description": "OK",
  7309. "schema": {
  7310. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7311. }
  7312. },
  7313. "500": {
  7314. "description": "Internal Server Error",
  7315. "schema": {
  7316. "$ref": "#/definitions/app.Response"
  7317. }
  7318. }
  7319. }
  7320. }
  7321. },
  7322. "/HSBY/SetHsbyMyPackagesStatus": {
  7323. "post": {
  7324. "security": [
  7325. {
  7326. "ApiKeyAuth": []
  7327. }
  7328. ],
  7329. "produces": [
  7330. "application/json"
  7331. ],
  7332. "tags": [
  7333. "定制【海商报业】"
  7334. ],
  7335. "summary": "设置我的包裹已收货状态",
  7336. "parameters": [
  7337. {
  7338. "type": "string",
  7339. "description": "提货单号",
  7340. "name": "takeOrderID",
  7341. "in": "query",
  7342. "required": true
  7343. },
  7344. {
  7345. "type": "integer",
  7346. "description": "资金账号",
  7347. "name": "accountID",
  7348. "in": "query",
  7349. "required": true
  7350. }
  7351. ],
  7352. "responses": {
  7353. "200": {
  7354. "description": "OK",
  7355. "schema": {
  7356. "$ref": "#/definitions/app.Response"
  7357. }
  7358. },
  7359. "500": {
  7360. "description": "Internal Server Error",
  7361. "schema": {
  7362. "$ref": "#/definitions/app.Response"
  7363. }
  7364. }
  7365. }
  7366. }
  7367. },
  7368. "/Market/GetAllExExchanges": {
  7369. "get": {
  7370. "security": [
  7371. {
  7372. "ApiKeyAuth": []
  7373. }
  7374. ],
  7375. "produces": [
  7376. "application/json"
  7377. ],
  7378. "tags": [
  7379. "通用市场"
  7380. ],
  7381. "summary": "获取所有外部交易所信息",
  7382. "responses": {
  7383. "200": {
  7384. "description": "OK",
  7385. "schema": {
  7386. "$ref": "#/definitions/models.Goods"
  7387. }
  7388. },
  7389. "500": {
  7390. "description": "Internal Server Error",
  7391. "schema": {
  7392. "$ref": "#/definitions/app.Response"
  7393. }
  7394. }
  7395. }
  7396. }
  7397. },
  7398. "/Market/QueryGoodsesByLoginID": {
  7399. "get": {
  7400. "security": [
  7401. {
  7402. "ApiKeyAuth": []
  7403. }
  7404. ],
  7405. "produces": [
  7406. "application/json"
  7407. ],
  7408. "tags": [
  7409. "通用市场"
  7410. ],
  7411. "summary": "获取登录账号有权限的商品信息",
  7412. "parameters": [
  7413. {
  7414. "type": "integer",
  7415. "description": "登录账号",
  7416. "name": "loginID",
  7417. "in": "query",
  7418. "required": true
  7419. },
  7420. {
  7421. "type": "string",
  7422. "description": "市场ID列表,格式:1,2,3",
  7423. "name": "marketIDs",
  7424. "in": "query"
  7425. }
  7426. ],
  7427. "responses": {
  7428. "200": {
  7429. "description": "OK",
  7430. "schema": {
  7431. "$ref": "#/definitions/models.Goods"
  7432. }
  7433. },
  7434. "500": {
  7435. "description": "Internal Server Error",
  7436. "schema": {
  7437. "$ref": "#/definitions/app.Response"
  7438. }
  7439. }
  7440. }
  7441. }
  7442. },
  7443. "/Market/QueryMarketRun": {
  7444. "get": {
  7445. "security": [
  7446. {
  7447. "ApiKeyAuth": []
  7448. }
  7449. ],
  7450. "produces": [
  7451. "application/json"
  7452. ],
  7453. "tags": [
  7454. "通用市场"
  7455. ],
  7456. "summary": "查询市场运行信息",
  7457. "parameters": [
  7458. {
  7459. "type": "integer",
  7460. "description": "市场ID,不传返回所有",
  7461. "name": "marketID",
  7462. "in": "query"
  7463. }
  7464. ],
  7465. "responses": {
  7466. "200": {
  7467. "description": "OK",
  7468. "schema": {
  7469. "$ref": "#/definitions/models.Marketrun"
  7470. }
  7471. },
  7472. "500": {
  7473. "description": "Internal Server Error",
  7474. "schema": {
  7475. "$ref": "#/definitions/app.Response"
  7476. }
  7477. }
  7478. }
  7479. }
  7480. },
  7481. "/Market/QueryMarketsByLoginID": {
  7482. "get": {
  7483. "security": [
  7484. {
  7485. "ApiKeyAuth": []
  7486. }
  7487. ],
  7488. "produces": [
  7489. "application/json"
  7490. ],
  7491. "tags": [
  7492. "通用市场"
  7493. ],
  7494. "summary": "获取登录账号有权限的市场信息",
  7495. "parameters": [
  7496. {
  7497. "type": "integer",
  7498. "description": "登录账号",
  7499. "name": "loginID",
  7500. "in": "query",
  7501. "required": true
  7502. }
  7503. ],
  7504. "responses": {
  7505. "200": {
  7506. "description": "OK",
  7507. "schema": {
  7508. "$ref": "#/definitions/models.Market"
  7509. }
  7510. },
  7511. "500": {
  7512. "description": "Internal Server Error",
  7513. "schema": {
  7514. "$ref": "#/definitions/app.Response"
  7515. }
  7516. }
  7517. }
  7518. }
  7519. },
  7520. "/Order/QueryHisTradeDetail": {
  7521. "get": {
  7522. "security": [
  7523. {
  7524. "ApiKeyAuth": []
  7525. }
  7526. ],
  7527. "produces": [
  7528. "application/json"
  7529. ],
  7530. "tags": [
  7531. "通用单据"
  7532. ],
  7533. "summary": "历史成交单查询(合约市场)",
  7534. "parameters": [
  7535. {
  7536. "type": "string",
  7537. "description": "资金账户 - 格式:1,2,3",
  7538. "name": "accountID",
  7539. "in": "query",
  7540. "required": true
  7541. },
  7542. {
  7543. "type": "integer",
  7544. "description": "成交单号",
  7545. "name": "tradeID",
  7546. "in": "query"
  7547. },
  7548. {
  7549. "type": "integer",
  7550. "description": "委托单号",
  7551. "name": "orderID",
  7552. "in": "query"
  7553. },
  7554. {
  7555. "type": "integer",
  7556. "description": "商品ID",
  7557. "name": "goodsID",
  7558. "in": "query"
  7559. },
  7560. {
  7561. "type": "string",
  7562. "description": "交易模式 - 格式:1,2,3",
  7563. "name": "tradeMode",
  7564. "in": "query"
  7565. },
  7566. {
  7567. "type": "integer",
  7568. "description": "委托单据类型",
  7569. "name": "buildType",
  7570. "in": "query"
  7571. },
  7572. {
  7573. "type": "string",
  7574. "description": "成交类别 - 格式:1,2,3",
  7575. "name": "tradeType",
  7576. "in": "query"
  7577. },
  7578. {
  7579. "type": "string",
  7580. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7581. "name": "startDate",
  7582. "in": "query"
  7583. },
  7584. {
  7585. "type": "string",
  7586. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7587. "name": "endDate",
  7588. "in": "query"
  7589. }
  7590. ],
  7591. "responses": {
  7592. "200": {
  7593. "description": "OK",
  7594. "schema": {
  7595. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7596. }
  7597. },
  7598. "500": {
  7599. "description": "Internal Server Error",
  7600. "schema": {
  7601. "$ref": "#/definitions/app.Response"
  7602. }
  7603. }
  7604. }
  7605. }
  7606. },
  7607. "/Order/QueryHisTradeOrderDetail": {
  7608. "get": {
  7609. "security": [
  7610. {
  7611. "ApiKeyAuth": []
  7612. }
  7613. ],
  7614. "produces": [
  7615. "application/json"
  7616. ],
  7617. "tags": [
  7618. "通用单据"
  7619. ],
  7620. "summary": "历史委托单查询请求(合约市场)",
  7621. "parameters": [
  7622. {
  7623. "type": "string",
  7624. "description": "资金账户 - 格式:1,2,3",
  7625. "name": "accountID",
  7626. "in": "query",
  7627. "required": true
  7628. },
  7629. {
  7630. "type": "string",
  7631. "description": "交易模式 - 格式:1,2,3",
  7632. "name": "tradeMode",
  7633. "in": "query"
  7634. },
  7635. {
  7636. "type": "string",
  7637. "description": "委托状态 - 格式:1,2,3",
  7638. "name": "orderStatus",
  7639. "in": "query"
  7640. },
  7641. {
  7642. "type": "integer",
  7643. "description": "委托单号",
  7644. "name": "orderID",
  7645. "in": "query"
  7646. },
  7647. {
  7648. "type": "string",
  7649. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7650. "name": "startDate",
  7651. "in": "query"
  7652. },
  7653. {
  7654. "type": "string",
  7655. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7656. "name": "endDate",
  7657. "in": "query"
  7658. }
  7659. ],
  7660. "responses": {
  7661. "200": {
  7662. "description": "OK",
  7663. "schema": {
  7664. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7665. }
  7666. },
  7667. "500": {
  7668. "description": "Internal Server Error",
  7669. "schema": {
  7670. "$ref": "#/definitions/app.Response"
  7671. }
  7672. }
  7673. }
  7674. }
  7675. },
  7676. "/Order/QueryTradeDetail": {
  7677. "get": {
  7678. "security": [
  7679. {
  7680. "ApiKeyAuth": []
  7681. }
  7682. ],
  7683. "produces": [
  7684. "application/json"
  7685. ],
  7686. "tags": [
  7687. "通用单据"
  7688. ],
  7689. "summary": "成交单查询(合约市场)",
  7690. "parameters": [
  7691. {
  7692. "type": "string",
  7693. "description": "资金账户 - 格式:1,2,3",
  7694. "name": "accountID",
  7695. "in": "query",
  7696. "required": true
  7697. },
  7698. {
  7699. "type": "integer",
  7700. "description": "成交单号",
  7701. "name": "tradeID",
  7702. "in": "query"
  7703. },
  7704. {
  7705. "type": "integer",
  7706. "description": "委托单号",
  7707. "name": "orderID",
  7708. "in": "query"
  7709. },
  7710. {
  7711. "type": "string",
  7712. "description": "交易模式 - 格式:1,2,3",
  7713. "name": "tradeMode",
  7714. "in": "query"
  7715. },
  7716. {
  7717. "type": "integer",
  7718. "description": "委托单据类型",
  7719. "name": "buildType",
  7720. "in": "query"
  7721. },
  7722. {
  7723. "type": "string",
  7724. "description": "成交类别 - 格式:1,2,3",
  7725. "name": "tradeType",
  7726. "in": "query"
  7727. },
  7728. {
  7729. "type": "integer",
  7730. "description": "商品ID",
  7731. "name": "goodsID",
  7732. "in": "query"
  7733. }
  7734. ],
  7735. "responses": {
  7736. "200": {
  7737. "description": "OK",
  7738. "schema": {
  7739. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7740. }
  7741. },
  7742. "500": {
  7743. "description": "Internal Server Error",
  7744. "schema": {
  7745. "$ref": "#/definitions/app.Response"
  7746. }
  7747. }
  7748. }
  7749. }
  7750. },
  7751. "/Order/QueryTradeHolderDetail": {
  7752. "get": {
  7753. "security": [
  7754. {
  7755. "ApiKeyAuth": []
  7756. }
  7757. ],
  7758. "produces": [
  7759. "application/json"
  7760. ],
  7761. "tags": [
  7762. "通用单据"
  7763. ],
  7764. "summary": "查询持仓明细",
  7765. "parameters": [
  7766. {
  7767. "type": "integer",
  7768. "description": "用户id",
  7769. "name": "userid",
  7770. "in": "query"
  7771. },
  7772. {
  7773. "type": "string",
  7774. "description": "资金账号, 格式 1,2,3",
  7775. "name": "accids",
  7776. "in": "query"
  7777. },
  7778. {
  7779. "type": "string",
  7780. "description": "交易模式, 格式 1,2,3",
  7781. "name": "trademodes",
  7782. "in": "query"
  7783. },
  7784. {
  7785. "type": "string",
  7786. "description": "市场id, 格式 1,2,3",
  7787. "name": "marketids",
  7788. "in": "query"
  7789. },
  7790. {
  7791. "type": "integer",
  7792. "description": "商品id",
  7793. "name": "goodsid",
  7794. "in": "query"
  7795. },
  7796. {
  7797. "type": "integer",
  7798. "description": "买卖方向 0-买 1-卖",
  7799. "name": "buyorsell",
  7800. "in": "query"
  7801. }
  7802. ],
  7803. "responses": {
  7804. "200": {
  7805. "description": "OK",
  7806. "schema": {
  7807. "type": "array",
  7808. "items": {
  7809. "$ref": "#/definitions/models.TradeHolderDetail"
  7810. }
  7811. }
  7812. },
  7813. "500": {
  7814. "description": "Internal Server Error",
  7815. "schema": {
  7816. "$ref": "#/definitions/app.Response"
  7817. }
  7818. }
  7819. }
  7820. }
  7821. },
  7822. "/Order/QueryTradeOrderDetail": {
  7823. "get": {
  7824. "security": [
  7825. {
  7826. "ApiKeyAuth": []
  7827. }
  7828. ],
  7829. "produces": [
  7830. "application/json"
  7831. ],
  7832. "tags": [
  7833. "通用单据"
  7834. ],
  7835. "summary": "委托单查询请求(合约市场)",
  7836. "parameters": [
  7837. {
  7838. "type": "string",
  7839. "description": "资金账户 - 格式:1,2,3",
  7840. "name": "accountID",
  7841. "in": "query",
  7842. "required": true
  7843. },
  7844. {
  7845. "type": "string",
  7846. "description": "交易模式 - 格式:1,2,3",
  7847. "name": "tradeMode",
  7848. "in": "query"
  7849. },
  7850. {
  7851. "type": "string",
  7852. "description": "委托状态 - 格式:1,2,3",
  7853. "name": "orderStatus",
  7854. "in": "query"
  7855. },
  7856. {
  7857. "type": "integer",
  7858. "description": "委托单号",
  7859. "name": "orderID",
  7860. "in": "query"
  7861. }
  7862. ],
  7863. "responses": {
  7864. "200": {
  7865. "description": "OK",
  7866. "schema": {
  7867. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7868. }
  7869. },
  7870. "500": {
  7871. "description": "Internal Server Error",
  7872. "schema": {
  7873. "$ref": "#/definitions/app.Response"
  7874. }
  7875. }
  7876. }
  7877. }
  7878. },
  7879. "/Order/QueryTradePosition": {
  7880. "get": {
  7881. "security": [
  7882. {
  7883. "ApiKeyAuth": []
  7884. }
  7885. ],
  7886. "produces": [
  7887. "application/json"
  7888. ],
  7889. "tags": [
  7890. "通用单据"
  7891. ],
  7892. "summary": "持仓汇总查询(合约市场)",
  7893. "parameters": [
  7894. {
  7895. "type": "string",
  7896. "description": "资金账户 - 格式:1,2,3",
  7897. "name": "accountID",
  7898. "in": "query",
  7899. "required": true
  7900. },
  7901. {
  7902. "type": "string",
  7903. "description": "交易模式 - 格式:1,2,3",
  7904. "name": "tradeMode",
  7905. "in": "query"
  7906. }
  7907. ],
  7908. "responses": {
  7909. "200": {
  7910. "description": "OK",
  7911. "schema": {
  7912. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7913. }
  7914. },
  7915. "500": {
  7916. "description": "Internal Server Error",
  7917. "schema": {
  7918. "$ref": "#/definitions/app.Response"
  7919. }
  7920. }
  7921. }
  7922. }
  7923. },
  7924. "/Qhj/QueryAccountInOutApply": {
  7925. "get": {
  7926. "security": [
  7927. {
  7928. "ApiKeyAuth": []
  7929. }
  7930. ],
  7931. "produces": [
  7932. "application/json"
  7933. ],
  7934. "tags": [
  7935. "大连千海金"
  7936. ],
  7937. "summary": "查询充值提现",
  7938. "parameters": [
  7939. {
  7940. "type": "integer",
  7941. "description": "用户ID",
  7942. "name": "userid",
  7943. "in": "query",
  7944. "required": true
  7945. },
  7946. {
  7947. "type": "string",
  7948. "description": "申请起始日期(格式yyyymmdd)",
  7949. "name": "begindate",
  7950. "in": "query"
  7951. },
  7952. {
  7953. "type": "string",
  7954. "description": "申请截止日期(格式yyyymmdd)",
  7955. "name": "enddate",
  7956. "in": "query"
  7957. },
  7958. {
  7959. "type": "string",
  7960. "description": "模糊搜索名称",
  7961. "name": "likename",
  7962. "in": "query"
  7963. }
  7964. ],
  7965. "responses": {
  7966. "200": {
  7967. "description": "OK",
  7968. "schema": {
  7969. "type": "array",
  7970. "items": {
  7971. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7972. }
  7973. }
  7974. },
  7975. "500": {
  7976. "description": "Internal Server Error",
  7977. "schema": {
  7978. "$ref": "#/definitions/app.Response"
  7979. }
  7980. }
  7981. }
  7982. }
  7983. },
  7984. "/Qhj/QueryAreaFinanceConfig": {
  7985. "get": {
  7986. "security": [
  7987. {
  7988. "ApiKeyAuth": []
  7989. }
  7990. ],
  7991. "produces": [
  7992. "application/json"
  7993. ],
  7994. "tags": [
  7995. "大连千海金"
  7996. ],
  7997. "summary": "查询企业配置表",
  7998. "parameters": [
  7999. {
  8000. "type": "integer",
  8001. "description": "机构用户ID 其他做市关系,都设置为 1",
  8002. "name": "userid",
  8003. "in": "query"
  8004. }
  8005. ],
  8006. "responses": {
  8007. "200": {
  8008. "description": "OK",
  8009. "schema": {
  8010. "type": "array",
  8011. "items": {
  8012. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  8013. }
  8014. }
  8015. },
  8016. "500": {
  8017. "description": "Internal Server Error",
  8018. "schema": {
  8019. "$ref": "#/definitions/app.Response"
  8020. }
  8021. }
  8022. }
  8023. }
  8024. },
  8025. "/Qhj/QueryBankAccountSign": {
  8026. "get": {
  8027. "security": [
  8028. {
  8029. "ApiKeyAuth": []
  8030. }
  8031. ],
  8032. "produces": [
  8033. "application/json"
  8034. ],
  8035. "tags": [
  8036. "大连千海金"
  8037. ],
  8038. "summary": "查询签约银行信息(提现账户管理)",
  8039. "parameters": [
  8040. {
  8041. "type": "integer",
  8042. "description": "用户ID",
  8043. "name": "userid",
  8044. "in": "query",
  8045. "required": true
  8046. }
  8047. ],
  8048. "responses": {
  8049. "200": {
  8050. "description": "OK",
  8051. "schema": {
  8052. "type": "array",
  8053. "items": {
  8054. "$ref": "#/definitions/models.QhjBankAccountSign"
  8055. }
  8056. }
  8057. },
  8058. "500": {
  8059. "description": "Internal Server Error",
  8060. "schema": {
  8061. "$ref": "#/definitions/app.Response"
  8062. }
  8063. }
  8064. }
  8065. }
  8066. },
  8067. "/Qhj/QueryBankInfo": {
  8068. "get": {
  8069. "security": [
  8070. {
  8071. "ApiKeyAuth": []
  8072. }
  8073. ],
  8074. "produces": [
  8075. "application/json"
  8076. ],
  8077. "tags": [
  8078. "大连千海金"
  8079. ],
  8080. "summary": "查询开户行",
  8081. "responses": {
  8082. "200": {
  8083. "description": "OK",
  8084. "schema": {
  8085. "type": "array",
  8086. "items": {
  8087. "$ref": "#/definitions/models.QhjBankInfo"
  8088. }
  8089. }
  8090. },
  8091. "500": {
  8092. "description": "Internal Server Error",
  8093. "schema": {
  8094. "$ref": "#/definitions/app.Response"
  8095. }
  8096. }
  8097. }
  8098. }
  8099. },
  8100. "/Qhj/QueryBrokerApply": {
  8101. "get": {
  8102. "security": [
  8103. {
  8104. "ApiKeyAuth": []
  8105. }
  8106. ],
  8107. "produces": [
  8108. "application/json"
  8109. ],
  8110. "tags": [
  8111. "大连千海金"
  8112. ],
  8113. "summary": "查询经纪人申请",
  8114. "parameters": [
  8115. {
  8116. "type": "integer",
  8117. "description": "所属机构ID",
  8118. "name": "userid",
  8119. "in": "query"
  8120. },
  8121. {
  8122. "type": "string",
  8123. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8124. "name": "filterstatus",
  8125. "in": "query"
  8126. }
  8127. ],
  8128. "responses": {
  8129. "200": {
  8130. "description": "OK",
  8131. "schema": {
  8132. "type": "array",
  8133. "items": {
  8134. "$ref": "#/definitions/models.QhjBrokerApply"
  8135. }
  8136. }
  8137. },
  8138. "500": {
  8139. "description": "Internal Server Error",
  8140. "schema": {
  8141. "$ref": "#/definitions/app.Response"
  8142. }
  8143. }
  8144. }
  8145. }
  8146. },
  8147. "/Qhj/QueryBrokerApplyEx": {
  8148. "get": {
  8149. "security": [
  8150. {
  8151. "ApiKeyAuth": []
  8152. }
  8153. ],
  8154. "produces": [
  8155. "application/json"
  8156. ],
  8157. "tags": [
  8158. "大连千海金"
  8159. ],
  8160. "summary": "查询经纪人信息和申请记录",
  8161. "parameters": [
  8162. {
  8163. "type": "integer",
  8164. "description": "所属机构ID",
  8165. "name": "userid",
  8166. "in": "query"
  8167. }
  8168. ],
  8169. "responses": {
  8170. "200": {
  8171. "description": "OK",
  8172. "schema": {
  8173. "type": "array",
  8174. "items": {
  8175. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  8176. }
  8177. }
  8178. },
  8179. "500": {
  8180. "description": "Internal Server Error",
  8181. "schema": {
  8182. "$ref": "#/definitions/app.Response"
  8183. }
  8184. }
  8185. }
  8186. }
  8187. },
  8188. "/Qhj/QueryBrokerRewardLog": {
  8189. "get": {
  8190. "security": [
  8191. {
  8192. "ApiKeyAuth": []
  8193. }
  8194. ],
  8195. "produces": [
  8196. "application/json"
  8197. ],
  8198. "tags": [
  8199. "大连千海金"
  8200. ],
  8201. "summary": "查询奖励流水(我的奖励)",
  8202. "parameters": [
  8203. {
  8204. "type": "integer",
  8205. "description": "用户ID",
  8206. "name": "userid",
  8207. "in": "query",
  8208. "required": true
  8209. },
  8210. {
  8211. "type": "string",
  8212. "description": "开始交易日(yyyymmdd)",
  8213. "name": "begindate",
  8214. "in": "query"
  8215. },
  8216. {
  8217. "type": "string",
  8218. "description": "结束交易日(yyyymmdd)",
  8219. "name": "enddate",
  8220. "in": "query"
  8221. }
  8222. ],
  8223. "responses": {
  8224. "200": {
  8225. "description": "OK",
  8226. "schema": {
  8227. "type": "array",
  8228. "items": {
  8229. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  8230. }
  8231. }
  8232. },
  8233. "500": {
  8234. "description": "Internal Server Error",
  8235. "schema": {
  8236. "$ref": "#/definitions/app.Response"
  8237. }
  8238. }
  8239. }
  8240. }
  8241. },
  8242. "/Qhj/QueryContract": {
  8243. "get": {
  8244. "security": [
  8245. {
  8246. "ApiKeyAuth": []
  8247. }
  8248. ],
  8249. "produces": [
  8250. "application/json"
  8251. ],
  8252. "tags": [
  8253. "大连千海金"
  8254. ],
  8255. "summary": "查询融资明细(合同)",
  8256. "parameters": [
  8257. {
  8258. "type": "integer",
  8259. "description": "用户ID",
  8260. "name": "userid",
  8261. "in": "query"
  8262. },
  8263. {
  8264. "type": "integer",
  8265. "description": "scf合同id",
  8266. "name": "scfcontractid",
  8267. "in": "query"
  8268. }
  8269. ],
  8270. "responses": {
  8271. "200": {
  8272. "description": "OK",
  8273. "schema": {
  8274. "type": "array",
  8275. "items": {
  8276. "$ref": "#/definitions/models.QhjContract"
  8277. }
  8278. }
  8279. },
  8280. "500": {
  8281. "description": "Internal Server Error",
  8282. "schema": {
  8283. "$ref": "#/definitions/app.Response"
  8284. }
  8285. }
  8286. }
  8287. }
  8288. },
  8289. "/Qhj/QueryContractLog": {
  8290. "get": {
  8291. "security": [
  8292. {
  8293. "ApiKeyAuth": []
  8294. }
  8295. ],
  8296. "produces": [
  8297. "application/json"
  8298. ],
  8299. "tags": [
  8300. "大连千海金"
  8301. ],
  8302. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  8303. "parameters": [
  8304. {
  8305. "type": "integer",
  8306. "description": "scf合同id",
  8307. "name": "scfcontractid",
  8308. "in": "query",
  8309. "required": true
  8310. },
  8311. {
  8312. "type": "string",
  8313. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  8314. "name": "amounttype",
  8315. "in": "query"
  8316. }
  8317. ],
  8318. "responses": {
  8319. "200": {
  8320. "description": "OK",
  8321. "schema": {
  8322. "type": "array",
  8323. "items": {
  8324. "$ref": "#/definitions/models.QhjContractLog"
  8325. }
  8326. }
  8327. },
  8328. "500": {
  8329. "description": "Internal Server Error",
  8330. "schema": {
  8331. "$ref": "#/definitions/app.Response"
  8332. }
  8333. }
  8334. }
  8335. }
  8336. },
  8337. "/Qhj/QueryCusBankSignBank": {
  8338. "get": {
  8339. "security": [
  8340. {
  8341. "ApiKeyAuth": []
  8342. }
  8343. ],
  8344. "produces": [
  8345. "application/json"
  8346. ],
  8347. "tags": [
  8348. "大连千海金"
  8349. ],
  8350. "summary": "查询托管银行",
  8351. "responses": {
  8352. "200": {
  8353. "description": "OK",
  8354. "schema": {
  8355. "type": "array",
  8356. "items": {
  8357. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  8358. }
  8359. }
  8360. },
  8361. "500": {
  8362. "description": "Internal Server Error",
  8363. "schema": {
  8364. "$ref": "#/definitions/app.Response"
  8365. }
  8366. }
  8367. }
  8368. }
  8369. },
  8370. "/Qhj/QueryCustomerInfo": {
  8371. "get": {
  8372. "security": [
  8373. {
  8374. "ApiKeyAuth": []
  8375. }
  8376. ],
  8377. "produces": [
  8378. "application/json"
  8379. ],
  8380. "tags": [
  8381. "大连千海金"
  8382. ],
  8383. "summary": "查询客户资料",
  8384. "parameters": [
  8385. {
  8386. "type": "integer",
  8387. "description": "用户ID",
  8388. "name": "userid",
  8389. "in": "query",
  8390. "required": true
  8391. },
  8392. {
  8393. "type": "integer",
  8394. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8395. "name": "querytype",
  8396. "in": "query",
  8397. "required": true
  8398. },
  8399. {
  8400. "type": "integer",
  8401. "description": "客户类型 1-个人 2-企业",
  8402. "name": "userinfotype",
  8403. "in": "query"
  8404. },
  8405. {
  8406. "type": "string",
  8407. "description": "客户名称(模糊匹配)",
  8408. "name": "customername",
  8409. "in": "query"
  8410. },
  8411. {
  8412. "type": "string",
  8413. "description": "昵称(模糊匹配)",
  8414. "name": "nickname",
  8415. "in": "query"
  8416. },
  8417. {
  8418. "type": "integer",
  8419. "description": "是否包含子级 1-包含",
  8420. "name": "includesub",
  8421. "in": "query"
  8422. }
  8423. ],
  8424. "responses": {
  8425. "200": {
  8426. "description": "OK",
  8427. "schema": {
  8428. "type": "array",
  8429. "items": {
  8430. "$ref": "#/definitions/models.QhjCustomer"
  8431. }
  8432. }
  8433. },
  8434. "500": {
  8435. "description": "Internal Server Error",
  8436. "schema": {
  8437. "$ref": "#/definitions/app.Response"
  8438. }
  8439. }
  8440. }
  8441. }
  8442. },
  8443. "/Qhj/QueryGoodsEx": {
  8444. "get": {
  8445. "security": [
  8446. {
  8447. "ApiKeyAuth": []
  8448. }
  8449. ],
  8450. "produces": [
  8451. "application/json"
  8452. ],
  8453. "tags": [
  8454. "大连千海金"
  8455. ],
  8456. "summary": "交易商品扩展表",
  8457. "parameters": [
  8458. {
  8459. "type": "integer",
  8460. "description": "商品id",
  8461. "name": "goodsid",
  8462. "in": "query"
  8463. }
  8464. ],
  8465. "responses": {
  8466. "200": {
  8467. "description": "OK",
  8468. "schema": {
  8469. "type": "array",
  8470. "items": {
  8471. "$ref": "#/definitions/models.Qhjgoodsex"
  8472. }
  8473. }
  8474. },
  8475. "500": {
  8476. "description": "Internal Server Error",
  8477. "schema": {
  8478. "$ref": "#/definitions/app.Response"
  8479. }
  8480. }
  8481. }
  8482. }
  8483. },
  8484. "/Qhj/QueryMyTeam": {
  8485. "get": {
  8486. "security": [
  8487. {
  8488. "ApiKeyAuth": []
  8489. }
  8490. ],
  8491. "produces": [
  8492. "application/json"
  8493. ],
  8494. "tags": [
  8495. "大连千海金"
  8496. ],
  8497. "summary": "查询我的团队",
  8498. "parameters": [
  8499. {
  8500. "type": "integer",
  8501. "description": "用户ID",
  8502. "name": "userid",
  8503. "in": "query",
  8504. "required": true
  8505. }
  8506. ],
  8507. "responses": {
  8508. "200": {
  8509. "description": "OK",
  8510. "schema": {
  8511. "type": "array",
  8512. "items": {
  8513. "$ref": "#/definitions/models.QhjMyTeamEx"
  8514. }
  8515. }
  8516. },
  8517. "500": {
  8518. "description": "Internal Server Error",
  8519. "schema": {
  8520. "$ref": "#/definitions/app.Response"
  8521. }
  8522. }
  8523. }
  8524. }
  8525. },
  8526. "/Qhj/QueryMyTeamOrder": {
  8527. "get": {
  8528. "security": [
  8529. {
  8530. "ApiKeyAuth": []
  8531. }
  8532. ],
  8533. "produces": [
  8534. "application/json"
  8535. ],
  8536. "tags": [
  8537. "大连千海金"
  8538. ],
  8539. "summary": "查询团队订单(我的团队/团队订单)",
  8540. "parameters": [
  8541. {
  8542. "type": "integer",
  8543. "description": "页码",
  8544. "name": "page",
  8545. "in": "query"
  8546. },
  8547. {
  8548. "type": "integer",
  8549. "description": "每页条数",
  8550. "name": "pagesize",
  8551. "in": "query"
  8552. },
  8553. {
  8554. "type": "integer",
  8555. "description": "用户ID",
  8556. "name": "userid",
  8557. "in": "query",
  8558. "required": true
  8559. },
  8560. {
  8561. "type": "integer",
  8562. "description": "交易模式",
  8563. "name": "trademode",
  8564. "in": "query"
  8565. },
  8566. {
  8567. "type": "string",
  8568. "description": "名称(模糊搜索账户)",
  8569. "name": "filtername",
  8570. "in": "query"
  8571. }
  8572. ],
  8573. "responses": {
  8574. "200": {
  8575. "description": "OK",
  8576. "schema": {
  8577. "type": "array",
  8578. "items": {
  8579. "$ref": "#/definitions/models.QhjTeamOrder"
  8580. }
  8581. }
  8582. },
  8583. "500": {
  8584. "description": "Internal Server Error",
  8585. "schema": {
  8586. "$ref": "#/definitions/app.Response"
  8587. }
  8588. }
  8589. }
  8590. }
  8591. },
  8592. "/Qhj/QueryParentAreaList": {
  8593. "get": {
  8594. "security": [
  8595. {
  8596. "ApiKeyAuth": []
  8597. }
  8598. ],
  8599. "produces": [
  8600. "application/json"
  8601. ],
  8602. "tags": [
  8603. "大连千海金"
  8604. ],
  8605. "summary": "查询所属机构列表",
  8606. "parameters": [
  8607. {
  8608. "type": "integer",
  8609. "description": "用户ID",
  8610. "name": "userid",
  8611. "in": "query",
  8612. "required": true
  8613. }
  8614. ],
  8615. "responses": {
  8616. "200": {
  8617. "description": "OK",
  8618. "schema": {
  8619. "type": "array",
  8620. "items": {
  8621. "$ref": "#/definitions/models.QhjParentAreaList"
  8622. }
  8623. }
  8624. },
  8625. "500": {
  8626. "description": "Internal Server Error",
  8627. "schema": {
  8628. "$ref": "#/definitions/app.Response"
  8629. }
  8630. }
  8631. }
  8632. }
  8633. },
  8634. "/Qhj/QueryPayOrder": {
  8635. "get": {
  8636. "security": [
  8637. {
  8638. "ApiKeyAuth": []
  8639. }
  8640. ],
  8641. "produces": [
  8642. "application/json"
  8643. ],
  8644. "tags": [
  8645. "大连千海金"
  8646. ],
  8647. "summary": "查询待付款单据",
  8648. "parameters": [
  8649. {
  8650. "type": "integer",
  8651. "description": "资金账号id",
  8652. "name": "accountid",
  8653. "in": "query",
  8654. "required": true
  8655. },
  8656. {
  8657. "type": "integer",
  8658. "description": "成交单号",
  8659. "name": "tradeid",
  8660. "in": "query"
  8661. },
  8662. {
  8663. "type": "string",
  8664. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8665. "name": "payflag",
  8666. "in": "query"
  8667. }
  8668. ],
  8669. "responses": {
  8670. "200": {
  8671. "description": "OK",
  8672. "schema": {
  8673. "type": "array",
  8674. "items": {
  8675. "$ref": "#/definitions/models.QhjPayOrder"
  8676. }
  8677. }
  8678. },
  8679. "500": {
  8680. "description": "Internal Server Error",
  8681. "schema": {
  8682. "$ref": "#/definitions/app.Response"
  8683. }
  8684. }
  8685. }
  8686. }
  8687. },
  8688. "/Qhj/QueryPickArea": {
  8689. "get": {
  8690. "security": [
  8691. {
  8692. "ApiKeyAuth": []
  8693. }
  8694. ],
  8695. "produces": [
  8696. "application/json"
  8697. ],
  8698. "tags": [
  8699. "大连千海金"
  8700. ],
  8701. "summary": "查询提货门店",
  8702. "parameters": [
  8703. {
  8704. "type": "integer",
  8705. "description": "用户ID",
  8706. "name": "userid",
  8707. "in": "query"
  8708. }
  8709. ],
  8710. "responses": {
  8711. "200": {
  8712. "description": "OK",
  8713. "schema": {
  8714. "type": "array",
  8715. "items": {
  8716. "$ref": "#/definitions/models.QhjPickArea"
  8717. }
  8718. }
  8719. },
  8720. "500": {
  8721. "description": "Internal Server Error",
  8722. "schema": {
  8723. "$ref": "#/definitions/app.Response"
  8724. }
  8725. }
  8726. }
  8727. }
  8728. },
  8729. "/Qhj/QueryPickGoods": {
  8730. "get": {
  8731. "security": [
  8732. {
  8733. "ApiKeyAuth": []
  8734. }
  8735. ],
  8736. "produces": [
  8737. "application/json"
  8738. ],
  8739. "tags": [
  8740. "大连千海金"
  8741. ],
  8742. "summary": "查询提货商品",
  8743. "parameters": [
  8744. {
  8745. "type": "integer",
  8746. "description": "交易商品id",
  8747. "name": "goodsid",
  8748. "in": "query",
  8749. "required": true
  8750. },
  8751. {
  8752. "type": "string",
  8753. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8754. "name": "status",
  8755. "in": "query"
  8756. }
  8757. ],
  8758. "responses": {
  8759. "200": {
  8760. "description": "OK",
  8761. "schema": {
  8762. "type": "array",
  8763. "items": {
  8764. "$ref": "#/definitions/models.QhjPickGoods"
  8765. }
  8766. }
  8767. },
  8768. "500": {
  8769. "description": "Internal Server Error",
  8770. "schema": {
  8771. "$ref": "#/definitions/app.Response"
  8772. }
  8773. }
  8774. }
  8775. }
  8776. },
  8777. "/Qhj/QueryRSTriggerLog": {
  8778. "get": {
  8779. "security": [
  8780. {
  8781. "ApiKeyAuth": []
  8782. }
  8783. ],
  8784. "produces": [
  8785. "application/json"
  8786. ],
  8787. "tags": [
  8788. "大连千海金"
  8789. ],
  8790. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8791. "parameters": [
  8792. {
  8793. "type": "integer",
  8794. "description": "用户ID",
  8795. "name": "userid",
  8796. "in": "query"
  8797. },
  8798. {
  8799. "type": "integer",
  8800. "description": "定投策略id",
  8801. "name": "regularlystrategyid",
  8802. "in": "query"
  8803. },
  8804. {
  8805. "type": "integer",
  8806. "description": "商品id",
  8807. "name": "goodsid",
  8808. "in": "query"
  8809. },
  8810. {
  8811. "type": "string",
  8812. "description": "开始交易日(yyyymmdd)",
  8813. "name": "begindate",
  8814. "in": "query"
  8815. },
  8816. {
  8817. "type": "string",
  8818. "description": "结束交易日(yyyymmdd)",
  8819. "name": "enddate",
  8820. "in": "query"
  8821. },
  8822. {
  8823. "type": "string",
  8824. "description": "名称(模糊搜索账户)",
  8825. "name": "filtername",
  8826. "in": "query"
  8827. }
  8828. ],
  8829. "responses": {
  8830. "200": {
  8831. "description": "OK",
  8832. "schema": {
  8833. "type": "array",
  8834. "items": {
  8835. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8836. }
  8837. }
  8838. },
  8839. "500": {
  8840. "description": "Internal Server Error",
  8841. "schema": {
  8842. "$ref": "#/definitions/app.Response"
  8843. }
  8844. }
  8845. }
  8846. }
  8847. },
  8848. "/Qhj/QueryRStrategy": {
  8849. "get": {
  8850. "security": [
  8851. {
  8852. "ApiKeyAuth": []
  8853. }
  8854. ],
  8855. "produces": [
  8856. "application/json"
  8857. ],
  8858. "tags": [
  8859. "大连千海金"
  8860. ],
  8861. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8862. "parameters": [
  8863. {
  8864. "type": "integer",
  8865. "description": "用户ID",
  8866. "name": "userid",
  8867. "in": "query"
  8868. },
  8869. {
  8870. "type": "integer",
  8871. "description": "商品id",
  8872. "name": "goodsid",
  8873. "in": "query"
  8874. },
  8875. {
  8876. "type": "string",
  8877. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8878. "name": "status",
  8879. "in": "query"
  8880. },
  8881. {
  8882. "type": "string",
  8883. "description": "名称(模糊搜索账户)",
  8884. "name": "filtername",
  8885. "in": "query"
  8886. }
  8887. ],
  8888. "responses": {
  8889. "200": {
  8890. "description": "OK",
  8891. "schema": {
  8892. "type": "array",
  8893. "items": {
  8894. "$ref": "#/definitions/models.QhjRStrategy"
  8895. }
  8896. }
  8897. },
  8898. "500": {
  8899. "description": "Internal Server Error",
  8900. "schema": {
  8901. "$ref": "#/definitions/app.Response"
  8902. }
  8903. }
  8904. }
  8905. }
  8906. },
  8907. "/Qhj/QueryReckonPriceLog": {
  8908. "get": {
  8909. "security": [
  8910. {
  8911. "ApiKeyAuth": []
  8912. }
  8913. ],
  8914. "produces": [
  8915. "application/json"
  8916. ],
  8917. "tags": [
  8918. "大连千海金"
  8919. ],
  8920. "summary": "查询定投价(结算价)",
  8921. "parameters": [
  8922. {
  8923. "type": "integer",
  8924. "description": "商品ID",
  8925. "name": "goodsid",
  8926. "in": "query"
  8927. },
  8928. {
  8929. "type": "string",
  8930. "description": "交易日 格式(yyyymmdd)",
  8931. "name": "tradedate",
  8932. "in": "query"
  8933. }
  8934. ],
  8935. "responses": {
  8936. "200": {
  8937. "description": "OK",
  8938. "schema": {
  8939. "type": "array",
  8940. "items": {
  8941. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8942. }
  8943. }
  8944. },
  8945. "500": {
  8946. "description": "Internal Server Error",
  8947. "schema": {
  8948. "$ref": "#/definitions/app.Response"
  8949. }
  8950. }
  8951. }
  8952. }
  8953. },
  8954. "/Qhj/QueryScoreLog": {
  8955. "get": {
  8956. "security": [
  8957. {
  8958. "ApiKeyAuth": []
  8959. }
  8960. ],
  8961. "produces": [
  8962. "application/json"
  8963. ],
  8964. "tags": [
  8965. "大连千海金"
  8966. ],
  8967. "summary": "查询积分流水(我的积分)",
  8968. "parameters": [
  8969. {
  8970. "type": "integer",
  8971. "description": "用户ID",
  8972. "name": "userid",
  8973. "in": "query",
  8974. "required": true
  8975. },
  8976. {
  8977. "type": "string",
  8978. "description": "开始交易日(yyyymmdd)",
  8979. "name": "begindate",
  8980. "in": "query"
  8981. },
  8982. {
  8983. "type": "string",
  8984. "description": "结束交易日(yyyymmdd)",
  8985. "name": "enddate",
  8986. "in": "query"
  8987. },
  8988. {
  8989. "type": "integer",
  8990. "description": "最近多少条",
  8991. "name": "lastnum",
  8992. "in": "query"
  8993. }
  8994. ],
  8995. "responses": {
  8996. "200": {
  8997. "description": "OK",
  8998. "schema": {
  8999. "type": "array",
  9000. "items": {
  9001. "$ref": "#/definitions/models.QhjScoreLog"
  9002. }
  9003. }
  9004. },
  9005. "500": {
  9006. "description": "Internal Server Error",
  9007. "schema": {
  9008. "$ref": "#/definitions/app.Response"
  9009. }
  9010. }
  9011. }
  9012. }
  9013. },
  9014. "/Qhj/QuerySiteColumnDetail": {
  9015. "get": {
  9016. "security": [
  9017. {
  9018. "ApiKeyAuth": []
  9019. }
  9020. ],
  9021. "produces": [
  9022. "application/json"
  9023. ],
  9024. "tags": [
  9025. "大连千海金"
  9026. ],
  9027. "summary": "查询资讯",
  9028. "parameters": [
  9029. {
  9030. "type": "integer",
  9031. "description": "用户ID",
  9032. "name": "userid",
  9033. "in": "query",
  9034. "required": true
  9035. }
  9036. ],
  9037. "responses": {
  9038. "200": {
  9039. "description": "OK",
  9040. "schema": {
  9041. "type": "array",
  9042. "items": {
  9043. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  9044. }
  9045. }
  9046. },
  9047. "500": {
  9048. "description": "Internal Server Error",
  9049. "schema": {
  9050. "$ref": "#/definitions/app.Response"
  9051. }
  9052. }
  9053. }
  9054. }
  9055. },
  9056. "/Qhj/QueryTradeGoodsPickup": {
  9057. "get": {
  9058. "security": [
  9059. {
  9060. "ApiKeyAuth": []
  9061. }
  9062. ],
  9063. "produces": [
  9064. "application/json"
  9065. ],
  9066. "tags": [
  9067. "大连千海金"
  9068. ],
  9069. "summary": "查询提货",
  9070. "parameters": [
  9071. {
  9072. "type": "integer",
  9073. "description": "用户ID",
  9074. "name": "userid",
  9075. "in": "query",
  9076. "required": true
  9077. },
  9078. {
  9079. "type": "integer",
  9080. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  9081. "name": "takeorderstatus",
  9082. "in": "query"
  9083. }
  9084. ],
  9085. "responses": {
  9086. "200": {
  9087. "description": "OK",
  9088. "schema": {
  9089. "type": "array",
  9090. "items": {
  9091. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  9092. }
  9093. }
  9094. },
  9095. "500": {
  9096. "description": "Internal Server Error",
  9097. "schema": {
  9098. "$ref": "#/definitions/app.Response"
  9099. }
  9100. }
  9101. }
  9102. }
  9103. },
  9104. "/Qhj/QueryUserCollectConfig": {
  9105. "get": {
  9106. "security": [
  9107. {
  9108. "ApiKeyAuth": []
  9109. }
  9110. ],
  9111. "produces": [
  9112. "application/json"
  9113. ],
  9114. "tags": [
  9115. "大连千海金"
  9116. ],
  9117. "summary": "查询提现账户设置",
  9118. "parameters": [
  9119. {
  9120. "type": "integer",
  9121. "description": "用户ID",
  9122. "name": "userid",
  9123. "in": "query",
  9124. "required": true
  9125. }
  9126. ],
  9127. "responses": {
  9128. "200": {
  9129. "description": "OK",
  9130. "schema": {
  9131. "type": "array",
  9132. "items": {
  9133. "$ref": "#/definitions/models.UserCollectConfig"
  9134. }
  9135. }
  9136. },
  9137. "500": {
  9138. "description": "Internal Server Error",
  9139. "schema": {
  9140. "$ref": "#/definitions/app.Response"
  9141. }
  9142. }
  9143. }
  9144. }
  9145. },
  9146. "/Qhj/QueryUserReceiveInfo": {
  9147. "get": {
  9148. "security": [
  9149. {
  9150. "ApiKeyAuth": []
  9151. }
  9152. ],
  9153. "produces": [
  9154. "application/json"
  9155. ],
  9156. "tags": [
  9157. "大连千海金"
  9158. ],
  9159. "summary": "查询收货地址信息",
  9160. "parameters": [
  9161. {
  9162. "type": "integer",
  9163. "description": "用户ID",
  9164. "name": "userid",
  9165. "in": "query",
  9166. "required": true
  9167. }
  9168. ],
  9169. "responses": {
  9170. "200": {
  9171. "description": "OK",
  9172. "schema": {
  9173. "type": "array",
  9174. "items": {
  9175. "$ref": "#/definitions/models.UserReceiveInfo"
  9176. }
  9177. }
  9178. },
  9179. "500": {
  9180. "description": "Internal Server Error",
  9181. "schema": {
  9182. "$ref": "#/definitions/app.Response"
  9183. }
  9184. }
  9185. }
  9186. }
  9187. },
  9188. "/QhjMgr/QueryAccountInOutApply": {
  9189. "get": {
  9190. "security": [
  9191. {
  9192. "ApiKeyAuth": []
  9193. }
  9194. ],
  9195. "produces": [
  9196. "application/json"
  9197. ],
  9198. "tags": [
  9199. "大连千海金(PCWeb)"
  9200. ],
  9201. "summary": "查询充值提现",
  9202. "parameters": [
  9203. {
  9204. "type": "integer",
  9205. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9206. "name": "querytype",
  9207. "in": "query",
  9208. "required": true
  9209. },
  9210. {
  9211. "type": "integer",
  9212. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9213. "name": "applystatus",
  9214. "in": "query"
  9215. },
  9216. {
  9217. "type": "string",
  9218. "description": "申请起始日期(格式yyyymmdd)",
  9219. "name": "begindate",
  9220. "in": "query"
  9221. },
  9222. {
  9223. "type": "string",
  9224. "description": "申请截止日期(格式yyyymmdd)",
  9225. "name": "enddate",
  9226. "in": "query"
  9227. },
  9228. {
  9229. "type": "string",
  9230. "description": "模糊搜索名称",
  9231. "name": "likename",
  9232. "in": "query"
  9233. }
  9234. ],
  9235. "responses": {
  9236. "200": {
  9237. "description": "OK",
  9238. "schema": {
  9239. "type": "array",
  9240. "items": {
  9241. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  9242. }
  9243. }
  9244. },
  9245. "500": {
  9246. "description": "Internal Server Error",
  9247. "schema": {
  9248. "$ref": "#/definitions/app.Response"
  9249. }
  9250. }
  9251. }
  9252. }
  9253. },
  9254. "/QhjMgr/QueryBrokerApply": {
  9255. "get": {
  9256. "security": [
  9257. {
  9258. "ApiKeyAuth": []
  9259. }
  9260. ],
  9261. "produces": [
  9262. "application/json"
  9263. ],
  9264. "tags": [
  9265. "大连千海金(PCWeb)"
  9266. ],
  9267. "summary": "查询经纪人申请",
  9268. "parameters": [
  9269. {
  9270. "type": "integer",
  9271. "description": "所属机构ID",
  9272. "name": "userid",
  9273. "in": "query"
  9274. },
  9275. {
  9276. "type": "string",
  9277. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9278. "name": "filterstatus",
  9279. "in": "query"
  9280. },
  9281. {
  9282. "type": "string",
  9283. "description": "名称(模糊匹配)",
  9284. "name": "filtername",
  9285. "in": "query"
  9286. },
  9287. {
  9288. "type": "integer",
  9289. "description": "是否包含子级 1-包含",
  9290. "name": "includesub",
  9291. "in": "query"
  9292. }
  9293. ],
  9294. "responses": {
  9295. "200": {
  9296. "description": "OK",
  9297. "schema": {
  9298. "type": "array",
  9299. "items": {
  9300. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  9301. }
  9302. }
  9303. },
  9304. "500": {
  9305. "description": "Internal Server Error",
  9306. "schema": {
  9307. "$ref": "#/definitions/app.Response"
  9308. }
  9309. }
  9310. }
  9311. }
  9312. },
  9313. "/QhjMgr/QueryBrokerRewardReport": {
  9314. "get": {
  9315. "security": [
  9316. {
  9317. "ApiKeyAuth": []
  9318. }
  9319. ],
  9320. "produces": [
  9321. "application/json"
  9322. ],
  9323. "tags": [
  9324. "大连千海金(PCWeb)"
  9325. ],
  9326. "summary": "查询经纪人奖励报表(废弃)",
  9327. "parameters": [
  9328. {
  9329. "type": "integer",
  9330. "description": "所属机构ID",
  9331. "name": "userid",
  9332. "in": "query",
  9333. "required": true
  9334. },
  9335. {
  9336. "type": "integer",
  9337. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9338. "name": "cycletype",
  9339. "in": "query",
  9340. "required": true
  9341. },
  9342. {
  9343. "type": "string",
  9344. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  9345. "name": "cycletime",
  9346. "in": "query",
  9347. "required": true
  9348. },
  9349. {
  9350. "type": "string",
  9351. "description": "名称(模糊匹配)",
  9352. "name": "filtername",
  9353. "in": "query"
  9354. },
  9355. {
  9356. "type": "integer",
  9357. "description": "是否包含子级 1-包含",
  9358. "name": "includesub",
  9359. "in": "query"
  9360. }
  9361. ],
  9362. "responses": {
  9363. "200": {
  9364. "description": "OK",
  9365. "schema": {
  9366. "type": "array",
  9367. "items": {
  9368. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  9369. }
  9370. }
  9371. },
  9372. "500": {
  9373. "description": "Internal Server Error",
  9374. "schema": {
  9375. "$ref": "#/definitions/app.Response"
  9376. }
  9377. }
  9378. }
  9379. }
  9380. },
  9381. "/QhjMgr/QueryContract": {
  9382. "get": {
  9383. "security": [
  9384. {
  9385. "ApiKeyAuth": []
  9386. }
  9387. ],
  9388. "produces": [
  9389. "application/json"
  9390. ],
  9391. "tags": [
  9392. "大连千海金(PCWeb)"
  9393. ],
  9394. "summary": "查询融资信息(合同)",
  9395. "parameters": [
  9396. {
  9397. "type": "integer",
  9398. "description": "用户ID",
  9399. "name": "userid",
  9400. "in": "query"
  9401. },
  9402. {
  9403. "type": "integer",
  9404. "description": "商品id",
  9405. "name": "goodsid",
  9406. "in": "query"
  9407. },
  9408. {
  9409. "type": "string",
  9410. "description": "名称(模糊搜索账户)",
  9411. "name": "filtername",
  9412. "in": "query"
  9413. },
  9414. {
  9415. "type": "string",
  9416. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  9417. "name": "risklevel",
  9418. "in": "query"
  9419. },
  9420. {
  9421. "type": "string",
  9422. "description": "开始交易日(yyyymmdd)",
  9423. "name": "begindate",
  9424. "in": "query"
  9425. },
  9426. {
  9427. "type": "string",
  9428. "description": "结束交易日(yyyymmdd)",
  9429. "name": "enddate",
  9430. "in": "query"
  9431. }
  9432. ],
  9433. "responses": {
  9434. "200": {
  9435. "description": "OK",
  9436. "schema": {
  9437. "type": "array",
  9438. "items": {
  9439. "$ref": "#/definitions/models.QhjMgrContract"
  9440. }
  9441. }
  9442. },
  9443. "500": {
  9444. "description": "Internal Server Error",
  9445. "schema": {
  9446. "$ref": "#/definitions/app.Response"
  9447. }
  9448. }
  9449. }
  9450. }
  9451. },
  9452. "/QhjMgr/QueryCustomerInfo": {
  9453. "get": {
  9454. "security": [
  9455. {
  9456. "ApiKeyAuth": []
  9457. }
  9458. ],
  9459. "produces": [
  9460. "application/json"
  9461. ],
  9462. "tags": [
  9463. "大连千海金(PCWeb)"
  9464. ],
  9465. "summary": "查询客户资料",
  9466. "parameters": [
  9467. {
  9468. "type": "integer",
  9469. "description": "用户ID",
  9470. "name": "userid",
  9471. "in": "query",
  9472. "required": true
  9473. },
  9474. {
  9475. "type": "integer",
  9476. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9477. "name": "querytype",
  9478. "in": "query",
  9479. "required": true
  9480. },
  9481. {
  9482. "type": "integer",
  9483. "description": "客户类型 1-个人 2-企业",
  9484. "name": "userinfotype",
  9485. "in": "query"
  9486. },
  9487. {
  9488. "type": "string",
  9489. "description": "客户名称(模糊匹配)",
  9490. "name": "customername",
  9491. "in": "query"
  9492. },
  9493. {
  9494. "type": "string",
  9495. "description": "昵称(模糊匹配)",
  9496. "name": "nickname",
  9497. "in": "query"
  9498. },
  9499. {
  9500. "type": "string",
  9501. "description": "所属客户经理(模糊匹配)",
  9502. "name": "brokername",
  9503. "in": "query"
  9504. },
  9505. {
  9506. "type": "string",
  9507. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  9508. "name": "birthday",
  9509. "in": "query"
  9510. },
  9511. {
  9512. "type": "integer",
  9513. "description": "是否包含子级 1-包含",
  9514. "name": "includesub",
  9515. "in": "query"
  9516. }
  9517. ],
  9518. "responses": {
  9519. "200": {
  9520. "description": "OK",
  9521. "schema": {
  9522. "type": "array",
  9523. "items": {
  9524. "$ref": "#/definitions/models.QhjMgrCustomer"
  9525. }
  9526. }
  9527. },
  9528. "500": {
  9529. "description": "Internal Server Error",
  9530. "schema": {
  9531. "$ref": "#/definitions/app.Response"
  9532. }
  9533. }
  9534. }
  9535. }
  9536. },
  9537. "/QhjMgr/QueryPickGoods": {
  9538. "get": {
  9539. "security": [
  9540. {
  9541. "ApiKeyAuth": []
  9542. }
  9543. ],
  9544. "produces": [
  9545. "application/json"
  9546. ],
  9547. "tags": [
  9548. "大连千海金(PCWeb)"
  9549. ],
  9550. "summary": "查询提货商品",
  9551. "parameters": [
  9552. {
  9553. "type": "string",
  9554. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9555. "name": "status",
  9556. "in": "query"
  9557. }
  9558. ],
  9559. "responses": {
  9560. "200": {
  9561. "description": "OK",
  9562. "schema": {
  9563. "type": "array",
  9564. "items": {
  9565. "$ref": "#/definitions/models.QhjMgrPickGoods"
  9566. }
  9567. }
  9568. },
  9569. "500": {
  9570. "description": "Internal Server Error",
  9571. "schema": {
  9572. "$ref": "#/definitions/app.Response"
  9573. }
  9574. }
  9575. }
  9576. }
  9577. },
  9578. "/QhjMgr/QuerySubArea": {
  9579. "get": {
  9580. "security": [
  9581. {
  9582. "ApiKeyAuth": []
  9583. }
  9584. ],
  9585. "produces": [
  9586. "application/json"
  9587. ],
  9588. "tags": [
  9589. "大连千海金(PCWeb)"
  9590. ],
  9591. "summary": "查询子机构列表",
  9592. "parameters": [
  9593. {
  9594. "type": "integer",
  9595. "description": "用户ID",
  9596. "name": "userid",
  9597. "in": "query",
  9598. "required": true
  9599. }
  9600. ],
  9601. "responses": {
  9602. "200": {
  9603. "description": "OK",
  9604. "schema": {
  9605. "type": "array",
  9606. "items": {
  9607. "$ref": "#/definitions/models.QhjMgrSubArea"
  9608. }
  9609. }
  9610. },
  9611. "500": {
  9612. "description": "Internal Server Error",
  9613. "schema": {
  9614. "$ref": "#/definitions/app.Response"
  9615. }
  9616. }
  9617. }
  9618. }
  9619. },
  9620. "/QhjMgr/QueryTradeDetail": {
  9621. "get": {
  9622. "security": [
  9623. {
  9624. "ApiKeyAuth": []
  9625. }
  9626. ],
  9627. "produces": [
  9628. "application/json"
  9629. ],
  9630. "tags": [
  9631. "大连千海金(PCWeb)"
  9632. ],
  9633. "summary": "查询成交明细",
  9634. "parameters": [
  9635. {
  9636. "type": "integer",
  9637. "description": "用户ID",
  9638. "name": "userid",
  9639. "in": "query",
  9640. "required": true
  9641. },
  9642. {
  9643. "type": "integer",
  9644. "description": "用户类型 1-个人 2-企业",
  9645. "name": "userinfotype",
  9646. "in": "query"
  9647. },
  9648. {
  9649. "type": "integer",
  9650. "description": "交易模式",
  9651. "name": "trademode",
  9652. "in": "query"
  9653. },
  9654. {
  9655. "type": "integer",
  9656. "description": "商品id",
  9657. "name": "goodsid",
  9658. "in": "query"
  9659. },
  9660. {
  9661. "type": "string",
  9662. "description": "名称(模糊搜索账户)",
  9663. "name": "filtername",
  9664. "in": "query"
  9665. },
  9666. {
  9667. "type": "string",
  9668. "description": "开始交易日(yyyymmdd)",
  9669. "name": "begindate",
  9670. "in": "query"
  9671. },
  9672. {
  9673. "type": "string",
  9674. "description": "结束交易日(yyyymmdd)",
  9675. "name": "enddate",
  9676. "in": "query"
  9677. },
  9678. {
  9679. "type": "integer",
  9680. "description": "是否包含子级 1-包含",
  9681. "name": "includesub",
  9682. "in": "query"
  9683. }
  9684. ],
  9685. "responses": {
  9686. "200": {
  9687. "description": "OK",
  9688. "schema": {
  9689. "type": "array",
  9690. "items": {
  9691. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9692. }
  9693. }
  9694. },
  9695. "500": {
  9696. "description": "Internal Server Error",
  9697. "schema": {
  9698. "$ref": "#/definitions/app.Response"
  9699. }
  9700. }
  9701. }
  9702. }
  9703. },
  9704. "/QhjMgr/QueryTradeOrderDetail": {
  9705. "get": {
  9706. "security": [
  9707. {
  9708. "ApiKeyAuth": []
  9709. }
  9710. ],
  9711. "produces": [
  9712. "application/json"
  9713. ],
  9714. "tags": [
  9715. "大连千海金(PCWeb)"
  9716. ],
  9717. "summary": "查询委托明细",
  9718. "parameters": [
  9719. {
  9720. "type": "integer",
  9721. "description": "用户ID",
  9722. "name": "userid",
  9723. "in": "query",
  9724. "required": true
  9725. },
  9726. {
  9727. "type": "integer",
  9728. "description": "用户类型 1-个人 2-企业",
  9729. "name": "userinfotype",
  9730. "in": "query"
  9731. },
  9732. {
  9733. "type": "integer",
  9734. "description": "交易模式",
  9735. "name": "trademode",
  9736. "in": "query"
  9737. },
  9738. {
  9739. "type": "integer",
  9740. "description": "商品id",
  9741. "name": "goodsid",
  9742. "in": "query"
  9743. },
  9744. {
  9745. "type": "string",
  9746. "description": "名称(模糊搜索账户)",
  9747. "name": "filtername",
  9748. "in": "query"
  9749. },
  9750. {
  9751. "type": "string",
  9752. "description": "开始交易日(yyyymmdd)",
  9753. "name": "begindate",
  9754. "in": "query"
  9755. },
  9756. {
  9757. "type": "string",
  9758. "description": "结束交易日(yyyymmdd)",
  9759. "name": "enddate",
  9760. "in": "query"
  9761. },
  9762. {
  9763. "type": "integer",
  9764. "description": "是否包含子级 1-包含",
  9765. "name": "includesub",
  9766. "in": "query"
  9767. }
  9768. ],
  9769. "responses": {
  9770. "200": {
  9771. "description": "OK",
  9772. "schema": {
  9773. "type": "array",
  9774. "items": {
  9775. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9776. }
  9777. }
  9778. },
  9779. "500": {
  9780. "description": "Internal Server Error",
  9781. "schema": {
  9782. "$ref": "#/definitions/app.Response"
  9783. }
  9784. }
  9785. }
  9786. }
  9787. },
  9788. "/QhjMgr/QueryTradePayOrder": {
  9789. "get": {
  9790. "security": [
  9791. {
  9792. "ApiKeyAuth": []
  9793. }
  9794. ],
  9795. "produces": [
  9796. "application/json"
  9797. ],
  9798. "tags": [
  9799. "大连千海金(PCWeb)"
  9800. ],
  9801. "summary": "查询待付款单",
  9802. "parameters": [
  9803. {
  9804. "type": "integer",
  9805. "description": "用户ID",
  9806. "name": "userid",
  9807. "in": "query",
  9808. "required": true
  9809. },
  9810. {
  9811. "type": "string",
  9812. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9813. "name": "payflag",
  9814. "in": "query"
  9815. },
  9816. {
  9817. "type": "integer",
  9818. "description": "用户类型 1-个人 2-企业",
  9819. "name": "userinfotype",
  9820. "in": "query"
  9821. },
  9822. {
  9823. "type": "integer",
  9824. "description": "交易模式",
  9825. "name": "trademode",
  9826. "in": "query"
  9827. },
  9828. {
  9829. "type": "integer",
  9830. "description": "商品id",
  9831. "name": "goodsid",
  9832. "in": "query"
  9833. },
  9834. {
  9835. "type": "string",
  9836. "description": "名称(模糊搜索账户)",
  9837. "name": "filtername",
  9838. "in": "query"
  9839. },
  9840. {
  9841. "type": "string",
  9842. "description": "开始交易日(yyyymmdd)",
  9843. "name": "begindate",
  9844. "in": "query"
  9845. },
  9846. {
  9847. "type": "string",
  9848. "description": "结束交易日(yyyymmdd)",
  9849. "name": "enddate",
  9850. "in": "query"
  9851. },
  9852. {
  9853. "type": "integer",
  9854. "description": "是否包含子级 1-包含",
  9855. "name": "includesub",
  9856. "in": "query"
  9857. }
  9858. ],
  9859. "responses": {
  9860. "200": {
  9861. "description": "OK",
  9862. "schema": {
  9863. "type": "array",
  9864. "items": {
  9865. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9866. }
  9867. }
  9868. },
  9869. "500": {
  9870. "description": "Internal Server Error",
  9871. "schema": {
  9872. "$ref": "#/definitions/app.Response"
  9873. }
  9874. }
  9875. }
  9876. }
  9877. },
  9878. "/QhjMgr/QueryTradePosition": {
  9879. "get": {
  9880. "security": [
  9881. {
  9882. "ApiKeyAuth": []
  9883. }
  9884. ],
  9885. "produces": [
  9886. "application/json"
  9887. ],
  9888. "tags": [
  9889. "大连千海金(PCWeb)"
  9890. ],
  9891. "summary": "查询持仓汇总",
  9892. "parameters": [
  9893. {
  9894. "type": "integer",
  9895. "description": "用户ID",
  9896. "name": "userid",
  9897. "in": "query",
  9898. "required": true
  9899. },
  9900. {
  9901. "type": "integer",
  9902. "description": "用户类型 1-个人 2-企业",
  9903. "name": "userinfotype",
  9904. "in": "query"
  9905. },
  9906. {
  9907. "type": "integer",
  9908. "description": "交易模式",
  9909. "name": "trademode",
  9910. "in": "query"
  9911. },
  9912. {
  9913. "type": "integer",
  9914. "description": "商品id",
  9915. "name": "goodsid",
  9916. "in": "query"
  9917. },
  9918. {
  9919. "type": "string",
  9920. "description": "名称(模糊搜索账户)",
  9921. "name": "filtername",
  9922. "in": "query"
  9923. },
  9924. {
  9925. "type": "integer",
  9926. "description": "是否包含子级 1-包含",
  9927. "name": "includesub",
  9928. "in": "query"
  9929. }
  9930. ],
  9931. "responses": {
  9932. "200": {
  9933. "description": "OK",
  9934. "schema": {
  9935. "type": "array",
  9936. "items": {
  9937. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9938. }
  9939. }
  9940. },
  9941. "500": {
  9942. "description": "Internal Server Error",
  9943. "schema": {
  9944. "$ref": "#/definitions/app.Response"
  9945. }
  9946. }
  9947. }
  9948. }
  9949. },
  9950. "/QhjSys/QueryAgreementChangeLog": {
  9951. "get": {
  9952. "security": [
  9953. {
  9954. "ApiKeyAuth": []
  9955. }
  9956. ],
  9957. "produces": [
  9958. "application/json"
  9959. ],
  9960. "tags": [
  9961. "大连千海金(协议和签约信息)"
  9962. ],
  9963. "summary": "查询协议配置变更流水",
  9964. "parameters": [
  9965. {
  9966. "type": "integer",
  9967. "description": "协议ID",
  9968. "name": "agreementid",
  9969. "in": "query"
  9970. },
  9971. {
  9972. "type": "integer",
  9973. "description": "协议版本号",
  9974. "name": "agreementversion",
  9975. "in": "query"
  9976. },
  9977. {
  9978. "type": "integer",
  9979. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9980. "name": "agreementtype",
  9981. "in": "query"
  9982. },
  9983. {
  9984. "type": "string",
  9985. "description": "协议编号(模糊匹配)",
  9986. "name": "agreementno",
  9987. "in": "query"
  9988. },
  9989. {
  9990. "type": "string",
  9991. "description": "协议名称(模糊匹配)",
  9992. "name": "agreementname",
  9993. "in": "query"
  9994. }
  9995. ],
  9996. "responses": {
  9997. "200": {
  9998. "description": "OK",
  9999. "schema": {
  10000. "type": "array",
  10001. "items": {
  10002. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  10003. }
  10004. }
  10005. },
  10006. "500": {
  10007. "description": "Internal Server Error",
  10008. "schema": {
  10009. "$ref": "#/definitions/app.Response"
  10010. }
  10011. }
  10012. }
  10013. }
  10014. },
  10015. "/QhjSys/QueryAgreementConfig": {
  10016. "get": {
  10017. "security": [
  10018. {
  10019. "ApiKeyAuth": []
  10020. }
  10021. ],
  10022. "produces": [
  10023. "application/json"
  10024. ],
  10025. "tags": [
  10026. "大连千海金(协议和签约信息)"
  10027. ],
  10028. "summary": "查询协议配置",
  10029. "parameters": [
  10030. {
  10031. "type": "integer",
  10032. "description": "协议ID",
  10033. "name": "agreementid",
  10034. "in": "query"
  10035. },
  10036. {
  10037. "type": "integer",
  10038. "description": "协议版本号",
  10039. "name": "agreementversion",
  10040. "in": "query"
  10041. },
  10042. {
  10043. "type": "integer",
  10044. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10045. "name": "agreementtype",
  10046. "in": "query"
  10047. },
  10048. {
  10049. "type": "integer",
  10050. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  10051. "name": "isvalid",
  10052. "in": "query"
  10053. },
  10054. {
  10055. "type": "string",
  10056. "description": "协议编号(模糊匹配)",
  10057. "name": "agreementno",
  10058. "in": "query"
  10059. },
  10060. {
  10061. "type": "string",
  10062. "description": "协议名称(模糊匹配)",
  10063. "name": "agreementname",
  10064. "in": "query"
  10065. }
  10066. ],
  10067. "responses": {
  10068. "200": {
  10069. "description": "OK",
  10070. "schema": {
  10071. "type": "array",
  10072. "items": {
  10073. "$ref": "#/definitions/models.QhjAgreementConfig"
  10074. }
  10075. }
  10076. },
  10077. "500": {
  10078. "description": "Internal Server Error",
  10079. "schema": {
  10080. "$ref": "#/definitions/app.Response"
  10081. }
  10082. }
  10083. }
  10084. }
  10085. },
  10086. "/QhjSys/QueryCustomerSignStatus": {
  10087. "get": {
  10088. "security": [
  10089. {
  10090. "ApiKeyAuth": []
  10091. }
  10092. ],
  10093. "produces": [
  10094. "application/json"
  10095. ],
  10096. "tags": [
  10097. "大连千海金(协议和签约信息)"
  10098. ],
  10099. "summary": "查询客户协议签约状态",
  10100. "parameters": [
  10101. {
  10102. "type": "integer",
  10103. "description": "客户ID",
  10104. "name": "userid",
  10105. "in": "query"
  10106. },
  10107. {
  10108. "type": "integer",
  10109. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  10110. "name": "nodetype",
  10111. "in": "query"
  10112. },
  10113. {
  10114. "type": "integer",
  10115. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10116. "name": "goodsid",
  10117. "in": "query"
  10118. },
  10119. {
  10120. "type": "string",
  10121. "description": "创建交易日(yyyyMMdd)",
  10122. "name": "tradedate",
  10123. "in": "query"
  10124. },
  10125. {
  10126. "type": "string",
  10127. "description": "用户名称(模糊匹配)",
  10128. "name": "username",
  10129. "in": "query"
  10130. }
  10131. ],
  10132. "responses": {
  10133. "200": {
  10134. "description": "OK",
  10135. "schema": {
  10136. "type": "array",
  10137. "items": {
  10138. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  10139. }
  10140. }
  10141. },
  10142. "500": {
  10143. "description": "Internal Server Error",
  10144. "schema": {
  10145. "$ref": "#/definitions/app.Response"
  10146. }
  10147. }
  10148. }
  10149. }
  10150. },
  10151. "/QhjSys/QueryNodeAgreementConfig": {
  10152. "get": {
  10153. "security": [
  10154. {
  10155. "ApiKeyAuth": []
  10156. }
  10157. ],
  10158. "produces": [
  10159. "application/json"
  10160. ],
  10161. "tags": [
  10162. "大连千海金(协议和签约信息)"
  10163. ],
  10164. "summary": "查询协议节点配置",
  10165. "parameters": [
  10166. {
  10167. "type": "integer",
  10168. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10169. "name": "configid",
  10170. "in": "query"
  10171. },
  10172. {
  10173. "type": "integer",
  10174. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10175. "name": "nodetype",
  10176. "in": "query"
  10177. },
  10178. {
  10179. "type": "integer",
  10180. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10181. "name": "goodsid",
  10182. "in": "query"
  10183. },
  10184. {
  10185. "type": "integer",
  10186. "description": "协议ID",
  10187. "name": "agreementid",
  10188. "in": "query"
  10189. },
  10190. {
  10191. "type": "integer",
  10192. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10193. "name": "agreementtype",
  10194. "in": "query"
  10195. },
  10196. {
  10197. "type": "integer",
  10198. "description": "协议版本号",
  10199. "name": "agreementversion",
  10200. "in": "query"
  10201. },
  10202. {
  10203. "type": "string",
  10204. "description": "协议编号(模糊匹配)",
  10205. "name": "agreementno",
  10206. "in": "query"
  10207. },
  10208. {
  10209. "type": "string",
  10210. "description": "协议名称(模糊匹配)",
  10211. "name": "agreementname",
  10212. "in": "query"
  10213. }
  10214. ],
  10215. "responses": {
  10216. "200": {
  10217. "description": "OK",
  10218. "schema": {
  10219. "type": "array",
  10220. "items": {
  10221. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  10222. }
  10223. }
  10224. },
  10225. "500": {
  10226. "description": "Internal Server Error",
  10227. "schema": {
  10228. "$ref": "#/definitions/app.Response"
  10229. }
  10230. }
  10231. }
  10232. }
  10233. },
  10234. "/QhjSys/QueryQhjCustomerSignLog": {
  10235. "get": {
  10236. "security": [
  10237. {
  10238. "ApiKeyAuth": []
  10239. }
  10240. ],
  10241. "produces": [
  10242. "application/json"
  10243. ],
  10244. "tags": [
  10245. "大连千海金(协议和签约信息)"
  10246. ],
  10247. "summary": "查询客户协议签约流水",
  10248. "parameters": [
  10249. {
  10250. "type": "integer",
  10251. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  10252. "name": "logid",
  10253. "in": "query"
  10254. },
  10255. {
  10256. "type": "integer",
  10257. "description": "客户ID",
  10258. "name": "userid",
  10259. "in": "query"
  10260. },
  10261. {
  10262. "type": "integer",
  10263. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10264. "name": "nodetype",
  10265. "in": "query"
  10266. },
  10267. {
  10268. "type": "integer",
  10269. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10270. "name": "goodsid",
  10271. "in": "query"
  10272. },
  10273. {
  10274. "type": "integer",
  10275. "description": "协议ID",
  10276. "name": "agreementid",
  10277. "in": "query"
  10278. },
  10279. {
  10280. "type": "string",
  10281. "description": "用户名称(模糊匹配)",
  10282. "name": "username",
  10283. "in": "query"
  10284. },
  10285. {
  10286. "type": "string",
  10287. "description": "协议编号(模糊匹配)",
  10288. "name": "agreementno",
  10289. "in": "query"
  10290. },
  10291. {
  10292. "type": "string",
  10293. "description": "协议名称(模糊匹配)",
  10294. "name": "agreementname",
  10295. "in": "query"
  10296. }
  10297. ],
  10298. "responses": {
  10299. "200": {
  10300. "description": "OK",
  10301. "schema": {
  10302. "type": "array",
  10303. "items": {
  10304. "$ref": "#/definitions/models.QhjCustomerSignLog"
  10305. }
  10306. }
  10307. },
  10308. "500": {
  10309. "description": "Internal Server Error",
  10310. "schema": {
  10311. "$ref": "#/definitions/app.Response"
  10312. }
  10313. }
  10314. }
  10315. }
  10316. },
  10317. "/QhjSys/QueryUserNodeCfgAndStatus": {
  10318. "get": {
  10319. "security": [
  10320. {
  10321. "ApiKeyAuth": []
  10322. }
  10323. ],
  10324. "produces": [
  10325. "application/json"
  10326. ],
  10327. "tags": [
  10328. "大连千海金(协议和签约信息)"
  10329. ],
  10330. "summary": "查询用户协议节点配置和状态",
  10331. "parameters": [
  10332. {
  10333. "type": "integer",
  10334. "description": "客户ID",
  10335. "name": "userid",
  10336. "in": "query"
  10337. },
  10338. {
  10339. "type": "integer",
  10340. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10341. "name": "configid",
  10342. "in": "query"
  10343. },
  10344. {
  10345. "type": "string",
  10346. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10347. "name": "nodetype",
  10348. "in": "query"
  10349. },
  10350. {
  10351. "type": "integer",
  10352. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10353. "name": "goodsid",
  10354. "in": "query"
  10355. },
  10356. {
  10357. "type": "integer",
  10358. "description": "协议ID",
  10359. "name": "agreementid",
  10360. "in": "query"
  10361. },
  10362. {
  10363. "type": "integer",
  10364. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10365. "name": "agreementtype",
  10366. "in": "query"
  10367. },
  10368. {
  10369. "type": "integer",
  10370. "description": "协议版本号",
  10371. "name": "agreementversion",
  10372. "in": "query"
  10373. },
  10374. {
  10375. "type": "string",
  10376. "description": "协议编号(模糊匹配)",
  10377. "name": "agreementno",
  10378. "in": "query"
  10379. },
  10380. {
  10381. "type": "string",
  10382. "description": "协议名称(模糊匹配)",
  10383. "name": "agreementname",
  10384. "in": "query"
  10385. }
  10386. ],
  10387. "responses": {
  10388. "200": {
  10389. "description": "OK",
  10390. "schema": {
  10391. "type": "array",
  10392. "items": {
  10393. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  10394. }
  10395. }
  10396. },
  10397. "500": {
  10398. "description": "Internal Server Error",
  10399. "schema": {
  10400. "$ref": "#/definitions/app.Response"
  10401. }
  10402. }
  10403. }
  10404. }
  10405. },
  10406. "/Quote/QueryHistoryDatas": {
  10407. "get": {
  10408. "security": [
  10409. {
  10410. "ApiKeyAuth": []
  10411. }
  10412. ],
  10413. "produces": [
  10414. "application/json"
  10415. ],
  10416. "tags": [
  10417. "行情服务"
  10418. ],
  10419. "summary": "查询行情历史数据",
  10420. "parameters": [
  10421. {
  10422. "type": "integer",
  10423. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  10424. "name": "cycleType",
  10425. "in": "query",
  10426. "required": true
  10427. },
  10428. {
  10429. "type": "string",
  10430. "description": "商品代码",
  10431. "name": "goodsCode",
  10432. "in": "query",
  10433. "required": true
  10434. },
  10435. {
  10436. "type": "string",
  10437. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10438. "name": "startTime",
  10439. "in": "query"
  10440. },
  10441. {
  10442. "type": "string",
  10443. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10444. "name": "endTime",
  10445. "in": "query"
  10446. },
  10447. {
  10448. "type": "integer",
  10449. "description": "条数",
  10450. "name": "count",
  10451. "in": "query"
  10452. },
  10453. {
  10454. "type": "boolean",
  10455. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10456. "name": "isAsc",
  10457. "in": "query"
  10458. }
  10459. ],
  10460. "responses": {
  10461. "200": {
  10462. "description": "OK",
  10463. "schema": {
  10464. "$ref": "#/definitions/quote.HistoryData"
  10465. }
  10466. },
  10467. "500": {
  10468. "description": "Internal Server Error",
  10469. "schema": {
  10470. "$ref": "#/definitions/app.Response"
  10471. }
  10472. }
  10473. }
  10474. }
  10475. },
  10476. "/Quote/QueryHistoryTikDatas": {
  10477. "get": {
  10478. "security": [
  10479. {
  10480. "ApiKeyAuth": []
  10481. }
  10482. ],
  10483. "produces": [
  10484. "application/json"
  10485. ],
  10486. "tags": [
  10487. "行情服务"
  10488. ],
  10489. "summary": "查询行情Tik数据",
  10490. "parameters": [
  10491. {
  10492. "type": "string",
  10493. "description": "商品代码",
  10494. "name": "goodsCode",
  10495. "in": "query",
  10496. "required": true
  10497. },
  10498. {
  10499. "type": "string",
  10500. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10501. "name": "startTime",
  10502. "in": "query"
  10503. },
  10504. {
  10505. "type": "string",
  10506. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10507. "name": "endTime",
  10508. "in": "query"
  10509. },
  10510. {
  10511. "type": "integer",
  10512. "description": "条数",
  10513. "name": "count",
  10514. "in": "query"
  10515. },
  10516. {
  10517. "type": "boolean",
  10518. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10519. "name": "isAsc",
  10520. "in": "query"
  10521. }
  10522. ],
  10523. "responses": {
  10524. "200": {
  10525. "description": "OK",
  10526. "schema": {
  10527. "$ref": "#/definitions/quote.HistoryTikData"
  10528. }
  10529. },
  10530. "500": {
  10531. "description": "Internal Server Error",
  10532. "schema": {
  10533. "$ref": "#/definitions/app.Response"
  10534. }
  10535. }
  10536. }
  10537. }
  10538. },
  10539. "/Quote/QueryQuoteDay": {
  10540. "get": {
  10541. "security": [
  10542. {
  10543. "ApiKeyAuth": []
  10544. }
  10545. ],
  10546. "produces": [
  10547. "application/json"
  10548. ],
  10549. "tags": [
  10550. "行情服务"
  10551. ],
  10552. "summary": "获取商品盘面信息",
  10553. "parameters": [
  10554. {
  10555. "type": "string",
  10556. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  10557. "name": "goodsCodes",
  10558. "in": "query"
  10559. }
  10560. ],
  10561. "responses": {
  10562. "200": {
  10563. "description": "OK",
  10564. "schema": {
  10565. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  10566. }
  10567. },
  10568. "500": {
  10569. "description": "Internal Server Error",
  10570. "schema": {
  10571. "$ref": "#/definitions/app.Response"
  10572. }
  10573. }
  10574. }
  10575. }
  10576. },
  10577. "/Quote/QueryTSData": {
  10578. "get": {
  10579. "security": [
  10580. {
  10581. "ApiKeyAuth": []
  10582. }
  10583. ],
  10584. "produces": [
  10585. "application/json"
  10586. ],
  10587. "tags": [
  10588. "行情服务"
  10589. ],
  10590. "summary": "分时图数据查询",
  10591. "parameters": [
  10592. {
  10593. "type": "string",
  10594. "description": "商品代码",
  10595. "name": "goodsCode",
  10596. "in": "query",
  10597. "required": true
  10598. }
  10599. ],
  10600. "responses": {
  10601. "200": {
  10602. "description": "OK",
  10603. "schema": {
  10604. "$ref": "#/definitions/quote.QueryTSDataRsp"
  10605. }
  10606. },
  10607. "500": {
  10608. "description": "Internal Server Error",
  10609. "schema": {
  10610. "$ref": "#/definitions/app.Response"
  10611. }
  10612. }
  10613. }
  10614. }
  10615. },
  10616. "/SZDZ/QueryConvertConfig": {
  10617. "get": {
  10618. "security": [
  10619. {
  10620. "ApiKeyAuth": []
  10621. }
  10622. ],
  10623. "produces": [
  10624. "application/json"
  10625. ],
  10626. "tags": [
  10627. "定制【尚志大宗】"
  10628. ],
  10629. "summary": "查询交易系统转换设置",
  10630. "parameters": [
  10631. {
  10632. "type": "integer",
  10633. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10634. "name": "convertType",
  10635. "in": "query"
  10636. },
  10637. {
  10638. "type": "string",
  10639. "description": "外部商品代码[JD\\PD]",
  10640. "name": "outerGoodsCode",
  10641. "in": "query"
  10642. },
  10643. {
  10644. "type": "string",
  10645. "description": "内部商品ID列表[交易],格式:1,2,3",
  10646. "name": "innerGoodsIDs",
  10647. "in": "query"
  10648. }
  10649. ],
  10650. "responses": {
  10651. "200": {
  10652. "description": "OK",
  10653. "schema": {
  10654. "$ref": "#/definitions/models.Szdz3convertconfig"
  10655. }
  10656. },
  10657. "500": {
  10658. "description": "Internal Server Error",
  10659. "schema": {
  10660. "$ref": "#/definitions/app.Response"
  10661. }
  10662. }
  10663. }
  10664. }
  10665. },
  10666. "/SZDZ/QueryConvertLog": {
  10667. "get": {
  10668. "security": [
  10669. {
  10670. "ApiKeyAuth": []
  10671. }
  10672. ],
  10673. "produces": [
  10674. "application/json"
  10675. ],
  10676. "tags": [
  10677. "定制【尚志大宗】"
  10678. ],
  10679. "summary": "交易系统转换流水查询",
  10680. "parameters": [
  10681. {
  10682. "type": "string",
  10683. "description": "资金账户 - 格式:1,2,3",
  10684. "name": "accountID",
  10685. "in": "query",
  10686. "required": true
  10687. },
  10688. {
  10689. "type": "string",
  10690. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10691. "name": "startDate",
  10692. "in": "query"
  10693. },
  10694. {
  10695. "type": "string",
  10696. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10697. "name": "endDate",
  10698. "in": "query"
  10699. }
  10700. ],
  10701. "responses": {
  10702. "200": {
  10703. "description": "OK",
  10704. "schema": {
  10705. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10706. }
  10707. },
  10708. "500": {
  10709. "description": "Internal Server Error",
  10710. "schema": {
  10711. "$ref": "#/definitions/app.Response"
  10712. }
  10713. }
  10714. }
  10715. }
  10716. },
  10717. "/SZDZ/QueryGoodsPickup": {
  10718. "get": {
  10719. "security": [
  10720. {
  10721. "ApiKeyAuth": []
  10722. }
  10723. ],
  10724. "produces": [
  10725. "application/json"
  10726. ],
  10727. "tags": [
  10728. "定制【尚志大宗】"
  10729. ],
  10730. "summary": "商品提货单查询",
  10731. "parameters": [
  10732. {
  10733. "type": "string",
  10734. "description": "资金账户 - 格式:1,2,3",
  10735. "name": "accountID",
  10736. "in": "query",
  10737. "required": true
  10738. },
  10739. {
  10740. "type": "integer",
  10741. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10742. "name": "takeOrderStatus",
  10743. "in": "query"
  10744. }
  10745. ],
  10746. "responses": {
  10747. "200": {
  10748. "description": "OK",
  10749. "schema": {
  10750. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10751. }
  10752. },
  10753. "500": {
  10754. "description": "Internal Server Error",
  10755. "schema": {
  10756. "$ref": "#/definitions/app.Response"
  10757. }
  10758. }
  10759. }
  10760. }
  10761. },
  10762. "/SZDZ/QueryRecieptOrder": {
  10763. "get": {
  10764. "security": [
  10765. {
  10766. "ApiKeyAuth": []
  10767. }
  10768. ],
  10769. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10770. "produces": [
  10771. "application/json"
  10772. ],
  10773. "tags": [
  10774. "定制【尚志大宗】"
  10775. ],
  10776. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10777. "parameters": [
  10778. {
  10779. "type": "integer",
  10780. "description": "页码",
  10781. "name": "page",
  10782. "in": "query"
  10783. },
  10784. {
  10785. "type": "integer",
  10786. "description": "每页条数",
  10787. "name": "pagesize",
  10788. "in": "query"
  10789. },
  10790. {
  10791. "type": "integer",
  10792. "description": "商品ID",
  10793. "name": "goodsID",
  10794. "in": "query",
  10795. "required": true
  10796. },
  10797. {
  10798. "type": "string",
  10799. "description": "所属账户名称",
  10800. "name": "accountName",
  10801. "in": "query"
  10802. },
  10803. {
  10804. "type": "integer",
  10805. "description": "市场ID",
  10806. "name": "marketID",
  10807. "in": "query"
  10808. },
  10809. {
  10810. "type": "integer",
  10811. "description": "方向 - 0:买 1:卖",
  10812. "name": "buyorsell",
  10813. "in": "query",
  10814. "required": true
  10815. }
  10816. ],
  10817. "responses": {
  10818. "200": {
  10819. "description": "OK",
  10820. "schema": {
  10821. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10822. }
  10823. },
  10824. "500": {
  10825. "description": "Internal Server Error",
  10826. "schema": {
  10827. "$ref": "#/definitions/app.Response"
  10828. }
  10829. }
  10830. }
  10831. }
  10832. },
  10833. "/SZDZ/QuerySZDZTradePosition": {
  10834. "get": {
  10835. "security": [
  10836. {
  10837. "ApiKeyAuth": []
  10838. }
  10839. ],
  10840. "produces": [
  10841. "application/json"
  10842. ],
  10843. "tags": [
  10844. "定制【尚志大宗】"
  10845. ],
  10846. "summary": "持仓汇总查询(尚志大宗)",
  10847. "parameters": [
  10848. {
  10849. "type": "integer",
  10850. "description": "资金账户",
  10851. "name": "accountID",
  10852. "in": "query",
  10853. "required": true
  10854. }
  10855. ],
  10856. "responses": {
  10857. "200": {
  10858. "description": "OK",
  10859. "schema": {
  10860. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10861. }
  10862. },
  10863. "500": {
  10864. "description": "Internal Server Error",
  10865. "schema": {
  10866. "$ref": "#/definitions/app.Response"
  10867. }
  10868. }
  10869. }
  10870. }
  10871. },
  10872. "/SZDZ/SearchWhite": {
  10873. "get": {
  10874. "security": [
  10875. {
  10876. "ApiKeyAuth": []
  10877. }
  10878. ],
  10879. "produces": [
  10880. "application/json"
  10881. ],
  10882. "tags": [
  10883. "定制【尚志大宗】"
  10884. ],
  10885. "summary": "搜索白名单",
  10886. "parameters": [
  10887. {
  10888. "type": "integer",
  10889. "description": "用户ID",
  10890. "name": "userID",
  10891. "in": "query",
  10892. "required": true
  10893. }
  10894. ],
  10895. "responses": {
  10896. "200": {
  10897. "description": "OK",
  10898. "schema": {
  10899. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10900. }
  10901. },
  10902. "500": {
  10903. "description": "Internal Server Error",
  10904. "schema": {
  10905. "$ref": "#/definitions/app.Response"
  10906. }
  10907. }
  10908. }
  10909. }
  10910. },
  10911. "/Search/SearchGoodses": {
  10912. "get": {
  10913. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10914. "produces": [
  10915. "application/json"
  10916. ],
  10917. "tags": [
  10918. "检索服务"
  10919. ],
  10920. "summary": "检索商品信息",
  10921. "parameters": [
  10922. {
  10923. "type": "string",
  10924. "description": "检索内容",
  10925. "name": "content",
  10926. "in": "query",
  10927. "required": true
  10928. },
  10929. {
  10930. "type": "string",
  10931. "description": "交易模式,格式:1,2,3",
  10932. "name": "tradeModes",
  10933. "in": "query"
  10934. }
  10935. ],
  10936. "responses": {
  10937. "200": {
  10938. "description": "OK",
  10939. "schema": {
  10940. "$ref": "#/definitions/models.SearchGoods"
  10941. }
  10942. },
  10943. "500": {
  10944. "description": "Internal Server Error",
  10945. "schema": {
  10946. "$ref": "#/definitions/app.Response"
  10947. }
  10948. }
  10949. }
  10950. }
  10951. },
  10952. "/TaAccount/GetTaAccounts": {
  10953. "get": {
  10954. "security": [
  10955. {
  10956. "ApiKeyAuth": []
  10957. }
  10958. ],
  10959. "produces": [
  10960. "application/json"
  10961. ],
  10962. "tags": [
  10963. "资金账户"
  10964. ],
  10965. "summary": "获取资金账户信息",
  10966. "parameters": [
  10967. {
  10968. "type": "integer",
  10969. "description": "登录账户",
  10970. "name": "loginID",
  10971. "in": "query",
  10972. "required": true
  10973. },
  10974. {
  10975. "type": "integer",
  10976. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10977. "name": "taAccountType",
  10978. "in": "query"
  10979. }
  10980. ],
  10981. "responses": {
  10982. "200": {
  10983. "description": "OK",
  10984. "schema": {
  10985. "$ref": "#/definitions/models.Taaccount"
  10986. }
  10987. },
  10988. "500": {
  10989. "description": "Internal Server Error",
  10990. "schema": {
  10991. "$ref": "#/definitions/app.Response"
  10992. }
  10993. }
  10994. }
  10995. }
  10996. },
  10997. "/TaAccount/QueryAmountLog": {
  10998. "get": {
  10999. "security": [
  11000. {
  11001. "ApiKeyAuth": []
  11002. }
  11003. ],
  11004. "produces": [
  11005. "application/json"
  11006. ],
  11007. "tags": [
  11008. "资金账户"
  11009. ],
  11010. "summary": "资金流水查询(当前)",
  11011. "parameters": [
  11012. {
  11013. "type": "integer",
  11014. "description": "页码",
  11015. "name": "page",
  11016. "in": "query"
  11017. },
  11018. {
  11019. "type": "integer",
  11020. "description": "每页条数",
  11021. "name": "pagesize",
  11022. "in": "query"
  11023. },
  11024. {
  11025. "type": "string",
  11026. "description": "资金账户 - 格式:1,2,3",
  11027. "name": "accountID",
  11028. "in": "query",
  11029. "required": true
  11030. },
  11031. {
  11032. "type": "string",
  11033. "description": "资金操作类型 - 格式:1,2,3",
  11034. "name": "OperateType",
  11035. "in": "query"
  11036. }
  11037. ],
  11038. "responses": {
  11039. "200": {
  11040. "description": "OK",
  11041. "schema": {
  11042. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  11043. }
  11044. },
  11045. "500": {
  11046. "description": "Internal Server Error",
  11047. "schema": {
  11048. "$ref": "#/definitions/app.Response"
  11049. }
  11050. }
  11051. }
  11052. }
  11053. },
  11054. "/TaAccount/QueryHisAmountLog": {
  11055. "get": {
  11056. "security": [
  11057. {
  11058. "ApiKeyAuth": []
  11059. }
  11060. ],
  11061. "produces": [
  11062. "application/json"
  11063. ],
  11064. "tags": [
  11065. "资金账户"
  11066. ],
  11067. "summary": "资金流水查询(历史)",
  11068. "parameters": [
  11069. {
  11070. "type": "integer",
  11071. "description": "页码",
  11072. "name": "page",
  11073. "in": "query"
  11074. },
  11075. {
  11076. "type": "integer",
  11077. "description": "每页条数",
  11078. "name": "pagesize",
  11079. "in": "query"
  11080. },
  11081. {
  11082. "type": "string",
  11083. "description": "资金账户 - 格式:1,2,3",
  11084. "name": "accountID",
  11085. "in": "query",
  11086. "required": true
  11087. },
  11088. {
  11089. "type": "string",
  11090. "description": "资金操作类型 - 格式:1,2,3",
  11091. "name": "OperateType",
  11092. "in": "query"
  11093. },
  11094. {
  11095. "type": "string",
  11096. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  11097. "name": "startDate",
  11098. "in": "query"
  11099. },
  11100. {
  11101. "type": "string",
  11102. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  11103. "name": "endDate",
  11104. "in": "query"
  11105. }
  11106. ],
  11107. "responses": {
  11108. "200": {
  11109. "description": "OK",
  11110. "schema": {
  11111. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  11112. }
  11113. },
  11114. "500": {
  11115. "description": "Internal Server Error",
  11116. "schema": {
  11117. "$ref": "#/definitions/app.Response"
  11118. }
  11119. }
  11120. }
  11121. }
  11122. },
  11123. "/Tjmd/QueryQuoteGoodsList": {
  11124. "get": {
  11125. "security": [
  11126. {
  11127. "ApiKeyAuth": []
  11128. }
  11129. ],
  11130. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  11131. "produces": [
  11132. "application/json"
  11133. ],
  11134. "tags": [
  11135. "天津麦顿"
  11136. ],
  11137. "summary": "查询掉期报价列表",
  11138. "parameters": [
  11139. {
  11140. "type": "integer",
  11141. "description": "用户类型",
  11142. "name": "usertype",
  11143. "in": "query",
  11144. "required": true
  11145. },
  11146. {
  11147. "type": "string",
  11148. "description": "市场id, 格式 1,2,3",
  11149. "name": "marketids",
  11150. "in": "query"
  11151. },
  11152. {
  11153. "type": "integer",
  11154. "description": "商品组id",
  11155. "name": "goodsgroupid",
  11156. "in": "query"
  11157. },
  11158. {
  11159. "type": "integer",
  11160. "description": "商品id",
  11161. "name": "goodsid",
  11162. "in": "query"
  11163. }
  11164. ],
  11165. "responses": {
  11166. "200": {
  11167. "description": "OK",
  11168. "schema": {
  11169. "type": "array",
  11170. "items": {
  11171. "$ref": "#/definitions/models.TjmdQuoteGoods"
  11172. }
  11173. }
  11174. },
  11175. "500": {
  11176. "description": "Internal Server Error",
  11177. "schema": {
  11178. "$ref": "#/definitions/app.Response"
  11179. }
  11180. }
  11181. }
  11182. }
  11183. },
  11184. "/Tjmd/QueryTjmdMarketSection": {
  11185. "get": {
  11186. "security": [
  11187. {
  11188. "ApiKeyAuth": []
  11189. }
  11190. ],
  11191. "produces": [
  11192. "application/json"
  11193. ],
  11194. "tags": [
  11195. "天津麦顿"
  11196. ],
  11197. "summary": "查询市场板块",
  11198. "responses": {
  11199. "200": {
  11200. "description": "OK",
  11201. "schema": {
  11202. "type": "array",
  11203. "items": {
  11204. "$ref": "#/definitions/models.TjmdMarketSection"
  11205. }
  11206. }
  11207. },
  11208. "500": {
  11209. "description": "Internal Server Error",
  11210. "schema": {
  11211. "$ref": "#/definitions/app.Response"
  11212. }
  11213. }
  11214. }
  11215. }
  11216. },
  11217. "/Tjmd/QueryTjmdTodayAccountMargin": {
  11218. "get": {
  11219. "security": [
  11220. {
  11221. "ApiKeyAuth": []
  11222. }
  11223. ],
  11224. "produces": [
  11225. "application/json"
  11226. ],
  11227. "tags": [
  11228. "天津麦顿"
  11229. ],
  11230. "summary": "查询今日账户保证金配置",
  11231. "parameters": [
  11232. {
  11233. "type": "string",
  11234. "description": "市场id",
  11235. "name": "marketid",
  11236. "in": "query"
  11237. },
  11238. {
  11239. "type": "string",
  11240. "description": "商品id",
  11241. "name": "goodsid",
  11242. "in": "query"
  11243. },
  11244. {
  11245. "type": "string",
  11246. "description": "资金账号",
  11247. "name": "accountid",
  11248. "in": "query"
  11249. }
  11250. ],
  11251. "responses": {
  11252. "200": {
  11253. "description": "OK",
  11254. "schema": {
  11255. "type": "array",
  11256. "items": {
  11257. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  11258. }
  11259. }
  11260. },
  11261. "500": {
  11262. "description": "Internal Server Error",
  11263. "schema": {
  11264. "$ref": "#/definitions/app.Response"
  11265. }
  11266. }
  11267. }
  11268. }
  11269. },
  11270. "/Tjmd/QueryTjmdTradeOrderDetail": {
  11271. "get": {
  11272. "security": [
  11273. {
  11274. "ApiKeyAuth": []
  11275. }
  11276. ],
  11277. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  11278. "produces": [
  11279. "application/json"
  11280. ],
  11281. "tags": [
  11282. "天津麦顿"
  11283. ],
  11284. "summary": "查询掉期买卖大厅",
  11285. "parameters": [
  11286. {
  11287. "type": "integer",
  11288. "description": "页码",
  11289. "name": "page",
  11290. "in": "query"
  11291. },
  11292. {
  11293. "type": "integer",
  11294. "description": "每页条数",
  11295. "name": "pagesize",
  11296. "in": "query"
  11297. },
  11298. {
  11299. "type": "integer",
  11300. "description": "用户id",
  11301. "name": "userid",
  11302. "in": "query",
  11303. "required": true
  11304. },
  11305. {
  11306. "type": "integer",
  11307. "description": "用户类型",
  11308. "name": "usertype",
  11309. "in": "query",
  11310. "required": true
  11311. },
  11312. {
  11313. "type": "string",
  11314. "description": "市场id, 格式 1,2,3",
  11315. "name": "marketids",
  11316. "in": "query"
  11317. },
  11318. {
  11319. "type": "integer",
  11320. "description": "商品id",
  11321. "name": "goodsid",
  11322. "in": "query",
  11323. "required": true
  11324. },
  11325. {
  11326. "type": "integer",
  11327. "description": "买卖方向 0-买 1-卖",
  11328. "name": "buyorsell",
  11329. "in": "query",
  11330. "required": true
  11331. }
  11332. ],
  11333. "responses": {
  11334. "200": {
  11335. "description": "OK",
  11336. "schema": {
  11337. "type": "array",
  11338. "items": {
  11339. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  11340. }
  11341. }
  11342. },
  11343. "500": {
  11344. "description": "Internal Server Error",
  11345. "schema": {
  11346. "$ref": "#/definitions/app.Response"
  11347. }
  11348. }
  11349. }
  11350. }
  11351. },
  11352. "/Tjmd/QueryTjmdTransferApply": {
  11353. "get": {
  11354. "security": [
  11355. {
  11356. "ApiKeyAuth": []
  11357. }
  11358. ],
  11359. "produces": [
  11360. "application/json"
  11361. ],
  11362. "tags": [
  11363. "天津麦顿"
  11364. ],
  11365. "summary": "查询掉期协议单",
  11366. "parameters": [
  11367. {
  11368. "type": "integer",
  11369. "description": "类型 1-我的申请 2-对方申请",
  11370. "name": "applytype",
  11371. "in": "query",
  11372. "required": true
  11373. },
  11374. {
  11375. "type": "string",
  11376. "description": "市场id, 格式 1,2,3",
  11377. "name": "marketids",
  11378. "in": "query"
  11379. },
  11380. {
  11381. "type": "string",
  11382. "description": "资金账号, 格式 25000000001,25000000003",
  11383. "name": "accountids",
  11384. "in": "query"
  11385. },
  11386. {
  11387. "type": "string",
  11388. "description": "开始交易日(yyyymmdd)",
  11389. "name": "begindate",
  11390. "in": "query"
  11391. },
  11392. {
  11393. "type": "string",
  11394. "description": "结束交易日(yyyymmdd)",
  11395. "name": "enddate",
  11396. "in": "query"
  11397. }
  11398. ],
  11399. "responses": {
  11400. "200": {
  11401. "description": "OK",
  11402. "schema": {
  11403. "type": "array",
  11404. "items": {
  11405. "$ref": "#/definitions/models.TjmdTransferApply"
  11406. }
  11407. }
  11408. },
  11409. "500": {
  11410. "description": "Internal Server Error",
  11411. "schema": {
  11412. "$ref": "#/definitions/app.Response"
  11413. }
  11414. }
  11415. }
  11416. }
  11417. },
  11418. "/Trade/QueryRecieptOrder": {
  11419. "get": {
  11420. "security": [
  11421. {
  11422. "ApiKeyAuth": []
  11423. }
  11424. ],
  11425. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11426. "produces": [
  11427. "application/json"
  11428. ],
  11429. "tags": [
  11430. "通用交易"
  11431. ],
  11432. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  11433. "parameters": [
  11434. {
  11435. "type": "integer",
  11436. "description": "页码",
  11437. "name": "page",
  11438. "in": "query"
  11439. },
  11440. {
  11441. "type": "integer",
  11442. "description": "每页条数",
  11443. "name": "pagesize",
  11444. "in": "query"
  11445. },
  11446. {
  11447. "type": "integer",
  11448. "description": "商品ID",
  11449. "name": "goodsID",
  11450. "in": "query",
  11451. "required": true
  11452. },
  11453. {
  11454. "type": "string",
  11455. "description": "所属账户名称",
  11456. "name": "accountName",
  11457. "in": "query"
  11458. },
  11459. {
  11460. "type": "integer",
  11461. "description": "市场ID",
  11462. "name": "marketID",
  11463. "in": "query"
  11464. },
  11465. {
  11466. "type": "integer",
  11467. "description": "方向 - 0:买 1:卖",
  11468. "name": "buyorsell",
  11469. "in": "query",
  11470. "required": true
  11471. }
  11472. ],
  11473. "responses": {
  11474. "200": {
  11475. "description": "OK",
  11476. "schema": {
  11477. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  11478. }
  11479. },
  11480. "500": {
  11481. "description": "Internal Server Error",
  11482. "schema": {
  11483. "$ref": "#/definitions/app.Response"
  11484. }
  11485. }
  11486. }
  11487. }
  11488. },
  11489. "/User/AddMessageBoard": {
  11490. "post": {
  11491. "security": [
  11492. {
  11493. "ApiKeyAuth": []
  11494. }
  11495. ],
  11496. "produces": [
  11497. "application/json"
  11498. ],
  11499. "tags": [
  11500. "用户信息"
  11501. ],
  11502. "summary": "添加用户留言板信息",
  11503. "parameters": [
  11504. {
  11505. "type": "integer",
  11506. "description": "用户ID",
  11507. "name": "userID",
  11508. "in": "query",
  11509. "required": true
  11510. },
  11511. {
  11512. "type": "string",
  11513. "description": "留言信息",
  11514. "name": "message",
  11515. "in": "query",
  11516. "required": true
  11517. },
  11518. {
  11519. "type": "string",
  11520. "description": "联系电话",
  11521. "name": "contactNum",
  11522. "in": "query",
  11523. "required": true
  11524. }
  11525. ],
  11526. "responses": {
  11527. "200": {
  11528. "description": "OK",
  11529. "schema": {
  11530. "$ref": "#/definitions/app.Response"
  11531. }
  11532. },
  11533. "500": {
  11534. "description": "Internal Server Error",
  11535. "schema": {
  11536. "$ref": "#/definitions/app.Response"
  11537. }
  11538. }
  11539. }
  11540. }
  11541. },
  11542. "/User/AddUserFavoriteGoods": {
  11543. "post": {
  11544. "security": [
  11545. {
  11546. "ApiKeyAuth": []
  11547. }
  11548. ],
  11549. "produces": [
  11550. "application/json"
  11551. ],
  11552. "tags": [
  11553. "用户信息"
  11554. ],
  11555. "summary": "添加用户商品收藏信息",
  11556. "parameters": [
  11557. {
  11558. "type": "integer",
  11559. "description": "用户ID",
  11560. "name": "userID",
  11561. "in": "query",
  11562. "required": true
  11563. },
  11564. {
  11565. "type": "integer",
  11566. "description": "商品ID",
  11567. "name": "goodsID",
  11568. "in": "query",
  11569. "required": true
  11570. }
  11571. ],
  11572. "responses": {
  11573. "200": {
  11574. "description": "OK",
  11575. "schema": {
  11576. "$ref": "#/definitions/app.Response"
  11577. }
  11578. },
  11579. "500": {
  11580. "description": "Internal Server Error",
  11581. "schema": {
  11582. "$ref": "#/definitions/app.Response"
  11583. }
  11584. }
  11585. }
  11586. }
  11587. },
  11588. "/User/GetLoginID": {
  11589. "get": {
  11590. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  11591. "produces": [
  11592. "application/json"
  11593. ],
  11594. "tags": [
  11595. "用户信息"
  11596. ],
  11597. "summary": "获取登录ID",
  11598. "parameters": [
  11599. {
  11600. "type": "string",
  11601. "description": "登录代码",
  11602. "name": "username",
  11603. "in": "query",
  11604. "required": true
  11605. }
  11606. ],
  11607. "responses": {
  11608. "200": {
  11609. "description": "OK",
  11610. "schema": {
  11611. "$ref": "#/definitions/app.Response"
  11612. }
  11613. },
  11614. "500": {
  11615. "description": "Internal Server Error",
  11616. "schema": {
  11617. "$ref": "#/definitions/app.Response"
  11618. }
  11619. }
  11620. }
  11621. }
  11622. },
  11623. "/User/GetUserAccount": {
  11624. "get": {
  11625. "security": [
  11626. {
  11627. "ApiKeyAuth": []
  11628. }
  11629. ],
  11630. "produces": [
  11631. "application/json"
  11632. ],
  11633. "tags": [
  11634. "用户信息"
  11635. ],
  11636. "summary": "获取用户账号信息",
  11637. "parameters": [
  11638. {
  11639. "type": "integer",
  11640. "description": "用户ID",
  11641. "name": "userID",
  11642. "in": "query",
  11643. "required": true
  11644. }
  11645. ],
  11646. "responses": {
  11647. "200": {
  11648. "description": "OK",
  11649. "schema": {
  11650. "$ref": "#/definitions/models.Useraccount"
  11651. }
  11652. },
  11653. "500": {
  11654. "description": "Internal Server Error",
  11655. "schema": {
  11656. "$ref": "#/definitions/app.Response"
  11657. }
  11658. }
  11659. }
  11660. }
  11661. },
  11662. "/User/GetUserAuthStatus": {
  11663. "get": {
  11664. "security": [
  11665. {
  11666. "ApiKeyAuth": []
  11667. }
  11668. ],
  11669. "produces": [
  11670. "application/json"
  11671. ],
  11672. "tags": [
  11673. "用户信息"
  11674. ],
  11675. "summary": "获取用户实名认证状态",
  11676. "parameters": [
  11677. {
  11678. "type": "integer",
  11679. "description": "用户ID",
  11680. "name": "userID",
  11681. "in": "query",
  11682. "required": true
  11683. }
  11684. ],
  11685. "responses": {
  11686. "200": {
  11687. "description": "OK",
  11688. "schema": {
  11689. "$ref": "#/definitions/app.Response"
  11690. }
  11691. },
  11692. "500": {
  11693. "description": "Internal Server Error",
  11694. "schema": {
  11695. "$ref": "#/definitions/app.Response"
  11696. }
  11697. }
  11698. }
  11699. }
  11700. },
  11701. "/User/LoginQuery": {
  11702. "get": {
  11703. "security": [
  11704. {
  11705. "ApiKeyAuth": []
  11706. }
  11707. ],
  11708. "produces": [
  11709. "application/json"
  11710. ],
  11711. "tags": [
  11712. "用户信息"
  11713. ],
  11714. "summary": "账户登录后信息查询",
  11715. "parameters": [
  11716. {
  11717. "type": "integer",
  11718. "description": "登录账号",
  11719. "name": "loginID",
  11720. "in": "query",
  11721. "required": true
  11722. }
  11723. ],
  11724. "responses": {
  11725. "200": {
  11726. "description": "OK",
  11727. "schema": {
  11728. "$ref": "#/definitions/user.LoginQueryRsp"
  11729. }
  11730. },
  11731. "500": {
  11732. "description": "Internal Server Error",
  11733. "schema": {
  11734. "$ref": "#/definitions/app.Response"
  11735. }
  11736. }
  11737. }
  11738. }
  11739. },
  11740. "/User/QueryMessageBoard": {
  11741. "get": {
  11742. "security": [
  11743. {
  11744. "ApiKeyAuth": []
  11745. }
  11746. ],
  11747. "produces": [
  11748. "application/json"
  11749. ],
  11750. "tags": [
  11751. "用户信息"
  11752. ],
  11753. "summary": "获取用户留言板信息",
  11754. "parameters": [
  11755. {
  11756. "type": "integer",
  11757. "description": "用户ID",
  11758. "name": "userID",
  11759. "in": "query",
  11760. "required": true
  11761. }
  11762. ],
  11763. "responses": {
  11764. "200": {
  11765. "description": "OK",
  11766. "schema": {
  11767. "$ref": "#/definitions/models.Messageboard"
  11768. }
  11769. },
  11770. "500": {
  11771. "description": "Internal Server Error",
  11772. "schema": {
  11773. "$ref": "#/definitions/app.Response"
  11774. }
  11775. }
  11776. }
  11777. }
  11778. },
  11779. "/User/QueryUserFavoriteGoodses": {
  11780. "get": {
  11781. "security": [
  11782. {
  11783. "ApiKeyAuth": []
  11784. }
  11785. ],
  11786. "produces": [
  11787. "application/json"
  11788. ],
  11789. "tags": [
  11790. "用户信息"
  11791. ],
  11792. "summary": "获取用户商品收藏信息",
  11793. "parameters": [
  11794. {
  11795. "type": "integer",
  11796. "description": "用户ID",
  11797. "name": "userID",
  11798. "in": "query",
  11799. "required": true
  11800. }
  11801. ],
  11802. "responses": {
  11803. "200": {
  11804. "description": "OK",
  11805. "schema": {
  11806. "$ref": "#/definitions/models.Userfavoritegoods"
  11807. }
  11808. },
  11809. "500": {
  11810. "description": "Internal Server Error",
  11811. "schema": {
  11812. "$ref": "#/definitions/app.Response"
  11813. }
  11814. }
  11815. }
  11816. }
  11817. },
  11818. "/User/QueryUserInfo": {
  11819. "get": {
  11820. "security": [
  11821. {
  11822. "ApiKeyAuth": []
  11823. }
  11824. ],
  11825. "produces": [
  11826. "application/json"
  11827. ],
  11828. "tags": [
  11829. "用户信息"
  11830. ],
  11831. "summary": "获取用户信息",
  11832. "parameters": [
  11833. {
  11834. "type": "integer",
  11835. "description": "用户ID",
  11836. "name": "userID",
  11837. "in": "query",
  11838. "required": true
  11839. },
  11840. {
  11841. "type": "boolean",
  11842. "description": "是否解密",
  11843. "name": "isDecrypt",
  11844. "in": "query"
  11845. }
  11846. ],
  11847. "responses": {
  11848. "200": {
  11849. "description": "OK",
  11850. "schema": {
  11851. "$ref": "#/definitions/models.Userinfo"
  11852. }
  11853. },
  11854. "500": {
  11855. "description": "Internal Server Error",
  11856. "schema": {
  11857. "$ref": "#/definitions/app.Response"
  11858. }
  11859. }
  11860. }
  11861. }
  11862. },
  11863. "/User/QueryUserReferNum": {
  11864. "get": {
  11865. "produces": [
  11866. "application/json"
  11867. ],
  11868. "tags": [
  11869. "用户信息"
  11870. ],
  11871. "summary": "获取用户邀请码",
  11872. "parameters": [
  11873. {
  11874. "type": "integer",
  11875. "description": "用户ID",
  11876. "name": "userID",
  11877. "in": "query",
  11878. "required": true
  11879. }
  11880. ],
  11881. "responses": {
  11882. "200": {
  11883. "description": "OK",
  11884. "schema": {
  11885. "$ref": "#/definitions/app.Response"
  11886. }
  11887. },
  11888. "500": {
  11889. "description": "Internal Server Error",
  11890. "schema": {
  11891. "$ref": "#/definitions/app.Response"
  11892. }
  11893. }
  11894. }
  11895. }
  11896. },
  11897. "/User/RemoveUserFavoriteGoods": {
  11898. "post": {
  11899. "security": [
  11900. {
  11901. "ApiKeyAuth": []
  11902. }
  11903. ],
  11904. "produces": [
  11905. "application/json"
  11906. ],
  11907. "tags": [
  11908. "用户信息"
  11909. ],
  11910. "summary": "移除用户商品收藏信息",
  11911. "parameters": [
  11912. {
  11913. "type": "integer",
  11914. "description": "用户ID",
  11915. "name": "userID",
  11916. "in": "query",
  11917. "required": true
  11918. },
  11919. {
  11920. "type": "integer",
  11921. "description": "商品ID",
  11922. "name": "goodsID",
  11923. "in": "query",
  11924. "required": true
  11925. }
  11926. ],
  11927. "responses": {
  11928. "200": {
  11929. "description": "OK",
  11930. "schema": {
  11931. "$ref": "#/definitions/app.Response"
  11932. }
  11933. },
  11934. "500": {
  11935. "description": "Internal Server Error",
  11936. "schema": {
  11937. "$ref": "#/definitions/app.Response"
  11938. }
  11939. }
  11940. }
  11941. }
  11942. },
  11943. "/User/UpdateUserAccountStatus": {
  11944. "post": {
  11945. "security": [
  11946. {
  11947. "ApiKeyAuth": []
  11948. }
  11949. ],
  11950. "produces": [
  11951. "application/json"
  11952. ],
  11953. "tags": [
  11954. "用户信息"
  11955. ],
  11956. "summary": "更新用户状态",
  11957. "parameters": [
  11958. {
  11959. "type": "integer",
  11960. "description": "用户ID",
  11961. "name": "userID",
  11962. "in": "query",
  11963. "required": true
  11964. },
  11965. {
  11966. "type": "integer",
  11967. "description": "账户状态 - 4:正常 6:注销(停用)",
  11968. "name": "accountStatus",
  11969. "in": "query",
  11970. "required": true
  11971. }
  11972. ],
  11973. "responses": {
  11974. "200": {
  11975. "description": "OK",
  11976. "schema": {
  11977. "$ref": "#/definitions/app.Response"
  11978. }
  11979. },
  11980. "500": {
  11981. "description": "Internal Server Error",
  11982. "schema": {
  11983. "$ref": "#/definitions/app.Response"
  11984. }
  11985. }
  11986. }
  11987. }
  11988. },
  11989. "/WRTrade/GetAllDeliveryGoods": {
  11990. "get": {
  11991. "security": [
  11992. {
  11993. "ApiKeyAuth": []
  11994. },
  11995. {
  11996. "ApiKeyAuth": []
  11997. }
  11998. ],
  11999. "produces": [
  12000. "application/json",
  12001. "application/json"
  12002. ],
  12003. "tags": [
  12004. "仓单贸易",
  12005. "仓单贸易"
  12006. ],
  12007. "summary": "获取带仓单分类的种类信息",
  12008. "responses": {
  12009. "200": {
  12010. "description": "OK",
  12011. "schema": {
  12012. "$ref": "#/definitions/app.Response"
  12013. }
  12014. },
  12015. "500": {
  12016. "description": "Internal Server Error",
  12017. "schema": {
  12018. "$ref": "#/definitions/app.Response"
  12019. }
  12020. }
  12021. }
  12022. }
  12023. },
  12024. "/WrTrade2/QueryDeliveryGoodsSection": {
  12025. "get": {
  12026. "security": [
  12027. {
  12028. "ApiKeyAuth": []
  12029. }
  12030. ],
  12031. "produces": [
  12032. "application/json"
  12033. ],
  12034. "tags": [
  12035. "仓单贸易v2"
  12036. ],
  12037. "summary": "查询板块(分类)",
  12038. "responses": {
  12039. "200": {
  12040. "description": "OK",
  12041. "schema": {
  12042. "type": "array",
  12043. "items": {
  12044. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  12045. }
  12046. }
  12047. },
  12048. "500": {
  12049. "description": "Internal Server Error",
  12050. "schema": {
  12051. "$ref": "#/definitions/app.Response"
  12052. }
  12053. }
  12054. }
  12055. }
  12056. },
  12057. "/WrTrade2/QueryFaProductDetail": {
  12058. "get": {
  12059. "security": [
  12060. {
  12061. "ApiKeyAuth": []
  12062. }
  12063. ],
  12064. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  12065. "produces": [
  12066. "application/json"
  12067. ],
  12068. "tags": [
  12069. "仓单贸易v2"
  12070. ],
  12071. "summary": "查询融资产品列表",
  12072. "parameters": [
  12073. {
  12074. "type": "integer",
  12075. "description": "仓单要素id",
  12076. "name": "wrfactortypeid",
  12077. "in": "query",
  12078. "required": true
  12079. }
  12080. ],
  12081. "responses": {
  12082. "200": {
  12083. "description": "OK",
  12084. "schema": {
  12085. "type": "array",
  12086. "items": {
  12087. "$ref": "#/definitions/models.WrFAProductDetail"
  12088. }
  12089. }
  12090. },
  12091. "500": {
  12092. "description": "Internal Server Error",
  12093. "schema": {
  12094. "$ref": "#/definitions/app.Response"
  12095. }
  12096. }
  12097. }
  12098. }
  12099. },
  12100. "/WrTrade2/QueryFilterItem": {
  12101. "get": {
  12102. "security": [
  12103. {
  12104. "ApiKeyAuth": []
  12105. }
  12106. ],
  12107. "produces": [
  12108. "application/json"
  12109. ],
  12110. "tags": [
  12111. "仓单贸易v2"
  12112. ],
  12113. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  12114. "parameters": [
  12115. {
  12116. "type": "string",
  12117. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  12118. "name": "itype",
  12119. "in": "query",
  12120. "required": true
  12121. }
  12122. ],
  12123. "responses": {
  12124. "200": {
  12125. "description": "OK",
  12126. "schema": {
  12127. "type": "array",
  12128. "items": {
  12129. "$ref": "#/definitions/models.WrFilterItem"
  12130. }
  12131. }
  12132. },
  12133. "500": {
  12134. "description": "Internal Server Error",
  12135. "schema": {
  12136. "$ref": "#/definitions/app.Response"
  12137. }
  12138. }
  12139. }
  12140. }
  12141. },
  12142. "/WrTrade2/QueryFtDeliveryGoods": {
  12143. "get": {
  12144. "security": [
  12145. {
  12146. "ApiKeyAuth": []
  12147. }
  12148. ],
  12149. "produces": [
  12150. "application/json"
  12151. ],
  12152. "tags": [
  12153. "仓单贸易v2"
  12154. ],
  12155. "summary": "查询品种品类筛选框列表",
  12156. "responses": {
  12157. "200": {
  12158. "description": "OK",
  12159. "schema": {
  12160. "type": "array",
  12161. "items": {
  12162. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  12163. }
  12164. }
  12165. },
  12166. "500": {
  12167. "description": "Internal Server Error",
  12168. "schema": {
  12169. "$ref": "#/definitions/app.Response"
  12170. }
  12171. }
  12172. }
  12173. }
  12174. },
  12175. "/WrTrade2/QueryHoldLB": {
  12176. "get": {
  12177. "security": [
  12178. {
  12179. "ApiKeyAuth": []
  12180. }
  12181. ],
  12182. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  12183. "produces": [
  12184. "application/json"
  12185. ],
  12186. "tags": [
  12187. "仓单贸易v2"
  12188. ],
  12189. "summary": "查询仓单持有记录",
  12190. "parameters": [
  12191. {
  12192. "type": "integer",
  12193. "description": "资金账号",
  12194. "name": "accountid",
  12195. "in": "query",
  12196. "required": true
  12197. },
  12198. {
  12199. "type": "integer",
  12200. "description": "仓库id",
  12201. "name": "warehouseid",
  12202. "in": "query"
  12203. },
  12204. {
  12205. "type": "integer",
  12206. "description": "品种id",
  12207. "name": "deliverygoodsid",
  12208. "in": "query"
  12209. },
  12210. {
  12211. "type": "integer",
  12212. "description": "品类id",
  12213. "name": "wrstandardid",
  12214. "in": "query"
  12215. },
  12216. {
  12217. "type": "integer",
  12218. "description": "仓单要素id",
  12219. "name": "wrfactortypeid",
  12220. "in": "query"
  12221. },
  12222. {
  12223. "type": "string",
  12224. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12225. "name": "dgitemname",
  12226. "in": "query"
  12227. }
  12228. ],
  12229. "responses": {
  12230. "200": {
  12231. "description": "OK",
  12232. "schema": {
  12233. "type": "array",
  12234. "items": {
  12235. "$ref": "#/definitions/models.WrHoldLB"
  12236. }
  12237. }
  12238. },
  12239. "500": {
  12240. "description": "Internal Server Error",
  12241. "schema": {
  12242. "$ref": "#/definitions/app.Response"
  12243. }
  12244. }
  12245. }
  12246. }
  12247. },
  12248. "/WrTrade2/QueryOrderQuote": {
  12249. "get": {
  12250. "security": [
  12251. {
  12252. "ApiKeyAuth": []
  12253. }
  12254. ],
  12255. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  12256. "produces": [
  12257. "application/json"
  12258. ],
  12259. "tags": [
  12260. "仓单贸易v2"
  12261. ],
  12262. "summary": "查询大厅行情列表",
  12263. "parameters": [
  12264. {
  12265. "type": "integer",
  12266. "description": "页码",
  12267. "name": "page",
  12268. "in": "query"
  12269. },
  12270. {
  12271. "type": "integer",
  12272. "description": "每页条数",
  12273. "name": "pagesize",
  12274. "in": "query"
  12275. },
  12276. {
  12277. "type": "integer",
  12278. "description": "仓单贸易市场id",
  12279. "name": "marketid",
  12280. "in": "query"
  12281. },
  12282. {
  12283. "type": "integer",
  12284. "description": "价格方式 - 1:固定价 2-浮动价",
  12285. "name": "wrpricetype",
  12286. "in": "query",
  12287. "required": true
  12288. },
  12289. {
  12290. "type": "integer",
  12291. "description": "0:仓单预售 1:仓单贸易",
  12292. "name": "haswr",
  12293. "in": "query"
  12294. },
  12295. {
  12296. "type": "string",
  12297. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12298. "name": "dgitemname",
  12299. "in": "query"
  12300. },
  12301. {
  12302. "type": "integer",
  12303. "description": "仓库id(筛选条件)",
  12304. "name": "warehouseid",
  12305. "in": "query"
  12306. },
  12307. {
  12308. "type": "integer",
  12309. "description": "品种id",
  12310. "name": "deliverygoodsid",
  12311. "in": "query"
  12312. },
  12313. {
  12314. "type": "integer",
  12315. "description": "品类id",
  12316. "name": "wrstandardid",
  12317. "in": "query"
  12318. },
  12319. {
  12320. "type": "integer",
  12321. "description": "仓单要素id",
  12322. "name": "wrfactortypeid",
  12323. "in": "query"
  12324. },
  12325. {
  12326. "type": "string",
  12327. "description": "交收月(yyyy-mm) 仓单预售填写",
  12328. "name": "deliverymonth",
  12329. "in": "query"
  12330. }
  12331. ],
  12332. "responses": {
  12333. "200": {
  12334. "description": "OK",
  12335. "schema": {
  12336. "type": "array",
  12337. "items": {
  12338. "$ref": "#/definitions/models.WrOrderQuote"
  12339. }
  12340. }
  12341. },
  12342. "500": {
  12343. "description": "Internal Server Error",
  12344. "schema": {
  12345. "$ref": "#/definitions/app.Response"
  12346. }
  12347. }
  12348. }
  12349. }
  12350. },
  12351. "/WrTrade2/QueryOrderQuoteDetail": {
  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": "marketid",
  12382. "in": "query"
  12383. },
  12384. {
  12385. "type": "integer",
  12386. "description": "价格方式 - 1:固定价 2-浮动价",
  12387. "name": "wrpricetype",
  12388. "in": "query",
  12389. "required": true
  12390. },
  12391. {
  12392. "type": "integer",
  12393. "description": "0:仓单预售 1:仓单贸易",
  12394. "name": "haswr",
  12395. "in": "query"
  12396. },
  12397. {
  12398. "type": "integer",
  12399. "description": "仓单要素id",
  12400. "name": "wrfactortypeid",
  12401. "in": "query",
  12402. "required": true
  12403. },
  12404. {
  12405. "type": "integer",
  12406. "description": "期货商品id(浮动价方式时填)",
  12407. "name": "goodsid",
  12408. "in": "query"
  12409. },
  12410. {
  12411. "type": "integer",
  12412. "description": "买卖方向 0-买 1-卖",
  12413. "name": "buyorsell",
  12414. "in": "query",
  12415. "required": true
  12416. },
  12417. {
  12418. "type": "string",
  12419. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  12420. "name": "deliverymonth",
  12421. "in": "query"
  12422. }
  12423. ],
  12424. "responses": {
  12425. "200": {
  12426. "description": "OK",
  12427. "schema": {
  12428. "type": "array",
  12429. "items": {
  12430. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  12431. }
  12432. }
  12433. },
  12434. "500": {
  12435. "description": "Internal Server Error",
  12436. "schema": {
  12437. "$ref": "#/definitions/app.Response"
  12438. }
  12439. }
  12440. }
  12441. }
  12442. },
  12443. "/WrTrade2/QueryOrderQuoteMyq": {
  12444. "get": {
  12445. "security": [
  12446. {
  12447. "ApiKeyAuth": []
  12448. }
  12449. ],
  12450. "produces": [
  12451. "application/json"
  12452. ],
  12453. "tags": [
  12454. "仓单贸易v2"
  12455. ],
  12456. "summary": "查询贸易圈挂牌大厅",
  12457. "parameters": [
  12458. {
  12459. "type": "integer",
  12460. "description": "页码",
  12461. "name": "page",
  12462. "in": "query"
  12463. },
  12464. {
  12465. "type": "integer",
  12466. "description": "每页条数",
  12467. "name": "pagesize",
  12468. "in": "query"
  12469. },
  12470. {
  12471. "type": "integer",
  12472. "description": "用户id",
  12473. "name": "userid",
  12474. "in": "query",
  12475. "required": true
  12476. },
  12477. {
  12478. "type": "integer",
  12479. "description": "仓单贸易市场id",
  12480. "name": "marketid",
  12481. "in": "query"
  12482. },
  12483. {
  12484. "type": "integer",
  12485. "description": "0:仓单预售 1:仓单贸易",
  12486. "name": "haswr",
  12487. "in": "query"
  12488. },
  12489. {
  12490. "type": "integer",
  12491. "description": "买卖方向 0-买 1-卖",
  12492. "name": "buyorsell",
  12493. "in": "query",
  12494. "required": true
  12495. },
  12496. {
  12497. "type": "integer",
  12498. "description": "品种id",
  12499. "name": "deliverygoodsid",
  12500. "in": "query"
  12501. },
  12502. {
  12503. "type": "integer",
  12504. "description": "品类id",
  12505. "name": "wrstandardid",
  12506. "in": "query"
  12507. },
  12508. {
  12509. "type": "string",
  12510. "description": "交收月(yyyy-mm) 仓单预售填写",
  12511. "name": "deliverymonth",
  12512. "in": "query"
  12513. },
  12514. {
  12515. "type": "string",
  12516. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12517. "name": "dgitemname",
  12518. "in": "query"
  12519. }
  12520. ],
  12521. "responses": {
  12522. "200": {
  12523. "description": "OK",
  12524. "schema": {
  12525. "type": "array",
  12526. "items": {
  12527. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  12528. }
  12529. }
  12530. },
  12531. "500": {
  12532. "description": "Internal Server Error",
  12533. "schema": {
  12534. "$ref": "#/definitions/app.Response"
  12535. }
  12536. }
  12537. }
  12538. }
  12539. },
  12540. "/WrTrade2/QueryPerformancePlan": {
  12541. "get": {
  12542. "security": [
  12543. {
  12544. "ApiKeyAuth": []
  12545. }
  12546. ],
  12547. "produces": [
  12548. "application/json"
  12549. ],
  12550. "tags": [
  12551. "仓单贸易v2"
  12552. ],
  12553. "summary": "查询履约信息",
  12554. "parameters": [
  12555. {
  12556. "type": "integer",
  12557. "description": "用户id",
  12558. "name": "userid",
  12559. "in": "query",
  12560. "required": true
  12561. },
  12562. {
  12563. "type": "integer",
  12564. "description": "买卖方向 0-买 1-卖",
  12565. "name": "buyorsell",
  12566. "in": "query",
  12567. "required": true
  12568. },
  12569. {
  12570. "type": "string",
  12571. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  12572. "name": "status",
  12573. "in": "query"
  12574. },
  12575. {
  12576. "type": "string",
  12577. "description": "开始交易日(yyyymmdd)",
  12578. "name": "begindate",
  12579. "in": "query"
  12580. },
  12581. {
  12582. "type": "string",
  12583. "description": "结束交易日(yyyymmdd)",
  12584. "name": "enddate",
  12585. "in": "query"
  12586. }
  12587. ],
  12588. "responses": {
  12589. "200": {
  12590. "description": "OK",
  12591. "schema": {
  12592. "type": "array",
  12593. "items": {
  12594. "$ref": "#/definitions/models.WrPerformancePlan"
  12595. }
  12596. }
  12597. },
  12598. "500": {
  12599. "description": "Internal Server Error",
  12600. "schema": {
  12601. "$ref": "#/definitions/app.Response"
  12602. }
  12603. }
  12604. }
  12605. }
  12606. },
  12607. "/WrTrade2/QueryPermancePlanTmp": {
  12608. "get": {
  12609. "security": [
  12610. {
  12611. "ApiKeyAuth": []
  12612. }
  12613. ],
  12614. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  12615. "produces": [
  12616. "application/json"
  12617. ],
  12618. "tags": [
  12619. "仓单贸易v2"
  12620. ],
  12621. "summary": "查询履约模板",
  12622. "parameters": [
  12623. {
  12624. "type": "integer",
  12625. "description": "用户id",
  12626. "name": "userid",
  12627. "in": "query"
  12628. },
  12629. {
  12630. "type": "string",
  12631. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  12632. "name": "tmptype",
  12633. "in": "query"
  12634. },
  12635. {
  12636. "type": "integer",
  12637. "description": "是否包含公共模板(用户id为空的) 1-包含",
  12638. "name": "includepub",
  12639. "in": "query"
  12640. },
  12641. {
  12642. "type": "integer",
  12643. "description": "市场id(天津麦顿指定此参数,其它不用)",
  12644. "name": "marketid",
  12645. "in": "query"
  12646. }
  12647. ],
  12648. "responses": {
  12649. "200": {
  12650. "description": "OK",
  12651. "schema": {
  12652. "type": "array",
  12653. "items": {
  12654. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  12655. }
  12656. }
  12657. },
  12658. "500": {
  12659. "description": "Internal Server Error",
  12660. "schema": {
  12661. "$ref": "#/definitions/app.Response"
  12662. }
  12663. }
  12664. }
  12665. }
  12666. },
  12667. "/WrTrade2/QuerySiteColumnDetail": {
  12668. "get": {
  12669. "security": [
  12670. {
  12671. "ApiKeyAuth": []
  12672. }
  12673. ],
  12674. "produces": [
  12675. "application/json"
  12676. ],
  12677. "tags": [
  12678. "仓单贸易v2"
  12679. ],
  12680. "summary": "查询资讯",
  12681. "parameters": [
  12682. {
  12683. "type": "integer",
  12684. "description": "页码",
  12685. "name": "page",
  12686. "in": "query"
  12687. },
  12688. {
  12689. "type": "integer",
  12690. "description": "每页条数",
  12691. "name": "pagesize",
  12692. "in": "query"
  12693. }
  12694. ],
  12695. "responses": {
  12696. "200": {
  12697. "description": "OK",
  12698. "schema": {
  12699. "type": "array",
  12700. "items": {
  12701. "$ref": "#/definitions/models.WrSiteColumnDetail"
  12702. }
  12703. }
  12704. },
  12705. "500": {
  12706. "description": "Internal Server Error",
  12707. "schema": {
  12708. "$ref": "#/definitions/app.Response"
  12709. }
  12710. }
  12711. }
  12712. }
  12713. },
  12714. "/WrTrade2/QuerySpotGroupTradeSum": {
  12715. "get": {
  12716. "security": [
  12717. {
  12718. "ApiKeyAuth": []
  12719. }
  12720. ],
  12721. "produces": [
  12722. "application/json"
  12723. ],
  12724. "tags": [
  12725. "仓单贸易v2"
  12726. ],
  12727. "summary": "查询指数",
  12728. "responses": {
  12729. "200": {
  12730. "description": "OK",
  12731. "schema": {
  12732. "type": "array",
  12733. "items": {
  12734. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  12735. }
  12736. }
  12737. },
  12738. "500": {
  12739. "description": "Internal Server Error",
  12740. "schema": {
  12741. "$ref": "#/definitions/app.Response"
  12742. }
  12743. }
  12744. }
  12745. }
  12746. },
  12747. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  12748. "get": {
  12749. "security": [
  12750. {
  12751. "ApiKeyAuth": []
  12752. }
  12753. ],
  12754. "description": "查询的结果将会按日期 从小到大 排序",
  12755. "produces": [
  12756. "application/json"
  12757. ],
  12758. "tags": [
  12759. "仓单贸易v2"
  12760. ],
  12761. "summary": "查询指数详细(价格走势图)",
  12762. "parameters": [
  12763. {
  12764. "type": "integer",
  12765. "description": "现货商品id",
  12766. "name": "deliverygoodsid",
  12767. "in": "query",
  12768. "required": true
  12769. },
  12770. {
  12771. "type": "integer",
  12772. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  12773. "name": "lastnum",
  12774. "in": "query"
  12775. }
  12776. ],
  12777. "responses": {
  12778. "200": {
  12779. "description": "OK",
  12780. "schema": {
  12781. "type": "array",
  12782. "items": {
  12783. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  12784. }
  12785. }
  12786. },
  12787. "500": {
  12788. "description": "Internal Server Error",
  12789. "schema": {
  12790. "$ref": "#/definitions/app.Response"
  12791. }
  12792. }
  12793. }
  12794. }
  12795. },
  12796. "/WrTrade2/QueryWrAverageTradePrice": {
  12797. "get": {
  12798. "security": [
  12799. {
  12800. "ApiKeyAuth": []
  12801. }
  12802. ],
  12803. "produces": [
  12804. "application/json"
  12805. ],
  12806. "tags": [
  12807. "仓单贸易v2"
  12808. ],
  12809. "summary": "查询成交价(历史走势)",
  12810. "parameters": [
  12811. {
  12812. "type": "integer",
  12813. "description": "页码",
  12814. "name": "page",
  12815. "in": "query"
  12816. },
  12817. {
  12818. "type": "integer",
  12819. "description": "每页条数",
  12820. "name": "pagesize",
  12821. "in": "query"
  12822. },
  12823. {
  12824. "type": "integer",
  12825. "description": "0:仓单预售 1:仓单贸易",
  12826. "name": "haswr",
  12827. "in": "query",
  12828. "required": true
  12829. },
  12830. {
  12831. "type": "integer",
  12832. "description": "仓单要素id",
  12833. "name": "wrfactortypeid",
  12834. "in": "query",
  12835. "required": true
  12836. }
  12837. ],
  12838. "responses": {
  12839. "200": {
  12840. "description": "OK",
  12841. "schema": {
  12842. "type": "array",
  12843. "items": {
  12844. "$ref": "#/definitions/models.WrAverageTradePrice"
  12845. }
  12846. }
  12847. },
  12848. "500": {
  12849. "description": "Internal Server Error",
  12850. "schema": {
  12851. "$ref": "#/definitions/app.Response"
  12852. }
  12853. }
  12854. }
  12855. }
  12856. },
  12857. "/WrTrade2/QueryWrBsGoodsInfo": {
  12858. "get": {
  12859. "security": [
  12860. {
  12861. "ApiKeyAuth": []
  12862. }
  12863. ],
  12864. "description": "合约交易/买卖大厅/详情",
  12865. "produces": [
  12866. "application/json"
  12867. ],
  12868. "tags": [
  12869. "仓单贸易v2"
  12870. ],
  12871. "summary": "查询合约交易买卖大厅详情",
  12872. "parameters": [
  12873. {
  12874. "type": "integer",
  12875. "description": "商品id",
  12876. "name": "goodsid",
  12877. "in": "query",
  12878. "required": true
  12879. }
  12880. ],
  12881. "responses": {
  12882. "200": {
  12883. "description": "OK",
  12884. "schema": {
  12885. "type": "array",
  12886. "items": {
  12887. "$ref": "#/definitions/models.WrBsGoodsInfo"
  12888. }
  12889. }
  12890. },
  12891. "500": {
  12892. "description": "Internal Server Error",
  12893. "schema": {
  12894. "$ref": "#/definitions/app.Response"
  12895. }
  12896. }
  12897. }
  12898. }
  12899. },
  12900. "/WrTrade2/QueryWrBuybackDetail": {
  12901. "get": {
  12902. "security": [
  12903. {
  12904. "ApiKeyAuth": []
  12905. }
  12906. ],
  12907. "produces": [
  12908. "application/json"
  12909. ],
  12910. "tags": [
  12911. "仓单贸易v2"
  12912. ],
  12913. "summary": "查询仓单回购明细",
  12914. "parameters": [
  12915. {
  12916. "type": "integer",
  12917. "description": "融资合同id",
  12918. "name": "scfcontractid",
  12919. "in": "query"
  12920. }
  12921. ],
  12922. "responses": {
  12923. "200": {
  12924. "description": "OK",
  12925. "schema": {
  12926. "type": "array",
  12927. "items": {
  12928. "$ref": "#/definitions/models.WrBuybackDetail"
  12929. }
  12930. }
  12931. },
  12932. "500": {
  12933. "description": "Internal Server Error",
  12934. "schema": {
  12935. "$ref": "#/definitions/app.Response"
  12936. }
  12937. }
  12938. }
  12939. }
  12940. },
  12941. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12942. "get": {
  12943. "security": [
  12944. {
  12945. "ApiKeyAuth": []
  12946. }
  12947. ],
  12948. "produces": [
  12949. "application/json"
  12950. ],
  12951. "tags": [
  12952. "仓单贸易v2"
  12953. ],
  12954. "summary": "查询合约交收可点选仓单",
  12955. "parameters": [
  12956. {
  12957. "type": "integer",
  12958. "description": "资金账号",
  12959. "name": "accountid",
  12960. "in": "query",
  12961. "required": true
  12962. },
  12963. {
  12964. "type": "integer",
  12965. "description": "商品id",
  12966. "name": "goodsid",
  12967. "in": "query",
  12968. "required": true
  12969. }
  12970. ],
  12971. "responses": {
  12972. "200": {
  12973. "description": "OK",
  12974. "schema": {
  12975. "type": "array",
  12976. "items": {
  12977. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12978. }
  12979. }
  12980. },
  12981. "500": {
  12982. "description": "Internal Server Error",
  12983. "schema": {
  12984. "$ref": "#/definitions/app.Response"
  12985. }
  12986. }
  12987. }
  12988. }
  12989. },
  12990. "/WrTrade2/QueryWrDeliveryDetail": {
  12991. "get": {
  12992. "security": [
  12993. {
  12994. "ApiKeyAuth": []
  12995. }
  12996. ],
  12997. "produces": [
  12998. "application/json"
  12999. ],
  13000. "tags": [
  13001. "仓单贸易v2"
  13002. ],
  13003. "summary": "查询交收",
  13004. "parameters": [
  13005. {
  13006. "type": "integer",
  13007. "description": "用户id",
  13008. "name": "userid",
  13009. "in": "query",
  13010. "required": true
  13011. },
  13012. {
  13013. "type": "integer",
  13014. "description": "资金账号id",
  13015. "name": "accountid",
  13016. "in": "query"
  13017. },
  13018. {
  13019. "type": "string",
  13020. "description": "开始交易日(yyyymmdd)",
  13021. "name": "begindate",
  13022. "in": "query"
  13023. },
  13024. {
  13025. "type": "string",
  13026. "description": "结束交易日(yyyymmdd)",
  13027. "name": "enddate",
  13028. "in": "query"
  13029. }
  13030. ],
  13031. "responses": {
  13032. "200": {
  13033. "description": "OK",
  13034. "schema": {
  13035. "type": "array",
  13036. "items": {
  13037. "$ref": "#/definitions/models.WrDeliveryDetail"
  13038. }
  13039. }
  13040. },
  13041. "500": {
  13042. "description": "Internal Server Error",
  13043. "schema": {
  13044. "$ref": "#/definitions/app.Response"
  13045. }
  13046. }
  13047. }
  13048. }
  13049. },
  13050. "/WrTrade2/QueryWrFactorTypeInfo": {
  13051. "get": {
  13052. "security": [
  13053. {
  13054. "ApiKeyAuth": []
  13055. }
  13056. ],
  13057. "produces": [
  13058. "application/json"
  13059. ],
  13060. "tags": [
  13061. "仓单贸易v2"
  13062. ],
  13063. "summary": "查询仓单要素详细信息",
  13064. "parameters": [
  13065. {
  13066. "type": "integer",
  13067. "description": "仓单要素id",
  13068. "name": "wrfactortypeid",
  13069. "in": "query",
  13070. "required": true
  13071. }
  13072. ],
  13073. "responses": {
  13074. "200": {
  13075. "description": "OK",
  13076. "schema": {
  13077. "type": "array",
  13078. "items": {
  13079. "$ref": "#/definitions/models.WrFactorTypeInfo"
  13080. }
  13081. }
  13082. },
  13083. "500": {
  13084. "description": "Internal Server Error",
  13085. "schema": {
  13086. "$ref": "#/definitions/app.Response"
  13087. }
  13088. }
  13089. }
  13090. }
  13091. },
  13092. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  13093. "get": {
  13094. "security": [
  13095. {
  13096. "ApiKeyAuth": []
  13097. }
  13098. ],
  13099. "produces": [
  13100. "application/json"
  13101. ],
  13102. "tags": [
  13103. "仓单贸易v2"
  13104. ],
  13105. "summary": "查询仓单要素详细信息列表项",
  13106. "parameters": [
  13107. {
  13108. "type": "integer",
  13109. "description": "仓单要素id",
  13110. "name": "wrfactortypeid",
  13111. "in": "query",
  13112. "required": true
  13113. }
  13114. ],
  13115. "responses": {
  13116. "200": {
  13117. "description": "OK",
  13118. "schema": {
  13119. "type": "array",
  13120. "items": {
  13121. "$ref": "#/definitions/models.WrTypeItem"
  13122. }
  13123. }
  13124. },
  13125. "500": {
  13126. "description": "Internal Server Error",
  13127. "schema": {
  13128. "$ref": "#/definitions/app.Response"
  13129. }
  13130. }
  13131. }
  13132. }
  13133. },
  13134. "/WrTrade2/QueryWrFinanceBuyApply": {
  13135. "get": {
  13136. "security": [
  13137. {
  13138. "ApiKeyAuth": []
  13139. }
  13140. ],
  13141. "description": "页面 融资信息+ / 申请单",
  13142. "produces": [
  13143. "application/json"
  13144. ],
  13145. "tags": [
  13146. "仓单贸易v2"
  13147. ],
  13148. "summary": "查询融资购买申请",
  13149. "parameters": [
  13150. {
  13151. "type": "integer",
  13152. "description": "用户id",
  13153. "name": "userid",
  13154. "in": "query",
  13155. "required": true
  13156. }
  13157. ],
  13158. "responses": {
  13159. "200": {
  13160. "description": "OK",
  13161. "schema": {
  13162. "type": "array",
  13163. "items": {
  13164. "$ref": "#/definitions/models.WrFinanceBuyApply"
  13165. }
  13166. }
  13167. },
  13168. "500": {
  13169. "description": "Internal Server Error",
  13170. "schema": {
  13171. "$ref": "#/definitions/app.Response"
  13172. }
  13173. }
  13174. }
  13175. }
  13176. },
  13177. "/WrTrade2/QueryWrFriendApply": {
  13178. "get": {
  13179. "security": [
  13180. {
  13181. "ApiKeyAuth": []
  13182. }
  13183. ],
  13184. "produces": [
  13185. "application/json"
  13186. ],
  13187. "tags": [
  13188. "仓单贸易v2"
  13189. ],
  13190. "summary": "查询好友申请记录",
  13191. "parameters": [
  13192. {
  13193. "type": "integer",
  13194. "description": "用户id",
  13195. "name": "userid",
  13196. "in": "query",
  13197. "required": true
  13198. }
  13199. ],
  13200. "responses": {
  13201. "200": {
  13202. "description": "OK",
  13203. "schema": {
  13204. "type": "array",
  13205. "items": {
  13206. "$ref": "#/definitions/models.WrFriendApply"
  13207. }
  13208. }
  13209. },
  13210. "500": {
  13211. "description": "Internal Server Error",
  13212. "schema": {
  13213. "$ref": "#/definitions/app.Response"
  13214. }
  13215. }
  13216. }
  13217. }
  13218. },
  13219. "/WrTrade2/QueryWrGoodsInfo": {
  13220. "get": {
  13221. "security": [
  13222. {
  13223. "ApiKeyAuth": []
  13224. }
  13225. ],
  13226. "produces": [
  13227. "application/json"
  13228. ],
  13229. "tags": [
  13230. "仓单贸易v2"
  13231. ],
  13232. "summary": "查询仓单商品信息",
  13233. "parameters": [
  13234. {
  13235. "type": "integer",
  13236. "description": "仓单贸易市场id",
  13237. "name": "marketid",
  13238. "in": "query"
  13239. },
  13240. {
  13241. "type": "integer",
  13242. "description": "0:仓单预售 1:仓单贸易",
  13243. "name": "haswr",
  13244. "in": "query",
  13245. "required": true
  13246. },
  13247. {
  13248. "type": "integer",
  13249. "description": "仓单要素id",
  13250. "name": "wrfactortypeid",
  13251. "in": "query",
  13252. "required": true
  13253. },
  13254. {
  13255. "type": "integer",
  13256. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  13257. "name": "tmplateid",
  13258. "in": "query"
  13259. }
  13260. ],
  13261. "responses": {
  13262. "200": {
  13263. "description": "OK",
  13264. "schema": {
  13265. "type": "array",
  13266. "items": {
  13267. "$ref": "#/definitions/models.WrGoodsInfo"
  13268. }
  13269. }
  13270. },
  13271. "500": {
  13272. "description": "Internal Server Error",
  13273. "schema": {
  13274. "$ref": "#/definitions/app.Response"
  13275. }
  13276. }
  13277. }
  13278. }
  13279. },
  13280. "/WrTrade2/QueryWrMarketTradeConfig": {
  13281. "get": {
  13282. "security": [
  13283. {
  13284. "ApiKeyAuth": []
  13285. }
  13286. ],
  13287. "produces": [
  13288. "application/json"
  13289. ],
  13290. "tags": [
  13291. "仓单贸易v2"
  13292. ],
  13293. "summary": "查询市场交易参数配置",
  13294. "parameters": [
  13295. {
  13296. "type": "integer",
  13297. "description": "市场id",
  13298. "name": "marketid",
  13299. "in": "query"
  13300. }
  13301. ],
  13302. "responses": {
  13303. "200": {
  13304. "description": "OK",
  13305. "schema": {
  13306. "type": "array",
  13307. "items": {
  13308. "$ref": "#/definitions/models.WrMarketTradeConfig"
  13309. }
  13310. }
  13311. },
  13312. "500": {
  13313. "description": "Internal Server Error",
  13314. "schema": {
  13315. "$ref": "#/definitions/app.Response"
  13316. }
  13317. }
  13318. }
  13319. }
  13320. },
  13321. "/WrTrade2/QueryWrOrderDetail": {
  13322. "get": {
  13323. "security": [
  13324. {
  13325. "ApiKeyAuth": []
  13326. }
  13327. ],
  13328. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  13329. "produces": [
  13330. "application/json"
  13331. ],
  13332. "tags": [
  13333. "仓单贸易v2"
  13334. ],
  13335. "summary": "查询仓单委托单(挂单)",
  13336. "parameters": [
  13337. {
  13338. "type": "integer",
  13339. "description": "页码",
  13340. "name": "page",
  13341. "in": "query"
  13342. },
  13343. {
  13344. "type": "integer",
  13345. "description": "每页条数",
  13346. "name": "pagesize",
  13347. "in": "query"
  13348. },
  13349. {
  13350. "type": "integer",
  13351. "description": "用户id",
  13352. "name": "userid",
  13353. "in": "query",
  13354. "required": true
  13355. },
  13356. {
  13357. "type": "integer",
  13358. "description": "仓单贸易市场id",
  13359. "name": "marketid",
  13360. "in": "query"
  13361. },
  13362. {
  13363. "type": "integer",
  13364. "description": "0:仓单预售 1:仓单贸易",
  13365. "name": "haswr",
  13366. "in": "query",
  13367. "required": true
  13368. },
  13369. {
  13370. "type": "string",
  13371. "description": "开始交易日(yyyymmdd)",
  13372. "name": "begindate",
  13373. "in": "query"
  13374. },
  13375. {
  13376. "type": "string",
  13377. "description": "结束交易日(yyyymmdd)",
  13378. "name": "enddate",
  13379. "in": "query"
  13380. }
  13381. ],
  13382. "responses": {
  13383. "200": {
  13384. "description": "OK",
  13385. "schema": {
  13386. "type": "array",
  13387. "items": {
  13388. "$ref": "#/definitions/models.WrOrderDetail"
  13389. }
  13390. }
  13391. },
  13392. "500": {
  13393. "description": "Internal Server Error",
  13394. "schema": {
  13395. "$ref": "#/definitions/app.Response"
  13396. }
  13397. }
  13398. }
  13399. }
  13400. },
  13401. "/WrTrade2/QueryWrOutInApply": {
  13402. "get": {
  13403. "security": [
  13404. {
  13405. "ApiKeyAuth": []
  13406. }
  13407. ],
  13408. "produces": [
  13409. "application/json"
  13410. ],
  13411. "tags": [
  13412. "仓单贸易v2"
  13413. ],
  13414. "summary": "查询提货申请",
  13415. "parameters": [
  13416. {
  13417. "type": "integer",
  13418. "description": "用户id",
  13419. "name": "userid",
  13420. "in": "query",
  13421. "required": true
  13422. },
  13423. {
  13424. "type": "string",
  13425. "description": "开始交易日(yyyymmdd)",
  13426. "name": "begindate",
  13427. "in": "query"
  13428. },
  13429. {
  13430. "type": "string",
  13431. "description": "结束交易日(yyyymmdd)",
  13432. "name": "enddate",
  13433. "in": "query"
  13434. }
  13435. ],
  13436. "responses": {
  13437. "200": {
  13438. "description": "OK",
  13439. "schema": {
  13440. "type": "array",
  13441. "items": {
  13442. "$ref": "#/definitions/models.WrOutInApply"
  13443. }
  13444. }
  13445. },
  13446. "500": {
  13447. "description": "Internal Server Error",
  13448. "schema": {
  13449. "$ref": "#/definitions/app.Response"
  13450. }
  13451. }
  13452. }
  13453. }
  13454. },
  13455. "/WrTrade2/QueryWrPerformancePlanStep": {
  13456. "get": {
  13457. "security": [
  13458. {
  13459. "ApiKeyAuth": []
  13460. }
  13461. ],
  13462. "produces": [
  13463. "application/json"
  13464. ],
  13465. "tags": [
  13466. "仓单贸易v2"
  13467. ],
  13468. "summary": "查询履约信息详情",
  13469. "parameters": [
  13470. {
  13471. "type": "integer",
  13472. "description": "履约计划id(performanceplanid)",
  13473. "name": "planid",
  13474. "in": "query",
  13475. "required": true
  13476. },
  13477. {
  13478. "type": "integer",
  13479. "description": "当前步骤id",
  13480. "name": "curstepid",
  13481. "in": "query"
  13482. }
  13483. ],
  13484. "responses": {
  13485. "200": {
  13486. "description": "OK",
  13487. "schema": {
  13488. "type": "array",
  13489. "items": {
  13490. "$ref": "#/definitions/models.WrPerformancePlanStep"
  13491. }
  13492. }
  13493. },
  13494. "500": {
  13495. "description": "Internal Server Error",
  13496. "schema": {
  13497. "$ref": "#/definitions/app.Response"
  13498. }
  13499. }
  13500. }
  13501. }
  13502. },
  13503. "/WrTrade2/QueryWrPerformanceStepType": {
  13504. "get": {
  13505. "security": [
  13506. {
  13507. "ApiKeyAuth": []
  13508. }
  13509. ],
  13510. "produces": [
  13511. "application/json"
  13512. ],
  13513. "tags": [
  13514. "仓单贸易v2"
  13515. ],
  13516. "summary": "查询履约步骤枚举",
  13517. "responses": {
  13518. "200": {
  13519. "description": "OK",
  13520. "schema": {
  13521. "type": "array",
  13522. "items": {
  13523. "$ref": "#/definitions/models.WrPerformanceStepType"
  13524. }
  13525. }
  13526. },
  13527. "500": {
  13528. "description": "Internal Server Error",
  13529. "schema": {
  13530. "$ref": "#/definitions/app.Response"
  13531. }
  13532. }
  13533. }
  13534. }
  13535. },
  13536. "/WrTrade2/QueryWrPosition": {
  13537. "get": {
  13538. "security": [
  13539. {
  13540. "ApiKeyAuth": []
  13541. }
  13542. ],
  13543. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  13544. "produces": [
  13545. "application/json"
  13546. ],
  13547. "tags": [
  13548. "仓单贸易v2"
  13549. ],
  13550. "summary": "查询现货(预售)仓单持仓",
  13551. "parameters": [
  13552. {
  13553. "type": "integer",
  13554. "description": "用户id",
  13555. "name": "userid",
  13556. "in": "query",
  13557. "required": true
  13558. },
  13559. {
  13560. "type": "integer",
  13561. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  13562. "name": "querytype",
  13563. "in": "query",
  13564. "required": true
  13565. },
  13566. {
  13567. "type": "integer",
  13568. "description": "0:仓单预售 1:仓单贸易",
  13569. "name": "haswr",
  13570. "in": "query",
  13571. "required": true
  13572. },
  13573. {
  13574. "type": "string",
  13575. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13576. "name": "dgitemname",
  13577. "in": "query"
  13578. },
  13579. {
  13580. "type": "integer",
  13581. "description": "仓库id(筛选条件)",
  13582. "name": "warehouseid",
  13583. "in": "query"
  13584. },
  13585. {
  13586. "type": "integer",
  13587. "description": "品种id",
  13588. "name": "deliverygoodsid",
  13589. "in": "query"
  13590. },
  13591. {
  13592. "type": "integer",
  13593. "description": "品类id",
  13594. "name": "wrstandardid",
  13595. "in": "query"
  13596. }
  13597. ],
  13598. "responses": {
  13599. "200": {
  13600. "description": "OK",
  13601. "schema": {
  13602. "type": "array",
  13603. "items": {
  13604. "$ref": "#/definitions/models.WrPosition"
  13605. }
  13606. }
  13607. },
  13608. "500": {
  13609. "description": "Internal Server Error",
  13610. "schema": {
  13611. "$ref": "#/definitions/app.Response"
  13612. }
  13613. }
  13614. }
  13615. }
  13616. },
  13617. "/WrTrade2/QueryWrScfContract": {
  13618. "get": {
  13619. "security": [
  13620. {
  13621. "ApiKeyAuth": []
  13622. }
  13623. ],
  13624. "produces": [
  13625. "application/json"
  13626. ],
  13627. "tags": [
  13628. "仓单贸易v2"
  13629. ],
  13630. "summary": "查询仓单贸易融资合同",
  13631. "parameters": [
  13632. {
  13633. "type": "integer",
  13634. "description": "用户id",
  13635. "name": "userid",
  13636. "in": "query",
  13637. "required": true
  13638. },
  13639. {
  13640. "type": "integer",
  13641. "description": "融资合同id",
  13642. "name": "scfcontractid",
  13643. "in": "query"
  13644. }
  13645. ],
  13646. "responses": {
  13647. "200": {
  13648. "description": "OK",
  13649. "schema": {
  13650. "type": "array",
  13651. "items": {
  13652. "$ref": "#/definitions/models.WrScfContract"
  13653. }
  13654. }
  13655. },
  13656. "500": {
  13657. "description": "Internal Server Error",
  13658. "schema": {
  13659. "$ref": "#/definitions/app.Response"
  13660. }
  13661. }
  13662. }
  13663. }
  13664. },
  13665. "/WrTrade2/QueryWrScfContractInterest": {
  13666. "get": {
  13667. "security": [
  13668. {
  13669. "ApiKeyAuth": []
  13670. }
  13671. ],
  13672. "produces": [
  13673. "application/json"
  13674. ],
  13675. "tags": [
  13676. "仓单贸易v2"
  13677. ],
  13678. "summary": "查询融资合同费用明细",
  13679. "parameters": [
  13680. {
  13681. "type": "integer",
  13682. "description": "融资合同id",
  13683. "name": "scfcontractid",
  13684. "in": "query"
  13685. }
  13686. ],
  13687. "responses": {
  13688. "200": {
  13689. "description": "OK",
  13690. "schema": {
  13691. "type": "array",
  13692. "items": {
  13693. "$ref": "#/definitions/models.WrScfContractInterest"
  13694. }
  13695. }
  13696. },
  13697. "500": {
  13698. "description": "Internal Server Error",
  13699. "schema": {
  13700. "$ref": "#/definitions/app.Response"
  13701. }
  13702. }
  13703. }
  13704. }
  13705. },
  13706. "/WrTrade2/QueryWrSpecialMatchOrder": {
  13707. "get": {
  13708. "security": [
  13709. {
  13710. "ApiKeyAuth": []
  13711. }
  13712. ],
  13713. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  13714. "produces": [
  13715. "application/json"
  13716. ],
  13717. "tags": [
  13718. "仓单贸易v2"
  13719. ],
  13720. "summary": "查询指定成交",
  13721. "parameters": [
  13722. {
  13723. "type": "integer",
  13724. "description": "页码",
  13725. "name": "page",
  13726. "in": "query"
  13727. },
  13728. {
  13729. "type": "integer",
  13730. "description": "每页条数",
  13731. "name": "pagesize",
  13732. "in": "query"
  13733. },
  13734. {
  13735. "type": "integer",
  13736. "description": "用户id",
  13737. "name": "userid",
  13738. "in": "query",
  13739. "required": true
  13740. },
  13741. {
  13742. "type": "integer",
  13743. "description": "仓单贸易市场id",
  13744. "name": "marketid",
  13745. "in": "query"
  13746. },
  13747. {
  13748. "type": "integer",
  13749. "description": "0:仓单预售 1:仓单贸易",
  13750. "name": "haswr",
  13751. "in": "query",
  13752. "required": true
  13753. },
  13754. {
  13755. "type": "integer",
  13756. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  13757. "name": "isspecified",
  13758. "in": "query"
  13759. }
  13760. ],
  13761. "responses": {
  13762. "200": {
  13763. "description": "OK",
  13764. "schema": {
  13765. "type": "array",
  13766. "items": {
  13767. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  13768. }
  13769. }
  13770. },
  13771. "500": {
  13772. "description": "Internal Server Error",
  13773. "schema": {
  13774. "$ref": "#/definitions/app.Response"
  13775. }
  13776. }
  13777. }
  13778. }
  13779. },
  13780. "/WrTrade2/QueryWrStandardFactoryItem": {
  13781. "get": {
  13782. "security": [
  13783. {
  13784. "ApiKeyAuth": []
  13785. }
  13786. ],
  13787. "produces": [
  13788. "application/json"
  13789. ],
  13790. "tags": [
  13791. "仓单贸易v2"
  13792. ],
  13793. "summary": "查询品类要素定义项",
  13794. "parameters": [
  13795. {
  13796. "type": "integer",
  13797. "description": "品类id",
  13798. "name": "wrstandardid",
  13799. "in": "query",
  13800. "required": true
  13801. }
  13802. ],
  13803. "responses": {
  13804. "200": {
  13805. "description": "OK",
  13806. "schema": {
  13807. "type": "array",
  13808. "items": {
  13809. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  13810. }
  13811. }
  13812. },
  13813. "500": {
  13814. "description": "Internal Server Error",
  13815. "schema": {
  13816. "$ref": "#/definitions/app.Response"
  13817. }
  13818. }
  13819. }
  13820. }
  13821. },
  13822. "/WrTrade2/QueryWrTradeBargainApply": {
  13823. "get": {
  13824. "security": [
  13825. {
  13826. "ApiKeyAuth": []
  13827. }
  13828. ],
  13829. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  13830. "produces": [
  13831. "application/json"
  13832. ],
  13833. "tags": [
  13834. "仓单贸易v2"
  13835. ],
  13836. "summary": "查询议价单",
  13837. "parameters": [
  13838. {
  13839. "type": "integer",
  13840. "description": "议价人id(摘牌方)",
  13841. "name": "userid",
  13842. "in": "query"
  13843. },
  13844. {
  13845. "type": "integer",
  13846. "description": "挂牌方id(查对方议价时,填写此项)",
  13847. "name": "matchuserid",
  13848. "in": "query"
  13849. },
  13850. {
  13851. "type": "integer",
  13852. "description": "关联委托单id",
  13853. "name": "wrtradeorderid",
  13854. "in": "query"
  13855. },
  13856. {
  13857. "type": "integer",
  13858. "description": "0:仓单预售 1:仓单贸易",
  13859. "name": "haswr",
  13860. "in": "query",
  13861. "required": true
  13862. },
  13863. {
  13864. "type": "string",
  13865. "description": "开始交易日(yyyymmdd)",
  13866. "name": "begindate",
  13867. "in": "query"
  13868. },
  13869. {
  13870. "type": "string",
  13871. "description": "结束交易日(yyyymmdd)",
  13872. "name": "enddate",
  13873. "in": "query"
  13874. }
  13875. ],
  13876. "responses": {
  13877. "200": {
  13878. "description": "OK",
  13879. "schema": {
  13880. "type": "array",
  13881. "items": {
  13882. "$ref": "#/definitions/models.WRTradeBargainApply"
  13883. }
  13884. }
  13885. },
  13886. "500": {
  13887. "description": "Internal Server Error",
  13888. "schema": {
  13889. "$ref": "#/definitions/app.Response"
  13890. }
  13891. }
  13892. }
  13893. }
  13894. },
  13895. "/WrTrade2/QueryWrTradeDetail": {
  13896. "get": {
  13897. "security": [
  13898. {
  13899. "ApiKeyAuth": []
  13900. }
  13901. ],
  13902. "produces": [
  13903. "application/json"
  13904. ],
  13905. "tags": [
  13906. "仓单贸易v2"
  13907. ],
  13908. "summary": "查询仓单成交明细",
  13909. "parameters": [
  13910. {
  13911. "type": "integer",
  13912. "description": "页码",
  13913. "name": "page",
  13914. "in": "query"
  13915. },
  13916. {
  13917. "type": "integer",
  13918. "description": "每页条数",
  13919. "name": "pagesize",
  13920. "in": "query"
  13921. },
  13922. {
  13923. "type": "integer",
  13924. "description": "用户id",
  13925. "name": "userid",
  13926. "in": "query",
  13927. "required": true
  13928. },
  13929. {
  13930. "type": "integer",
  13931. "description": "仓单贸易市场id",
  13932. "name": "marketid",
  13933. "in": "query"
  13934. },
  13935. {
  13936. "type": "integer",
  13937. "description": "0:仓单预售 1:仓单贸易",
  13938. "name": "haswr",
  13939. "in": "query",
  13940. "required": true
  13941. },
  13942. {
  13943. "type": "string",
  13944. "description": "开始交易日(yyyymmdd)",
  13945. "name": "begindate",
  13946. "in": "query"
  13947. },
  13948. {
  13949. "type": "string",
  13950. "description": "结束交易日(yyyymmdd)",
  13951. "name": "enddate",
  13952. "in": "query"
  13953. }
  13954. ],
  13955. "responses": {
  13956. "200": {
  13957. "description": "OK",
  13958. "schema": {
  13959. "type": "array",
  13960. "items": {
  13961. "$ref": "#/definitions/models.WrTradeDetail"
  13962. }
  13963. }
  13964. },
  13965. "500": {
  13966. "description": "Internal Server Error",
  13967. "schema": {
  13968. "$ref": "#/definitions/app.Response"
  13969. }
  13970. }
  13971. }
  13972. }
  13973. },
  13974. "/WrTrade2/QueryWrTradeOrderDetail": {
  13975. "get": {
  13976. "security": [
  13977. {
  13978. "ApiKeyAuth": []
  13979. }
  13980. ],
  13981. "produces": [
  13982. "application/json"
  13983. ],
  13984. "tags": [
  13985. "仓单贸易v2"
  13986. ],
  13987. "summary": "查询合约交易买卖大厅",
  13988. "parameters": [
  13989. {
  13990. "type": "integer",
  13991. "description": "页码",
  13992. "name": "page",
  13993. "in": "query"
  13994. },
  13995. {
  13996. "type": "integer",
  13997. "description": "每页条数",
  13998. "name": "pagesize",
  13999. "in": "query"
  14000. },
  14001. {
  14002. "type": "integer",
  14003. "description": "商品id",
  14004. "name": "goodsid",
  14005. "in": "query",
  14006. "required": true
  14007. },
  14008. {
  14009. "type": "integer",
  14010. "description": "买卖方向 0-买 1-卖",
  14011. "name": "buyorsell",
  14012. "in": "query",
  14013. "required": true
  14014. }
  14015. ],
  14016. "responses": {
  14017. "200": {
  14018. "description": "OK",
  14019. "schema": {
  14020. "type": "array",
  14021. "items": {
  14022. "$ref": "#/definitions/models.WrTradeOrderDetail"
  14023. }
  14024. }
  14025. },
  14026. "500": {
  14027. "description": "Internal Server Error",
  14028. "schema": {
  14029. "$ref": "#/definitions/app.Response"
  14030. }
  14031. }
  14032. }
  14033. }
  14034. },
  14035. "/WrTrade2/QueryWrUserFriend": {
  14036. "get": {
  14037. "security": [
  14038. {
  14039. "ApiKeyAuth": []
  14040. }
  14041. ],
  14042. "produces": [
  14043. "application/json"
  14044. ],
  14045. "tags": [
  14046. "仓单贸易v2"
  14047. ],
  14048. "summary": "查询我的朋友",
  14049. "parameters": [
  14050. {
  14051. "type": "integer",
  14052. "description": "用户id",
  14053. "name": "userid",
  14054. "in": "query",
  14055. "required": true
  14056. },
  14057. {
  14058. "type": "integer",
  14059. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  14060. "name": "newuserid",
  14061. "in": "query"
  14062. }
  14063. ],
  14064. "responses": {
  14065. "200": {
  14066. "description": "OK",
  14067. "schema": {
  14068. "type": "array",
  14069. "items": {
  14070. "$ref": "#/definitions/models.WrUserFriend"
  14071. }
  14072. }
  14073. },
  14074. "500": {
  14075. "description": "Internal Server Error",
  14076. "schema": {
  14077. "$ref": "#/definitions/app.Response"
  14078. }
  14079. }
  14080. }
  14081. }
  14082. },
  14083. "/WrTrade2/QueryWrUserReceiptInfo": {
  14084. "get": {
  14085. "security": [
  14086. {
  14087. "ApiKeyAuth": []
  14088. }
  14089. ],
  14090. "produces": [
  14091. "application/json"
  14092. ],
  14093. "tags": [
  14094. "仓单贸易v2"
  14095. ],
  14096. "summary": "查询发票信息",
  14097. "parameters": [
  14098. {
  14099. "type": "integer",
  14100. "description": "用户id",
  14101. "name": "userid",
  14102. "in": "query"
  14103. },
  14104. {
  14105. "type": "integer",
  14106. "description": "发票类型 - 1:个人 2:企业",
  14107. "name": "receipttype",
  14108. "in": "query"
  14109. }
  14110. ],
  14111. "responses": {
  14112. "200": {
  14113. "description": "OK",
  14114. "schema": {
  14115. "type": "array",
  14116. "items": {
  14117. "$ref": "#/definitions/models.WrUserReceiptInfo"
  14118. }
  14119. }
  14120. },
  14121. "500": {
  14122. "description": "Internal Server Error",
  14123. "schema": {
  14124. "$ref": "#/definitions/app.Response"
  14125. }
  14126. }
  14127. }
  14128. }
  14129. },
  14130. "/ZJ/GetBankTip": {
  14131. "get": {
  14132. "produces": [
  14133. "application/json"
  14134. ],
  14135. "tags": [
  14136. "中江"
  14137. ],
  14138. "summary": "获取中江网银端出入金提示信息",
  14139. "responses": {
  14140. "200": {
  14141. "description": "OK",
  14142. "schema": {
  14143. "type": "string"
  14144. }
  14145. },
  14146. "500": {
  14147. "description": "Internal Server Error",
  14148. "schema": {
  14149. "$ref": "#/definitions/app.Response"
  14150. }
  14151. }
  14152. }
  14153. }
  14154. },
  14155. "/ZJ/GetCusBankChannels": {
  14156. "get": {
  14157. "produces": [
  14158. "application/json"
  14159. ],
  14160. "tags": [
  14161. "中江"
  14162. ],
  14163. "summary": "获取中江出入金渠道显示列表",
  14164. "responses": {
  14165. "200": {
  14166. "description": "OK",
  14167. "schema": {
  14168. "type": "array",
  14169. "items": {
  14170. "type": "string"
  14171. }
  14172. }
  14173. },
  14174. "500": {
  14175. "description": "Internal Server Error",
  14176. "schema": {
  14177. "$ref": "#/definitions/app.Response"
  14178. }
  14179. }
  14180. }
  14181. }
  14182. }
  14183. },
  14184. "definitions": {
  14185. "app.Response": {
  14186. "type": "object",
  14187. "properties": {
  14188. "code": {
  14189. "type": "integer"
  14190. },
  14191. "data": {},
  14192. "msg": {
  14193. "type": "string"
  14194. },
  14195. "page": {
  14196. "description": "页码",
  14197. "type": "integer"
  14198. },
  14199. "pagesize": {
  14200. "description": "每页条数",
  14201. "type": "integer"
  14202. },
  14203. "total": {
  14204. "description": "总条数",
  14205. "type": "integer"
  14206. }
  14207. }
  14208. },
  14209. "common.ClientMenu": {
  14210. "type": "object",
  14211. "properties": {
  14212. "children": {
  14213. "description": "子菜单列表",
  14214. "type": "array",
  14215. "items": {
  14216. "$ref": "#/definitions/common.ClientMenu"
  14217. }
  14218. },
  14219. "code": {
  14220. "description": "ID",
  14221. "type": "string"
  14222. },
  14223. "isshow": {
  14224. "description": "是否显示",
  14225. "type": "boolean"
  14226. },
  14227. "remark": {
  14228. "description": "备注",
  14229. "type": "string"
  14230. },
  14231. "rulekey": {
  14232. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  14233. "type": "string"
  14234. },
  14235. "sort": {
  14236. "description": "排序",
  14237. "type": "integer"
  14238. },
  14239. "title": {
  14240. "description": "标题",
  14241. "type": "string"
  14242. },
  14243. "type": {
  14244. "description": "类型,1:菜单 2:按钮",
  14245. "type": "integer"
  14246. },
  14247. "url": {
  14248. "description": "URL",
  14249. "type": "string"
  14250. }
  14251. }
  14252. },
  14253. "common.PCWebMenu": {
  14254. "type": "object",
  14255. "properties": {
  14256. "auth": {
  14257. "description": "页面权限列表",
  14258. "type": "array",
  14259. "items": {
  14260. "$ref": "#/definitions/common.PCWebMenuAuth"
  14261. }
  14262. },
  14263. "children": {
  14264. "description": "子菜单列表",
  14265. "type": "array",
  14266. "items": {
  14267. "$ref": "#/definitions/common.PCWebMenu"
  14268. }
  14269. },
  14270. "code": {
  14271. "description": "ID,新版本中权限KEY也是这个字段",
  14272. "type": "string"
  14273. },
  14274. "component": {
  14275. "description": "路由组件",
  14276. "type": "string"
  14277. },
  14278. "isshow": {
  14279. "description": "是否显示",
  14280. "type": "boolean"
  14281. },
  14282. "path": {
  14283. "description": "路由路径",
  14284. "type": "string"
  14285. },
  14286. "remark": {
  14287. "description": "备注",
  14288. "type": "string"
  14289. },
  14290. "rulekey": {
  14291. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14292. "type": "string"
  14293. },
  14294. "sort": {
  14295. "description": "排序",
  14296. "type": "integer"
  14297. },
  14298. "title": {
  14299. "description": "标题",
  14300. "type": "string"
  14301. },
  14302. "url": {
  14303. "description": "URL",
  14304. "type": "string"
  14305. }
  14306. }
  14307. },
  14308. "common.PCWebMenuAuth": {
  14309. "type": "object",
  14310. "properties": {
  14311. "code": {
  14312. "description": "ID,新版本中权限KEY也是这个字段",
  14313. "type": "string"
  14314. },
  14315. "isshow": {
  14316. "description": "是否显示",
  14317. "type": "boolean"
  14318. },
  14319. "label": {
  14320. "description": "标题",
  14321. "type": "string"
  14322. },
  14323. "remark": {
  14324. "description": "备注",
  14325. "type": "string"
  14326. },
  14327. "rulekey": {
  14328. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14329. "type": "string"
  14330. }
  14331. }
  14332. },
  14333. "common.QueryImageConfigsRsp": {
  14334. "type": "object",
  14335. "required": [
  14336. "configid"
  14337. ],
  14338. "properties": {
  14339. "areauserid": {
  14340. "description": "所属机构ID",
  14341. "type": "integer"
  14342. },
  14343. "configid": {
  14344. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14345. "type": "integer"
  14346. },
  14347. "createdate": {
  14348. "description": "创建时间",
  14349. "type": "string"
  14350. },
  14351. "creatorid": {
  14352. "description": "创建人",
  14353. "type": "integer"
  14354. },
  14355. "imagepath": {
  14356. "description": "图片",
  14357. "type": "string"
  14358. },
  14359. "imagetype": {
  14360. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  14361. "type": "integer"
  14362. },
  14363. "isshow": {
  14364. "description": "是否展示 - 0:不展示 1:展示",
  14365. "type": "integer"
  14366. },
  14367. "marketid": {
  14368. "description": "市场ID",
  14369. "type": "integer"
  14370. },
  14371. "modifierid": {
  14372. "description": "操作人",
  14373. "type": "integer"
  14374. },
  14375. "sort": {
  14376. "description": "排序",
  14377. "type": "integer"
  14378. },
  14379. "title": {
  14380. "description": "标题",
  14381. "type": "string"
  14382. },
  14383. "trademode": {
  14384. "description": "交易模式",
  14385. "type": "integer"
  14386. },
  14387. "updatedate": {
  14388. "description": "修改时间",
  14389. "type": "string"
  14390. },
  14391. "url": {
  14392. "description": "链接(地址或商品ID)",
  14393. "type": "string"
  14394. },
  14395. "urltype": {
  14396. "description": "链接类型 - 1:直接地址 2:商品ID",
  14397. "type": "integer"
  14398. }
  14399. }
  14400. },
  14401. "common.QueryNoticeRsp": {
  14402. "type": "object",
  14403. "required": [
  14404. "autoid"
  14405. ],
  14406. "properties": {
  14407. "auditoruserid": {
  14408. "description": "审核人",
  14409. "type": "integer"
  14410. },
  14411. "auditremark": {
  14412. "description": "审核备注",
  14413. "type": "string"
  14414. },
  14415. "audittime": {
  14416. "description": "审核日期",
  14417. "type": "string"
  14418. },
  14419. "autoid": {
  14420. "description": "自增ID",
  14421. "type": "integer"
  14422. },
  14423. "content": {
  14424. "description": "内容",
  14425. "type": "string"
  14426. },
  14427. "createtime": {
  14428. "description": "创建时间",
  14429. "type": "string"
  14430. },
  14431. "creatorid": {
  14432. "description": "建仓人",
  14433. "type": "integer"
  14434. },
  14435. "endtime": {
  14436. "description": "结束时间",
  14437. "type": "string"
  14438. },
  14439. "istop": {
  14440. "description": "是否置顶 - 0:不置顶 1:置顶",
  14441. "type": "integer"
  14442. },
  14443. "msgiconurl": {
  14444. "description": "消息图标Url",
  14445. "type": "string"
  14446. },
  14447. "msgtype": {
  14448. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  14449. "type": "integer"
  14450. },
  14451. "publisher": {
  14452. "description": "消息发布者",
  14453. "type": "string"
  14454. },
  14455. "readed": {
  14456. "description": "是否已读",
  14457. "type": "boolean"
  14458. },
  14459. "scheduletime": {
  14460. "description": "计划发送时间",
  14461. "type": "string"
  14462. },
  14463. "sendtype": {
  14464. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  14465. "type": "integer"
  14466. },
  14467. "sentstatus": {
  14468. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  14469. "type": "integer"
  14470. },
  14471. "title": {
  14472. "description": "标题",
  14473. "type": "string"
  14474. },
  14475. "userid": {
  14476. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  14477. "type": "integer"
  14478. }
  14479. }
  14480. },
  14481. "common.QueryProvincesAndCitiesRsp": {
  14482. "type": "object",
  14483. "properties": {
  14484. "cities": {
  14485. "description": "市",
  14486. "type": "array",
  14487. "items": {
  14488. "$ref": "#/definitions/models.Division"
  14489. }
  14490. },
  14491. "province": {
  14492. "description": "省",
  14493. "$ref": "#/definitions/models.Division"
  14494. }
  14495. }
  14496. },
  14497. "common.QueryTableDefineRsp": {
  14498. "type": "object",
  14499. "required": [
  14500. "tablekey"
  14501. ],
  14502. "properties": {
  14503. "columns": {
  14504. "description": "列头信息数组",
  14505. "type": "array",
  14506. "items": {
  14507. "$ref": "#/definitions/models.Tablecolumnconfig"
  14508. }
  14509. },
  14510. "remark": {
  14511. "description": "Remark",
  14512. "type": "string"
  14513. },
  14514. "tabelmenu": {
  14515. "description": "列表菜单",
  14516. "type": "string"
  14517. },
  14518. "tablekey": {
  14519. "description": "列表Key",
  14520. "type": "string"
  14521. },
  14522. "tablename": {
  14523. "description": "列表名称",
  14524. "type": "string"
  14525. },
  14526. "tabletype": {
  14527. "description": "列表类型 - 1:管理端 2:终端",
  14528. "type": "integer"
  14529. }
  14530. }
  14531. },
  14532. "common.QueryTraderMenuRsp": {
  14533. "type": "object",
  14534. "properties": {
  14535. "OperationMenu": {
  14536. "description": "功能菜单",
  14537. "type": "array",
  14538. "items": {
  14539. "$ref": "#/definitions/models.OperationPrimaryMenu"
  14540. }
  14541. },
  14542. "QuoteMenu": {
  14543. "description": "报价牌分类菜单",
  14544. "type": "array",
  14545. "items": {
  14546. "$ref": "#/definitions/models.QuotePrimaryMenu"
  14547. }
  14548. }
  14549. }
  14550. },
  14551. "cptrade.Cptradepositioncancel": {
  14552. "type": "object",
  14553. "required": [
  14554. "cancelid"
  14555. ],
  14556. "properties": {
  14557. "accountid": {
  14558. "description": "申请人账户ID",
  14559. "type": "integer"
  14560. },
  14561. "applystatus": {
  14562. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14563. "type": "integer"
  14564. },
  14565. "applytime": {
  14566. "description": "申请时间",
  14567. "type": "string"
  14568. },
  14569. "cancelid": {
  14570. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  14571. "type": "integer"
  14572. },
  14573. "cancelqty": {
  14574. "description": "注销数量",
  14575. "type": "integer"
  14576. },
  14577. "createtime": {
  14578. "description": "创建时间",
  14579. "type": "string"
  14580. },
  14581. "creatorid": {
  14582. "description": "创建人ID",
  14583. "type": "integer"
  14584. },
  14585. "creatorname": {
  14586. "description": "创建人",
  14587. "type": "string"
  14588. },
  14589. "goodscode": {
  14590. "description": "订单商品代码",
  14591. "type": "string"
  14592. },
  14593. "goodsid": {
  14594. "description": "商品ID",
  14595. "type": "integer"
  14596. },
  14597. "goodsname": {
  14598. "description": "订单商品名称",
  14599. "type": "string"
  14600. },
  14601. "goodunit": {
  14602. "description": "报价单位",
  14603. "type": "string"
  14604. },
  14605. "handlestatus": {
  14606. "description": "处理状态",
  14607. "type": "integer"
  14608. },
  14609. "marketid": {
  14610. "description": "市场ID",
  14611. "type": "integer"
  14612. },
  14613. "marketname": {
  14614. "description": "市场名称",
  14615. "type": "string"
  14616. },
  14617. "tradedate": {
  14618. "description": "交易日(yyyyMMdd)",
  14619. "type": "string"
  14620. },
  14621. "userid": {
  14622. "description": "申请人ID",
  14623. "type": "integer"
  14624. }
  14625. }
  14626. },
  14627. "cptrade.Cptradepresaleapply": {
  14628. "type": "object",
  14629. "required": [
  14630. "applyid"
  14631. ],
  14632. "properties": {
  14633. "accountid": {
  14634. "description": "申请人账户ID",
  14635. "type": "integer"
  14636. },
  14637. "applyid": {
  14638. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  14639. "type": "integer"
  14640. },
  14641. "applyremark": {
  14642. "description": "申请备注",
  14643. "type": "string"
  14644. },
  14645. "applystatus": {
  14646. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14647. "type": "integer"
  14648. },
  14649. "applytime": {
  14650. "description": "申请时间",
  14651. "type": "string"
  14652. },
  14653. "attachmenturl": {
  14654. "description": "附件地址",
  14655. "type": "string"
  14656. },
  14657. "endtime": {
  14658. "description": "预售结束时间",
  14659. "type": "string"
  14660. },
  14661. "goodscode": {
  14662. "description": "商品代码",
  14663. "type": "string"
  14664. },
  14665. "goodsid": {
  14666. "description": "商品ID",
  14667. "type": "integer"
  14668. },
  14669. "goodsname": {
  14670. "description": "商品名称",
  14671. "type": "string"
  14672. },
  14673. "goodunit": {
  14674. "description": "报价单位",
  14675. "type": "string"
  14676. },
  14677. "handlestatus": {
  14678. "description": "处理状态",
  14679. "type": "integer"
  14680. },
  14681. "marketid": {
  14682. "description": "预售市场ID",
  14683. "type": "integer"
  14684. },
  14685. "marketname": {
  14686. "description": "预售市场名称",
  14687. "type": "string"
  14688. },
  14689. "presaleqty": {
  14690. "description": "预售数量",
  14691. "type": "integer"
  14692. },
  14693. "relatedgoodscode": {
  14694. "description": "关联交易合约代码",
  14695. "type": "string"
  14696. },
  14697. "relatedgoodsid": {
  14698. "description": "关联交易合约ID",
  14699. "type": "integer"
  14700. },
  14701. "relatedgoodsname": {
  14702. "description": "关联交易合约名称",
  14703. "type": "string"
  14704. },
  14705. "starttime": {
  14706. "description": "预售开始时间",
  14707. "type": "string"
  14708. },
  14709. "tradedate": {
  14710. "description": "交易日(yyyyMMdd)",
  14711. "type": "string"
  14712. },
  14713. "trademode": {
  14714. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  14715. "type": "integer"
  14716. },
  14717. "userid": {
  14718. "description": "申请人ID",
  14719. "type": "integer"
  14720. }
  14721. }
  14722. },
  14723. "cptrade.Cptradeusergoodsdata": {
  14724. "type": "object",
  14725. "required": [
  14726. "accountid",
  14727. "goodsid"
  14728. ],
  14729. "properties": {
  14730. "EnabledQty": {
  14731. "description": "可用量",
  14732. "type": "integer"
  14733. },
  14734. "GoodsCode": {
  14735. "description": "订单商品代码",
  14736. "type": "string"
  14737. },
  14738. "GoodsName": {
  14739. "description": "订单商品名称",
  14740. "type": "string"
  14741. },
  14742. "WRStandardCode": {
  14743. "description": "仓单标准代码",
  14744. "type": "string"
  14745. },
  14746. "WRStandardName": {
  14747. "description": "仓单标准名称",
  14748. "type": "string"
  14749. },
  14750. "accountid": {
  14751. "description": "账户ID",
  14752. "type": "integer"
  14753. },
  14754. "cancelqty": {
  14755. "description": "注销量",
  14756. "type": "integer"
  14757. },
  14758. "curpresaleqty": {
  14759. "description": "当前预售量",
  14760. "type": "integer"
  14761. },
  14762. "deliveryqty": {
  14763. "description": "交割量",
  14764. "type": "integer"
  14765. },
  14766. "freezeamount": {
  14767. "description": "冻结金额",
  14768. "type": "number"
  14769. },
  14770. "goodsid": {
  14771. "description": "商品ID",
  14772. "type": "integer"
  14773. },
  14774. "goodunit": {
  14775. "description": "报价单位",
  14776. "type": "string"
  14777. },
  14778. "hasspotfreeze": {
  14779. "description": "是否有现货冻结 - 0:否 1:有",
  14780. "type": "integer"
  14781. },
  14782. "inqty": {
  14783. "description": "转入量(总数量)",
  14784. "type": "integer"
  14785. },
  14786. "marketid": {
  14787. "description": "市场ID",
  14788. "type": "integer"
  14789. },
  14790. "presaledamount": {
  14791. "description": "已预售总金额",
  14792. "type": "integer"
  14793. },
  14794. "presaledqty": {
  14795. "description": "已预售量",
  14796. "type": "integer"
  14797. },
  14798. "userid": {
  14799. "description": "用户ID",
  14800. "type": "integer"
  14801. },
  14802. "wrstandardid": {
  14803. "description": "仓单标准ID",
  14804. "type": "integer"
  14805. }
  14806. }
  14807. },
  14808. "cptrade.QueryCPTradeMyBidRsp": {
  14809. "type": "object",
  14810. "required": [
  14811. "accountid",
  14812. "goodsid",
  14813. "marketid",
  14814. "orderid",
  14815. "orderqty",
  14816. "ordertime",
  14817. "tradeprice",
  14818. "tradeqty"
  14819. ],
  14820. "properties": {
  14821. "accountid": {
  14822. "description": "账户ID[报价币种]",
  14823. "type": "integer"
  14824. },
  14825. "goodsid": {
  14826. "description": "商品ID",
  14827. "type": "integer"
  14828. },
  14829. "goodunit": {
  14830. "description": "报价单位",
  14831. "type": "string"
  14832. },
  14833. "marketid": {
  14834. "description": "市场ID",
  14835. "type": "integer"
  14836. },
  14837. "orderid": {
  14838. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14839. "type": "integer"
  14840. },
  14841. "orderprice": {
  14842. "description": "委托价格",
  14843. "type": "number"
  14844. },
  14845. "orderqty": {
  14846. "description": "委托数量",
  14847. "type": "integer"
  14848. },
  14849. "ordertime": {
  14850. "description": "委托时间",
  14851. "type": "string"
  14852. },
  14853. "ordertotalprice": {
  14854. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  14855. "type": "number"
  14856. },
  14857. "ordertotalweight": {
  14858. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  14859. "type": "integer"
  14860. },
  14861. "totaltotalprice": {
  14862. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  14863. "type": "number"
  14864. },
  14865. "tradeprice": {
  14866. "description": "成交价格",
  14867. "type": "number"
  14868. },
  14869. "tradeqty": {
  14870. "description": "成交数量",
  14871. "type": "integer"
  14872. }
  14873. }
  14874. },
  14875. "cptrade.QueryCPTradeOrderDetailRsq": {
  14876. "type": "object",
  14877. "required": [
  14878. "accountid",
  14879. "buildtype",
  14880. "buyorsell",
  14881. "goodsid",
  14882. "marketid",
  14883. "memberuserid",
  14884. "operatetype",
  14885. "orderqty",
  14886. "ordertime",
  14887. "pricemode",
  14888. "strorderid",
  14889. "tradedate",
  14890. "validtype"
  14891. ],
  14892. "properties": {
  14893. "accountid": {
  14894. "description": "账户ID[报价币种]",
  14895. "type": "integer"
  14896. },
  14897. "buildtype": {
  14898. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  14899. "type": "integer"
  14900. },
  14901. "buyorsell": {
  14902. "description": "买卖 - 0:买 1:卖",
  14903. "type": "integer"
  14904. },
  14905. "cancelorderid": {
  14906. "description": "撤单单号(撤单时填写)",
  14907. "type": "integer"
  14908. },
  14909. "cancelqty": {
  14910. "description": "撤单数量",
  14911. "type": "integer"
  14912. },
  14913. "clientordertime": {
  14914. "description": "客户端委托时间",
  14915. "type": "string"
  14916. },
  14917. "clientticket": {
  14918. "description": "客户端流水号",
  14919. "type": "string"
  14920. },
  14921. "clienttype": {
  14922. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14923. "type": "integer"
  14924. },
  14925. "closeexchagechargevalue": {
  14926. "description": "平仓交易所手续费设置值",
  14927. "type": "number"
  14928. },
  14929. "closefeealgorithm": {
  14930. "description": "平仓手续费收取方式 1:比率 2:固定",
  14931. "type": "integer"
  14932. },
  14933. "closefreezecharge": {
  14934. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  14935. "type": "number"
  14936. },
  14937. "closememberchargevalue": {
  14938. "description": "平仓会员手续费设置值",
  14939. "type": "number"
  14940. },
  14941. "closeqty": {
  14942. "description": "平仓数量(先建后平操作 需要记录)",
  14943. "type": "integer"
  14944. },
  14945. "closetradeqty": {
  14946. "description": "平仓成交数量(先建后平操作,需要记录)",
  14947. "type": "integer"
  14948. },
  14949. "closeunfreezecharge": {
  14950. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14951. "type": "number"
  14952. },
  14953. "delistingtype": {
  14954. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14955. "type": "integer"
  14956. },
  14957. "freezecharge": {
  14958. "description": "冻结手续费",
  14959. "type": "number"
  14960. },
  14961. "freezemargin": {
  14962. "description": "冻结保证金(冻结交易金额)",
  14963. "type": "number"
  14964. },
  14965. "gcaccountid": {
  14966. "description": "账户ID[合约币种]",
  14967. "type": "integer"
  14968. },
  14969. "goodsid": {
  14970. "description": "商品ID",
  14971. "type": "integer"
  14972. },
  14973. "isconfirmexercise": {
  14974. "description": "是否确认行权- 0:否 1:是",
  14975. "type": "integer"
  14976. },
  14977. "ispreexercise": {
  14978. "description": "是否预申报- 0:否 1:是",
  14979. "type": "integer"
  14980. },
  14981. "listingselecttype": {
  14982. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14983. "type": "integer"
  14984. },
  14985. "marginalgorithm": {
  14986. "description": "保证金收取方式 1:比率 2:固定",
  14987. "type": "integer"
  14988. },
  14989. "marginvalue": {
  14990. "description": "即市保证金设置值",
  14991. "type": "number"
  14992. },
  14993. "marketid": {
  14994. "description": "市场ID",
  14995. "type": "integer"
  14996. },
  14997. "marketmaxsub": {
  14998. "description": "市价最大偏移范围",
  14999. "type": "number"
  15000. },
  15001. "memberuserid": {
  15002. "description": "所属会员UserID",
  15003. "type": "integer"
  15004. },
  15005. "openexchagechargevalue": {
  15006. "description": "建仓交易所手续费设置值",
  15007. "type": "number"
  15008. },
  15009. "openfeealgorithm": {
  15010. "description": "建仓手续费收取方式 1:比率 2:固定",
  15011. "type": "integer"
  15012. },
  15013. "openfreezecharge": {
  15014. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15015. "type": "number"
  15016. },
  15017. "openmemberchargevalue": {
  15018. "description": "建仓会员手续费设置值",
  15019. "type": "number"
  15020. },
  15021. "openqty": {
  15022. "description": "开仓数量(先建后平操作,需要记录)",
  15023. "type": "integer"
  15024. },
  15025. "opentradeqty": {
  15026. "description": "开仓成交数量(先建后平操作,需要记录)",
  15027. "type": "integer"
  15028. },
  15029. "openunfreezecharge": {
  15030. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15031. "type": "number"
  15032. },
  15033. "operatetype": {
  15034. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15035. "type": "integer"
  15036. },
  15037. "operatorid": {
  15038. "description": "登录账号(LoginID)",
  15039. "type": "integer"
  15040. },
  15041. "optiontype": {
  15042. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15043. "type": "integer"
  15044. },
  15045. "orderprice": {
  15046. "description": "委托价格",
  15047. "type": "number"
  15048. },
  15049. "orderqty": {
  15050. "description": "委托数量",
  15051. "type": "integer"
  15052. },
  15053. "ordersrc": {
  15054. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15055. "type": "integer"
  15056. },
  15057. "orderstatus": {
  15058. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15059. "type": "integer"
  15060. },
  15061. "ordertime": {
  15062. "description": "委托时间",
  15063. "type": "string"
  15064. },
  15065. "preexerciseprice": {
  15066. "description": "预申报价格",
  15067. "type": "number"
  15068. },
  15069. "premium": {
  15070. "description": "权利金",
  15071. "type": "number"
  15072. },
  15073. "preorderid": {
  15074. "description": "关联预埋单号(止盈止损单时填写)",
  15075. "type": "integer"
  15076. },
  15077. "pricemode": {
  15078. "description": "取价方式 - 1:市价 2: 限价",
  15079. "type": "integer"
  15080. },
  15081. "quoteid": {
  15082. "description": "报价单ID",
  15083. "type": "integer"
  15084. },
  15085. "relatedid": {
  15086. "description": "关联单号(交割单)",
  15087. "type": "integer"
  15088. },
  15089. "retcode": {
  15090. "description": "错误代码",
  15091. "type": "integer"
  15092. },
  15093. "sessionid": {
  15094. "description": "会话ID",
  15095. "type": "integer"
  15096. },
  15097. "strorderid": {
  15098. "description": "委托单号",
  15099. "type": "string"
  15100. },
  15101. "tradedate": {
  15102. "description": "交易日(yyyyMMdd)",
  15103. "type": "string"
  15104. },
  15105. "tradeproperty": {
  15106. "description": "交易属性",
  15107. "type": "integer"
  15108. },
  15109. "tradeqty": {
  15110. "description": "成交数量",
  15111. "type": "integer"
  15112. },
  15113. "unfreezecharge": {
  15114. "description": "解冻手续费",
  15115. "type": "number"
  15116. },
  15117. "unfreezemargin": {
  15118. "description": "解冻保证金",
  15119. "type": "number"
  15120. },
  15121. "updatetime": {
  15122. "description": "更新时间",
  15123. "type": "string"
  15124. },
  15125. "uuid": {
  15126. "description": "发起端唯一id",
  15127. "type": "string"
  15128. },
  15129. "validtime": {
  15130. "description": "有效期限",
  15131. "type": "string"
  15132. },
  15133. "validtype": {
  15134. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  15135. "type": "integer"
  15136. },
  15137. "volumetype": {
  15138. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  15139. "type": "integer"
  15140. }
  15141. }
  15142. },
  15143. "cptrade.QueryMyCPTradeGoodsRsp": {
  15144. "type": "object",
  15145. "required": [
  15146. "goodscode",
  15147. "goodsid",
  15148. "goodsname",
  15149. "marketid",
  15150. "relatedgoodscode",
  15151. "relatedgoodsname"
  15152. ],
  15153. "properties": {
  15154. "accountid": {
  15155. "description": "卖方账户ID",
  15156. "type": "integer"
  15157. },
  15158. "agreeunit": {
  15159. "description": "合约单位",
  15160. "type": "number"
  15161. },
  15162. "applyid": {
  15163. "description": "关联申请ID",
  15164. "type": "integer"
  15165. },
  15166. "attachmenturl": {
  15167. "description": "附件地址",
  15168. "type": "string"
  15169. },
  15170. "createtime": {
  15171. "description": "创建时间",
  15172. "type": "string"
  15173. },
  15174. "currencyid": {
  15175. "description": "报价货币ID",
  15176. "type": "integer"
  15177. },
  15178. "decimalplace": {
  15179. "description": "报价小数位",
  15180. "type": "integer"
  15181. },
  15182. "endtime": {
  15183. "description": "预售结束时间",
  15184. "type": "string"
  15185. },
  15186. "floorprice": {
  15187. "description": "底价[大宗式竞拍]",
  15188. "type": "number"
  15189. },
  15190. "goodscode": {
  15191. "description": "商品代码(预售)",
  15192. "type": "string"
  15193. },
  15194. "goodsdetail": {
  15195. "description": "详情[大宗]",
  15196. "type": "string"
  15197. },
  15198. "goodsid": {
  15199. "description": "商品ID(自增ID SEQ_GOODS)",
  15200. "type": "integer"
  15201. },
  15202. "goodsname": {
  15203. "description": "商品名称(预售)",
  15204. "type": "string"
  15205. },
  15206. "goodunit": {
  15207. "description": "报价单位",
  15208. "type": "string"
  15209. },
  15210. "goodunitid": {
  15211. "description": "报价单位ID",
  15212. "type": "integer"
  15213. },
  15214. "marketid": {
  15215. "description": "所属市场ID",
  15216. "type": "integer"
  15217. },
  15218. "marketname": {
  15219. "description": "预售市场名称",
  15220. "type": "string"
  15221. },
  15222. "presaledamount": {
  15223. "description": "已预售总金额(预售结束时更新)",
  15224. "type": "number"
  15225. },
  15226. "presaledqty": {
  15227. "description": "已预售量(预售结束时更新)",
  15228. "type": "integer"
  15229. },
  15230. "presalemode": {
  15231. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15232. "type": "integer"
  15233. },
  15234. "presaleqty": {
  15235. "description": "预售数量",
  15236. "type": "integer"
  15237. },
  15238. "refprice": {
  15239. "description": "参考价格[一口价]",
  15240. "type": "number"
  15241. },
  15242. "relatedgoodscode": {
  15243. "description": "商品代码(订单)",
  15244. "type": "string"
  15245. },
  15246. "relatedgoodsid": {
  15247. "description": "关联交易合约ID",
  15248. "type": "integer"
  15249. },
  15250. "relatedgoodsname": {
  15251. "description": "商品名称(订单)",
  15252. "type": "string"
  15253. },
  15254. "relatedmarketid": {
  15255. "description": "关联交易合约市场ID",
  15256. "type": "integer"
  15257. },
  15258. "sellstatus": {
  15259. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15260. "type": "integer"
  15261. },
  15262. "startprice": {
  15263. "description": "起拍价[大宗式竞拍]",
  15264. "type": "number"
  15265. },
  15266. "starttime": {
  15267. "description": "预售开始时间",
  15268. "type": "string"
  15269. },
  15270. "tradedate": {
  15271. "description": "交易日(yyyyMMdd)",
  15272. "type": "string"
  15273. },
  15274. "tradeprice": {
  15275. "description": "成交价[大宗]",
  15276. "type": "number"
  15277. },
  15278. "userid": {
  15279. "description": "卖方用户ID",
  15280. "type": "integer"
  15281. }
  15282. }
  15283. },
  15284. "cptrade.QueryPresaleGoodsExRsp": {
  15285. "type": "object",
  15286. "required": [
  15287. "goodsid"
  15288. ],
  15289. "properties": {
  15290. "attachmenturl": {
  15291. "description": "附件地址",
  15292. "type": "string"
  15293. },
  15294. "createtime": {
  15295. "description": "创建时间",
  15296. "type": "string"
  15297. },
  15298. "endtime": {
  15299. "description": "预售结束时间",
  15300. "type": "string"
  15301. },
  15302. "floorprice": {
  15303. "description": "底价[大宗式竞拍]",
  15304. "type": "number"
  15305. },
  15306. "goodsdetail": {
  15307. "description": "详情[大宗]",
  15308. "type": "string"
  15309. },
  15310. "goodsid": {
  15311. "description": "商品ID(预售)",
  15312. "type": "integer"
  15313. },
  15314. "goodunit": {
  15315. "description": "报价单位",
  15316. "type": "string"
  15317. },
  15318. "marketid": {
  15319. "description": "预售市场ID - 根据预售模式选择市场",
  15320. "type": "integer"
  15321. },
  15322. "presaledamount": {
  15323. "description": "已预售总金额(预售结束时更新)",
  15324. "type": "number"
  15325. },
  15326. "presaledqty": {
  15327. "description": "已预售量(预售结束时更新)",
  15328. "type": "integer"
  15329. },
  15330. "presalemode": {
  15331. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15332. "type": "integer"
  15333. },
  15334. "presaleqty": {
  15335. "description": "预售数量",
  15336. "type": "integer"
  15337. },
  15338. "refprice": {
  15339. "description": "参考价格[一口价]",
  15340. "type": "number"
  15341. },
  15342. "relatedgoodsid": {
  15343. "description": "关联交易合约ID",
  15344. "type": "integer"
  15345. },
  15346. "relatedmarketid": {
  15347. "description": "关联交易合约市场ID",
  15348. "type": "integer"
  15349. },
  15350. "sellstatus": {
  15351. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15352. "type": "integer"
  15353. },
  15354. "startprice": {
  15355. "description": "起拍价[大宗式竞拍]",
  15356. "type": "number"
  15357. },
  15358. "starttime": {
  15359. "description": "预售开始时间",
  15360. "type": "string"
  15361. },
  15362. "tradedate": {
  15363. "description": "交易日(yyyyMMdd)",
  15364. "type": "string"
  15365. },
  15366. "tradeprice": {
  15367. "description": "成交价[大宗]",
  15368. "type": "number"
  15369. }
  15370. }
  15371. },
  15372. "delivery.QueryDeliveryRelationRsp": {
  15373. "type": "object",
  15374. "required": [
  15375. "begindate",
  15376. "enddate",
  15377. "goodsid",
  15378. "mindeliveryqty",
  15379. "xdeliveryratio"
  15380. ],
  15381. "properties": {
  15382. "begindate": {
  15383. "description": "起始日期(yyyyMMdd)",
  15384. "type": "string"
  15385. },
  15386. "buytemplateid": {
  15387. "description": "买履约计划模板ID",
  15388. "type": "integer"
  15389. },
  15390. "deliverygoodscode": {
  15391. "description": "品种代码",
  15392. "type": "string"
  15393. },
  15394. "deliverygoodsid": {
  15395. "description": "交割商品",
  15396. "type": "integer"
  15397. },
  15398. "deliverygoodsname": {
  15399. "description": "品种名称",
  15400. "type": "string"
  15401. },
  15402. "deliverymode": {
  15403. "description": "交割方式 - 1:点选式 2:申报式",
  15404. "type": "integer"
  15405. },
  15406. "deliverypricerule": {
  15407. "description": "交割价规则- 1:行情价 2:建仓价",
  15408. "type": "integer"
  15409. },
  15410. "deliverytype": {
  15411. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  15412. "type": "integer"
  15413. },
  15414. "enddate": {
  15415. "description": "结束日期(yyyyMMdd)",
  15416. "type": "string"
  15417. },
  15418. "enumdicname": {
  15419. "description": "品类单位名称",
  15420. "type": "string"
  15421. },
  15422. "goodscode": {
  15423. "description": "商品代码",
  15424. "type": "string"
  15425. },
  15426. "goodsid": {
  15427. "description": "交易合约ID",
  15428. "type": "integer"
  15429. },
  15430. "goodsname": {
  15431. "description": "商品名称",
  15432. "type": "string"
  15433. },
  15434. "marketid": {
  15435. "description": "市场ID",
  15436. "type": "integer"
  15437. },
  15438. "mindeliveryqty": {
  15439. "description": "最小交割系数(K)",
  15440. "type": "integer"
  15441. },
  15442. "p2deliveryprice": {
  15443. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  15444. "type": "number"
  15445. },
  15446. "p2deliveryratio": {
  15447. "description": "P2合约系数(p)",
  15448. "type": "integer"
  15449. },
  15450. "p2goodsid": {
  15451. "description": "P2合约ID",
  15452. "type": "integer"
  15453. },
  15454. "p2pricemode": {
  15455. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  15456. "type": "integer"
  15457. },
  15458. "pdeliveryprice": {
  15459. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  15460. "type": "number"
  15461. },
  15462. "pdeliveryratio": {
  15463. "description": "P合约系数(n)",
  15464. "type": "integer"
  15465. },
  15466. "pgoodscode": {
  15467. "description": "p合约代码",
  15468. "type": "string"
  15469. },
  15470. "pgoodsid": {
  15471. "description": "P合约ID",
  15472. "type": "integer"
  15473. },
  15474. "ppricemode": {
  15475. "description": "P合约价格方式 - 1:商品价 2:固定值",
  15476. "type": "integer"
  15477. },
  15478. "rratio": {
  15479. "description": "兑换系数(R)",
  15480. "type": "integer"
  15481. },
  15482. "rratio1": {
  15483. "description": "兑换系数(交易合约)(R1)",
  15484. "type": "integer"
  15485. },
  15486. "rratio2": {
  15487. "description": "兑换系数(仓单标准)(R2)",
  15488. "type": "integer"
  15489. },
  15490. "selltemplateid": {
  15491. "description": "卖履约计划模板ID",
  15492. "type": "integer"
  15493. },
  15494. "wrstandardid": {
  15495. "description": "仓单标准ID",
  15496. "type": "integer"
  15497. },
  15498. "xdeliveryratio": {
  15499. "description": "交易合约系数(m)",
  15500. "type": "integer"
  15501. }
  15502. }
  15503. },
  15504. "ermcp.ExposureDetailRsp": {
  15505. "type": "object",
  15506. "properties": {
  15507. "areauserid": {
  15508. "description": "机构ID",
  15509. "type": "integer"
  15510. },
  15511. "changeQty": {
  15512. "description": "套保变动量",
  15513. "type": "number"
  15514. },
  15515. "contracttype": {
  15516. "description": "现货合同类型 - 1:采购 -1:销售",
  15517. "type": "integer"
  15518. },
  15519. "convertfactor": {
  15520. "description": "标仓系数",
  15521. "type": "number"
  15522. },
  15523. "convertratio": {
  15524. "description": "套保系数",
  15525. "type": "number"
  15526. },
  15527. "createtime": {
  15528. "description": "时间",
  15529. "type": "string"
  15530. },
  15531. "enumdicname": {
  15532. "description": "现货商品单位名称",
  15533. "type": "string"
  15534. },
  15535. "logtype": {
  15536. "description": "类型 - 1:套保计划 2:现货合同",
  15537. "type": "integer"
  15538. },
  15539. "middlegoodsId": {
  15540. "description": "套保商品id",
  15541. "type": "integer"
  15542. },
  15543. "middlegoodscode": {
  15544. "description": "套保商品代码",
  15545. "type": "string"
  15546. },
  15547. "middlegoodsname": {
  15548. "description": "套保商品名称",
  15549. "type": "string"
  15550. },
  15551. "qty": {
  15552. "description": "数量",
  15553. "type": "number"
  15554. },
  15555. "relateNo": {
  15556. "description": "现货合同/套保计划编号",
  15557. "type": "string"
  15558. },
  15559. "wrstandardcode": {
  15560. "description": "现货商品代码",
  15561. "type": "string"
  15562. },
  15563. "wrstandardid": {
  15564. "description": "现货商品ID",
  15565. "type": "integer"
  15566. },
  15567. "wrstandardname": {
  15568. "description": "现货商品名称",
  15569. "type": "string"
  15570. }
  15571. }
  15572. },
  15573. "ermcp.ExposureHedgePosDetailRsp": {
  15574. "type": "object",
  15575. "properties": {
  15576. "buyorsell": {
  15577. "description": "买卖方向 0-买 1-卖",
  15578. "type": "integer"
  15579. },
  15580. "channelbuildtype": {
  15581. "description": "开平方向 1-建仓 2-平仓",
  15582. "type": "integer"
  15583. },
  15584. "goodscode": {
  15585. "description": "商品代码",
  15586. "type": "string"
  15587. },
  15588. "goodsname": {
  15589. "description": "商品名称",
  15590. "type": "string"
  15591. },
  15592. "hedgegoodsid": {
  15593. "description": "商品id",
  15594. "type": "integer"
  15595. },
  15596. "tradeqty": {
  15597. "description": "数量(成交数量)",
  15598. "type": "integer"
  15599. },
  15600. "tradetime": {
  15601. "description": "时间(成交时间)",
  15602. "type": "string"
  15603. }
  15604. }
  15605. },
  15606. "ermcp.ExposureHedgePositionRsp": {
  15607. "type": "object",
  15608. "properties": {
  15609. "accountid": {
  15610. "description": "资金账号[外部母账户]",
  15611. "type": "integer"
  15612. },
  15613. "curbuyposition": {
  15614. "description": "期末买头寸",
  15615. "type": "integer"
  15616. },
  15617. "cursellposition": {
  15618. "description": "期末卖头寸",
  15619. "type": "integer"
  15620. },
  15621. "curtdbuyposition": {
  15622. "description": "期末今日买头寸",
  15623. "type": "integer"
  15624. },
  15625. "curtdsellposition": {
  15626. "description": "期末今日卖头寸",
  15627. "type": "integer"
  15628. },
  15629. "curydbuyposition": {
  15630. "description": "期末上日买头寸",
  15631. "type": "integer"
  15632. },
  15633. "curydsellposition": {
  15634. "description": "期末上日卖头寸",
  15635. "type": "integer"
  15636. },
  15637. "decreaseqty": {
  15638. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15639. "type": "integer"
  15640. },
  15641. "fretdbuyposition": {
  15642. "description": "冻结今日买头寸",
  15643. "type": "integer"
  15644. },
  15645. "fretdsellposition": {
  15646. "description": "冻结今日卖头寸",
  15647. "type": "integer"
  15648. },
  15649. "freydbuyposition": {
  15650. "description": "冻结上日买头寸",
  15651. "type": "integer"
  15652. },
  15653. "freydsellposition": {
  15654. "description": "冻结上日卖头寸",
  15655. "type": "integer"
  15656. },
  15657. "goodscode": {
  15658. "description": "商品代码",
  15659. "type": "string"
  15660. },
  15661. "goodsid": {
  15662. "description": "商品id",
  15663. "type": "integer"
  15664. },
  15665. "goodsname": {
  15666. "description": "商品名称",
  15667. "type": "string"
  15668. },
  15669. "hedgeaccountcode": {
  15670. "description": "对冲账号",
  15671. "type": "string"
  15672. },
  15673. "hedgegoodsid": {
  15674. "description": "对冲合约ID",
  15675. "type": "integer"
  15676. },
  15677. "increaseqty": {
  15678. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15679. "type": "integer"
  15680. },
  15681. "marketid": {
  15682. "description": "市场ID",
  15683. "type": "integer"
  15684. },
  15685. "relateduserid": {
  15686. "description": "关联用户id",
  15687. "type": "integer"
  15688. },
  15689. "totalcurqty": {
  15690. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15691. "type": "integer"
  15692. },
  15693. "totalydqty": {
  15694. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15695. "type": "integer"
  15696. },
  15697. "tradedate": {
  15698. "description": "交易日(yyyyMMdd)",
  15699. "type": "string"
  15700. },
  15701. "ydbuyposition": {
  15702. "description": "期初买头寸",
  15703. "type": "integer"
  15704. },
  15705. "ydsellposition": {
  15706. "description": "期初卖头寸",
  15707. "type": "integer"
  15708. }
  15709. }
  15710. },
  15711. "ermcp.ExposureSpotDetailRsp": {
  15712. "type": "object",
  15713. "properties": {
  15714. "contracttype": {
  15715. "description": "合同类型 1-采购 -1-销售",
  15716. "type": "integer"
  15717. },
  15718. "createtime": {
  15719. "description": "创建时间",
  15720. "type": "string"
  15721. },
  15722. "enumdicname": {
  15723. "description": "现货商品单位名称",
  15724. "type": "string"
  15725. },
  15726. "logtype": {
  15727. "description": "记录类型 1-套保 2-现货合同",
  15728. "type": "integer"
  15729. },
  15730. "qty": {
  15731. "description": "数量",
  15732. "type": "number"
  15733. },
  15734. "recordname": {
  15735. "description": "类型名称",
  15736. "type": "string"
  15737. },
  15738. "relatedid": {
  15739. "description": "套保计划ID/现货合同ID",
  15740. "type": "string"
  15741. },
  15742. "relatedno": {
  15743. "description": "编号",
  15744. "type": "string"
  15745. },
  15746. "strtime": {
  15747. "description": "时间",
  15748. "type": "string"
  15749. },
  15750. "wrstandardcode": {
  15751. "description": "现货商品代码",
  15752. "type": "string"
  15753. },
  15754. "wrstandardname": {
  15755. "description": "现货商品名称",
  15756. "type": "string"
  15757. }
  15758. }
  15759. },
  15760. "ermcp.ExposureSpotRsp": {
  15761. "type": "object",
  15762. "properties": {
  15763. "areauserid": {
  15764. "description": "所属机构",
  15765. "type": "integer"
  15766. },
  15767. "decreaseqty": {
  15768. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15769. "type": "number"
  15770. },
  15771. "increaseqty": {
  15772. "description": "增加数量=销售计划数量+采购已定价数量",
  15773. "type": "number"
  15774. },
  15775. "oritoalspotqty": {
  15776. "description": "昨日数量",
  15777. "type": "number"
  15778. },
  15779. "totalspotqty": {
  15780. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15781. "type": "number"
  15782. },
  15783. "updatetime": {
  15784. "description": "更新时间",
  15785. "type": "string"
  15786. },
  15787. "wrstandardcode": {
  15788. "description": "现货品种代码",
  15789. "type": "string"
  15790. },
  15791. "wrstandardid": {
  15792. "description": "现货商品ID",
  15793. "type": "integer"
  15794. },
  15795. "wrstandardname": {
  15796. "description": "现货品种",
  15797. "type": "string"
  15798. }
  15799. }
  15800. },
  15801. "ermcp.HisExposureRsp": {
  15802. "type": "object",
  15803. "properties": {
  15804. "data": {
  15805. "description": "历史敞口",
  15806. "type": "array",
  15807. "items": {
  15808. "$ref": "#/definitions/models.ErmcpHisExposure"
  15809. }
  15810. },
  15811. "enumdicname": {
  15812. "description": "单位名称",
  15813. "type": "string"
  15814. },
  15815. "middlegoodscode": {
  15816. "description": "套保品种代码",
  15817. "type": "string"
  15818. },
  15819. "middlegoodsid": {
  15820. "description": "套保品种ID",
  15821. "type": "integer"
  15822. },
  15823. "middlegoodsname": {
  15824. "description": "套保品种名称",
  15825. "type": "string"
  15826. }
  15827. }
  15828. },
  15829. "ermcp.PendingAuditCntRsp": {
  15830. "type": "object",
  15831. "properties": {
  15832. "areastockqty": {
  15833. "description": "待审核数量: 库存申请",
  15834. "type": "integer"
  15835. },
  15836. "businessdjqty": {
  15837. "description": "待审核数量: 点价",
  15838. "type": "integer"
  15839. },
  15840. "businessfpqty": {
  15841. "description": "待审核数量: 发票",
  15842. "type": "integer"
  15843. },
  15844. "businessjsqty": {
  15845. "description": "待审核数量: 结算",
  15846. "type": "integer"
  15847. },
  15848. "businesskxqty": {
  15849. "description": "待审核数量: 款项",
  15850. "type": "integer"
  15851. },
  15852. "hedgeplanqty": {
  15853. "description": "待审核数量: 套保计划",
  15854. "type": "integer"
  15855. },
  15856. "spotcontractqty": {
  15857. "description": "待审核数量: 现货合同",
  15858. "type": "integer"
  15859. },
  15860. "userqty": {
  15861. "description": "待审核数量: 用户",
  15862. "type": "integer"
  15863. }
  15864. }
  15865. },
  15866. "ermcp.QryAvalidGPRsp": {
  15867. "type": "object",
  15868. "properties": {
  15869. "goodsgroupid": {
  15870. "description": "期货品种id",
  15871. "type": "integer"
  15872. },
  15873. "goodsgroupname": {
  15874. "description": "期货品种名称",
  15875. "type": "string"
  15876. },
  15877. "goodunitid": {
  15878. "description": "品种单位id",
  15879. "type": "integer"
  15880. },
  15881. "goodunitname": {
  15882. "description": "品种单位名称",
  15883. "type": "string"
  15884. },
  15885. "outergroupcode": {
  15886. "description": "期货品种代码",
  15887. "type": "string"
  15888. }
  15889. }
  15890. },
  15891. "ermcp.QryBusinessDjRsp": {
  15892. "type": "object",
  15893. "properties": {
  15894. "amount": {
  15895. "description": "点价金额=(点价价格+升贴水)*点价数量",
  15896. "type": "number"
  15897. },
  15898. "applyid": {
  15899. "description": "申请人",
  15900. "type": "string"
  15901. },
  15902. "applyname": {
  15903. "description": "申请人名称",
  15904. "type": "string"
  15905. },
  15906. "applystatus": {
  15907. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15908. "type": "integer"
  15909. },
  15910. "applytime": {
  15911. "description": "申请时间",
  15912. "type": "string"
  15913. },
  15914. "attachurl": {
  15915. "description": "附件",
  15916. "type": "string"
  15917. },
  15918. "auditid": {
  15919. "description": "审核人ID",
  15920. "type": "string"
  15921. },
  15922. "auditname": {
  15923. "description": "审核人名称",
  15924. "type": "string"
  15925. },
  15926. "auditremark": {
  15927. "description": "审核备注",
  15928. "type": "string"
  15929. },
  15930. "audittime": {
  15931. "description": "审核时间",
  15932. "type": "string"
  15933. },
  15934. "buyusername": {
  15935. "description": "采购方名称",
  15936. "type": "string"
  15937. },
  15938. "contractno": {
  15939. "description": "合同编号",
  15940. "type": "string"
  15941. },
  15942. "contractstatus": {
  15943. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15944. "type": "integer"
  15945. },
  15946. "contracttype": {
  15947. "description": "现货合同类型 - 1:采购 -1:销售",
  15948. "type": "integer"
  15949. },
  15950. "deliverygoodscode": {
  15951. "description": "现货品种代码",
  15952. "type": "string"
  15953. },
  15954. "deliverygoodsid": {
  15955. "description": "现货商品ID",
  15956. "type": "integer"
  15957. },
  15958. "deliverygoodsname": {
  15959. "description": "现货品种名称",
  15960. "type": "string"
  15961. },
  15962. "enumdicname": {
  15963. "description": "单位名称",
  15964. "type": "string"
  15965. },
  15966. "goodscode": {
  15967. "description": "点价合约",
  15968. "type": "string"
  15969. },
  15970. "goodsname": {
  15971. "description": "商品名称",
  15972. "type": "string"
  15973. },
  15974. "operateapplyid": {
  15975. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15976. "type": "string"
  15977. },
  15978. "operateapplytype": {
  15979. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15980. "type": "integer"
  15981. },
  15982. "pricedPrice": {
  15983. "description": "点价价格(非必填)",
  15984. "type": "number"
  15985. },
  15986. "pricedQty": {
  15987. "description": "点价数量(非必填)",
  15988. "type": "number"
  15989. },
  15990. "pricemove": {
  15991. "description": "升贴水",
  15992. "type": "number"
  15993. },
  15994. "pricetype": {
  15995. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15996. "type": "integer"
  15997. },
  15998. "relatedid": {
  15999. "description": "现货合同ID",
  16000. "type": "string"
  16001. },
  16002. "sellusername": {
  16003. "description": "销售方名字",
  16004. "type": "string"
  16005. },
  16006. "userid": {
  16007. "description": "用户ID",
  16008. "type": "integer"
  16009. },
  16010. "wrstandardcode": {
  16011. "description": "品类代码",
  16012. "type": "string"
  16013. },
  16014. "wrstandardid": {
  16015. "description": "品类id",
  16016. "type": "integer"
  16017. },
  16018. "wrstandardname": {
  16019. "description": "品类名称",
  16020. "type": "string"
  16021. }
  16022. }
  16023. },
  16024. "ermcp.QryBussinessFpRsp": {
  16025. "type": "object",
  16026. "properties": {
  16027. "applyid": {
  16028. "description": "申请人",
  16029. "type": "string"
  16030. },
  16031. "applyname": {
  16032. "description": "申请人名称",
  16033. "type": "string"
  16034. },
  16035. "applystatus": {
  16036. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16037. "type": "integer"
  16038. },
  16039. "applytime": {
  16040. "description": "申请时间",
  16041. "type": "string"
  16042. },
  16043. "attachurl": {
  16044. "description": "附件",
  16045. "type": "string"
  16046. },
  16047. "auditid": {
  16048. "description": "审核人ID",
  16049. "type": "string"
  16050. },
  16051. "auditname": {
  16052. "description": "审核人名称",
  16053. "type": "string"
  16054. },
  16055. "auditremark": {
  16056. "description": "审核备注",
  16057. "type": "string"
  16058. },
  16059. "audittime": {
  16060. "description": "审核时间",
  16061. "type": "string"
  16062. },
  16063. "buyusername": {
  16064. "description": "采购方名称",
  16065. "type": "string"
  16066. },
  16067. "contractno": {
  16068. "description": "合同编号",
  16069. "type": "string"
  16070. },
  16071. "contractstatus": {
  16072. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16073. "type": "integer"
  16074. },
  16075. "contracttype": {
  16076. "description": "现货合同类型 - 1:采购 -1:销售",
  16077. "type": "integer"
  16078. },
  16079. "deliverygoodscode": {
  16080. "description": "现货品种代码",
  16081. "type": "string"
  16082. },
  16083. "deliverygoodsid": {
  16084. "description": "现货商品ID",
  16085. "type": "integer"
  16086. },
  16087. "deliverygoodsname": {
  16088. "description": "现货品种名称",
  16089. "type": "string"
  16090. },
  16091. "enumdicname": {
  16092. "description": "单位名称",
  16093. "type": "string"
  16094. },
  16095. "goodscode": {
  16096. "description": "点价合约",
  16097. "type": "string"
  16098. },
  16099. "goodsname": {
  16100. "description": "商品名称",
  16101. "type": "string"
  16102. },
  16103. "invoiceamount": {
  16104. "description": "已开收票金额(销售为开票,采购为收票)",
  16105. "type": "number"
  16106. },
  16107. "operateapplyid": {
  16108. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16109. "type": "string"
  16110. },
  16111. "operateapplytype": {
  16112. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16113. "type": "integer"
  16114. },
  16115. "pricemove": {
  16116. "description": "升贴水",
  16117. "type": "number"
  16118. },
  16119. "pricetype": {
  16120. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16121. "type": "integer"
  16122. },
  16123. "relatedid": {
  16124. "description": "现货合同ID",
  16125. "type": "string"
  16126. },
  16127. "sellusername": {
  16128. "description": "销售方名字",
  16129. "type": "string"
  16130. },
  16131. "userid": {
  16132. "description": "用户ID",
  16133. "type": "integer"
  16134. },
  16135. "wrstandardcode": {
  16136. "description": "品类代码",
  16137. "type": "string"
  16138. },
  16139. "wrstandardid": {
  16140. "description": "品类id",
  16141. "type": "integer"
  16142. },
  16143. "wrstandardname": {
  16144. "description": "品类名称",
  16145. "type": "string"
  16146. }
  16147. }
  16148. },
  16149. "ermcp.QryBussinessJsExRsp": {
  16150. "type": "object",
  16151. "properties": {
  16152. "applyid": {
  16153. "description": "申请人",
  16154. "type": "string"
  16155. },
  16156. "applyname": {
  16157. "description": "申请人名称",
  16158. "type": "string"
  16159. },
  16160. "applystatus": {
  16161. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16162. "type": "integer"
  16163. },
  16164. "applytime": {
  16165. "description": "申请时间",
  16166. "type": "string"
  16167. },
  16168. "attachurl": {
  16169. "description": "附件",
  16170. "type": "string"
  16171. },
  16172. "auditid": {
  16173. "description": "审核人ID",
  16174. "type": "string"
  16175. },
  16176. "auditname": {
  16177. "description": "审核人名称",
  16178. "type": "string"
  16179. },
  16180. "auditremark": {
  16181. "description": "审核备注",
  16182. "type": "string"
  16183. },
  16184. "audittime": {
  16185. "description": "审核时间",
  16186. "type": "string"
  16187. },
  16188. "buyusername": {
  16189. "description": "采购方名称",
  16190. "type": "string"
  16191. },
  16192. "contractno": {
  16193. "description": "合同编号",
  16194. "type": "string"
  16195. },
  16196. "contractstatus": {
  16197. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16198. "type": "integer"
  16199. },
  16200. "contracttype": {
  16201. "description": "现货合同类型 - 1:采购 -1:销售",
  16202. "type": "integer"
  16203. },
  16204. "deliverygoodscode": {
  16205. "description": "现货品种代码",
  16206. "type": "string"
  16207. },
  16208. "deliverygoodsid": {
  16209. "description": "现货商品ID",
  16210. "type": "integer"
  16211. },
  16212. "deliverygoodsname": {
  16213. "description": "现货品种名称",
  16214. "type": "string"
  16215. },
  16216. "enumdicname": {
  16217. "description": "单位名称",
  16218. "type": "string"
  16219. },
  16220. "goodscode": {
  16221. "description": "点价合约",
  16222. "type": "string"
  16223. },
  16224. "goodsname": {
  16225. "description": "商品名称",
  16226. "type": "string"
  16227. },
  16228. "operateapplyid": {
  16229. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16230. "type": "string"
  16231. },
  16232. "operateapplytype": {
  16233. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16234. "type": "integer"
  16235. },
  16236. "pricemove": {
  16237. "description": "升贴水",
  16238. "type": "number"
  16239. },
  16240. "pricetype": {
  16241. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16242. "type": "integer"
  16243. },
  16244. "reckontype": {
  16245. "description": "结算类型",
  16246. "type": "string"
  16247. },
  16248. "reckonvalue": {
  16249. "description": "值",
  16250. "type": "number"
  16251. },
  16252. "relatedid": {
  16253. "description": "现货合同ID",
  16254. "type": "string"
  16255. },
  16256. "sellusername": {
  16257. "description": "销售方名字",
  16258. "type": "string"
  16259. },
  16260. "userid": {
  16261. "description": "用户ID",
  16262. "type": "integer"
  16263. },
  16264. "wrstandardcode": {
  16265. "description": "品类代码",
  16266. "type": "string"
  16267. },
  16268. "wrstandardid": {
  16269. "description": "品类id",
  16270. "type": "integer"
  16271. },
  16272. "wrstandardname": {
  16273. "description": "品类名称",
  16274. "type": "string"
  16275. }
  16276. }
  16277. },
  16278. "ermcp.QryBussinessJsRsp": {
  16279. "type": "object",
  16280. "properties": {
  16281. "addmargin": {
  16282. "description": "追加保证金(非必填)",
  16283. "type": "number"
  16284. },
  16285. "applyid": {
  16286. "description": "申请人",
  16287. "type": "string"
  16288. },
  16289. "applyname": {
  16290. "description": "申请人名称",
  16291. "type": "string"
  16292. },
  16293. "applystatus": {
  16294. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16295. "type": "integer"
  16296. },
  16297. "applytime": {
  16298. "description": "申请时间",
  16299. "type": "string"
  16300. },
  16301. "attachurl": {
  16302. "description": "附件",
  16303. "type": "string"
  16304. },
  16305. "auditid": {
  16306. "description": "审核人ID",
  16307. "type": "string"
  16308. },
  16309. "auditname": {
  16310. "description": "审核人名称",
  16311. "type": "string"
  16312. },
  16313. "auditremark": {
  16314. "description": "审核备注",
  16315. "type": "string"
  16316. },
  16317. "audittime": {
  16318. "description": "审核时间",
  16319. "type": "string"
  16320. },
  16321. "buyusername": {
  16322. "description": "采购方名称",
  16323. "type": "string"
  16324. },
  16325. "contractno": {
  16326. "description": "合同编号",
  16327. "type": "string"
  16328. },
  16329. "contractstatus": {
  16330. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16331. "type": "integer"
  16332. },
  16333. "contracttype": {
  16334. "description": "现货合同类型 - 1:采购 -1:销售",
  16335. "type": "integer"
  16336. },
  16337. "decmargin": {
  16338. "description": "减少保证金(非必填)",
  16339. "type": "number"
  16340. },
  16341. "deliverygoodscode": {
  16342. "description": "现货品种代码",
  16343. "type": "string"
  16344. },
  16345. "deliverygoodsid": {
  16346. "description": "现货商品ID",
  16347. "type": "integer"
  16348. },
  16349. "deliverygoodsname": {
  16350. "description": "现货品种名称",
  16351. "type": "string"
  16352. },
  16353. "enumdicname": {
  16354. "description": "单位名称",
  16355. "type": "string"
  16356. },
  16357. "goodscode": {
  16358. "description": "点价合约",
  16359. "type": "string"
  16360. },
  16361. "goodsname": {
  16362. "description": "商品名称",
  16363. "type": "string"
  16364. },
  16365. "operateapplyid": {
  16366. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16367. "type": "string"
  16368. },
  16369. "operateapplytype": {
  16370. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16371. "type": "integer"
  16372. },
  16373. "pricemove": {
  16374. "description": "升贴水",
  16375. "type": "number"
  16376. },
  16377. "pricetype": {
  16378. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16379. "type": "integer"
  16380. },
  16381. "reckonadjustamount": {
  16382. "description": "结算调整金额(非必填)",
  16383. "type": "number"
  16384. },
  16385. "reckonosamount": {
  16386. "description": "结算溢短金额(非必填)",
  16387. "type": "number"
  16388. },
  16389. "reckonotheramount": {
  16390. "description": "结算其他费用(非必填)",
  16391. "type": "number"
  16392. },
  16393. "reckonrealqty": {
  16394. "description": "结算实际数量(非必填)",
  16395. "type": "number"
  16396. },
  16397. "relatedid": {
  16398. "description": "现货合同ID",
  16399. "type": "string"
  16400. },
  16401. "sellusername": {
  16402. "description": "销售方名字",
  16403. "type": "string"
  16404. },
  16405. "userid": {
  16406. "description": "用户ID",
  16407. "type": "integer"
  16408. },
  16409. "wrstandardcode": {
  16410. "description": "品类代码",
  16411. "type": "string"
  16412. },
  16413. "wrstandardid": {
  16414. "description": "品类id",
  16415. "type": "integer"
  16416. },
  16417. "wrstandardname": {
  16418. "description": "品类名称",
  16419. "type": "string"
  16420. }
  16421. }
  16422. },
  16423. "ermcp.QryBussinessKxRsp": {
  16424. "type": "object",
  16425. "properties": {
  16426. "applyid": {
  16427. "description": "申请人",
  16428. "type": "string"
  16429. },
  16430. "applyname": {
  16431. "description": "申请人名称",
  16432. "type": "string"
  16433. },
  16434. "applystatus": {
  16435. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16436. "type": "integer"
  16437. },
  16438. "applytime": {
  16439. "description": "申请时间",
  16440. "type": "string"
  16441. },
  16442. "attachurl": {
  16443. "description": "附件",
  16444. "type": "string"
  16445. },
  16446. "auditid": {
  16447. "description": "审核人ID",
  16448. "type": "string"
  16449. },
  16450. "auditname": {
  16451. "description": "审核人名称",
  16452. "type": "string"
  16453. },
  16454. "auditremark": {
  16455. "description": "审核备注",
  16456. "type": "string"
  16457. },
  16458. "audittime": {
  16459. "description": "审核时间",
  16460. "type": "string"
  16461. },
  16462. "buyusername": {
  16463. "description": "采购方名称",
  16464. "type": "string"
  16465. },
  16466. "contractno": {
  16467. "description": "合同编号",
  16468. "type": "string"
  16469. },
  16470. "contractstatus": {
  16471. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16472. "type": "integer"
  16473. },
  16474. "contracttype": {
  16475. "description": "现货合同类型 - 1:采购 -1:销售",
  16476. "type": "integer"
  16477. },
  16478. "deductamount": {
  16479. "description": "退款(非必填)",
  16480. "type": "number"
  16481. },
  16482. "deliverygoodscode": {
  16483. "description": "现货品种代码",
  16484. "type": "string"
  16485. },
  16486. "deliverygoodsid": {
  16487. "description": "现货商品ID",
  16488. "type": "integer"
  16489. },
  16490. "deliverygoodsname": {
  16491. "description": "现货品种名称",
  16492. "type": "string"
  16493. },
  16494. "enumdicname": {
  16495. "description": "单位名称",
  16496. "type": "string"
  16497. },
  16498. "goodscode": {
  16499. "description": "点价合约",
  16500. "type": "string"
  16501. },
  16502. "goodsname": {
  16503. "description": "商品名称",
  16504. "type": "string"
  16505. },
  16506. "kxtype": {
  16507. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  16508. "type": "integer"
  16509. },
  16510. "operateapplyid": {
  16511. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16512. "type": "string"
  16513. },
  16514. "operateapplytype": {
  16515. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16516. "type": "integer"
  16517. },
  16518. "payamount": {
  16519. "description": "收付款(非必填)",
  16520. "type": "number"
  16521. },
  16522. "pricemove": {
  16523. "description": "升贴水",
  16524. "type": "number"
  16525. },
  16526. "pricetype": {
  16527. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16528. "type": "integer"
  16529. },
  16530. "relatedid": {
  16531. "description": "现货合同ID",
  16532. "type": "string"
  16533. },
  16534. "sellusername": {
  16535. "description": "销售方名字",
  16536. "type": "string"
  16537. },
  16538. "userid": {
  16539. "description": "用户ID",
  16540. "type": "integer"
  16541. },
  16542. "wrstandardcode": {
  16543. "description": "品类代码",
  16544. "type": "string"
  16545. },
  16546. "wrstandardid": {
  16547. "description": "品类id",
  16548. "type": "integer"
  16549. },
  16550. "wrstandardname": {
  16551. "description": "品类名称",
  16552. "type": "string"
  16553. }
  16554. }
  16555. },
  16556. "ermcp.QryGGCovertCfgRsp": {
  16557. "type": "object",
  16558. "properties": {
  16559. "convertratio": {
  16560. "description": "折算系数",
  16561. "type": "number"
  16562. },
  16563. "destgoodsgroupid": {
  16564. "description": "目标品种ID",
  16565. "type": "integer"
  16566. },
  16567. "dstcode": {
  16568. "description": "目录品种代码",
  16569. "type": "string"
  16570. },
  16571. "dstexchangecode": {
  16572. "description": "目标期货交易所",
  16573. "type": "string"
  16574. },
  16575. "dstname": {
  16576. "description": "目标品种名称",
  16577. "type": "string"
  16578. },
  16579. "dstunitid": {
  16580. "description": "目标品种单位ID",
  16581. "type": "integer"
  16582. },
  16583. "dstunitidname": {
  16584. "description": "目标品种单位名称",
  16585. "type": "string"
  16586. },
  16587. "modifytime": {
  16588. "description": "修改时间",
  16589. "type": "string"
  16590. },
  16591. "srccode": {
  16592. "description": "源品种代码",
  16593. "type": "string"
  16594. },
  16595. "srcexchangecode": {
  16596. "description": "源期货交易所",
  16597. "type": "string"
  16598. },
  16599. "srcgoodsgroupid": {
  16600. "description": "源品种ID",
  16601. "type": "integer"
  16602. },
  16603. "srcname": {
  16604. "description": "源品种名称",
  16605. "type": "string"
  16606. },
  16607. "srcunitid": {
  16608. "description": "源品种单位ID",
  16609. "type": "integer"
  16610. },
  16611. "srcunitidname": {
  16612. "description": "源品种单位名称",
  16613. "type": "string"
  16614. }
  16615. }
  16616. },
  16617. "ermcp.QryMGChangeLogRsp": {
  16618. "type": "object",
  16619. "properties": {
  16620. "aftervalue": {
  16621. "description": "变更后",
  16622. "type": "number"
  16623. },
  16624. "applyid": {
  16625. "description": "操作人",
  16626. "type": "integer"
  16627. },
  16628. "applyname": {
  16629. "description": "操作人名称",
  16630. "type": "string"
  16631. },
  16632. "applysrc": {
  16633. "description": "操作来源 - 1:管理端 2:终端",
  16634. "type": "integer"
  16635. },
  16636. "beforevalue": {
  16637. "description": "变更前",
  16638. "type": "number"
  16639. },
  16640. "changelogtype": {
  16641. "description": "变更流水类型 - 1:套保比率变更",
  16642. "type": "integer"
  16643. },
  16644. "handlestatus": {
  16645. "description": "处理状态",
  16646. "type": "integer"
  16647. },
  16648. "logdatetime": {
  16649. "description": "流水日期",
  16650. "type": "string"
  16651. },
  16652. "logid": {
  16653. "description": "流水ID",
  16654. "type": "integer"
  16655. },
  16656. "logremark": {
  16657. "description": "流水备注",
  16658. "type": "string"
  16659. },
  16660. "middlegoodsid": {
  16661. "description": "套保品种ID",
  16662. "type": "integer"
  16663. },
  16664. "tradedate": {
  16665. "description": "交易日(yyyyMMdd)",
  16666. "type": "string"
  16667. },
  16668. "updatetime": {
  16669. "description": "更新时间",
  16670. "type": "string"
  16671. }
  16672. }
  16673. },
  16674. "ermcp.QryMiddleGoodsDetailRsp": {
  16675. "type": "object",
  16676. "properties": {
  16677. "cvList": {
  16678. "description": "期货品种折算列表",
  16679. "type": "array",
  16680. "items": {
  16681. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16682. }
  16683. },
  16684. "mg": {
  16685. "description": "套保品种基本信息",
  16686. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16687. },
  16688. "wrcList": {
  16689. "description": "现货品种列表(现货商品折算配置)",
  16690. "type": "array",
  16691. "items": {
  16692. "$ref": "#/definitions/models.WRSConverTDetail"
  16693. }
  16694. }
  16695. }
  16696. },
  16697. "ermcp.QryMiddleGoodsRsp": {
  16698. "type": "object",
  16699. "properties": {
  16700. "areauserid": {
  16701. "description": "机构用户ID",
  16702. "type": "integer"
  16703. },
  16704. "createtime": {
  16705. "description": "修改时间",
  16706. "type": "string"
  16707. },
  16708. "enumdicname": {
  16709. "description": "单位名称",
  16710. "type": "string"
  16711. },
  16712. "evaluateratio": {
  16713. "description": "估价系数",
  16714. "type": "number"
  16715. },
  16716. "goodsgroupid": {
  16717. "description": "关联期货品种ID",
  16718. "type": "integer"
  16719. },
  16720. "goodsunitid": {
  16721. "description": "单位ID",
  16722. "type": "integer"
  16723. },
  16724. "isvalid": {
  16725. "description": "状态 0-无效(停用) 1-有效(正常)",
  16726. "type": "integer"
  16727. },
  16728. "middlegoodscode": {
  16729. "description": "套保品种代码",
  16730. "type": "string"
  16731. },
  16732. "middlegoodsid": {
  16733. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16734. "type": "integer"
  16735. },
  16736. "middlegoodsname": {
  16737. "description": "套保品种名称",
  16738. "type": "string"
  16739. },
  16740. "modifytime": {
  16741. "description": "修改时间",
  16742. "type": "string"
  16743. },
  16744. "needarbitrageratio": {
  16745. "description": "套利比例",
  16746. "type": "number"
  16747. },
  16748. "needhedgeratio": {
  16749. "description": "套保比率",
  16750. "type": "number"
  16751. },
  16752. "qtydecimalplace": {
  16753. "description": "数量小数位",
  16754. "type": "integer"
  16755. },
  16756. "relatedgoodsid": {
  16757. "description": "关联交易商品ID",
  16758. "type": "integer"
  16759. },
  16760. "relatedgoodstype": {
  16761. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16762. "type": "integer"
  16763. },
  16764. "remark": {
  16765. "description": "备注",
  16766. "type": "string"
  16767. }
  16768. }
  16769. },
  16770. "ermcp.QryOPLogRsp": {
  16771. "type": "object",
  16772. "properties": {
  16773. "aftervalue": {
  16774. "description": "变更后",
  16775. "type": "number"
  16776. },
  16777. "applyid": {
  16778. "description": "操作人ID",
  16779. "type": "string"
  16780. },
  16781. "applyname": {
  16782. "description": "操作人名称",
  16783. "type": "string"
  16784. },
  16785. "beforevalue": {
  16786. "description": "变更前",
  16787. "type": "number"
  16788. },
  16789. "biztype": {
  16790. "description": "业务类型 - 1:套保计划 2:现货合同",
  16791. "type": "integer"
  16792. },
  16793. "contracttype": {
  16794. "description": "现货合同类型 - 1:采购 -1:销售",
  16795. "type": "integer"
  16796. },
  16797. "logvalue": {
  16798. "description": "数值",
  16799. "type": "number"
  16800. },
  16801. "operatelogtype": {
  16802. "description": "操作流水类型",
  16803. "type": "integer"
  16804. },
  16805. "operatelogtypedesc": {
  16806. "description": "操作流水类型名称",
  16807. "type": "string"
  16808. },
  16809. "relatedid": {
  16810. "description": "现货合同ID\\套保计划",
  16811. "type": "string"
  16812. },
  16813. "updatetime": {
  16814. "description": "更新时间",
  16815. "type": "string"
  16816. }
  16817. }
  16818. },
  16819. "ermcp.QryUserInfoRsp": {
  16820. "type": "object",
  16821. "properties": {
  16822. "address": {
  16823. "description": "通讯地址",
  16824. "type": "string"
  16825. },
  16826. "attachment1": {
  16827. "description": "附件1",
  16828. "type": "string"
  16829. },
  16830. "audittime": {
  16831. "description": "审核时间",
  16832. "type": "string"
  16833. },
  16834. "cardbackphotourl": {
  16835. "description": "证件反面图片地址",
  16836. "type": "string"
  16837. },
  16838. "cardfrontphotourl": {
  16839. "description": "证件正面图片地址",
  16840. "type": "string"
  16841. },
  16842. "cardnum": {
  16843. "description": "证件号码",
  16844. "type": "string"
  16845. },
  16846. "cardtype": {
  16847. "description": "证件类型",
  16848. "type": "integer"
  16849. },
  16850. "cardtypename": {
  16851. "description": "证件类型名称",
  16852. "type": "string"
  16853. },
  16854. "cityid": {
  16855. "description": "市",
  16856. "type": "integer"
  16857. },
  16858. "contactname": {
  16859. "description": "联系人",
  16860. "type": "string"
  16861. },
  16862. "countryid": {
  16863. "description": "国家",
  16864. "type": "integer"
  16865. },
  16866. "createtime": {
  16867. "description": "创建时间",
  16868. "type": "string"
  16869. },
  16870. "customername": {
  16871. "description": "企业名称",
  16872. "type": "string"
  16873. },
  16874. "districtid": {
  16875. "description": "区域",
  16876. "type": "integer"
  16877. },
  16878. "email": {
  16879. "description": "邮件",
  16880. "type": "string"
  16881. },
  16882. "legalpersonname": {
  16883. "description": "法人姓名(企业)",
  16884. "type": "string"
  16885. },
  16886. "memberuserid": {
  16887. "description": "所属机构ID",
  16888. "type": "integer"
  16889. },
  16890. "mobile": {
  16891. "description": "手机号码",
  16892. "type": "string"
  16893. },
  16894. "modifytime": {
  16895. "description": "修改时间",
  16896. "type": "string"
  16897. },
  16898. "nickname": {
  16899. "description": "昵称",
  16900. "type": "string"
  16901. },
  16902. "provinceid": {
  16903. "description": "省",
  16904. "type": "integer"
  16905. },
  16906. "remark": {
  16907. "description": "备注",
  16908. "type": "string"
  16909. },
  16910. "status": {
  16911. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16912. "type": "integer"
  16913. },
  16914. "statusdesc": {
  16915. "description": "账户状态中文描述",
  16916. "type": "string"
  16917. },
  16918. "taxpayernum": {
  16919. "description": "纳税人识别号",
  16920. "type": "string"
  16921. },
  16922. "telphone": {
  16923. "description": "联系电话",
  16924. "type": "string"
  16925. },
  16926. "userid": {
  16927. "description": "用户ID",
  16928. "type": "integer"
  16929. },
  16930. "userinfotype": {
  16931. "description": "客户类型",
  16932. "type": "string"
  16933. }
  16934. }
  16935. },
  16936. "ermcp.QryWarehouseRsp": {
  16937. "type": "object",
  16938. "properties": {
  16939. "address": {
  16940. "description": "详细地址",
  16941. "type": "string"
  16942. },
  16943. "areauserid": {
  16944. "description": "所属机构",
  16945. "type": "integer"
  16946. },
  16947. "autoid": {
  16948. "description": "自增ID(仓库ID)",
  16949. "type": "integer"
  16950. },
  16951. "cityid": {
  16952. "description": "市",
  16953. "type": "integer"
  16954. },
  16955. "contactname": {
  16956. "description": "联系人",
  16957. "type": "string"
  16958. },
  16959. "contactnum": {
  16960. "description": "联系电话",
  16961. "type": "string"
  16962. },
  16963. "countryid": {
  16964. "description": "国家",
  16965. "type": "integer"
  16966. },
  16967. "createtime": {
  16968. "description": "创建时间",
  16969. "type": "string"
  16970. },
  16971. "districtid": {
  16972. "description": "区",
  16973. "type": "integer"
  16974. },
  16975. "hasvideo": {
  16976. "description": "是否有视频 - 0:无 1:有",
  16977. "type": "integer"
  16978. },
  16979. "provinceid": {
  16980. "description": "省",
  16981. "type": "integer"
  16982. },
  16983. "remark": {
  16984. "description": "审核备注",
  16985. "type": "string"
  16986. },
  16987. "videourl": {
  16988. "description": "视频地址",
  16989. "type": "string"
  16990. },
  16991. "warehousecode": {
  16992. "description": "仓库代码",
  16993. "type": "string"
  16994. },
  16995. "warehousename": {
  16996. "description": "仓库名称",
  16997. "type": "string"
  16998. },
  16999. "warehousestatus": {
  17000. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17001. "type": "integer"
  17002. },
  17003. "warehousetype": {
  17004. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17005. "type": "integer"
  17006. }
  17007. }
  17008. },
  17009. "ermcp.QueryErmcpTradePositionRsp": {
  17010. "type": "object",
  17011. "properties": {
  17012. "agreeunit": {
  17013. "description": "合约单位",
  17014. "type": "number"
  17015. },
  17016. "buyorsell": {
  17017. "description": "方向 - 0:买 1:卖",
  17018. "type": "integer"
  17019. },
  17020. "curpositionqty": {
  17021. "description": "持仓(总仓数量, 期末头寸)",
  17022. "type": "integer"
  17023. },
  17024. "curtdposition": {
  17025. "description": "今仓数量(期末今日头寸)",
  17026. "type": "integer"
  17027. },
  17028. "curtdpositionenabled": {
  17029. "description": "今仓可用",
  17030. "type": "integer"
  17031. },
  17032. "decimalplace": {
  17033. "description": "报价小数位",
  17034. "type": "integer"
  17035. },
  17036. "enableqty": {
  17037. "description": "可用(总仓可用)",
  17038. "type": "integer"
  17039. },
  17040. "exexchangename": {
  17041. "description": "外部交易所名称",
  17042. "type": "string"
  17043. },
  17044. "exexehangecode": {
  17045. "description": "外部交易所代码",
  17046. "type": "string"
  17047. },
  17048. "exexehangeid": {
  17049. "description": "外部交易所id",
  17050. "type": "integer"
  17051. },
  17052. "goodscode": {
  17053. "description": "商品代码(内部)",
  17054. "type": "string"
  17055. },
  17056. "goodsid": {
  17057. "description": "商品ID(自增ID SEQ_GOODS)",
  17058. "type": "integer"
  17059. },
  17060. "goodsname": {
  17061. "description": "商品名称",
  17062. "type": "string"
  17063. },
  17064. "last": {
  17065. "description": "现价",
  17066. "type": "number"
  17067. },
  17068. "marketid": {
  17069. "description": "所属市场ID",
  17070. "type": "integer"
  17071. },
  17072. "openaverageprice": {
  17073. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  17074. "type": "number"
  17075. },
  17076. "opencost": {
  17077. "description": "开仓成本",
  17078. "type": "number"
  17079. },
  17080. "openpl": {
  17081. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17082. "type": "number"
  17083. },
  17084. "outgoodscode": {
  17085. "description": "商品代码(外部)",
  17086. "type": "string"
  17087. },
  17088. "positionaverageprice": {
  17089. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  17090. "type": "number"
  17091. },
  17092. "positioncost": {
  17093. "description": "持仓成本",
  17094. "type": "number"
  17095. },
  17096. "positionpl": {
  17097. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17098. "type": "number"
  17099. },
  17100. "positionplrate": {
  17101. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  17102. "type": "number"
  17103. },
  17104. "usedmargin": {
  17105. "description": "占用保证金",
  17106. "type": "number"
  17107. }
  17108. }
  17109. },
  17110. "ermcp.RealtimeExposurePositionRsp": {
  17111. "type": "object",
  17112. "properties": {
  17113. "agreeunit": {
  17114. "description": "合约单位",
  17115. "type": "string"
  17116. },
  17117. "areauserid": {
  17118. "description": "所属机构id",
  17119. "type": "integer"
  17120. },
  17121. "convertratio": {
  17122. "description": "期货品种系数(折算系数)",
  17123. "type": "number"
  17124. },
  17125. "curqty": {
  17126. "description": "当前持仓",
  17127. "type": "integer"
  17128. },
  17129. "diffhedgeqty": {
  17130. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  17131. "type": "number"
  17132. },
  17133. "diffqty": {
  17134. "description": "持仓变动量=当前持仓-昨日持仓",
  17135. "type": "integer"
  17136. },
  17137. "goodscode": {
  17138. "description": "商品代码",
  17139. "type": "string"
  17140. },
  17141. "goodsid": {
  17142. "description": "商品id",
  17143. "type": "integer"
  17144. },
  17145. "goodsname": {
  17146. "description": "商品名称",
  17147. "type": "string"
  17148. },
  17149. "middlegoodsid": {
  17150. "description": "套保商品id",
  17151. "type": "integer"
  17152. },
  17153. "ydqty": {
  17154. "description": "昨日持仓",
  17155. "type": "integer"
  17156. }
  17157. }
  17158. },
  17159. "ermcp.RealtimeExposureRsp": {
  17160. "type": "object",
  17161. "properties": {
  17162. "AreaUserID": {
  17163. "description": "所属机构",
  17164. "type": "integer"
  17165. },
  17166. "BuyFutureQty": {
  17167. "description": "买入期货数量",
  17168. "type": "number"
  17169. },
  17170. "BuyPlanQty": {
  17171. "description": "采购计划数量",
  17172. "type": "number"
  17173. },
  17174. "BuyPricedQty": {
  17175. "description": "采购合同已定价数量",
  17176. "type": "number"
  17177. },
  17178. "MiddleGoodsCode": {
  17179. "description": "套保品种代码",
  17180. "type": "string"
  17181. },
  17182. "MiddleGoodsHedgeRatio": {
  17183. "description": "套保比例",
  17184. "type": "number"
  17185. },
  17186. "MiddleGoodsID": {
  17187. "description": "套保品种",
  17188. "type": "integer"
  17189. },
  17190. "MiddleGoodsName": {
  17191. "description": "套保品种名称",
  17192. "type": "string"
  17193. },
  17194. "NeedHedgeExposoure": {
  17195. "description": "应套保敞口(套保敞口)",
  17196. "type": "number"
  17197. },
  17198. "NeedHedgeRatio": {
  17199. "description": "应套保敞口比例",
  17200. "type": "number"
  17201. },
  17202. "OriBuyFutureQty": {
  17203. "description": "期初买入期货数量",
  17204. "type": "number"
  17205. },
  17206. "OriBuyPlanQty": {
  17207. "description": "期初采购计划数量",
  17208. "type": "number"
  17209. },
  17210. "OriBuyPricedQty": {
  17211. "description": "期初采购合同已定价数量",
  17212. "type": "number"
  17213. },
  17214. "OriSellFutureQty": {
  17215. "description": "期初卖出期货数量",
  17216. "type": "number"
  17217. },
  17218. "OriSellPlanQty": {
  17219. "description": "期初销售计划数量",
  17220. "type": "number"
  17221. },
  17222. "OriSellPricedQty": {
  17223. "description": "期初销售合同已定价数量",
  17224. "type": "number"
  17225. },
  17226. "OriTotalSpotQty": {
  17227. "description": "期初现货总量",
  17228. "type": "number"
  17229. },
  17230. "SellFutureQty": {
  17231. "description": "卖出期货数量",
  17232. "type": "number"
  17233. },
  17234. "SellPlanQty": {
  17235. "description": "销售计划数量",
  17236. "type": "number"
  17237. },
  17238. "SellPricedQty": {
  17239. "description": "销售合同已定价数量",
  17240. "type": "number"
  17241. },
  17242. "TotalExposure": {
  17243. "description": "总敞口 平安:净敞口",
  17244. "type": "number"
  17245. },
  17246. "TotalFutureQty": {
  17247. "description": "期货总量 平安:保值净持仓量",
  17248. "type": "number"
  17249. },
  17250. "TotalHedgeRatio": {
  17251. "description": "敞口比例",
  17252. "type": "number"
  17253. },
  17254. "TotalNeedHedgeQty": {
  17255. "description": "应套保总量(现货应套保总量)",
  17256. "type": "number"
  17257. },
  17258. "TotalSpotQty": {
  17259. "description": "现货总量 平安:采销定价净值",
  17260. "type": "number"
  17261. },
  17262. "arbitrageqty": {
  17263. "description": "套利量",
  17264. "type": "number"
  17265. },
  17266. "diffArbitrageQty": {
  17267. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17268. "type": "number"
  17269. },
  17270. "diffExposoureQty": {
  17271. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17272. "type": "number"
  17273. },
  17274. "diffFutuQty": {
  17275. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17276. "type": "number"
  17277. },
  17278. "diffHedgeQty": {
  17279. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17280. "type": "number"
  17281. },
  17282. "diffQty": {
  17283. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17284. "type": "number"
  17285. },
  17286. "diffSpotHedgeQty": {
  17287. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17288. "type": "number"
  17289. },
  17290. "diffSpotQty": {
  17291. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  17292. "type": "number"
  17293. },
  17294. "enumdicname": {
  17295. "description": "单位名称",
  17296. "type": "string"
  17297. },
  17298. "hedgeqty": {
  17299. "description": "套保量",
  17300. "type": "number"
  17301. },
  17302. "needarbitrageqty": {
  17303. "description": "应套利量",
  17304. "type": "number"
  17305. },
  17306. "needarbitrageratio": {
  17307. "description": "套利比例",
  17308. "type": "number"
  17309. },
  17310. "needhedgeqty": {
  17311. "description": "应套保量",
  17312. "type": "number"
  17313. },
  17314. "oriarbitrageqty": {
  17315. "description": "期初套利量",
  17316. "type": "number"
  17317. },
  17318. "orihedgeqty": {
  17319. "description": "期初套保量",
  17320. "type": "number"
  17321. },
  17322. "orineedhedgeexposoure": {
  17323. "description": "期初套保敞口",
  17324. "type": "number"
  17325. },
  17326. "oritotalexposure": {
  17327. "description": "期初总敞口",
  17328. "type": "number"
  17329. },
  17330. "oritotalfutureqty": {
  17331. "description": "期初期货总量",
  17332. "type": "number"
  17333. },
  17334. "oritotalneedhedgeqty": {
  17335. "description": "期初现货应套保量",
  17336. "type": "number"
  17337. }
  17338. }
  17339. },
  17340. "erms2.QueryArbitrageStrategyRsp": {
  17341. "type": "object",
  17342. "required": [
  17343. "asapplyid"
  17344. ],
  17345. "properties": {
  17346. "applybasis": {
  17347. "description": "申请基差",
  17348. "type": "number"
  17349. },
  17350. "asapplyid": {
  17351. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  17352. "type": "string"
  17353. },
  17354. "asname": {
  17355. "description": "策略名称",
  17356. "type": "string"
  17357. },
  17358. "asno": {
  17359. "description": "策略编号",
  17360. "type": "string"
  17361. },
  17362. "basischangepl": {
  17363. "description": "基差变动损益[结算更新]",
  17364. "type": "number"
  17365. },
  17366. "biztype": {
  17367. "description": "业务类型 - 1:正向套利 -1:反向套利",
  17368. "type": "integer"
  17369. },
  17370. "closetradedate": {
  17371. "description": "完结交易日(yyyyMMdd)",
  17372. "type": "string"
  17373. },
  17374. "curbasis": {
  17375. "description": "当前基差[结算更新]",
  17376. "type": "number"
  17377. },
  17378. "deliverygoodsid": {
  17379. "description": "现货品种ID",
  17380. "type": "integer"
  17381. },
  17382. "futureavgprice": {
  17383. "description": "期货建仓均价",
  17384. "type": "number"
  17385. },
  17386. "futurecloseamount": {
  17387. "description": "期货平仓金额",
  17388. "type": "number"
  17389. },
  17390. "futurecloseqty": {
  17391. "description": "期货平仓数量",
  17392. "type": "number"
  17393. },
  17394. "futureopenamount": {
  17395. "description": "期货开仓金额",
  17396. "type": "number"
  17397. },
  17398. "futureopenqty": {
  17399. "description": "期货开仓数量",
  17400. "type": "number"
  17401. },
  17402. "futurepl": {
  17403. "description": "期货总盈亏[结算更新]",
  17404. "type": "number"
  17405. },
  17406. "futureqty": {
  17407. "description": "期货持仓数量",
  17408. "type": "number"
  17409. },
  17410. "futurequote": {
  17411. "description": "期货额度",
  17412. "type": "number"
  17413. },
  17414. "goodsgroupid": {
  17415. "description": "期货品种ID",
  17416. "type": "integer"
  17417. },
  17418. "marketid": {
  17419. "description": "市场ID",
  17420. "type": "integer"
  17421. },
  17422. "netexposure": {
  17423. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  17424. "type": "number"
  17425. },
  17426. "netexposurepl": {
  17427. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  17428. "type": "number"
  17429. },
  17430. "netexposurerate": {
  17431. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  17432. "type": "number"
  17433. },
  17434. "openbasis": {
  17435. "description": "建仓基差",
  17436. "type": "number"
  17437. },
  17438. "pricedspotqty": {
  17439. "description": "已定价现货数量",
  17440. "type": "number"
  17441. },
  17442. "pricedspotqtynotax": {
  17443. "description": "已定价现货不含税数量",
  17444. "type": "number"
  17445. },
  17446. "remark": {
  17447. "description": "备注",
  17448. "type": "string"
  17449. },
  17450. "spotavgprice": {
  17451. "description": "现货均价",
  17452. "type": "number"
  17453. },
  17454. "spotbuyamount": {
  17455. "description": "现货采购金额",
  17456. "type": "number"
  17457. },
  17458. "spotbuyqty": {
  17459. "description": "现货采购数量",
  17460. "type": "number"
  17461. },
  17462. "spotpl": {
  17463. "description": "现货总盈亏[结算更新]",
  17464. "type": "number"
  17465. },
  17466. "spotquota": {
  17467. "description": "现货额度",
  17468. "type": "number"
  17469. },
  17470. "spotsellamount": {
  17471. "description": "现货销售金额",
  17472. "type": "number"
  17473. },
  17474. "spotsellqty": {
  17475. "description": "现货销售数量",
  17476. "type": "number"
  17477. },
  17478. "spotusedquota": {
  17479. "description": "现货占用资金",
  17480. "type": "number"
  17481. },
  17482. "strategystatus": {
  17483. "description": "策略状态 - 0:未结束 1:已结束",
  17484. "type": "integer"
  17485. },
  17486. "totalpl": {
  17487. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  17488. "type": "number"
  17489. },
  17490. "tradedate": {
  17491. "description": "交易日(yyyyMMdd)",
  17492. "type": "string"
  17493. },
  17494. "updatetime": {
  17495. "description": "更新时间",
  17496. "type": "string"
  17497. },
  17498. "usedquota": {
  17499. "description": "已占用资金",
  17500. "type": "number"
  17501. },
  17502. "userid": {
  17503. "description": "所属机构",
  17504. "type": "integer"
  17505. }
  17506. }
  17507. },
  17508. "erms2.QueryInnerTradeDetailRsp": {
  17509. "type": "object",
  17510. "required": [
  17511. "asapplyid",
  17512. "buyorsell",
  17513. "goodscode",
  17514. "goodsgroupid",
  17515. "goodsgroupname",
  17516. "goodsname",
  17517. "tradeid"
  17518. ],
  17519. "properties": {
  17520. "accountid": {
  17521. "description": "账号ID",
  17522. "type": "integer"
  17523. },
  17524. "agreeunit": {
  17525. "description": "合约单位",
  17526. "type": "number"
  17527. },
  17528. "asapplyid": {
  17529. "description": "策略申请ID",
  17530. "type": "integer"
  17531. },
  17532. "asname": {
  17533. "description": "策略名称",
  17534. "type": "string"
  17535. },
  17536. "asno": {
  17537. "description": "策略编号",
  17538. "type": "string"
  17539. },
  17540. "buyorsell": {
  17541. "description": "方向 - 0:买 1:卖",
  17542. "type": "integer"
  17543. },
  17544. "channelbuildtype": {
  17545. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  17546. "type": "integer"
  17547. },
  17548. "closetype": {
  17549. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  17550. "type": "integer"
  17551. },
  17552. "decimalplace": {
  17553. "description": "报价小数位",
  17554. "type": "integer"
  17555. },
  17556. "detailtype": {
  17557. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  17558. "type": "integer"
  17559. },
  17560. "exexchangecode": {
  17561. "description": "外部交易所代码",
  17562. "type": "string"
  17563. },
  17564. "exexchangename": {
  17565. "description": "外部交易所名称",
  17566. "type": "string"
  17567. },
  17568. "goodscode": {
  17569. "description": "商品代码(合约)",
  17570. "type": "string"
  17571. },
  17572. "goodsgroupid": {
  17573. "description": "商品组ID(品种ID)",
  17574. "type": "integer"
  17575. },
  17576. "goodsgroupname": {
  17577. "description": "商品组名称(品种)",
  17578. "type": "string"
  17579. },
  17580. "goodsid": {
  17581. "description": "商品ID",
  17582. "type": "integer"
  17583. },
  17584. "goodsname": {
  17585. "description": "商品名称(合约)",
  17586. "type": "string"
  17587. },
  17588. "goodunit": {
  17589. "description": "报价单位",
  17590. "type": "string"
  17591. },
  17592. "marketid": {
  17593. "description": "市场ID",
  17594. "type": "integer"
  17595. },
  17596. "orderid": {
  17597. "description": "委托单号",
  17598. "type": "string"
  17599. },
  17600. "outgoodscode": {
  17601. "description": "商品代码(外部)",
  17602. "type": "string"
  17603. },
  17604. "relatedouttradeid": {
  17605. "description": "关联外部成交单ID",
  17606. "type": "string"
  17607. },
  17608. "remark": {
  17609. "description": "备注",
  17610. "type": "string"
  17611. },
  17612. "spotcontractid": {
  17613. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  17614. "type": "integer"
  17615. },
  17616. "spotcontractno": {
  17617. "description": "现货合同编号",
  17618. "type": "string"
  17619. },
  17620. "tradeid": {
  17621. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17622. "type": "string"
  17623. },
  17624. "tradeprice": {
  17625. "description": "成交价格",
  17626. "type": "number"
  17627. },
  17628. "tradeqty": {
  17629. "description": "成交数量",
  17630. "type": "integer"
  17631. },
  17632. "tradetime": {
  17633. "description": "成交时间",
  17634. "type": "string"
  17635. },
  17636. "updatetime": {
  17637. "description": "更新时间",
  17638. "type": "string"
  17639. }
  17640. }
  17641. },
  17642. "erms2.QuerySpotContractRsp": {
  17643. "type": "object",
  17644. "required": [
  17645. "spotcontractid"
  17646. ],
  17647. "properties": {
  17648. "accountid": {
  17649. "description": "资金账户ID",
  17650. "type": "integer"
  17651. },
  17652. "areauserid": {
  17653. "description": "所属机构",
  17654. "type": "integer"
  17655. },
  17656. "closedate": {
  17657. "description": "终止日期",
  17658. "type": "string"
  17659. },
  17660. "closeremark": {
  17661. "description": "结束备注",
  17662. "type": "string"
  17663. },
  17664. "closetradedate": {
  17665. "description": "完结交易日(yyyyMMdd)",
  17666. "type": "string"
  17667. },
  17668. "closetype": {
  17669. "description": "终止类型 - 1:违约 2:提前终止",
  17670. "type": "integer"
  17671. },
  17672. "contractamount": {
  17673. "description": "合同金额",
  17674. "type": "number"
  17675. },
  17676. "contractattachment": {
  17677. "description": "合同附件",
  17678. "type": "string"
  17679. },
  17680. "contractno": {
  17681. "description": "现货合同编号",
  17682. "type": "string"
  17683. },
  17684. "contractqty": {
  17685. "description": "合同数量(数值) (用于计算)",
  17686. "type": "number"
  17687. },
  17688. "contractqtychar": {
  17689. "description": "合同数量\\已订价数量 (用于显示)",
  17690. "type": "string"
  17691. },
  17692. "contractstatus": {
  17693. "description": "合同状态 - 0:未结束 1:已结束",
  17694. "type": "integer"
  17695. },
  17696. "contracttype": {
  17697. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  17698. "type": "integer"
  17699. },
  17700. "customeraccountid": {
  17701. "description": "客户资金账户ID",
  17702. "type": "integer"
  17703. },
  17704. "customeruserid": {
  17705. "description": "客户ID",
  17706. "type": "integer"
  17707. },
  17708. "deliverygoodsdesc": {
  17709. "description": "品种说明",
  17710. "type": "string"
  17711. },
  17712. "deliverygoodsid": {
  17713. "description": "现货品种ID",
  17714. "type": "integer"
  17715. },
  17716. "handlestatus": {
  17717. "description": "处理状态",
  17718. "type": "integer"
  17719. },
  17720. "invoiceatt": {
  17721. "description": "发票附件",
  17722. "type": "string"
  17723. },
  17724. "invoicedatetime": {
  17725. "description": "开收票更新时间",
  17726. "type": "string"
  17727. },
  17728. "invoiceopentime": {
  17729. "description": "开票时间",
  17730. "type": "string"
  17731. },
  17732. "invoiceremark": {
  17733. "description": "发票备注",
  17734. "type": "string"
  17735. },
  17736. "invoicestatus": {
  17737. "description": "开收票状态 - 0:未开票 1:已开票",
  17738. "type": "integer"
  17739. },
  17740. "lastdate": {
  17741. "description": "交货时间",
  17742. "type": "string"
  17743. },
  17744. "marketid": {
  17745. "description": "市场ID",
  17746. "type": "integer"
  17747. },
  17748. "paydatetime": {
  17749. "description": "收付款更新时间",
  17750. "type": "string"
  17751. },
  17752. "payremark": {
  17753. "description": "收付款备注",
  17754. "type": "string"
  17755. },
  17756. "paystatus": {
  17757. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  17758. "type": "integer"
  17759. },
  17760. "positionqty": {
  17761. "description": "头寸数量 - 合同数量去小数部分",
  17762. "type": "integer"
  17763. },
  17764. "producttype": {
  17765. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17766. "type": "integer"
  17767. },
  17768. "relatedqty": {
  17769. "description": "已关联数量",
  17770. "type": "number"
  17771. },
  17772. "relatedstatus": {
  17773. "description": "关联完结状态 - 0:未结束 1:已结束",
  17774. "type": "integer"
  17775. },
  17776. "remark": {
  17777. "description": "备注",
  17778. "type": "string"
  17779. },
  17780. "signdate": {
  17781. "description": "签订日期",
  17782. "type": "string"
  17783. },
  17784. "spotcontractid": {
  17785. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  17786. "type": "string"
  17787. },
  17788. "spotdatetime": {
  17789. "description": "收发货更新时间",
  17790. "type": "string"
  17791. },
  17792. "spotprice": {
  17793. "description": "价格",
  17794. "type": "number"
  17795. },
  17796. "spotremark": {
  17797. "description": "收发货备注",
  17798. "type": "string"
  17799. },
  17800. "spotstatus": {
  17801. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  17802. "type": "integer"
  17803. },
  17804. "tradedate": {
  17805. "description": "交易日(yyyyMMdd)",
  17806. "type": "string"
  17807. },
  17808. "userid": {
  17809. "description": "业务员用户ID",
  17810. "type": "integer"
  17811. },
  17812. "warehouseid": {
  17813. "description": "仓库ID",
  17814. "type": "integer"
  17815. },
  17816. "wrfactortypeid": {
  17817. "description": "仓单要素类型ID",
  17818. "type": "integer"
  17819. },
  17820. "wrstandardid": {
  17821. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17822. "type": "integer"
  17823. }
  17824. }
  17825. },
  17826. "erms3.AddErms2ASApplyReq": {
  17827. "type": "object",
  17828. "required": [
  17829. "asapplyid"
  17830. ],
  17831. "properties": {
  17832. "applybasis": {
  17833. "description": "申请基差",
  17834. "type": "number"
  17835. },
  17836. "applystatus": {
  17837. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17838. "type": "integer"
  17839. },
  17840. "asapplyid": {
  17841. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  17842. "type": "integer"
  17843. },
  17844. "asname": {
  17845. "description": "策略名称",
  17846. "type": "string"
  17847. },
  17848. "asno": {
  17849. "description": "策略编号",
  17850. "type": "string"
  17851. },
  17852. "auditid": {
  17853. "description": "审核人",
  17854. "type": "integer"
  17855. },
  17856. "auditremark": {
  17857. "description": "审核备注",
  17858. "type": "string"
  17859. },
  17860. "audittime": {
  17861. "description": "审核时间",
  17862. "type": "string"
  17863. },
  17864. "biztype": {
  17865. "description": "业务类型 - 1:正向套利 2:反向套利",
  17866. "type": "integer"
  17867. },
  17868. "createtime": {
  17869. "description": "创建时间",
  17870. "type": "string"
  17871. },
  17872. "creatorid": {
  17873. "description": "创建人",
  17874. "type": "integer"
  17875. },
  17876. "deliverygoodsid": {
  17877. "description": "现货品种ID",
  17878. "type": "integer"
  17879. },
  17880. "futurequote": {
  17881. "description": "期货额度",
  17882. "type": "number"
  17883. },
  17884. "goodsgroupid": {
  17885. "description": "期货品种ID",
  17886. "type": "integer"
  17887. },
  17888. "marketid": {
  17889. "description": "市场ID",
  17890. "type": "integer"
  17891. },
  17892. "remark": {
  17893. "description": "备注",
  17894. "type": "string"
  17895. },
  17896. "spotquota": {
  17897. "description": "现货额度",
  17898. "type": "number"
  17899. },
  17900. "tradedate": {
  17901. "description": "交易日(yyyyMMdd)",
  17902. "type": "string"
  17903. },
  17904. "userid": {
  17905. "description": "所属机构",
  17906. "type": "integer"
  17907. }
  17908. }
  17909. },
  17910. "erms3.AddErms2SpotTradeApplyReq": {
  17911. "type": "object",
  17912. "required": [
  17913. "spottradeid"
  17914. ],
  17915. "properties": {
  17916. "applyjsondetail": {
  17917. "description": "申请明细(JSON)",
  17918. "type": "string"
  17919. },
  17920. "applystatus": {
  17921. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17922. "type": "integer"
  17923. },
  17924. "areauserid": {
  17925. "description": "所属机构",
  17926. "type": "integer"
  17927. },
  17928. "auditid": {
  17929. "description": "审核人",
  17930. "type": "integer"
  17931. },
  17932. "auditremark": {
  17933. "description": "审核备注",
  17934. "type": "string"
  17935. },
  17936. "audittime": {
  17937. "description": "审核时间",
  17938. "type": "string"
  17939. },
  17940. "createtime": {
  17941. "description": "创建时间",
  17942. "type": "string"
  17943. },
  17944. "creatorid": {
  17945. "description": "创建人",
  17946. "type": "integer"
  17947. },
  17948. "deliverygoodsid": {
  17949. "description": "现货品种ID",
  17950. "type": "integer"
  17951. },
  17952. "futureaccountid": {
  17953. "description": "期货资金账户",
  17954. "type": "integer"
  17955. },
  17956. "goodsgroupid": {
  17957. "description": "期货品种",
  17958. "type": "integer"
  17959. },
  17960. "marketid": {
  17961. "description": "市场ID",
  17962. "type": "integer"
  17963. },
  17964. "remark": {
  17965. "description": "备注",
  17966. "type": "string"
  17967. },
  17968. "spotaccountid": {
  17969. "description": "现货资金账户",
  17970. "type": "integer"
  17971. },
  17972. "spottradeid": {
  17973. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  17974. "type": "integer"
  17975. },
  17976. "spottradename": {
  17977. "description": "业务名称",
  17978. "type": "string"
  17979. },
  17980. "spottradeno": {
  17981. "description": "业务编号",
  17982. "type": "string"
  17983. },
  17984. "tradedate": {
  17985. "description": "交易日(yyyyMMdd)",
  17986. "type": "string"
  17987. },
  17988. "wrstandardid": {
  17989. "description": "仓单标准ID",
  17990. "type": "integer"
  17991. }
  17992. }
  17993. },
  17994. "erms3.AddSpotContractApplyReq": {
  17995. "type": "object",
  17996. "required": [
  17997. "accountid",
  17998. "areauserid",
  17999. "contractno",
  18000. "contracttype",
  18001. "customeraccountid",
  18002. "customeruserid",
  18003. "details",
  18004. "orimargin",
  18005. "signdate"
  18006. ],
  18007. "properties": {
  18008. "accountid": {
  18009. "description": "资金账户ID",
  18010. "type": "integer"
  18011. },
  18012. "areauserid": {
  18013. "description": "所属机构",
  18014. "type": "integer"
  18015. },
  18016. "contractattachment": {
  18017. "description": "合同附件",
  18018. "type": "string"
  18019. },
  18020. "contractno": {
  18021. "description": "现货合同编号",
  18022. "type": "string"
  18023. },
  18024. "contracttype": {
  18025. "description": "现货合同类型 - 1:采购 -1:销售",
  18026. "type": "integer"
  18027. },
  18028. "creatorid": {
  18029. "description": "申请人",
  18030. "type": "integer"
  18031. },
  18032. "customeraccountid": {
  18033. "description": "客户资金账户ID",
  18034. "type": "integer"
  18035. },
  18036. "customeruserid": {
  18037. "description": "客户ID",
  18038. "type": "integer"
  18039. },
  18040. "details": {
  18041. "description": "明细",
  18042. "type": "array",
  18043. "items": {
  18044. "$ref": "#/definitions/erms3.SoptContractDetail"
  18045. }
  18046. },
  18047. "orimargin": {
  18048. "description": "初始保证金",
  18049. "type": "number"
  18050. },
  18051. "remark": {
  18052. "description": "备注",
  18053. "type": "string"
  18054. },
  18055. "signdate": {
  18056. "description": "签订日期",
  18057. "type": "string"
  18058. }
  18059. }
  18060. },
  18061. "erms3.AddSpotContractApplyRsp": {
  18062. "type": "object",
  18063. "required": [
  18064. "contractno"
  18065. ],
  18066. "properties": {
  18067. "contractno": {
  18068. "description": "现货合同编号",
  18069. "type": "string"
  18070. },
  18071. "spotcontractid": {
  18072. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  18073. "type": "integer"
  18074. }
  18075. }
  18076. },
  18077. "erms3.AddUserInfoApplyReq": {
  18078. "type": "object",
  18079. "required": [
  18080. "userid"
  18081. ],
  18082. "properties": {
  18083. "accountid": {
  18084. "description": "交易系统帐号Id (加密存储)",
  18085. "type": "integer"
  18086. },
  18087. "areacode": {
  18088. "description": "机构代码",
  18089. "type": "string"
  18090. },
  18091. "areaid": {
  18092. "description": "机构Id",
  18093. "type": "integer"
  18094. },
  18095. "attachment1": {
  18096. "description": "附件1",
  18097. "type": "string"
  18098. },
  18099. "attachment2": {
  18100. "description": "附件2",
  18101. "type": "string"
  18102. },
  18103. "attachment3": {
  18104. "description": "附件3",
  18105. "type": "string"
  18106. },
  18107. "attachment4": {
  18108. "description": "附件4",
  18109. "type": "string"
  18110. },
  18111. "attachment5": {
  18112. "description": "附件5",
  18113. "type": "string"
  18114. },
  18115. "auditedby": {
  18116. "description": "审核人",
  18117. "type": "string"
  18118. },
  18119. "auditime": {
  18120. "description": "审核时间",
  18121. "type": "string"
  18122. },
  18123. "auditsrc": {
  18124. "description": "审核来源 - 1:管理端 2:终端",
  18125. "type": "integer"
  18126. },
  18127. "bankaccount": {
  18128. "description": "银行帐号 (加密存储)",
  18129. "type": "string"
  18130. },
  18131. "bankaccountname": {
  18132. "description": "收款人名称",
  18133. "type": "string"
  18134. },
  18135. "bankcardbackphotourl": {
  18136. "description": "银行卡背面照地址",
  18137. "type": "string"
  18138. },
  18139. "bankcardfrontphotourl": {
  18140. "description": "银行卡正面照地址",
  18141. "type": "string"
  18142. },
  18143. "bankid": {
  18144. "description": "银行编码",
  18145. "type": "string"
  18146. },
  18147. "bankname": {
  18148. "description": "银行名称",
  18149. "type": "string"
  18150. },
  18151. "bankpictureurl": {
  18152. "description": "银行卡正面地址",
  18153. "type": "string"
  18154. },
  18155. "biznature": {
  18156. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18157. "type": "integer"
  18158. },
  18159. "bizscope": {
  18160. "description": "企业经营范围(企业)",
  18161. "type": "string"
  18162. },
  18163. "biztype": {
  18164. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18165. "type": "integer"
  18166. },
  18167. "brokerid": {
  18168. "description": "经纪人ID(加密存储)",
  18169. "type": "string"
  18170. },
  18171. "cardaddress": {
  18172. "description": "证件地址 (加密存储)",
  18173. "type": "string"
  18174. },
  18175. "cardbackphotourl": {
  18176. "description": "背面证件照地址",
  18177. "type": "string"
  18178. },
  18179. "cardfrontphotourl": {
  18180. "description": "正面证件照地址",
  18181. "type": "string"
  18182. },
  18183. "cardnum": {
  18184. "description": "证件号码 (加密存储)",
  18185. "type": "string"
  18186. },
  18187. "cardtype": {
  18188. "description": "证件类型",
  18189. "type": "integer"
  18190. },
  18191. "cityid": {
  18192. "description": "市",
  18193. "type": "integer"
  18194. },
  18195. "company": {
  18196. "description": "公司(个人)",
  18197. "type": "string"
  18198. },
  18199. "contactcardbackphotourl": {
  18200. "description": "联系人证件背面图片地址",
  18201. "type": "string"
  18202. },
  18203. "contactcardfrontphotourl": {
  18204. "description": "联系人证件正面图片地址",
  18205. "type": "string"
  18206. },
  18207. "contactname": {
  18208. "description": "联系人",
  18209. "type": "string"
  18210. },
  18211. "countryid": {
  18212. "description": "国家",
  18213. "type": "integer"
  18214. },
  18215. "createtime": {
  18216. "description": "开户申请时间",
  18217. "type": "string"
  18218. },
  18219. "cusbankid": {
  18220. "description": "签约类型",
  18221. "type": "string"
  18222. },
  18223. "cusbankname": {
  18224. "description": "签约类型名称",
  18225. "type": "string"
  18226. },
  18227. "customername": {
  18228. "description": "客户名称(企业名称)",
  18229. "type": "string"
  18230. },
  18231. "districtid": {
  18232. "description": "地区",
  18233. "type": "integer"
  18234. },
  18235. "email": {
  18236. "description": "Email地址(加密存储)",
  18237. "type": "string"
  18238. },
  18239. "halfbodyphotourl": {
  18240. "description": "半身照地址",
  18241. "type": "string"
  18242. },
  18243. "headurl": {
  18244. "description": "头像地址",
  18245. "type": "string"
  18246. },
  18247. "ipaddress": {
  18248. "description": "IP地址",
  18249. "type": "string"
  18250. },
  18251. "isvalidate": {
  18252. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18253. "type": "string"
  18254. },
  18255. "legalcardbackphotourl": {
  18256. "description": "法人身份证背面照地址",
  18257. "type": "string"
  18258. },
  18259. "legalcardfrontphotourl": {
  18260. "description": "法人身份证正面照地址",
  18261. "type": "string"
  18262. },
  18263. "legalpersonname": {
  18264. "description": "法人姓名(企业)",
  18265. "type": "string"
  18266. },
  18267. "logincode": {
  18268. "description": "登录帐号 (加密存储)",
  18269. "type": "string"
  18270. },
  18271. "memberareaid": {
  18272. "description": "所属会员ID",
  18273. "type": "integer"
  18274. },
  18275. "mobile2": {
  18276. "description": "手机号码[明文-尚志]",
  18277. "type": "string"
  18278. },
  18279. "mobilephone": {
  18280. "description": "手机号码 (加密存储)",
  18281. "type": "string"
  18282. },
  18283. "modifiedby": {
  18284. "description": "修改人帐号",
  18285. "type": "integer"
  18286. },
  18287. "modifiedtime": {
  18288. "description": "修改时间",
  18289. "type": "string"
  18290. },
  18291. "nickname": {
  18292. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18293. "type": "string"
  18294. },
  18295. "openmode": {
  18296. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18297. "type": "integer"
  18298. },
  18299. "otherurl": {
  18300. "description": "其它图片地址[使用分号分隔]",
  18301. "type": "string"
  18302. },
  18303. "postalcode": {
  18304. "description": "邮政编码",
  18305. "type": "string"
  18306. },
  18307. "provinceid": {
  18308. "description": "省",
  18309. "type": "integer"
  18310. },
  18311. "proxystatementurl": {
  18312. "description": "授权委托书",
  18313. "type": "string"
  18314. },
  18315. "qq": {
  18316. "description": "QQ(加密存储",
  18317. "type": "string"
  18318. },
  18319. "referral": {
  18320. "description": "推荐人编码",
  18321. "type": "string"
  18322. },
  18323. "remark": {
  18324. "description": "备注",
  18325. "type": "string"
  18326. },
  18327. "removebeforestatus": {
  18328. "description": "REMOVEBEFORESTATUS",
  18329. "type": "integer"
  18330. },
  18331. "sex": {
  18332. "description": "性别 - 0:女 1:男",
  18333. "type": "integer"
  18334. },
  18335. "signedstatus": {
  18336. "description": "账户一号签签约状态",
  18337. "type": "integer"
  18338. },
  18339. "signpdfurl": {
  18340. "description": "签约pdf文件",
  18341. "type": "string"
  18342. },
  18343. "subbranch": {
  18344. "description": "开户支行",
  18345. "type": "string"
  18346. },
  18347. "taxpayernum": {
  18348. "description": "纳税人识别号",
  18349. "type": "string"
  18350. },
  18351. "telphone": {
  18352. "description": "联系电话(加密存储)",
  18353. "type": "string"
  18354. },
  18355. "userid": {
  18356. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18357. "type": "integer"
  18358. },
  18359. "userinfotype": {
  18360. "description": "用户信息类型 - 1:个人 2:企业",
  18361. "type": "integer"
  18362. },
  18363. "username": {
  18364. "description": "用户姓名",
  18365. "type": "string"
  18366. },
  18367. "userstate": {
  18368. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18369. "type": "integer"
  18370. },
  18371. "usertype": {
  18372. "description": "用户类型 - 1:投资者 2:机构",
  18373. "type": "integer"
  18374. },
  18375. "videourl": {
  18376. "description": "视频地址",
  18377. "type": "string"
  18378. },
  18379. "wechat": {
  18380. "description": "微信号 (加密存储)",
  18381. "type": "string"
  18382. }
  18383. }
  18384. },
  18385. "erms3.CustomerInfo": {
  18386. "type": "object",
  18387. "required": [
  18388. "userid"
  18389. ],
  18390. "properties": {
  18391. "accountids": {
  18392. "description": "资金账户ID列表",
  18393. "type": "array",
  18394. "items": {
  18395. "type": "integer"
  18396. }
  18397. },
  18398. "customername": {
  18399. "description": "名称(企业名称)",
  18400. "type": "string"
  18401. },
  18402. "mobile": {
  18403. "description": "手机号码",
  18404. "type": "string"
  18405. },
  18406. "userid": {
  18407. "description": "用户ID",
  18408. "type": "integer"
  18409. }
  18410. }
  18411. },
  18412. "erms3.ModifyUserInfoApplyReq": {
  18413. "type": "object",
  18414. "required": [
  18415. "userid"
  18416. ],
  18417. "properties": {
  18418. "accountid": {
  18419. "description": "交易系统帐号Id (加密存储)",
  18420. "type": "integer"
  18421. },
  18422. "areacode": {
  18423. "description": "机构代码",
  18424. "type": "string"
  18425. },
  18426. "areaid": {
  18427. "description": "机构Id",
  18428. "type": "integer"
  18429. },
  18430. "attachment1": {
  18431. "description": "附件1",
  18432. "type": "string"
  18433. },
  18434. "attachment2": {
  18435. "description": "附件2",
  18436. "type": "string"
  18437. },
  18438. "attachment3": {
  18439. "description": "附件3",
  18440. "type": "string"
  18441. },
  18442. "attachment4": {
  18443. "description": "附件4",
  18444. "type": "string"
  18445. },
  18446. "attachment5": {
  18447. "description": "附件5",
  18448. "type": "string"
  18449. },
  18450. "auditedby": {
  18451. "description": "审核人",
  18452. "type": "string"
  18453. },
  18454. "auditime": {
  18455. "description": "审核时间",
  18456. "type": "string"
  18457. },
  18458. "auditsrc": {
  18459. "description": "审核来源 - 1:管理端 2:终端",
  18460. "type": "integer"
  18461. },
  18462. "bankaccount": {
  18463. "description": "银行帐号 (加密存储)",
  18464. "type": "string"
  18465. },
  18466. "bankaccountname": {
  18467. "description": "收款人名称",
  18468. "type": "string"
  18469. },
  18470. "bankcardbackphotourl": {
  18471. "description": "银行卡背面照地址",
  18472. "type": "string"
  18473. },
  18474. "bankcardfrontphotourl": {
  18475. "description": "银行卡正面照地址",
  18476. "type": "string"
  18477. },
  18478. "bankid": {
  18479. "description": "银行编码",
  18480. "type": "string"
  18481. },
  18482. "bankname": {
  18483. "description": "银行名称",
  18484. "type": "string"
  18485. },
  18486. "bankpictureurl": {
  18487. "description": "银行卡正面地址",
  18488. "type": "string"
  18489. },
  18490. "biznature": {
  18491. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18492. "type": "integer"
  18493. },
  18494. "bizscope": {
  18495. "description": "企业经营范围(企业)",
  18496. "type": "string"
  18497. },
  18498. "biztype": {
  18499. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18500. "type": "integer"
  18501. },
  18502. "brokerid": {
  18503. "description": "经纪人ID(加密存储)",
  18504. "type": "string"
  18505. },
  18506. "cardaddress": {
  18507. "description": "证件地址 (加密存储)",
  18508. "type": "string"
  18509. },
  18510. "cardbackphotourl": {
  18511. "description": "背面证件照地址",
  18512. "type": "string"
  18513. },
  18514. "cardfrontphotourl": {
  18515. "description": "正面证件照地址",
  18516. "type": "string"
  18517. },
  18518. "cardnum": {
  18519. "description": "证件号码 (加密存储)",
  18520. "type": "string"
  18521. },
  18522. "cardtype": {
  18523. "description": "证件类型",
  18524. "type": "integer"
  18525. },
  18526. "cityid": {
  18527. "description": "市",
  18528. "type": "integer"
  18529. },
  18530. "company": {
  18531. "description": "公司(个人)",
  18532. "type": "string"
  18533. },
  18534. "contactcardbackphotourl": {
  18535. "description": "联系人证件背面图片地址",
  18536. "type": "string"
  18537. },
  18538. "contactcardfrontphotourl": {
  18539. "description": "联系人证件正面图片地址",
  18540. "type": "string"
  18541. },
  18542. "contactname": {
  18543. "description": "联系人",
  18544. "type": "string"
  18545. },
  18546. "countryid": {
  18547. "description": "国家",
  18548. "type": "integer"
  18549. },
  18550. "createtime": {
  18551. "description": "开户申请时间",
  18552. "type": "string"
  18553. },
  18554. "cusbankid": {
  18555. "description": "签约类型",
  18556. "type": "string"
  18557. },
  18558. "cusbankname": {
  18559. "description": "签约类型名称",
  18560. "type": "string"
  18561. },
  18562. "customername": {
  18563. "description": "客户名称(企业名称)",
  18564. "type": "string"
  18565. },
  18566. "districtid": {
  18567. "description": "地区",
  18568. "type": "integer"
  18569. },
  18570. "email": {
  18571. "description": "Email地址(加密存储)",
  18572. "type": "string"
  18573. },
  18574. "halfbodyphotourl": {
  18575. "description": "半身照地址",
  18576. "type": "string"
  18577. },
  18578. "headurl": {
  18579. "description": "头像地址",
  18580. "type": "string"
  18581. },
  18582. "ipaddress": {
  18583. "description": "IP地址",
  18584. "type": "string"
  18585. },
  18586. "isvalidate": {
  18587. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18588. "type": "string"
  18589. },
  18590. "legalcardbackphotourl": {
  18591. "description": "法人身份证背面照地址",
  18592. "type": "string"
  18593. },
  18594. "legalcardfrontphotourl": {
  18595. "description": "法人身份证正面照地址",
  18596. "type": "string"
  18597. },
  18598. "legalpersonname": {
  18599. "description": "法人姓名(企业)",
  18600. "type": "string"
  18601. },
  18602. "logincode": {
  18603. "description": "登录帐号 (加密存储)",
  18604. "type": "string"
  18605. },
  18606. "memberareaid": {
  18607. "description": "所属会员ID",
  18608. "type": "integer"
  18609. },
  18610. "mobile2": {
  18611. "description": "手机号码[明文-尚志]",
  18612. "type": "string"
  18613. },
  18614. "mobilephone": {
  18615. "description": "手机号码 (加密存储)",
  18616. "type": "string"
  18617. },
  18618. "modifiedby": {
  18619. "description": "修改人帐号",
  18620. "type": "integer"
  18621. },
  18622. "modifiedtime": {
  18623. "description": "修改时间",
  18624. "type": "string"
  18625. },
  18626. "nickname": {
  18627. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18628. "type": "string"
  18629. },
  18630. "openmode": {
  18631. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18632. "type": "integer"
  18633. },
  18634. "otherurl": {
  18635. "description": "其它图片地址[使用分号分隔]",
  18636. "type": "string"
  18637. },
  18638. "postalcode": {
  18639. "description": "邮政编码",
  18640. "type": "string"
  18641. },
  18642. "provinceid": {
  18643. "description": "省",
  18644. "type": "integer"
  18645. },
  18646. "proxystatementurl": {
  18647. "description": "授权委托书",
  18648. "type": "string"
  18649. },
  18650. "qq": {
  18651. "description": "QQ(加密存储",
  18652. "type": "string"
  18653. },
  18654. "referral": {
  18655. "description": "推荐人编码",
  18656. "type": "string"
  18657. },
  18658. "remark": {
  18659. "description": "备注",
  18660. "type": "string"
  18661. },
  18662. "removebeforestatus": {
  18663. "description": "REMOVEBEFORESTATUS",
  18664. "type": "integer"
  18665. },
  18666. "sex": {
  18667. "description": "性别 - 0:女 1:男",
  18668. "type": "integer"
  18669. },
  18670. "signedstatus": {
  18671. "description": "账户一号签签约状态",
  18672. "type": "integer"
  18673. },
  18674. "signpdfurl": {
  18675. "description": "签约pdf文件",
  18676. "type": "string"
  18677. },
  18678. "subbranch": {
  18679. "description": "开户支行",
  18680. "type": "string"
  18681. },
  18682. "taxpayernum": {
  18683. "description": "纳税人识别号",
  18684. "type": "string"
  18685. },
  18686. "telphone": {
  18687. "description": "联系电话(加密存储)",
  18688. "type": "string"
  18689. },
  18690. "userid": {
  18691. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18692. "type": "integer"
  18693. },
  18694. "userinfotype": {
  18695. "description": "用户信息类型 - 1:个人 2:企业",
  18696. "type": "integer"
  18697. },
  18698. "username": {
  18699. "description": "用户姓名",
  18700. "type": "string"
  18701. },
  18702. "userstate": {
  18703. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18704. "type": "integer"
  18705. },
  18706. "usertype": {
  18707. "description": "用户类型 - 1:投资者 2:机构",
  18708. "type": "integer"
  18709. },
  18710. "videourl": {
  18711. "description": "视频地址",
  18712. "type": "string"
  18713. },
  18714. "wechat": {
  18715. "description": "微信号 (加密存储)",
  18716. "type": "string"
  18717. }
  18718. }
  18719. },
  18720. "erms3.QryAuditContractRsp": {
  18721. "type": "object",
  18722. "required": [
  18723. "matchcustomername",
  18724. "spotcontractid"
  18725. ],
  18726. "properties": {
  18727. "accountid": {
  18728. "description": "交易员ID",
  18729. "type": "string"
  18730. },
  18731. "applystatus": {
  18732. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18733. "type": "integer"
  18734. },
  18735. "curdeliveryqty": {
  18736. "description": "未交收量",
  18737. "type": "integer"
  18738. },
  18739. "customername": {
  18740. "description": "采购方ID",
  18741. "type": "string"
  18742. },
  18743. "deliverygoodsid": {
  18744. "description": "品种ID",
  18745. "type": "string"
  18746. },
  18747. "deliveryqty": {
  18748. "description": "交收量",
  18749. "type": "integer"
  18750. },
  18751. "enumdicname": {
  18752. "description": "单位名称",
  18753. "type": "string"
  18754. },
  18755. "matchaccountid": {
  18756. "description": "业务员ID",
  18757. "type": "string"
  18758. },
  18759. "matchcustomername": {
  18760. "description": "销售方ID",
  18761. "type": "string"
  18762. },
  18763. "pricedqty": {
  18764. "description": "定价量",
  18765. "type": "number"
  18766. },
  18767. "signdate": {
  18768. "description": "签订日期",
  18769. "type": "string"
  18770. },
  18771. "spotcontractid": {
  18772. "description": "合同ID",
  18773. "type": "string"
  18774. },
  18775. "totaldqty": {
  18776. "description": "合同量",
  18777. "type": "number"
  18778. },
  18779. "unpricedqty": {
  18780. "description": "未定价量",
  18781. "type": "number"
  18782. },
  18783. "wrstandardname": {
  18784. "description": "商品名称",
  18785. "type": "string"
  18786. }
  18787. }
  18788. },
  18789. "erms3.QryPendingBizRsp": {
  18790. "type": "object",
  18791. "properties": {
  18792. "accountid": {
  18793. "description": "现货账户",
  18794. "type": "string"
  18795. },
  18796. "areaname": {
  18797. "description": "所属部门",
  18798. "type": "string"
  18799. },
  18800. "bizid": {
  18801. "description": "业务ID",
  18802. "type": "string"
  18803. },
  18804. "bizname": {
  18805. "description": "业务名称",
  18806. "type": "string"
  18807. },
  18808. "status": {
  18809. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18810. "type": "integer"
  18811. },
  18812. "type": {
  18813. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18814. "type": "integer"
  18815. }
  18816. }
  18817. },
  18818. "erms3.QueryBusinessInfoRsp": {
  18819. "type": "object",
  18820. "properties": {
  18821. "businessid": {
  18822. "description": "业务ID.",
  18823. "type": "integer"
  18824. },
  18825. "buyamount": {
  18826. "description": "采购额.",
  18827. "type": "number"
  18828. },
  18829. "buyqty": {
  18830. "description": "采购量.",
  18831. "type": "string"
  18832. },
  18833. "futurepl": {
  18834. "description": "期货盈亏.",
  18835. "type": "number"
  18836. },
  18837. "futureqty": {
  18838. "description": "期货敞口.",
  18839. "type": "string"
  18840. },
  18841. "goodsid": {
  18842. "description": "商品名称/商品代码.",
  18843. "type": "string"
  18844. },
  18845. "hedgingqty": {
  18846. "description": "套保量.",
  18847. "type": "string"
  18848. },
  18849. "sellamount": {
  18850. "description": "销售额.",
  18851. "type": "number"
  18852. },
  18853. "sellqty": {
  18854. "description": "销售量.",
  18855. "type": "string"
  18856. },
  18857. "spotmarketvalue": {
  18858. "description": "现货市值.",
  18859. "type": "number"
  18860. },
  18861. "spotpl": {
  18862. "description": "浮动权益.",
  18863. "type": "number"
  18864. },
  18865. "spotqty": {
  18866. "description": "现货量.",
  18867. "type": "string"
  18868. },
  18869. "statu": {
  18870. "description": "状态,0-未结束 1-已结束.",
  18871. "type": "integer"
  18872. },
  18873. "totalpl": {
  18874. "description": "总盈亏.",
  18875. "type": "number"
  18876. },
  18877. "totalqty": {
  18878. "description": "总敞口.",
  18879. "type": "string"
  18880. },
  18881. "type": {
  18882. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  18883. "type": "integer"
  18884. }
  18885. }
  18886. },
  18887. "erms3.QuerySpotContractAppleFormRsp": {
  18888. "type": "object",
  18889. "properties": {
  18890. "goodses": {
  18891. "description": "合约列表",
  18892. "type": "array",
  18893. "items": {
  18894. "$ref": "#/definitions/models.GoodsIDAndName"
  18895. }
  18896. },
  18897. "oppositeusers": {
  18898. "description": "对方账号列表",
  18899. "type": "array",
  18900. "items": {
  18901. "$ref": "#/definitions/erms3.CustomerInfo"
  18902. }
  18903. },
  18904. "ouruser": {
  18905. "description": "我方账号",
  18906. "$ref": "#/definitions/erms3.CustomerInfo"
  18907. },
  18908. "warehouseinfos": {
  18909. "description": "仓库信息列表",
  18910. "type": "array",
  18911. "items": {
  18912. "$ref": "#/definitions/models.Warehouseinfo"
  18913. }
  18914. },
  18915. "wrstandards": {
  18916. "description": "仓单标准列表",
  18917. "type": "array",
  18918. "items": {
  18919. "$ref": "#/definitions/models.WRStandardInfo"
  18920. }
  18921. }
  18922. }
  18923. },
  18924. "erms3.QuerySpotContractInfoRsp": {
  18925. "type": "object",
  18926. "properties": {
  18927. "accountid": {
  18928. "description": "表示交易员ID.",
  18929. "type": "integer"
  18930. },
  18931. "curdeliveryqty": {
  18932. "description": "表示未交收量.",
  18933. "type": "number"
  18934. },
  18935. "customername": {
  18936. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  18937. "type": "string"
  18938. },
  18939. "deliverygoodsid": {
  18940. "description": "表示品种ID.",
  18941. "type": "string"
  18942. },
  18943. "deliveryqty": {
  18944. "description": "表示交收量.",
  18945. "type": "number"
  18946. },
  18947. "matchaccountid": {
  18948. "description": "表示业务员ID.",
  18949. "type": "integer"
  18950. },
  18951. "matchcustomername": {
  18952. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  18953. "type": "string"
  18954. },
  18955. "priceqty": {
  18956. "description": "表示定价量.",
  18957. "type": "number"
  18958. },
  18959. "relatedbizid": {
  18960. "description": "表示业务ID.",
  18961. "type": "string"
  18962. },
  18963. "signdate": {
  18964. "description": "表示签订日期.",
  18965. "type": "string"
  18966. },
  18967. "spotcontractid": {
  18968. "description": "合同ID",
  18969. "type": "string"
  18970. },
  18971. "status": {
  18972. "description": "表示状态,0-履约中 1-已完成.",
  18973. "type": "integer"
  18974. },
  18975. "totalqty": {
  18976. "description": "表示合同量.",
  18977. "type": "number"
  18978. },
  18979. "unpricedqty": {
  18980. "description": "表示未定价量.",
  18981. "type": "number"
  18982. },
  18983. "wrstandardname": {
  18984. "description": "表示商品ID.",
  18985. "type": "string"
  18986. }
  18987. }
  18988. },
  18989. "erms3.QueryUserInfoAppliesRsp": {
  18990. "type": "object",
  18991. "required": [
  18992. "userid"
  18993. ],
  18994. "properties": {
  18995. "biznature": {
  18996. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18997. "type": "integer"
  18998. },
  18999. "contactname": {
  19000. "description": "联系人",
  19001. "type": "string"
  19002. },
  19003. "createtime": {
  19004. "description": "开户申请时间",
  19005. "type": "string"
  19006. },
  19007. "userid": {
  19008. "description": "用户ID(自增ID)",
  19009. "type": "integer"
  19010. },
  19011. "userinfotype": {
  19012. "description": "用户信息类型 - 1:个人 2:企业",
  19013. "type": "integer"
  19014. },
  19015. "username": {
  19016. "description": "用户姓名",
  19017. "type": "string"
  19018. },
  19019. "userstate": {
  19020. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19021. "type": "integer"
  19022. }
  19023. }
  19024. },
  19025. "erms3.QueryUserInfosRsp": {
  19026. "type": "object",
  19027. "required": [
  19028. "userid"
  19029. ],
  19030. "properties": {
  19031. "biznature": {
  19032. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19033. "type": "integer"
  19034. },
  19035. "contactname": {
  19036. "description": "联系人",
  19037. "type": "string"
  19038. },
  19039. "customername": {
  19040. "description": "客户名称(企业名称)",
  19041. "type": "string"
  19042. },
  19043. "userid": {
  19044. "description": "用户ID",
  19045. "type": "integer"
  19046. },
  19047. "userinfotype": {
  19048. "description": "用户信息类型 - 1:个人 2:企业",
  19049. "type": "integer"
  19050. },
  19051. "userstatus": {
  19052. "description": "用户状态 - 1:正常 2:注销",
  19053. "type": "integer"
  19054. }
  19055. }
  19056. },
  19057. "erms3.SoptContractDetail": {
  19058. "type": "object",
  19059. "required": [
  19060. "deliverygoodsid",
  19061. "producttype",
  19062. "unitname",
  19063. "warehouseid",
  19064. "wrstandardid",
  19065. "wrstandardname"
  19066. ],
  19067. "properties": {
  19068. "deliverygoodsdesc": {
  19069. "description": "现货品种说明",
  19070. "type": "string"
  19071. },
  19072. "deliverygoodsid": {
  19073. "description": "现货品种ID",
  19074. "type": "integer"
  19075. },
  19076. "deliverygoodsname": {
  19077. "description": "现货品种名称",
  19078. "type": "string"
  19079. },
  19080. "pointdesc": {
  19081. "description": "点价描述",
  19082. "type": "string"
  19083. },
  19084. "producttype": {
  19085. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  19086. "type": "integer"
  19087. },
  19088. "producttypename": {
  19089. "description": "产品类型名称",
  19090. "type": "string"
  19091. },
  19092. "spotPointOrderVoList": {
  19093. "description": "点价列表",
  19094. "type": "array",
  19095. "items": {
  19096. "$ref": "#/definitions/erms3.SpotPointOrder"
  19097. }
  19098. },
  19099. "spotPriceOrderList": {
  19100. "description": "定价列表",
  19101. "type": "array",
  19102. "items": {
  19103. "$ref": "#/definitions/erms3.SpotPriceOrder"
  19104. }
  19105. },
  19106. "unitname": {
  19107. "description": "单位名称",
  19108. "type": "string"
  19109. },
  19110. "warehouseid": {
  19111. "description": "仓库ID",
  19112. "type": "integer"
  19113. },
  19114. "warehousename": {
  19115. "description": "仓库名称",
  19116. "type": "string"
  19117. },
  19118. "wrstandardid": {
  19119. "description": "交易标的ID",
  19120. "type": "integer"
  19121. },
  19122. "wrstandardname": {
  19123. "description": "交易标的名称",
  19124. "type": "string"
  19125. }
  19126. }
  19127. },
  19128. "erms3.SpotPointOrder": {
  19129. "type": "object",
  19130. "required": [
  19131. "basic",
  19132. "goodsid",
  19133. "qty"
  19134. ],
  19135. "properties": {
  19136. "basic": {
  19137. "description": "基差",
  19138. "type": "number"
  19139. },
  19140. "deliveryenddate": {
  19141. "description": "交收结束日期",
  19142. "type": "string"
  19143. },
  19144. "deliverystartdate": {
  19145. "description": "交收开始日期",
  19146. "type": "string"
  19147. },
  19148. "enddate": {
  19149. "description": "点价结束日期",
  19150. "type": "string"
  19151. },
  19152. "goodsid": {
  19153. "description": "商品ID",
  19154. "type": "integer"
  19155. },
  19156. "goodsname": {
  19157. "description": "商品名称",
  19158. "type": "string"
  19159. },
  19160. "qty": {
  19161. "description": "数量",
  19162. "type": "number"
  19163. },
  19164. "startdate": {
  19165. "description": "点价开始日期",
  19166. "type": "string"
  19167. }
  19168. }
  19169. },
  19170. "erms3.SpotPriceOrder": {
  19171. "type": "object",
  19172. "required": [
  19173. "amount",
  19174. "price",
  19175. "qty"
  19176. ],
  19177. "properties": {
  19178. "amount": {
  19179. "description": "金额",
  19180. "type": "number"
  19181. },
  19182. "deliveryenddate": {
  19183. "description": "交收结束日期",
  19184. "type": "string"
  19185. },
  19186. "deliverystartdate": {
  19187. "description": "交收开始日期",
  19188. "type": "string"
  19189. },
  19190. "price": {
  19191. "description": "价格",
  19192. "type": "number"
  19193. },
  19194. "qty": {
  19195. "description": "数量",
  19196. "type": "number"
  19197. }
  19198. }
  19199. },
  19200. "hsby.GetHsbyMyCountRsp": {
  19201. "type": "object",
  19202. "properties": {
  19203. "myCouponCount": {
  19204. "description": "我的优惠卷数量",
  19205. "type": "integer"
  19206. },
  19207. "myOrderDetailListingCount": {
  19208. "description": "我的订单求购中数量",
  19209. "type": "integer"
  19210. },
  19211. "myOrderDetailPreCount": {
  19212. "description": "我的订单抢购中数量",
  19213. "type": "integer"
  19214. },
  19215. "myPackageUnReceiveCount": {
  19216. "description": "我的包裹待收货数量",
  19217. "type": "integer"
  19218. },
  19219. "myPackageUnSendCount": {
  19220. "description": "我的包裹待发货数量",
  19221. "type": "integer"
  19222. },
  19223. "myPayOrderCount": {
  19224. "description": "我的订单待付款数量",
  19225. "type": "integer"
  19226. }
  19227. }
  19228. },
  19229. "hsby.QueryProvincesAndCitiesRsp": {
  19230. "type": "object",
  19231. "properties": {
  19232. "cities": {
  19233. "description": "市",
  19234. "type": "array",
  19235. "items": {
  19236. "$ref": "#/definitions/models.Division"
  19237. }
  19238. },
  19239. "province": {
  19240. "description": "省",
  19241. "$ref": "#/definitions/models.Division"
  19242. }
  19243. }
  19244. },
  19245. "models.Arearole": {
  19246. "type": "object",
  19247. "required": [
  19248. "roletype",
  19249. "userid"
  19250. ],
  19251. "properties": {
  19252. "createtime": {
  19253. "description": "创建时间",
  19254. "type": "string"
  19255. },
  19256. "creatorid": {
  19257. "description": "创建人ID",
  19258. "type": "integer"
  19259. },
  19260. "fromuserid": {
  19261. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  19262. "type": "integer"
  19263. },
  19264. "isreturnscore": {
  19265. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  19266. "type": "integer"
  19267. },
  19268. "modifierid": {
  19269. "description": "修改人ID",
  19270. "type": "integer"
  19271. },
  19272. "modifytime": {
  19273. "description": "修改时间",
  19274. "type": "string"
  19275. },
  19276. "orgtype": {
  19277. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  19278. "type": "integer"
  19279. },
  19280. "outuserid": {
  19281. "description": "外部账户[场外期权做市商]",
  19282. "type": "string"
  19283. },
  19284. "parentuserid": {
  19285. "description": "上级组织机构(组织机构)",
  19286. "type": "integer"
  19287. },
  19288. "roletype": {
  19289. "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:门店",
  19290. "type": "integer"
  19291. },
  19292. "rootuserid": {
  19293. "description": "顶级组织机构用户ID(组织机构)",
  19294. "type": "integer"
  19295. },
  19296. "shoppassword": {
  19297. "description": "商城店铺登陆密码(商城店铺角色使用)",
  19298. "type": "string"
  19299. },
  19300. "sublevelpath": {
  19301. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  19302. "type": "string"
  19303. },
  19304. "suborgtype": {
  19305. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  19306. "type": "integer"
  19307. },
  19308. "tradeaccountid": {
  19309. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  19310. "type": "integer"
  19311. },
  19312. "transurl": {
  19313. "description": "物流地址(物流机构)",
  19314. "type": "string"
  19315. },
  19316. "userid": {
  19317. "description": "机构用户ID其他做市关系,都设置为 1",
  19318. "type": "integer"
  19319. }
  19320. }
  19321. },
  19322. "models.Clientfixedadconfig": {
  19323. "type": "object",
  19324. "required": [
  19325. "adsort",
  19326. "adtype"
  19327. ],
  19328. "properties": {
  19329. "adsort": {
  19330. "description": "排序",
  19331. "type": "integer"
  19332. },
  19333. "adtype": {
  19334. "description": "广告位类型 - 1:新品抢购(HSBY)",
  19335. "type": "integer"
  19336. },
  19337. "areauserid": {
  19338. "description": "所属机构ID",
  19339. "type": "integer"
  19340. },
  19341. "createdate": {
  19342. "description": "创建时间",
  19343. "type": "string"
  19344. },
  19345. "creatorid": {
  19346. "description": "创建人",
  19347. "type": "integer"
  19348. },
  19349. "imagepath": {
  19350. "description": "图片",
  19351. "type": "string"
  19352. },
  19353. "isshow": {
  19354. "description": "是否展示 - 0:不展示 1:展示",
  19355. "type": "integer"
  19356. },
  19357. "modifierid": {
  19358. "description": "操作人",
  19359. "type": "integer"
  19360. },
  19361. "recsize": {
  19362. "description": "推荐尺寸",
  19363. "type": "string"
  19364. },
  19365. "title": {
  19366. "description": "标题",
  19367. "type": "string"
  19368. },
  19369. "updatedate": {
  19370. "description": "更新时间",
  19371. "type": "string"
  19372. },
  19373. "urlcontent": {
  19374. "description": "链接(地址或商品ID)",
  19375. "type": "string"
  19376. },
  19377. "urltype": {
  19378. "description": "链接类型 - 1:直接地址 2:商品ID",
  19379. "type": "integer"
  19380. }
  19381. }
  19382. },
  19383. "models.Division": {
  19384. "type": "object",
  19385. "required": [
  19386. "autoid",
  19387. "divisioncode"
  19388. ],
  19389. "properties": {
  19390. "autoid": {
  19391. "description": "自增ID",
  19392. "type": "integer"
  19393. },
  19394. "divisioncode": {
  19395. "description": "行政代码",
  19396. "type": "string"
  19397. },
  19398. "divisionlevel": {
  19399. "description": "行政级别",
  19400. "type": "string"
  19401. },
  19402. "divisionname": {
  19403. "description": "行政名称",
  19404. "type": "string"
  19405. },
  19406. "modifierid": {
  19407. "description": "修改人",
  19408. "type": "integer"
  19409. },
  19410. "modifytime": {
  19411. "description": "修改时间",
  19412. "type": "string"
  19413. },
  19414. "parentcode": {
  19415. "description": "上级行政代码",
  19416. "type": "string"
  19417. },
  19418. "pathname": {
  19419. "description": "路径名称",
  19420. "type": "string"
  19421. },
  19422. "postcode": {
  19423. "description": "邮政编码",
  19424. "type": "string"
  19425. },
  19426. "separablename": {
  19427. "description": "可拆分的全称",
  19428. "type": "string"
  19429. },
  19430. "shortcode": {
  19431. "description": "地区简码",
  19432. "type": "string"
  19433. }
  19434. }
  19435. },
  19436. "models.Enumdicitem": {
  19437. "type": "object",
  19438. "required": [
  19439. "autoid",
  19440. "enumdiccode",
  19441. "enumdicid",
  19442. "enumitemname"
  19443. ],
  19444. "properties": {
  19445. "autoid": {
  19446. "description": "自增ID",
  19447. "type": "integer"
  19448. },
  19449. "bankmappedvalue": {
  19450. "description": "银行服务对应值",
  19451. "type": "string"
  19452. },
  19453. "enumdiccode": {
  19454. "description": "所属枚举代码",
  19455. "type": "string"
  19456. },
  19457. "enumdicid": {
  19458. "description": "所属枚举ID",
  19459. "type": "integer"
  19460. },
  19461. "enumdicname": {
  19462. "description": "枚举项名称",
  19463. "type": "string"
  19464. },
  19465. "enumitemname": {
  19466. "description": "枚举项值",
  19467. "type": "integer"
  19468. },
  19469. "enumitemstatus": {
  19470. "description": "枚举项状态 - 1.启用 2.不启用",
  19471. "type": "integer"
  19472. },
  19473. "enumitemvalue": {
  19474. "description": "通用值 - [币种通用简写]",
  19475. "type": "string"
  19476. },
  19477. "param1": {
  19478. "description": "参数1[币种:币种小数位]",
  19479. "type": "string"
  19480. },
  19481. "param2": {
  19482. "description": "参数1[币种:币种显示单位]",
  19483. "type": "string"
  19484. },
  19485. "remark": {
  19486. "description": "备注",
  19487. "type": "string"
  19488. }
  19489. }
  19490. },
  19491. "models.Ermcp3AreaSpot": {
  19492. "type": "object",
  19493. "properties": {
  19494. "areauserid": {
  19495. "description": "所属机构",
  19496. "type": "integer"
  19497. },
  19498. "convertratio": {
  19499. "description": "套保系数",
  19500. "type": "number"
  19501. },
  19502. "decreaseqty": {
  19503. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19504. "type": "number"
  19505. },
  19506. "enumdicname": {
  19507. "description": "单位名称",
  19508. "type": "string"
  19509. },
  19510. "increaseqty": {
  19511. "description": "增加数量=销售计划数量+采购已定价数量",
  19512. "type": "number"
  19513. },
  19514. "oritoalspotqty": {
  19515. "description": "昨日数量",
  19516. "type": "number"
  19517. },
  19518. "totalspotqty": {
  19519. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  19520. "type": "number"
  19521. },
  19522. "unitid": {
  19523. "description": "现货商品单位id",
  19524. "type": "integer"
  19525. },
  19526. "updatetime": {
  19527. "description": "更新时间",
  19528. "type": "string"
  19529. },
  19530. "wrstandardcode": {
  19531. "description": "现货商品代码",
  19532. "type": "string"
  19533. },
  19534. "wrstandardid": {
  19535. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19536. "type": "integer"
  19537. },
  19538. "wrstandardname": {
  19539. "description": "现货商品名称",
  19540. "type": "string"
  19541. }
  19542. }
  19543. },
  19544. "models.Ermcp3AreaSpotDetail": {
  19545. "type": "object",
  19546. "properties": {
  19547. "contracttype": {
  19548. "description": "合同类型 1-采购 -1-销售",
  19549. "type": "integer"
  19550. },
  19551. "createtime": {
  19552. "description": "创建时间",
  19553. "type": "string"
  19554. },
  19555. "enumdicname": {
  19556. "description": "现货商品单位名称",
  19557. "type": "string"
  19558. },
  19559. "logtype": {
  19560. "description": "记录类型 1-套保 2-现货合同",
  19561. "type": "integer"
  19562. },
  19563. "qty": {
  19564. "description": "数量",
  19565. "type": "number"
  19566. },
  19567. "recordname": {
  19568. "description": "类型名称",
  19569. "type": "string"
  19570. },
  19571. "relatedid": {
  19572. "description": "套保计划ID/现货合同ID",
  19573. "type": "string"
  19574. },
  19575. "relatedno": {
  19576. "description": "编号",
  19577. "type": "string"
  19578. },
  19579. "strtime": {
  19580. "description": "时间",
  19581. "type": "string"
  19582. },
  19583. "wrstandardcode": {
  19584. "description": "现货商品代码",
  19585. "type": "string"
  19586. },
  19587. "wrstandardid": {
  19588. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19589. "type": "integer"
  19590. },
  19591. "wrstandardname": {
  19592. "description": "现货商品名称",
  19593. "type": "string"
  19594. }
  19595. }
  19596. },
  19597. "models.Ermcp3AreaSpotPLReport": {
  19598. "type": "object",
  19599. "properties": {
  19600. "accountid": {
  19601. "description": "期货账户ID (作废, 默认为0)",
  19602. "type": "integer"
  19603. },
  19604. "accountname": {
  19605. "description": "机构名称",
  19606. "type": "string"
  19607. },
  19608. "actualpl": {
  19609. "description": "现货损益",
  19610. "type": "number"
  19611. },
  19612. "areauserid": {
  19613. "description": "所属机构\\交易用户ID",
  19614. "type": "integer"
  19615. },
  19616. "begindate": {
  19617. "description": "开始交易日",
  19618. "type": "string"
  19619. },
  19620. "biztype": {
  19621. "description": "业务类型 - 1:套保 2:套利",
  19622. "type": "integer"
  19623. },
  19624. "brandname": {
  19625. "description": "品牌名称",
  19626. "type": "string"
  19627. },
  19628. "curamount": {
  19629. "description": "期末额",
  19630. "type": "number"
  19631. },
  19632. "curaverageprice": {
  19633. "description": "期末均价",
  19634. "type": "number"
  19635. },
  19636. "curbuyamount": {
  19637. "description": "期末采购总额",
  19638. "type": "number"
  19639. },
  19640. "curbuyqty": {
  19641. "description": "期末采购总量",
  19642. "type": "number"
  19643. },
  19644. "curmarketvalue": {
  19645. "description": "参考市值(期末市值)",
  19646. "type": "number"
  19647. },
  19648. "curqty": {
  19649. "description": "期末量",
  19650. "type": "number"
  19651. },
  19652. "currencyid": {
  19653. "description": "结算币种ID【原值】",
  19654. "type": "integer"
  19655. },
  19656. "currencyname": {
  19657. "description": "币种名称",
  19658. "type": "string"
  19659. },
  19660. "cursellamount": {
  19661. "description": "期末销售总额",
  19662. "type": "number"
  19663. },
  19664. "cursellqty": {
  19665. "description": "期末销售总量",
  19666. "type": "number"
  19667. },
  19668. "curspotprice": {
  19669. "description": "参考市价(最新价)",
  19670. "type": "number"
  19671. },
  19672. "cycletime": {
  19673. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19674. "type": "string"
  19675. },
  19676. "cycletype": {
  19677. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19678. "type": "integer"
  19679. },
  19680. "deliverygoodscode": {
  19681. "description": "现货商品代码",
  19682. "type": "string"
  19683. },
  19684. "deliverygoodsid": {
  19685. "description": "现货品种ID",
  19686. "type": "integer"
  19687. },
  19688. "deliverygoodsname": {
  19689. "description": "现货商品名称",
  19690. "type": "string"
  19691. },
  19692. "enddate": {
  19693. "description": "结束交易日",
  19694. "type": "string"
  19695. },
  19696. "enumdicname": {
  19697. "description": "现货商品单位名称",
  19698. "type": "string"
  19699. },
  19700. "floatpl": {
  19701. "description": "浮动损益",
  19702. "type": "number"
  19703. },
  19704. "goodsunitid": {
  19705. "description": "现货商品单位id",
  19706. "type": "integer"
  19707. },
  19708. "oriamount": {
  19709. "description": "期初额",
  19710. "type": "number"
  19711. },
  19712. "oriaverageprice": {
  19713. "description": "期初均价",
  19714. "type": "number"
  19715. },
  19716. "oribuyamount": {
  19717. "description": "期初采购总额",
  19718. "type": "number"
  19719. },
  19720. "oribuyqty": {
  19721. "description": "期初采购总量",
  19722. "type": "number"
  19723. },
  19724. "oriqty": {
  19725. "description": "期初量",
  19726. "type": "number"
  19727. },
  19728. "orisellamount": {
  19729. "description": "期初销售总额",
  19730. "type": "number"
  19731. },
  19732. "orisellqty": {
  19733. "description": "期初销售总量",
  19734. "type": "number"
  19735. },
  19736. "reckondate": {
  19737. "description": "日照时期(yyyyMMdd)",
  19738. "type": "string"
  19739. },
  19740. "spotgoodsbrandid": {
  19741. "description": "现货品牌ID",
  19742. "type": "integer"
  19743. },
  19744. "todaybuyamount": {
  19745. "description": "今日采购额(今采购额)",
  19746. "type": "number"
  19747. },
  19748. "todaybuyaverageprice": {
  19749. "description": "今日采购均价",
  19750. "type": "number"
  19751. },
  19752. "todaybuyqty": {
  19753. "description": "今日采购量(今采购量)",
  19754. "type": "number"
  19755. },
  19756. "todayinqty": {
  19757. "description": "今日入库量(今入库量)",
  19758. "type": "number"
  19759. },
  19760. "todayoutqty": {
  19761. "description": "今日出库量(今出库量)",
  19762. "type": "number"
  19763. },
  19764. "todaysellamount": {
  19765. "description": "今日销售额(今销售额)",
  19766. "type": "number"
  19767. },
  19768. "todaysellaverageprice": {
  19769. "description": "今日销售均价",
  19770. "type": "number"
  19771. },
  19772. "todaysellqty": {
  19773. "description": "今日销售量(今销售量)",
  19774. "type": "number"
  19775. },
  19776. "unitid": {
  19777. "description": "品类单位id",
  19778. "type": "integer"
  19779. },
  19780. "unitidname": {
  19781. "description": "品类单位名称",
  19782. "type": "string"
  19783. },
  19784. "updatetime": {
  19785. "description": "更新时间",
  19786. "type": "string"
  19787. },
  19788. "wrfactortypeid": {
  19789. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19790. "type": "integer"
  19791. },
  19792. "wrstandardcode": {
  19793. "description": "品类代码",
  19794. "type": "string"
  19795. },
  19796. "wrstandardid": {
  19797. "description": "现货品类ID",
  19798. "type": "integer"
  19799. },
  19800. "wrstandardname": {
  19801. "description": "品类名称",
  19802. "type": "string"
  19803. }
  19804. }
  19805. },
  19806. "models.Ermcp3AreaStock": {
  19807. "type": "object",
  19808. "required": [
  19809. "userid"
  19810. ],
  19811. "properties": {
  19812. "brandname": {
  19813. "description": "品牌名称",
  19814. "type": "string"
  19815. },
  19816. "curstock": {
  19817. "description": "期末库存量(今日量)",
  19818. "type": "number"
  19819. },
  19820. "deliverygoodscode": {
  19821. "description": "现货品种代码",
  19822. "type": "string"
  19823. },
  19824. "deliverygoodsid": {
  19825. "description": "现货品种id",
  19826. "type": "integer"
  19827. },
  19828. "deliverygoodsname": {
  19829. "description": "现货品种名称",
  19830. "type": "string"
  19831. },
  19832. "enumdicname": {
  19833. "description": "单位名称",
  19834. "type": "string"
  19835. },
  19836. "goodsunitid": {
  19837. "description": "现货商品单位id",
  19838. "type": "integer"
  19839. },
  19840. "oristock": {
  19841. "description": "期初库存量(昨日量)",
  19842. "type": "number"
  19843. },
  19844. "spotgoodsbrandid": {
  19845. "description": "现货品牌ID",
  19846. "type": "integer"
  19847. },
  19848. "todaybuyinqty": {
  19849. "description": "今日采购入库量",
  19850. "type": "number"
  19851. },
  19852. "todayproduceinqty": {
  19853. "description": "今日生产入库量",
  19854. "type": "number"
  19855. },
  19856. "todayproduceoutqty": {
  19857. "description": "今日生产出库量",
  19858. "type": "number"
  19859. },
  19860. "todayselloutqty": {
  19861. "description": "今日销售出库量",
  19862. "type": "number"
  19863. },
  19864. "unitid": {
  19865. "description": "单位id",
  19866. "type": "integer"
  19867. },
  19868. "updatetime": {
  19869. "description": "更新时间",
  19870. "type": "string"
  19871. },
  19872. "userid": {
  19873. "description": "机构ID",
  19874. "type": "integer"
  19875. },
  19876. "username": {
  19877. "description": "机构名称",
  19878. "type": "string"
  19879. },
  19880. "warehousecode": {
  19881. "description": "仓库代码",
  19882. "type": "string"
  19883. },
  19884. "warehouseinfoid": {
  19885. "description": "仓库ID",
  19886. "type": "string"
  19887. },
  19888. "warehousename": {
  19889. "description": "仓库名称",
  19890. "type": "string"
  19891. },
  19892. "warehousetype": {
  19893. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19894. "type": "integer"
  19895. },
  19896. "wrstandardcode": {
  19897. "description": "品类代码",
  19898. "type": "string"
  19899. },
  19900. "wrstandardid": {
  19901. "description": "品类ID",
  19902. "type": "string"
  19903. },
  19904. "wrstandardname": {
  19905. "description": "品类名称",
  19906. "type": "string"
  19907. }
  19908. }
  19909. },
  19910. "models.Ermcp3AreaStockApply": {
  19911. "type": "object",
  19912. "properties": {
  19913. "applyid": {
  19914. "description": "申请人",
  19915. "type": "integer"
  19916. },
  19917. "applyname": {
  19918. "description": "申请人名称",
  19919. "type": "string"
  19920. },
  19921. "applyremark": {
  19922. "description": "申请备注",
  19923. "type": "string"
  19924. },
  19925. "applysrc": {
  19926. "description": "申请来源 - 1:管理端 2:终端",
  19927. "type": "integer"
  19928. },
  19929. "applystatus": {
  19930. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19931. "type": "integer"
  19932. },
  19933. "applytime": {
  19934. "description": "申请时间",
  19935. "type": "string"
  19936. },
  19937. "auditid": {
  19938. "description": "审核人",
  19939. "type": "integer"
  19940. },
  19941. "auditname": {
  19942. "description": "审核人名称",
  19943. "type": "string"
  19944. },
  19945. "auditremark": {
  19946. "description": "审核备注",
  19947. "type": "string"
  19948. },
  19949. "auditsrc": {
  19950. "description": "审核来源 - 1:管理端 2:终端",
  19951. "type": "integer"
  19952. },
  19953. "audittime": {
  19954. "description": "审核时间",
  19955. "type": "string"
  19956. },
  19957. "audittradedate": {
  19958. "description": "审核交易日(yyyyMMdd)",
  19959. "type": "string"
  19960. },
  19961. "brandname": {
  19962. "description": "品牌名称",
  19963. "type": "string"
  19964. },
  19965. "buynickname": {
  19966. "description": "采购方昵称",
  19967. "type": "string"
  19968. },
  19969. "buyuserid": {
  19970. "description": "采购方userid",
  19971. "type": "integer"
  19972. },
  19973. "buyusername": {
  19974. "description": "采购方名称",
  19975. "type": "string"
  19976. },
  19977. "contractno": {
  19978. "description": "合同编号",
  19979. "type": "string"
  19980. },
  19981. "contractqty": {
  19982. "description": "合同量",
  19983. "type": "number"
  19984. },
  19985. "contracttype": {
  19986. "description": "现货合同类型 - 1:采购 -1:销售",
  19987. "type": "integer"
  19988. },
  19989. "deliverygoodscode": {
  19990. "description": "现货品种代码",
  19991. "type": "string"
  19992. },
  19993. "deliverygoodsid": {
  19994. "description": "现货品种id",
  19995. "type": "integer"
  19996. },
  19997. "deliverygoodsname": {
  19998. "description": "现货品种名称",
  19999. "type": "string"
  20000. },
  20001. "detailjson": {
  20002. "description": "明细数据",
  20003. "type": "string"
  20004. },
  20005. "enumdicname": {
  20006. "description": "现货商品单位名称",
  20007. "type": "string"
  20008. },
  20009. "inoutapplyid": {
  20010. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  20011. "type": "string"
  20012. },
  20013. "inouttype": {
  20014. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20015. "type": "integer"
  20016. },
  20017. "pricetype": {
  20018. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20019. "type": "integer"
  20020. },
  20021. "qty": {
  20022. "description": "数量",
  20023. "type": "number"
  20024. },
  20025. "sellnickname": {
  20026. "description": "销售方昵称",
  20027. "type": "string"
  20028. },
  20029. "selluserid": {
  20030. "description": "销售方userid",
  20031. "type": "integer"
  20032. },
  20033. "sellusername": {
  20034. "description": "销售方名称",
  20035. "type": "string"
  20036. },
  20037. "spotcontractid": {
  20038. "description": "关联现货合同ID",
  20039. "type": "string"
  20040. },
  20041. "spotgoodsbrandid": {
  20042. "description": "现货品牌ID",
  20043. "type": "integer"
  20044. },
  20045. "unitid": {
  20046. "description": "单位id",
  20047. "type": "integer"
  20048. },
  20049. "userid": {
  20050. "description": "机构ID",
  20051. "type": "integer"
  20052. },
  20053. "warehousecode": {
  20054. "description": "仓库代码",
  20055. "type": "string"
  20056. },
  20057. "warehouseinfoid": {
  20058. "description": "现货仓库ID",
  20059. "type": "string"
  20060. },
  20061. "warehousename": {
  20062. "description": "仓库名称",
  20063. "type": "string"
  20064. },
  20065. "warehousetype": {
  20066. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20067. "type": "integer"
  20068. },
  20069. "wrstandardcode": {
  20070. "description": "品类代码",
  20071. "type": "string"
  20072. },
  20073. "wrstandardid": {
  20074. "description": "品类ID",
  20075. "type": "integer"
  20076. },
  20077. "wrstandardname": {
  20078. "description": "品类名称",
  20079. "type": "string"
  20080. }
  20081. }
  20082. },
  20083. "models.Ermcp3AreaStockApplySum": {
  20084. "type": "object",
  20085. "properties": {
  20086. "brandname": {
  20087. "description": "品牌名称",
  20088. "type": "string"
  20089. },
  20090. "inouttype": {
  20091. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20092. "type": "integer"
  20093. },
  20094. "spotcontractid": {
  20095. "description": "关联现货合同ID",
  20096. "type": "string"
  20097. },
  20098. "spotgoodsbrandid": {
  20099. "description": "品牌id",
  20100. "type": "integer"
  20101. },
  20102. "totalqty": {
  20103. "description": "总数量",
  20104. "type": "number"
  20105. },
  20106. "wrstandardid": {
  20107. "description": "品类id",
  20108. "type": "integer"
  20109. },
  20110. "wrstandardname": {
  20111. "description": "品类名称",
  20112. "type": "string"
  20113. }
  20114. }
  20115. },
  20116. "models.Ermcp3AreaStockReportEx": {
  20117. "type": "object",
  20118. "properties": {
  20119. "begindate": {
  20120. "description": "开始交易日",
  20121. "type": "string"
  20122. },
  20123. "brandname": {
  20124. "description": "品牌名称",
  20125. "type": "string"
  20126. },
  20127. "curstock": {
  20128. "description": "期末库存量",
  20129. "type": "number"
  20130. },
  20131. "cycletime": {
  20132. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20133. "type": "string"
  20134. },
  20135. "cycletype": {
  20136. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20137. "type": "integer"
  20138. },
  20139. "deliverygoodscode": {
  20140. "description": "现货品种代码",
  20141. "type": "string"
  20142. },
  20143. "deliverygoodsid": {
  20144. "description": "现货品种id",
  20145. "type": "integer"
  20146. },
  20147. "deliverygoodsname": {
  20148. "description": "现货品种名称",
  20149. "type": "string"
  20150. },
  20151. "diffqty": {
  20152. "description": "库存变化量 = 期末 - 期初",
  20153. "type": "number"
  20154. },
  20155. "enddate": {
  20156. "description": "结束交易日",
  20157. "type": "string"
  20158. },
  20159. "enumdicname": {
  20160. "description": "单位名称",
  20161. "type": "string"
  20162. },
  20163. "goodsunitid": {
  20164. "description": "现货单位id",
  20165. "type": "integer"
  20166. },
  20167. "oristock": {
  20168. "description": "期初库存量",
  20169. "type": "number"
  20170. },
  20171. "reckondate": {
  20172. "description": "日照时期(yyyyMMdd)",
  20173. "type": "string"
  20174. },
  20175. "spotgoodsbrandid": {
  20176. "description": "现货品牌ID",
  20177. "type": "integer"
  20178. },
  20179. "todaybuyinqty": {
  20180. "description": "今采购入库量",
  20181. "type": "number"
  20182. },
  20183. "todayproduceinqty": {
  20184. "description": "今内部入库量",
  20185. "type": "number"
  20186. },
  20187. "todayproduceoutqty": {
  20188. "description": "今内部出库量",
  20189. "type": "number"
  20190. },
  20191. "todayselloutqty": {
  20192. "description": "今销售出库量",
  20193. "type": "number"
  20194. },
  20195. "unbuyinqty": {
  20196. "description": "采购未入库量(数据库未找到相关字段?)",
  20197. "type": "number"
  20198. },
  20199. "unitid": {
  20200. "description": "品类单位id",
  20201. "type": "integer"
  20202. },
  20203. "unselloutqty": {
  20204. "description": "销售未出库量(数据库未找到相关字段?)",
  20205. "type": "number"
  20206. },
  20207. "updatetime": {
  20208. "description": "更新时间",
  20209. "type": "string"
  20210. },
  20211. "userid": {
  20212. "description": "机构ID",
  20213. "type": "integer"
  20214. },
  20215. "username": {
  20216. "description": "机构名称",
  20217. "type": "string"
  20218. },
  20219. "warehousecode": {
  20220. "description": "仓库代码",
  20221. "type": "string"
  20222. },
  20223. "warehouseinfoid": {
  20224. "description": "仓库ID",
  20225. "type": "string"
  20226. },
  20227. "warehousename": {
  20228. "description": "仓库名称",
  20229. "type": "string"
  20230. },
  20231. "warehousetype": {
  20232. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20233. "type": "integer"
  20234. },
  20235. "wrstandardcode": {
  20236. "description": "品类代码",
  20237. "type": "string"
  20238. },
  20239. "wrstandardid": {
  20240. "description": "品类ID",
  20241. "type": "integer"
  20242. },
  20243. "wrstandardname": {
  20244. "description": "品类名称",
  20245. "type": "string"
  20246. }
  20247. }
  20248. },
  20249. "models.Ermcp3ArealSumPL": {
  20250. "type": "object",
  20251. "properties": {
  20252. "accountname": {
  20253. "description": "机构名称",
  20254. "type": "string"
  20255. },
  20256. "areauserid": {
  20257. "description": "所属机构\\交易用户ID",
  20258. "type": "integer"
  20259. },
  20260. "begindate": {
  20261. "description": "开始交易日",
  20262. "type": "string"
  20263. },
  20264. "currencyid": {
  20265. "description": "结算币种ID",
  20266. "type": "integer"
  20267. },
  20268. "currencyname": {
  20269. "description": "币种名称",
  20270. "type": "string"
  20271. },
  20272. "cycletime": {
  20273. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20274. "type": "string"
  20275. },
  20276. "cycletype": {
  20277. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20278. "type": "integer"
  20279. },
  20280. "enddate": {
  20281. "description": "结束交易日",
  20282. "type": "string"
  20283. },
  20284. "enumdicname": {
  20285. "description": "单位名称(套保品种)",
  20286. "type": "string"
  20287. },
  20288. "futureactualpl": {
  20289. "description": "期货损益",
  20290. "type": "number"
  20291. },
  20292. "futurefloatpl": {
  20293. "description": "期货浮动损益",
  20294. "type": "number"
  20295. },
  20296. "futurespotratio": {
  20297. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  20298. "type": "number"
  20299. },
  20300. "goodsunitid": {
  20301. "description": "套保品种单位id",
  20302. "type": "integer"
  20303. },
  20304. "hedgeexposurepl": {
  20305. "description": "套保敞口损益",
  20306. "type": "number"
  20307. },
  20308. "middlegoodscode": {
  20309. "description": "套保品种代码",
  20310. "type": "string"
  20311. },
  20312. "middlegoodsid": {
  20313. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20314. "type": "integer"
  20315. },
  20316. "middlegoodsname": {
  20317. "description": "套保品种名称",
  20318. "type": "string"
  20319. },
  20320. "reckondate": {
  20321. "description": "日照时期(yyyyMMdd)",
  20322. "type": "string"
  20323. },
  20324. "spotactualpl": {
  20325. "description": "现货损益",
  20326. "type": "number"
  20327. },
  20328. "spotfloatpl": {
  20329. "description": "现货浮动损益",
  20330. "type": "number"
  20331. },
  20332. "sumactualpl": {
  20333. "description": "实际损益 = (ActualPL + FutureActualPL)",
  20334. "type": "number"
  20335. },
  20336. "sumpl": {
  20337. "description": "总敞口损益 | 汇总损益",
  20338. "type": "number"
  20339. },
  20340. "totalfutureqty": {
  20341. "description": "期货头寸总量",
  20342. "type": "number"
  20343. },
  20344. "totalneedhedgeqty": {
  20345. "description": "应套保总量",
  20346. "type": "number"
  20347. },
  20348. "totalspotqty": {
  20349. "description": "现货头寸总量",
  20350. "type": "number"
  20351. },
  20352. "updatetime": {
  20353. "description": "更新时间",
  20354. "type": "string"
  20355. }
  20356. }
  20357. },
  20358. "models.Ermcp3Brand": {
  20359. "type": "object",
  20360. "properties": {
  20361. "areauserid": {
  20362. "description": "用户id",
  20363. "type": "integer"
  20364. },
  20365. "brandid": {
  20366. "description": "品牌id",
  20367. "type": "integer"
  20368. },
  20369. "brandname": {
  20370. "description": "品牌名称",
  20371. "type": "string"
  20372. },
  20373. "deliverygoodsid": {
  20374. "description": "品种ID",
  20375. "type": "integer"
  20376. },
  20377. "isvalid": {
  20378. "description": "是否有效",
  20379. "type": "integer"
  20380. }
  20381. }
  20382. },
  20383. "models.Ermcp3Contract": {
  20384. "type": "object",
  20385. "properties": {
  20386. "accountid": {
  20387. "description": "期货账户id",
  20388. "type": "string"
  20389. },
  20390. "amount": {
  20391. "description": "金额 [1:一口价、3:暂定价]",
  20392. "type": "number"
  20393. },
  20394. "attachment": {
  20395. "description": "附件",
  20396. "type": "string"
  20397. },
  20398. "auditremark": {
  20399. "description": "审核意见",
  20400. "type": "string"
  20401. },
  20402. "audittime": {
  20403. "description": "审核时间",
  20404. "type": "string"
  20405. },
  20406. "biztype": {
  20407. "description": "业务类型 1-套保 2-套利",
  20408. "type": "integer"
  20409. },
  20410. "brandname": {
  20411. "description": "品牌名称",
  20412. "type": "string"
  20413. },
  20414. "buynickname": {
  20415. "description": "销售方昵称",
  20416. "type": "string"
  20417. },
  20418. "buyuserid": {
  20419. "description": "采购方ID",
  20420. "type": "integer"
  20421. },
  20422. "buyusername": {
  20423. "description": "采购方名称",
  20424. "type": "string"
  20425. },
  20426. "contracctstatus": {
  20427. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20428. "type": "integer"
  20429. },
  20430. "contractmargin": {
  20431. "description": "合同保证金",
  20432. "type": "number"
  20433. },
  20434. "contractno": {
  20435. "description": "现货合同编号",
  20436. "type": "string"
  20437. },
  20438. "contracttype": {
  20439. "description": "现货合同类型 - 1:采购 -1:销售",
  20440. "type": "integer"
  20441. },
  20442. "convertfactor": {
  20443. "description": "标仓系数(品类)",
  20444. "type": "number"
  20445. },
  20446. "createtime": {
  20447. "description": "创建时间",
  20448. "type": "string"
  20449. },
  20450. "currencyid": {
  20451. "description": "币种id",
  20452. "type": "integer"
  20453. },
  20454. "currencyname": {
  20455. "description": "币种名称",
  20456. "type": "string"
  20457. },
  20458. "deliveryenddate": {
  20459. "description": "交收期(结束)",
  20460. "type": "string"
  20461. },
  20462. "deliverygoodscode": {
  20463. "description": "现货品种代码",
  20464. "type": "string"
  20465. },
  20466. "deliverygoodsid": {
  20467. "description": "现货品种ID",
  20468. "type": "integer"
  20469. },
  20470. "deliverygoodsname": {
  20471. "description": "现货品种名称",
  20472. "type": "string"
  20473. },
  20474. "deliverystartdate": {
  20475. "description": "交收期(开始)",
  20476. "type": "string"
  20477. },
  20478. "enddate": {
  20479. "description": "点价结束日期 [2:点价 3:暂定价]",
  20480. "type": "string"
  20481. },
  20482. "enumdicname": {
  20483. "description": "单位名称",
  20484. "type": "string"
  20485. },
  20486. "goodscode": {
  20487. "description": "点价合约代码",
  20488. "type": "string"
  20489. },
  20490. "goodsid": {
  20491. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20492. "type": "integer"
  20493. },
  20494. "goodsname": {
  20495. "description": "点价商品名称",
  20496. "type": "string"
  20497. },
  20498. "margin": {
  20499. "description": "当前保证金",
  20500. "type": "number"
  20501. },
  20502. "meruserid": {
  20503. "description": "跟单员id",
  20504. "type": "integer"
  20505. },
  20506. "meruserlogincode": {
  20507. "description": "跟单员登录代码",
  20508. "type": "string"
  20509. },
  20510. "merusername": {
  20511. "description": "跟单员名称",
  20512. "type": "string"
  20513. },
  20514. "pointdesc": {
  20515. "description": "点价备注",
  20516. "type": "string"
  20517. },
  20518. "price": {
  20519. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  20520. "type": "number"
  20521. },
  20522. "pricemove": {
  20523. "description": "升贴水 [2:点价 3:暂定价]",
  20524. "type": "number"
  20525. },
  20526. "pricetype": {
  20527. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20528. "type": "integer"
  20529. },
  20530. "producttype": {
  20531. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20532. "type": "integer"
  20533. },
  20534. "qty": {
  20535. "description": "数量",
  20536. "type": "number"
  20537. },
  20538. "remark": {
  20539. "description": "备注",
  20540. "type": "string"
  20541. },
  20542. "saleuserid": {
  20543. "description": "业务员id",
  20544. "type": "integer"
  20545. },
  20546. "saleuserlogincode": {
  20547. "description": "业务员登录代码",
  20548. "type": "string"
  20549. },
  20550. "saleusername": {
  20551. "description": "业务员名称",
  20552. "type": "string"
  20553. },
  20554. "sellnickname": {
  20555. "description": "采购方昵称",
  20556. "type": "string"
  20557. },
  20558. "selluserid": {
  20559. "description": "销售方ID",
  20560. "type": "integer"
  20561. },
  20562. "sellusername": {
  20563. "description": "销售方名称",
  20564. "type": "string"
  20565. },
  20566. "spotcontractid": {
  20567. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20568. "type": "string"
  20569. },
  20570. "spotgoodsbrandid": {
  20571. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20572. "type": "integer"
  20573. },
  20574. "spotgoodsdesc": {
  20575. "description": "商品型号",
  20576. "type": "string"
  20577. },
  20578. "startdate": {
  20579. "description": "点价开始日期 [2:点价 3:暂定价]",
  20580. "type": "string"
  20581. },
  20582. "subjectid": {
  20583. "description": "交易主体ID",
  20584. "type": "integer"
  20585. },
  20586. "subjectname": {
  20587. "description": "交易主体名称",
  20588. "type": "string"
  20589. },
  20590. "tradeuserid": {
  20591. "description": "交易员id",
  20592. "type": "integer"
  20593. },
  20594. "tradeuserlogincode": {
  20595. "description": "交易员登录代码",
  20596. "type": "string"
  20597. },
  20598. "tradeusername": {
  20599. "description": "交易员名称",
  20600. "type": "string"
  20601. },
  20602. "unitid": {
  20603. "description": "单位id(取品类上的单位id)",
  20604. "type": "integer"
  20605. },
  20606. "updatetime": {
  20607. "description": "更新时间",
  20608. "type": "string"
  20609. },
  20610. "userid": {
  20611. "description": "所属机构ID",
  20612. "type": "integer"
  20613. },
  20614. "vatrate": {
  20615. "description": "增值税率",
  20616. "type": "number"
  20617. },
  20618. "wrstandardcode": {
  20619. "description": "品类代码",
  20620. "type": "string"
  20621. },
  20622. "wrstandardid": {
  20623. "description": "品类ID",
  20624. "type": "integer"
  20625. },
  20626. "wrstandardname": {
  20627. "description": "品类名称",
  20628. "type": "string"
  20629. }
  20630. }
  20631. },
  20632. "models.Ermcp3ExposureContractDetail": {
  20633. "type": "object",
  20634. "properties": {
  20635. "biztype": {
  20636. "description": "业务类型 1-套保 2-套利",
  20637. "type": "integer"
  20638. },
  20639. "brandname": {
  20640. "description": "品牌名称",
  20641. "type": "string"
  20642. },
  20643. "buyuserid": {
  20644. "description": "采购方id",
  20645. "type": "integer"
  20646. },
  20647. "buyusername": {
  20648. "description": "采购方名称",
  20649. "type": "string"
  20650. },
  20651. "contractno": {
  20652. "description": "合同编号",
  20653. "type": "string"
  20654. },
  20655. "contracttype": {
  20656. "description": "现货合同类型 - 1:采购 -1:销售",
  20657. "type": "integer"
  20658. },
  20659. "convertfactor": {
  20660. "description": "标仓系数",
  20661. "type": "number"
  20662. },
  20663. "convertratio": {
  20664. "description": "折算系数(套保品种)",
  20665. "type": "number"
  20666. },
  20667. "curqty": {
  20668. "description": "今定价量",
  20669. "type": "number"
  20670. },
  20671. "deliverygoodscode": {
  20672. "description": "现货品种代码",
  20673. "type": "string"
  20674. },
  20675. "deliverygoodsid": {
  20676. "description": "现货品种id",
  20677. "type": "integer"
  20678. },
  20679. "deliverygoodsname": {
  20680. "description": "现货品种名称",
  20681. "type": "string"
  20682. },
  20683. "diffhedgeqty": {
  20684. "description": "套保变动量",
  20685. "type": "number"
  20686. },
  20687. "diffneedhedgeqty": {
  20688. "description": "应套保变动量",
  20689. "type": "number"
  20690. },
  20691. "diffqty": {
  20692. "description": "套保品种今变动量",
  20693. "type": "number"
  20694. },
  20695. "enumdicname": {
  20696. "description": "单位名称",
  20697. "type": "string"
  20698. },
  20699. "mgunitname": {
  20700. "description": "套保品种单位名称",
  20701. "type": "string"
  20702. },
  20703. "middlegoodscode": {
  20704. "description": "套保品种代码",
  20705. "type": "string"
  20706. },
  20707. "middlegoodsid": {
  20708. "description": "套保品种id",
  20709. "type": "integer"
  20710. },
  20711. "middlegoodsname": {
  20712. "description": "套保品种名称",
  20713. "type": "string"
  20714. },
  20715. "needarbitrageratio": {
  20716. "description": "应套利比例",
  20717. "type": "number"
  20718. },
  20719. "needhedgeratio": {
  20720. "description": "应套保比例",
  20721. "type": "number"
  20722. },
  20723. "pricedqty": {
  20724. "description": "已定价量",
  20725. "type": "number"
  20726. },
  20727. "qty": {
  20728. "description": "合同量",
  20729. "type": "number"
  20730. },
  20731. "selluserid": {
  20732. "description": "销售方id",
  20733. "type": "integer"
  20734. },
  20735. "sellusername": {
  20736. "description": "销售方名称",
  20737. "type": "string"
  20738. },
  20739. "spotcontractid": {
  20740. "description": "合同id",
  20741. "type": "string"
  20742. },
  20743. "todaypricedqty": {
  20744. "description": "今定价量",
  20745. "type": "number"
  20746. },
  20747. "tradedate": {
  20748. "description": "交易日",
  20749. "type": "string"
  20750. },
  20751. "unitid": {
  20752. "description": "品类单位id",
  20753. "type": "integer"
  20754. },
  20755. "userid": {
  20756. "description": "机构id",
  20757. "type": "integer"
  20758. },
  20759. "username": {
  20760. "description": "交易用户",
  20761. "type": "string"
  20762. },
  20763. "wrstandardcode": {
  20764. "description": "现货商品代码",
  20765. "type": "string"
  20766. },
  20767. "wrstandardid": {
  20768. "description": "现货商品id",
  20769. "type": "integer"
  20770. },
  20771. "wrstandardname": {
  20772. "description": "现货商品名称",
  20773. "type": "string"
  20774. }
  20775. }
  20776. },
  20777. "models.Ermcp3ExposureDetail": {
  20778. "type": "object",
  20779. "properties": {
  20780. "areauserid": {
  20781. "description": "机构ID",
  20782. "type": "integer"
  20783. },
  20784. "changeQty": {
  20785. "description": "套保变动量",
  20786. "type": "number"
  20787. },
  20788. "contracttype": {
  20789. "description": "现货合同类型 - 1:采购 -1:销售",
  20790. "type": "integer"
  20791. },
  20792. "convertfactor": {
  20793. "description": "标仓系数",
  20794. "type": "number"
  20795. },
  20796. "convertratio": {
  20797. "description": "折算系数",
  20798. "type": "number"
  20799. },
  20800. "createtime": {
  20801. "description": "时间",
  20802. "type": "string"
  20803. },
  20804. "enumdicname": {
  20805. "description": "现货商品单位名称",
  20806. "type": "string"
  20807. },
  20808. "logtype": {
  20809. "description": "类型 - 1:套保计划 2:现货合同",
  20810. "type": "integer"
  20811. },
  20812. "mgunitid": {
  20813. "description": "套保品种单位id",
  20814. "type": "integer"
  20815. },
  20816. "mgunitidname": {
  20817. "description": "套保品种单位名称",
  20818. "type": "string"
  20819. },
  20820. "middlegoodsId": {
  20821. "description": "套保商品id",
  20822. "type": "integer"
  20823. },
  20824. "middlegoodscode": {
  20825. "description": "套保商品代码",
  20826. "type": "string"
  20827. },
  20828. "middlegoodsname": {
  20829. "description": "套保商品名称",
  20830. "type": "string"
  20831. },
  20832. "qty": {
  20833. "description": "数量",
  20834. "type": "number"
  20835. },
  20836. "relateNo": {
  20837. "description": "现货合同/套保计划编号",
  20838. "type": "string"
  20839. },
  20840. "unitid": {
  20841. "description": "现货商品单位id",
  20842. "type": "integer"
  20843. },
  20844. "wrstandardcode": {
  20845. "description": "现货商品代码",
  20846. "type": "string"
  20847. },
  20848. "wrstandardid": {
  20849. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20850. "type": "integer"
  20851. },
  20852. "wrstandardname": {
  20853. "description": "现货商品名称",
  20854. "type": "string"
  20855. }
  20856. }
  20857. },
  20858. "models.Ermcp3ExposureFutuDetail": {
  20859. "type": "object",
  20860. "properties": {
  20861. "accountid": {
  20862. "description": "交易账户id",
  20863. "type": "integer"
  20864. },
  20865. "accountname": {
  20866. "description": "交易账户",
  20867. "type": "string"
  20868. },
  20869. "begindate": {
  20870. "description": "开始交易日",
  20871. "type": "string"
  20872. },
  20873. "buyorsell": {
  20874. "description": "方向 0-买 1-卖",
  20875. "type": "integer"
  20876. },
  20877. "diffmgqty": {
  20878. "description": "套保品种今变化量",
  20879. "type": "number"
  20880. },
  20881. "diffneedqty": {
  20882. "description": "应套保总量变化量",
  20883. "type": "number"
  20884. },
  20885. "difftradeqty": {
  20886. "description": "交易品种今变化量",
  20887. "type": "number"
  20888. },
  20889. "enddate": {
  20890. "description": "结束交易日",
  20891. "type": "string"
  20892. },
  20893. "enumdicname": {
  20894. "description": "单位名称",
  20895. "type": "string"
  20896. },
  20897. "goodscode": {
  20898. "description": "商品代码",
  20899. "type": "string"
  20900. },
  20901. "goodsid": {
  20902. "description": "商品id",
  20903. "type": "integer"
  20904. },
  20905. "goodsname": {
  20906. "description": "商品名称",
  20907. "type": "string"
  20908. },
  20909. "holdqty": {
  20910. "description": "期末持仓量",
  20911. "type": "number"
  20912. },
  20913. "middlegoodscode": {
  20914. "description": "套保商品代码",
  20915. "type": "string"
  20916. },
  20917. "middlegoodsid": {
  20918. "description": "套保商品id",
  20919. "type": "integer"
  20920. },
  20921. "middlegoodsname": {
  20922. "description": "套保商品名称",
  20923. "type": "string"
  20924. },
  20925. "oriholdqty": {
  20926. "description": "期初持仓量",
  20927. "type": "number"
  20928. },
  20929. "todaycloseqty": {
  20930. "description": "今平仓量",
  20931. "type": "number"
  20932. },
  20933. "todayopenqty": {
  20934. "description": "今开仓量",
  20935. "type": "number"
  20936. },
  20937. "tradedate": {
  20938. "description": "交易日",
  20939. "type": "string"
  20940. },
  20941. "username": {
  20942. "description": "用户名称(交易用户)",
  20943. "type": "string"
  20944. }
  20945. }
  20946. },
  20947. "models.Ermcp3ExposureHedgeplanDetail": {
  20948. "type": "object",
  20949. "properties": {
  20950. "biztype": {
  20951. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  20952. "type": "integer"
  20953. },
  20954. "changqty": {
  20955. "description": "应套保总量变化量",
  20956. "type": "number"
  20957. },
  20958. "contracttype": {
  20959. "description": "计划类型 - 1:采购 -1:销售",
  20960. "type": "integer"
  20961. },
  20962. "convertratio": {
  20963. "description": "折算系数(套保品种)",
  20964. "type": "number"
  20965. },
  20966. "deliverygoodscode": {
  20967. "description": "现货商品代码",
  20968. "type": "string"
  20969. },
  20970. "deliverygoodsid": {
  20971. "description": "现货商品id",
  20972. "type": "integer"
  20973. },
  20974. "deliverygoodsname": {
  20975. "description": "现货商吕名称",
  20976. "type": "string"
  20977. },
  20978. "dgunitid": {
  20979. "description": "现货商品单位id",
  20980. "type": "integer"
  20981. },
  20982. "dgunitidname": {
  20983. "description": "单位名称(现货商品)",
  20984. "type": "string"
  20985. },
  20986. "diffqty": {
  20987. "description": "套保品种今变动量",
  20988. "type": "number"
  20989. },
  20990. "enumdicname": {
  20991. "description": "单位名称(品类)",
  20992. "type": "string"
  20993. },
  20994. "hedgeplanid": {
  20995. "description": "套保计划id",
  20996. "type": "string"
  20997. },
  20998. "hedgeplanno": {
  20999. "description": "套保计划名称",
  21000. "type": "string"
  21001. },
  21002. "hedgeplanstatus": {
  21003. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21004. "type": "integer"
  21005. },
  21006. "mgunitidname": {
  21007. "description": "单位名称(套保商品)",
  21008. "type": "string"
  21009. },
  21010. "middlegoodscode": {
  21011. "description": "套保品种代码",
  21012. "type": "string"
  21013. },
  21014. "middlegoodsid": {
  21015. "description": "套保品种id",
  21016. "type": "integer"
  21017. },
  21018. "middlegoodsname": {
  21019. "description": "套保品种名称",
  21020. "type": "string"
  21021. },
  21022. "needarbitrageratio": {
  21023. "description": "应套利比例",
  21024. "type": "number"
  21025. },
  21026. "needhedgeratio": {
  21027. "description": "应套保比例",
  21028. "type": "number"
  21029. },
  21030. "pricedqty": {
  21031. "description": "已定价量",
  21032. "type": "number"
  21033. },
  21034. "qty": {
  21035. "description": "合同量",
  21036. "type": "number"
  21037. },
  21038. "tradedate": {
  21039. "description": "交易日(登记日)",
  21040. "type": "string"
  21041. },
  21042. "unitid": {
  21043. "description": "品类单位id",
  21044. "type": "integer"
  21045. },
  21046. "userid": {
  21047. "description": "机构id",
  21048. "type": "integer"
  21049. },
  21050. "wrstandardcode": {
  21051. "description": "品类代码",
  21052. "type": "string"
  21053. },
  21054. "wrstandardid": {
  21055. "description": "品类id",
  21056. "type": "integer"
  21057. },
  21058. "wrstandardname": {
  21059. "description": "品类名称",
  21060. "type": "string"
  21061. }
  21062. }
  21063. },
  21064. "models.Ermcp3ExposureParamChLog": {
  21065. "type": "object",
  21066. "properties": {
  21067. "accountid": {
  21068. "description": "期货账户ID (作废, 默认为0)",
  21069. "type": "integer"
  21070. },
  21071. "aftervalue": {
  21072. "description": "应套保\\套利量变更后(调整后应套保总量)",
  21073. "type": "number"
  21074. },
  21075. "areauserid": {
  21076. "description": "所属机构\\交易用户ID",
  21077. "type": "integer"
  21078. },
  21079. "beforevalue": {
  21080. "description": "应套保\\套利量变更前(调整前应套保总量)",
  21081. "type": "number"
  21082. },
  21083. "begindate": {
  21084. "description": "开始交易日",
  21085. "type": "string"
  21086. },
  21087. "changelogtype": {
  21088. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  21089. "type": "integer"
  21090. },
  21091. "curvalue": {
  21092. "description": "当前套保\\套利量(套保总量|套利总量)",
  21093. "type": "number"
  21094. },
  21095. "diffvalue": {
  21096. "description": "应套保总量变化量",
  21097. "type": "number"
  21098. },
  21099. "enddate": {
  21100. "description": "结束交易日",
  21101. "type": "string"
  21102. },
  21103. "logdatetime": {
  21104. "description": "流水日期",
  21105. "type": "string"
  21106. },
  21107. "logid": {
  21108. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  21109. "type": "string"
  21110. },
  21111. "middlegoodscode": {
  21112. "description": "套保品种代码",
  21113. "type": "string"
  21114. },
  21115. "middlegoodsid": {
  21116. "description": "套保品种",
  21117. "type": "integer"
  21118. },
  21119. "middlegoodsname": {
  21120. "description": "套保品种名称",
  21121. "type": "string"
  21122. },
  21123. "paramaftervalue": {
  21124. "description": "参数变更后(调整后参数值)",
  21125. "type": "number"
  21126. },
  21127. "parambeforevalue": {
  21128. "description": "参数变更前(调整前参数值)",
  21129. "type": "number"
  21130. },
  21131. "tradedate": {
  21132. "description": "交易日(yyyyMMdd)",
  21133. "type": "string"
  21134. }
  21135. }
  21136. },
  21137. "models.Ermcp3ExpourseReport": {
  21138. "type": "object",
  21139. "properties": {
  21140. "accountid": {
  21141. "description": "期货账户ID (作废, 默认为0)",
  21142. "type": "integer"
  21143. },
  21144. "accountname": {
  21145. "description": "机构名称",
  21146. "type": "string"
  21147. },
  21148. "arbitrageqty": {
  21149. "description": "套利量",
  21150. "type": "number"
  21151. },
  21152. "areauserid": {
  21153. "description": "所属机构\\交易用户ID",
  21154. "type": "integer"
  21155. },
  21156. "begindate": {
  21157. "description": "开始交易日",
  21158. "type": "string"
  21159. },
  21160. "buyfutureqty": {
  21161. "description": "买入期货数量",
  21162. "type": "number"
  21163. },
  21164. "buyplanqty": {
  21165. "description": "采购计划数量",
  21166. "type": "number"
  21167. },
  21168. "buypricedqty": {
  21169. "description": "采购合同已定价数量",
  21170. "type": "number"
  21171. },
  21172. "cycletime": {
  21173. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21174. "type": "string"
  21175. },
  21176. "cycletype": {
  21177. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21178. "type": "integer"
  21179. },
  21180. "diffexposure": {
  21181. "description": "变动量(套保敞口)",
  21182. "type": "number"
  21183. },
  21184. "difffutuqty": {
  21185. "description": "变动量(期货)",
  21186. "type": "number"
  21187. },
  21188. "diffhedgeqty": {
  21189. "description": "变动量(现货应套保总量)",
  21190. "type": "number"
  21191. },
  21192. "diffmgqtya": {
  21193. "description": "套保变动量",
  21194. "type": "number"
  21195. },
  21196. "diffmgqtyb": {
  21197. "description": "套利变动量",
  21198. "type": "number"
  21199. },
  21200. "diffqty": {
  21201. "description": "变动量(总敞口)",
  21202. "type": "number"
  21203. },
  21204. "diffspotqty": {
  21205. "description": "变动量(现货)",
  21206. "type": "number"
  21207. },
  21208. "enddate": {
  21209. "description": "结束交易日",
  21210. "type": "string"
  21211. },
  21212. "enumdicname": {
  21213. "description": "单位名称",
  21214. "type": "string"
  21215. },
  21216. "hedgeqty": {
  21217. "description": "套保量",
  21218. "type": "number"
  21219. },
  21220. "mgneedhedgeratio": {
  21221. "description": "套保比例(套保品的)",
  21222. "type": "number"
  21223. },
  21224. "middlegoodsid": {
  21225. "description": "套保品种ID",
  21226. "type": "integer"
  21227. },
  21228. "middlegoodsname": {
  21229. "description": "套保商品名称",
  21230. "type": "string"
  21231. },
  21232. "middlgoodscode": {
  21233. "description": "套保商品代码",
  21234. "type": "string"
  21235. },
  21236. "needarbitrageqty": {
  21237. "description": "应套利量",
  21238. "type": "number"
  21239. },
  21240. "needarbitrageratio": {
  21241. "description": "套利比例(套保品的)",
  21242. "type": "number"
  21243. },
  21244. "needhedgeexposoure": {
  21245. "description": "应套保敞口(套保敞口)",
  21246. "type": "number"
  21247. },
  21248. "needhedgeqty": {
  21249. "description": "应套保量",
  21250. "type": "number"
  21251. },
  21252. "needhedgeratio": {
  21253. "description": "应套保敞口比例",
  21254. "type": "number"
  21255. },
  21256. "oriarbitrageqty": {
  21257. "description": "期初套利量",
  21258. "type": "number"
  21259. },
  21260. "oribuyfutureqty": {
  21261. "description": "期初买入期货数量",
  21262. "type": "number"
  21263. },
  21264. "oribuyplanqty": {
  21265. "description": "期初采购计划数量",
  21266. "type": "number"
  21267. },
  21268. "oribuypricedqty": {
  21269. "description": "期初采购合同已定价数量",
  21270. "type": "number"
  21271. },
  21272. "orihedgeqty": {
  21273. "description": "期初套保量",
  21274. "type": "number"
  21275. },
  21276. "orineedarbitrageqty": {
  21277. "description": "期初应套利量",
  21278. "type": "number"
  21279. },
  21280. "orineedhedgeexposoure": {
  21281. "description": "期初应套保敞口",
  21282. "type": "number"
  21283. },
  21284. "orineedhedgeqty": {
  21285. "description": "期初应套保量",
  21286. "type": "number"
  21287. },
  21288. "orisellfutureqty": {
  21289. "description": "期初卖出期货数量",
  21290. "type": "number"
  21291. },
  21292. "orisellplanqty": {
  21293. "description": "期初销售计划数量",
  21294. "type": "number"
  21295. },
  21296. "orisellpricedqty": {
  21297. "description": "期初销售合同已定价数量",
  21298. "type": "number"
  21299. },
  21300. "oritotalexposure": {
  21301. "description": "期初实时总敞口",
  21302. "type": "number"
  21303. },
  21304. "oritotalfutureqty": {
  21305. "description": "期初期货头寸总量",
  21306. "type": "number"
  21307. },
  21308. "oritotalneedhedgeqty": {
  21309. "description": "期初应套保总量",
  21310. "type": "number"
  21311. },
  21312. "oritotalspotqty": {
  21313. "description": "期初现货头寸总量",
  21314. "type": "number"
  21315. },
  21316. "reckondate": {
  21317. "description": "日照时期(yyyyMMdd)",
  21318. "type": "string"
  21319. },
  21320. "sellfutureqty": {
  21321. "description": "卖出期货数量",
  21322. "type": "number"
  21323. },
  21324. "sellplanqty": {
  21325. "description": "销售计划数量",
  21326. "type": "number"
  21327. },
  21328. "sellpricedqty": {
  21329. "description": "销售合同已定价数量",
  21330. "type": "number"
  21331. },
  21332. "totalexposure": {
  21333. "description": "实时总敞口(总敞口)",
  21334. "type": "number"
  21335. },
  21336. "totalfutureqty": {
  21337. "description": "期货头寸总量(期货总量)",
  21338. "type": "number"
  21339. },
  21340. "totalhedgeratio": {
  21341. "description": "敞口比例",
  21342. "type": "number"
  21343. },
  21344. "totalneedhedgeqty": {
  21345. "description": "应套保总量(现货应套保总量)",
  21346. "type": "number"
  21347. },
  21348. "totalspotqty": {
  21349. "description": "现货头寸总量",
  21350. "type": "number"
  21351. },
  21352. "unitid": {
  21353. "description": "单位id",
  21354. "type": "integer"
  21355. },
  21356. "updatetime": {
  21357. "description": "更新时间",
  21358. "type": "string"
  21359. }
  21360. }
  21361. },
  21362. "models.Ermcp3FinanceReport": {
  21363. "type": "object",
  21364. "properties": {
  21365. "accountname": {
  21366. "description": "机构名称",
  21367. "type": "string"
  21368. },
  21369. "areauserid": {
  21370. "description": "所属机构\\交易用户ID",
  21371. "type": "integer"
  21372. },
  21373. "begindate": {
  21374. "description": "开始交易日",
  21375. "type": "string"
  21376. },
  21377. "biztype": {
  21378. "description": "业务类型 - 1:套保 2:套利",
  21379. "type": "integer"
  21380. },
  21381. "brandname": {
  21382. "description": "品牌名称",
  21383. "type": "string"
  21384. },
  21385. "buypreinvoicedamount": {
  21386. "description": "采购预收票额(预收票额)",
  21387. "type": "number"
  21388. },
  21389. "buyprepaidamount": {
  21390. "description": "采购预付款额(预付货款额)",
  21391. "type": "number"
  21392. },
  21393. "buytodayinvoiceamount": {
  21394. "description": "采购今收票额(今收票额)",
  21395. "type": "number"
  21396. },
  21397. "buytodayrefundamount": {
  21398. "description": "采购今收退款额(今收退款额)",
  21399. "type": "number"
  21400. },
  21401. "buytodaysettleamount": {
  21402. "description": "采购今付款额(今付货款额)",
  21403. "type": "number"
  21404. },
  21405. "buyuninvoicedamount": {
  21406. "description": "采购应收票额(应收票额)",
  21407. "type": "number"
  21408. },
  21409. "buyunpaidamount": {
  21410. "description": "采购应付款额(应付货款额)",
  21411. "type": "number"
  21412. },
  21413. "currencyid": {
  21414. "description": "结算币种ID",
  21415. "type": "integer"
  21416. },
  21417. "currencyname": {
  21418. "description": "币种名称",
  21419. "type": "string"
  21420. },
  21421. "cycletime": {
  21422. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21423. "type": "string"
  21424. },
  21425. "cycletype": {
  21426. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21427. "type": "integer"
  21428. },
  21429. "deliverygoodscode": {
  21430. "description": "现货品种代码",
  21431. "type": "string"
  21432. },
  21433. "deliverygoodsid": {
  21434. "description": "现货品种ID",
  21435. "type": "integer"
  21436. },
  21437. "deliverygoodsname": {
  21438. "description": "现货品种名称",
  21439. "type": "string"
  21440. },
  21441. "enddate": {
  21442. "description": "结束交易日",
  21443. "type": "string"
  21444. },
  21445. "reckondate": {
  21446. "description": "日照时期(yyyyMMdd)",
  21447. "type": "string"
  21448. },
  21449. "sellpreinvoicedamount": {
  21450. "description": "销售预开票额(预开票额)",
  21451. "type": "number"
  21452. },
  21453. "sellprepaidamount": {
  21454. "description": "销售预收款额(预收货款额)",
  21455. "type": "number"
  21456. },
  21457. "selltodayinvoiceamount": {
  21458. "description": "销售今开票额(今开票额)",
  21459. "type": "number"
  21460. },
  21461. "selltodayrefundamount": {
  21462. "description": "销售今付退款额(今付退款额)",
  21463. "type": "number"
  21464. },
  21465. "selltodaysettleamount": {
  21466. "description": "销售今收款额(今收货款额)",
  21467. "type": "number"
  21468. },
  21469. "selluninvoicedamount": {
  21470. "description": "销售应开票额(应开票额)",
  21471. "type": "number"
  21472. },
  21473. "sellunpaidamount": {
  21474. "description": "销售应收款额(应收货款额)",
  21475. "type": "number"
  21476. },
  21477. "spotgoodsbrandid": {
  21478. "description": "现货品牌ID",
  21479. "type": "integer"
  21480. },
  21481. "todaypaysum": {
  21482. "description": "今付款合计",
  21483. "type": "number"
  21484. },
  21485. "todayreceivesum": {
  21486. "description": "今收款合计",
  21487. "type": "number"
  21488. },
  21489. "updatetime": {
  21490. "description": "更新时间",
  21491. "type": "string"
  21492. },
  21493. "wrfactortypeid": {
  21494. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21495. "type": "integer"
  21496. },
  21497. "wrstandardcode": {
  21498. "description": "品类代码",
  21499. "type": "string"
  21500. },
  21501. "wrstandardid": {
  21502. "description": "现货商品ID",
  21503. "type": "integer"
  21504. },
  21505. "wrstandardname": {
  21506. "description": "品类名称",
  21507. "type": "string"
  21508. }
  21509. }
  21510. },
  21511. "models.Ermcp3GoodsGroup": {
  21512. "type": "object",
  21513. "required": [
  21514. "areauserid"
  21515. ],
  21516. "properties": {
  21517. "agreeunit": {
  21518. "description": "合约单位",
  21519. "type": "number"
  21520. },
  21521. "areauserid": {
  21522. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  21523. "type": "integer"
  21524. },
  21525. "canshort": {
  21526. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21527. "type": "integer"
  21528. },
  21529. "closepricemode": {
  21530. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21531. "type": "integer"
  21532. },
  21533. "createtime": {
  21534. "description": "创建时间",
  21535. "type": "string"
  21536. },
  21537. "creatorid": {
  21538. "description": "创建人",
  21539. "type": "integer"
  21540. },
  21541. "currencyid": {
  21542. "description": "报价货币ID",
  21543. "type": "integer"
  21544. },
  21545. "decimalplace": {
  21546. "description": "报价小数位",
  21547. "type": "integer"
  21548. },
  21549. "enumdicname": {
  21550. "description": "单位名称",
  21551. "type": "string"
  21552. },
  21553. "exchangefullname": {
  21554. "description": "交易所全称",
  21555. "type": "string"
  21556. },
  21557. "excludecfg": {
  21558. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  21559. "type": "integer"
  21560. },
  21561. "exexchangecode": {
  21562. "description": "交易所代码",
  21563. "type": "string"
  21564. },
  21565. "exexchangeid": {
  21566. "description": "外部交易所ID[通道交易]",
  21567. "type": "integer"
  21568. },
  21569. "exexchangename": {
  21570. "description": "交易所名称",
  21571. "type": "string"
  21572. },
  21573. "goodsgroupid": {
  21574. "description": "商品组ID(自增ID)",
  21575. "type": "integer"
  21576. },
  21577. "goodsgroupname": {
  21578. "description": "商品组名称",
  21579. "type": "string"
  21580. },
  21581. "goodsgroupstatus": {
  21582. "description": "商品组状态 - 1:正常 2:注销",
  21583. "type": "integer"
  21584. },
  21585. "goodunitid": {
  21586. "description": "报价单位ID",
  21587. "type": "integer"
  21588. },
  21589. "groupcategroyid": {
  21590. "description": "品种分类ID",
  21591. "type": "integer"
  21592. },
  21593. "innerdealmode": {
  21594. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21595. "type": "integer"
  21596. },
  21597. "marketid": {
  21598. "description": "所属市场ID",
  21599. "type": "integer"
  21600. },
  21601. "modifierid": {
  21602. "description": "修改人",
  21603. "type": "integer"
  21604. },
  21605. "modifytime": {
  21606. "description": "修改时间",
  21607. "type": "string"
  21608. },
  21609. "outerdealmode": {
  21610. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21611. "type": "integer"
  21612. },
  21613. "outergroupcode": {
  21614. "description": "外部商品组代码[通道交易]",
  21615. "type": "string"
  21616. },
  21617. "quoteminunit": {
  21618. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21619. "type": "integer"
  21620. },
  21621. "quotesourcegroupid": {
  21622. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21623. "type": "integer"
  21624. },
  21625. "syncgoodsqty": {
  21626. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21627. "type": "integer"
  21628. }
  21629. }
  21630. },
  21631. "models.Ermcp3HedgePlan": {
  21632. "type": "object",
  21633. "properties": {
  21634. "accountid": {
  21635. "description": "资金账号",
  21636. "type": "integer"
  21637. },
  21638. "areauserid": {
  21639. "description": "用户ID",
  21640. "type": "integer"
  21641. },
  21642. "auditid": {
  21643. "description": "审核id",
  21644. "type": "integer"
  21645. },
  21646. "auditname": {
  21647. "description": "审核人名称",
  21648. "type": "string"
  21649. },
  21650. "auditremark": {
  21651. "description": "审核备注",
  21652. "type": "string"
  21653. },
  21654. "auditsrc": {
  21655. "description": "审核来源 1-管理端 2-终端",
  21656. "type": "integer"
  21657. },
  21658. "audittime": {
  21659. "description": "审核时间",
  21660. "type": "string"
  21661. },
  21662. "contracttype": {
  21663. "description": "计划类型 - 1:采购 -1:销售",
  21664. "type": "integer"
  21665. },
  21666. "convertfactor": {
  21667. "description": "标仓系数",
  21668. "type": "number"
  21669. },
  21670. "createtime": {
  21671. "description": "创建时间",
  21672. "type": "string"
  21673. },
  21674. "currencyid": {
  21675. "description": "币种id",
  21676. "type": "integer"
  21677. },
  21678. "currencyname": {
  21679. "description": "币种名称",
  21680. "type": "string"
  21681. },
  21682. "deliverygoodscode": {
  21683. "description": "现货品种代码",
  21684. "type": "string"
  21685. },
  21686. "deliverygoodsid": {
  21687. "description": "现货品种ID",
  21688. "type": "integer"
  21689. },
  21690. "deliverygoodsname": {
  21691. "description": "现货品种名称",
  21692. "type": "string"
  21693. },
  21694. "enumdicname": {
  21695. "description": "单位名称(现货商品)",
  21696. "type": "string"
  21697. },
  21698. "hedgeplanid": {
  21699. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  21700. "type": "string"
  21701. },
  21702. "hedgeplanno": {
  21703. "description": "套保计划编号(名称)",
  21704. "type": "string"
  21705. },
  21706. "hedgeplanstatus": {
  21707. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21708. "type": "integer"
  21709. },
  21710. "planqty": {
  21711. "description": "计划数量",
  21712. "type": "number"
  21713. },
  21714. "plantime": {
  21715. "description": "计划时间",
  21716. "type": "string"
  21717. },
  21718. "producttype": {
  21719. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21720. "type": "integer"
  21721. },
  21722. "remark": {
  21723. "description": "备注",
  21724. "type": "string"
  21725. },
  21726. "spotgoodsdesc": {
  21727. "description": "商品型号",
  21728. "type": "string"
  21729. },
  21730. "taaccountname": {
  21731. "description": "资金账号名称",
  21732. "type": "string"
  21733. },
  21734. "tradeuserid": {
  21735. "description": "交易用户id",
  21736. "type": "integer"
  21737. },
  21738. "tradeusername": {
  21739. "description": "交易用户名称",
  21740. "type": "string"
  21741. },
  21742. "unitid": {
  21743. "description": "单位id(现货商品)",
  21744. "type": "integer"
  21745. },
  21746. "updatetime": {
  21747. "description": "更新时间",
  21748. "type": "string"
  21749. },
  21750. "vatrate": {
  21751. "description": "增值税率",
  21752. "type": "number"
  21753. },
  21754. "wrstandardcode": {
  21755. "description": "品类代码",
  21756. "type": "string"
  21757. },
  21758. "wrstandardid": {
  21759. "description": "品类id",
  21760. "type": "integer"
  21761. },
  21762. "wrstandardname": {
  21763. "description": "品类名称",
  21764. "type": "string"
  21765. },
  21766. "wrunitid": {
  21767. "description": "品类单位id",
  21768. "type": "integer"
  21769. },
  21770. "wrunitidame": {
  21771. "description": "品类单位名称",
  21772. "type": "string"
  21773. }
  21774. }
  21775. },
  21776. "models.Ermcp3InnerTradeLink": {
  21777. "type": "object",
  21778. "properties": {
  21779. "accountid": {
  21780. "description": "期货账号代码 | 资金账号ID",
  21781. "type": "integer"
  21782. },
  21783. "buyorsell": {
  21784. "description": "方向 - 0:买 1:卖",
  21785. "type": "integer"
  21786. },
  21787. "channelbuildtype": {
  21788. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21789. "type": "integer"
  21790. },
  21791. "currencyid": {
  21792. "description": "币种id",
  21793. "type": "integer"
  21794. },
  21795. "currencyname": {
  21796. "description": "结算币种 名称",
  21797. "type": "string"
  21798. },
  21799. "goodscode": {
  21800. "description": "商品代码",
  21801. "type": "string"
  21802. },
  21803. "goodsid": {
  21804. "description": "商品ID",
  21805. "type": "integer"
  21806. },
  21807. "goodsname": {
  21808. "description": "商品名称",
  21809. "type": "string"
  21810. },
  21811. "outtradeid": {
  21812. "description": "外部成交单号",
  21813. "type": "string"
  21814. },
  21815. "taname": {
  21816. "description": "期货账户名称",
  21817. "type": "string"
  21818. },
  21819. "tradeid": {
  21820. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21821. "type": "string"
  21822. },
  21823. "tradeprice": {
  21824. "description": "成交价格",
  21825. "type": "number"
  21826. },
  21827. "tradeqty": {
  21828. "description": "期货成交数量",
  21829. "type": "integer"
  21830. },
  21831. "tradetime": {
  21832. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  21833. "type": "string"
  21834. },
  21835. "username": {
  21836. "description": "用户名称",
  21837. "type": "string"
  21838. }
  21839. }
  21840. },
  21841. "models.Ermcp3OutTradeLink": {
  21842. "type": "object",
  21843. "properties": {
  21844. "buyorsell": {
  21845. "description": "买卖方向 - 0:买 1:卖",
  21846. "type": "integer"
  21847. },
  21848. "channelbuildtype": {
  21849. "description": "开平标志- 0:无 1:建仓 2:平仓",
  21850. "type": "integer"
  21851. },
  21852. "currencyname": {
  21853. "description": "币种名称",
  21854. "type": "string"
  21855. },
  21856. "exexchangecode": {
  21857. "description": "交易所代码",
  21858. "type": "string"
  21859. },
  21860. "exexchangename": {
  21861. "description": "交易所名称",
  21862. "type": "string"
  21863. },
  21864. "goodscode": {
  21865. "description": "合约代码",
  21866. "type": "string"
  21867. },
  21868. "goodsid": {
  21869. "description": "合约id",
  21870. "type": "integer"
  21871. },
  21872. "goodsname": {
  21873. "description": "合约名称",
  21874. "type": "string"
  21875. },
  21876. "hasinnerorder": {
  21877. "description": "是否有内部单关联 - 0:无 1:有",
  21878. "type": "integer"
  21879. },
  21880. "hedgeaccountcode": {
  21881. "description": "外部账号 | 对冲账号",
  21882. "type": "string"
  21883. },
  21884. "outtradeid": {
  21885. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21886. "type": "string"
  21887. },
  21888. "tradeprice": {
  21889. "description": "成交价格",
  21890. "type": "number"
  21891. },
  21892. "tradeqty": {
  21893. "description": "成交数量",
  21894. "type": "integer"
  21895. },
  21896. "tradetime": {
  21897. "description": "成交时间",
  21898. "type": "string"
  21899. }
  21900. }
  21901. },
  21902. "models.Ermcp3PaAreaAuditCfg": {
  21903. "type": "object",
  21904. "properties": {
  21905. "areauserid": {
  21906. "description": "用户ID",
  21907. "type": "integer"
  21908. },
  21909. "buyinauditflag": {
  21910. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  21911. "type": "integer"
  21912. },
  21913. "costratioauditflag": {
  21914. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  21915. "type": "integer"
  21916. },
  21917. "customerauditflag": {
  21918. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  21919. "type": "integer"
  21920. },
  21921. "deliveryauditflag": {
  21922. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  21923. "type": "integer"
  21924. },
  21925. "invoiceauditflag": {
  21926. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  21927. "type": "integer"
  21928. },
  21929. "mgneedhedgeratioauditflag": {
  21930. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  21931. "type": "integer"
  21932. },
  21933. "moneyauditflag": {
  21934. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  21935. "type": "integer"
  21936. },
  21937. "operatorid": {
  21938. "description": "操作人",
  21939. "type": "integer"
  21940. },
  21941. "operatorsrc": {
  21942. "description": "操作来源 - 1:管理端 2:终端",
  21943. "type": "integer"
  21944. },
  21945. "pointpriceauditflag": {
  21946. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  21947. "type": "integer"
  21948. },
  21949. "produceinauditflag": {
  21950. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  21951. "type": "integer"
  21952. },
  21953. "produceoutauditflag": {
  21954. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  21955. "type": "integer"
  21956. },
  21957. "selloutauditflag": {
  21958. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  21959. "type": "integer"
  21960. },
  21961. "sgconvertratioauditflag": {
  21962. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  21963. "type": "integer"
  21964. },
  21965. "sgvtaratioauditflag": {
  21966. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  21967. "type": "integer"
  21968. },
  21969. "spotcontractauditflag": {
  21970. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  21971. "type": "integer"
  21972. },
  21973. "updatetime": {
  21974. "description": "更新时间",
  21975. "type": "string"
  21976. }
  21977. }
  21978. },
  21979. "models.Ermcp3PaAreaSubject": {
  21980. "type": "object",
  21981. "properties": {
  21982. "areauserid": {
  21983. "description": "所属机构",
  21984. "type": "integer"
  21985. },
  21986. "canmodify": {
  21987. "description": "是否可修改 - 0:否 1:是",
  21988. "type": "integer"
  21989. },
  21990. "createtime": {
  21991. "description": "创建时间",
  21992. "type": "string"
  21993. },
  21994. "creatorid": {
  21995. "description": "创建人ID",
  21996. "type": "string"
  21997. },
  21998. "creatorsrc": {
  21999. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  22000. "type": "integer"
  22001. },
  22002. "modifierid": {
  22003. "description": "修改人",
  22004. "type": "string"
  22005. },
  22006. "modifiersrc": {
  22007. "description": "修改人来源 - 1:管理端 2:终端",
  22008. "type": "integer"
  22009. },
  22010. "modifytime": {
  22011. "description": "修改时间",
  22012. "type": "string"
  22013. },
  22014. "parentsubjectid": {
  22015. "description": "上级主体ID",
  22016. "type": "string"
  22017. },
  22018. "remark": {
  22019. "description": "备注",
  22020. "type": "string"
  22021. },
  22022. "subjectid": {
  22023. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  22024. "type": "integer"
  22025. },
  22026. "subjectname": {
  22027. "description": "主体名称",
  22028. "type": "string"
  22029. },
  22030. "subjectstatus": {
  22031. "description": "主体状态 - 1:正常 2: 停用",
  22032. "type": "integer"
  22033. },
  22034. "subjecttype": {
  22035. "description": "主体类型 - 1:交易主体 2:业务部门",
  22036. "type": "integer"
  22037. }
  22038. }
  22039. },
  22040. "models.Ermcp3PaTradeLink": {
  22041. "type": "object",
  22042. "properties": {
  22043. "accountid": {
  22044. "description": "期货账户代码 | 账号ID",
  22045. "type": "integer"
  22046. },
  22047. "agreeunit": {
  22048. "description": "合约乘数",
  22049. "type": "number"
  22050. },
  22051. "buyorsell": {
  22052. "description": "方向 - 0:买 1:卖",
  22053. "type": "integer"
  22054. },
  22055. "channelbuildtype": {
  22056. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22057. "type": "integer"
  22058. },
  22059. "charge": {
  22060. "description": "手续费",
  22061. "type": "number"
  22062. },
  22063. "closepl": {
  22064. "description": "平仓盈亏",
  22065. "type": "number"
  22066. },
  22067. "closetype": {
  22068. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22069. "type": "integer"
  22070. },
  22071. "convertratio": {
  22072. "description": "折算系数",
  22073. "type": "number"
  22074. },
  22075. "enumdicname": {
  22076. "description": "单位名称",
  22077. "type": "string"
  22078. },
  22079. "executeprice": {
  22080. "description": "执行价 [期权]",
  22081. "type": "integer"
  22082. },
  22083. "goodscode": {
  22084. "description": "合约代码",
  22085. "type": "string"
  22086. },
  22087. "goodsgroupid": {
  22088. "description": "对冲品种ID[期货合约商品组ID]",
  22089. "type": "integer"
  22090. },
  22091. "goodsid": {
  22092. "description": "商品ID",
  22093. "type": "integer"
  22094. },
  22095. "goodsname": {
  22096. "description": "合约名称",
  22097. "type": "string"
  22098. },
  22099. "goodunitid": {
  22100. "description": "单位id",
  22101. "type": "integer"
  22102. },
  22103. "hedgeflag": {
  22104. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  22105. "type": "integer"
  22106. },
  22107. "marketid": {
  22108. "description": "市场ID",
  22109. "type": "integer"
  22110. },
  22111. "middlegoodsid": {
  22112. "description": "套保品种ID",
  22113. "type": "integer"
  22114. },
  22115. "middlegoodsqty": {
  22116. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  22117. "type": "number"
  22118. },
  22119. "optioncode": {
  22120. "description": "期权代码 [期权]",
  22121. "type": "string"
  22122. },
  22123. "ordertype": {
  22124. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  22125. "type": "integer"
  22126. },
  22127. "ordertypename": {
  22128. "description": "订单类型",
  22129. "type": "string"
  22130. },
  22131. "parentaccountid": {
  22132. "description": "所属母账户",
  22133. "type": "integer"
  22134. },
  22135. "premium": {
  22136. "description": "权利金 [期权]",
  22137. "type": "number"
  22138. },
  22139. "relatedlot": {
  22140. "description": "已关联数量(已关联数量手) | db:关联手数",
  22141. "type": "number"
  22142. },
  22143. "relatedouttradeid": {
  22144. "description": "关联外部成交单ID",
  22145. "type": "string"
  22146. },
  22147. "relatedqty": {
  22148. "description": "关联数量",
  22149. "type": "number"
  22150. },
  22151. "spotcontractid": {
  22152. "description": "现货合同ID [4:套期保值\\10\\11]",
  22153. "type": "string"
  22154. },
  22155. "taname": {
  22156. "description": "期货账户名称",
  22157. "type": "string"
  22158. },
  22159. "tradeamount": {
  22160. "description": "成交金额(账户)",
  22161. "type": "number"
  22162. },
  22163. "tradedate": {
  22164. "description": "交易日(yyyyMMdd)",
  22165. "type": "string"
  22166. },
  22167. "tradeid": {
  22168. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22169. "type": "string"
  22170. },
  22171. "tradelot": {
  22172. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  22173. "type": "integer"
  22174. },
  22175. "tradeprice": {
  22176. "description": "成交价格",
  22177. "type": "number"
  22178. },
  22179. "tradetime": {
  22180. "description": "时间 | db:成交时间",
  22181. "type": "string"
  22182. },
  22183. "tradetype": {
  22184. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22185. "type": "integer"
  22186. },
  22187. "userid": {
  22188. "description": "所属机构 - 所属母账户的UserID",
  22189. "type": "string"
  22190. },
  22191. "username": {
  22192. "description": "用户名称",
  22193. "type": "string"
  22194. }
  22195. }
  22196. },
  22197. "models.Ermcp3ParamChangeApp": {
  22198. "type": "object",
  22199. "properties": {
  22200. "aftervalue": {
  22201. "description": "变更后",
  22202. "type": "number"
  22203. },
  22204. "applicationid": {
  22205. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  22206. "type": "string"
  22207. },
  22208. "applyid": {
  22209. "description": "申请人",
  22210. "type": "string"
  22211. },
  22212. "applyname": {
  22213. "description": "申请人名称(代码)",
  22214. "type": "string"
  22215. },
  22216. "applyremark": {
  22217. "description": "申请备注",
  22218. "type": "string"
  22219. },
  22220. "applysrc": {
  22221. "description": "申请来源 - 1:管理端 2:终端",
  22222. "type": "integer"
  22223. },
  22224. "applystatus": {
  22225. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22226. "type": "integer"
  22227. },
  22228. "applytime": {
  22229. "description": "申请时间",
  22230. "type": "string"
  22231. },
  22232. "areauserid": {
  22233. "description": "所属机构用户ID",
  22234. "type": "integer"
  22235. },
  22236. "auditid": {
  22237. "description": "审核人",
  22238. "type": "string"
  22239. },
  22240. "auditname": {
  22241. "description": "审核人名称(代码)",
  22242. "type": "string"
  22243. },
  22244. "auditremark": {
  22245. "description": "审核备注",
  22246. "type": "string"
  22247. },
  22248. "auditsrc": {
  22249. "description": "审核来源 - 1:管理端 2:终端",
  22250. "type": "integer"
  22251. },
  22252. "audittime": {
  22253. "description": "审核时间",
  22254. "type": "string"
  22255. },
  22256. "audittradedate": {
  22257. "description": "审核交易日(yyyyMMdd)",
  22258. "type": "string"
  22259. },
  22260. "beforevalue": {
  22261. "description": "变更前",
  22262. "type": "number"
  22263. },
  22264. "deliverygoodscode": {
  22265. "description": "品种代码",
  22266. "type": "string"
  22267. },
  22268. "deliverygoodsid": {
  22269. "description": "品种id",
  22270. "type": "integer"
  22271. },
  22272. "deliverygoodsname": {
  22273. "description": "品种名称",
  22274. "type": "string"
  22275. },
  22276. "middlegoodscode": {
  22277. "description": "套保品种代码",
  22278. "type": "string"
  22279. },
  22280. "middlegoodsid": {
  22281. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  22282. "type": "integer"
  22283. },
  22284. "middlegoodsname": {
  22285. "description": "套保品种名称",
  22286. "type": "string"
  22287. },
  22288. "operatetype": {
  22289. "description": "操作类型 - 1:新增 2:修改",
  22290. "type": "integer"
  22291. },
  22292. "paramchangetype": {
  22293. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  22294. "type": "integer"
  22295. },
  22296. "wrstandardcode": {
  22297. "description": "现货商品代码",
  22298. "type": "string"
  22299. },
  22300. "wrstandardid": {
  22301. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  22302. "type": "integer"
  22303. },
  22304. "wrstandardname": {
  22305. "description": "现货商品名称",
  22306. "type": "string"
  22307. }
  22308. }
  22309. },
  22310. "models.Ermcp3RootUserAccount": {
  22311. "type": "object",
  22312. "properties": {
  22313. "accountname": {
  22314. "description": "账户名称(机构名称)",
  22315. "type": "string"
  22316. },
  22317. "accountstatus": {
  22318. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22319. "type": "integer"
  22320. },
  22321. "applysrc": {
  22322. "description": "申请来源 - 1:管理端 2:终端",
  22323. "type": "integer"
  22324. },
  22325. "auditremark": {
  22326. "description": "审核备注",
  22327. "type": "string"
  22328. },
  22329. "auditsrc": {
  22330. "description": "审核来源 - 1:管理端 2:终端",
  22331. "type": "integer"
  22332. },
  22333. "audittime": {
  22334. "description": "审核时间",
  22335. "type": "string"
  22336. },
  22337. "audituserid": {
  22338. "description": "审核人",
  22339. "type": "integer"
  22340. },
  22341. "broker": {
  22342. "description": "所属经纪人ID",
  22343. "type": "integer"
  22344. },
  22345. "canceltime": {
  22346. "description": "销户时间",
  22347. "type": "string"
  22348. },
  22349. "canceluserid": {
  22350. "description": "销户人",
  22351. "type": "integer"
  22352. },
  22353. "canrecommend": {
  22354. "description": "是否可推荐 - 0:不可 1;可",
  22355. "type": "integer"
  22356. },
  22357. "createtime": {
  22358. "description": "创建时间",
  22359. "type": "string"
  22360. },
  22361. "creatorid": {
  22362. "description": "创建人",
  22363. "type": "integer"
  22364. },
  22365. "hasauth": {
  22366. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22367. "type": "integer"
  22368. },
  22369. "isanonymous": {
  22370. "description": "是否匿名下单 - 0:否 1:是",
  22371. "type": "integer"
  22372. },
  22373. "maxinvestornum": {
  22374. "description": "最大用户数(经纪会员下投资者个数)",
  22375. "type": "integer"
  22376. },
  22377. "memberuserid": {
  22378. "description": "所属会员ID",
  22379. "type": "integer"
  22380. },
  22381. "modifierid": {
  22382. "description": "修改人",
  22383. "type": "integer"
  22384. },
  22385. "modifyremark": {
  22386. "description": "变更备注",
  22387. "type": "string"
  22388. },
  22389. "modifystatus": {
  22390. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22391. "type": "integer"
  22392. },
  22393. "modifytime": {
  22394. "description": "修改时间",
  22395. "type": "string"
  22396. },
  22397. "nickname": {
  22398. "description": "昵称",
  22399. "type": "string"
  22400. },
  22401. "parenttopuser": {
  22402. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22403. "type": "string"
  22404. },
  22405. "parentuserid": {
  22406. "description": "所属机构ID",
  22407. "type": "integer"
  22408. },
  22409. "reckonaccountid": {
  22410. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22411. "type": "integer"
  22412. },
  22413. "refercount": {
  22414. "description": "推荐总人数",
  22415. "type": "integer"
  22416. },
  22417. "refereeuserid": {
  22418. "description": "推荐人ID",
  22419. "type": "integer"
  22420. },
  22421. "refernum": {
  22422. "description": "推荐码",
  22423. "type": "string"
  22424. },
  22425. "rootuserid": {
  22426. "description": "根用户ID",
  22427. "type": "integer"
  22428. },
  22429. "subaccountlevel": {
  22430. "description": "子账户层数",
  22431. "type": "integer"
  22432. },
  22433. "subarealevelpath": {
  22434. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22435. "type": "string"
  22436. },
  22437. "userid": {
  22438. "description": "用户ID",
  22439. "type": "integer"
  22440. },
  22441. "usertype": {
  22442. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22443. "type": "integer"
  22444. }
  22445. }
  22446. },
  22447. "models.Ermcp3SCMiddleGoods": {
  22448. "type": "object",
  22449. "properties": {
  22450. "biztype": {
  22451. "description": "业务类型 1:套保 2:套利",
  22452. "type": "integer"
  22453. },
  22454. "contractno": {
  22455. "description": "合同编号",
  22456. "type": "string"
  22457. },
  22458. "contracttype": {
  22459. "description": "合同类型 1:采购 -1:销售",
  22460. "type": "integer"
  22461. },
  22462. "convertratio": {
  22463. "description": "折算系数",
  22464. "type": "number"
  22465. },
  22466. "customername": {
  22467. "description": "对手手名称",
  22468. "type": "string"
  22469. },
  22470. "customeruserid": {
  22471. "description": "对手id",
  22472. "type": "integer"
  22473. },
  22474. "deliverygoodscode": {
  22475. "description": "现货品种代码",
  22476. "type": "string"
  22477. },
  22478. "deliverygoodsid": {
  22479. "description": "现货品种ID",
  22480. "type": "integer"
  22481. },
  22482. "deliverygoodsname": {
  22483. "description": "现货品种名称",
  22484. "type": "string"
  22485. },
  22486. "enumdicname": {
  22487. "description": "现货单位名称",
  22488. "type": "string"
  22489. },
  22490. "middlegoodsid": {
  22491. "description": "套保品种ID",
  22492. "type": "integer"
  22493. },
  22494. "middlegoodspricedqty3": {
  22495. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  22496. "type": "number"
  22497. },
  22498. "needhedgeratio": {
  22499. "description": "套保比例",
  22500. "type": "number"
  22501. },
  22502. "pricedqty": {
  22503. "description": "已定价量",
  22504. "type": "number"
  22505. },
  22506. "relatedmiddlegoodsqty": {
  22507. "description": "已关联量(套保品种)(期货)",
  22508. "type": "number"
  22509. },
  22510. "spotcontractid": {
  22511. "description": "合同编号",
  22512. "type": "string"
  22513. },
  22514. "unitid": {
  22515. "description": "现货单位id",
  22516. "type": "integer"
  22517. },
  22518. "userid": {
  22519. "description": "用户id",
  22520. "type": "integer"
  22521. },
  22522. "vatrate": {
  22523. "description": "增值税率",
  22524. "type": "number"
  22525. },
  22526. "wrstandardcode": {
  22527. "description": "现货商品代码",
  22528. "type": "string"
  22529. },
  22530. "wrstandardid": {
  22531. "description": "现货商品id",
  22532. "type": "integer"
  22533. },
  22534. "wrstandardname": {
  22535. "description": "现货商品名称",
  22536. "type": "string"
  22537. }
  22538. }
  22539. },
  22540. "models.Ermcp3SCMiddleGoodsReport": {
  22541. "type": "object",
  22542. "properties": {
  22543. "begindate": {
  22544. "description": "开始交易日",
  22545. "type": "string"
  22546. },
  22547. "contractno": {
  22548. "description": "合同编号",
  22549. "type": "string"
  22550. },
  22551. "contracttype": {
  22552. "description": "合同类型 1:采购 -1:销售",
  22553. "type": "integer"
  22554. },
  22555. "convertratio": {
  22556. "description": "折算系数",
  22557. "type": "number"
  22558. },
  22559. "cycletime": {
  22560. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22561. "type": "string"
  22562. },
  22563. "cycletype": {
  22564. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22565. "type": "integer"
  22566. },
  22567. "deliverygoodscode": {
  22568. "description": "品种代码",
  22569. "type": "string"
  22570. },
  22571. "deliverygoodsid": {
  22572. "description": "现货品种ID",
  22573. "type": "integer"
  22574. },
  22575. "deliverygoodsname": {
  22576. "description": "品种名称",
  22577. "type": "string"
  22578. },
  22579. "diffprice": {
  22580. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  22581. "type": "number"
  22582. },
  22583. "diffqty": {
  22584. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  22585. "type": "number"
  22586. },
  22587. "enddate": {
  22588. "description": "结束交易日",
  22589. "type": "string"
  22590. },
  22591. "hedgeplanqty": {
  22592. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  22593. "type": "number"
  22594. },
  22595. "matchname": {
  22596. "description": "交易对手方(个人:用户名称 企业:简称)",
  22597. "type": "string"
  22598. },
  22599. "middlegoodscode": {
  22600. "description": "套保品种代码",
  22601. "type": "string"
  22602. },
  22603. "middlegoodsid": {
  22604. "description": "套保品种ID",
  22605. "type": "integer"
  22606. },
  22607. "middlegoodsname": {
  22608. "description": "套保品种名称",
  22609. "type": "string"
  22610. },
  22611. "middlegoodspricedqty": {
  22612. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  22613. "type": "number"
  22614. },
  22615. "middlegoodspricedqty2": {
  22616. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  22617. "type": "number"
  22618. },
  22619. "middlegoodspricedqty3": {
  22620. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22621. "type": "number"
  22622. },
  22623. "needhedgeratio": {
  22624. "description": "套保系数",
  22625. "type": "number"
  22626. },
  22627. "pricedamount": {
  22628. "description": "已定价额(现货)",
  22629. "type": "number"
  22630. },
  22631. "pricedamount2": {
  22632. "description": "已定价额(现货-基价额)",
  22633. "type": "number"
  22634. },
  22635. "pricedqty": {
  22636. "description": "已定价量(现货)",
  22637. "type": "number"
  22638. },
  22639. "reckondate": {
  22640. "description": "日照时期(yyyyMMdd)",
  22641. "type": "string"
  22642. },
  22643. "relatedmiddlegoodsamount": {
  22644. "description": "已关联额(期货)",
  22645. "type": "number"
  22646. },
  22647. "relatedmiddlegoodsqty": {
  22648. "description": "已关联量(套保品种)(期货)",
  22649. "type": "number"
  22650. },
  22651. "spotcontractid": {
  22652. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22653. "type": "string"
  22654. },
  22655. "todayavgfutuprice": {
  22656. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  22657. "type": "number"
  22658. },
  22659. "todayavgprice": {
  22660. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  22661. "type": "number"
  22662. },
  22663. "todayavgprice2": {
  22664. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  22665. "type": "number"
  22666. },
  22667. "todaypricedamount": {
  22668. "description": "今日定价额(现货)",
  22669. "type": "number"
  22670. },
  22671. "todaypricedamount2": {
  22672. "description": "今日定价额(现货-基价额)",
  22673. "type": "number"
  22674. },
  22675. "todaypricedqty": {
  22676. "description": "今日定价量(现货)",
  22677. "type": "number"
  22678. },
  22679. "todayrelatedfutureqty": {
  22680. "description": "今日关联量(期货)",
  22681. "type": "number"
  22682. },
  22683. "todayrelatedmiddlegoodsamount": {
  22684. "description": "今日关联额(期货)",
  22685. "type": "number"
  22686. },
  22687. "todayrelatedmiddlegoodsqty": {
  22688. "description": "今日关联量(套保品-期货)",
  22689. "type": "number"
  22690. },
  22691. "updatetime": {
  22692. "description": "更新时间",
  22693. "type": "string"
  22694. },
  22695. "userid": {
  22696. "description": "合同所属用户id",
  22697. "type": "integer"
  22698. },
  22699. "vatrate": {
  22700. "description": "增值税率",
  22701. "type": "number"
  22702. },
  22703. "wrstandardcode": {
  22704. "description": "商品(品类) 代码",
  22705. "type": "string"
  22706. },
  22707. "wrstandardid": {
  22708. "description": "现货商品ID",
  22709. "type": "integer"
  22710. },
  22711. "wrstandardname": {
  22712. "description": "商品(品类) 名称",
  22713. "type": "string"
  22714. }
  22715. }
  22716. },
  22717. "models.Ermcp3SellBuyContract": {
  22718. "type": "object",
  22719. "properties": {
  22720. "accountid": {
  22721. "description": "期货账户id",
  22722. "type": "string"
  22723. },
  22724. "accountname": {
  22725. "description": "账户名称",
  22726. "type": "string"
  22727. },
  22728. "attachment": {
  22729. "description": "附件",
  22730. "type": "string"
  22731. },
  22732. "audittime": {
  22733. "description": "审核时间",
  22734. "type": "string"
  22735. },
  22736. "bizsubjectid": {
  22737. "description": "归属业务部门ID - SubjectID",
  22738. "type": "integer"
  22739. },
  22740. "biztype": {
  22741. "description": "业务类型 1-套保 2-套利",
  22742. "type": "integer"
  22743. },
  22744. "brandname": {
  22745. "description": "品牌名称",
  22746. "type": "string"
  22747. },
  22748. "contracctstatus": {
  22749. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22750. "type": "integer"
  22751. },
  22752. "contractmargin": {
  22753. "description": "合同保证金",
  22754. "type": "number"
  22755. },
  22756. "contractno": {
  22757. "description": "合同编号",
  22758. "type": "string"
  22759. },
  22760. "contracttype": {
  22761. "description": "合同类型 1-采购, -1-销售",
  22762. "type": "integer"
  22763. },
  22764. "convertfactor": {
  22765. "description": "标仓系数(品类)",
  22766. "type": "number"
  22767. },
  22768. "createtime": {
  22769. "description": "创建时间",
  22770. "type": "string"
  22771. },
  22772. "currencyid": {
  22773. "description": "币种id",
  22774. "type": "integer"
  22775. },
  22776. "currencyname": {
  22777. "description": "币种名称",
  22778. "type": "string"
  22779. },
  22780. "daikaiamount": {
  22781. "description": "应收(开)票额",
  22782. "type": "number"
  22783. },
  22784. "deliveryenddate": {
  22785. "description": "交割结束日",
  22786. "type": "string"
  22787. },
  22788. "deliverygoodscode": {
  22789. "description": "现货品种代码",
  22790. "type": "string"
  22791. },
  22792. "deliverygoodsid": {
  22793. "description": "现货商品ID",
  22794. "type": "integer"
  22795. },
  22796. "deliverygoodsname": {
  22797. "description": "现货品种名称",
  22798. "type": "string"
  22799. },
  22800. "deliverystartdate": {
  22801. "description": "交割开始日",
  22802. "type": "string"
  22803. },
  22804. "enddate": {
  22805. "description": "点价结束日",
  22806. "type": "string"
  22807. },
  22808. "enumdicname": {
  22809. "description": "单位名称",
  22810. "type": "string"
  22811. },
  22812. "goodscode": {
  22813. "description": "点价商品代码",
  22814. "type": "string"
  22815. },
  22816. "goodsgroupid": {
  22817. "description": "点价商品组id",
  22818. "type": "integer"
  22819. },
  22820. "goodsid": {
  22821. "description": "点价商品ID",
  22822. "type": "integer"
  22823. },
  22824. "goodsname": {
  22825. "description": "点价商品名称",
  22826. "type": "string"
  22827. },
  22828. "invoiceamount": {
  22829. "description": "已开票额",
  22830. "type": "number"
  22831. },
  22832. "loanamount": {
  22833. "description": "贷款总额=已定价额+调整金额",
  22834. "type": "number"
  22835. },
  22836. "margin": {
  22837. "description": "保证金",
  22838. "type": "number"
  22839. },
  22840. "meruserid": {
  22841. "description": "跟单员id",
  22842. "type": "integer"
  22843. },
  22844. "meruserlogincode": {
  22845. "description": "跟单员登录代码",
  22846. "type": "string"
  22847. },
  22848. "merusername": {
  22849. "description": "跟单员名称",
  22850. "type": "string"
  22851. },
  22852. "nickname": {
  22853. "description": "账户昵称",
  22854. "type": "string"
  22855. },
  22856. "orireckonrealqty": {
  22857. "description": "应交收量",
  22858. "type": "number"
  22859. },
  22860. "payamount": {
  22861. "description": "已收付额(收款或付款)",
  22862. "type": "number"
  22863. },
  22864. "preinvoiceamount": {
  22865. "description": "预收(开)票额",
  22866. "type": "number"
  22867. },
  22868. "prepayamount": {
  22869. "description": "预收付额",
  22870. "type": "number"
  22871. },
  22872. "price": {
  22873. "description": "价格",
  22874. "type": "number"
  22875. },
  22876. "pricedamount": {
  22877. "description": "已定价额",
  22878. "type": "number"
  22879. },
  22880. "pricedavg": {
  22881. "description": "已点均价",
  22882. "type": "number"
  22883. },
  22884. "pricedqty": {
  22885. "description": "已定价量",
  22886. "type": "number"
  22887. },
  22888. "pricemove": {
  22889. "description": "升贴水",
  22890. "type": "number"
  22891. },
  22892. "pricetype": {
  22893. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22894. "type": "integer"
  22895. },
  22896. "producttype": {
  22897. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22898. "type": "integer"
  22899. },
  22900. "qty": {
  22901. "description": "合同量",
  22902. "type": "number"
  22903. },
  22904. "reckonadjustamount": {
  22905. "description": "调整金额",
  22906. "type": "number"
  22907. },
  22908. "reckonedamount": {
  22909. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  22910. "type": "number"
  22911. },
  22912. "reckonotheramount": {
  22913. "description": "其它费用",
  22914. "type": "number"
  22915. },
  22916. "reckonrealqty": {
  22917. "description": "已交收量",
  22918. "type": "number"
  22919. },
  22920. "remark": {
  22921. "description": "备注",
  22922. "type": "string"
  22923. },
  22924. "saleuserid": {
  22925. "description": "业务员id",
  22926. "type": "integer"
  22927. },
  22928. "saleuserlogincode": {
  22929. "description": "业务员登录代码",
  22930. "type": "string"
  22931. },
  22932. "saleusername": {
  22933. "description": "业务员名称",
  22934. "type": "string"
  22935. },
  22936. "spotcontractid": {
  22937. "description": "合同ID",
  22938. "type": "string"
  22939. },
  22940. "spotgoodsbrandid": {
  22941. "description": "现货品牌ID(DGFactoryItem表的ID)",
  22942. "type": "integer"
  22943. },
  22944. "spotgoodsdesc": {
  22945. "description": "商品型号(商品规格)",
  22946. "type": "string"
  22947. },
  22948. "startdate": {
  22949. "description": "点价开始日",
  22950. "type": "string"
  22951. },
  22952. "subjectid": {
  22953. "description": "交易主体ID",
  22954. "type": "integer"
  22955. },
  22956. "subjectname": {
  22957. "description": "交易主体名称",
  22958. "type": "string"
  22959. },
  22960. "totalamount": {
  22961. "description": "合计总额",
  22962. "type": "number"
  22963. },
  22964. "tradeuserid": {
  22965. "description": "交易员id",
  22966. "type": "integer"
  22967. },
  22968. "tradeuserlogincode": {
  22969. "description": "交易员登录代码",
  22970. "type": "string"
  22971. },
  22972. "tradeusername": {
  22973. "description": "交易员名称",
  22974. "type": "string"
  22975. },
  22976. "unpayamount": {
  22977. "description": "应收付款额(应支付或应收款)",
  22978. "type": "number"
  22979. },
  22980. "unpricedqty": {
  22981. "description": "未定价量",
  22982. "type": "number"
  22983. },
  22984. "unsureqty": {
  22985. "description": "未确定量",
  22986. "type": "number"
  22987. },
  22988. "userid": {
  22989. "description": "机构ID",
  22990. "type": "integer"
  22991. },
  22992. "vatrate": {
  22993. "description": "增值税率",
  22994. "type": "number"
  22995. },
  22996. "wrstandardcode": {
  22997. "description": "品类代码",
  22998. "type": "string"
  22999. },
  23000. "wrstandardid": {
  23001. "description": "品类ID",
  23002. "type": "integer"
  23003. },
  23004. "wrstandardname": {
  23005. "description": "品类名称",
  23006. "type": "string"
  23007. }
  23008. }
  23009. },
  23010. "models.Ermcp3SpotGoodsPrice": {
  23011. "type": "object",
  23012. "properties": {
  23013. "areauserid": {
  23014. "description": "所属机构id",
  23015. "type": "integer"
  23016. },
  23017. "brandname": {
  23018. "description": "品牌名称",
  23019. "type": "string"
  23020. },
  23021. "currencyid": {
  23022. "description": "报价货币ID",
  23023. "type": "integer"
  23024. },
  23025. "currencyname": {
  23026. "description": "币种名称",
  23027. "type": "string"
  23028. },
  23029. "deliverygoodscode": {
  23030. "description": "现货商品代码",
  23031. "type": "string"
  23032. },
  23033. "deliverygoodsid": {
  23034. "description": "现货商品id",
  23035. "type": "integer"
  23036. },
  23037. "deliverygoodsname": {
  23038. "description": "现货商品名称",
  23039. "type": "string"
  23040. },
  23041. "enumdicname": {
  23042. "description": "现货商品单位名称",
  23043. "type": "string"
  23044. },
  23045. "gbenumdicname": {
  23046. "description": "品类单位名称",
  23047. "type": "string"
  23048. },
  23049. "gmunitid": {
  23050. "description": "品类单位id",
  23051. "type": "integer"
  23052. },
  23053. "isvalid": {
  23054. "description": "是否有效 - 0:无效 1:有效",
  23055. "type": "integer"
  23056. },
  23057. "operateid": {
  23058. "description": "最后操作人",
  23059. "type": "integer"
  23060. },
  23061. "operatesrc": {
  23062. "description": "最后操作来源 - 1:管理端 2:终端",
  23063. "type": "integer"
  23064. },
  23065. "operatetime": {
  23066. "description": "最后操作时间",
  23067. "type": "string"
  23068. },
  23069. "operatorname": {
  23070. "description": "操作人名称",
  23071. "type": "string"
  23072. },
  23073. "spotgoodsbrandid": {
  23074. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23075. "type": "integer"
  23076. },
  23077. "spotgoodsprice": {
  23078. "description": "现货价格",
  23079. "type": "number"
  23080. },
  23081. "tradedate": {
  23082. "description": "交易日(yyyyMMdd)",
  23083. "type": "string"
  23084. },
  23085. "unitid": {
  23086. "description": "现货商品单位id",
  23087. "type": "integer"
  23088. },
  23089. "wrstandardcode": {
  23090. "description": "品类代码",
  23091. "type": "string"
  23092. },
  23093. "wrstandardid": {
  23094. "description": "现货品类ID(通用则为0)",
  23095. "type": "integer"
  23096. },
  23097. "wrstandardname": {
  23098. "description": "品类名称",
  23099. "type": "string"
  23100. }
  23101. }
  23102. },
  23103. "models.Ermcp3SpotGoodsPriceLog": {
  23104. "type": "object",
  23105. "properties": {
  23106. "areauserid": {
  23107. "description": "所属机构id",
  23108. "type": "integer"
  23109. },
  23110. "brandname": {
  23111. "description": "品牌名称",
  23112. "type": "string"
  23113. },
  23114. "currencyid": {
  23115. "description": "报价货币ID",
  23116. "type": "integer"
  23117. },
  23118. "deliverygoodscode": {
  23119. "description": "现货商品代码",
  23120. "type": "string"
  23121. },
  23122. "deliverygoodsid": {
  23123. "description": "现货商品id",
  23124. "type": "integer"
  23125. },
  23126. "deliverygoodsname": {
  23127. "description": "现货商品名称",
  23128. "type": "string"
  23129. },
  23130. "enumdicname": {
  23131. "description": "现货商品单位名称",
  23132. "type": "string"
  23133. },
  23134. "gbenumdicname": {
  23135. "description": "品类单位名称",
  23136. "type": "string"
  23137. },
  23138. "gmunitid": {
  23139. "description": "品类单位id",
  23140. "type": "integer"
  23141. },
  23142. "logid": {
  23143. "description": "日志id",
  23144. "type": "integer"
  23145. },
  23146. "operateid": {
  23147. "description": "最后操作人",
  23148. "type": "integer"
  23149. },
  23150. "operatesrc": {
  23151. "description": "最后操作来源 - 1:管理端 2:终端",
  23152. "type": "integer"
  23153. },
  23154. "operatetime": {
  23155. "description": "最后操作时间",
  23156. "type": "string"
  23157. },
  23158. "operatorname": {
  23159. "description": "操作人名称",
  23160. "type": "string"
  23161. },
  23162. "spotgoodsbrandid": {
  23163. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23164. "type": "integer"
  23165. },
  23166. "spotgoodsprice": {
  23167. "description": "现货价格",
  23168. "type": "number"
  23169. },
  23170. "tradedate": {
  23171. "description": "交易日(yyyyMMdd)",
  23172. "type": "string"
  23173. },
  23174. "unitid": {
  23175. "description": "现货商品单位id",
  23176. "type": "integer"
  23177. },
  23178. "wrstandardcode": {
  23179. "description": "品类代码",
  23180. "type": "string"
  23181. },
  23182. "wrstandardid": {
  23183. "description": "现货品类ID(通用则为0)",
  23184. "type": "integer"
  23185. },
  23186. "wrstandardname": {
  23187. "description": "品类名称",
  23188. "type": "string"
  23189. }
  23190. }
  23191. },
  23192. "models.Ermcp3SubTaaccount": {
  23193. "type": "object",
  23194. "properties": {
  23195. "accountid": {
  23196. "description": "资金账户ID",
  23197. "type": "integer"
  23198. },
  23199. "parentaccountcode": {
  23200. "description": "所属根账号代码(母账号代码)",
  23201. "type": "string"
  23202. },
  23203. "parentaccountid": {
  23204. "description": "所属根账号(母账号)",
  23205. "type": "integer"
  23206. },
  23207. "taname": {
  23208. "description": "资金账号名称",
  23209. "type": "string"
  23210. },
  23211. "tradestatus": {
  23212. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  23213. "type": "integer"
  23214. },
  23215. "username": {
  23216. "description": "交易用户",
  23217. "type": "string"
  23218. }
  23219. }
  23220. },
  23221. "models.Ermcp3TaFutuReDataReport": {
  23222. "type": "object",
  23223. "properties": {
  23224. "accountid": {
  23225. "description": "交易账户",
  23226. "type": "integer"
  23227. },
  23228. "accountname": {
  23229. "description": "交易账号名称",
  23230. "type": "string"
  23231. },
  23232. "agreeunit": {
  23233. "description": "商品合约单位",
  23234. "type": "number"
  23235. },
  23236. "begindate": {
  23237. "description": "开始交易日",
  23238. "type": "string"
  23239. },
  23240. "buyorsell": {
  23241. "description": "持仓方向",
  23242. "type": "integer"
  23243. },
  23244. "charge": {
  23245. "description": "手续费",
  23246. "type": "number"
  23247. },
  23248. "closeavgprice": {
  23249. "description": "平仓均价",
  23250. "type": "number"
  23251. },
  23252. "closepl": {
  23253. "description": "平仓损益",
  23254. "type": "number"
  23255. },
  23256. "currencyid": {
  23257. "description": "结算币种ID",
  23258. "type": "integer"
  23259. },
  23260. "currencyname": {
  23261. "description": "币种名称",
  23262. "type": "string"
  23263. },
  23264. "cycletime": {
  23265. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23266. "type": "string"
  23267. },
  23268. "cycletype": {
  23269. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23270. "type": "integer"
  23271. },
  23272. "enddate": {
  23273. "description": "结束交易日",
  23274. "type": "string"
  23275. },
  23276. "enumdicname": {
  23277. "description": "单位名称",
  23278. "type": "string"
  23279. },
  23280. "floatpl": {
  23281. "description": "浮动损益",
  23282. "type": "number"
  23283. },
  23284. "goodscode": {
  23285. "description": "交易合约代码",
  23286. "type": "string"
  23287. },
  23288. "goodsgroupid": {
  23289. "description": "交易品种",
  23290. "type": "integer"
  23291. },
  23292. "goodsgroupname": {
  23293. "description": "交易品种名称",
  23294. "type": "string"
  23295. },
  23296. "goodsgroupspotqty": {
  23297. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  23298. "type": "number"
  23299. },
  23300. "goodsid": {
  23301. "description": "交易合约",
  23302. "type": "integer"
  23303. },
  23304. "goodsname": {
  23305. "description": "交易合约名称",
  23306. "type": "string"
  23307. },
  23308. "goodunitid": {
  23309. "description": "交易合约单位id",
  23310. "type": "integer"
  23311. },
  23312. "holdamount": {
  23313. "description": "期末持仓额",
  23314. "type": "number"
  23315. },
  23316. "holdqty": {
  23317. "description": "期末持仓量",
  23318. "type": "number"
  23319. },
  23320. "lastholdamount": {
  23321. "description": "当前持仓额",
  23322. "type": "number"
  23323. },
  23324. "lastprice": {
  23325. "description": "最新价",
  23326. "type": "number"
  23327. },
  23328. "middlegoodsid": {
  23329. "description": "套保品种id",
  23330. "type": "integer"
  23331. },
  23332. "middlegoodsname": {
  23333. "description": "套保商品名称",
  23334. "type": "string"
  23335. },
  23336. "middlegoodsqty": {
  23337. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  23338. "type": "number"
  23339. },
  23340. "middlgoodscode": {
  23341. "description": "套保商品代码",
  23342. "type": "string"
  23343. },
  23344. "openamount": {
  23345. "description": "期末开仓额",
  23346. "type": "number"
  23347. },
  23348. "openavgprice": {
  23349. "description": "开仓均价",
  23350. "type": "number"
  23351. },
  23352. "oriholdamount": {
  23353. "description": "期初持仓额",
  23354. "type": "number"
  23355. },
  23356. "oriholdqty": {
  23357. "description": "期初持仓量",
  23358. "type": "number"
  23359. },
  23360. "oriopenamount": {
  23361. "description": "期初开仓额",
  23362. "type": "number"
  23363. },
  23364. "outergroupcode": {
  23365. "description": "交易品种代码",
  23366. "type": "string"
  23367. },
  23368. "qtydecimalplace": {
  23369. "description": "成交量小数位",
  23370. "type": "integer"
  23371. },
  23372. "reckondate": {
  23373. "description": "日照时期(yyyyMMdd)",
  23374. "type": "string"
  23375. },
  23376. "reckonholdamount": {
  23377. "description": "结算持仓额",
  23378. "type": "number"
  23379. },
  23380. "reckonpl": {
  23381. "description": "结算损益",
  23382. "type": "number"
  23383. },
  23384. "reckonpl2": {
  23385. "description": "结算逐笔盈亏",
  23386. "type": "number"
  23387. },
  23388. "reckonprice": {
  23389. "description": "结算价",
  23390. "type": "number"
  23391. },
  23392. "relateduserid": {
  23393. "description": "账户关联用户ID",
  23394. "type": "integer"
  23395. },
  23396. "todaycloseamount": {
  23397. "description": "今平仓额",
  23398. "type": "number"
  23399. },
  23400. "todaycloseqty": {
  23401. "description": "今平仓量",
  23402. "type": "number"
  23403. },
  23404. "todaygoodsgroupspotqty": {
  23405. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  23406. "type": "number"
  23407. },
  23408. "todaymiddlegoodsqty": {
  23409. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  23410. "type": "number"
  23411. },
  23412. "todayopenamount": {
  23413. "description": "今开仓额",
  23414. "type": "number"
  23415. },
  23416. "todayopenqty": {
  23417. "description": "今开仓量",
  23418. "type": "number"
  23419. },
  23420. "userid": {
  23421. "description": "账户所属用户ID",
  23422. "type": "integer"
  23423. }
  23424. }
  23425. },
  23426. "models.Ermcp3TradeLinkDetail": {
  23427. "type": "object",
  23428. "properties": {
  23429. "accountid": {
  23430. "description": "资金账号",
  23431. "type": "integer"
  23432. },
  23433. "agreeunit": {
  23434. "description": "合约乘数",
  23435. "type": "number"
  23436. },
  23437. "areauserid": {
  23438. "description": "所属机构",
  23439. "type": "string"
  23440. },
  23441. "bizsubjectid": {
  23442. "description": "归属业务部门ID - SubjectID",
  23443. "type": "string"
  23444. },
  23445. "buyorsell": {
  23446. "description": "方向 - 0:买 1:卖",
  23447. "type": "integer"
  23448. },
  23449. "channelbuildtype": {
  23450. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23451. "type": "integer"
  23452. },
  23453. "contractno": {
  23454. "description": "现货编号 (合同编号)",
  23455. "type": "string"
  23456. },
  23457. "convertratio": {
  23458. "description": "折算系数",
  23459. "type": "number"
  23460. },
  23461. "createtime": {
  23462. "description": "关联时间 | 创建时间",
  23463. "type": "string"
  23464. },
  23465. "creatorid": {
  23466. "description": "创建人ID",
  23467. "type": "string"
  23468. },
  23469. "creatorsrc": {
  23470. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23471. "type": "integer"
  23472. },
  23473. "enumdicname": {
  23474. "description": "单位名称",
  23475. "type": "string"
  23476. },
  23477. "goodscode": {
  23478. "description": "合约代码",
  23479. "type": "string"
  23480. },
  23481. "goodsgroupid": {
  23482. "description": "对冲品种ID[期货合约商品组ID]",
  23483. "type": "integer"
  23484. },
  23485. "goodsid": {
  23486. "description": "商品ID",
  23487. "type": "integer"
  23488. },
  23489. "goodsname": {
  23490. "description": "合约名称",
  23491. "type": "string"
  23492. },
  23493. "hedgeflag": {
  23494. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23495. "type": "integer"
  23496. },
  23497. "linkdetailid": {
  23498. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  23499. "type": "string"
  23500. },
  23501. "linkstatus": {
  23502. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  23503. "type": "integer"
  23504. },
  23505. "middlegoodscode": {
  23506. "description": "套保品种代码",
  23507. "type": "string"
  23508. },
  23509. "middlegoodsid": {
  23510. "description": "套保品种ID",
  23511. "type": "integer"
  23512. },
  23513. "middlegoodsname": {
  23514. "description": "套保品种名称",
  23515. "type": "string"
  23516. },
  23517. "relatedlot": {
  23518. "description": "关联手数",
  23519. "type": "number"
  23520. },
  23521. "relatedmode": {
  23522. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  23523. "type": "integer"
  23524. },
  23525. "relatedqty": {
  23526. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  23527. "type": "number"
  23528. },
  23529. "retcode": {
  23530. "description": "返回码",
  23531. "type": "integer"
  23532. },
  23533. "saleuserid": {
  23534. "description": "业务员ID",
  23535. "type": "string"
  23536. },
  23537. "spotcontractid": {
  23538. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  23539. "type": "string"
  23540. },
  23541. "taname": {
  23542. "description": "期货账户",
  23543. "type": "string"
  23544. },
  23545. "tradedate": {
  23546. "description": "关联交易日(yyyyMMdd)",
  23547. "type": "string"
  23548. },
  23549. "tradeid": {
  23550. "description": "期货订单号 | 内部成交单ID",
  23551. "type": "string"
  23552. },
  23553. "tradelot": {
  23554. "description": "成交数量 | 成交手数",
  23555. "type": "integer"
  23556. },
  23557. "tradeprice": {
  23558. "description": "成交价格",
  23559. "type": "number"
  23560. },
  23561. "tradetime": {
  23562. "description": "期货成交时间",
  23563. "type": "string"
  23564. },
  23565. "tradetradedate": {
  23566. "description": "成交交易日(yyyyMMdd)",
  23567. "type": "string"
  23568. },
  23569. "username": {
  23570. "description": "用户名称",
  23571. "type": "string"
  23572. }
  23573. }
  23574. },
  23575. "models.Ermcp3Wrstandard": {
  23576. "type": "object",
  23577. "properties": {
  23578. "areauserid": {
  23579. "description": "所属机构",
  23580. "type": "integer"
  23581. },
  23582. "cantrade": {
  23583. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  23584. "type": "integer"
  23585. },
  23586. "convertfactor": {
  23587. "description": "标仓系数",
  23588. "type": "number"
  23589. },
  23590. "createtime": {
  23591. "description": "创建时间",
  23592. "type": "string"
  23593. },
  23594. "creatorid": {
  23595. "description": "创建人",
  23596. "type": "integer"
  23597. },
  23598. "deliverygoodsid": {
  23599. "description": "现货品种ID",
  23600. "type": "integer"
  23601. },
  23602. "enumdicname": {
  23603. "description": "品类单位名称",
  23604. "type": "string"
  23605. },
  23606. "isvalid": {
  23607. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  23608. "type": "integer"
  23609. },
  23610. "minivalue": {
  23611. "description": "最小变动值",
  23612. "type": "integer"
  23613. },
  23614. "minivaluedp": {
  23615. "description": "最小变动值小数位",
  23616. "type": "integer"
  23617. },
  23618. "realminivalue": {
  23619. "description": "实际最小变动值",
  23620. "type": "integer"
  23621. },
  23622. "realminivaluedp": {
  23623. "description": "实际最小变动值小数位",
  23624. "type": "integer"
  23625. },
  23626. "remark": {
  23627. "description": "备注",
  23628. "type": "string"
  23629. },
  23630. "unitid": {
  23631. "description": "品类单位ID",
  23632. "type": "integer"
  23633. },
  23634. "updatetime": {
  23635. "description": "更新时间",
  23636. "type": "string"
  23637. },
  23638. "wrstandardcode": {
  23639. "description": "品类代码",
  23640. "type": "string"
  23641. },
  23642. "wrstandardid": {
  23643. "description": "品类ID(SEQ_WRSTANDARD)",
  23644. "type": "integer"
  23645. },
  23646. "wrstandardname": {
  23647. "description": "品类名称",
  23648. "type": "string"
  23649. }
  23650. }
  23651. },
  23652. "models.ErmcpBizGroupEx": {
  23653. "type": "object",
  23654. "properties": {
  23655. "acclist": {
  23656. "description": "账号列表",
  23657. "type": "array",
  23658. "items": {
  23659. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  23660. }
  23661. },
  23662. "bizgroupid": {
  23663. "description": "业务分组id",
  23664. "type": "integer"
  23665. },
  23666. "biztype": {
  23667. "description": "业务类型 1-套保 2-套利",
  23668. "type": "integer"
  23669. },
  23670. "wrlist": {
  23671. "description": "现货商品表",
  23672. "type": "array",
  23673. "items": {
  23674. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  23675. }
  23676. }
  23677. }
  23678. },
  23679. "models.ErmcpBizGroupSpotGoods": {
  23680. "type": "object",
  23681. "properties": {
  23682. "areauserid": {
  23683. "description": "所属机构id",
  23684. "type": "integer"
  23685. },
  23686. "bizgroupid": {
  23687. "description": "分组id",
  23688. "type": "integer"
  23689. },
  23690. "biztype": {
  23691. "description": "业务类型 1-套保 2-套利",
  23692. "type": "integer"
  23693. },
  23694. "deliverygoodscode": {
  23695. "description": "现货商品代码",
  23696. "type": "string"
  23697. },
  23698. "deliverygoodsid": {
  23699. "description": "现货商品id",
  23700. "type": "integer"
  23701. },
  23702. "deliverygoodsname": {
  23703. "description": "现货商品名称",
  23704. "type": "string"
  23705. },
  23706. "unitid": {
  23707. "description": "现货商品单位id",
  23708. "type": "integer"
  23709. }
  23710. }
  23711. },
  23712. "models.ErmcpBizGroupTaAccount": {
  23713. "type": "object",
  23714. "properties": {
  23715. "accountid": {
  23716. "description": "账号id",
  23717. "type": "integer"
  23718. },
  23719. "accountname": {
  23720. "description": "账号名称",
  23721. "type": "string"
  23722. },
  23723. "areauserid": {
  23724. "description": "所属机构id",
  23725. "type": "integer"
  23726. },
  23727. "bizgroupid": {
  23728. "description": "业务分组id",
  23729. "type": "integer"
  23730. },
  23731. "ismain": {
  23732. "description": "是否主账号 1-是 0-否",
  23733. "type": "integer"
  23734. }
  23735. }
  23736. },
  23737. "models.ErmcpDGFactoryItem": {
  23738. "type": "object",
  23739. "properties": {
  23740. "areauserid": {
  23741. "description": "用户id",
  23742. "type": "integer"
  23743. },
  23744. "deliverygoodsid": {
  23745. "description": "现货品种ID",
  23746. "type": "integer"
  23747. },
  23748. "dgfactoryitemid": {
  23749. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  23750. "type": "integer"
  23751. },
  23752. "dgfactoryitemtypeid": {
  23753. "description": "要素项类型",
  23754. "type": "integer"
  23755. },
  23756. "dgfactoryitemvalue": {
  23757. "description": "要素项值(类型为仓库时填写仓库名称)",
  23758. "type": "string"
  23759. },
  23760. "isvalid": {
  23761. "description": "是否有效 - 0:无效 1:有效",
  23762. "type": "integer"
  23763. },
  23764. "orderindex": {
  23765. "description": "顺序",
  23766. "type": "integer"
  23767. },
  23768. "warehouseid": {
  23769. "description": "仓库ID(类型为仓库时填写)",
  23770. "type": "integer"
  23771. }
  23772. }
  23773. },
  23774. "models.ErmcpDeliveryGoods": {
  23775. "type": "object",
  23776. "properties": {
  23777. "agreeunit": {
  23778. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  23779. "type": "integer"
  23780. },
  23781. "areauserid": {
  23782. "description": "所属机构",
  23783. "type": "integer"
  23784. },
  23785. "auditflag": {
  23786. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  23787. "type": "integer"
  23788. },
  23789. "categoryid": {
  23790. "description": "类别ID(SEQ_WRCATEGORY)",
  23791. "type": "integer"
  23792. },
  23793. "deliverygoodscode": {
  23794. "description": "现货品种代码",
  23795. "type": "string"
  23796. },
  23797. "deliverygoodsid": {
  23798. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  23799. "type": "integer"
  23800. },
  23801. "deliverygoodsname": {
  23802. "description": "现货品种名称",
  23803. "type": "string"
  23804. },
  23805. "deliverygoodstype": {
  23806. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  23807. "type": "integer"
  23808. },
  23809. "dgstatus": {
  23810. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  23811. "type": "integer"
  23812. },
  23813. "enumdicname": {
  23814. "description": "现货品种单位名称",
  23815. "type": "string"
  23816. },
  23817. "goodsunitid": {
  23818. "description": "现货品种单位ID",
  23819. "type": "integer"
  23820. },
  23821. "isvalid": {
  23822. "description": "是否有效 - 0:无效 1:有效",
  23823. "type": "integer"
  23824. },
  23825. "qtydecimalplace": {
  23826. "description": "成交量小数位",
  23827. "type": "integer"
  23828. },
  23829. "remark": {
  23830. "description": "备注",
  23831. "type": "string"
  23832. },
  23833. "standardqty": {
  23834. "description": "标准数量(库位数量) [标准品特有]",
  23835. "type": "integer"
  23836. },
  23837. "standardqtyrange": {
  23838. "description": "标准数量偏差范围 [标准品特有]",
  23839. "type": "integer"
  23840. }
  23841. }
  23842. },
  23843. "models.ErmcpFuturesCompany": {
  23844. "type": "object",
  23845. "properties": {
  23846. "brokerid": {
  23847. "description": "经纪公司代码",
  23848. "type": "string"
  23849. },
  23850. "channeladdress": {
  23851. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  23852. "type": "string"
  23853. },
  23854. "channelid": {
  23855. "description": "对冲渠道ID",
  23856. "type": "string"
  23857. },
  23858. "createtime": {
  23859. "description": "创建时间",
  23860. "type": "string"
  23861. },
  23862. "creatorid": {
  23863. "description": "创建人",
  23864. "type": "string"
  23865. },
  23866. "fcid": {
  23867. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  23868. "type": "integer"
  23869. },
  23870. "fcname": {
  23871. "description": "期货公司名称",
  23872. "type": "string"
  23873. },
  23874. "isvalid": {
  23875. "description": "是否有效 - 0:无效 1:有效",
  23876. "type": "integer"
  23877. },
  23878. "mhpaddress": {
  23879. "description": "MHP服务地址(IP:Port)",
  23880. "type": "string"
  23881. },
  23882. "riskrulegroupid": {
  23883. "description": "风控规则组ID",
  23884. "type": "string"
  23885. },
  23886. "tradefeetmpid": {
  23887. "description": "手续费模板ID[TradeConfigTmpType为2]",
  23888. "type": "string"
  23889. },
  23890. "trademargintmpid": {
  23891. "description": "保证金模板ID [TradeConfigTmpType为1]",
  23892. "type": "string"
  23893. },
  23894. "traderatetmpid": {
  23895. "description": "汇率模板ID[TradeConfigTmpType为3]",
  23896. "type": "string"
  23897. },
  23898. "updatetime": {
  23899. "description": "更新时间",
  23900. "type": "string"
  23901. },
  23902. "updatorid": {
  23903. "description": "更新人",
  23904. "type": "string"
  23905. }
  23906. }
  23907. },
  23908. "models.ErmcpGGConvertCfg": {
  23909. "type": "object",
  23910. "properties": {
  23911. "convertratio": {
  23912. "description": "折算系数",
  23913. "type": "number"
  23914. },
  23915. "destgoodsgroupid": {
  23916. "description": "目标品种ID",
  23917. "type": "integer"
  23918. },
  23919. "dstcode": {
  23920. "description": "目录品种代码",
  23921. "type": "string"
  23922. },
  23923. "dstexchangecode": {
  23924. "description": "目标期货交易所",
  23925. "type": "string"
  23926. },
  23927. "dstname": {
  23928. "description": "目标品种名称",
  23929. "type": "string"
  23930. },
  23931. "dstunitid": {
  23932. "description": "目标品种单位ID",
  23933. "type": "integer"
  23934. },
  23935. "dstunitidname": {
  23936. "description": "目标品种单位名称",
  23937. "type": "string"
  23938. },
  23939. "modifytime": {
  23940. "description": "修改时间",
  23941. "type": "string"
  23942. },
  23943. "srccode": {
  23944. "description": "源品种代码",
  23945. "type": "string"
  23946. },
  23947. "srcexchangecode": {
  23948. "description": "源期货交易所",
  23949. "type": "string"
  23950. },
  23951. "srcgoodsgroupid": {
  23952. "description": "源品种ID",
  23953. "type": "integer"
  23954. },
  23955. "srcname": {
  23956. "description": "源品种名称",
  23957. "type": "string"
  23958. },
  23959. "srcunitid": {
  23960. "description": "源品种单位ID",
  23961. "type": "integer"
  23962. },
  23963. "srcunitidname": {
  23964. "description": "源品种单位名称",
  23965. "type": "string"
  23966. }
  23967. }
  23968. },
  23969. "models.ErmcpGoods": {
  23970. "type": "object",
  23971. "required": [
  23972. "goodscode",
  23973. "goodsid",
  23974. "goodsname",
  23975. "marketid"
  23976. ],
  23977. "properties": {
  23978. "agreeunit": {
  23979. "description": "合约单位",
  23980. "type": "number"
  23981. },
  23982. "areauserid": {
  23983. "description": "所属机构",
  23984. "type": "integer"
  23985. },
  23986. "auditaccountid": {
  23987. "description": "审核操作员账号",
  23988. "type": "integer"
  23989. },
  23990. "audittime": {
  23991. "description": "审核时间",
  23992. "type": "string"
  23993. },
  23994. "cancelaccountid": {
  23995. "description": "注销操作员账号",
  23996. "type": "integer"
  23997. },
  23998. "canceltime": {
  23999. "description": "注销时间",
  24000. "type": "string"
  24001. },
  24002. "closepricemode": {
  24003. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24004. "type": "integer"
  24005. },
  24006. "closepriceparam": {
  24007. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  24008. "type": "number"
  24009. },
  24010. "createtime": {
  24011. "description": "创建时间",
  24012. "type": "string"
  24013. },
  24014. "creatorid": {
  24015. "description": "创建人",
  24016. "type": "integer"
  24017. },
  24018. "currencyid": {
  24019. "description": "报价货币ID",
  24020. "type": "integer"
  24021. },
  24022. "cutmode": {
  24023. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  24024. "type": "integer"
  24025. },
  24026. "decimalplace": {
  24027. "description": "报价小数位",
  24028. "type": "integer"
  24029. },
  24030. "delistingdate": {
  24031. "description": "商品退市时间(状态:退市) -- 已作废",
  24032. "type": "string"
  24033. },
  24034. "delistingmode": {
  24035. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  24036. "type": "integer"
  24037. },
  24038. "deliveryflag": {
  24039. "description": "交割标志 - 0:不可交割 1:可交割",
  24040. "type": "integer"
  24041. },
  24042. "enumdicname": {
  24043. "description": "单位名称",
  24044. "type": "string"
  24045. },
  24046. "forceclosemode": {
  24047. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  24048. "type": "integer"
  24049. },
  24050. "forceclosevalue": {
  24051. "description": "定期强平参数 [收益权]",
  24052. "type": "integer"
  24053. },
  24054. "goodscode": {
  24055. "description": "商品代码(内部)",
  24056. "type": "string"
  24057. },
  24058. "goodscurrencyid": {
  24059. "description": "合约货币ID",
  24060. "type": "integer"
  24061. },
  24062. "goodsgroupid": {
  24063. "description": "所属商品组ID",
  24064. "type": "integer"
  24065. },
  24066. "goodsid": {
  24067. "description": "商品ID(自增ID SEQ_GOODS)",
  24068. "type": "integer"
  24069. },
  24070. "goodsname": {
  24071. "description": "商品名称",
  24072. "type": "string"
  24073. },
  24074. "goodsquotetype": {
  24075. "description": "合约报价类型: 1-直接报价 2-间接报价",
  24076. "type": "integer"
  24077. },
  24078. "goodsstatus": {
  24079. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24080. "type": "integer"
  24081. },
  24082. "goodstradetype": {
  24083. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  24084. "type": "integer"
  24085. },
  24086. "goodunitid": {
  24087. "description": "报价单位ID",
  24088. "type": "integer"
  24089. },
  24090. "hasquoter": {
  24091. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  24092. "type": "integer"
  24093. },
  24094. "hqprotecttime": {
  24095. "description": "行情保护时间(秒)",
  24096. "type": "integer"
  24097. },
  24098. "innerdealmode": {
  24099. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24100. "type": "integer"
  24101. },
  24102. "isbuylimited": {
  24103. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24104. "type": "integer"
  24105. },
  24106. "isvisible": {
  24107. "description": "游客是否可见 - 0:不可见 1:可见",
  24108. "type": "integer"
  24109. },
  24110. "lasttradedate": {
  24111. "description": "最后交易日期(状态:待退市)",
  24112. "type": "string"
  24113. },
  24114. "listingdate": {
  24115. "description": "交易开始日期",
  24116. "type": "string"
  24117. },
  24118. "marketid": {
  24119. "description": "所属市场ID",
  24120. "type": "integer"
  24121. },
  24122. "modifierid": {
  24123. "description": "修改人",
  24124. "type": "integer"
  24125. },
  24126. "modifystatus": {
  24127. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  24128. "type": "integer"
  24129. },
  24130. "modifytime": {
  24131. "description": "修改时间",
  24132. "type": "string"
  24133. },
  24134. "outerdealmode": {
  24135. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24136. "type": "integer"
  24137. },
  24138. "outgoodscode": {
  24139. "description": "商品代码(外部)",
  24140. "type": "string"
  24141. },
  24142. "pictureurl": {
  24143. "description": "商品图片",
  24144. "type": "string"
  24145. },
  24146. "qtydecimalplace": {
  24147. "description": "成交量小数位",
  24148. "type": "integer"
  24149. },
  24150. "quotegear": {
  24151. "description": "行情档位(1-10)",
  24152. "type": "integer"
  24153. },
  24154. "quoteminunit": {
  24155. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24156. "type": "integer"
  24157. },
  24158. "quoteshowtype": {
  24159. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  24160. "type": "integer"
  24161. },
  24162. "quoteshowtypeinterval": {
  24163. "description": "行情报价间隔时间(秒)(成交价时为0)",
  24164. "type": "integer"
  24165. },
  24166. "relatedgoodsid": {
  24167. "description": "关联参考商品ID",
  24168. "type": "integer"
  24169. },
  24170. "remark": {
  24171. "description": "备注",
  24172. "type": "string"
  24173. },
  24174. "trademode": {
  24175. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24176. "type": "integer"
  24177. }
  24178. }
  24179. },
  24180. "models.ErmcpGoodsBrand": {
  24181. "type": "object",
  24182. "properties": {
  24183. "areauserid": {
  24184. "description": "所属机构",
  24185. "type": "integer"
  24186. },
  24187. "brandid": {
  24188. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  24189. "type": "integer"
  24190. },
  24191. "brandname": {
  24192. "description": "品牌名称",
  24193. "type": "string"
  24194. },
  24195. "createtime": {
  24196. "description": "创建时间",
  24197. "type": "string"
  24198. },
  24199. "creatorid": {
  24200. "description": "创建人",
  24201. "type": "integer"
  24202. },
  24203. "creatorsrc": {
  24204. "description": "创建人来源 - 1:管理端 2:终端",
  24205. "type": "integer"
  24206. },
  24207. "deliverygoodsid": {
  24208. "description": "现货品种ID",
  24209. "type": "integer"
  24210. },
  24211. "isvalid": {
  24212. "description": "是否有效 - 0:无效 1:有效",
  24213. "type": "integer"
  24214. },
  24215. "updatetime": {
  24216. "description": "更新时间",
  24217. "type": "string"
  24218. },
  24219. "updatorid": {
  24220. "description": "更新人",
  24221. "type": "integer"
  24222. },
  24223. "updatorsrc": {
  24224. "description": "更新人来源 - 1:管理端 2:终端",
  24225. "type": "integer"
  24226. },
  24227. "wrstandardid": {
  24228. "description": "现货商品ID",
  24229. "type": "integer"
  24230. }
  24231. }
  24232. },
  24233. "models.ErmcpGoodsModel": {
  24234. "type": "object",
  24235. "properties": {
  24236. "areauserid": {
  24237. "description": "所属机构",
  24238. "type": "integer"
  24239. },
  24240. "convertfactor": {
  24241. "description": "标仓系数",
  24242. "type": "number"
  24243. },
  24244. "createtime": {
  24245. "description": "创建时间",
  24246. "type": "string"
  24247. },
  24248. "creatorid": {
  24249. "description": "创建人",
  24250. "type": "integer"
  24251. },
  24252. "creatorsrc": {
  24253. "description": "创建人来源 - 1:管理端 2:终端",
  24254. "type": "integer"
  24255. },
  24256. "deliverygoodsid": {
  24257. "description": "现货品种ID",
  24258. "type": "integer"
  24259. },
  24260. "isvalid": {
  24261. "description": "是否有效 - 0:无效 1:有效",
  24262. "type": "integer"
  24263. },
  24264. "modelid": {
  24265. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  24266. "type": "integer"
  24267. },
  24268. "modelname": {
  24269. "description": "型号名称",
  24270. "type": "string"
  24271. },
  24272. "updatetime": {
  24273. "description": "更新时间",
  24274. "type": "string"
  24275. },
  24276. "updatorid": {
  24277. "description": "更新人",
  24278. "type": "integer"
  24279. },
  24280. "updatorsrc": {
  24281. "description": "更新人来源 - 1:管理端 2:终端",
  24282. "type": "integer"
  24283. },
  24284. "wrstandardid": {
  24285. "description": "现货商品ID",
  24286. "type": "integer"
  24287. }
  24288. }
  24289. },
  24290. "models.ErmcpHisExposure": {
  24291. "type": "object",
  24292. "properties": {
  24293. "needhedgeexposoure": {
  24294. "description": "应套保敞口",
  24295. "type": "number"
  24296. },
  24297. "reckondate": {
  24298. "description": "日照时期(yyyyMMdd)",
  24299. "type": "string"
  24300. },
  24301. "totalexposure": {
  24302. "description": "总敞口",
  24303. "type": "number"
  24304. }
  24305. }
  24306. },
  24307. "models.ErmcpLoginTaAccount": {
  24308. "type": "object",
  24309. "properties": {
  24310. "accountid": {
  24311. "description": "账号id",
  24312. "type": "integer"
  24313. },
  24314. "accountname": {
  24315. "description": "账号名称",
  24316. "type": "string"
  24317. }
  24318. }
  24319. },
  24320. "models.ErmcpLoginUser": {
  24321. "type": "object",
  24322. "properties": {
  24323. "acclist": {
  24324. "description": "关联资金账号",
  24325. "type": "array",
  24326. "items": {
  24327. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  24328. }
  24329. },
  24330. "accountname": {
  24331. "description": "用户名称",
  24332. "type": "string"
  24333. },
  24334. "clientroleid": {
  24335. "description": "角色id(usertype=2)",
  24336. "type": "integer"
  24337. },
  24338. "createtime": {
  24339. "description": "创建时间",
  24340. "type": "string"
  24341. },
  24342. "logincode": {
  24343. "description": "登录代码",
  24344. "type": "string"
  24345. },
  24346. "loginid": {
  24347. "description": "登录id(LOGINID)",
  24348. "type": "integer"
  24349. },
  24350. "loginname": {
  24351. "description": "登录名称(loginaccount表中的accountname字段)",
  24352. "type": "string"
  24353. },
  24354. "loginstatus": {
  24355. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  24356. "type": "integer"
  24357. },
  24358. "memberuserid": {
  24359. "description": "所属会员id",
  24360. "type": "integer"
  24361. },
  24362. "mobile": {
  24363. "description": "手机号",
  24364. "type": "string"
  24365. },
  24366. "modifytime": {
  24367. "description": "修改时间",
  24368. "type": "string"
  24369. },
  24370. "password": {
  24371. "description": "密码(不可解密)",
  24372. "type": "string"
  24373. },
  24374. "rolename": {
  24375. "description": "角色名称",
  24376. "type": "string"
  24377. },
  24378. "rolestatus": {
  24379. "description": "角色状态 1-启用 2-停用",
  24380. "type": "integer"
  24381. },
  24382. "roletype": {
  24383. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  24384. "type": "string"
  24385. },
  24386. "userid": {
  24387. "description": "用户id",
  24388. "type": "integer"
  24389. },
  24390. "usertype": {
  24391. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24392. "type": "integer"
  24393. }
  24394. }
  24395. },
  24396. "models.ErmcpLoginUserEx": {
  24397. "type": "object",
  24398. "properties": {
  24399. "accountstatus": {
  24400. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24401. "type": "integer"
  24402. },
  24403. "mobile": {
  24404. "description": "手机号",
  24405. "type": "string"
  24406. },
  24407. "querytype": {
  24408. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  24409. "type": "integer"
  24410. },
  24411. "roleid": {
  24412. "description": "角色id(交易账户-\u003e用户id)",
  24413. "type": "integer"
  24414. },
  24415. "rolename": {
  24416. "description": "角色名称(交易账户-\u003e用户名称)",
  24417. "type": "string"
  24418. },
  24419. "userlist": {
  24420. "description": "用户列表",
  24421. "type": "array",
  24422. "items": {
  24423. "$ref": "#/definitions/models.ErmcpLoginUser"
  24424. }
  24425. },
  24426. "usertype": {
  24427. "description": "用户类型 2-机构 7-企业成员(云平台)",
  24428. "type": "integer"
  24429. }
  24430. }
  24431. },
  24432. "models.ErmcpMiddleGoodsModel": {
  24433. "type": "object",
  24434. "properties": {
  24435. "areauserid": {
  24436. "description": "机构用户ID",
  24437. "type": "integer"
  24438. },
  24439. "createtime": {
  24440. "description": "修改时间",
  24441. "type": "string"
  24442. },
  24443. "enumdicname": {
  24444. "description": "单位名称",
  24445. "type": "string"
  24446. },
  24447. "evaluateratio": {
  24448. "description": "估价系数",
  24449. "type": "number"
  24450. },
  24451. "goodsgroupid": {
  24452. "description": "关联期货品种ID",
  24453. "type": "integer"
  24454. },
  24455. "goodsunitid": {
  24456. "description": "单位ID",
  24457. "type": "integer"
  24458. },
  24459. "isvalid": {
  24460. "description": "状态 0-无效(停用) 1-有效(正常)",
  24461. "type": "integer"
  24462. },
  24463. "middlegoodscode": {
  24464. "description": "套保品种代码",
  24465. "type": "string"
  24466. },
  24467. "middlegoodsid": {
  24468. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24469. "type": "integer"
  24470. },
  24471. "middlegoodsname": {
  24472. "description": "套保品种名称",
  24473. "type": "string"
  24474. },
  24475. "modifytime": {
  24476. "description": "修改时间",
  24477. "type": "string"
  24478. },
  24479. "needarbitrageratio": {
  24480. "description": "套利比例",
  24481. "type": "number"
  24482. },
  24483. "needhedgeratio": {
  24484. "description": "套保比率",
  24485. "type": "number"
  24486. },
  24487. "qtydecimalplace": {
  24488. "description": "数量小数位",
  24489. "type": "integer"
  24490. },
  24491. "relatedgoodsid": {
  24492. "description": "关联交易商品ID",
  24493. "type": "integer"
  24494. },
  24495. "relatedgoodstype": {
  24496. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  24497. "type": "integer"
  24498. },
  24499. "remark": {
  24500. "description": "备注",
  24501. "type": "string"
  24502. }
  24503. }
  24504. },
  24505. "models.ErmcpMiddlegoodsRelateGoods": {
  24506. "type": "object",
  24507. "properties": {
  24508. "agreeunit": {
  24509. "description": "合约乘数",
  24510. "type": "number"
  24511. },
  24512. "convertratio": {
  24513. "description": "折算系数",
  24514. "type": "number"
  24515. },
  24516. "enumdicname": {
  24517. "description": "单位名称(交易商品)",
  24518. "type": "string"
  24519. },
  24520. "goodscode": {
  24521. "description": "交易商品代码",
  24522. "type": "string"
  24523. },
  24524. "goodsgroupid": {
  24525. "description": "交易品种id",
  24526. "type": "integer"
  24527. },
  24528. "goodsid": {
  24529. "description": "商品Id",
  24530. "type": "integer"
  24531. },
  24532. "goodsname": {
  24533. "description": "交易商品名称",
  24534. "type": "string"
  24535. },
  24536. "goodunitid": {
  24537. "description": "交易商品单位id",
  24538. "type": "integer"
  24539. },
  24540. "middlegoodsid": {
  24541. "description": "套保商品id",
  24542. "type": "integer"
  24543. },
  24544. "middlegoodsname": {
  24545. "description": "套保商品名称",
  24546. "type": "string"
  24547. },
  24548. "middlegoodsswcode": {
  24549. "description": "套保商品代码",
  24550. "type": "string"
  24551. },
  24552. "needarbitrageratio": {
  24553. "description": "应套利比例",
  24554. "type": "number"
  24555. },
  24556. "needhedgeratio": {
  24557. "description": "应套保比例",
  24558. "type": "number"
  24559. }
  24560. }
  24561. },
  24562. "models.ErmcpRole": {
  24563. "type": "object",
  24564. "properties": {
  24565. "areauserid": {
  24566. "description": "所属机构",
  24567. "type": "integer"
  24568. },
  24569. "autoid": {
  24570. "description": "角色ID(自增ID)",
  24571. "type": "integer"
  24572. },
  24573. "modifierid": {
  24574. "description": "修改人(创建人)",
  24575. "type": "integer"
  24576. },
  24577. "modifiername": {
  24578. "description": "修改人名称",
  24579. "type": "string"
  24580. },
  24581. "modifytime": {
  24582. "description": "修改时间(创建时间)",
  24583. "type": "string"
  24584. },
  24585. "rolename": {
  24586. "description": "角色名称",
  24587. "type": "string"
  24588. },
  24589. "rolestatus": {
  24590. "description": "角色状态 - 1:启用 2:停用",
  24591. "type": "integer"
  24592. },
  24593. "roletype": {
  24594. "description": "角色类型 - 1- 管理端 2- 交易端",
  24595. "type": "integer"
  24596. }
  24597. }
  24598. },
  24599. "models.ErmcpRoleMenu": {
  24600. "type": "object",
  24601. "properties": {
  24602. "iconame": {
  24603. "description": "菜单图标",
  24604. "type": "string"
  24605. },
  24606. "ishadrole": {
  24607. "description": "是否有权限",
  24608. "type": "boolean"
  24609. },
  24610. "menutype": {
  24611. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  24612. "type": "integer"
  24613. },
  24614. "parentcode": {
  24615. "description": "上级资源代码",
  24616. "type": "string"
  24617. },
  24618. "remark": {
  24619. "description": "菜单备注",
  24620. "type": "string"
  24621. },
  24622. "resourcecode": {
  24623. "description": "菜单代码",
  24624. "type": "string"
  24625. },
  24626. "resourcelevel": {
  24627. "description": "级别",
  24628. "type": "integer"
  24629. },
  24630. "resourcename": {
  24631. "description": "菜单名称",
  24632. "type": "string"
  24633. },
  24634. "roleid": {
  24635. "description": "角色id",
  24636. "type": "integer"
  24637. },
  24638. "sort": {
  24639. "description": "排序",
  24640. "type": "integer"
  24641. },
  24642. "url": {
  24643. "description": "URL",
  24644. "type": "string"
  24645. },
  24646. "userid": {
  24647. "description": "用户id",
  24648. "type": "integer"
  24649. }
  24650. }
  24651. },
  24652. "models.ErmcpRoleMenuEx": {
  24653. "type": "object",
  24654. "properties": {
  24655. "menu": {
  24656. "description": "父级菜单",
  24657. "$ref": "#/definitions/models.ErmcpRoleMenu"
  24658. },
  24659. "subMenu": {
  24660. "description": "子级菜单",
  24661. "type": "array",
  24662. "items": {
  24663. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  24664. }
  24665. }
  24666. }
  24667. },
  24668. "models.ErmcpTaAccount": {
  24669. "type": "object",
  24670. "properties": {
  24671. "accountid": {
  24672. "description": "账户id",
  24673. "type": "integer"
  24674. },
  24675. "accountname": {
  24676. "description": "账户名称",
  24677. "type": "string"
  24678. },
  24679. "currencyid": {
  24680. "description": "币种id",
  24681. "type": "integer"
  24682. },
  24683. "hedgeaccountcode": {
  24684. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24685. "type": "string"
  24686. },
  24687. "ismain": {
  24688. "description": "是否主账户 0-否 1-是",
  24689. "type": "integer"
  24690. },
  24691. "parentaccountid": {
  24692. "description": "父账户id",
  24693. "type": "integer"
  24694. },
  24695. "relateduserid": {
  24696. "description": "关联userid",
  24697. "type": "integer"
  24698. },
  24699. "tradefeetmpid": {
  24700. "description": "手续费模板id",
  24701. "type": "integer"
  24702. },
  24703. "tradefeetmpname": {
  24704. "description": "手续费模板名称",
  24705. "type": "string"
  24706. },
  24707. "trademargintmpid": {
  24708. "description": "保证金模板id",
  24709. "type": "integer"
  24710. },
  24711. "trademargintmpname": {
  24712. "description": "保证金模板名称",
  24713. "type": "string"
  24714. },
  24715. "traderatetmpid": {
  24716. "description": "汇率模板id",
  24717. "type": "integer"
  24718. },
  24719. "traderatetmpname": {
  24720. "description": "汇率模板名称",
  24721. "type": "string"
  24722. },
  24723. "tradestatus": {
  24724. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24725. "type": "integer"
  24726. },
  24727. "userid": {
  24728. "description": "用户id",
  24729. "type": "integer"
  24730. }
  24731. }
  24732. },
  24733. "models.ErmcpTaAccountEx": {
  24734. "type": "object",
  24735. "properties": {
  24736. "mainAcc": {
  24737. "description": "主账号",
  24738. "$ref": "#/definitions/models.ErmcpTaAccountM"
  24739. },
  24740. "subacclist": {
  24741. "description": "子账号列表",
  24742. "type": "array",
  24743. "items": {
  24744. "$ref": "#/definitions/models.ErmcpTaAccount"
  24745. }
  24746. }
  24747. }
  24748. },
  24749. "models.ErmcpTaAccountInfo": {
  24750. "type": "object",
  24751. "properties": {
  24752. "accountid": {
  24753. "description": "资金账户ID",
  24754. "type": "integer"
  24755. },
  24756. "accountname": {
  24757. "description": "账户名称",
  24758. "type": "string"
  24759. },
  24760. "balance": {
  24761. "description": "期初余额",
  24762. "type": "number"
  24763. },
  24764. "capitalbalance": {
  24765. "description": "本金余额[外部子账户实际出入金余额]",
  24766. "type": "number"
  24767. },
  24768. "closepl": {
  24769. "description": "今日平仓盈亏",
  24770. "type": "number"
  24771. },
  24772. "creditdecrease": {
  24773. "description": "今日授信减少",
  24774. "type": "number"
  24775. },
  24776. "creditincrease": {
  24777. "description": "今日授信增加",
  24778. "type": "number"
  24779. },
  24780. "curdebt": {
  24781. "description": "期末欠款",
  24782. "type": "number"
  24783. },
  24784. "currencyid": {
  24785. "description": "货币ID",
  24786. "type": "integer"
  24787. },
  24788. "currentbalance": {
  24789. "description": "期末余额",
  24790. "type": "number"
  24791. },
  24792. "freezecharge": {
  24793. "description": "手续费冻结",
  24794. "type": "number"
  24795. },
  24796. "freezemargin": {
  24797. "description": "冻结保证金",
  24798. "type": "number"
  24799. },
  24800. "fromaccountid": {
  24801. "description": "所属上级账户",
  24802. "type": "integer"
  24803. },
  24804. "inamount": {
  24805. "description": "今日入金金额(包括三方入金)",
  24806. "type": "number"
  24807. },
  24808. "ismain": {
  24809. "description": "是否母账号 0:不是母账户 1:是母账户",
  24810. "type": "integer"
  24811. },
  24812. "mortgagecredit": {
  24813. "description": "授信金额",
  24814. "type": "number"
  24815. },
  24816. "oridebt": {
  24817. "description": "期初欠款",
  24818. "type": "number"
  24819. },
  24820. "orifreezecharge": {
  24821. "description": "期初手续费冻结",
  24822. "type": "number"
  24823. },
  24824. "orifreezemargin": {
  24825. "description": "期初冻结保证金",
  24826. "type": "number"
  24827. },
  24828. "orimortgagecredit": {
  24829. "description": "期初授信金额",
  24830. "type": "number"
  24831. },
  24832. "oriothercredit": {
  24833. "description": "期初其它授信金额",
  24834. "type": "number"
  24835. },
  24836. "oriotherfreezemargin": {
  24837. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  24838. "type": "number"
  24839. },
  24840. "orioutamountfreeze": {
  24841. "description": "期初出金冻结",
  24842. "type": "number"
  24843. },
  24844. "oriusedmargin": {
  24845. "description": "期初占用保证金",
  24846. "type": "number"
  24847. },
  24848. "othercredit": {
  24849. "description": "其它授信金额",
  24850. "type": "number"
  24851. },
  24852. "othercreditdecrease": {
  24853. "description": "今日其它授信减少",
  24854. "type": "number"
  24855. },
  24856. "othercreditincrease": {
  24857. "description": "今日其它授信增加",
  24858. "type": "number"
  24859. },
  24860. "otherfreezemargin": {
  24861. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  24862. "type": "number"
  24863. },
  24864. "outamount": {
  24865. "description": "今日出金金额(包括三方出金)",
  24866. "type": "number"
  24867. },
  24868. "outamountfreeze": {
  24869. "description": "出金冻结",
  24870. "type": "number"
  24871. },
  24872. "outthreshold": {
  24873. "description": "出金阈值",
  24874. "type": "number"
  24875. },
  24876. "parentaccountid": {
  24877. "description": "所属根账号",
  24878. "type": "integer"
  24879. },
  24880. "paycharge": {
  24881. "description": "今日手续费支出",
  24882. "type": "number"
  24883. },
  24884. "relateduserid": {
  24885. "description": "关联用户",
  24886. "type": "integer"
  24887. },
  24888. "signstatus": {
  24889. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  24890. "type": "integer"
  24891. },
  24892. "sublevelpath": {
  24893. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  24894. "type": "string"
  24895. },
  24896. "taaccounttype": {
  24897. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  24898. "type": "integer"
  24899. },
  24900. "thirdinamount": {
  24901. "description": "今日三方入金",
  24902. "type": "number"
  24903. },
  24904. "thirdoutamount": {
  24905. "description": "今日三方出金",
  24906. "type": "number"
  24907. },
  24908. "tradestatus": {
  24909. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24910. "type": "integer"
  24911. },
  24912. "transferamount": {
  24913. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  24914. "type": "number"
  24915. },
  24916. "usedmargin": {
  24917. "description": "占用保证金",
  24918. "type": "number"
  24919. },
  24920. "userid": {
  24921. "description": "用户ID",
  24922. "type": "integer"
  24923. }
  24924. }
  24925. },
  24926. "models.ErmcpTaAccountM": {
  24927. "type": "object",
  24928. "properties": {
  24929. "accountid": {
  24930. "description": "账户id",
  24931. "type": "integer"
  24932. },
  24933. "accountname": {
  24934. "description": "账户名称",
  24935. "type": "string"
  24936. },
  24937. "currencyid": {
  24938. "description": "币种id",
  24939. "type": "integer"
  24940. },
  24941. "fcid": {
  24942. "description": "期货公司id",
  24943. "type": "integer"
  24944. },
  24945. "fcname": {
  24946. "description": "期货公司代码",
  24947. "type": "string"
  24948. },
  24949. "hedgeaccountcode": {
  24950. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24951. "type": "string"
  24952. },
  24953. "ismain": {
  24954. "description": "是否主账户 0-否 1-是",
  24955. "type": "integer"
  24956. },
  24957. "parentaccountid": {
  24958. "description": "父账户id",
  24959. "type": "integer"
  24960. },
  24961. "relateduserid": {
  24962. "description": "关联userid",
  24963. "type": "integer"
  24964. },
  24965. "tradefeetmpid": {
  24966. "description": "手续费模板id",
  24967. "type": "integer"
  24968. },
  24969. "tradefeetmpname": {
  24970. "description": "手续费模板名称",
  24971. "type": "string"
  24972. },
  24973. "trademargintmpid": {
  24974. "description": "保证金模板id",
  24975. "type": "integer"
  24976. },
  24977. "trademargintmpname": {
  24978. "description": "保证金模板名称",
  24979. "type": "string"
  24980. },
  24981. "traderatetmpid": {
  24982. "description": "汇率模板id",
  24983. "type": "integer"
  24984. },
  24985. "traderatetmpname": {
  24986. "description": "汇率模板名称",
  24987. "type": "string"
  24988. },
  24989. "tradestatus": {
  24990. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24991. "type": "integer"
  24992. },
  24993. "userid": {
  24994. "description": "用户id",
  24995. "type": "integer"
  24996. }
  24997. }
  24998. },
  24999. "models.ErmcpTradeConfigTMP": {
  25000. "type": "object",
  25001. "properties": {
  25002. "areauserid": {
  25003. "description": "所属机构",
  25004. "type": "integer"
  25005. },
  25006. "basiccurrencyid": {
  25007. "description": "基本币种ID[汇率] - 目标币种",
  25008. "type": "integer"
  25009. },
  25010. "mainaccountid": {
  25011. "description": "主账户ID",
  25012. "type": "integer"
  25013. },
  25014. "modifierid": {
  25015. "description": "修改人",
  25016. "type": "integer"
  25017. },
  25018. "remark": {
  25019. "description": "备注",
  25020. "type": "string"
  25021. },
  25022. "tradeconfigtmpid": {
  25023. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  25024. "type": "integer"
  25025. },
  25026. "tradeconfigtmpname": {
  25027. "description": "交易配置模板名称",
  25028. "type": "string"
  25029. },
  25030. "tradeconfigtmptype": {
  25031. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  25032. "type": "integer"
  25033. },
  25034. "updatetime": {
  25035. "description": "更新时间",
  25036. "type": "string"
  25037. }
  25038. }
  25039. },
  25040. "models.Externalexchange": {
  25041. "type": "object",
  25042. "required": [
  25043. "autoid"
  25044. ],
  25045. "properties": {
  25046. "autoid": {
  25047. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  25048. "type": "integer"
  25049. },
  25050. "exchangefullname": {
  25051. "description": "外部交易所全称",
  25052. "type": "string"
  25053. },
  25054. "exexchangecode": {
  25055. "description": "外部交易所代码",
  25056. "type": "string"
  25057. },
  25058. "exexchangename": {
  25059. "description": "外部交易所名称(简称)",
  25060. "type": "string"
  25061. },
  25062. "ismarketprice": {
  25063. "description": "是否支持市价 - 0:不支持 1:支持",
  25064. "type": "integer"
  25065. },
  25066. "quotegear": {
  25067. "description": "行情档位(1-10)",
  25068. "type": "integer"
  25069. },
  25070. "showbrokerflag": {
  25071. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  25072. "type": "integer"
  25073. },
  25074. "updatetime": {
  25075. "description": "更新时间",
  25076. "type": "string"
  25077. }
  25078. }
  25079. },
  25080. "models.Funcmenulist": {
  25081. "type": "object",
  25082. "required": [
  25083. "resourcecode"
  25084. ],
  25085. "properties": {
  25086. "iconame": {
  25087. "description": "菜单图标",
  25088. "type": "string"
  25089. },
  25090. "menutype": {
  25091. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  25092. "type": "integer"
  25093. },
  25094. "parentcode": {
  25095. "description": "上级资源代码",
  25096. "type": "string"
  25097. },
  25098. "remark": {
  25099. "description": "备注",
  25100. "type": "string"
  25101. },
  25102. "resourcecode": {
  25103. "description": "资源代码",
  25104. "type": "string"
  25105. },
  25106. "resourcelevel": {
  25107. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  25108. "type": "integer"
  25109. },
  25110. "resourcename": {
  25111. "description": "资源名",
  25112. "type": "string"
  25113. },
  25114. "sort": {
  25115. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  25116. "type": "integer"
  25117. },
  25118. "url": {
  25119. "description": "URL",
  25120. "type": "string"
  25121. }
  25122. }
  25123. },
  25124. "models.Goods": {
  25125. "type": "object",
  25126. "required": [
  25127. "goodscode",
  25128. "goodsid",
  25129. "goodsname",
  25130. "marketid"
  25131. ],
  25132. "properties": {
  25133. "agreeunit": {
  25134. "description": "合约单位",
  25135. "type": "number"
  25136. },
  25137. "areauserid": {
  25138. "description": "所属机构",
  25139. "type": "integer"
  25140. },
  25141. "auditaccountid": {
  25142. "description": "审核操作员账号",
  25143. "type": "integer"
  25144. },
  25145. "audittime": {
  25146. "description": "审核时间",
  25147. "type": "string"
  25148. },
  25149. "cancelaccountid": {
  25150. "description": "注销操作员账号",
  25151. "type": "integer"
  25152. },
  25153. "canceltime": {
  25154. "description": "注销时间",
  25155. "type": "string"
  25156. },
  25157. "closepricemode": {
  25158. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25159. "type": "integer"
  25160. },
  25161. "closepriceparam": {
  25162. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  25163. "type": "number"
  25164. },
  25165. "createtime": {
  25166. "description": "创建时间",
  25167. "type": "string"
  25168. },
  25169. "creatorid": {
  25170. "description": "创建人",
  25171. "type": "integer"
  25172. },
  25173. "currencyid": {
  25174. "description": "报价货币ID",
  25175. "type": "integer"
  25176. },
  25177. "cutmode": {
  25178. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  25179. "type": "integer"
  25180. },
  25181. "decimalplace": {
  25182. "description": "报价小数位",
  25183. "type": "integer"
  25184. },
  25185. "delistingdate": {
  25186. "description": "商品退市时间(状态:退市) -- 已作废",
  25187. "type": "string"
  25188. },
  25189. "delistingmode": {
  25190. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  25191. "type": "integer"
  25192. },
  25193. "deliveryflag": {
  25194. "description": "交割标志 - 0:不可交割 1:可交割",
  25195. "type": "integer"
  25196. },
  25197. "forceclosemode": {
  25198. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  25199. "type": "integer"
  25200. },
  25201. "forceclosevalue": {
  25202. "description": "定期强平参数 [收益权]",
  25203. "type": "integer"
  25204. },
  25205. "goodscode": {
  25206. "description": "商品代码(内部)",
  25207. "type": "string"
  25208. },
  25209. "goodscurrencyid": {
  25210. "description": "合约货币ID",
  25211. "type": "integer"
  25212. },
  25213. "goodsgroupid": {
  25214. "description": "所属商品组ID",
  25215. "type": "integer"
  25216. },
  25217. "goodsid": {
  25218. "description": "商品ID(自增ID SEQ_GOODS)",
  25219. "type": "integer"
  25220. },
  25221. "goodsname": {
  25222. "description": "商品名称",
  25223. "type": "string"
  25224. },
  25225. "goodsquotetype": {
  25226. "description": "合约报价类型: 1-直接报价 2-间接报价",
  25227. "type": "integer"
  25228. },
  25229. "goodsstatus": {
  25230. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25231. "type": "integer"
  25232. },
  25233. "goodstradetype": {
  25234. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  25235. "type": "integer"
  25236. },
  25237. "goodunitid": {
  25238. "description": "报价单位ID",
  25239. "type": "integer"
  25240. },
  25241. "hasquoter": {
  25242. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  25243. "type": "integer"
  25244. },
  25245. "hqprotecttime": {
  25246. "description": "行情保护时间(秒)",
  25247. "type": "integer"
  25248. },
  25249. "innerdealmode": {
  25250. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25251. "type": "integer"
  25252. },
  25253. "isbuylimited": {
  25254. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25255. "type": "integer"
  25256. },
  25257. "isvisible": {
  25258. "description": "游客是否可见 - 0:不可见 1:可见",
  25259. "type": "integer"
  25260. },
  25261. "lasttradedate": {
  25262. "description": "最后交易日期(状态:待退市)",
  25263. "type": "string"
  25264. },
  25265. "listingdate": {
  25266. "description": "交易开始日期",
  25267. "type": "string"
  25268. },
  25269. "marketid": {
  25270. "description": "所属市场ID",
  25271. "type": "integer"
  25272. },
  25273. "modifierid": {
  25274. "description": "修改人",
  25275. "type": "integer"
  25276. },
  25277. "modifystatus": {
  25278. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  25279. "type": "integer"
  25280. },
  25281. "modifytime": {
  25282. "description": "修改时间",
  25283. "type": "string"
  25284. },
  25285. "outerdealmode": {
  25286. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25287. "type": "integer"
  25288. },
  25289. "outgoodscode": {
  25290. "description": "商品代码(外部)",
  25291. "type": "string"
  25292. },
  25293. "pictureurl": {
  25294. "description": "商品图片",
  25295. "type": "string"
  25296. },
  25297. "qtydecimalplace": {
  25298. "description": "成交量小数位",
  25299. "type": "integer"
  25300. },
  25301. "quotegear": {
  25302. "description": "行情档位(1-10)",
  25303. "type": "integer"
  25304. },
  25305. "quoteminunit": {
  25306. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25307. "type": "integer"
  25308. },
  25309. "quoteshowtype": {
  25310. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  25311. "type": "integer"
  25312. },
  25313. "quoteshowtypeinterval": {
  25314. "description": "行情报价间隔时间(秒)(成交价时为0)",
  25315. "type": "integer"
  25316. },
  25317. "remark": {
  25318. "description": "备注",
  25319. "type": "string"
  25320. }
  25321. }
  25322. },
  25323. "models.GoodsIDAndName": {
  25324. "type": "object",
  25325. "required": [
  25326. "goodscode",
  25327. "goodsid",
  25328. "goodsname",
  25329. "marketid"
  25330. ],
  25331. "properties": {
  25332. "goodscode": {
  25333. "description": "商品代码(内部)",
  25334. "type": "string"
  25335. },
  25336. "goodsid": {
  25337. "description": "商品ID(自增ID SEQ_GOODS)",
  25338. "type": "integer"
  25339. },
  25340. "goodsname": {
  25341. "description": "商品名称",
  25342. "type": "string"
  25343. },
  25344. "marketid": {
  25345. "description": "所属市场ID",
  25346. "type": "integer"
  25347. }
  25348. }
  25349. },
  25350. "models.Goodsgroup": {
  25351. "type": "object",
  25352. "required": [
  25353. "goodsgroupid",
  25354. "goodsgroupname",
  25355. "goodsgroupstatus",
  25356. "marketid"
  25357. ],
  25358. "properties": {
  25359. "agreeunit": {
  25360. "description": "合约单位",
  25361. "type": "number"
  25362. },
  25363. "canshort": {
  25364. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  25365. "type": "integer"
  25366. },
  25367. "closepricemode": {
  25368. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25369. "type": "integer"
  25370. },
  25371. "closepriceparam": {
  25372. "description": "强平最新价浮动比例 - 方式为2时使用",
  25373. "type": "number"
  25374. },
  25375. "createtime": {
  25376. "description": "创建时间",
  25377. "type": "string"
  25378. },
  25379. "creatorid": {
  25380. "description": "创建人",
  25381. "type": "integer"
  25382. },
  25383. "currencyid": {
  25384. "description": "报价货币ID",
  25385. "type": "integer"
  25386. },
  25387. "decimalplace": {
  25388. "description": "报价小数位",
  25389. "type": "integer"
  25390. },
  25391. "exercisetype": {
  25392. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  25393. "type": "integer"
  25394. },
  25395. "exexchangeid": {
  25396. "description": "外部交易所ID[通道交易]",
  25397. "type": "integer"
  25398. },
  25399. "goodsgroupid": {
  25400. "description": "商品组ID(自增ID)",
  25401. "type": "integer"
  25402. },
  25403. "goodsgroupname": {
  25404. "description": "商品组名称",
  25405. "type": "string"
  25406. },
  25407. "goodsgroupstatus": {
  25408. "description": "商品组状态 - 1:正常 2:注销",
  25409. "type": "integer"
  25410. },
  25411. "goodunitid": {
  25412. "description": "报价单位ID",
  25413. "type": "integer"
  25414. },
  25415. "innerdealmode": {
  25416. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25417. "type": "integer"
  25418. },
  25419. "isbuylimited": {
  25420. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25421. "type": "integer"
  25422. },
  25423. "marketid": {
  25424. "description": "所属市场ID",
  25425. "type": "integer"
  25426. },
  25427. "modifierid": {
  25428. "description": "修改人",
  25429. "type": "integer"
  25430. },
  25431. "modifytime": {
  25432. "description": "修改时间",
  25433. "type": "string"
  25434. },
  25435. "outerdealmode": {
  25436. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25437. "type": "integer"
  25438. },
  25439. "outergroupcode": {
  25440. "description": "外部商品组代码[通道交易]",
  25441. "type": "string"
  25442. },
  25443. "premiumdecimalplace": {
  25444. "description": "权利金小数位[场外期权]",
  25445. "type": "integer"
  25446. },
  25447. "premiumspreadalgorithm": {
  25448. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  25449. "type": "integer"
  25450. },
  25451. "premiumspreadvalue": {
  25452. "description": "权利金点差值[场外期权]",
  25453. "type": "number"
  25454. },
  25455. "qtydecimalplace": {
  25456. "description": "成交量小数位",
  25457. "type": "integer"
  25458. },
  25459. "quotegear": {
  25460. "description": "行情档位(1-10)",
  25461. "type": "integer"
  25462. },
  25463. "quoteminunit": {
  25464. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25465. "type": "integer"
  25466. },
  25467. "quoterid": {
  25468. "description": "报价商ID[场外期权]",
  25469. "type": "integer"
  25470. },
  25471. "quotesourcegroupid": {
  25472. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25473. "type": "integer"
  25474. },
  25475. "syncgoodsqty": {
  25476. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25477. "type": "integer"
  25478. }
  25479. }
  25480. },
  25481. "models.Goodssortbypreposition": {
  25482. "type": "object",
  25483. "required": [
  25484. "goodscode",
  25485. "tradedate"
  25486. ],
  25487. "properties": {
  25488. "goodscode": {
  25489. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  25490. "type": "string"
  25491. },
  25492. "goodsgroupcode": {
  25493. "description": "品种代码",
  25494. "type": "string"
  25495. },
  25496. "prepositionqty": {
  25497. "description": "昨持仓量",
  25498. "type": "integer"
  25499. },
  25500. "sortindex": {
  25501. "description": "排序",
  25502. "type": "integer"
  25503. },
  25504. "tradedate": {
  25505. "description": "交易日",
  25506. "type": "string"
  25507. },
  25508. "updatetime": {
  25509. "description": "更新时间",
  25510. "type": "string"
  25511. }
  25512. }
  25513. },
  25514. "models.Hedgeinnerholderdetail": {
  25515. "type": "object",
  25516. "required": [
  25517. "buyorsell",
  25518. "tradeid"
  25519. ],
  25520. "properties": {
  25521. "accountid": {
  25522. "description": "账号ID",
  25523. "type": "integer"
  25524. },
  25525. "buyorsell": {
  25526. "description": "方向 - 0:买 1:卖",
  25527. "type": "integer"
  25528. },
  25529. "freezeqty": {
  25530. "description": "冻结数量 - 按单平使用",
  25531. "type": "integer"
  25532. },
  25533. "goodsid": {
  25534. "description": "商品ID",
  25535. "type": "integer"
  25536. },
  25537. "holderamount": {
  25538. "description": "持仓金额 [商品币种]",
  25539. "type": "number"
  25540. },
  25541. "holderdays": {
  25542. "description": "剩余冻结天数",
  25543. "type": "integer"
  25544. },
  25545. "holderprice": {
  25546. "description": "持仓价格",
  25547. "type": "number"
  25548. },
  25549. "holderqty": {
  25550. "description": "持仓数量",
  25551. "type": "integer"
  25552. },
  25553. "marketid": {
  25554. "description": "市场ID",
  25555. "type": "integer"
  25556. },
  25557. "openprice": {
  25558. "description": "建仓价格",
  25559. "type": "number"
  25560. },
  25561. "openqty": {
  25562. "description": "建仓数量",
  25563. "type": "integer"
  25564. },
  25565. "parentaccountid": {
  25566. "description": "所属母账户",
  25567. "type": "integer"
  25568. },
  25569. "releaseamount": {
  25570. "description": "释放持仓金额[商品币种]",
  25571. "type": "number"
  25572. },
  25573. "tradeamount": {
  25574. "description": "成交金额[账户]",
  25575. "type": "number"
  25576. },
  25577. "tradedate": {
  25578. "description": "交易日(yyyyMMdd)",
  25579. "type": "string"
  25580. },
  25581. "tradeid": {
  25582. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25583. "type": "string"
  25584. },
  25585. "tradetime": {
  25586. "description": "交易时间",
  25587. "type": "string"
  25588. }
  25589. }
  25590. },
  25591. "models.Hedgemarketopenlog": {
  25592. "type": "object",
  25593. "required": [
  25594. "accountid"
  25595. ],
  25596. "properties": {
  25597. "accountid": {
  25598. "description": "资金账号[外部母账户]",
  25599. "type": "integer"
  25600. },
  25601. "fcname": {
  25602. "description": "期货公司名称",
  25603. "type": "string"
  25604. },
  25605. "handlestatus": {
  25606. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  25607. "type": "integer"
  25608. },
  25609. "marketid": {
  25610. "description": "市场ID",
  25611. "type": "integer"
  25612. },
  25613. "status": {
  25614. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  25615. "type": "integer"
  25616. },
  25617. "tradedate": {
  25618. "description": "交易日(yyyyMMdd)",
  25619. "type": "string"
  25620. },
  25621. "updatetime": {
  25622. "description": "更新时间",
  25623. "type": "string"
  25624. }
  25625. }
  25626. },
  25627. "models.HsbyBuyMyPayOrder": {
  25628. "type": "object",
  25629. "required": [
  25630. "goodscode",
  25631. "goodsname",
  25632. "tradeid",
  25633. "trademode"
  25634. ],
  25635. "properties": {
  25636. "agreeunit": {
  25637. "description": "合约单位",
  25638. "type": "number"
  25639. },
  25640. "buyaccountid": {
  25641. "description": "买方账号ID[报价币种]",
  25642. "type": "integer"
  25643. },
  25644. "buyorderid": {
  25645. "description": "买方委托单号",
  25646. "type": "string"
  25647. },
  25648. "createtime": {
  25649. "description": "创建时间",
  25650. "type": "string"
  25651. },
  25652. "currencysign": {
  25653. "description": "货币符号",
  25654. "type": "string"
  25655. },
  25656. "decimalplace": {
  25657. "description": "报价小数位",
  25658. "type": "integer"
  25659. },
  25660. "goodscode": {
  25661. "description": "商品代码(内部)",
  25662. "type": "string"
  25663. },
  25664. "goodsid": {
  25665. "description": "商品ID",
  25666. "type": "integer"
  25667. },
  25668. "goodsname": {
  25669. "description": "商品名称",
  25670. "type": "string"
  25671. },
  25672. "marketid": {
  25673. "description": "市场ID",
  25674. "type": "integer"
  25675. },
  25676. "offamount": {
  25677. "description": "优惠金额",
  25678. "type": "number"
  25679. },
  25680. "originalamount": {
  25681. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  25682. "type": "number"
  25683. },
  25684. "payamount": {
  25685. "description": "支付金额 = TradeAmount + TradeCharge",
  25686. "type": "number"
  25687. },
  25688. "payflag": {
  25689. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25690. "type": "integer"
  25691. },
  25692. "paylimitedtime": {
  25693. "description": "支付期限",
  25694. "type": "string"
  25695. },
  25696. "paytime": {
  25697. "description": "付款时间",
  25698. "type": "string"
  25699. },
  25700. "picurls1": {
  25701. "description": "预售商品介绍图片[多张用逗号分隔]",
  25702. "type": "string"
  25703. },
  25704. "picurls2": {
  25705. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25706. "type": "string"
  25707. },
  25708. "sellaccountid": {
  25709. "description": "卖方账号ID[报价币种]",
  25710. "type": "integer"
  25711. },
  25712. "sellorderid": {
  25713. "description": "卖方委托单号",
  25714. "type": "string"
  25715. },
  25716. "tradeamount": {
  25717. "description": "成交金额",
  25718. "type": "number"
  25719. },
  25720. "tradecharge": {
  25721. "description": "成交手续费(买方)",
  25722. "type": "number"
  25723. },
  25724. "tradedate": {
  25725. "description": "交易日(yyyyMMdd)",
  25726. "type": "string"
  25727. },
  25728. "tradeid": {
  25729. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25730. "type": "string"
  25731. },
  25732. "trademode": {
  25733. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25734. "type": "integer"
  25735. },
  25736. "tradeprice": {
  25737. "description": "成交价格",
  25738. "type": "number"
  25739. },
  25740. "tradeqty": {
  25741. "description": "成交数量",
  25742. "type": "integer"
  25743. },
  25744. "vendorname1": {
  25745. "description": "预售商品供应商名称",
  25746. "type": "string"
  25747. },
  25748. "vendorname2": {
  25749. "description": "挂牌商品供应商名称",
  25750. "type": "string"
  25751. }
  25752. }
  25753. },
  25754. "models.HsbyBuyMyTradeDetail": {
  25755. "type": "object",
  25756. "required": [
  25757. "accountid",
  25758. "buyorsell",
  25759. "goodscode",
  25760. "goodsid",
  25761. "goodsname",
  25762. "marketid",
  25763. "orderid",
  25764. "qty",
  25765. "time",
  25766. "trademode"
  25767. ],
  25768. "properties": {
  25769. "accountid": {
  25770. "description": "账户ID[报价币种]",
  25771. "type": "integer"
  25772. },
  25773. "agreeunit": {
  25774. "description": "合约单位",
  25775. "type": "number"
  25776. },
  25777. "amount": {
  25778. "description": "金额 = 价格 * 数量 * 合约单位",
  25779. "type": "number"
  25780. },
  25781. "buyorsell": {
  25782. "description": "买卖 - 0:买 1:卖",
  25783. "type": "integer"
  25784. },
  25785. "currencysign": {
  25786. "description": "货币符号",
  25787. "type": "string"
  25788. },
  25789. "decimalplace": {
  25790. "description": "报价小数位",
  25791. "type": "integer"
  25792. },
  25793. "goodscode": {
  25794. "description": "商品代码(内部)",
  25795. "type": "string"
  25796. },
  25797. "goodsid": {
  25798. "description": "商品ID",
  25799. "type": "integer"
  25800. },
  25801. "goodsname": {
  25802. "description": "商品名称",
  25803. "type": "string"
  25804. },
  25805. "marketid": {
  25806. "description": "市场ID",
  25807. "type": "integer"
  25808. },
  25809. "orderamount": {
  25810. "description": "委托金额",
  25811. "type": "number"
  25812. },
  25813. "orderid": {
  25814. "description": "单号(成交单号)",
  25815. "type": "string"
  25816. },
  25817. "picurls1": {
  25818. "description": "预售商品介绍图片[多张用逗号分隔]",
  25819. "type": "string"
  25820. },
  25821. "picurls2": {
  25822. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25823. "type": "string"
  25824. },
  25825. "price": {
  25826. "description": "价格",
  25827. "type": "number"
  25828. },
  25829. "qty": {
  25830. "description": "数量",
  25831. "type": "integer"
  25832. },
  25833. "time": {
  25834. "description": "时间",
  25835. "type": "string"
  25836. },
  25837. "trademode": {
  25838. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25839. "type": "integer"
  25840. },
  25841. "vendorname1": {
  25842. "description": "预售商品供应商名称",
  25843. "type": "string"
  25844. },
  25845. "vendorname2": {
  25846. "description": "挂牌商品供应商名称",
  25847. "type": "string"
  25848. }
  25849. }
  25850. },
  25851. "models.HsbyGoodsOrderDetail": {
  25852. "type": "object",
  25853. "required": [
  25854. "buyorsell",
  25855. "orderid",
  25856. "ordertime"
  25857. ],
  25858. "properties": {
  25859. "buyorsell": {
  25860. "description": "买卖 - 0:买 1:卖",
  25861. "type": "integer"
  25862. },
  25863. "currencysign": {
  25864. "description": "货币符号",
  25865. "type": "string"
  25866. },
  25867. "customername": {
  25868. "description": "客户名称(企业名称),已脱敏",
  25869. "type": "string"
  25870. },
  25871. "enableqty": {
  25872. "description": "可用数量",
  25873. "type": "integer"
  25874. },
  25875. "goodunit": {
  25876. "description": "报价单位",
  25877. "type": "string"
  25878. },
  25879. "orderid": {
  25880. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25881. "type": "string"
  25882. },
  25883. "orderprice": {
  25884. "description": "委托价格",
  25885. "type": "number"
  25886. },
  25887. "ordertime": {
  25888. "description": "委托时间",
  25889. "type": "string"
  25890. }
  25891. }
  25892. },
  25893. "models.HsbyListingGoodsDetail": {
  25894. "type": "object",
  25895. "required": [
  25896. "goodscode",
  25897. "goodsid",
  25898. "goodsname",
  25899. "marketid",
  25900. "trademode"
  25901. ],
  25902. "properties": {
  25903. "agreeunit": {
  25904. "description": "合约单位",
  25905. "type": "number"
  25906. },
  25907. "buymaxqty": {
  25908. "description": "购买上限 [71] - 0为不限",
  25909. "type": "integer"
  25910. },
  25911. "currency": {
  25912. "description": "货币",
  25913. "type": "string"
  25914. },
  25915. "currencysign": {
  25916. "description": "货币符号",
  25917. "type": "string"
  25918. },
  25919. "decimalplace": {
  25920. "description": "报价小数位",
  25921. "type": "integer"
  25922. },
  25923. "desccityid": {
  25924. "description": "目的地(市)ID",
  25925. "type": "integer"
  25926. },
  25927. "descprovinceid": {
  25928. "description": "目的地(省)ID",
  25929. "type": "integer"
  25930. },
  25931. "goodscode": {
  25932. "description": "商品代码(内部)",
  25933. "type": "string"
  25934. },
  25935. "goodsdesc": {
  25936. "description": "商品详情",
  25937. "type": "string"
  25938. },
  25939. "goodsid": {
  25940. "description": "商品ID(自增ID SEQ_GOODS)",
  25941. "type": "integer"
  25942. },
  25943. "goodsname": {
  25944. "description": "商品名称",
  25945. "type": "string"
  25946. },
  25947. "goodsprice": {
  25948. "description": "商品价格",
  25949. "type": "number"
  25950. },
  25951. "hotindex": {
  25952. "description": "景点热度",
  25953. "type": "integer"
  25954. },
  25955. "last": {
  25956. "description": "现价",
  25957. "type": "number"
  25958. },
  25959. "limitdown": {
  25960. "description": "跌停价",
  25961. "type": "number"
  25962. },
  25963. "limitup": {
  25964. "description": "涨停价",
  25965. "type": "number"
  25966. },
  25967. "lotsize": {
  25968. "description": "手数最小变动单位",
  25969. "type": "integer"
  25970. },
  25971. "marketid": {
  25972. "description": "所属市场ID",
  25973. "type": "integer"
  25974. },
  25975. "picurls": {
  25976. "description": "介绍图片[多张用逗号分隔]",
  25977. "type": "string"
  25978. },
  25979. "quoteminunit": {
  25980. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25981. "type": "integer"
  25982. },
  25983. "stepvalue": {
  25984. "description": "价格最小变动单位",
  25985. "type": "number"
  25986. },
  25987. "trademode": {
  25988. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25989. "type": "integer"
  25990. },
  25991. "vendorattr": {
  25992. "description": "供应商附件(多张,逗号分隔)",
  25993. "type": "string"
  25994. },
  25995. "vendorname": {
  25996. "description": "供应商名称",
  25997. "type": "string"
  25998. },
  25999. "vendorphone": {
  26000. "description": "供应商客服电话",
  26001. "type": "string"
  26002. },
  26003. "videourls": {
  26004. "description": "介绍视频[多张用逗号分隔]",
  26005. "type": "string"
  26006. }
  26007. }
  26008. },
  26009. "models.HsbyMarketGoods": {
  26010. "type": "object",
  26011. "required": [
  26012. "accountid",
  26013. "buyorsell",
  26014. "goodscode",
  26015. "goodsid",
  26016. "goodsname",
  26017. "marketid",
  26018. "orderid",
  26019. "trademode"
  26020. ],
  26021. "properties": {
  26022. "accountid": {
  26023. "description": "账户ID[报价币种]",
  26024. "type": "integer"
  26025. },
  26026. "agreeunit": {
  26027. "description": "合约单位",
  26028. "type": "number"
  26029. },
  26030. "buyorsell": {
  26031. "description": "买卖 - 0:买 1:卖",
  26032. "type": "integer"
  26033. },
  26034. "categoryid": {
  26035. "description": "类别ID(WRCATEGORY)",
  26036. "type": "integer"
  26037. },
  26038. "currency": {
  26039. "description": "货币",
  26040. "type": "string"
  26041. },
  26042. "currencysign": {
  26043. "description": "货币符号",
  26044. "type": "string"
  26045. },
  26046. "customername": {
  26047. "description": "卖家名称",
  26048. "type": "string"
  26049. },
  26050. "decimalplace": {
  26051. "description": "报价小数位",
  26052. "type": "integer"
  26053. },
  26054. "goodscode": {
  26055. "description": "商品代码(内部)",
  26056. "type": "string"
  26057. },
  26058. "goodsid": {
  26059. "description": "商品ID",
  26060. "type": "integer"
  26061. },
  26062. "goodsname": {
  26063. "description": "商品名称",
  26064. "type": "string"
  26065. },
  26066. "goodsprice": {
  26067. "description": "商品价格",
  26068. "type": "number"
  26069. },
  26070. "hascoupon": {
  26071. "description": "是否可用优惠卷",
  26072. "type": "boolean"
  26073. },
  26074. "hotindex": {
  26075. "description": "景点热度",
  26076. "type": "integer"
  26077. },
  26078. "marketid": {
  26079. "description": "市场ID",
  26080. "type": "integer"
  26081. },
  26082. "orderid": {
  26083. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26084. "type": "string"
  26085. },
  26086. "orderprice": {
  26087. "description": "委托价格",
  26088. "type": "number"
  26089. },
  26090. "orderstatus": {
  26091. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26092. "type": "integer"
  26093. },
  26094. "picurls": {
  26095. "description": "介绍图片[多张用逗号分隔]",
  26096. "type": "string"
  26097. },
  26098. "quoteminunit": {
  26099. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26100. "type": "integer"
  26101. },
  26102. "sellUserID": {
  26103. "description": "卖方UserID",
  26104. "type": "integer"
  26105. },
  26106. "trademode": {
  26107. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26108. "type": "integer"
  26109. },
  26110. "videourls": {
  26111. "description": "介绍视频[多张用逗号分隔]",
  26112. "type": "string"
  26113. }
  26114. }
  26115. },
  26116. "models.HsbyMarketGoodsDetail": {
  26117. "type": "object",
  26118. "required": [
  26119. "accountid",
  26120. "buyorsell",
  26121. "goodscode",
  26122. "goodsid",
  26123. "goodsname",
  26124. "marketid",
  26125. "orderid",
  26126. "orderqty",
  26127. "trademode"
  26128. ],
  26129. "properties": {
  26130. "accountid": {
  26131. "description": "账户ID[报价币种]",
  26132. "type": "integer"
  26133. },
  26134. "agreeunit": {
  26135. "description": "合约单位",
  26136. "type": "number"
  26137. },
  26138. "buymaxqty": {
  26139. "description": "购买上限 [71] - 0为不限",
  26140. "type": "integer"
  26141. },
  26142. "buyorsell": {
  26143. "description": "买卖 - 0:买 1:卖",
  26144. "type": "integer"
  26145. },
  26146. "cancelqty": {
  26147. "description": "撤单数量",
  26148. "type": "integer"
  26149. },
  26150. "categoryid": {
  26151. "description": "类别ID(WRCATEGORY)",
  26152. "type": "integer"
  26153. },
  26154. "currency": {
  26155. "description": "货币",
  26156. "type": "string"
  26157. },
  26158. "currencysign": {
  26159. "description": "货币符号",
  26160. "type": "string"
  26161. },
  26162. "customername": {
  26163. "description": "卖家名称",
  26164. "type": "string"
  26165. },
  26166. "decimalplace": {
  26167. "description": "报价小数位",
  26168. "type": "integer"
  26169. },
  26170. "goodscode": {
  26171. "description": "商品代码(内部)",
  26172. "type": "string"
  26173. },
  26174. "goodsdesc": {
  26175. "description": "商品详情",
  26176. "type": "string"
  26177. },
  26178. "goodsid": {
  26179. "description": "商品ID",
  26180. "type": "integer"
  26181. },
  26182. "goodsname": {
  26183. "description": "商品名称",
  26184. "type": "string"
  26185. },
  26186. "goodsprice": {
  26187. "description": "商品价格",
  26188. "type": "number"
  26189. },
  26190. "hotindex": {
  26191. "description": "景点热度",
  26192. "type": "integer"
  26193. },
  26194. "lotsize": {
  26195. "description": "手数最小变动单位",
  26196. "type": "integer"
  26197. },
  26198. "marketid": {
  26199. "description": "市场ID",
  26200. "type": "integer"
  26201. },
  26202. "orderid": {
  26203. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26204. "type": "string"
  26205. },
  26206. "orderprice": {
  26207. "description": "委托价格",
  26208. "type": "number"
  26209. },
  26210. "orderqty": {
  26211. "description": "委托数量",
  26212. "type": "integer"
  26213. },
  26214. "orderstatus": {
  26215. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26216. "type": "integer"
  26217. },
  26218. "picurls": {
  26219. "description": "介绍图片[多张用逗号分隔]",
  26220. "type": "string"
  26221. },
  26222. "quoteminunit": {
  26223. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26224. "type": "integer"
  26225. },
  26226. "sellUserID": {
  26227. "description": "卖方UserID",
  26228. "type": "integer"
  26229. },
  26230. "trademode": {
  26231. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26232. "type": "integer"
  26233. },
  26234. "tradeqty": {
  26235. "description": "成交数量",
  26236. "type": "integer"
  26237. },
  26238. "vendorattr": {
  26239. "description": "供应商附件(多张,逗号分隔)",
  26240. "type": "string"
  26241. },
  26242. "vendorname": {
  26243. "description": "供应商名称",
  26244. "type": "string"
  26245. },
  26246. "vendorphone": {
  26247. "description": "供应商客服电话",
  26248. "type": "string"
  26249. },
  26250. "videourls": {
  26251. "description": "介绍视频[多张用逗号分隔]",
  26252. "type": "string"
  26253. }
  26254. }
  26255. },
  26256. "models.HsbyMarketInfo": {
  26257. "type": "object",
  26258. "required": [
  26259. "marketid",
  26260. "marketstatus",
  26261. "trademode"
  26262. ],
  26263. "properties": {
  26264. "marketid": {
  26265. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  26266. "type": "integer"
  26267. },
  26268. "marketname": {
  26269. "description": "市场名称",
  26270. "type": "string"
  26271. },
  26272. "marketstatus": {
  26273. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  26274. "type": "integer"
  26275. },
  26276. "trademode": {
  26277. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26278. "type": "integer"
  26279. }
  26280. }
  26281. },
  26282. "models.HsbyMyGoods": {
  26283. "type": "object",
  26284. "required": [
  26285. "accountid",
  26286. "goodscode",
  26287. "goodsid",
  26288. "goodsname",
  26289. "marketid",
  26290. "trademode"
  26291. ],
  26292. "properties": {
  26293. "accountid": {
  26294. "description": "账号Id",
  26295. "type": "integer"
  26296. },
  26297. "agreeunit": {
  26298. "description": "合约单位",
  26299. "type": "number"
  26300. },
  26301. "buyaverageprice": {
  26302. "description": "持仓均价",
  26303. "type": "number"
  26304. },
  26305. "buycurholderamount": {
  26306. "description": "买当前持仓总金额[商品币种]",
  26307. "type": "number"
  26308. },
  26309. "buycurpositionqty": {
  26310. "description": "买当前持仓总数量",
  26311. "type": "integer"
  26312. },
  26313. "buymaxqty": {
  26314. "description": "购买上限 [71] - 0为不限",
  26315. "type": "integer"
  26316. },
  26317. "currencysign": {
  26318. "description": "货币符号",
  26319. "type": "string"
  26320. },
  26321. "decimalplace": {
  26322. "description": "报价小数位",
  26323. "type": "integer"
  26324. },
  26325. "enableqty": {
  26326. "description": "可用数量",
  26327. "type": "integer"
  26328. },
  26329. "goodscode": {
  26330. "description": "商品代码(内部)",
  26331. "type": "string"
  26332. },
  26333. "goodsid": {
  26334. "description": "商品Id",
  26335. "type": "integer"
  26336. },
  26337. "goodsname": {
  26338. "description": "商品名称",
  26339. "type": "string"
  26340. },
  26341. "goodsprice": {
  26342. "description": "商品价格",
  26343. "type": "number"
  26344. },
  26345. "goodsstatus": {
  26346. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26347. "type": "integer"
  26348. },
  26349. "last": {
  26350. "description": "现价(仅使用于挂牌点选)",
  26351. "type": "number"
  26352. },
  26353. "limitdown": {
  26354. "description": "跌停价(仅使用于挂牌点选)",
  26355. "type": "number"
  26356. },
  26357. "limitup": {
  26358. "description": "涨停价(仅使用于挂牌点选)",
  26359. "type": "number"
  26360. },
  26361. "lotsize": {
  26362. "description": "手数最小变动单位",
  26363. "type": "integer"
  26364. },
  26365. "marketid": {
  26366. "description": "所属市场ID",
  26367. "type": "integer"
  26368. },
  26369. "picurls": {
  26370. "description": "介绍图片[多张用逗号分隔]",
  26371. "type": "string"
  26372. },
  26373. "quoteminunit": {
  26374. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26375. "type": "integer"
  26376. },
  26377. "stepvalue": {
  26378. "description": "价格最小变动单位",
  26379. "type": "number"
  26380. },
  26381. "trademode": {
  26382. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26383. "type": "integer"
  26384. }
  26385. }
  26386. },
  26387. "models.HsbyMyPackage": {
  26388. "type": "object",
  26389. "required": [
  26390. "goodscode",
  26391. "goodsname",
  26392. "takeorderid",
  26393. "trademode"
  26394. ],
  26395. "properties": {
  26396. "accountid": {
  26397. "description": "账户ID",
  26398. "type": "integer"
  26399. },
  26400. "address": {
  26401. "description": "提货人详细地址",
  26402. "type": "string"
  26403. },
  26404. "agreeunit": {
  26405. "description": "合约单位",
  26406. "type": "number"
  26407. },
  26408. "amount": {
  26409. "description": "提货金额",
  26410. "type": "number"
  26411. },
  26412. "auditer": {
  26413. "description": "审核人",
  26414. "type": "integer"
  26415. },
  26416. "audittime": {
  26417. "description": "审核时间",
  26418. "type": "string"
  26419. },
  26420. "averageprice": {
  26421. "description": "均价",
  26422. "type": "number"
  26423. },
  26424. "cardnum": {
  26425. "description": "提货人证件号码",
  26426. "type": "string"
  26427. },
  26428. "cardtypeid": {
  26429. "description": "提货人证件类型",
  26430. "type": "integer"
  26431. },
  26432. "checkremark": {
  26433. "description": "审核备注",
  26434. "type": "string"
  26435. },
  26436. "currencysign": {
  26437. "description": "货币符号",
  26438. "type": "string"
  26439. },
  26440. "decimalplace": {
  26441. "description": "报价小数位",
  26442. "type": "integer"
  26443. },
  26444. "goodscode": {
  26445. "description": "商品代码(内部)",
  26446. "type": "string"
  26447. },
  26448. "goodsid": {
  26449. "description": "商品ID",
  26450. "type": "integer"
  26451. },
  26452. "goodsname": {
  26453. "description": "商品名称",
  26454. "type": "string"
  26455. },
  26456. "handlestatus": {
  26457. "description": "处理状态",
  26458. "type": "integer"
  26459. },
  26460. "marketid": {
  26461. "description": "市场ID",
  26462. "type": "integer"
  26463. },
  26464. "phonenum": {
  26465. "description": "提货人联系方式",
  26466. "type": "string"
  26467. },
  26468. "picurls": {
  26469. "description": "介绍图片[多张用逗号分隔]",
  26470. "type": "string"
  26471. },
  26472. "qty": {
  26473. "description": "提货数量",
  26474. "type": "number"
  26475. },
  26476. "recivername": {
  26477. "description": "提货人姓名",
  26478. "type": "string"
  26479. },
  26480. "reqtime": {
  26481. "description": "更新时间",
  26482. "type": "string"
  26483. },
  26484. "takemode": {
  26485. "description": "提货方式 - 2:自提 3:配送",
  26486. "type": "integer"
  26487. },
  26488. "takeorderid": {
  26489. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26490. "type": "string"
  26491. },
  26492. "takeorderstatus": {
  26493. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  26494. "type": "integer"
  26495. },
  26496. "takeremark": {
  26497. "description": "提货备注",
  26498. "type": "string"
  26499. },
  26500. "tradedate": {
  26501. "description": "交易日(yyyyMMdd)",
  26502. "type": "string"
  26503. },
  26504. "trademode": {
  26505. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26506. "type": "integer"
  26507. },
  26508. "userid": {
  26509. "description": "用户ID",
  26510. "type": "integer"
  26511. },
  26512. "vendorname": {
  26513. "description": "供应商名称",
  26514. "type": "string"
  26515. }
  26516. }
  26517. },
  26518. "models.HsbyPreGoods": {
  26519. "type": "object",
  26520. "required": [
  26521. "goodscode",
  26522. "goodsid",
  26523. "goodsname",
  26524. "marketid",
  26525. "trademode"
  26526. ],
  26527. "properties": {
  26528. "agreeunit": {
  26529. "description": "合约单位",
  26530. "type": "number"
  26531. },
  26532. "currency": {
  26533. "description": "货币",
  26534. "type": "string"
  26535. },
  26536. "currencysign": {
  26537. "description": "货币符号",
  26538. "type": "string"
  26539. },
  26540. "decimalplace": {
  26541. "description": "报价小数位",
  26542. "type": "integer"
  26543. },
  26544. "desccityid": {
  26545. "description": "目的地(市)",
  26546. "type": "integer"
  26547. },
  26548. "descprovinceid": {
  26549. "description": "目的地(省)",
  26550. "type": "integer"
  26551. },
  26552. "enableqty": {
  26553. "description": "剩余数量",
  26554. "type": "integer"
  26555. },
  26556. "goodscode": {
  26557. "description": "商品代码(内部)",
  26558. "type": "string"
  26559. },
  26560. "goodsid": {
  26561. "description": "商品ID(自增ID SEQ_GOODS)",
  26562. "type": "integer"
  26563. },
  26564. "goodsname": {
  26565. "description": "商品名称",
  26566. "type": "string"
  26567. },
  26568. "goodsstatus": {
  26569. "description": "商品状态- 2:未上市 3:上市",
  26570. "type": "integer"
  26571. },
  26572. "lasttradedate": {
  26573. "description": "最后交易日期(状态:待退市)",
  26574. "type": "string"
  26575. },
  26576. "listingdate": {
  26577. "description": "交易开始日期",
  26578. "type": "string"
  26579. },
  26580. "marketid": {
  26581. "description": "所属市场ID",
  26582. "type": "integer"
  26583. },
  26584. "picurls": {
  26585. "description": "介绍图片[多张用逗号分隔]",
  26586. "type": "string"
  26587. },
  26588. "presaledqty": {
  26589. "description": "已预售量(预售结束时更新)",
  26590. "type": "integer"
  26591. },
  26592. "presaleqty": {
  26593. "description": "预售数量",
  26594. "type": "integer"
  26595. },
  26596. "quoteminunit": {
  26597. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26598. "type": "integer"
  26599. },
  26600. "refprice": {
  26601. "description": "参考价格[一口价]",
  26602. "type": "number"
  26603. },
  26604. "relatedgoodsid": {
  26605. "description": "关联交易合约ID",
  26606. "type": "integer"
  26607. },
  26608. "trademode": {
  26609. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26610. "type": "integer"
  26611. },
  26612. "videourls": {
  26613. "description": "介绍视频[多张用逗号分隔]",
  26614. "type": "string"
  26615. }
  26616. }
  26617. },
  26618. "models.HsbyPreGoodsDetail": {
  26619. "type": "object",
  26620. "required": [
  26621. "goodscode",
  26622. "goodsid",
  26623. "goodsname",
  26624. "marketid",
  26625. "trademode"
  26626. ],
  26627. "properties": {
  26628. "agreeunit": {
  26629. "description": "合约单位",
  26630. "type": "number"
  26631. },
  26632. "buymaxqty": {
  26633. "description": "购买上限 [71] - 0为不限",
  26634. "type": "integer"
  26635. },
  26636. "currency": {
  26637. "description": "货币",
  26638. "type": "string"
  26639. },
  26640. "currencysign": {
  26641. "description": "货币符号",
  26642. "type": "string"
  26643. },
  26644. "customername": {
  26645. "description": "发行单位",
  26646. "type": "string"
  26647. },
  26648. "decimalplace": {
  26649. "description": "报价小数位",
  26650. "type": "integer"
  26651. },
  26652. "desccityid": {
  26653. "description": "目的地(市)ID",
  26654. "type": "integer"
  26655. },
  26656. "descprovinceid": {
  26657. "description": "目的地(省)ID",
  26658. "type": "integer"
  26659. },
  26660. "enableqty": {
  26661. "description": "剩余数量",
  26662. "type": "integer"
  26663. },
  26664. "goodscode": {
  26665. "description": "商品代码(内部)",
  26666. "type": "string"
  26667. },
  26668. "goodsdesc": {
  26669. "description": "商品详情",
  26670. "type": "string"
  26671. },
  26672. "goodsid": {
  26673. "description": "商品ID(自增ID SEQ_GOODS)",
  26674. "type": "integer"
  26675. },
  26676. "goodsname": {
  26677. "description": "商品名称",
  26678. "type": "string"
  26679. },
  26680. "goodsstatus": {
  26681. "description": "商品状态- 2:未上市 3:上市",
  26682. "type": "integer"
  26683. },
  26684. "goodunit": {
  26685. "description": "报价单位",
  26686. "type": "string"
  26687. },
  26688. "lasttradedate": {
  26689. "description": "最后交易日期(状态:待退市)",
  26690. "type": "string"
  26691. },
  26692. "listingdate": {
  26693. "description": "交易开始日期",
  26694. "type": "string"
  26695. },
  26696. "lotsize": {
  26697. "description": "手数最小变动单位",
  26698. "type": "integer"
  26699. },
  26700. "marketid": {
  26701. "description": "所属市场ID",
  26702. "type": "integer"
  26703. },
  26704. "picurls": {
  26705. "description": "介绍图片[多张用逗号分隔]",
  26706. "type": "string"
  26707. },
  26708. "presaledqty": {
  26709. "description": "已预售量(预售结束时更新)",
  26710. "type": "integer"
  26711. },
  26712. "presaleqty": {
  26713. "description": "预售数量",
  26714. "type": "integer"
  26715. },
  26716. "quoteminunit": {
  26717. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26718. "type": "integer"
  26719. },
  26720. "refprice": {
  26721. "description": "参考价格[一口价]",
  26722. "type": "number"
  26723. },
  26724. "relatedgoodsid": {
  26725. "description": "关联交易合约ID",
  26726. "type": "integer"
  26727. },
  26728. "stepvalue": {
  26729. "description": "价格最小变动单位",
  26730. "type": "number"
  26731. },
  26732. "trademode": {
  26733. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26734. "type": "integer"
  26735. },
  26736. "vendorattr": {
  26737. "description": "供应商附件(多张,逗号分隔)",
  26738. "type": "string"
  26739. },
  26740. "vendorname": {
  26741. "description": "供应商名称",
  26742. "type": "string"
  26743. },
  26744. "vendorphone": {
  26745. "description": "供应商客服电话",
  26746. "type": "string"
  26747. },
  26748. "videourls": {
  26749. "description": "介绍视频[多张用逗号分隔]",
  26750. "type": "string"
  26751. }
  26752. }
  26753. },
  26754. "models.HsbySellCollectionOrder": {
  26755. "type": "object",
  26756. "required": [
  26757. "goodscode",
  26758. "goodsname",
  26759. "tradeid",
  26760. "trademode"
  26761. ],
  26762. "properties": {
  26763. "agreeunit": {
  26764. "description": "合约单位",
  26765. "type": "number"
  26766. },
  26767. "buyaccountid": {
  26768. "description": "买方账号ID[报价币种]",
  26769. "type": "integer"
  26770. },
  26771. "buyorderid": {
  26772. "description": "买方委托单号",
  26773. "type": "string"
  26774. },
  26775. "createtime": {
  26776. "description": "创建时间",
  26777. "type": "string"
  26778. },
  26779. "currencysign": {
  26780. "description": "货币符号",
  26781. "type": "string"
  26782. },
  26783. "decimalplace": {
  26784. "description": "报价小数位",
  26785. "type": "integer"
  26786. },
  26787. "goodscode": {
  26788. "description": "商品代码(内部)",
  26789. "type": "string"
  26790. },
  26791. "goodsid": {
  26792. "description": "商品ID",
  26793. "type": "integer"
  26794. },
  26795. "goodsname": {
  26796. "description": "商品名称",
  26797. "type": "string"
  26798. },
  26799. "marketid": {
  26800. "description": "市场ID",
  26801. "type": "integer"
  26802. },
  26803. "offamount": {
  26804. "description": "优惠金额",
  26805. "type": "number"
  26806. },
  26807. "payamount": {
  26808. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  26809. "type": "number"
  26810. },
  26811. "payflag": {
  26812. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26813. "type": "integer"
  26814. },
  26815. "paylimitedtime": {
  26816. "description": "支付期限",
  26817. "type": "string"
  26818. },
  26819. "paytime": {
  26820. "description": "付款时间",
  26821. "type": "string"
  26822. },
  26823. "picurls": {
  26824. "description": "商品介绍图片[多张用逗号分隔]",
  26825. "type": "string"
  26826. },
  26827. "sellaccountid": {
  26828. "description": "卖方账号ID[报价币种]",
  26829. "type": "integer"
  26830. },
  26831. "sellorderid": {
  26832. "description": "卖方委托单号",
  26833. "type": "string"
  26834. },
  26835. "tradeamount": {
  26836. "description": "成交金额",
  26837. "type": "number"
  26838. },
  26839. "tradecharge": {
  26840. "description": "成交手续费(买方)",
  26841. "type": "number"
  26842. },
  26843. "tradedate": {
  26844. "description": "交易日(yyyyMMdd)",
  26845. "type": "string"
  26846. },
  26847. "tradeid": {
  26848. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26849. "type": "string"
  26850. },
  26851. "trademode": {
  26852. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26853. "type": "integer"
  26854. },
  26855. "tradeprice": {
  26856. "description": "成交价格",
  26857. "type": "number"
  26858. },
  26859. "tradeqty": {
  26860. "description": "成交数量",
  26861. "type": "integer"
  26862. }
  26863. }
  26864. },
  26865. "models.HsbySellMyDetail": {
  26866. "type": "object",
  26867. "required": [
  26868. "accountid",
  26869. "buyorsell",
  26870. "goodscode",
  26871. "goodsid",
  26872. "goodsname",
  26873. "marketid",
  26874. "orderid",
  26875. "time",
  26876. "trademode"
  26877. ],
  26878. "properties": {
  26879. "accountid": {
  26880. "description": "账户ID[报价币种]",
  26881. "type": "integer"
  26882. },
  26883. "agreeunit": {
  26884. "description": "合约单位",
  26885. "type": "number"
  26886. },
  26887. "buyorsell": {
  26888. "description": "买卖 - 0:买 1:卖",
  26889. "type": "integer"
  26890. },
  26891. "currencysign": {
  26892. "description": "货币符号",
  26893. "type": "string"
  26894. },
  26895. "decimalplace": {
  26896. "description": "报价小数位",
  26897. "type": "integer"
  26898. },
  26899. "goodscode": {
  26900. "description": "商品代码(内部)",
  26901. "type": "string"
  26902. },
  26903. "goodsid": {
  26904. "description": "商品ID",
  26905. "type": "integer"
  26906. },
  26907. "goodsname": {
  26908. "description": "商品名称",
  26909. "type": "string"
  26910. },
  26911. "marketid": {
  26912. "description": "市场ID",
  26913. "type": "integer"
  26914. },
  26915. "orderid": {
  26916. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  26917. "type": "string"
  26918. },
  26919. "ordertype": {
  26920. "description": "单据类型:0 - 发布中, 1 - 已完成",
  26921. "type": "integer"
  26922. },
  26923. "picurls": {
  26924. "description": "介绍图片[多张用逗号分隔]",
  26925. "type": "string"
  26926. },
  26927. "price": {
  26928. "description": "价格",
  26929. "type": "number"
  26930. },
  26931. "qty": {
  26932. "description": "数量",
  26933. "type": "integer"
  26934. },
  26935. "time": {
  26936. "description": "时间",
  26937. "type": "string"
  26938. },
  26939. "trademode": {
  26940. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26941. "type": "integer"
  26942. },
  26943. "vendorname": {
  26944. "description": "供应商名称",
  26945. "type": "string"
  26946. }
  26947. }
  26948. },
  26949. "models.HsbyTopGoods": {
  26950. "type": "object",
  26951. "required": [
  26952. "goodscode",
  26953. "goodsid",
  26954. "goodsname",
  26955. "marketid",
  26956. "trademode"
  26957. ],
  26958. "properties": {
  26959. "agreeunit": {
  26960. "description": "合约单位",
  26961. "type": "number"
  26962. },
  26963. "currency": {
  26964. "description": "货币",
  26965. "type": "string"
  26966. },
  26967. "currencysign": {
  26968. "description": "货币符号",
  26969. "type": "string"
  26970. },
  26971. "decimalplace": {
  26972. "description": "报价小数位",
  26973. "type": "integer"
  26974. },
  26975. "desccityid": {
  26976. "description": "目的地(市)",
  26977. "type": "integer"
  26978. },
  26979. "descprovinceid": {
  26980. "description": "目的地(省)",
  26981. "type": "integer"
  26982. },
  26983. "goodscode": {
  26984. "description": "商品代码(内部)",
  26985. "type": "string"
  26986. },
  26987. "goodsid": {
  26988. "description": "商品ID(自增ID SEQ_GOODS)",
  26989. "type": "integer"
  26990. },
  26991. "goodsname": {
  26992. "description": "商品名称",
  26993. "type": "string"
  26994. },
  26995. "hotindex": {
  26996. "description": "景点热度",
  26997. "type": "integer"
  26998. },
  26999. "last": {
  27000. "description": "现价",
  27001. "type": "number"
  27002. },
  27003. "marketid": {
  27004. "description": "所属市场ID",
  27005. "type": "integer"
  27006. },
  27007. "picurls": {
  27008. "description": "介绍图片[多张用逗号分隔]",
  27009. "type": "string"
  27010. },
  27011. "quoteminunit": {
  27012. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27013. "type": "integer"
  27014. },
  27015. "trademode": {
  27016. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27017. "type": "integer"
  27018. },
  27019. "videourls": {
  27020. "description": "介绍视频[多张用逗号分隔]",
  27021. "type": "string"
  27022. }
  27023. }
  27024. },
  27025. "models.HybsMyBuyOrderDetail": {
  27026. "type": "object",
  27027. "required": [
  27028. "accountid",
  27029. "buyorsell",
  27030. "goodscode",
  27031. "goodsid",
  27032. "goodsname",
  27033. "marketid",
  27034. "orderid",
  27035. "orderqty",
  27036. "ordertime",
  27037. "trademode"
  27038. ],
  27039. "properties": {
  27040. "accountid": {
  27041. "description": "账户ID[报价币种]",
  27042. "type": "integer"
  27043. },
  27044. "agreeunit": {
  27045. "description": "合约单位",
  27046. "type": "number"
  27047. },
  27048. "buyorsell": {
  27049. "description": "买卖 - 0:买 1:卖",
  27050. "type": "integer"
  27051. },
  27052. "cancelqty": {
  27053. "description": "撤单数量",
  27054. "type": "integer"
  27055. },
  27056. "currencysign": {
  27057. "description": "货币符号",
  27058. "type": "string"
  27059. },
  27060. "decimalplace": {
  27061. "description": "报价小数位",
  27062. "type": "integer"
  27063. },
  27064. "goodscode": {
  27065. "description": "商品代码(内部)",
  27066. "type": "string"
  27067. },
  27068. "goodsid": {
  27069. "description": "商品ID",
  27070. "type": "integer"
  27071. },
  27072. "goodsname": {
  27073. "description": "商品名称",
  27074. "type": "string"
  27075. },
  27076. "listingselecttype": {
  27077. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  27078. "type": "integer"
  27079. },
  27080. "marketid": {
  27081. "description": "市场ID",
  27082. "type": "integer"
  27083. },
  27084. "mybuystatus": {
  27085. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  27086. "type": "integer"
  27087. },
  27088. "orderamount": {
  27089. "description": "委托金额",
  27090. "type": "number"
  27091. },
  27092. "orderid": {
  27093. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27094. "type": "string"
  27095. },
  27096. "orderprice": {
  27097. "description": "委托价格",
  27098. "type": "number"
  27099. },
  27100. "orderqty": {
  27101. "description": "委托数量",
  27102. "type": "integer"
  27103. },
  27104. "orderstatus": {
  27105. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27106. "type": "integer"
  27107. },
  27108. "ordertime": {
  27109. "description": "委托时间",
  27110. "type": "string"
  27111. },
  27112. "picurls1": {
  27113. "description": "预售商品介绍图片[多张用逗号分隔]",
  27114. "type": "string"
  27115. },
  27116. "picurls2": {
  27117. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  27118. "type": "string"
  27119. },
  27120. "trademode": {
  27121. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27122. "type": "integer"
  27123. },
  27124. "tradeqty": {
  27125. "description": "成交数量",
  27126. "type": "integer"
  27127. },
  27128. "vendorname1": {
  27129. "description": "预售商品供应商名称",
  27130. "type": "string"
  27131. },
  27132. "vendorname2": {
  27133. "description": "挂牌商品供应商名称",
  27134. "type": "string"
  27135. }
  27136. }
  27137. },
  27138. "models.Loginaccount": {
  27139. "type": "object",
  27140. "required": [
  27141. "loginid"
  27142. ],
  27143. "properties": {
  27144. "accountname": {
  27145. "description": "账户名称",
  27146. "type": "string"
  27147. },
  27148. "canoutin": {
  27149. "description": "是否可出入金 - 0:不可 1:可",
  27150. "type": "integer"
  27151. },
  27152. "clientroleid": {
  27153. "description": "终端角色ID",
  27154. "type": "integer"
  27155. },
  27156. "haslogined": {
  27157. "description": "是否已登录 - 0:未登录 1:已登录",
  27158. "type": "integer"
  27159. },
  27160. "hasupdatedpwd": {
  27161. "description": "是否已更改密码 - 0:未修改 1:已修改",
  27162. "type": "integer"
  27163. },
  27164. "lastloginip": {
  27165. "description": "最新登录地址",
  27166. "type": "string"
  27167. },
  27168. "lastloginmode": {
  27169. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  27170. "type": "integer"
  27171. },
  27172. "lastloginremark": {
  27173. "description": "最新登录描述",
  27174. "type": "string"
  27175. },
  27176. "lastlogintime": {
  27177. "description": "最新登录时间",
  27178. "type": "string"
  27179. },
  27180. "logincode": {
  27181. "description": "登录代码",
  27182. "type": "string"
  27183. },
  27184. "loginfailnum": {
  27185. "description": "连续登录失败次数(登录成功时清零)",
  27186. "type": "integer"
  27187. },
  27188. "loginid": {
  27189. "description": "登陆账号",
  27190. "type": "integer"
  27191. },
  27192. "loginport": {
  27193. "description": "最新登录端口",
  27194. "type": "integer"
  27195. },
  27196. "loginstatus": {
  27197. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  27198. "type": "integer"
  27199. },
  27200. "loginusertype": {
  27201. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  27202. "type": "integer"
  27203. },
  27204. "mobile": {
  27205. "description": "手机号码(加密存储)",
  27206. "type": "string"
  27207. },
  27208. "modifierid": {
  27209. "description": "修改人",
  27210. "type": "integer"
  27211. },
  27212. "modifysrc": {
  27213. "description": "审核来源 - 1:管理端 2:终端",
  27214. "type": "integer"
  27215. },
  27216. "modifytime": {
  27217. "description": "修改时间",
  27218. "type": "string"
  27219. },
  27220. "password": {
  27221. "description": "登陆密码",
  27222. "type": "string"
  27223. },
  27224. "pwdwrongcount": {
  27225. "description": "密码错误次数",
  27226. "type": "integer"
  27227. },
  27228. "relateduserid": {
  27229. "description": "关联用户ID(机构)",
  27230. "type": "integer"
  27231. },
  27232. "taaccountrighttype": {
  27233. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  27234. "type": "integer"
  27235. },
  27236. "unfreezetime": {
  27237. "description": "账户解冻时间",
  27238. "type": "string"
  27239. },
  27240. "userid": {
  27241. "description": "用户ID",
  27242. "type": "integer"
  27243. }
  27244. }
  27245. },
  27246. "models.MainAccountInfo": {
  27247. "type": "object",
  27248. "properties": {
  27249. "accountid": {
  27250. "description": "账号id",
  27251. "type": "integer"
  27252. },
  27253. "accountname": {
  27254. "description": "账号名称(taaccount表中的名称)",
  27255. "type": "string"
  27256. },
  27257. "appid": {
  27258. "description": "AppID",
  27259. "type": "string"
  27260. },
  27261. "authcode": {
  27262. "description": "授权码",
  27263. "type": "string"
  27264. },
  27265. "brokerid": {
  27266. "description": "经纪商id",
  27267. "type": "string"
  27268. },
  27269. "fcid": {
  27270. "description": "期货公司id",
  27271. "type": "integer"
  27272. },
  27273. "fcname": {
  27274. "description": "期货公司代码",
  27275. "type": "string"
  27276. },
  27277. "hedgeaccountcode": {
  27278. "description": "外部账号代码(主账号登录代码)",
  27279. "type": "string"
  27280. },
  27281. "hedgeaccountpwd": {
  27282. "description": "密码",
  27283. "type": "string"
  27284. },
  27285. "ismain": {
  27286. "description": "是否主账号",
  27287. "type": "integer"
  27288. },
  27289. "relateduserid": {
  27290. "description": "关联用户id",
  27291. "type": "integer"
  27292. },
  27293. "userid": {
  27294. "description": "关联用户id",
  27295. "type": "integer"
  27296. }
  27297. }
  27298. },
  27299. "models.Market": {
  27300. "type": "object",
  27301. "required": [
  27302. "marketid",
  27303. "marketstatus",
  27304. "openmethod",
  27305. "reckonpricealgorithm",
  27306. "trademode",
  27307. "tradeproperty"
  27308. ],
  27309. "properties": {
  27310. "auctionwrtype": {
  27311. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  27312. "type": "integer"
  27313. },
  27314. "canacceptquote": {
  27315. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  27316. "type": "integer"
  27317. },
  27318. "cangoodsexercise": {
  27319. "description": "[期权]是否可现货行权- 0:否 1:是",
  27320. "type": "integer"
  27321. },
  27322. "cangoodsexercisetype": {
  27323. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  27324. "type": "integer"
  27325. },
  27326. "canmanualquotestrike": {
  27327. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  27328. "type": "integer"
  27329. },
  27330. "canmutistage": {
  27331. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  27332. "type": "integer"
  27333. },
  27334. "canpreexercise": {
  27335. "description": "[期权]是否可预申报- 0:否 1:是",
  27336. "type": "integer"
  27337. },
  27338. "clearinterval": {
  27339. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  27340. "type": "integer"
  27341. },
  27342. "contracttmp": {
  27343. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  27344. "type": "string"
  27345. },
  27346. "exchareaid": {
  27347. "description": "所属交易所,可以没有",
  27348. "type": "integer"
  27349. },
  27350. "goodstype": {
  27351. "description": "商品类型 - 1:交易商品 2:仓单商品",
  27352. "type": "integer"
  27353. },
  27354. "hasrebate": {
  27355. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  27356. "type": "integer"
  27357. },
  27358. "hastradecredit": {
  27359. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  27360. "type": "integer"
  27361. },
  27362. "haswr": {
  27363. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  27364. "type": "integer"
  27365. },
  27366. "isdeductmargin": {
  27367. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  27368. "type": "integer"
  27369. },
  27370. "isrecordsource": {
  27371. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  27372. "type": "integer"
  27373. },
  27374. "isreleasemargin": {
  27375. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  27376. "type": "integer"
  27377. },
  27378. "marginformula": {
  27379. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27380. "type": "integer"
  27381. },
  27382. "marginformula2": {
  27383. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27384. "type": "integer"
  27385. },
  27386. "marketid": {
  27387. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  27388. "type": "integer"
  27389. },
  27390. "marketname": {
  27391. "description": "市场名称",
  27392. "type": "string"
  27393. },
  27394. "marketserviceid": {
  27395. "description": "市场服务ID",
  27396. "type": "integer"
  27397. },
  27398. "marketstatus": {
  27399. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  27400. "type": "integer"
  27401. },
  27402. "markettype": {
  27403. "description": "市场类型- 1:非交易服务 2:交易服务",
  27404. "type": "integer"
  27405. },
  27406. "matchermode": {
  27407. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  27408. "type": "integer"
  27409. },
  27410. "openmethod": {
  27411. "description": "开盘模式 - 0 自动 1手动",
  27412. "type": "integer"
  27413. },
  27414. "otcuserid": {
  27415. "description": "场外期权做市商[场外期权]",
  27416. "type": "integer"
  27417. },
  27418. "outersynctime": {
  27419. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  27420. "type": "string"
  27421. },
  27422. "pendingflag": {
  27423. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  27424. "type": "integer"
  27425. },
  27426. "pendingtime": {
  27427. "description": "待开市时间[通道交易-对冲](HH:mm)",
  27428. "type": "string"
  27429. },
  27430. "performancetempid": {
  27431. "description": "履约计划模板ID - 作废",
  27432. "type": "integer"
  27433. },
  27434. "premiumquotemode": {
  27435. "description": "权利金报价方式 - 1:自动 2:手动",
  27436. "type": "integer"
  27437. },
  27438. "rebateratio": {
  27439. "description": "返利比率[竞价式]",
  27440. "type": "number"
  27441. },
  27442. "reckonorder": {
  27443. "description": "结算顺序",
  27444. "type": "integer"
  27445. },
  27446. "reckonpricealgorithm": {
  27447. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  27448. "type": "integer"
  27449. },
  27450. "reckonpriceparam": {
  27451. "description": "结算价参数",
  27452. "type": "integer"
  27453. },
  27454. "reckontime": {
  27455. "description": "结算时间[通道交易-对冲](HH:mm)",
  27456. "type": "string"
  27457. },
  27458. "roleprioritytype": {
  27459. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  27460. "type": "integer"
  27461. },
  27462. "selllistingauditflag": {
  27463. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  27464. "type": "integer"
  27465. },
  27466. "trademarkettype": {
  27467. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  27468. "type": "integer"
  27469. },
  27470. "trademode": {
  27471. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27472. "type": "integer"
  27473. },
  27474. "tradeproperty": {
  27475. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  27476. "type": "integer"
  27477. },
  27478. "tradetype": {
  27479. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  27480. "type": "integer"
  27481. }
  27482. }
  27483. },
  27484. "models.Marketrun": {
  27485. "type": "object",
  27486. "required": [
  27487. "marketid",
  27488. "nexttradedate",
  27489. "reckonflag",
  27490. "runstatus",
  27491. "tradedate",
  27492. "tradedate2"
  27493. ],
  27494. "properties": {
  27495. "afternexttradedate": {
  27496. "description": "下下交易日",
  27497. "type": "string"
  27498. },
  27499. "clearquoteflag": {
  27500. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  27501. "type": "integer"
  27502. },
  27503. "lastreckondate": {
  27504. "description": "最新交易日(结算成功)",
  27505. "type": "string"
  27506. },
  27507. "machinedate": {
  27508. "description": "机器时间",
  27509. "type": "string"
  27510. },
  27511. "manualflag": {
  27512. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  27513. "type": "integer"
  27514. },
  27515. "marketid": {
  27516. "description": "市场ID",
  27517. "type": "integer"
  27518. },
  27519. "nexttradedate": {
  27520. "description": "下一交易日",
  27521. "type": "string"
  27522. },
  27523. "pretradedate": {
  27524. "description": "上一交易日",
  27525. "type": "string"
  27526. },
  27527. "reckonflag": {
  27528. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  27529. "type": "integer"
  27530. },
  27531. "runstatus": {
  27532. "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.今日免清算",
  27533. "type": "integer"
  27534. },
  27535. "sectionid": {
  27536. "description": "时间段号[多时段时用]",
  27537. "type": "integer"
  27538. },
  27539. "tradedate": {
  27540. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  27541. "type": "string"
  27542. },
  27543. "tradedate2": {
  27544. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  27545. "type": "string"
  27546. },
  27547. "updatetime": {
  27548. "description": "更新时间",
  27549. "type": "string"
  27550. }
  27551. }
  27552. },
  27553. "models.Messageboard": {
  27554. "type": "object",
  27555. "required": [
  27556. "messageboardid"
  27557. ],
  27558. "properties": {
  27559. "contactnum": {
  27560. "description": "联系电话",
  27561. "type": "string"
  27562. },
  27563. "createtime": {
  27564. "description": "创建时间",
  27565. "type": "string"
  27566. },
  27567. "message": {
  27568. "description": "留言信息",
  27569. "type": "string"
  27570. },
  27571. "messageboardid": {
  27572. "description": "留言簿ID(SEQ_MessageBoard)",
  27573. "type": "integer"
  27574. },
  27575. "userid": {
  27576. "description": "用户ID",
  27577. "type": "integer"
  27578. }
  27579. }
  27580. },
  27581. "models.MyCoupon": {
  27582. "type": "object",
  27583. "required": [
  27584. "accountid",
  27585. "coupontypeid"
  27586. ],
  27587. "properties": {
  27588. "accountid": {
  27589. "description": "资金账户ID",
  27590. "type": "integer"
  27591. },
  27592. "areauserid": {
  27593. "description": "所属机构",
  27594. "type": "integer"
  27595. },
  27596. "conditionvalue": {
  27597. "description": "条件阈值(可为0)",
  27598. "type": "number"
  27599. },
  27600. "couponcategroy": {
  27601. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  27602. "type": "integer"
  27603. },
  27604. "couponname": {
  27605. "description": "优惠券名称",
  27606. "type": "string"
  27607. },
  27608. "coupontypeid": {
  27609. "description": "优惠券类型ID",
  27610. "type": "string"
  27611. },
  27612. "couponvalue": {
  27613. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27614. "type": "number"
  27615. },
  27616. "curfreezeqty": {
  27617. "description": "期末冻结数量",
  27618. "type": "integer"
  27619. },
  27620. "curqty": {
  27621. "description": "期末数量",
  27622. "type": "integer"
  27623. },
  27624. "isgeneral": {
  27625. "description": "是否通用券 - 0:否 1:是",
  27626. "type": "integer"
  27627. },
  27628. "isunusable": {
  27629. "description": "是否不可用",
  27630. "type": "boolean"
  27631. },
  27632. "limitedflag": {
  27633. "description": "是否指定商品 - 0:不限 1:限制",
  27634. "type": "integer"
  27635. },
  27636. "limitedgoodsids": {
  27637. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  27638. "type": "string"
  27639. },
  27640. "orifreezeqty": {
  27641. "description": "期初冻结数量",
  27642. "type": "integer"
  27643. },
  27644. "oriqty": {
  27645. "description": "期初数量",
  27646. "type": "integer"
  27647. },
  27648. "reasontype": {
  27649. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  27650. "type": "integer"
  27651. },
  27652. "todaydecrease": {
  27653. "description": "今日减少",
  27654. "type": "integer"
  27655. },
  27656. "todayincrease": {
  27657. "description": "今日增加",
  27658. "type": "integer"
  27659. },
  27660. "userid": {
  27661. "description": "用户ID",
  27662. "type": "integer"
  27663. },
  27664. "userscope": {
  27665. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  27666. "type": "string"
  27667. }
  27668. }
  27669. },
  27670. "models.MyCouponHold": {
  27671. "type": "object",
  27672. "required": [
  27673. "couponholdid"
  27674. ],
  27675. "properties": {
  27676. "accountid": {
  27677. "description": "资金账户ID",
  27678. "type": "integer"
  27679. },
  27680. "conditionvalue": {
  27681. "description": "条件阈值(可为0)",
  27682. "type": "number"
  27683. },
  27684. "couponcategroy": {
  27685. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  27686. "type": "integer"
  27687. },
  27688. "couponholdid": {
  27689. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  27690. "type": "string"
  27691. },
  27692. "couponname": {
  27693. "description": "优惠券名称",
  27694. "type": "string"
  27695. },
  27696. "coupontypeid": {
  27697. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  27698. "type": "string"
  27699. },
  27700. "couponvalue": {
  27701. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27702. "type": "number"
  27703. },
  27704. "createtime": {
  27705. "description": "创建时间",
  27706. "type": "string"
  27707. },
  27708. "enddate": {
  27709. "description": "结束日期",
  27710. "type": "string"
  27711. },
  27712. "giveapplyid": {
  27713. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  27714. "type": "integer"
  27715. },
  27716. "holdstatus": {
  27717. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  27718. "type": "integer"
  27719. },
  27720. "isgeneral": {
  27721. "description": "是否通用券 - 0:否 1:是",
  27722. "type": "integer"
  27723. },
  27724. "limitedflag": {
  27725. "description": "是否指定商品 - 0:不限 1:限制",
  27726. "type": "integer"
  27727. },
  27728. "limitedgoodsids": {
  27729. "description": "指定商品IDs[逗号分隔]",
  27730. "type": "string"
  27731. },
  27732. "qty": {
  27733. "description": "数量(按1平铺)",
  27734. "type": "integer"
  27735. },
  27736. "startdate": {
  27737. "description": "开始日期",
  27738. "type": "string"
  27739. },
  27740. "userid": {
  27741. "description": "用户ID",
  27742. "type": "integer"
  27743. },
  27744. "userscope": {
  27745. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  27746. "type": "string"
  27747. }
  27748. }
  27749. },
  27750. "models.MyUsedCoupon": {
  27751. "type": "object",
  27752. "required": [
  27753. "coupontypeid",
  27754. "orderid"
  27755. ],
  27756. "properties": {
  27757. "accountid": {
  27758. "description": "资金账户ID(买方)",
  27759. "type": "integer"
  27760. },
  27761. "conditionvalue": {
  27762. "description": "条件阈值(可为0)",
  27763. "type": "number"
  27764. },
  27765. "couponcategroy": {
  27766. "description": "种类 - 1:现金券 2:折扣券",
  27767. "type": "integer"
  27768. },
  27769. "couponname": {
  27770. "description": "优惠券名称",
  27771. "type": "string"
  27772. },
  27773. "coupontypeid": {
  27774. "description": "优惠券类型ID(买方)",
  27775. "type": "string"
  27776. },
  27777. "couponvalue": {
  27778. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  27779. "type": "number"
  27780. },
  27781. "createtime": {
  27782. "description": "创建时间",
  27783. "type": "string"
  27784. },
  27785. "goodsid": {
  27786. "description": "商品ID",
  27787. "type": "integer"
  27788. },
  27789. "handlestatus": {
  27790. "description": "处理状态",
  27791. "type": "integer"
  27792. },
  27793. "marketid": {
  27794. "description": "市场ID",
  27795. "type": "integer"
  27796. },
  27797. "offamount": {
  27798. "description": "优惠金额",
  27799. "type": "number"
  27800. },
  27801. "orderid": {
  27802. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27803. "type": "string"
  27804. },
  27805. "sellaccountid": {
  27806. "description": "资金账户ID(卖方)",
  27807. "type": "integer"
  27808. },
  27809. "tradeamount": {
  27810. "description": "成交金额",
  27811. "type": "number"
  27812. },
  27813. "tradeid": {
  27814. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27815. "type": "string"
  27816. },
  27817. "usedqty": {
  27818. "description": "使用数量",
  27819. "type": "integer"
  27820. }
  27821. }
  27822. },
  27823. "models.OperationPrimaryMenu": {
  27824. "type": "object",
  27825. "properties": {
  27826. "Children": {
  27827. "description": "二级功能菜单",
  27828. "type": "array",
  27829. "items": {
  27830. "$ref": "#/definitions/models.OperationSecondaryMenu"
  27831. }
  27832. },
  27833. "Key": {
  27834. "description": "菜单KEY",
  27835. "type": "string"
  27836. },
  27837. "Label": {
  27838. "description": "菜单标题",
  27839. "type": "string"
  27840. }
  27841. }
  27842. },
  27843. "models.OperationSecondaryMenu": {
  27844. "type": "object",
  27845. "properties": {
  27846. "Key": {
  27847. "description": "菜单KEY",
  27848. "type": "string"
  27849. },
  27850. "Label": {
  27851. "description": "菜单标题",
  27852. "type": "string"
  27853. },
  27854. "TabList": {
  27855. "description": "三级功能菜单",
  27856. "type": "array",
  27857. "items": {
  27858. "$ref": "#/definitions/models.OperationTabMenu"
  27859. }
  27860. }
  27861. }
  27862. },
  27863. "models.OperationTabMenu": {
  27864. "type": "object",
  27865. "properties": {
  27866. "Key": {
  27867. "description": "菜单KEY",
  27868. "type": "string"
  27869. },
  27870. "Label": {
  27871. "description": "菜单标题",
  27872. "type": "string"
  27873. }
  27874. }
  27875. },
  27876. "models.QhjAccountOutInApply": {
  27877. "type": "object",
  27878. "properties": {
  27879. "accountcode": {
  27880. "description": "资金账号",
  27881. "type": "string"
  27882. },
  27883. "accountname": {
  27884. "description": "用户名称(名称)",
  27885. "type": "string"
  27886. },
  27887. "accountpwd": {
  27888. "description": "资金密码",
  27889. "type": "string"
  27890. },
  27891. "accountticket": {
  27892. "description": "最新账户服务流水号",
  27893. "type": "string"
  27894. },
  27895. "amount": {
  27896. "description": "金额",
  27897. "type": "number"
  27898. },
  27899. "applyremark": {
  27900. "description": "申请备注",
  27901. "type": "string"
  27902. },
  27903. "applystatus": {
  27904. "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: 复审通过,账户冻结金额检查中;",
  27905. "type": "integer"
  27906. },
  27907. "auditid": {
  27908. "description": "审核人",
  27909. "type": "integer"
  27910. },
  27911. "audittime": {
  27912. "description": "审核时间",
  27913. "type": "string"
  27914. },
  27915. "bank_apply_ticket": {
  27916. "description": "银行申请流水",
  27917. "type": "string"
  27918. },
  27919. "bankaccountname": {
  27920. "description": "银行账户名",
  27921. "type": "string"
  27922. },
  27923. "bankaccountno": {
  27924. "description": "银行卡号",
  27925. "type": "string"
  27926. },
  27927. "bankid": {
  27928. "description": "银行编号",
  27929. "type": "string"
  27930. },
  27931. "bankticket": {
  27932. "description": "银行流水",
  27933. "type": "string"
  27934. },
  27935. "branchbankid": {
  27936. "description": "银行支行号",
  27937. "type": "string"
  27938. },
  27939. "branchbankname": {
  27940. "description": "银行支行名称",
  27941. "type": "string"
  27942. },
  27943. "capamountout": {
  27944. "description": "出金(劣后本金) - 外部子账户",
  27945. "type": "number"
  27946. },
  27947. "certificatephotourl": {
  27948. "description": "凭证地址",
  27949. "type": "string"
  27950. },
  27951. "charge": {
  27952. "description": "手续费",
  27953. "type": "number"
  27954. },
  27955. "checkerrorflag": {
  27956. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27957. "type": "integer"
  27958. },
  27959. "currency": {
  27960. "description": "币种",
  27961. "type": "string"
  27962. },
  27963. "cusbankid": {
  27964. "description": "托管银行编号",
  27965. "type": "string"
  27966. },
  27967. "exchticket": {
  27968. "description": "银行服务流水号",
  27969. "type": "string"
  27970. },
  27971. "executetype": {
  27972. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27973. "type": "integer"
  27974. },
  27975. "extendinfo": {
  27976. "description": "扩展信息",
  27977. "type": "string"
  27978. },
  27979. "extoperateid": {
  27980. "description": "交易服务流水号",
  27981. "type": "integer"
  27982. },
  27983. "infamount": {
  27984. "description": "劣后金额(自有)",
  27985. "type": "number"
  27986. },
  27987. "logincode": {
  27988. "description": "登录账号(账号)",
  27989. "type": "string"
  27990. },
  27991. "netaddr": {
  27992. "description": "调转网址",
  27993. "type": "string"
  27994. },
  27995. "priamount": {
  27996. "description": "优先金额(授信)",
  27997. "type": "number"
  27998. },
  27999. "reauditid": {
  28000. "description": "复审人",
  28001. "type": "integer"
  28002. },
  28003. "reauditremark": {
  28004. "description": "复审备注",
  28005. "type": "string"
  28006. },
  28007. "reaudittime": {
  28008. "description": "复审时间",
  28009. "type": "string"
  28010. },
  28011. "relatedorderid": {
  28012. "description": "三方关联ID",
  28013. "type": "string"
  28014. },
  28015. "remark": {
  28016. "description": "备注",
  28017. "type": "string"
  28018. },
  28019. "remark2": {
  28020. "description": "备注(失败原因)",
  28021. "type": "string"
  28022. },
  28023. "soucreamount": {
  28024. "description": "原始出入金金额",
  28025. "type": "number"
  28026. },
  28027. "soucrecurrencyid": {
  28028. "description": "原始出入金币种",
  28029. "type": "integer"
  28030. },
  28031. "tradedate": {
  28032. "description": "交易日(yyyyMMdd)",
  28033. "type": "string"
  28034. },
  28035. "updatetime": {
  28036. "description": "更新时间(申请时间)",
  28037. "type": "string"
  28038. },
  28039. "userid": {
  28040. "description": "用户id",
  28041. "type": "integer"
  28042. },
  28043. "userinfotype": {
  28044. "description": "账户类型 1-个人 2-企业",
  28045. "type": "integer"
  28046. }
  28047. }
  28048. },
  28049. "models.QhjAgreementChangeLog": {
  28050. "type": "object",
  28051. "properties": {
  28052. "agreementcontent": {
  28053. "description": "协议内容",
  28054. "type": "string"
  28055. },
  28056. "agreementfrequency": {
  28057. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28058. "type": "integer"
  28059. },
  28060. "agreementid": {
  28061. "description": "协议ID",
  28062. "type": "integer"
  28063. },
  28064. "agreementname": {
  28065. "description": "协议名称",
  28066. "type": "string"
  28067. },
  28068. "agreementno": {
  28069. "description": "协议编号",
  28070. "type": "string"
  28071. },
  28072. "agreementtype": {
  28073. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28074. "type": "integer"
  28075. },
  28076. "agreementversion": {
  28077. "description": "协议版本号",
  28078. "type": "integer"
  28079. },
  28080. "logid": {
  28081. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  28082. "type": "integer"
  28083. },
  28084. "reviserid": {
  28085. "description": "修改人",
  28086. "type": "integer"
  28087. },
  28088. "revisersrc": {
  28089. "description": "修改来源 - 1:管理端 2:终端",
  28090. "type": "integer"
  28091. },
  28092. "updatetime": {
  28093. "description": "更新时间",
  28094. "type": "string"
  28095. }
  28096. }
  28097. },
  28098. "models.QhjAgreementConfig": {
  28099. "type": "object",
  28100. "properties": {
  28101. "agreementcontent": {
  28102. "description": "协议内容",
  28103. "type": "string"
  28104. },
  28105. "agreementfrequency": {
  28106. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28107. "type": "integer"
  28108. },
  28109. "agreementid": {
  28110. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  28111. "type": "integer"
  28112. },
  28113. "agreementname": {
  28114. "description": "协议名称",
  28115. "type": "string"
  28116. },
  28117. "agreementno": {
  28118. "description": "协议编号",
  28119. "type": "string"
  28120. },
  28121. "agreementtype": {
  28122. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28123. "type": "integer"
  28124. },
  28125. "agreementversion": {
  28126. "description": "协议版本号(从1开始每次修改加1)",
  28127. "type": "integer"
  28128. },
  28129. "createtime": {
  28130. "description": "创建时间",
  28131. "type": "string"
  28132. },
  28133. "creatorid": {
  28134. "description": "创建人",
  28135. "type": "integer"
  28136. },
  28137. "creatorsrc": {
  28138. "description": "创建来源 - 1:管理端 2:终端",
  28139. "type": "integer"
  28140. },
  28141. "isvalid": {
  28142. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  28143. "type": "integer"
  28144. },
  28145. "reviserid": {
  28146. "description": "修改人",
  28147. "type": "integer"
  28148. },
  28149. "revisersrc": {
  28150. "description": "修改来源 - 1:管理端 2:终端",
  28151. "type": "integer"
  28152. },
  28153. "updatetime": {
  28154. "description": "更新时间",
  28155. "type": "string"
  28156. }
  28157. }
  28158. },
  28159. "models.QhjAreaFinanceConfig": {
  28160. "type": "object",
  28161. "properties": {
  28162. "additionalratio": {
  28163. "description": "追加款比例",
  28164. "type": "number"
  28165. },
  28166. "advanceratio": {
  28167. "description": "预付款比例",
  28168. "type": "number"
  28169. },
  28170. "alarmratio": {
  28171. "description": "告警比例",
  28172. "type": "number"
  28173. },
  28174. "consumptiondirectreward": {
  28175. "description": "消费直推奖励值",
  28176. "type": "number"
  28177. },
  28178. "consumptionenabled": {
  28179. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  28180. "type": "integer"
  28181. },
  28182. "consumptionindirectreward": {
  28183. "description": "消费间推奖励值",
  28184. "type": "number"
  28185. },
  28186. "consumptionmodel": {
  28187. "description": "消费奖励方式 - 1:比率 2:固定",
  28188. "type": "integer"
  28189. },
  28190. "customerservicenum": {
  28191. "description": "客服电话",
  28192. "type": "string"
  28193. },
  28194. "dayinterestrate": {
  28195. "description": "日利率",
  28196. "type": "number"
  28197. },
  28198. "disableconsumptiontips": {
  28199. "description": "关闭消费奖励提示",
  28200. "type": "string"
  28201. },
  28202. "modifierid": {
  28203. "description": "修改人ID",
  28204. "type": "integer"
  28205. },
  28206. "modifysrc": {
  28207. "description": "审核来源 - 1:管理端 2:终端",
  28208. "type": "integer"
  28209. },
  28210. "modifytime": {
  28211. "description": "修改时间",
  28212. "type": "string"
  28213. },
  28214. "promotionvalue": {
  28215. "description": "推广奖励值(固定)",
  28216. "type": "number"
  28217. },
  28218. "scoreconfigvalue1": {
  28219. "description": "提货积分配置1",
  28220. "type": "integer"
  28221. },
  28222. "scoreconfigvalue2": {
  28223. "description": "提货积分配置2",
  28224. "type": "integer"
  28225. },
  28226. "userid": {
  28227. "description": "机构用户ID其他做市关系,都设置为 1",
  28228. "type": "integer"
  28229. },
  28230. "username": {
  28231. "description": "用户名称",
  28232. "type": "string"
  28233. }
  28234. }
  28235. },
  28236. "models.QhjBankAccountSign": {
  28237. "type": "object",
  28238. "properties": {
  28239. "accountcode": {
  28240. "description": "资金账号",
  28241. "type": "string"
  28242. },
  28243. "accountname": {
  28244. "description": "资金账号对应的账号名(UserName)",
  28245. "type": "string"
  28246. },
  28247. "accountname2": {
  28248. "description": "资金账号对应的账号名(UserName) - 密文",
  28249. "type": "string"
  28250. },
  28251. "accounttype": {
  28252. "description": "账户类型(UserType)",
  28253. "type": "integer"
  28254. },
  28255. "applicationtime": {
  28256. "description": "最后一次更新的时间",
  28257. "type": "string"
  28258. },
  28259. "applyexchticket": {
  28260. "description": "申请流水",
  28261. "type": "string"
  28262. },
  28263. "auditid": {
  28264. "description": "审核人",
  28265. "type": "integer"
  28266. },
  28267. "audittime": {
  28268. "description": "审核时间",
  28269. "type": "string"
  28270. },
  28271. "bankaccountname": {
  28272. "description": "签约银行卡账号名",
  28273. "type": "string"
  28274. },
  28275. "bankaccountname2": {
  28276. "description": "签约银行卡账号名 - 密文",
  28277. "type": "string"
  28278. },
  28279. "bankaccountno": {
  28280. "description": "银行卡号",
  28281. "type": "string"
  28282. },
  28283. "bankaccountno2": {
  28284. "description": "银行卡号 - 密文",
  28285. "type": "string"
  28286. },
  28287. "bankaccounttype": {
  28288. "description": "银行账户类型 - 1-对私; 2-对公",
  28289. "type": "integer"
  28290. },
  28291. "bankcardtype": {
  28292. "description": "银行卡类型",
  28293. "type": "integer"
  28294. },
  28295. "bankchildaccount": {
  28296. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  28297. "type": "string"
  28298. },
  28299. "bankcity": {
  28300. "description": "开户行城市",
  28301. "type": "string"
  28302. },
  28303. "bankid": {
  28304. "description": "签约银行ID",
  28305. "type": "string"
  28306. },
  28307. "bankname": {
  28308. "description": "签约银行名称",
  28309. "type": "string"
  28310. },
  28311. "bankprovince": {
  28312. "description": "开户行省份",
  28313. "type": "string"
  28314. },
  28315. "branchbankid": {
  28316. "description": "签约银行支行号",
  28317. "type": "string"
  28318. },
  28319. "branchbankname": {
  28320. "description": "签约银行支行名称",
  28321. "type": "string"
  28322. },
  28323. "cardno": {
  28324. "description": "证件号码",
  28325. "type": "string"
  28326. },
  28327. "cardno2": {
  28328. "description": "证件号码 - 密文",
  28329. "type": "string"
  28330. },
  28331. "cardtype": {
  28332. "description": "证件类型",
  28333. "type": "string"
  28334. },
  28335. "currency": {
  28336. "description": "币种",
  28337. "type": "string"
  28338. },
  28339. "cusbankid": {
  28340. "description": "托管银行编号",
  28341. "type": "string"
  28342. },
  28343. "direct": {
  28344. "description": "方向(可以判断那方先发起的签约)",
  28345. "type": "integer"
  28346. },
  28347. "exchticket": {
  28348. "description": "最后一次签约成功的流水号",
  28349. "type": "string"
  28350. },
  28351. "extendinfo": {
  28352. "description": "扩展信息(JSON字符串)",
  28353. "type": "string"
  28354. },
  28355. "mobilephone": {
  28356. "description": "手机号",
  28357. "type": "string"
  28358. },
  28359. "mobilephone2": {
  28360. "description": "手机号 - 密文",
  28361. "type": "string"
  28362. },
  28363. "netaddr": {
  28364. "description": "调转网址",
  28365. "type": "string"
  28366. },
  28367. "relateduserid": {
  28368. "description": "关联使用者userid",
  28369. "type": "integer"
  28370. },
  28371. "signstatus": {
  28372. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  28373. "type": "integer"
  28374. },
  28375. "updatetime": {
  28376. "description": "更新时间(签解约更新时间)",
  28377. "type": "string"
  28378. }
  28379. }
  28380. },
  28381. "models.QhjBankInfo": {
  28382. "type": "object",
  28383. "properties": {
  28384. "bankid": {
  28385. "description": "银行ID",
  28386. "type": "string"
  28387. },
  28388. "bankname": {
  28389. "description": "银行名称",
  28390. "type": "string"
  28391. },
  28392. "clearbankno": {
  28393. "description": "清算系统银行编号",
  28394. "type": "string"
  28395. },
  28396. "orderindex": {
  28397. "description": "排序顺序",
  28398. "type": "integer"
  28399. },
  28400. "status": {
  28401. "description": "状态 - 0:正常 1:注销",
  28402. "type": "integer"
  28403. }
  28404. }
  28405. },
  28406. "models.QhjBrokerApply": {
  28407. "type": "object",
  28408. "properties": {
  28409. "applicantid": {
  28410. "description": "申请人",
  28411. "type": "integer"
  28412. },
  28413. "applysrc": {
  28414. "description": "申请来源 - 1:管理端 2:终端",
  28415. "type": "integer"
  28416. },
  28417. "applystatus": {
  28418. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  28419. "type": "integer"
  28420. },
  28421. "applytime": {
  28422. "description": "申请时间",
  28423. "type": "string"
  28424. },
  28425. "auditorid": {
  28426. "description": "审核人",
  28427. "type": "integer"
  28428. },
  28429. "auditremark": {
  28430. "description": "审核备注",
  28431. "type": "string"
  28432. },
  28433. "auditsrc": {
  28434. "description": "审核来源 - 1:管理端 2:终端",
  28435. "type": "integer"
  28436. },
  28437. "audittime": {
  28438. "description": "审核时间",
  28439. "type": "string"
  28440. },
  28441. "audittradedate": {
  28442. "description": "审核交易日(yyyyMMdd)",
  28443. "type": "string"
  28444. },
  28445. "brokerapplyid": {
  28446. "description": "申请ID(SEQ_BROKERAPPLY)",
  28447. "type": "integer"
  28448. },
  28449. "cardbackphotourl": {
  28450. "description": "证件背面图片地址",
  28451. "type": "string"
  28452. },
  28453. "cardfrontphotourl": {
  28454. "description": "证件正面图片地址",
  28455. "type": "string"
  28456. },
  28457. "cardnum": {
  28458. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  28459. "type": "string"
  28460. },
  28461. "customername": {
  28462. "description": "姓名",
  28463. "type": "string"
  28464. },
  28465. "logincode": {
  28466. "description": "登录代码",
  28467. "type": "string"
  28468. },
  28469. "mobile": {
  28470. "description": "手机号码",
  28471. "type": "string"
  28472. },
  28473. "parentuserid": {
  28474. "description": "所属机构id",
  28475. "type": "integer"
  28476. },
  28477. "parentusername": {
  28478. "description": "所属机构名称",
  28479. "type": "string"
  28480. },
  28481. "refereeuserid": {
  28482. "description": "推荐人id(经纪人)",
  28483. "type": "integer"
  28484. },
  28485. "refernum": {
  28486. "description": "推荐码",
  28487. "type": "string"
  28488. },
  28489. "remark": {
  28490. "description": "备注",
  28491. "type": "string"
  28492. },
  28493. "subarealevelpath": {
  28494. "description": "层级路径",
  28495. "type": "string"
  28496. },
  28497. "tradedate": {
  28498. "description": "交易日(yyyyMMdd)",
  28499. "type": "string"
  28500. },
  28501. "userid": {
  28502. "description": "申请人用户ID",
  28503. "type": "integer"
  28504. },
  28505. "userinfotype": {
  28506. "description": "用户类型 1-个人 2-企业",
  28507. "type": "integer"
  28508. },
  28509. "username": {
  28510. "description": "用户名称",
  28511. "type": "string"
  28512. }
  28513. }
  28514. },
  28515. "models.QhjBrokerApplyEx": {
  28516. "type": "object",
  28517. "properties": {
  28518. "applylist": {
  28519. "description": "经纪人申请记录(只返回最新一条)",
  28520. "type": "array",
  28521. "items": {
  28522. "$ref": "#/definitions/models.QhjBrokerApply"
  28523. }
  28524. },
  28525. "canrecommend": {
  28526. "description": "是否经纪人 0-不是 1-是",
  28527. "type": "integer"
  28528. },
  28529. "refernum": {
  28530. "description": "推荐码",
  28531. "type": "string"
  28532. },
  28533. "userid": {
  28534. "description": "用户id",
  28535. "type": "integer"
  28536. },
  28537. "userinfotype": {
  28538. "description": "用户类型 1-个人 2-企业",
  28539. "type": "integer"
  28540. }
  28541. }
  28542. },
  28543. "models.QhjBrokerRewardLog": {
  28544. "type": "object",
  28545. "properties": {
  28546. "accountid": {
  28547. "description": "资金账号ID",
  28548. "type": "integer"
  28549. },
  28550. "createtime": {
  28551. "description": "创建时间(时间)",
  28552. "type": "string"
  28553. },
  28554. "handlestatus": {
  28555. "description": "处理状态",
  28556. "type": "integer"
  28557. },
  28558. "logid": {
  28559. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28560. "type": "string"
  28561. },
  28562. "marketid": {
  28563. "description": "市场ID",
  28564. "type": "integer"
  28565. },
  28566. "mmaccountid": {
  28567. "description": "做市商资金账号ID",
  28568. "type": "string"
  28569. },
  28570. "mmuserid": {
  28571. "description": "做市商用户ID",
  28572. "type": "string"
  28573. },
  28574. "rewardamount": {
  28575. "description": "奖励金额",
  28576. "type": "number"
  28577. },
  28578. "rewardmodel": {
  28579. "description": "消费奖励方式 - 1:比率 2:固定",
  28580. "type": "integer"
  28581. },
  28582. "rewardtype": {
  28583. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  28584. "type": "integer"
  28585. },
  28586. "rewardvalue": {
  28587. "description": "配置奖励值",
  28588. "type": "number"
  28589. },
  28590. "srcamount": {
  28591. "description": "成交金额 [消费奖励] (金额)",
  28592. "type": "number"
  28593. },
  28594. "srcgoodsid": {
  28595. "description": "来源商品ID [消费奖励]",
  28596. "type": "string"
  28597. },
  28598. "srctime": {
  28599. "description": "来源时间 (成交时间) [消费奖励]",
  28600. "type": "string"
  28601. },
  28602. "srctradeid": {
  28603. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  28604. "type": "string"
  28605. },
  28606. "srcuserid": {
  28607. "description": "来源用户ID(推广账户)",
  28608. "type": "string"
  28609. },
  28610. "srcusername": {
  28611. "description": "推广账户名称",
  28612. "type": "string"
  28613. },
  28614. "tradedate": {
  28615. "description": "交易日(yyyyMMdd)",
  28616. "type": "string"
  28617. },
  28618. "userid": {
  28619. "description": "经纪人用户ID",
  28620. "type": "integer"
  28621. }
  28622. }
  28623. },
  28624. "models.QhjContract": {
  28625. "type": "object",
  28626. "properties": {
  28627. "contractconfirmtime": {
  28628. "description": "合同确认时间(时间)",
  28629. "type": "string"
  28630. },
  28631. "currisklevel": {
  28632. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  28633. "type": "integer"
  28634. },
  28635. "decimalplace": {
  28636. "description": "商品报价小数位",
  28637. "type": "integer"
  28638. },
  28639. "enumdicname": {
  28640. "description": "单位名称",
  28641. "type": "string"
  28642. },
  28643. "goodscode": {
  28644. "description": "商品代码",
  28645. "type": "string"
  28646. },
  28647. "goodsid": {
  28648. "description": "商品ID [5:融资单]",
  28649. "type": "integer"
  28650. },
  28651. "goodsname": {
  28652. "description": "商品名称",
  28653. "type": "string"
  28654. },
  28655. "goodunitid": {
  28656. "description": "商品单位id",
  28657. "type": "integer"
  28658. },
  28659. "initmargin": {
  28660. "description": "初始保证金(首付款)",
  28661. "type": "number"
  28662. },
  28663. "lenderamount": {
  28664. "description": "贷款金额(总额|订单总额)",
  28665. "type": "number"
  28666. },
  28667. "marginratio": {
  28668. "description": "保证金比率(首付比例)",
  28669. "type": "number"
  28670. },
  28671. "payamount": {
  28672. "description": "已付(已付货款)",
  28673. "type": "number"
  28674. },
  28675. "reckonrecovermargin": {
  28676. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  28677. "type": "number"
  28678. },
  28679. "recoveredmargin": {
  28680. "description": "已追缴保证金",
  28681. "type": "number"
  28682. },
  28683. "remainamount": {
  28684. "description": "合同剩余金额(融资额)",
  28685. "type": "number"
  28686. },
  28687. "scfcontractid": {
  28688. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28689. "type": "string"
  28690. },
  28691. "scfcontractstatus": {
  28692. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  28693. "type": "integer"
  28694. },
  28695. "scfcontracttype": {
  28696. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  28697. "type": "integer"
  28698. },
  28699. "totalinterest": {
  28700. "description": "已计总利息(利息)",
  28701. "type": "number"
  28702. },
  28703. "tradeprice": {
  28704. "description": "成交价格(成本价格)",
  28705. "type": "number"
  28706. },
  28707. "userid": {
  28708. "description": "用户ID",
  28709. "type": "integer"
  28710. },
  28711. "username": {
  28712. "description": "用户名称",
  28713. "type": "string"
  28714. },
  28715. "wrqty": {
  28716. "description": "仓单数量(数量)",
  28717. "type": "number"
  28718. }
  28719. }
  28720. },
  28721. "models.QhjContractLog": {
  28722. "type": "object",
  28723. "properties": {
  28724. "amount": {
  28725. "description": "支付金额",
  28726. "type": "number"
  28727. },
  28728. "amounttype": {
  28729. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  28730. "type": "integer"
  28731. },
  28732. "logid": {
  28733. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28734. "type": "string"
  28735. },
  28736. "remainamount": {
  28737. "description": "剩余货款",
  28738. "type": "number"
  28739. },
  28740. "scfcontractid": {
  28741. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28742. "type": "integer"
  28743. },
  28744. "updatetime": {
  28745. "description": "更新时间",
  28746. "type": "string"
  28747. }
  28748. }
  28749. },
  28750. "models.QhjCusBankSignBankEx": {
  28751. "type": "object",
  28752. "properties": {
  28753. "banklst": {
  28754. "description": "银行列表",
  28755. "type": "array",
  28756. "items": {
  28757. "$ref": "#/definitions/models.QhjBankInfo"
  28758. }
  28759. },
  28760. "canallot": {
  28761. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  28762. "type": "integer"
  28763. },
  28764. "canallotquery": {
  28765. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  28766. "type": "integer"
  28767. },
  28768. "canbindcard": {
  28769. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  28770. "type": "integer"
  28771. },
  28772. "caninamount": {
  28773. "description": "是否可入金 - 0:不可 1:可以",
  28774. "type": "integer"
  28775. },
  28776. "caninamount2": {
  28777. "description": "是否可入金(网银端) - 0:不可 1:可以",
  28778. "type": "integer"
  28779. },
  28780. "canmodifybankcard": {
  28781. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  28782. "type": "integer"
  28783. },
  28784. "canmodifyphone": {
  28785. "description": "是否可修改手机号 - 0:不可 1:可以",
  28786. "type": "integer"
  28787. },
  28788. "canmodifysigninfo": {
  28789. "description": "是否可修改签约信息 - 0:不可 1:可以",
  28790. "type": "integer"
  28791. },
  28792. "canoutamount": {
  28793. "description": "是否可出金 - 0:不可 1:可以",
  28794. "type": "integer"
  28795. },
  28796. "canoutamount2": {
  28797. "description": "是否可出金(网银端) - 0:不可 1:可以",
  28798. "type": "integer"
  28799. },
  28800. "canrelease": {
  28801. "description": "是否可解约 - 0:不可 1:可以",
  28802. "type": "integer"
  28803. },
  28804. "canrelease2": {
  28805. "description": "是否可解约(网银端) - 0:不可 1:可以",
  28806. "type": "integer"
  28807. },
  28808. "cansign": {
  28809. "description": "是否可签约 - 0:不可 1:可以",
  28810. "type": "integer"
  28811. },
  28812. "cansign2": {
  28813. "description": "是否可签约(网银端) - 0:不可 1:可以",
  28814. "type": "integer"
  28815. },
  28816. "currency": {
  28817. "description": "币种",
  28818. "type": "string"
  28819. },
  28820. "cusbankid": {
  28821. "description": "托管银行编号(对应清算中心TRAN_NO)",
  28822. "type": "string"
  28823. },
  28824. "cusbankname": {
  28825. "description": "银行业务名称",
  28826. "type": "string"
  28827. },
  28828. "cusbankshortname": {
  28829. "description": "银行业务简称",
  28830. "type": "string"
  28831. },
  28832. "exchbankid": {
  28833. "description": "交易所开户银行ID",
  28834. "type": "string"
  28835. },
  28836. "exchpaybankaccname": {
  28837. "description": "交易所支出结算账户户名",
  28838. "type": "string"
  28839. },
  28840. "exchpaybankaccno": {
  28841. "description": "交易所支出结算账户",
  28842. "type": "string"
  28843. },
  28844. "isneedcheck": {
  28845. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  28846. "type": "integer"
  28847. },
  28848. "isneedclear": {
  28849. "description": "是否需要清算 - 0:不需要 1:需要",
  28850. "type": "integer"
  28851. },
  28852. "lastcheckstatus": {
  28853. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  28854. "type": "integer"
  28855. },
  28856. "lastchecktime": {
  28857. "description": "最后对账时间",
  28858. "type": "string"
  28859. },
  28860. "lastclearstatus": {
  28861. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  28862. "type": "integer"
  28863. },
  28864. "lastcleartime": {
  28865. "description": "最后清算时间",
  28866. "type": "string"
  28867. },
  28868. "lastsignintime": {
  28869. "description": "最后签到时间",
  28870. "type": "string"
  28871. },
  28872. "lastsignouttime": {
  28873. "description": "最后签退时间",
  28874. "type": "string"
  28875. },
  28876. "riskinfo": {
  28877. "description": "签约风险提示书",
  28878. "type": "string"
  28879. },
  28880. "signstatus": {
  28881. "description": "当前签到/签退状态 - 1:签到 2:签退",
  28882. "type": "integer"
  28883. },
  28884. "tradedate": {
  28885. "description": "交易日(yyyyMMdd)",
  28886. "type": "string"
  28887. },
  28888. "updatetime": {
  28889. "description": "当前签到/签退更新时间",
  28890. "type": "string"
  28891. }
  28892. }
  28893. },
  28894. "models.QhjCustomer": {
  28895. "type": "object",
  28896. "properties": {
  28897. "address": {
  28898. "description": "通讯地址",
  28899. "type": "string"
  28900. },
  28901. "attachment1": {
  28902. "description": "附件1",
  28903. "type": "string"
  28904. },
  28905. "attachment2": {
  28906. "description": "附件2",
  28907. "type": "string"
  28908. },
  28909. "audittime": {
  28910. "description": "审核时间",
  28911. "type": "string"
  28912. },
  28913. "cardbackphotourl": {
  28914. "description": "证件反面图片地址",
  28915. "type": "string"
  28916. },
  28917. "cardfrontphotourl": {
  28918. "description": "证件正面图片地址",
  28919. "type": "string"
  28920. },
  28921. "cardnum": {
  28922. "description": "证件号码",
  28923. "type": "string"
  28924. },
  28925. "cardtype": {
  28926. "description": "证件类型",
  28927. "type": "integer"
  28928. },
  28929. "cardtypename": {
  28930. "description": "证件类型名称",
  28931. "type": "string"
  28932. },
  28933. "cityid": {
  28934. "description": "市",
  28935. "type": "integer"
  28936. },
  28937. "cityname": {
  28938. "description": "城市名称",
  28939. "type": "string"
  28940. },
  28941. "contactname": {
  28942. "description": "联系人",
  28943. "type": "string"
  28944. },
  28945. "countryid": {
  28946. "description": "国家",
  28947. "type": "integer"
  28948. },
  28949. "countryname": {
  28950. "description": "国家名称",
  28951. "type": "string"
  28952. },
  28953. "createtime": {
  28954. "description": "创建时间",
  28955. "type": "string"
  28956. },
  28957. "customername": {
  28958. "description": "客户名称",
  28959. "type": "string"
  28960. },
  28961. "districtid": {
  28962. "description": "区域",
  28963. "type": "integer"
  28964. },
  28965. "districtname": {
  28966. "description": "地区名称",
  28967. "type": "string"
  28968. },
  28969. "email": {
  28970. "description": "邮件",
  28971. "type": "string"
  28972. },
  28973. "legalpersonname": {
  28974. "description": "法人姓名(企业)",
  28975. "type": "string"
  28976. },
  28977. "logincode": {
  28978. "description": "登录账号(代码)",
  28979. "type": "string"
  28980. },
  28981. "memberuserid": {
  28982. "description": "所属机构ID(所属会员)",
  28983. "type": "integer"
  28984. },
  28985. "memberusername": {
  28986. "description": "所属会员名称",
  28987. "type": "string"
  28988. },
  28989. "mobile": {
  28990. "description": "手机号码",
  28991. "type": "string"
  28992. },
  28993. "modifytime": {
  28994. "description": "修改时间",
  28995. "type": "string"
  28996. },
  28997. "nickname": {
  28998. "description": "昵称",
  28999. "type": "string"
  29000. },
  29001. "parentuserid": {
  29002. "description": "上级机构(所属机构)",
  29003. "type": "integer"
  29004. },
  29005. "parentusername": {
  29006. "description": "所属机构名称",
  29007. "type": "string"
  29008. },
  29009. "provinceid": {
  29010. "description": "省",
  29011. "type": "integer"
  29012. },
  29013. "provincename": {
  29014. "description": "省名称",
  29015. "type": "string"
  29016. },
  29017. "proxystatementurl": {
  29018. "description": "授权委托书",
  29019. "type": "string"
  29020. },
  29021. "remark": {
  29022. "description": "备注",
  29023. "type": "string"
  29024. },
  29025. "status": {
  29026. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  29027. "type": "integer"
  29028. },
  29029. "statusdesc": {
  29030. "description": "账户状态中文描述",
  29031. "type": "string"
  29032. },
  29033. "taxpayernum": {
  29034. "description": "纳税人识别号",
  29035. "type": "string"
  29036. },
  29037. "telphone": {
  29038. "description": "联系电话",
  29039. "type": "string"
  29040. },
  29041. "userid": {
  29042. "description": "用户ID",
  29043. "type": "integer"
  29044. },
  29045. "userinfotype": {
  29046. "description": "客户类型 1-个人 2-企业",
  29047. "type": "integer"
  29048. },
  29049. "username": {
  29050. "description": "用户名称",
  29051. "type": "string"
  29052. }
  29053. }
  29054. },
  29055. "models.QhjCustomerSignLog": {
  29056. "type": "object",
  29057. "properties": {
  29058. "agreementcontent": {
  29059. "description": "协议内容",
  29060. "type": "string"
  29061. },
  29062. "agreementid": {
  29063. "description": "协议ID",
  29064. "type": "integer"
  29065. },
  29066. "agreementname": {
  29067. "description": "协议名称",
  29068. "type": "string"
  29069. },
  29070. "agreementno": {
  29071. "description": "协议编号",
  29072. "type": "string"
  29073. },
  29074. "agreementtype": {
  29075. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29076. "type": "integer"
  29077. },
  29078. "agreementversion": {
  29079. "description": "协议版本号",
  29080. "type": "integer"
  29081. },
  29082. "createtime": {
  29083. "description": "创建时间",
  29084. "type": "string"
  29085. },
  29086. "goodscode": {
  29087. "description": "商品代码",
  29088. "type": "string"
  29089. },
  29090. "goodsid": {
  29091. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29092. "type": "integer"
  29093. },
  29094. "goodsname": {
  29095. "description": "商品名称",
  29096. "type": "string"
  29097. },
  29098. "logid": {
  29099. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  29100. "type": "integer"
  29101. },
  29102. "nodetype": {
  29103. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29104. "type": "integer"
  29105. },
  29106. "signadressurl": {
  29107. "description": "签约文件地址",
  29108. "type": "string"
  29109. },
  29110. "signtimestamp": {
  29111. "description": "签约状态时间戳",
  29112. "type": "string"
  29113. },
  29114. "userid": {
  29115. "description": "客户ID",
  29116. "type": "integer"
  29117. },
  29118. "username": {
  29119. "description": "客户名称",
  29120. "type": "string"
  29121. }
  29122. }
  29123. },
  29124. "models.QhjCustomerSignStatus": {
  29125. "type": "object",
  29126. "properties": {
  29127. "createtime": {
  29128. "description": "创建时间",
  29129. "type": "string"
  29130. },
  29131. "goodscode": {
  29132. "description": "商品代码",
  29133. "type": "string"
  29134. },
  29135. "goodsid": {
  29136. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29137. "type": "integer"
  29138. },
  29139. "goodsname": {
  29140. "description": "商品名称",
  29141. "type": "string"
  29142. },
  29143. "nodetype": {
  29144. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  29145. "type": "integer"
  29146. },
  29147. "signtimestamp": {
  29148. "description": "签约状态时间戳",
  29149. "type": "string"
  29150. },
  29151. "tradedate": {
  29152. "description": "创建交易日(yyyyMMdd)",
  29153. "type": "string"
  29154. },
  29155. "updatetime": {
  29156. "description": "更新时间",
  29157. "type": "string"
  29158. },
  29159. "userid": {
  29160. "description": "客户ID",
  29161. "type": "integer"
  29162. },
  29163. "username": {
  29164. "description": "客户名称",
  29165. "type": "string"
  29166. }
  29167. }
  29168. },
  29169. "models.QhjMgrAccountOutInApply": {
  29170. "type": "object",
  29171. "properties": {
  29172. "accountcode": {
  29173. "description": "资金账号",
  29174. "type": "string"
  29175. },
  29176. "accountname": {
  29177. "description": "用户名称(名称)",
  29178. "type": "string"
  29179. },
  29180. "accountpwd": {
  29181. "description": "资金密码",
  29182. "type": "string"
  29183. },
  29184. "accountticket": {
  29185. "description": "最新账户服务流水号",
  29186. "type": "string"
  29187. },
  29188. "amount": {
  29189. "description": "金额",
  29190. "type": "number"
  29191. },
  29192. "applyremark": {
  29193. "description": "申请备注",
  29194. "type": "string"
  29195. },
  29196. "applystatus": {
  29197. "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: 复审通过,账户冻结金额检查中;",
  29198. "type": "integer"
  29199. },
  29200. "auditid": {
  29201. "description": "审核人",
  29202. "type": "integer"
  29203. },
  29204. "audittime": {
  29205. "description": "审核时间",
  29206. "type": "string"
  29207. },
  29208. "bank_apply_ticket": {
  29209. "description": "银行申请流水",
  29210. "type": "string"
  29211. },
  29212. "bankaccountname": {
  29213. "description": "银行账户名",
  29214. "type": "string"
  29215. },
  29216. "bankaccountno": {
  29217. "description": "银行卡号",
  29218. "type": "string"
  29219. },
  29220. "bankid": {
  29221. "description": "银行编号",
  29222. "type": "string"
  29223. },
  29224. "bankname": {
  29225. "description": "银行名称",
  29226. "type": "string"
  29227. },
  29228. "bankticket": {
  29229. "description": "银行流水",
  29230. "type": "string"
  29231. },
  29232. "branchbankid": {
  29233. "description": "银行支行号",
  29234. "type": "string"
  29235. },
  29236. "branchbankname": {
  29237. "description": "银行支行名称",
  29238. "type": "string"
  29239. },
  29240. "capamountout": {
  29241. "description": "出金(劣后本金) - 外部子账户",
  29242. "type": "number"
  29243. },
  29244. "certificatephotourl": {
  29245. "description": "凭证地址",
  29246. "type": "string"
  29247. },
  29248. "charge": {
  29249. "description": "手续费",
  29250. "type": "number"
  29251. },
  29252. "checkerrorflag": {
  29253. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  29254. "type": "integer"
  29255. },
  29256. "currency": {
  29257. "description": "币种",
  29258. "type": "string"
  29259. },
  29260. "cusbankid": {
  29261. "description": "托管银行编号",
  29262. "type": "string"
  29263. },
  29264. "exchticket": {
  29265. "description": "银行服务流水号",
  29266. "type": "string"
  29267. },
  29268. "executetype": {
  29269. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  29270. "type": "integer"
  29271. },
  29272. "extendinfo": {
  29273. "description": "扩展信息",
  29274. "type": "string"
  29275. },
  29276. "extoperateid": {
  29277. "description": "交易服务流水号",
  29278. "type": "integer"
  29279. },
  29280. "infamount": {
  29281. "description": "劣后金额(自有)",
  29282. "type": "number"
  29283. },
  29284. "logincode": {
  29285. "description": "登录账号(账号)",
  29286. "type": "string"
  29287. },
  29288. "netaddr": {
  29289. "description": "调转网址",
  29290. "type": "string"
  29291. },
  29292. "priamount": {
  29293. "description": "优先金额(授信)",
  29294. "type": "number"
  29295. },
  29296. "reauditid": {
  29297. "description": "复审人",
  29298. "type": "integer"
  29299. },
  29300. "reauditremark": {
  29301. "description": "复审备注",
  29302. "type": "string"
  29303. },
  29304. "reaudittime": {
  29305. "description": "复审时间",
  29306. "type": "string"
  29307. },
  29308. "relatedorderid": {
  29309. "description": "三方关联ID",
  29310. "type": "string"
  29311. },
  29312. "remark": {
  29313. "description": "备注",
  29314. "type": "string"
  29315. },
  29316. "remark2": {
  29317. "description": "备注(失败原因)",
  29318. "type": "string"
  29319. },
  29320. "soucreamount": {
  29321. "description": "原始出入金金额",
  29322. "type": "number"
  29323. },
  29324. "soucrecurrencyid": {
  29325. "description": "原始出入金币种",
  29326. "type": "integer"
  29327. },
  29328. "tradedate": {
  29329. "description": "交易日(yyyyMMdd)",
  29330. "type": "string"
  29331. },
  29332. "updatetime": {
  29333. "description": "更新时间(申请时间)",
  29334. "type": "string"
  29335. },
  29336. "userid": {
  29337. "description": "用户id",
  29338. "type": "integer"
  29339. },
  29340. "userinfotype": {
  29341. "description": "账户类型 1-个人 2-企业",
  29342. "type": "integer"
  29343. }
  29344. }
  29345. },
  29346. "models.QhjMgrBrokerApply": {
  29347. "type": "object",
  29348. "properties": {
  29349. "applicantid": {
  29350. "description": "申请人",
  29351. "type": "integer"
  29352. },
  29353. "applysrc": {
  29354. "description": "申请来源 - 1:管理端 2:终端",
  29355. "type": "integer"
  29356. },
  29357. "applystatus": {
  29358. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  29359. "type": "integer"
  29360. },
  29361. "applytime": {
  29362. "description": "申请时间",
  29363. "type": "string"
  29364. },
  29365. "auditorid": {
  29366. "description": "审核人",
  29367. "type": "integer"
  29368. },
  29369. "auditremark": {
  29370. "description": "审核备注",
  29371. "type": "string"
  29372. },
  29373. "auditsrc": {
  29374. "description": "审核来源 - 1:管理端 2:终端",
  29375. "type": "integer"
  29376. },
  29377. "audittime": {
  29378. "description": "审核时间",
  29379. "type": "string"
  29380. },
  29381. "audittradedate": {
  29382. "description": "审核交易日(yyyyMMdd)",
  29383. "type": "string"
  29384. },
  29385. "brokerapplyid": {
  29386. "description": "申请ID(SEQ_BROKERAPPLY)",
  29387. "type": "integer"
  29388. },
  29389. "cardbackphotourl": {
  29390. "description": "证件背面图片地址",
  29391. "type": "string"
  29392. },
  29393. "cardfrontphotourl": {
  29394. "description": "证件正面图片地址",
  29395. "type": "string"
  29396. },
  29397. "cardnum": {
  29398. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  29399. "type": "string"
  29400. },
  29401. "customername": {
  29402. "description": "姓名",
  29403. "type": "string"
  29404. },
  29405. "filterstatus": {
  29406. "description": "筛选条件",
  29407. "type": "string"
  29408. },
  29409. "logincode": {
  29410. "description": "登录代码",
  29411. "type": "string"
  29412. },
  29413. "mobile": {
  29414. "description": "手机号码",
  29415. "type": "string"
  29416. },
  29417. "parentuserid": {
  29418. "description": "所属机构id",
  29419. "type": "integer"
  29420. },
  29421. "parentusername": {
  29422. "description": "所属机构名称",
  29423. "type": "string"
  29424. },
  29425. "refereeuserid": {
  29426. "description": "推荐人id(经纪人)",
  29427. "type": "integer"
  29428. },
  29429. "refernum": {
  29430. "description": "推荐码",
  29431. "type": "string"
  29432. },
  29433. "remark": {
  29434. "description": "备注",
  29435. "type": "string"
  29436. },
  29437. "subarealevelpath": {
  29438. "description": "层级路径",
  29439. "type": "string"
  29440. },
  29441. "tradedate": {
  29442. "description": "交易日(yyyyMMdd)",
  29443. "type": "string"
  29444. },
  29445. "userid": {
  29446. "description": "申请人用户ID",
  29447. "type": "integer"
  29448. },
  29449. "userinfotype": {
  29450. "description": "用户类型 1-个人 2-企业",
  29451. "type": "integer"
  29452. },
  29453. "username": {
  29454. "description": "用户名称",
  29455. "type": "string"
  29456. }
  29457. }
  29458. },
  29459. "models.QhjMgrBrokerRewardReport": {
  29460. "type": "object",
  29461. "properties": {
  29462. "createtime": {
  29463. "description": "创建时间(注册时间)",
  29464. "type": "string"
  29465. },
  29466. "cycletime": {
  29467. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  29468. "type": "string"
  29469. },
  29470. "cycletype": {
  29471. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  29472. "type": "integer"
  29473. },
  29474. "directtotalnum": {
  29475. "description": "直推总人数【期末】",
  29476. "type": "integer"
  29477. },
  29478. "indirecttotalnum": {
  29479. "description": "间推总人数【期末】",
  29480. "type": "integer"
  29481. },
  29482. "mobile": {
  29483. "description": "电话号码",
  29484. "type": "string"
  29485. },
  29486. "refereeuserid": {
  29487. "description": "推荐人id(经纪人id)",
  29488. "type": "integer"
  29489. },
  29490. "refereeusername": {
  29491. "description": "推荐人名称(经纪人) 上级经纪人名称",
  29492. "type": "string"
  29493. },
  29494. "refernum": {
  29495. "description": "推荐码",
  29496. "type": "string"
  29497. },
  29498. "subarealevelpath": {
  29499. "description": "用户层级路径",
  29500. "type": "string"
  29501. },
  29502. "todayrewardamount": {
  29503. "description": "奖励总金额【汇总】",
  29504. "type": "number"
  29505. },
  29506. "updatetime": {
  29507. "description": "更新时间",
  29508. "type": "string"
  29509. },
  29510. "userid": {
  29511. "description": "经纪人用户ID",
  29512. "type": "integer"
  29513. },
  29514. "userinfotype": {
  29515. "description": "用户类型 1-个人 2-企业",
  29516. "type": "integer"
  29517. },
  29518. "username": {
  29519. "description": "用户名称",
  29520. "type": "string"
  29521. }
  29522. }
  29523. },
  29524. "models.QhjMgrContract": {
  29525. "type": "object",
  29526. "properties": {
  29527. "contractconfirmtime": {
  29528. "description": "合同确认时间(时间)",
  29529. "type": "string"
  29530. },
  29531. "currisklevel": {
  29532. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  29533. "type": "integer"
  29534. },
  29535. "decimalplace": {
  29536. "description": "商品报价小数位",
  29537. "type": "integer"
  29538. },
  29539. "enumdicname": {
  29540. "description": "单位名称",
  29541. "type": "string"
  29542. },
  29543. "goodscode": {
  29544. "description": "商品代码",
  29545. "type": "string"
  29546. },
  29547. "goodsid": {
  29548. "description": "商品ID [5:融资单]",
  29549. "type": "integer"
  29550. },
  29551. "goodsname": {
  29552. "description": "商品名称",
  29553. "type": "string"
  29554. },
  29555. "goodunitid": {
  29556. "description": "商品单位id",
  29557. "type": "integer"
  29558. },
  29559. "initmargin": {
  29560. "description": "初始保证金(首付款)",
  29561. "type": "number"
  29562. },
  29563. "lenderamount": {
  29564. "description": "贷款金额(总额|订单总额)",
  29565. "type": "number"
  29566. },
  29567. "logincode": {
  29568. "description": "账号(登录代码)",
  29569. "type": "string"
  29570. },
  29571. "marginratio": {
  29572. "description": "保证金比率(首付比例)",
  29573. "type": "number"
  29574. },
  29575. "mobile": {
  29576. "description": "电话号码(用户资料里的电话)",
  29577. "type": "string"
  29578. },
  29579. "payamount": {
  29580. "description": "已付(已付货款)",
  29581. "type": "number"
  29582. },
  29583. "reckonrecovermargin": {
  29584. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  29585. "type": "number"
  29586. },
  29587. "recoveredmargin": {
  29588. "description": "已追缴保证金",
  29589. "type": "number"
  29590. },
  29591. "remainamount": {
  29592. "description": "合同剩余金额(融资额)",
  29593. "type": "number"
  29594. },
  29595. "scfcontractid": {
  29596. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29597. "type": "string"
  29598. },
  29599. "scfcontractstatus": {
  29600. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  29601. "type": "integer"
  29602. },
  29603. "scfcontracttype": {
  29604. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  29605. "type": "integer"
  29606. },
  29607. "totalinterest": {
  29608. "description": "已计总利息(利息)",
  29609. "type": "number"
  29610. },
  29611. "tradedate": {
  29612. "description": "交易日",
  29613. "type": "string"
  29614. },
  29615. "tradeprice": {
  29616. "description": "成交价格(成本价格)",
  29617. "type": "number"
  29618. },
  29619. "userid": {
  29620. "description": "用户ID",
  29621. "type": "integer"
  29622. },
  29623. "userinfotype": {
  29624. "description": "用户类型 1-个人 2-企业",
  29625. "type": "integer"
  29626. },
  29627. "username": {
  29628. "description": "用户名称",
  29629. "type": "string"
  29630. },
  29631. "wrqty": {
  29632. "description": "仓单数量(数量)",
  29633. "type": "number"
  29634. }
  29635. }
  29636. },
  29637. "models.QhjMgrCustomer": {
  29638. "type": "object",
  29639. "properties": {
  29640. "address": {
  29641. "description": "通讯地址",
  29642. "type": "string"
  29643. },
  29644. "attachment1": {
  29645. "description": "附件1",
  29646. "type": "string"
  29647. },
  29648. "audittime": {
  29649. "description": "审核时间",
  29650. "type": "string"
  29651. },
  29652. "birthday": {
  29653. "description": "生日",
  29654. "type": "string"
  29655. },
  29656. "brokerid": {
  29657. "description": "所属客户经理id",
  29658. "type": "integer"
  29659. },
  29660. "brokername": {
  29661. "description": "所属客户经理名称",
  29662. "type": "string"
  29663. },
  29664. "cardbackphotourl": {
  29665. "description": "证件反面图片地址",
  29666. "type": "string"
  29667. },
  29668. "cardfrontphotourl": {
  29669. "description": "证件正面图片地址",
  29670. "type": "string"
  29671. },
  29672. "cardnum": {
  29673. "description": "证件号码",
  29674. "type": "string"
  29675. },
  29676. "cardtype": {
  29677. "description": "证件类型",
  29678. "type": "integer"
  29679. },
  29680. "cardtypename": {
  29681. "description": "证件类型名称",
  29682. "type": "string"
  29683. },
  29684. "cityid": {
  29685. "description": "市",
  29686. "type": "integer"
  29687. },
  29688. "cityname": {
  29689. "description": "城市名称",
  29690. "type": "string"
  29691. },
  29692. "contactname": {
  29693. "description": "联系人",
  29694. "type": "string"
  29695. },
  29696. "countryid": {
  29697. "description": "国家",
  29698. "type": "integer"
  29699. },
  29700. "countryname": {
  29701. "description": "国家名称",
  29702. "type": "string"
  29703. },
  29704. "createtime": {
  29705. "description": "创建时间",
  29706. "type": "string"
  29707. },
  29708. "customername": {
  29709. "description": "客户名称",
  29710. "type": "string"
  29711. },
  29712. "districtid": {
  29713. "description": "区域",
  29714. "type": "integer"
  29715. },
  29716. "districtname": {
  29717. "description": "地区名称",
  29718. "type": "string"
  29719. },
  29720. "email": {
  29721. "description": "邮件",
  29722. "type": "string"
  29723. },
  29724. "legalpersonname": {
  29725. "description": "法人姓名(企业)",
  29726. "type": "string"
  29727. },
  29728. "logincode": {
  29729. "description": "登录账号(代码)",
  29730. "type": "string"
  29731. },
  29732. "memberuserid": {
  29733. "description": "所属机构ID(所属会员)",
  29734. "type": "integer"
  29735. },
  29736. "memberusername": {
  29737. "description": "所属会员名称",
  29738. "type": "string"
  29739. },
  29740. "mobile": {
  29741. "description": "手机号码",
  29742. "type": "string"
  29743. },
  29744. "modifytime": {
  29745. "description": "修改时间",
  29746. "type": "string"
  29747. },
  29748. "nickname": {
  29749. "description": "昵称",
  29750. "type": "string"
  29751. },
  29752. "parentuserid": {
  29753. "description": "上级机构(所属机构)",
  29754. "type": "integer"
  29755. },
  29756. "parentusername": {
  29757. "description": "所属机构名称",
  29758. "type": "string"
  29759. },
  29760. "provinceid": {
  29761. "description": "省",
  29762. "type": "integer"
  29763. },
  29764. "provincename": {
  29765. "description": "省名称",
  29766. "type": "string"
  29767. },
  29768. "proxystatementurl": {
  29769. "description": "授权委托书",
  29770. "type": "string"
  29771. },
  29772. "querytype": {
  29773. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  29774. "type": "integer"
  29775. },
  29776. "remark": {
  29777. "description": "备注",
  29778. "type": "string"
  29779. },
  29780. "sex": {
  29781. "description": "性别 0-女 1-男",
  29782. "type": "integer"
  29783. },
  29784. "status": {
  29785. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29786. "type": "integer"
  29787. },
  29788. "statusdesc": {
  29789. "description": "账户状态中文描述",
  29790. "type": "string"
  29791. },
  29792. "taxpayernum": {
  29793. "description": "纳税人识别号",
  29794. "type": "string"
  29795. },
  29796. "telphone": {
  29797. "description": "联系电话",
  29798. "type": "string"
  29799. },
  29800. "userid": {
  29801. "description": "用户ID",
  29802. "type": "integer"
  29803. },
  29804. "userinfotype": {
  29805. "description": "客户类型 1-个人 2-企业",
  29806. "type": "integer"
  29807. },
  29808. "username": {
  29809. "description": "用户名称",
  29810. "type": "string"
  29811. }
  29812. }
  29813. },
  29814. "models.QhjMgrPickGoods": {
  29815. "type": "object",
  29816. "properties": {
  29817. "enumdicname": {
  29818. "description": "单位名称(提货商品)",
  29819. "type": "string"
  29820. },
  29821. "goodsid": {
  29822. "description": "商品id",
  29823. "type": "integer"
  29824. },
  29825. "imageaddress": {
  29826. "description": "图片",
  29827. "type": "string"
  29828. },
  29829. "modifierid": {
  29830. "description": "修改人",
  29831. "type": "integer"
  29832. },
  29833. "modifiername": {
  29834. "description": "修改人名称",
  29835. "type": "string"
  29836. },
  29837. "modifysrc": {
  29838. "description": "修改来源 - 1:管理端 2:终端",
  29839. "type": "integer"
  29840. },
  29841. "pickupgoodsagreeunit": {
  29842. "description": "合约乘数",
  29843. "type": "number"
  29844. },
  29845. "pickupgoodsdesc": {
  29846. "description": "描述",
  29847. "type": "string"
  29848. },
  29849. "pickupgoodsid": {
  29850. "description": "提货商品ID",
  29851. "type": "string"
  29852. },
  29853. "pickupgoodsname": {
  29854. "description": "提货商品名称",
  29855. "type": "string"
  29856. },
  29857. "pickupgoodsstatus": {
  29858. "description": "状态 - 1:正常 2:停用 3:注销",
  29859. "type": "integer"
  29860. },
  29861. "pickupgoodsunitid": {
  29862. "description": "单位ID",
  29863. "type": "integer"
  29864. },
  29865. "pickupratio": {
  29866. "description": "提货系数",
  29867. "type": "number"
  29868. },
  29869. "preparedays": {
  29870. "description": "备货期(天)",
  29871. "type": "integer"
  29872. },
  29873. "remark": {
  29874. "description": "备注",
  29875. "type": "string"
  29876. },
  29877. "updatetime": {
  29878. "description": "更新时间",
  29879. "type": "string"
  29880. }
  29881. }
  29882. },
  29883. "models.QhjMgrPositionRsp": {
  29884. "type": "object",
  29885. "properties": {
  29886. "accountid": {
  29887. "description": "账号Id",
  29888. "type": "integer"
  29889. },
  29890. "accountname": {
  29891. "description": "用户名称",
  29892. "type": "string"
  29893. },
  29894. "agreeunit": {
  29895. "description": "合约乘数",
  29896. "type": "number"
  29897. },
  29898. "averageprice": {
  29899. "description": "均价",
  29900. "type": "number"
  29901. },
  29902. "avialqty": {
  29903. "description": "可用数量",
  29904. "type": "number"
  29905. },
  29906. "decimalplace": {
  29907. "description": "报价小数位",
  29908. "type": "integer"
  29909. },
  29910. "enumdicname": {
  29911. "description": "单位名称(商品)",
  29912. "type": "string"
  29913. },
  29914. "frozenqty": {
  29915. "description": "冻结数量",
  29916. "type": "number"
  29917. },
  29918. "goodscode": {
  29919. "description": "商品代码(内部)",
  29920. "type": "string"
  29921. },
  29922. "goodsid": {
  29923. "description": "商品Id",
  29924. "type": "integer"
  29925. },
  29926. "goodsname": {
  29927. "description": "商品名称",
  29928. "type": "string"
  29929. },
  29930. "goodunitid": {
  29931. "description": "报价单位ID",
  29932. "type": "integer"
  29933. },
  29934. "holderamount": {
  29935. "description": "金额",
  29936. "type": "number"
  29937. },
  29938. "holderqty": {
  29939. "description": "持有数量",
  29940. "type": "number"
  29941. },
  29942. "holdertype": {
  29943. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  29944. "type": "integer"
  29945. },
  29946. "logincode": {
  29947. "description": "登录代码(账户)",
  29948. "type": "string"
  29949. },
  29950. "marketid": {
  29951. "description": "市场id",
  29952. "type": "integer"
  29953. },
  29954. "qtydecimalplace": {
  29955. "description": "成交量小数位",
  29956. "type": "integer"
  29957. },
  29958. "trademode": {
  29959. "description": "交易模式",
  29960. "type": "integer"
  29961. },
  29962. "userid": {
  29963. "description": "用户id",
  29964. "type": "integer"
  29965. },
  29966. "userinfotype": {
  29967. "description": "账户类型 1-个人 2-企业",
  29968. "type": "integer"
  29969. }
  29970. }
  29971. },
  29972. "models.QhjMgrSubArea": {
  29973. "type": "object",
  29974. "properties": {
  29975. "accountname": {
  29976. "description": "账户名称(机构名称)",
  29977. "type": "string"
  29978. },
  29979. "memberuserid": {
  29980. "description": "所属会员ID",
  29981. "type": "integer"
  29982. },
  29983. "parenttopuser": {
  29984. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29985. "type": "string"
  29986. },
  29987. "parentuserid": {
  29988. "description": "所属机构ID",
  29989. "type": "integer"
  29990. },
  29991. "rootuserid": {
  29992. "description": "根用户ID",
  29993. "type": "string"
  29994. },
  29995. "subaccountlevel": {
  29996. "description": "子账户层数",
  29997. "type": "integer"
  29998. },
  29999. "subarealevelpath": {
  30000. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  30001. "type": "string"
  30002. },
  30003. "userid": {
  30004. "description": "用户ID",
  30005. "type": "integer"
  30006. },
  30007. "usertype": {
  30008. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30009. "type": "integer"
  30010. }
  30011. }
  30012. },
  30013. "models.QhjMgrTradeDetailRsp": {
  30014. "type": "object",
  30015. "properties": {
  30016. "accountid": {
  30017. "description": "资金账号",
  30018. "type": "integer"
  30019. },
  30020. "accountname": {
  30021. "description": "用户名称",
  30022. "type": "string"
  30023. },
  30024. "agreeunit": {
  30025. "description": "合约乘数",
  30026. "type": "number"
  30027. },
  30028. "buyorsell": {
  30029. "description": "成交类型(方向) 0:买 1:卖",
  30030. "type": "integer"
  30031. },
  30032. "decimalplace": {
  30033. "description": "报价小数位",
  30034. "type": "integer"
  30035. },
  30036. "enumdicname": {
  30037. "description": "单位名称(商品)",
  30038. "type": "string"
  30039. },
  30040. "goodscode": {
  30041. "description": "商品代码(内部)",
  30042. "type": "string"
  30043. },
  30044. "goodsid": {
  30045. "description": "商品id",
  30046. "type": "integer"
  30047. },
  30048. "goodsname": {
  30049. "description": "商品名称",
  30050. "type": "string"
  30051. },
  30052. "goodunitid": {
  30053. "description": "报价单位ID",
  30054. "type": "integer"
  30055. },
  30056. "logincode": {
  30057. "description": "登录代码(账户)",
  30058. "type": "string"
  30059. },
  30060. "marketid": {
  30061. "description": "市场id",
  30062. "type": "integer"
  30063. },
  30064. "orderid": {
  30065. "description": "关联委托单号",
  30066. "type": "string"
  30067. },
  30068. "qtydecimalplace": {
  30069. "description": "成交量小数位",
  30070. "type": "integer"
  30071. },
  30072. "tradeamount": {
  30073. "description": "金额",
  30074. "type": "number"
  30075. },
  30076. "tradedate": {
  30077. "description": "交易日",
  30078. "type": "string"
  30079. },
  30080. "tradeid": {
  30081. "description": "成交单号",
  30082. "type": "string"
  30083. },
  30084. "trademode": {
  30085. "description": "交易模式",
  30086. "type": "integer"
  30087. },
  30088. "tradeprice": {
  30089. "description": "价格",
  30090. "type": "number"
  30091. },
  30092. "tradeqty": {
  30093. "description": "数量",
  30094. "type": "number"
  30095. },
  30096. "tradetime": {
  30097. "description": "成交时间",
  30098. "type": "string"
  30099. },
  30100. "userid": {
  30101. "description": "用户id",
  30102. "type": "integer"
  30103. },
  30104. "userinfotype": {
  30105. "description": "账户类型 1-个人 2-企业",
  30106. "type": "integer"
  30107. }
  30108. }
  30109. },
  30110. "models.QhjMgrTradeOrderDetailRsp": {
  30111. "type": "object",
  30112. "properties": {
  30113. "accountid": {
  30114. "description": "资金账号",
  30115. "type": "integer"
  30116. },
  30117. "accountname": {
  30118. "description": "用户名称",
  30119. "type": "string"
  30120. },
  30121. "agreeunit": {
  30122. "description": "合约乘数",
  30123. "type": "number"
  30124. },
  30125. "amount": {
  30126. "description": "金额",
  30127. "type": "number"
  30128. },
  30129. "decimalplace": {
  30130. "description": "报价小数位",
  30131. "type": "integer"
  30132. },
  30133. "enumdicname": {
  30134. "description": "单位名称(商品)",
  30135. "type": "string"
  30136. },
  30137. "goodscode": {
  30138. "description": "商品代码(内部)",
  30139. "type": "string"
  30140. },
  30141. "goodsid": {
  30142. "description": "商品id",
  30143. "type": "integer"
  30144. },
  30145. "goodsname": {
  30146. "description": "商品名称",
  30147. "type": "string"
  30148. },
  30149. "goodunitid": {
  30150. "description": "报价单位ID",
  30151. "type": "integer"
  30152. },
  30153. "logincode": {
  30154. "description": "登录代码(账户)",
  30155. "type": "string"
  30156. },
  30157. "marketid": {
  30158. "description": "市场id",
  30159. "type": "integer"
  30160. },
  30161. "orderid": {
  30162. "description": "关联委托单号",
  30163. "type": "string"
  30164. },
  30165. "orderprice": {
  30166. "description": "价格",
  30167. "type": "number"
  30168. },
  30169. "orderqty": {
  30170. "description": "数量",
  30171. "type": "number"
  30172. },
  30173. "orderstatus": {
  30174. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30175. "type": "integer"
  30176. },
  30177. "ordertime": {
  30178. "description": "委托时间",
  30179. "type": "string"
  30180. },
  30181. "qtydecimalplace": {
  30182. "description": "成交量小数位",
  30183. "type": "integer"
  30184. },
  30185. "tradedate": {
  30186. "description": "交易日",
  30187. "type": "string"
  30188. },
  30189. "trademode": {
  30190. "description": "交易模式",
  30191. "type": "integer"
  30192. },
  30193. "userid": {
  30194. "description": "用户id",
  30195. "type": "integer"
  30196. },
  30197. "userinfotype": {
  30198. "description": "账户类型 1-个人 2-企业",
  30199. "type": "integer"
  30200. }
  30201. }
  30202. },
  30203. "models.QhjMgrTradePayOrder": {
  30204. "type": "object",
  30205. "properties": {
  30206. "accountname": {
  30207. "description": "用户名称",
  30208. "type": "string"
  30209. },
  30210. "advanceratio": {
  30211. "description": "首付比率",
  30212. "type": "number"
  30213. },
  30214. "agreeunit": {
  30215. "description": "合约乘数",
  30216. "type": "number"
  30217. },
  30218. "buyaccountid": {
  30219. "description": "买方账号ID[报价币种]",
  30220. "type": "integer"
  30221. },
  30222. "buyorderid": {
  30223. "description": "买方委托单号(关联单号)",
  30224. "type": "string"
  30225. },
  30226. "createtime": {
  30227. "description": "创建时间",
  30228. "type": "string"
  30229. },
  30230. "decimalplace": {
  30231. "description": "报价小数位",
  30232. "type": "integer"
  30233. },
  30234. "enumdicname": {
  30235. "description": "单位名称(商品)",
  30236. "type": "string"
  30237. },
  30238. "goodscode": {
  30239. "description": "商品代码(内部)",
  30240. "type": "string"
  30241. },
  30242. "goodsid": {
  30243. "description": "商品ID",
  30244. "type": "integer"
  30245. },
  30246. "goodsname": {
  30247. "description": "商品名称",
  30248. "type": "string"
  30249. },
  30250. "goodunitid": {
  30251. "description": "报价单位ID",
  30252. "type": "integer"
  30253. },
  30254. "logincode": {
  30255. "description": "登录代码(账户)",
  30256. "type": "string"
  30257. },
  30258. "marketid": {
  30259. "description": "市场id",
  30260. "type": "integer"
  30261. },
  30262. "offamount": {
  30263. "description": "优惠金额",
  30264. "type": "number"
  30265. },
  30266. "operatetype": {
  30267. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30268. "type": "integer"
  30269. },
  30270. "payamount": {
  30271. "description": "支付金额(金额)",
  30272. "type": "number"
  30273. },
  30274. "payflag": {
  30275. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30276. "type": "integer"
  30277. },
  30278. "paylimitedtime": {
  30279. "description": "支付期限",
  30280. "type": "string"
  30281. },
  30282. "paytime": {
  30283. "description": "付款时间",
  30284. "type": "string"
  30285. },
  30286. "qtydecimalplace": {
  30287. "description": "成交量小数位",
  30288. "type": "integer"
  30289. },
  30290. "sellaccountid": {
  30291. "description": "卖方账号ID[报价币种]",
  30292. "type": "integer"
  30293. },
  30294. "sellorderid": {
  30295. "description": "卖方委托单号",
  30296. "type": "string"
  30297. },
  30298. "tradeamount": {
  30299. "description": "成交金额(优惠后金额)",
  30300. "type": "number"
  30301. },
  30302. "tradecharge": {
  30303. "description": "成交手续费(买方)",
  30304. "type": "number"
  30305. },
  30306. "tradedate": {
  30307. "description": "交易日(yyyyMMdd)",
  30308. "type": "string"
  30309. },
  30310. "tradeid": {
  30311. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30312. "type": "string"
  30313. },
  30314. "trademode": {
  30315. "description": "交易模式",
  30316. "type": "integer"
  30317. },
  30318. "tradeprice": {
  30319. "description": "成交价格(价格)",
  30320. "type": "number"
  30321. },
  30322. "tradeqty": {
  30323. "description": "成交数量(数量)",
  30324. "type": "number"
  30325. },
  30326. "tradetime": {
  30327. "description": "成交时间",
  30328. "type": "string"
  30329. },
  30330. "userid": {
  30331. "description": "用户id",
  30332. "type": "integer"
  30333. },
  30334. "userinfotype": {
  30335. "description": "账户类型 1-个人 2-企业",
  30336. "type": "integer"
  30337. }
  30338. }
  30339. },
  30340. "models.QhjMyTeamEx": {
  30341. "type": "object",
  30342. "properties": {
  30343. "accountname": {
  30344. "description": "用户名称",
  30345. "type": "string"
  30346. },
  30347. "accountstatus": {
  30348. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30349. "type": "integer"
  30350. },
  30351. "createtime": {
  30352. "description": "创建时间",
  30353. "type": "string"
  30354. },
  30355. "mobile": {
  30356. "description": "手机号码",
  30357. "type": "string"
  30358. },
  30359. "refereeuserid": {
  30360. "description": "推荐人id",
  30361. "type": "integer"
  30362. },
  30363. "refernum": {
  30364. "description": "推荐码",
  30365. "type": "string"
  30366. },
  30367. "subList": {
  30368. "type": "array",
  30369. "items": {
  30370. "$ref": "#/definitions/models.QhjMyTeamEx"
  30371. }
  30372. },
  30373. "userid": {
  30374. "description": "用户id",
  30375. "type": "integer"
  30376. },
  30377. "userinfotype": {
  30378. "description": "用户类型 1-个人 2-企业",
  30379. "type": "integer"
  30380. }
  30381. }
  30382. },
  30383. "models.QhjNodeAgreementConfig": {
  30384. "type": "object",
  30385. "properties": {
  30386. "agreementcontent": {
  30387. "description": "协议内容",
  30388. "type": "string"
  30389. },
  30390. "agreementid": {
  30391. "description": "协议ID",
  30392. "type": "integer"
  30393. },
  30394. "agreementname": {
  30395. "description": "协议名称",
  30396. "type": "string"
  30397. },
  30398. "agreementno": {
  30399. "description": "协议编号",
  30400. "type": "string"
  30401. },
  30402. "agreementtype": {
  30403. "description": "协议类型 - 1:注册 2:登录 3:交易",
  30404. "type": "integer"
  30405. },
  30406. "agreementversion": {
  30407. "description": "协议版本号",
  30408. "type": "integer"
  30409. },
  30410. "configid": {
  30411. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  30412. "type": "integer"
  30413. },
  30414. "createtime": {
  30415. "description": "创建时间",
  30416. "type": "string"
  30417. },
  30418. "goodsid": {
  30419. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  30420. "type": "integer"
  30421. },
  30422. "nodetype": {
  30423. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  30424. "type": "integer"
  30425. }
  30426. }
  30427. },
  30428. "models.QhjParentAreaList": {
  30429. "type": "object",
  30430. "properties": {
  30431. "accountname": {
  30432. "description": "账户名称(机构名称)",
  30433. "type": "string"
  30434. },
  30435. "userid": {
  30436. "description": "用户ID",
  30437. "type": "integer"
  30438. },
  30439. "usertype": {
  30440. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30441. "type": "integer"
  30442. }
  30443. }
  30444. },
  30445. "models.QhjPayOrder": {
  30446. "type": "object",
  30447. "properties": {
  30448. "advanceratio": {
  30449. "description": "首付比率",
  30450. "type": "number"
  30451. },
  30452. "buyaccountid": {
  30453. "description": "买方账号ID[报价币种]",
  30454. "type": "integer"
  30455. },
  30456. "buyorderid": {
  30457. "description": "买方委托单号",
  30458. "type": "string"
  30459. },
  30460. "createtime": {
  30461. "description": "创建时间",
  30462. "type": "string"
  30463. },
  30464. "decimalplace": {
  30465. "description": "商品报价小数位",
  30466. "type": "integer"
  30467. },
  30468. "enumdicname": {
  30469. "description": "单位名称",
  30470. "type": "string"
  30471. },
  30472. "goodscode": {
  30473. "description": "商品代码",
  30474. "type": "string"
  30475. },
  30476. "goodsid": {
  30477. "description": "商品ID",
  30478. "type": "integer"
  30479. },
  30480. "goodsname": {
  30481. "description": "商品名称",
  30482. "type": "string"
  30483. },
  30484. "goodunitid": {
  30485. "description": "商品单位id",
  30486. "type": "integer"
  30487. },
  30488. "marketid": {
  30489. "description": "市场ID",
  30490. "type": "integer"
  30491. },
  30492. "offamount": {
  30493. "description": "优惠金额",
  30494. "type": "number"
  30495. },
  30496. "operatetype": {
  30497. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30498. "type": "integer"
  30499. },
  30500. "payamount": {
  30501. "description": "支付金额",
  30502. "type": "number"
  30503. },
  30504. "payflag": {
  30505. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30506. "type": "integer"
  30507. },
  30508. "paylimitedtime": {
  30509. "description": "支付期限",
  30510. "type": "string"
  30511. },
  30512. "paytime": {
  30513. "description": "付款时间",
  30514. "type": "string"
  30515. },
  30516. "qtydecimalplace": {
  30517. "description": "成交量小数位",
  30518. "type": "integer"
  30519. },
  30520. "sellaccountid": {
  30521. "description": "卖方账号ID[报价币种]",
  30522. "type": "integer"
  30523. },
  30524. "sellorderid": {
  30525. "description": "卖方委托单号",
  30526. "type": "string"
  30527. },
  30528. "tradeamount": {
  30529. "description": "成交金额(优惠后金额)",
  30530. "type": "number"
  30531. },
  30532. "tradecharge": {
  30533. "description": "成交手续费(买方)",
  30534. "type": "number"
  30535. },
  30536. "tradedate": {
  30537. "description": "交易日(yyyyMMdd)",
  30538. "type": "string"
  30539. },
  30540. "tradeid": {
  30541. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30542. "type": "string"
  30543. },
  30544. "tradeprice": {
  30545. "description": "成交价格",
  30546. "type": "number"
  30547. },
  30548. "tradeqty": {
  30549. "description": "成交数量",
  30550. "type": "number"
  30551. }
  30552. }
  30553. },
  30554. "models.QhjPickArea": {
  30555. "type": "object",
  30556. "properties": {
  30557. "address": {
  30558. "description": "详细地址",
  30559. "type": "string"
  30560. },
  30561. "cityid": {
  30562. "description": "市",
  30563. "type": "integer"
  30564. },
  30565. "cityname": {
  30566. "description": "城市名称",
  30567. "type": "string"
  30568. },
  30569. "countryid": {
  30570. "description": "国家",
  30571. "type": "integer"
  30572. },
  30573. "countryname": {
  30574. "description": "国家名称",
  30575. "type": "string"
  30576. },
  30577. "districtid": {
  30578. "description": "地区",
  30579. "type": "integer"
  30580. },
  30581. "districtname": {
  30582. "description": "地区名称",
  30583. "type": "string"
  30584. },
  30585. "fromuserid": {
  30586. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  30587. "type": "integer"
  30588. },
  30589. "fromusername": {
  30590. "description": "所属机构名称",
  30591. "type": "string"
  30592. },
  30593. "provinceid": {
  30594. "description": "省",
  30595. "type": "integer"
  30596. },
  30597. "provincename": {
  30598. "description": "省名称",
  30599. "type": "string"
  30600. },
  30601. "suborgtype": {
  30602. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  30603. "type": "integer"
  30604. },
  30605. "userid": {
  30606. "description": "机构用户ID 其他做市关系,都设置为 1",
  30607. "type": "integer"
  30608. },
  30609. "username": {
  30610. "description": "机构用户名称(门店门称)",
  30611. "type": "string"
  30612. }
  30613. }
  30614. },
  30615. "models.QhjPickGoods": {
  30616. "type": "object",
  30617. "properties": {
  30618. "enumdicname": {
  30619. "description": "单位名称(提货商品)",
  30620. "type": "string"
  30621. },
  30622. "goodsid": {
  30623. "description": "商品id",
  30624. "type": "integer"
  30625. },
  30626. "imageaddress": {
  30627. "description": "图片",
  30628. "type": "string"
  30629. },
  30630. "modifierid": {
  30631. "description": "修改人",
  30632. "type": "integer"
  30633. },
  30634. "modifiername": {
  30635. "description": "修改人名称",
  30636. "type": "string"
  30637. },
  30638. "modifysrc": {
  30639. "description": "修改来源 - 1:管理端 2:终端",
  30640. "type": "integer"
  30641. },
  30642. "pickupgoodsagreeunit": {
  30643. "description": "合约乘数",
  30644. "type": "number"
  30645. },
  30646. "pickupgoodsdesc": {
  30647. "description": "描述",
  30648. "type": "string"
  30649. },
  30650. "pickupgoodsid": {
  30651. "description": "提货商品ID",
  30652. "type": "string"
  30653. },
  30654. "pickupgoodsname": {
  30655. "description": "提货商品名称",
  30656. "type": "string"
  30657. },
  30658. "pickupgoodsstatus": {
  30659. "description": "状态 - 1:正常 2:停用 3:注销",
  30660. "type": "integer"
  30661. },
  30662. "pickupgoodsunitid": {
  30663. "description": "单位ID",
  30664. "type": "integer"
  30665. },
  30666. "pickupratio": {
  30667. "description": "提货系数",
  30668. "type": "number"
  30669. },
  30670. "preparedays": {
  30671. "description": "备货期(天)",
  30672. "type": "integer"
  30673. },
  30674. "remark": {
  30675. "description": "备注",
  30676. "type": "string"
  30677. },
  30678. "updatetime": {
  30679. "description": "更新时间",
  30680. "type": "string"
  30681. }
  30682. }
  30683. },
  30684. "models.QhjRSTriggerLog": {
  30685. "type": "object",
  30686. "properties": {
  30687. "accountid": {
  30688. "description": "用户资金账户",
  30689. "type": "integer"
  30690. },
  30691. "accountname": {
  30692. "description": "账号名称(ACCOUNTID对应的名称)",
  30693. "type": "string"
  30694. },
  30695. "currencyid": {
  30696. "description": "币种id",
  30697. "type": "integer"
  30698. },
  30699. "currencyname": {
  30700. "description": "币种名称",
  30701. "type": "string"
  30702. },
  30703. "decimalplace": {
  30704. "description": "商品报价小数位",
  30705. "type": "integer"
  30706. },
  30707. "enumdicname": {
  30708. "description": "单位名称",
  30709. "type": "string"
  30710. },
  30711. "goodscode": {
  30712. "description": "定投商品代码",
  30713. "type": "string"
  30714. },
  30715. "goodsid": {
  30716. "description": "定投商品ID",
  30717. "type": "integer"
  30718. },
  30719. "goodsname": {
  30720. "description": "定投商品名称",
  30721. "type": "string"
  30722. },
  30723. "goodunitid": {
  30724. "description": "定投商品单位id",
  30725. "type": "integer"
  30726. },
  30727. "logid": {
  30728. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  30729. "type": "string"
  30730. },
  30731. "logincode": {
  30732. "description": "账号(登录代码)",
  30733. "type": "string"
  30734. },
  30735. "qtydecimalplace": {
  30736. "description": "成交量小数位",
  30737. "type": "integer"
  30738. },
  30739. "regularlycycle": {
  30740. "description": "定投频率 - 1:每周 2:每月",
  30741. "type": "integer"
  30742. },
  30743. "regularlycyclevalue": {
  30744. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30745. "type": "string"
  30746. },
  30747. "regularlymode": {
  30748. "description": "定投方式 - 1:按数量 2:按金额",
  30749. "type": "integer"
  30750. },
  30751. "regularlymodevalue": {
  30752. "description": "定投方式值 - 数量或金额",
  30753. "type": "number"
  30754. },
  30755. "regularlystrategyid": {
  30756. "description": "定投策略ID",
  30757. "type": "integer"
  30758. },
  30759. "retcode": {
  30760. "description": "错误码",
  30761. "type": "string"
  30762. },
  30763. "tradeid": {
  30764. "description": "成交单ID",
  30765. "type": "string"
  30766. },
  30767. "triggeramount": {
  30768. "description": "触发金额",
  30769. "type": "number"
  30770. },
  30771. "triggerqty": {
  30772. "description": "触发数量",
  30773. "type": "number"
  30774. },
  30775. "triggerstatus": {
  30776. "description": "触发状态 - 1:成功 2:失败",
  30777. "type": "integer"
  30778. },
  30779. "triggertime": {
  30780. "description": "触发时间",
  30781. "type": "string"
  30782. },
  30783. "triggertradedate": {
  30784. "description": "触发交易日",
  30785. "type": "string"
  30786. },
  30787. "userid": {
  30788. "description": "所属用户ID",
  30789. "type": "integer"
  30790. },
  30791. "userinfotype": {
  30792. "description": "用户类型 1-个人 2-企业",
  30793. "type": "integer"
  30794. },
  30795. "username": {
  30796. "description": "用户名称(userid对应的名称)",
  30797. "type": "string"
  30798. }
  30799. }
  30800. },
  30801. "models.QhjRStrategy": {
  30802. "type": "object",
  30803. "properties": {
  30804. "accountid": {
  30805. "description": "用户资金账户",
  30806. "type": "integer"
  30807. },
  30808. "accountname": {
  30809. "description": "账号名称(ACCOUNTID对应的名称)",
  30810. "type": "string"
  30811. },
  30812. "currencyid": {
  30813. "description": "币种id",
  30814. "type": "integer"
  30815. },
  30816. "currencyname": {
  30817. "description": "币种名称",
  30818. "type": "string"
  30819. },
  30820. "decimalplace": {
  30821. "description": "商品报价小数位",
  30822. "type": "integer"
  30823. },
  30824. "enumdicname": {
  30825. "description": "单位名称",
  30826. "type": "string"
  30827. },
  30828. "goodscode": {
  30829. "description": "定投商品代码",
  30830. "type": "string"
  30831. },
  30832. "goodsid": {
  30833. "description": "定投商品ID",
  30834. "type": "integer"
  30835. },
  30836. "goodsname": {
  30837. "description": "定投商品名称",
  30838. "type": "string"
  30839. },
  30840. "goodunitid": {
  30841. "description": "定投商品单位id",
  30842. "type": "integer"
  30843. },
  30844. "lasteffecttradedate": {
  30845. "description": "最新生效交易日",
  30846. "type": "string"
  30847. },
  30848. "laststoptradedate": {
  30849. "description": "最新暂停交易日",
  30850. "type": "string"
  30851. },
  30852. "lasttriggertradedate": {
  30853. "description": "最新触发交易日",
  30854. "type": "string"
  30855. },
  30856. "logincode": {
  30857. "description": "账号(登录代码)",
  30858. "type": "string"
  30859. },
  30860. "nexttriggeramount": {
  30861. "description": "下次触发金额",
  30862. "type": "number"
  30863. },
  30864. "nexttriggerdate": {
  30865. "description": "下次触发日期",
  30866. "type": "string"
  30867. },
  30868. "nexttriggerqty": {
  30869. "description": "下次触发数量 [按小数位放大值]",
  30870. "type": "number"
  30871. },
  30872. "qtydecimalplace": {
  30873. "description": "成交量小数位",
  30874. "type": "integer"
  30875. },
  30876. "regularlycycle": {
  30877. "description": "定投频率 - 1:每周 2:每月",
  30878. "type": "integer"
  30879. },
  30880. "regularlycyclevalue": {
  30881. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30882. "type": "string"
  30883. },
  30884. "regularlymode": {
  30885. "description": "定投方式 - 1:按数量 2:按金额",
  30886. "type": "integer"
  30887. },
  30888. "regularlymodevalue": {
  30889. "description": "定投方式值 - 数量或金额",
  30890. "type": "number"
  30891. },
  30892. "regularlystrategyid": {
  30893. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  30894. "type": "integer"
  30895. },
  30896. "regularlystrategystatus": {
  30897. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  30898. "type": "integer"
  30899. },
  30900. "remark": {
  30901. "description": "备注",
  30902. "type": "string"
  30903. },
  30904. "triggersuccesstimes": {
  30905. "description": "累计定投成功次数",
  30906. "type": "string"
  30907. },
  30908. "triggertotalamount": {
  30909. "description": "累计定投金额(成功)",
  30910. "type": "number"
  30911. },
  30912. "triggertotalqty": {
  30913. "description": "累计定投数量(成功) [按小数位放大值]",
  30914. "type": "number"
  30915. },
  30916. "triggertotaltimes": {
  30917. "description": "累计定投总次数",
  30918. "type": "string"
  30919. },
  30920. "updatesrc": {
  30921. "description": "更新来源 - 1:管理端 2:终端",
  30922. "type": "integer"
  30923. },
  30924. "updatetime": {
  30925. "description": "更新时间",
  30926. "type": "string"
  30927. },
  30928. "updatorid": {
  30929. "description": "更新人",
  30930. "type": "string"
  30931. },
  30932. "userid": {
  30933. "description": "所属用户ID",
  30934. "type": "integer"
  30935. },
  30936. "userinfotype": {
  30937. "description": "用户类型 1-个人 2-企业",
  30938. "type": "integer"
  30939. },
  30940. "username": {
  30941. "description": "用户名称(userid对应的名称)",
  30942. "type": "string"
  30943. }
  30944. }
  30945. },
  30946. "models.QhjReckonPriceLog": {
  30947. "type": "object",
  30948. "properties": {
  30949. "decimalplace": {
  30950. "description": "商品报价小数位",
  30951. "type": "integer"
  30952. },
  30953. "goodscode": {
  30954. "description": "商品代码",
  30955. "type": "string"
  30956. },
  30957. "goodsid": {
  30958. "description": "商品ID",
  30959. "type": "integer"
  30960. },
  30961. "goodsname": {
  30962. "description": "商品名称",
  30963. "type": "string"
  30964. },
  30965. "lastreckonprice": {
  30966. "description": "上日结算价",
  30967. "type": "number"
  30968. },
  30969. "nextdnlimitprice": {
  30970. "description": "下个交易日跌停价",
  30971. "type": "number"
  30972. },
  30973. "nexttrade": {
  30974. "description": "下个交易日",
  30975. "type": "string"
  30976. },
  30977. "nextuplimitprice": {
  30978. "description": "下个交易日涨停价",
  30979. "type": "number"
  30980. },
  30981. "reckonprice": {
  30982. "description": "今日结算价(定投价)",
  30983. "type": "number"
  30984. },
  30985. "reckontime": {
  30986. "description": "结算时间",
  30987. "type": "string"
  30988. },
  30989. "totalholderqty": {
  30990. "description": "总持仓数",
  30991. "type": "integer"
  30992. },
  30993. "totalstock": {
  30994. "description": "总库存",
  30995. "type": "integer"
  30996. },
  30997. "tradedate": {
  30998. "description": "交易日",
  30999. "type": "string"
  31000. },
  31001. "updowncount": {
  31002. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  31003. "type": "integer"
  31004. },
  31005. "updownflag": {
  31006. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  31007. "type": "integer"
  31008. },
  31009. "updownrate": {
  31010. "description": "今日涨跌幅",
  31011. "type": "number"
  31012. },
  31013. "updownrate_2d": {
  31014. "description": "连续两日涨跌幅",
  31015. "type": "number"
  31016. },
  31017. "updownrate_3d": {
  31018. "description": "连续三日涨跌幅",
  31019. "type": "number"
  31020. }
  31021. }
  31022. },
  31023. "models.QhjScoreLog": {
  31024. "type": "object",
  31025. "properties": {
  31026. "accountid": {
  31027. "description": "账户ID",
  31028. "type": "integer"
  31029. },
  31030. "createtime": {
  31031. "description": "创建时间(时间)",
  31032. "type": "string"
  31033. },
  31034. "goodsid": {
  31035. "description": "商品ID",
  31036. "type": "integer"
  31037. },
  31038. "hasuploaded": {
  31039. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  31040. "type": "integer"
  31041. },
  31042. "logid": {
  31043. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31044. "type": "string"
  31045. },
  31046. "marketid": {
  31047. "description": "市场ID",
  31048. "type": "integer"
  31049. },
  31050. "relatedamount": {
  31051. "description": "关联金额",
  31052. "type": "number"
  31053. },
  31054. "relatedorderid": {
  31055. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  31056. "type": "string"
  31057. },
  31058. "scoreconfigvalue1": {
  31059. "description": "积分配置1",
  31060. "type": "integer"
  31061. },
  31062. "scoreconfigvalue2": {
  31063. "description": "积分配置1",
  31064. "type": "integer"
  31065. },
  31066. "scoretype": {
  31067. "description": "积分类型 - 1:提货积分",
  31068. "type": "integer"
  31069. },
  31070. "scorevalue": {
  31071. "description": "积分",
  31072. "type": "number"
  31073. },
  31074. "tradedate": {
  31075. "description": "交易日(yyyyMMdd)",
  31076. "type": "string"
  31077. },
  31078. "uploadedtime": {
  31079. "description": "同步时间",
  31080. "type": "string"
  31081. },
  31082. "userid": {
  31083. "description": "用户ID",
  31084. "type": "integer"
  31085. }
  31086. }
  31087. },
  31088. "models.QhjSiteColumnDetail": {
  31089. "type": "object",
  31090. "properties": {
  31091. "author": {
  31092. "description": "作者",
  31093. "type": "string"
  31094. },
  31095. "brief": {
  31096. "description": "简介",
  31097. "type": "string"
  31098. },
  31099. "columnid": {
  31100. "description": "所属栏目",
  31101. "type": "integer"
  31102. },
  31103. "context": {
  31104. "description": "内容",
  31105. "type": "string"
  31106. },
  31107. "coverimage": {
  31108. "description": "封面图片",
  31109. "type": "string"
  31110. },
  31111. "creaedate": {
  31112. "description": "创建时间",
  31113. "type": "string"
  31114. },
  31115. "creatorid": {
  31116. "description": "创建人",
  31117. "type": "integer"
  31118. },
  31119. "hits": {
  31120. "description": "点击数",
  31121. "type": "integer"
  31122. },
  31123. "id": {
  31124. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  31125. "type": "integer"
  31126. },
  31127. "isshow": {
  31128. "description": "是否展示 - 0:不展示 1:展示",
  31129. "type": "integer"
  31130. },
  31131. "istop": {
  31132. "description": "是否置顶 - 0:不置 1:置顶",
  31133. "type": "integer"
  31134. },
  31135. "modifierid": {
  31136. "description": "操作人",
  31137. "type": "integer"
  31138. },
  31139. "publishdate": {
  31140. "description": "发布日期",
  31141. "type": "string"
  31142. },
  31143. "status": {
  31144. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  31145. "type": "integer"
  31146. },
  31147. "title": {
  31148. "description": "标题",
  31149. "type": "string"
  31150. },
  31151. "updatedate": {
  31152. "description": "修改时间",
  31153. "type": "string"
  31154. },
  31155. "userid": {
  31156. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  31157. "type": "integer"
  31158. },
  31159. "username": {
  31160. "description": "用户名称",
  31161. "type": "string"
  31162. }
  31163. }
  31164. },
  31165. "models.QhjTeamOrder": {
  31166. "type": "object",
  31167. "properties": {
  31168. "accountid": {
  31169. "description": "账户ID[报价币种]",
  31170. "type": "integer"
  31171. },
  31172. "accountname": {
  31173. "description": "账户名称",
  31174. "type": "string"
  31175. },
  31176. "agreeunit": {
  31177. "description": "合约乘数",
  31178. "type": "number"
  31179. },
  31180. "buyorsell": {
  31181. "description": "方向 - 0:买 1:卖",
  31182. "type": "integer"
  31183. },
  31184. "decimalplace": {
  31185. "description": "报价小数位",
  31186. "type": "integer"
  31187. },
  31188. "enumdicname": {
  31189. "description": "单位名称",
  31190. "type": "string"
  31191. },
  31192. "goodscode": {
  31193. "description": "商品代码(内部)",
  31194. "type": "string"
  31195. },
  31196. "goodsid": {
  31197. "description": "商品ID",
  31198. "type": "integer"
  31199. },
  31200. "goodsname": {
  31201. "description": "商品名称",
  31202. "type": "string"
  31203. },
  31204. "goodunitid": {
  31205. "description": "报价单位ID",
  31206. "type": "integer"
  31207. },
  31208. "marketid": {
  31209. "description": "市场ID",
  31210. "type": "integer"
  31211. },
  31212. "marketname": {
  31213. "description": "市场名称",
  31214. "type": "string"
  31215. },
  31216. "qtydecimalplace": {
  31217. "description": "成交量小数位",
  31218. "type": "integer"
  31219. },
  31220. "refereeuserid": {
  31221. "description": "推荐人ID",
  31222. "type": "integer"
  31223. },
  31224. "tradeamount": {
  31225. "description": "成交金额[账户币种,用于所有权]",
  31226. "type": "number"
  31227. },
  31228. "tradedate": {
  31229. "description": "交易日(yyyyMMdd)",
  31230. "type": "string"
  31231. },
  31232. "trademode": {
  31233. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31234. "type": "integer"
  31235. },
  31236. "tradeprice": {
  31237. "description": "成交价格",
  31238. "type": "number"
  31239. },
  31240. "tradeqty": {
  31241. "description": "成交数量",
  31242. "type": "number"
  31243. },
  31244. "tradetime": {
  31245. "description": "成交时间",
  31246. "type": "string"
  31247. },
  31248. "userid": {
  31249. "description": "用户ID",
  31250. "type": "integer"
  31251. }
  31252. }
  31253. },
  31254. "models.QhjTradeGoodsPickup": {
  31255. "type": "object",
  31256. "properties": {
  31257. "accountid": {
  31258. "description": "账户ID",
  31259. "type": "integer"
  31260. },
  31261. "address": {
  31262. "description": "提货人详细地址",
  31263. "type": "string"
  31264. },
  31265. "amount": {
  31266. "description": "提货金额",
  31267. "type": "number"
  31268. },
  31269. "artradedate": {
  31270. "description": "自动收货交易日(yyyyMMdd)",
  31271. "type": "string"
  31272. },
  31273. "auditer": {
  31274. "description": "审核人",
  31275. "type": "integer"
  31276. },
  31277. "auditsrc": {
  31278. "description": "更新来源 - 1:管理端 2:终端",
  31279. "type": "integer"
  31280. },
  31281. "audittime": {
  31282. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  31283. "type": "string"
  31284. },
  31285. "audittradedate": {
  31286. "description": "审核交易日(yyyyMMdd)",
  31287. "type": "string"
  31288. },
  31289. "cardnum": {
  31290. "description": "提货人证件号码",
  31291. "type": "string"
  31292. },
  31293. "cardtypeid": {
  31294. "description": "提货人证件类型",
  31295. "type": "integer"
  31296. },
  31297. "checkremark": {
  31298. "description": "审核备注",
  31299. "type": "string"
  31300. },
  31301. "cityid": {
  31302. "description": "市",
  31303. "type": "integer"
  31304. },
  31305. "cityname": {
  31306. "description": "城市名称",
  31307. "type": "string"
  31308. },
  31309. "confirmtime": {
  31310. "description": "取货时间 或 收货时间",
  31311. "type": "string"
  31312. },
  31313. "countryid": {
  31314. "description": "国家",
  31315. "type": "integer"
  31316. },
  31317. "countryname": {
  31318. "description": "国家名称",
  31319. "type": "string"
  31320. },
  31321. "decimalplace": {
  31322. "description": "商品报价小数位",
  31323. "type": "integer"
  31324. },
  31325. "districtid": {
  31326. "description": "地区",
  31327. "type": "integer"
  31328. },
  31329. "districtname": {
  31330. "description": "地区名称",
  31331. "type": "string"
  31332. },
  31333. "enumdicname": {
  31334. "description": "单位名称(提货商品)",
  31335. "type": "string"
  31336. },
  31337. "expresscompany": {
  31338. "description": "物流公司",
  31339. "type": "string"
  31340. },
  31341. "expressnum": {
  31342. "description": "物流单号",
  31343. "type": "string"
  31344. },
  31345. "goodsagreeunit": {
  31346. "description": "交易商品乘数",
  31347. "type": "number"
  31348. },
  31349. "goodscode": {
  31350. "description": "商品代码",
  31351. "type": "string"
  31352. },
  31353. "goodsid": {
  31354. "description": "商品ID",
  31355. "type": "integer"
  31356. },
  31357. "goodsname": {
  31358. "description": "商品名称",
  31359. "type": "string"
  31360. },
  31361. "goodsqty": {
  31362. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  31363. "type": "number"
  31364. },
  31365. "handlestatus": {
  31366. "description": "处理状态",
  31367. "type": "integer"
  31368. },
  31369. "logincode": {
  31370. "description": "账号(登录代码, 有可能为空)",
  31371. "type": "string"
  31372. },
  31373. "marketid": {
  31374. "description": "市场ID",
  31375. "type": "integer"
  31376. },
  31377. "phonenum": {
  31378. "description": "提货人联系方式",
  31379. "type": "string"
  31380. },
  31381. "pickupgoodsagreeunit": {
  31382. "description": "提货商品合约乘数",
  31383. "type": "number"
  31384. },
  31385. "pickupgoodsid": {
  31386. "description": "提货商品ID",
  31387. "type": "string"
  31388. },
  31389. "pickupgoodsname": {
  31390. "description": "提货商品名称",
  31391. "type": "string"
  31392. },
  31393. "pickupgoodsqty": {
  31394. "description": "提货商品手数(数量)",
  31395. "type": "number"
  31396. },
  31397. "pickupgoodsunitid": {
  31398. "description": "单位ID(提货商品)",
  31399. "type": "integer"
  31400. },
  31401. "pickupratio": {
  31402. "description": "提货系数",
  31403. "type": "number"
  31404. },
  31405. "preparedays": {
  31406. "description": "备货期(天)-提货单明细表",
  31407. "type": "integer"
  31408. },
  31409. "provinceid": {
  31410. "description": "省",
  31411. "type": "integer"
  31412. },
  31413. "provincename": {
  31414. "description": "省名称",
  31415. "type": "string"
  31416. },
  31417. "qty": {
  31418. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  31419. "type": "number"
  31420. },
  31421. "qtydecimalplace": {
  31422. "description": "商品数量小数位",
  31423. "type": "integer"
  31424. },
  31425. "recivername": {
  31426. "description": "提货人姓名",
  31427. "type": "string"
  31428. },
  31429. "reqtime": {
  31430. "description": "提货申请时间",
  31431. "type": "string"
  31432. },
  31433. "storeuserid": {
  31434. "description": "门店用户ID (千海金)",
  31435. "type": "integer"
  31436. },
  31437. "storeusername": {
  31438. "description": "门店用户名称",
  31439. "type": "string"
  31440. },
  31441. "takemode": {
  31442. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  31443. "type": "integer"
  31444. },
  31445. "takeorderid": {
  31446. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  31447. "type": "string"
  31448. },
  31449. "takeorderstatus": {
  31450. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  31451. "type": "integer"
  31452. },
  31453. "takeremark": {
  31454. "description": "提货备注",
  31455. "type": "string"
  31456. },
  31457. "tradedate": {
  31458. "description": "交易日(yyyyMMdd)",
  31459. "type": "string"
  31460. },
  31461. "updatetime": {
  31462. "description": "更新时间",
  31463. "type": "string"
  31464. },
  31465. "userid": {
  31466. "description": "用户ID",
  31467. "type": "integer"
  31468. },
  31469. "userinfotype": {
  31470. "description": "客户类型 1-个人 2-企业",
  31471. "type": "integer"
  31472. },
  31473. "username": {
  31474. "description": "用户名称",
  31475. "type": "string"
  31476. }
  31477. }
  31478. },
  31479. "models.QhjUserNodeCfgAndStatus": {
  31480. "type": "object",
  31481. "properties": {
  31482. "agreementcontent": {
  31483. "description": "协议内容",
  31484. "type": "string"
  31485. },
  31486. "agreementid": {
  31487. "description": "协议ID",
  31488. "type": "integer"
  31489. },
  31490. "agreementname": {
  31491. "description": "协议名称",
  31492. "type": "string"
  31493. },
  31494. "agreementno": {
  31495. "description": "协议编号",
  31496. "type": "string"
  31497. },
  31498. "agreementtype": {
  31499. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31500. "type": "integer"
  31501. },
  31502. "agreementversion": {
  31503. "description": "协议版本号",
  31504. "type": "integer"
  31505. },
  31506. "configid": {
  31507. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  31508. "type": "integer"
  31509. },
  31510. "createtime": {
  31511. "description": "创建时间",
  31512. "type": "string"
  31513. },
  31514. "goodsid": {
  31515. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31516. "type": "integer"
  31517. },
  31518. "nodetype": {
  31519. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  31520. "type": "integer"
  31521. },
  31522. "signtimestamp": {
  31523. "description": "签约状态时间戳(最近一次)",
  31524. "type": "string"
  31525. },
  31526. "tradedate": {
  31527. "description": "签约交易日(yyyyMMdd)",
  31528. "type": "string"
  31529. },
  31530. "userid": {
  31531. "description": "客户ID",
  31532. "type": "integer"
  31533. }
  31534. }
  31535. },
  31536. "models.Qhjgoodsex": {
  31537. "type": "object",
  31538. "properties": {
  31539. "canfinance": {
  31540. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  31541. "type": "integer"
  31542. },
  31543. "canregularlybuy": {
  31544. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  31545. "type": "integer"
  31546. },
  31547. "defaulttradeuserid": {
  31548. "description": "默认交易用户ID",
  31549. "type": "integer"
  31550. },
  31551. "deliverygoodsid": {
  31552. "description": "现货品种ID",
  31553. "type": "integer"
  31554. },
  31555. "goodsid": {
  31556. "description": "商品ID(自增ID SEQ_GOODS)",
  31557. "type": "integer"
  31558. },
  31559. "minamount": {
  31560. "description": "最小购买金额",
  31561. "type": "number"
  31562. },
  31563. "regularlybuyminamount": {
  31564. "description": "定投最小金额",
  31565. "type": "number"
  31566. },
  31567. "regularlybuyminqty": {
  31568. "description": "定投最小数量",
  31569. "type": "number"
  31570. },
  31571. "spotgoodsbrandid": {
  31572. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  31573. "type": "integer"
  31574. },
  31575. "visibilityforenterprise": {
  31576. "description": "企业客户是否可见 - 0:不可见 1:可见",
  31577. "type": "integer"
  31578. },
  31579. "visibilityforpersonal": {
  31580. "description": "个人客户是否可见 - 0:不可见 1:可见",
  31581. "type": "integer"
  31582. },
  31583. "wrstandardid": {
  31584. "description": "现货商品ID",
  31585. "type": "integer"
  31586. }
  31587. }
  31588. },
  31589. "models.QueryErrorInfosRsp": {
  31590. "type": "object",
  31591. "required": [
  31592. "errorid"
  31593. ],
  31594. "properties": {
  31595. "description": {
  31596. "description": "异常描述",
  31597. "type": "string"
  31598. },
  31599. "errorcode": {
  31600. "description": "异常代码",
  31601. "type": "string"
  31602. },
  31603. "errorid": {
  31604. "description": "异常ID",
  31605. "type": "integer"
  31606. },
  31607. "modulecode": {
  31608. "description": "所属模块",
  31609. "type": "string"
  31610. },
  31611. "operatecode": {
  31612. "description": "所属操作",
  31613. "type": "string"
  31614. },
  31615. "rownumber": {
  31616. "description": "行号",
  31617. "type": "string"
  31618. }
  31619. }
  31620. },
  31621. "models.QueryHedgeOrderDetailRsp": {
  31622. "type": "object",
  31623. "properties": {
  31624. "accountid": {
  31625. "description": "账户ID",
  31626. "type": "integer"
  31627. },
  31628. "buyorsell": {
  31629. "description": "买卖 - 0:买 1:卖",
  31630. "type": "integer"
  31631. },
  31632. "cancellogincode": {
  31633. "description": "撤单人",
  31634. "type": "string"
  31635. },
  31636. "channelbuildtype": {
  31637. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  31638. "type": "integer"
  31639. },
  31640. "channelinnerorderstatus": {
  31641. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  31642. "type": "integer"
  31643. },
  31644. "channeloperatetype": {
  31645. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  31646. "type": "integer"
  31647. },
  31648. "closetype": {
  31649. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31650. "type": "integer"
  31651. },
  31652. "curexchangerate": {
  31653. "description": "当前汇率",
  31654. "type": "number"
  31655. },
  31656. "decimalplace": {
  31657. "description": "商品报价小数位",
  31658. "type": "integer"
  31659. },
  31660. "exchangefullname": {
  31661. "description": "外部交易所全称",
  31662. "type": "string"
  31663. },
  31664. "goodscode": {
  31665. "description": "商品代码(内部)",
  31666. "type": "string"
  31667. },
  31668. "goodsid": {
  31669. "description": "商品ID",
  31670. "type": "integer"
  31671. },
  31672. "goodsname": {
  31673. "description": "商品名称",
  31674. "type": "string"
  31675. },
  31676. "marketid": {
  31677. "description": "市场ID",
  31678. "type": "integer"
  31679. },
  31680. "openfreezemargin": {
  31681. "description": "冻结保证金(冻结交易金额)",
  31682. "type": "number"
  31683. },
  31684. "orderid": {
  31685. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31686. "type": "string"
  31687. },
  31688. "orderlogincode": {
  31689. "description": "委托人",
  31690. "type": "string"
  31691. },
  31692. "orderprice": {
  31693. "description": "委托价格(账户)",
  31694. "type": "number"
  31695. },
  31696. "orderqty": {
  31697. "description": "委托数量",
  31698. "type": "integer"
  31699. },
  31700. "ordertime": {
  31701. "description": "委托时间",
  31702. "type": "string"
  31703. },
  31704. "pricemode": {
  31705. "description": "取价方式 - 1:市价 2: 限价",
  31706. "type": "integer"
  31707. },
  31708. "tradedate": {
  31709. "description": "交易日(yyyyMMdd)",
  31710. "type": "string"
  31711. },
  31712. "tradeqty": {
  31713. "description": "成交数量",
  31714. "type": "integer"
  31715. }
  31716. }
  31717. },
  31718. "models.QueryHedgeTradeDetailRsp": {
  31719. "type": "object",
  31720. "properties": {
  31721. "accountid": {
  31722. "description": "账号ID",
  31723. "type": "integer"
  31724. },
  31725. "buyorsell": {
  31726. "description": "方向 - 0:买 1:卖",
  31727. "type": "integer"
  31728. },
  31729. "channelbuildtype": {
  31730. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31731. "type": "integer"
  31732. },
  31733. "closecharge": {
  31734. "description": "平仓手续费(账户)",
  31735. "type": "number"
  31736. },
  31737. "closecharge2": {
  31738. "description": "平仓手续费(商品)",
  31739. "type": "number"
  31740. },
  31741. "closepl": {
  31742. "description": "平仓盈亏(账户)",
  31743. "type": "number"
  31744. },
  31745. "closepl2": {
  31746. "description": "平仓盈亏(商品)",
  31747. "type": "number"
  31748. },
  31749. "closepl3": {
  31750. "description": "平仓盈亏(账户)(逐笔)",
  31751. "type": "number"
  31752. },
  31753. "closepl4": {
  31754. "description": "平仓盈亏(商品)(逐笔)",
  31755. "type": "number"
  31756. },
  31757. "closetype": {
  31758. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31759. "type": "integer"
  31760. },
  31761. "curexchangerate": {
  31762. "description": "当前汇率",
  31763. "type": "number"
  31764. },
  31765. "decimalplace": {
  31766. "description": "商品报价小数位",
  31767. "type": "integer"
  31768. },
  31769. "exchangefullname": {
  31770. "description": "外部交易所全称",
  31771. "type": "string"
  31772. },
  31773. "goodscode": {
  31774. "description": "商品代码(内部)",
  31775. "type": "string"
  31776. },
  31777. "goodsid": {
  31778. "description": "商品ID",
  31779. "type": "integer"
  31780. },
  31781. "goodsname": {
  31782. "description": "商品名称",
  31783. "type": "string"
  31784. },
  31785. "marketid": {
  31786. "description": "市场ID",
  31787. "type": "integer"
  31788. },
  31789. "opencharge": {
  31790. "description": "建仓手续费(账户)",
  31791. "type": "number"
  31792. },
  31793. "opencharge2": {
  31794. "description": "建仓手续费(商品)",
  31795. "type": "number"
  31796. },
  31797. "orderid": {
  31798. "description": "委托单号",
  31799. "type": "string"
  31800. },
  31801. "orderlogincode": {
  31802. "description": "委托人",
  31803. "type": "string"
  31804. },
  31805. "tradeamount": {
  31806. "description": "成交金额(账户)",
  31807. "type": "number"
  31808. },
  31809. "tradedate": {
  31810. "description": "交易日(yyyyMMdd)",
  31811. "type": "string"
  31812. },
  31813. "tradeid": {
  31814. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31815. "type": "string"
  31816. },
  31817. "tradeprice": {
  31818. "description": "成交价格",
  31819. "type": "number"
  31820. },
  31821. "tradeqty": {
  31822. "description": "成交数量",
  31823. "type": "integer"
  31824. },
  31825. "tradetime": {
  31826. "description": "成交时间",
  31827. "type": "string"
  31828. },
  31829. "tradetype": {
  31830. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  31831. "type": "integer"
  31832. }
  31833. }
  31834. },
  31835. "models.QuotePrimaryMenu": {
  31836. "type": "object",
  31837. "properties": {
  31838. "Index": {
  31839. "description": "序号",
  31840. "type": "integer"
  31841. },
  31842. "Key": {
  31843. "description": "键名",
  31844. "type": "string"
  31845. },
  31846. "Name": {
  31847. "description": "菜单名称",
  31848. "type": "string"
  31849. },
  31850. "SubMenus": {
  31851. "description": "子菜单",
  31852. "type": "array",
  31853. "items": {
  31854. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  31855. }
  31856. },
  31857. "SubTitleType": {
  31858. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  31859. "type": "integer"
  31860. },
  31861. "TradeModes": {
  31862. "description": "包含市场交易类型",
  31863. "type": "string"
  31864. }
  31865. }
  31866. },
  31867. "models.QuoteSecondaryMenu": {
  31868. "type": "object",
  31869. "properties": {
  31870. "ExExchangeCode": {
  31871. "description": "外部交易所代码",
  31872. "type": "string"
  31873. },
  31874. "ExExchangeID": {
  31875. "description": "外部交易所ID",
  31876. "type": "integer"
  31877. },
  31878. "GoodsGroupIDs": {
  31879. "description": "商品组ID列表",
  31880. "type": "array",
  31881. "items": {
  31882. "type": "integer"
  31883. }
  31884. },
  31885. "Index": {
  31886. "description": "序号",
  31887. "type": "integer"
  31888. },
  31889. "MarketID": {
  31890. "description": "市场ID",
  31891. "type": "integer"
  31892. },
  31893. "MenuTitle": {
  31894. "description": "菜单标题(市场名称或外部交易所名称)",
  31895. "type": "string"
  31896. },
  31897. "TradeMode": {
  31898. "description": "交易模式",
  31899. "type": "integer"
  31900. }
  31901. }
  31902. },
  31903. "models.RoleMenu": {
  31904. "type": "object",
  31905. "properties": {
  31906. "hasright": {
  31907. "description": "是否有权限 0-没有权限 1-有权限",
  31908. "type": "integer"
  31909. },
  31910. "iconame": {
  31911. "description": "菜单图标",
  31912. "type": "string"
  31913. },
  31914. "menutype": {
  31915. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  31916. "type": "integer"
  31917. },
  31918. "parentcode": {
  31919. "description": "上级资源代码",
  31920. "type": "string"
  31921. },
  31922. "remark": {
  31923. "description": "菜单备注",
  31924. "type": "string"
  31925. },
  31926. "resourcecode": {
  31927. "description": "菜单代码",
  31928. "type": "string"
  31929. },
  31930. "resourcelevel": {
  31931. "description": "级别",
  31932. "type": "integer"
  31933. },
  31934. "resourcename": {
  31935. "description": "菜单名称",
  31936. "type": "string"
  31937. },
  31938. "roleid": {
  31939. "description": "角色id",
  31940. "type": "integer"
  31941. },
  31942. "sort": {
  31943. "description": "排序",
  31944. "type": "integer"
  31945. },
  31946. "subMenu": {
  31947. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  31948. "type": "array",
  31949. "items": {
  31950. "$ref": "#/definitions/models.RoleMenu"
  31951. }
  31952. },
  31953. "url": {
  31954. "description": "URL",
  31955. "type": "string"
  31956. },
  31957. "userid": {
  31958. "description": "用户id",
  31959. "type": "integer"
  31960. }
  31961. }
  31962. },
  31963. "models.SearchGoods": {
  31964. "type": "object",
  31965. "required": [
  31966. "goodscode",
  31967. "goodsid",
  31968. "goodsname",
  31969. "marketid",
  31970. "trademode"
  31971. ],
  31972. "properties": {
  31973. "goodscode": {
  31974. "description": "商品代码(内部)",
  31975. "type": "string"
  31976. },
  31977. "goodsid": {
  31978. "description": "商品ID(自增ID SEQ_GOODS)",
  31979. "type": "integer"
  31980. },
  31981. "goodsname": {
  31982. "description": "商品名称",
  31983. "type": "string"
  31984. },
  31985. "marketid": {
  31986. "description": "所属市场ID",
  31987. "type": "integer"
  31988. },
  31989. "marketname": {
  31990. "description": "市场名称",
  31991. "type": "string"
  31992. },
  31993. "trademode": {
  31994. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31995. "type": "integer"
  31996. }
  31997. }
  31998. },
  31999. "models.Systemparam": {
  32000. "type": "object",
  32001. "required": [
  32002. "paramcode"
  32003. ],
  32004. "properties": {
  32005. "loginid": {
  32006. "description": "更新用户账号,登录账号",
  32007. "type": "string"
  32008. },
  32009. "modifyflag": {
  32010. "description": "修改标志0 不允许修改 1 允许修改",
  32011. "type": "integer"
  32012. },
  32013. "paramcode": {
  32014. "description": "参数代码",
  32015. "type": "string"
  32016. },
  32017. "paramname": {
  32018. "description": "参数名",
  32019. "type": "string"
  32020. },
  32021. "paramtype": {
  32022. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  32023. "type": "integer"
  32024. },
  32025. "paramvalue": {
  32026. "description": "参数值",
  32027. "type": "string"
  32028. },
  32029. "paramvalue2": {
  32030. "description": "参数值(CLOB)",
  32031. "type": "string"
  32032. },
  32033. "regexpress": {
  32034. "description": "正则表达式",
  32035. "type": "string"
  32036. },
  32037. "remark": {
  32038. "description": "备注",
  32039. "type": "string"
  32040. },
  32041. "serverip": {
  32042. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  32043. "type": "string"
  32044. },
  32045. "showflag": {
  32046. "description": "是否显示0 不显示 1 显示",
  32047. "type": "integer"
  32048. },
  32049. "updatetime": {
  32050. "description": "更新时间",
  32051. "type": "string"
  32052. },
  32053. "userid": {
  32054. "description": "更新用户ID",
  32055. "type": "integer"
  32056. }
  32057. }
  32058. },
  32059. "models.Szdz3convertconfig": {
  32060. "type": "object",
  32061. "required": [
  32062. "converttype",
  32063. "innergoodsid",
  32064. "outergoodscode"
  32065. ],
  32066. "properties": {
  32067. "canin": {
  32068. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  32069. "type": "integer"
  32070. },
  32071. "canout": {
  32072. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  32073. "type": "integer"
  32074. },
  32075. "converttype": {
  32076. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  32077. "type": "integer"
  32078. },
  32079. "createtime": {
  32080. "description": "创建时间",
  32081. "type": "string"
  32082. },
  32083. "creatorid": {
  32084. "description": "创建人",
  32085. "type": "integer"
  32086. },
  32087. "daymaxvalue": {
  32088. "description": "当日最大转入限制",
  32089. "type": "number"
  32090. },
  32091. "freezedays": {
  32092. "description": "冻结天数 [5:花生米转交易]",
  32093. "type": "integer"
  32094. },
  32095. "innergoodsid": {
  32096. "description": "内部商品ID[交易]",
  32097. "type": "integer"
  32098. },
  32099. "inratio": {
  32100. "description": "目标值",
  32101. "type": "integer"
  32102. },
  32103. "modifierid": {
  32104. "description": "修改人",
  32105. "type": "integer"
  32106. },
  32107. "modifytime": {
  32108. "description": "修改时间",
  32109. "type": "string"
  32110. },
  32111. "outergoodscode": {
  32112. "description": "外部商品代码[JD\\PD]",
  32113. "type": "string"
  32114. },
  32115. "outratio": {
  32116. "description": "源值",
  32117. "type": "integer"
  32118. },
  32119. "pddecimalplace": {
  32120. "description": "PD小数位",
  32121. "type": "integer"
  32122. },
  32123. "timemaxvalue": {
  32124. "description": "单次最大转入限制",
  32125. "type": "number"
  32126. },
  32127. "timeminvalue": {
  32128. "description": "单次最小转入限制",
  32129. "type": "number"
  32130. }
  32131. }
  32132. },
  32133. "models.Szdz3searchwhitelist": {
  32134. "type": "object",
  32135. "required": [
  32136. "userid"
  32137. ],
  32138. "properties": {
  32139. "createtime": {
  32140. "description": "创建时间",
  32141. "type": "string"
  32142. },
  32143. "creatorid": {
  32144. "description": "创建人",
  32145. "type": "integer"
  32146. },
  32147. "modifierid": {
  32148. "description": "修改人",
  32149. "type": "integer"
  32150. },
  32151. "modifytime": {
  32152. "description": "修改时间",
  32153. "type": "string"
  32154. },
  32155. "userid": {
  32156. "description": "用户ID",
  32157. "type": "integer"
  32158. }
  32159. }
  32160. },
  32161. "models.TBGoods": {
  32162. "type": "object",
  32163. "properties": {
  32164. "agreeunit": {
  32165. "description": "合约乘数",
  32166. "type": "number"
  32167. },
  32168. "enumdicname": {
  32169. "description": "单位名称",
  32170. "type": "string"
  32171. },
  32172. "goodscode": {
  32173. "description": "商品代码(内部)",
  32174. "type": "string"
  32175. },
  32176. "goodsid": {
  32177. "description": "商品ID(自增ID SEQ_GOODS)",
  32178. "type": "integer"
  32179. },
  32180. "goodsname": {
  32181. "description": "商品名称",
  32182. "type": "string"
  32183. }
  32184. }
  32185. },
  32186. "models.TBGoodsGroup": {
  32187. "type": "object",
  32188. "properties": {
  32189. "GDLST": {
  32190. "description": "商品列表",
  32191. "type": "array",
  32192. "items": {
  32193. "$ref": "#/definitions/models.TBGoods"
  32194. }
  32195. },
  32196. "convertratio": {
  32197. "description": "折算系数",
  32198. "type": "number"
  32199. },
  32200. "enumdicname": {
  32201. "description": "单位名称",
  32202. "type": "string"
  32203. },
  32204. "exexchangecode": {
  32205. "description": "交易所代码",
  32206. "type": "string"
  32207. },
  32208. "exexchangename": {
  32209. "description": "交易所名称",
  32210. "type": "string"
  32211. },
  32212. "goodsgroupid": {
  32213. "description": "商品组ID(自增ID)",
  32214. "type": "integer"
  32215. },
  32216. "goodsgroupname": {
  32217. "description": "商品组名称",
  32218. "type": "string"
  32219. },
  32220. "goodunitid": {
  32221. "description": "报价单位ID",
  32222. "type": "integer"
  32223. }
  32224. }
  32225. },
  32226. "models.TBMiddleGoods": {
  32227. "type": "object",
  32228. "properties": {
  32229. "GPLST": {
  32230. "description": "期货品种列表",
  32231. "type": "array",
  32232. "items": {
  32233. "$ref": "#/definitions/models.TBGoodsGroup"
  32234. }
  32235. },
  32236. "WDLST": {
  32237. "description": "商品信息列表(现货品类)",
  32238. "type": "array",
  32239. "items": {
  32240. "$ref": "#/definitions/models.TBWrstandard"
  32241. }
  32242. },
  32243. "areauserid": {
  32244. "description": "机构用户ID",
  32245. "type": "integer"
  32246. },
  32247. "enumdicname": {
  32248. "description": "单位名称",
  32249. "type": "string"
  32250. },
  32251. "goodsunitid": {
  32252. "description": "套保品种单位id",
  32253. "type": "integer"
  32254. },
  32255. "middlegoodscode": {
  32256. "description": "套保品种代码",
  32257. "type": "string"
  32258. },
  32259. "middlegoodsid": {
  32260. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  32261. "type": "integer"
  32262. },
  32263. "middlegoodsname": {
  32264. "description": "套保品种名称",
  32265. "type": "string"
  32266. },
  32267. "needarbitrageratio": {
  32268. "description": "套利比率",
  32269. "type": "number"
  32270. },
  32271. "needhedgeratio": {
  32272. "description": "套保比率",
  32273. "type": "number"
  32274. }
  32275. }
  32276. },
  32277. "models.TBWrstandard": {
  32278. "type": "object",
  32279. "properties": {
  32280. "convertratio": {
  32281. "description": "折算系数",
  32282. "type": "number"
  32283. },
  32284. "deliverygoodsname": {
  32285. "description": "品种名称",
  32286. "type": "string"
  32287. },
  32288. "enumdicname": {
  32289. "description": "单位名称",
  32290. "type": "string"
  32291. },
  32292. "vatrate": {
  32293. "description": "增值税率",
  32294. "type": "number"
  32295. },
  32296. "wrstandardcode": {
  32297. "description": "现货商品代码",
  32298. "type": "string"
  32299. },
  32300. "wrstandardid": {
  32301. "description": "现货商品ID(SEQ_WRSTANDARD)",
  32302. "type": "integer"
  32303. },
  32304. "wrstandardname": {
  32305. "description": "现货商品名称",
  32306. "type": "string"
  32307. }
  32308. }
  32309. },
  32310. "models.Taaccount": {
  32311. "type": "object",
  32312. "required": [
  32313. "accountid",
  32314. "userid"
  32315. ],
  32316. "properties": {
  32317. "accountflag": {
  32318. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  32319. "type": "integer"
  32320. },
  32321. "accountid": {
  32322. "description": "资金账户ID",
  32323. "type": "integer"
  32324. },
  32325. "accountname": {
  32326. "description": "账户名称",
  32327. "type": "string"
  32328. },
  32329. "balance": {
  32330. "description": "期初余额",
  32331. "type": "number"
  32332. },
  32333. "capitalbalance": {
  32334. "description": "本金余额[外部子账户实际出入金余额]",
  32335. "type": "number"
  32336. },
  32337. "changeflag": {
  32338. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  32339. "type": "integer"
  32340. },
  32341. "changetime": {
  32342. "description": "账户状态变更时间",
  32343. "type": "string"
  32344. },
  32345. "closepl": {
  32346. "description": "今日平仓盈亏",
  32347. "type": "number"
  32348. },
  32349. "creditdecrease": {
  32350. "description": "今日授信减少",
  32351. "type": "number"
  32352. },
  32353. "creditincrease": {
  32354. "description": "今日授信增加",
  32355. "type": "number"
  32356. },
  32357. "curamount": {
  32358. "description": "总市值(从持仓中统计)",
  32359. "type": "number"
  32360. },
  32361. "currencyid": {
  32362. "description": "货币ID",
  32363. "type": "integer"
  32364. },
  32365. "currentbalance": {
  32366. "description": "期末余额",
  32367. "type": "number"
  32368. },
  32369. "freezecharge": {
  32370. "description": "手续费冻结",
  32371. "type": "number"
  32372. },
  32373. "freezemargin": {
  32374. "description": "冻结保证金",
  32375. "type": "number"
  32376. },
  32377. "fromaccountid": {
  32378. "description": "所属上级账户",
  32379. "type": "integer"
  32380. },
  32381. "inamount": {
  32382. "description": "今日入金金额(包括三方入金)",
  32383. "type": "number"
  32384. },
  32385. "ismain": {
  32386. "description": "是否母账号 0:不是母账户 1:是母账户",
  32387. "type": "integer"
  32388. },
  32389. "ismarketaccount": {
  32390. "description": "是否机构接单账号 0:不是 1:是",
  32391. "type": "integer"
  32392. },
  32393. "isreckonaccount": {
  32394. "description": "是否机构分润账号 0:不是 1:是",
  32395. "type": "integer"
  32396. },
  32397. "mortgagecredit": {
  32398. "description": "授信金额",
  32399. "type": "number"
  32400. },
  32401. "orifreezecharge": {
  32402. "description": "期初手续费冻结",
  32403. "type": "number"
  32404. },
  32405. "orifreezemargin": {
  32406. "description": "期初冻结保证金",
  32407. "type": "number"
  32408. },
  32409. "orimortgagecredit": {
  32410. "description": "期初授信金额",
  32411. "type": "number"
  32412. },
  32413. "oriothercredit": {
  32414. "description": "期初其它授信金额",
  32415. "type": "number"
  32416. },
  32417. "oriotherfreezemargin": {
  32418. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  32419. "type": "number"
  32420. },
  32421. "orioutamountfreeze": {
  32422. "description": "期初出金冻结",
  32423. "type": "number"
  32424. },
  32425. "oriusedmargin": {
  32426. "description": "期初占用保证金",
  32427. "type": "number"
  32428. },
  32429. "othercredit": {
  32430. "description": "其它授信金额",
  32431. "type": "number"
  32432. },
  32433. "othercreditdecrease": {
  32434. "description": "今日其它授信减少",
  32435. "type": "number"
  32436. },
  32437. "othercreditincrease": {
  32438. "description": "今日其它授信增加",
  32439. "type": "number"
  32440. },
  32441. "otherfreezemargin": {
  32442. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  32443. "type": "number"
  32444. },
  32445. "otherincome": {
  32446. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  32447. "type": "number"
  32448. },
  32449. "otherpay": {
  32450. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  32451. "type": "number"
  32452. },
  32453. "outamount": {
  32454. "description": "今日出金金额(包括三方出金)",
  32455. "type": "number"
  32456. },
  32457. "outamountfreeze": {
  32458. "description": "出金冻结",
  32459. "type": "number"
  32460. },
  32461. "outthreshold": {
  32462. "description": "出金阈值",
  32463. "type": "number"
  32464. },
  32465. "parentaccountid": {
  32466. "description": "所属根账号",
  32467. "type": "integer"
  32468. },
  32469. "paycharge": {
  32470. "description": "今日手续费支出",
  32471. "type": "number"
  32472. },
  32473. "relatedaccountstatus": {
  32474. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  32475. "type": "integer"
  32476. },
  32477. "relateduserid": {
  32478. "description": "关联用户",
  32479. "type": "integer"
  32480. },
  32481. "remainamount": {
  32482. "description": "融资额(从融资合同中统计)",
  32483. "type": "number"
  32484. },
  32485. "serivcegroup": {
  32486. "description": "服务分组",
  32487. "type": "integer"
  32488. },
  32489. "signstatus": {
  32490. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  32491. "type": "integer"
  32492. },
  32493. "sublevelpath": {
  32494. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  32495. "type": "string"
  32496. },
  32497. "taaccounttype": {
  32498. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  32499. "type": "integer"
  32500. },
  32501. "thirdinamount": {
  32502. "description": "今日三方入金",
  32503. "type": "number"
  32504. },
  32505. "thirdoutamount": {
  32506. "description": "今日三方出金",
  32507. "type": "number"
  32508. },
  32509. "tradestatus": {
  32510. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  32511. "type": "integer"
  32512. },
  32513. "tradestatuschangetime": {
  32514. "description": "激活时间",
  32515. "type": "string"
  32516. },
  32517. "transferamount": {
  32518. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  32519. "type": "number"
  32520. },
  32521. "usedmargin": {
  32522. "description": "占用保证金",
  32523. "type": "number"
  32524. },
  32525. "userid": {
  32526. "description": "用户ID",
  32527. "type": "integer"
  32528. }
  32529. }
  32530. },
  32531. "models.Tablecolumnconfig": {
  32532. "type": "object",
  32533. "required": [
  32534. "autoid"
  32535. ],
  32536. "properties": {
  32537. "aligntype": {
  32538. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  32539. "type": "integer"
  32540. },
  32541. "autoid": {
  32542. "description": "AutoID",
  32543. "type": "integer"
  32544. },
  32545. "columnfield": {
  32546. "description": "列字段",
  32547. "type": "string"
  32548. },
  32549. "columntitle": {
  32550. "description": "列Title",
  32551. "type": "string"
  32552. },
  32553. "columnwidth": {
  32554. "description": "列宽",
  32555. "type": "string"
  32556. },
  32557. "formatterstring": {
  32558. "description": "格式化字符",
  32559. "type": "string"
  32560. },
  32561. "formattertype": {
  32562. "description": "格式化类型",
  32563. "type": "string"
  32564. },
  32565. "groupname": {
  32566. "description": "表头分组名称",
  32567. "type": "string"
  32568. },
  32569. "isshow": {
  32570. "description": "是否显示 - 0:不显示 1:显示",
  32571. "type": "integer"
  32572. },
  32573. "needsummary": {
  32574. "description": "是否需要汇总 - 0:不需要 1:需要",
  32575. "type": "integer"
  32576. },
  32577. "orderindex": {
  32578. "description": "顺序",
  32579. "type": "integer"
  32580. },
  32581. "remark": {
  32582. "description": "备注",
  32583. "type": "string"
  32584. },
  32585. "summarytype": {
  32586. "description": "汇总类型 - 1:加总 2:最后一个",
  32587. "type": "integer"
  32588. },
  32589. "tablekey": {
  32590. "description": "列表Key",
  32591. "type": "string"
  32592. }
  32593. }
  32594. },
  32595. "models.TjmdMarketSection": {
  32596. "type": "object",
  32597. "properties": {
  32598. "marketsectionid": {
  32599. "description": "市场版块ID(SEQ_MARKETSECTION)",
  32600. "type": "integer"
  32601. },
  32602. "marketsectionname": {
  32603. "description": "市场版块名称",
  32604. "type": "string"
  32605. },
  32606. "mlist": {
  32607. "description": "市场列表(板块下面有多少个市场)",
  32608. "type": "array",
  32609. "items": {
  32610. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  32611. }
  32612. },
  32613. "orderindex": {
  32614. "description": "排序",
  32615. "type": "integer"
  32616. },
  32617. "pictureurl": {
  32618. "description": "图片url, 规格(90*90)",
  32619. "type": "string"
  32620. },
  32621. "remark": {
  32622. "description": "备注",
  32623. "type": "string"
  32624. }
  32625. }
  32626. },
  32627. "models.TjmdMarketSectionConfig": {
  32628. "type": "object",
  32629. "properties": {
  32630. "auctionwrtype": {
  32631. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  32632. "type": "integer"
  32633. },
  32634. "canacceptquote": {
  32635. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  32636. "type": "integer"
  32637. },
  32638. "cangoodsexercise": {
  32639. "description": "[期权]是否可现货行权- 0:否 1:是",
  32640. "type": "integer"
  32641. },
  32642. "cangoodsexercisetype": {
  32643. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  32644. "type": "integer"
  32645. },
  32646. "canmanualquotestrike": {
  32647. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  32648. "type": "integer"
  32649. },
  32650. "canmutistage": {
  32651. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  32652. "type": "integer"
  32653. },
  32654. "canpreexercise": {
  32655. "description": "[期权]是否可预申报- 0:否 1:是",
  32656. "type": "integer"
  32657. },
  32658. "clearinterval": {
  32659. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  32660. "type": "integer"
  32661. },
  32662. "contracttmp": {
  32663. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  32664. "type": "string"
  32665. },
  32666. "exchareaid": {
  32667. "description": "所属交易所,可以没有",
  32668. "type": "integer"
  32669. },
  32670. "financemarketid": {
  32671. "description": "融资回购市场ID [仓单贸易]",
  32672. "type": "integer"
  32673. },
  32674. "goodstype": {
  32675. "description": "商品类型 - 1:交易商品 2:仓单商品",
  32676. "type": "integer"
  32677. },
  32678. "hasrebate": {
  32679. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  32680. "type": "integer"
  32681. },
  32682. "hastradecredit": {
  32683. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  32684. "type": "integer"
  32685. },
  32686. "haswr": {
  32687. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  32688. "type": "integer"
  32689. },
  32690. "isdeductmargin": {
  32691. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  32692. "type": "integer"
  32693. },
  32694. "isrecordsource": {
  32695. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  32696. "type": "integer"
  32697. },
  32698. "isreleasemargin": {
  32699. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  32700. "type": "integer"
  32701. },
  32702. "isupdatereckonprice": {
  32703. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  32704. "type": "integer"
  32705. },
  32706. "listingmode": {
  32707. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  32708. "type": "integer"
  32709. },
  32710. "marginformula": {
  32711. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32712. "type": "integer"
  32713. },
  32714. "marginformula2": {
  32715. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32716. "type": "integer"
  32717. },
  32718. "marketid": {
  32719. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  32720. "type": "integer"
  32721. },
  32722. "marketname": {
  32723. "description": "市场名称",
  32724. "type": "string"
  32725. },
  32726. "marketsectionid": {
  32727. "description": "市场版块ID(SEQ_MARKETSECTION)",
  32728. "type": "integer"
  32729. },
  32730. "marketserviceid": {
  32731. "description": "市场服务ID",
  32732. "type": "integer"
  32733. },
  32734. "marketstatus": {
  32735. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  32736. "type": "integer"
  32737. },
  32738. "markettype": {
  32739. "description": "市场类型- 1:非交易服务 2:交易服务",
  32740. "type": "integer"
  32741. },
  32742. "matchermode": {
  32743. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  32744. "type": "integer"
  32745. },
  32746. "nowrquotaflag": {
  32747. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  32748. "type": "integer"
  32749. },
  32750. "openmethod": {
  32751. "description": "开盘模式 - 0 自动 1手动",
  32752. "type": "integer"
  32753. },
  32754. "orderindex": {
  32755. "description": "排序",
  32756. "type": "integer"
  32757. },
  32758. "otcuserid": {
  32759. "description": "场外期权做市商[场外期权]",
  32760. "type": "integer"
  32761. },
  32762. "outersynctime": {
  32763. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  32764. "type": "string"
  32765. },
  32766. "paylaterflag": {
  32767. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  32768. "type": "integer"
  32769. },
  32770. "pendingflag": {
  32771. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  32772. "type": "integer"
  32773. },
  32774. "pendingtime": {
  32775. "description": "待开市时间[通道交易-对冲](HH:mm)",
  32776. "type": "string"
  32777. },
  32778. "performancetempid": {
  32779. "description": "履约计划模板ID - 作废",
  32780. "type": "integer"
  32781. },
  32782. "premiumquotemode": {
  32783. "description": "权利金报价方式 - 1:自动 2:手动",
  32784. "type": "integer"
  32785. },
  32786. "rebateratio": {
  32787. "description": "返利比率[竞价式]",
  32788. "type": "number"
  32789. },
  32790. "reckonorder": {
  32791. "description": "结算顺序",
  32792. "type": "integer"
  32793. },
  32794. "reckonpricealgorithm": {
  32795. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  32796. "type": "integer"
  32797. },
  32798. "reckonpriceparam": {
  32799. "description": "结算价参数",
  32800. "type": "integer"
  32801. },
  32802. "reckontime": {
  32803. "description": "结算时间[通道交易-对冲](HH:mm)",
  32804. "type": "string"
  32805. },
  32806. "roleprioritytype": {
  32807. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  32808. "type": "integer"
  32809. },
  32810. "selllistingauditflag": {
  32811. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  32812. "type": "integer"
  32813. },
  32814. "trademarkettype": {
  32815. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  32816. "type": "integer"
  32817. },
  32818. "trademode": {
  32819. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32820. "type": "integer"
  32821. },
  32822. "tradeproperty": {
  32823. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  32824. "type": "integer"
  32825. },
  32826. "tradetype": {
  32827. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  32828. "type": "integer"
  32829. },
  32830. "updatereckonpriceinterval": {
  32831. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  32832. "type": "integer"
  32833. }
  32834. }
  32835. },
  32836. "models.TjmdQuoteGoods": {
  32837. "type": "object",
  32838. "properties": {
  32839. "buyqty": {
  32840. "description": "买量(暂不做, 无值, 保留字段)",
  32841. "type": "number"
  32842. },
  32843. "decimalplace": {
  32844. "description": "报价小数位",
  32845. "type": "integer"
  32846. },
  32847. "goodscode": {
  32848. "description": "合约代码",
  32849. "type": "string"
  32850. },
  32851. "goodsgroupid": {
  32852. "description": "商品组ID(自增ID)",
  32853. "type": "integer"
  32854. },
  32855. "goodsgroupname": {
  32856. "description": "商品组名称",
  32857. "type": "string"
  32858. },
  32859. "goodsid": {
  32860. "description": "合约id",
  32861. "type": "integer"
  32862. },
  32863. "goodsname": {
  32864. "description": "合约名称",
  32865. "type": "string"
  32866. },
  32867. "refgoodscode": {
  32868. "description": "标的合约代码",
  32869. "type": "string"
  32870. },
  32871. "refgoodsid": {
  32872. "description": "标的合约id",
  32873. "type": "integer"
  32874. },
  32875. "refgoodsname": {
  32876. "description": "标的合约名称",
  32877. "type": "string"
  32878. },
  32879. "sellqty": {
  32880. "description": "卖量(暂不做, 无值, 保留字段)",
  32881. "type": "number"
  32882. }
  32883. }
  32884. },
  32885. "models.TjmdTodayAccountMargin": {
  32886. "type": "object",
  32887. "properties": {
  32888. "accountid": {
  32889. "description": "账号ID",
  32890. "type": "integer"
  32891. },
  32892. "goodsid": {
  32893. "description": "商品ID",
  32894. "type": "integer"
  32895. },
  32896. "infoc": {
  32897. "description": "配置参数",
  32898. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  32899. },
  32900. "marketid": {
  32901. "description": "市场ID",
  32902. "type": "integer"
  32903. }
  32904. }
  32905. },
  32906. "models.TjmdTradeOrderDetail": {
  32907. "type": "object",
  32908. "properties": {
  32909. "buyorsell": {
  32910. "description": "买卖方向 0-买 1-卖",
  32911. "type": "integer"
  32912. },
  32913. "goodsid": {
  32914. "description": "商品id",
  32915. "type": "integer"
  32916. },
  32917. "marketmaxsub": {
  32918. "description": "市价最大偏移范围 [浮动价 - 点差]",
  32919. "type": "number"
  32920. },
  32921. "orderid": {
  32922. "description": "委托单号",
  32923. "type": "string"
  32924. },
  32925. "orderprice": {
  32926. "description": "委托价格",
  32927. "type": "number"
  32928. },
  32929. "orderqty": {
  32930. "description": "委托数量",
  32931. "type": "integer"
  32932. },
  32933. "pricemode": {
  32934. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  32935. "type": "integer"
  32936. },
  32937. "userid": {
  32938. "description": "用户id",
  32939. "type": "integer"
  32940. },
  32941. "username": {
  32942. "description": "用户名称(已脱敏)",
  32943. "type": "string"
  32944. }
  32945. }
  32946. },
  32947. "models.TjmdTransferApply": {
  32948. "type": "object",
  32949. "properties": {
  32950. "applyid": {
  32951. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  32952. "type": "integer"
  32953. },
  32954. "applystatus": {
  32955. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  32956. "type": "integer"
  32957. },
  32958. "applytime": {
  32959. "description": "申请时间(时间)",
  32960. "type": "string"
  32961. },
  32962. "auditremark": {
  32963. "description": "审核备注(拒绝原因?)",
  32964. "type": "string"
  32965. },
  32966. "begindate": {
  32967. "description": "开始交易日(yyyymmdd)",
  32968. "type": "string"
  32969. },
  32970. "buyorsell": {
  32971. "description": "买卖 - 0:买 1:卖",
  32972. "type": "integer"
  32973. },
  32974. "enddate": {
  32975. "description": "结束交易日(yyyymmdd)",
  32976. "type": "string"
  32977. },
  32978. "goodscode": {
  32979. "description": "商品代码",
  32980. "type": "string"
  32981. },
  32982. "goodsid": {
  32983. "description": "商品ID",
  32984. "type": "integer"
  32985. },
  32986. "goodsname": {
  32987. "description": "商品名称",
  32988. "type": "string"
  32989. },
  32990. "marketid": {
  32991. "description": "市场ID",
  32992. "type": "integer"
  32993. },
  32994. "qty": {
  32995. "description": "转让数量(数量)",
  32996. "type": "number"
  32997. },
  32998. "tradeid": {
  32999. "description": "成交单号(关联持仓)",
  33000. "type": "string"
  33001. },
  33002. "transferamount": {
  33003. "description": "转让总金额(金额)",
  33004. "type": "number"
  33005. },
  33006. "transferprice": {
  33007. "description": "转让价格(协议价格)",
  33008. "type": "number"
  33009. }
  33010. }
  33011. },
  33012. "models.TradeHolderDetail": {
  33013. "type": "object",
  33014. "properties": {
  33015. "accountid": {
  33016. "description": "账号ID",
  33017. "type": "integer"
  33018. },
  33019. "agreeunit": {
  33020. "description": "合约乘数",
  33021. "type": "number"
  33022. },
  33023. "buyorsell": {
  33024. "description": "方向 - 0:买 1:卖",
  33025. "type": "integer"
  33026. },
  33027. "currencyid": {
  33028. "description": "商品币种id",
  33029. "type": "integer"
  33030. },
  33031. "currencyname": {
  33032. "description": "币种名称",
  33033. "type": "string"
  33034. },
  33035. "decimalplace": {
  33036. "description": "商品价格小数位",
  33037. "type": "integer"
  33038. },
  33039. "enumdicname": {
  33040. "description": "商品单位名称",
  33041. "type": "string"
  33042. },
  33043. "expirecycle": {
  33044. "description": "行权周期(天) - 1:滚动行权时填写",
  33045. "type": "integer"
  33046. },
  33047. "expiredate": {
  33048. "description": "行权日(yyyyMMdd) - 到期日",
  33049. "type": "string"
  33050. },
  33051. "expiretype": {
  33052. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  33053. "type": "integer"
  33054. },
  33055. "freezeqty": {
  33056. "description": "冻结数量",
  33057. "type": "number"
  33058. },
  33059. "goodscode": {
  33060. "description": "商品代码",
  33061. "type": "string"
  33062. },
  33063. "goodsid": {
  33064. "description": "商品ID",
  33065. "type": "integer"
  33066. },
  33067. "goodsname": {
  33068. "description": "商品名称",
  33069. "type": "string"
  33070. },
  33071. "goodunitid": {
  33072. "description": "商品单位id",
  33073. "type": "integer"
  33074. },
  33075. "holderamount": {
  33076. "description": "持仓金额",
  33077. "type": "number"
  33078. },
  33079. "holdercredit": {
  33080. "description": "持仓授信金额",
  33081. "type": "number"
  33082. },
  33083. "holderdays": {
  33084. "description": "剩余冻结天数",
  33085. "type": "integer"
  33086. },
  33087. "holderprice": {
  33088. "description": "持仓价格",
  33089. "type": "number"
  33090. },
  33091. "holderqty": {
  33092. "description": "持仓数量",
  33093. "type": "number"
  33094. },
  33095. "isconfirmexercise": {
  33096. "description": "是否确认行权- 0:否 1:是",
  33097. "type": "integer"
  33098. },
  33099. "ispreexercise": {
  33100. "description": "是否预申报- 0:否 1:是 2:不可行权",
  33101. "type": "integer"
  33102. },
  33103. "marketid": {
  33104. "description": "市场id",
  33105. "type": "integer"
  33106. },
  33107. "marketname": {
  33108. "description": "市场名称",
  33109. "type": "string"
  33110. },
  33111. "openprice": {
  33112. "description": "建仓价格",
  33113. "type": "number"
  33114. },
  33115. "openqty": {
  33116. "description": "建仓数量",
  33117. "type": "number"
  33118. },
  33119. "optiontype": {
  33120. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  33121. "type": "integer"
  33122. },
  33123. "preexerciseprice": {
  33124. "description": "预申报价格",
  33125. "type": "number"
  33126. },
  33127. "premium": {
  33128. "description": "权利金",
  33129. "type": "number"
  33130. },
  33131. "qtydecimalplace": {
  33132. "description": "商品成交量小数位",
  33133. "type": "integer"
  33134. },
  33135. "refgoodscode": {
  33136. "description": "标的合约代码",
  33137. "type": "string"
  33138. },
  33139. "refgoodsid": {
  33140. "description": "标的合约id",
  33141. "type": "integer"
  33142. },
  33143. "releaseamount": {
  33144. "description": "释放持仓金额",
  33145. "type": "number"
  33146. },
  33147. "releaseholdercredit": {
  33148. "description": "释放持仓授信金额",
  33149. "type": "number"
  33150. },
  33151. "taname": {
  33152. "description": "资金账号名称",
  33153. "type": "string"
  33154. },
  33155. "tradeamount": {
  33156. "description": "成交金额",
  33157. "type": "number"
  33158. },
  33159. "tradedate": {
  33160. "description": "交易日(yyyyMMdd)",
  33161. "type": "string"
  33162. },
  33163. "tradeid": {
  33164. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33165. "type": "string"
  33166. },
  33167. "trademode": {
  33168. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  33169. "type": "integer"
  33170. },
  33171. "tradeproperty": {
  33172. "description": "交易属性",
  33173. "type": "integer"
  33174. },
  33175. "tradetime": {
  33176. "description": "交易时间",
  33177. "type": "string"
  33178. },
  33179. "userid": {
  33180. "description": "用户id",
  33181. "type": "integer"
  33182. },
  33183. "username": {
  33184. "description": "用户名称",
  33185. "type": "string"
  33186. }
  33187. }
  33188. },
  33189. "models.UserCollectConfig": {
  33190. "type": "object",
  33191. "properties": {
  33192. "accountstatus": {
  33193. "description": "账户状态 - 1:正常 2:停用 3:注销",
  33194. "type": "integer"
  33195. },
  33196. "collectaccountname": {
  33197. "description": "收款人账户名称",
  33198. "type": "string"
  33199. },
  33200. "collectaccountno": {
  33201. "description": "收款人账户",
  33202. "type": "string"
  33203. },
  33204. "collectbankname": {
  33205. "description": "收款人开户行",
  33206. "type": "string"
  33207. },
  33208. "collectbranchbankname": {
  33209. "description": "收款人开户支行",
  33210. "type": "string"
  33211. },
  33212. "collectconfigid": {
  33213. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  33214. "type": "string"
  33215. },
  33216. "remark": {
  33217. "description": "备注",
  33218. "type": "string"
  33219. },
  33220. "userid": {
  33221. "description": "收款人用户ID",
  33222. "type": "integer"
  33223. }
  33224. }
  33225. },
  33226. "models.UserReceiveInfo": {
  33227. "type": "object",
  33228. "properties": {
  33229. "address": {
  33230. "description": "提货人详细地址",
  33231. "type": "string"
  33232. },
  33233. "autoid": {
  33234. "description": "AutoID",
  33235. "type": "integer"
  33236. },
  33237. "cardnum": {
  33238. "description": "证件号码(加密存储)",
  33239. "type": "string"
  33240. },
  33241. "cardtypeid": {
  33242. "description": "证件类型",
  33243. "type": "integer"
  33244. },
  33245. "cityid": {
  33246. "description": "市",
  33247. "type": "integer"
  33248. },
  33249. "cityname": {
  33250. "description": "城市名称",
  33251. "type": "string"
  33252. },
  33253. "countryid": {
  33254. "description": "国家",
  33255. "type": "integer"
  33256. },
  33257. "countryname": {
  33258. "description": "国家名称",
  33259. "type": "string"
  33260. },
  33261. "districtid": {
  33262. "description": "地区",
  33263. "type": "integer"
  33264. },
  33265. "districtname": {
  33266. "description": "地区名称",
  33267. "type": "string"
  33268. },
  33269. "hasencrypt": {
  33270. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33271. "type": "integer"
  33272. },
  33273. "isdefault": {
  33274. "description": "是否默认地址 - 0:否 1:是",
  33275. "type": "integer"
  33276. },
  33277. "phonenum": {
  33278. "description": "提货人联系方式(加密存储)",
  33279. "type": "string"
  33280. },
  33281. "provinceid": {
  33282. "description": "省",
  33283. "type": "integer"
  33284. },
  33285. "provincename": {
  33286. "description": "省名称",
  33287. "type": "string"
  33288. },
  33289. "receivername": {
  33290. "description": "提货人姓名",
  33291. "type": "string"
  33292. },
  33293. "takeremark": {
  33294. "description": "提货备注",
  33295. "type": "string"
  33296. },
  33297. "userid": {
  33298. "description": "用户ID",
  33299. "type": "integer"
  33300. }
  33301. }
  33302. },
  33303. "models.Useraccount": {
  33304. "type": "object",
  33305. "required": [
  33306. "userid"
  33307. ],
  33308. "properties": {
  33309. "accountname": {
  33310. "description": "账户名称(机构名称)",
  33311. "type": "string"
  33312. },
  33313. "accountstatus": {
  33314. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  33315. "type": "integer"
  33316. },
  33317. "applysrc": {
  33318. "description": "申请来源 - 1:管理端 2:终端",
  33319. "type": "integer"
  33320. },
  33321. "auditremark": {
  33322. "description": "审核备注",
  33323. "type": "string"
  33324. },
  33325. "auditsrc": {
  33326. "description": "审核来源 - 1:管理端 2:终端",
  33327. "type": "integer"
  33328. },
  33329. "audittime": {
  33330. "description": "审核时间",
  33331. "type": "string"
  33332. },
  33333. "audituserid": {
  33334. "description": "审核人",
  33335. "type": "integer"
  33336. },
  33337. "broker": {
  33338. "description": "所属经纪人ID",
  33339. "type": "integer"
  33340. },
  33341. "canceltime": {
  33342. "description": "销户时间",
  33343. "type": "string"
  33344. },
  33345. "canceluserid": {
  33346. "description": "销户人",
  33347. "type": "integer"
  33348. },
  33349. "canrecommend": {
  33350. "description": "是否可推荐 - 0:不可 1;可",
  33351. "type": "integer"
  33352. },
  33353. "createtime": {
  33354. "description": "创建时间",
  33355. "type": "string"
  33356. },
  33357. "creatorid": {
  33358. "description": "创建人",
  33359. "type": "integer"
  33360. },
  33361. "hasauth": {
  33362. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  33363. "type": "integer"
  33364. },
  33365. "isanonymous": {
  33366. "description": "是否匿名下单 - 0:否 1:是",
  33367. "type": "integer"
  33368. },
  33369. "maxinvestornum": {
  33370. "description": "最大用户数(经纪会员下投资者个数)",
  33371. "type": "integer"
  33372. },
  33373. "memberuserid": {
  33374. "description": "所属会员ID",
  33375. "type": "integer"
  33376. },
  33377. "modifierid": {
  33378. "description": "修改人",
  33379. "type": "integer"
  33380. },
  33381. "modifyremark": {
  33382. "description": "变更备注",
  33383. "type": "string"
  33384. },
  33385. "modifystatus": {
  33386. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  33387. "type": "integer"
  33388. },
  33389. "modifytime": {
  33390. "description": "修改时间",
  33391. "type": "string"
  33392. },
  33393. "parenttopuser": {
  33394. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  33395. "type": "string"
  33396. },
  33397. "parentuserid": {
  33398. "description": "所属机构ID",
  33399. "type": "integer"
  33400. },
  33401. "reckonaccountid": {
  33402. "description": "默认结算资金账号ID(机构分润使用) 作废",
  33403. "type": "integer"
  33404. },
  33405. "refercount": {
  33406. "description": "推荐总人数",
  33407. "type": "integer"
  33408. },
  33409. "refereeuserid": {
  33410. "description": "推荐人ID",
  33411. "type": "integer"
  33412. },
  33413. "refernum": {
  33414. "description": "推荐码",
  33415. "type": "string"
  33416. },
  33417. "rootuserid": {
  33418. "description": "根用户ID",
  33419. "type": "integer"
  33420. },
  33421. "subaccountlevel": {
  33422. "description": "子账户层数",
  33423. "type": "integer"
  33424. },
  33425. "subarealevelpath": {
  33426. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  33427. "type": "string"
  33428. },
  33429. "userid": {
  33430. "description": "用户ID",
  33431. "type": "integer"
  33432. },
  33433. "usertype": {
  33434. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  33435. "type": "integer"
  33436. }
  33437. }
  33438. },
  33439. "models.Userfavoritegoods": {
  33440. "type": "object",
  33441. "required": [
  33442. "goodsid"
  33443. ],
  33444. "properties": {
  33445. "goodsid": {
  33446. "description": "商品ID",
  33447. "type": "integer"
  33448. }
  33449. }
  33450. },
  33451. "models.Userinfo": {
  33452. "type": "object",
  33453. "required": [
  33454. "userid"
  33455. ],
  33456. "properties": {
  33457. "address": {
  33458. "description": "地址",
  33459. "type": "string"
  33460. },
  33461. "attachment1": {
  33462. "description": "附件1",
  33463. "type": "string"
  33464. },
  33465. "attachment2": {
  33466. "description": "附件2",
  33467. "type": "string"
  33468. },
  33469. "bankaccount": {
  33470. "description": "银行帐号 (加密存储)",
  33471. "type": "string"
  33472. },
  33473. "bankaccountname": {
  33474. "description": "收款人名称",
  33475. "type": "string"
  33476. },
  33477. "bankcardfrontphotourl": {
  33478. "description": "银行卡正面照地址",
  33479. "type": "string"
  33480. },
  33481. "bankid": {
  33482. "description": "银行编码",
  33483. "type": "string"
  33484. },
  33485. "bankname": {
  33486. "description": "银行名称",
  33487. "type": "string"
  33488. },
  33489. "biznature": {
  33490. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  33491. "type": "integer"
  33492. },
  33493. "bizscope": {
  33494. "description": "企业经营范围(企业)",
  33495. "type": "string"
  33496. },
  33497. "cardbackphotourl": {
  33498. "description": "证件背面图片地址",
  33499. "type": "string"
  33500. },
  33501. "cardfrontphotourl": {
  33502. "description": "证件正面图片地址",
  33503. "type": "string"
  33504. },
  33505. "cardnum": {
  33506. "description": "证件号码(加密存储)",
  33507. "type": "string"
  33508. },
  33509. "cardtypeid": {
  33510. "description": "证件类型ID",
  33511. "type": "integer"
  33512. },
  33513. "cityid": {
  33514. "description": "市",
  33515. "type": "integer"
  33516. },
  33517. "company": {
  33518. "description": "公司(个人)",
  33519. "type": "string"
  33520. },
  33521. "contactname": {
  33522. "description": "联系人",
  33523. "type": "string"
  33524. },
  33525. "countryid": {
  33526. "description": "国家",
  33527. "type": "integer"
  33528. },
  33529. "createtime": {
  33530. "description": "创建时间",
  33531. "type": "string"
  33532. },
  33533. "creatorid": {
  33534. "description": "创建人",
  33535. "type": "integer"
  33536. },
  33537. "customername": {
  33538. "description": "客户名称(企业名称)",
  33539. "type": "string"
  33540. },
  33541. "districtid": {
  33542. "description": "地区",
  33543. "type": "integer"
  33544. },
  33545. "email": {
  33546. "description": "邮件(加密存储)",
  33547. "type": "string"
  33548. },
  33549. "fax": {
  33550. "description": "传真(加密存储)",
  33551. "type": "string"
  33552. },
  33553. "halfbodyphotourl": {
  33554. "description": "半身照地址",
  33555. "type": "string"
  33556. },
  33557. "hasencrypt": {
  33558. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33559. "type": "integer"
  33560. },
  33561. "headurl": {
  33562. "description": "头像地址",
  33563. "type": "string"
  33564. },
  33565. "legalcardbackphotourl": {
  33566. "description": "法人身份证背面照地址",
  33567. "type": "string"
  33568. },
  33569. "legalcardfrontphotourl": {
  33570. "description": "法人身份证正面照地址",
  33571. "type": "string"
  33572. },
  33573. "legalpersonname": {
  33574. "description": "法人姓名(企业)",
  33575. "type": "string"
  33576. },
  33577. "mobile": {
  33578. "description": "手机号码(加密存储)",
  33579. "type": "string"
  33580. },
  33581. "mobile2": {
  33582. "description": "手机号码[明文-尚志]",
  33583. "type": "string"
  33584. },
  33585. "modifierid": {
  33586. "description": "修改人",
  33587. "type": "integer"
  33588. },
  33589. "modifiertime": {
  33590. "description": "修改时间",
  33591. "type": "string"
  33592. },
  33593. "needinvoice": {
  33594. "description": "是否需要发票 - 0:不需要 1:需要",
  33595. "type": "integer"
  33596. },
  33597. "nickname": {
  33598. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  33599. "type": "string"
  33600. },
  33601. "openmode": {
  33602. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  33603. "type": "integer"
  33604. },
  33605. "otherurl": {
  33606. "description": "其它图片地址[使用分号分隔]",
  33607. "type": "string"
  33608. },
  33609. "postalcode": {
  33610. "description": "邮政编码",
  33611. "type": "string"
  33612. },
  33613. "provinceid": {
  33614. "description": "省",
  33615. "type": "integer"
  33616. },
  33617. "qq": {
  33618. "description": "QQ(加密存储",
  33619. "type": "string"
  33620. },
  33621. "remark": {
  33622. "description": "备注",
  33623. "type": "string"
  33624. },
  33625. "sex": {
  33626. "description": "用户性别 0: 女 1: 男",
  33627. "type": "integer"
  33628. },
  33629. "signpdfurl": {
  33630. "description": "签约pdf文件",
  33631. "type": "string"
  33632. },
  33633. "telphone": {
  33634. "description": "联系电话(加密存储)",
  33635. "type": "string"
  33636. },
  33637. "userid": {
  33638. "description": "用户ID",
  33639. "type": "integer"
  33640. },
  33641. "userinfotype": {
  33642. "description": "用户信息类型 - 1:个人 2:企业",
  33643. "type": "integer"
  33644. },
  33645. "userstatus": {
  33646. "description": "用户状态 - 1:正常 2:注销",
  33647. "type": "integer"
  33648. },
  33649. "usertype": {
  33650. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  33651. "type": "integer"
  33652. },
  33653. "wechat": {
  33654. "description": "微信(加密存储)",
  33655. "type": "string"
  33656. },
  33657. "wskhinfo": {
  33658. "description": "开户申请信息(JSON)",
  33659. "type": "string"
  33660. }
  33661. }
  33662. },
  33663. "models.WRSConverTDetail": {
  33664. "type": "object",
  33665. "properties": {
  33666. "convertratio": {
  33667. "description": "套保系数",
  33668. "type": "number"
  33669. },
  33670. "deliverygoodscode": {
  33671. "description": "现货商品代码",
  33672. "type": "string"
  33673. },
  33674. "deliverygoodsid": {
  33675. "description": "现货品种ID",
  33676. "type": "integer"
  33677. },
  33678. "deliverygoodsname": {
  33679. "description": "现货商品名称",
  33680. "type": "string"
  33681. },
  33682. "enumdicname": {
  33683. "description": "单位名称",
  33684. "type": "string"
  33685. },
  33686. "goodsunitid": {
  33687. "description": "套保品种单位id",
  33688. "type": "integer"
  33689. },
  33690. "middlegoodscode": {
  33691. "description": "套保品种代码",
  33692. "type": "string"
  33693. },
  33694. "middlegoodsid": {
  33695. "description": "套保品种ID",
  33696. "type": "integer"
  33697. },
  33698. "middlegoodsname": {
  33699. "description": "套保品种名称",
  33700. "type": "string"
  33701. },
  33702. "modifytime": {
  33703. "description": "修改时间",
  33704. "type": "string"
  33705. },
  33706. "wrstandardid": {
  33707. "description": "品类ID",
  33708. "type": "integer"
  33709. }
  33710. }
  33711. },
  33712. "models.WRStandardInfo": {
  33713. "type": "object",
  33714. "required": [
  33715. "wrstandardid"
  33716. ],
  33717. "properties": {
  33718. "areauserid": {
  33719. "description": "所属机构",
  33720. "type": "integer"
  33721. },
  33722. "convertfactor": {
  33723. "description": "标仓系数",
  33724. "type": "number"
  33725. },
  33726. "createtime": {
  33727. "description": "创建时间",
  33728. "type": "string"
  33729. },
  33730. "creatorid": {
  33731. "description": "创建人",
  33732. "type": "integer"
  33733. },
  33734. "deliverygoodsid": {
  33735. "description": "品种ID",
  33736. "type": "integer"
  33737. },
  33738. "deliverygoodsname": {
  33739. "description": "交割商品名称",
  33740. "type": "string"
  33741. },
  33742. "factoryitemjson": {
  33743. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  33744. "type": "string"
  33745. },
  33746. "isvalid": {
  33747. "description": "是否有效 - 0:无效 1:有效",
  33748. "type": "integer"
  33749. },
  33750. "minivalue": {
  33751. "description": "最小变动值",
  33752. "type": "integer"
  33753. },
  33754. "minivaluedp": {
  33755. "description": "最小变动值小数位",
  33756. "type": "integer"
  33757. },
  33758. "realminivalue": {
  33759. "description": "实际最小变动值",
  33760. "type": "integer"
  33761. },
  33762. "realminivaluedp": {
  33763. "description": "实际最小变动值小数位",
  33764. "type": "integer"
  33765. },
  33766. "remark": {
  33767. "description": "备注",
  33768. "type": "string"
  33769. },
  33770. "unitid": {
  33771. "description": "单位ID",
  33772. "type": "integer"
  33773. },
  33774. "unitname": {
  33775. "description": "单位",
  33776. "type": "string"
  33777. },
  33778. "updatetime": {
  33779. "description": "更新时间",
  33780. "type": "string"
  33781. },
  33782. "updatorid": {
  33783. "description": "更新人",
  33784. "type": "integer"
  33785. },
  33786. "wrsstatus": {
  33787. "description": "状态 - 作废 - 0:未激活 1:正常",
  33788. "type": "integer"
  33789. },
  33790. "wrstandardcode": {
  33791. "description": "现货品类代码",
  33792. "type": "string"
  33793. },
  33794. "wrstandardid": {
  33795. "description": "现货品类ID(SEQ_WRSTANDARD)",
  33796. "type": "integer"
  33797. },
  33798. "wrstandardname": {
  33799. "description": "现货品类名称",
  33800. "type": "string"
  33801. }
  33802. }
  33803. },
  33804. "models.WRTradeBargainApply": {
  33805. "type": "object",
  33806. "properties": {
  33807. "accountid": {
  33808. "description": "摘牌资金账号",
  33809. "type": "integer"
  33810. },
  33811. "applyprice": {
  33812. "description": "申请价格(议价价格)",
  33813. "type": "string"
  33814. },
  33815. "applyqty": {
  33816. "description": "摘牌数量(议价数量)",
  33817. "type": "number"
  33818. },
  33819. "applyremark": {
  33820. "description": "申请备注",
  33821. "type": "string"
  33822. },
  33823. "applystatus": {
  33824. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  33825. "type": "integer"
  33826. },
  33827. "applytime": {
  33828. "description": "申请时间(议价时间)",
  33829. "type": "string"
  33830. },
  33831. "begindate": {
  33832. "description": "开始交易日(yyyymmdd)",
  33833. "type": "string"
  33834. },
  33835. "buyorsell": {
  33836. "description": "买卖(挂牌类型) - 0:买 1:卖",
  33837. "type": "integer"
  33838. },
  33839. "confirmremark": {
  33840. "description": "确认备注",
  33841. "type": "string"
  33842. },
  33843. "confirmtime": {
  33844. "description": "确认时间",
  33845. "type": "string"
  33846. },
  33847. "confirmuserid": {
  33848. "description": "确认人",
  33849. "type": "integer"
  33850. },
  33851. "deliverygoodscode": {
  33852. "description": "品种代码",
  33853. "type": "string"
  33854. },
  33855. "deliverygoodsid": {
  33856. "description": "品种ID",
  33857. "type": "integer"
  33858. },
  33859. "deliverygoodsname": {
  33860. "description": "品种名称",
  33861. "type": "string"
  33862. },
  33863. "deliverymonth": {
  33864. "description": "交收月",
  33865. "type": "string"
  33866. },
  33867. "enddate": {
  33868. "description": "结束交易日(yyyymmdd)",
  33869. "type": "string"
  33870. },
  33871. "enumdicname": {
  33872. "description": "单位名称",
  33873. "type": "string"
  33874. },
  33875. "fixedprice": {
  33876. "description": "挂牌价格",
  33877. "type": "number"
  33878. },
  33879. "handlestatus": {
  33880. "description": "处理状态",
  33881. "type": "integer"
  33882. },
  33883. "marginvalue": {
  33884. "description": "履约保证金比例",
  33885. "type": "number"
  33886. },
  33887. "marketid": {
  33888. "description": "市场ID",
  33889. "type": "integer"
  33890. },
  33891. "matchaccountid": {
  33892. "description": "挂牌方资金账号",
  33893. "type": "integer"
  33894. },
  33895. "matchuserid": {
  33896. "description": "挂牌方用户id",
  33897. "type": "integer"
  33898. },
  33899. "matchusername": {
  33900. "description": "挂牌方用户名称(已脱敏)",
  33901. "type": "string"
  33902. },
  33903. "minivalue": {
  33904. "description": "现货商品最小变动值",
  33905. "type": "integer"
  33906. },
  33907. "optioncompare": {
  33908. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33909. "type": "string"
  33910. },
  33911. "orderqty": {
  33912. "description": "挂牌数量",
  33913. "type": "integer"
  33914. },
  33915. "refprice": {
  33916. "description": "参考价格",
  33917. "type": "string"
  33918. },
  33919. "retcode": {
  33920. "description": "委托返回代码",
  33921. "type": "integer"
  33922. },
  33923. "templatename": {
  33924. "description": "履约方式(履约模板名称)",
  33925. "type": "string"
  33926. },
  33927. "tradedate": {
  33928. "description": "交易日(yyyyMMdd)",
  33929. "type": "string"
  33930. },
  33931. "userid": {
  33932. "description": "摘牌人用户ID(议价人ID)",
  33933. "type": "integer"
  33934. },
  33935. "username": {
  33936. "description": "议价人名字(已脱敏)",
  33937. "type": "string"
  33938. },
  33939. "validtime": {
  33940. "description": "有效期限",
  33941. "type": "string"
  33942. },
  33943. "warehouseid": {
  33944. "description": "仓库ID",
  33945. "type": "integer"
  33946. },
  33947. "warehousename": {
  33948. "description": "仓库名称",
  33949. "type": "string"
  33950. },
  33951. "wrbargainid": {
  33952. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  33953. "type": "string"
  33954. },
  33955. "wrfactortypeid": {
  33956. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33957. "type": "string"
  33958. },
  33959. "wrfactortypename": {
  33960. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33961. "type": "string"
  33962. },
  33963. "wrstandardcode": {
  33964. "description": "现货商品代码",
  33965. "type": "string"
  33966. },
  33967. "wrstandardid": {
  33968. "description": "现货商品ID",
  33969. "type": "integer"
  33970. },
  33971. "wrstandardname": {
  33972. "description": "商品名称",
  33973. "type": "string"
  33974. },
  33975. "wrtradeorderid": {
  33976. "description": "关联委托单ID",
  33977. "type": "string"
  33978. },
  33979. "wrtypename": {
  33980. "description": "商品",
  33981. "type": "string"
  33982. }
  33983. }
  33984. },
  33985. "models.Warehouseinfo": {
  33986. "type": "object",
  33987. "required": [
  33988. "autoid",
  33989. "warehousecode"
  33990. ],
  33991. "properties": {
  33992. "address": {
  33993. "description": "详细地址",
  33994. "type": "string"
  33995. },
  33996. "areauserid": {
  33997. "description": "所属机构",
  33998. "type": "integer"
  33999. },
  34000. "autoid": {
  34001. "description": "自增ID",
  34002. "type": "integer"
  34003. },
  34004. "cityid": {
  34005. "description": "市",
  34006. "type": "integer"
  34007. },
  34008. "contactname": {
  34009. "description": "联系人",
  34010. "type": "string"
  34011. },
  34012. "contactnum": {
  34013. "description": "联系电话",
  34014. "type": "string"
  34015. },
  34016. "countryid": {
  34017. "description": "国家",
  34018. "type": "integer"
  34019. },
  34020. "createtime": {
  34021. "description": "创建时间",
  34022. "type": "string"
  34023. },
  34024. "districtid": {
  34025. "description": "区",
  34026. "type": "integer"
  34027. },
  34028. "hasvideo": {
  34029. "description": "是否有视频 - 0:无 1:有",
  34030. "type": "integer"
  34031. },
  34032. "provinceid": {
  34033. "description": "省",
  34034. "type": "integer"
  34035. },
  34036. "remark": {
  34037. "description": "审核备注",
  34038. "type": "string"
  34039. },
  34040. "videourl": {
  34041. "description": "视频地址",
  34042. "type": "string"
  34043. },
  34044. "warehousecode": {
  34045. "description": "仓库代码",
  34046. "type": "string"
  34047. },
  34048. "warehousename": {
  34049. "description": "仓库名称",
  34050. "type": "string"
  34051. },
  34052. "warehousestatus": {
  34053. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  34054. "type": "integer"
  34055. },
  34056. "warehousetype": {
  34057. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  34058. "type": "integer"
  34059. }
  34060. }
  34061. },
  34062. "models.WrAverageTradePrice": {
  34063. "type": "object",
  34064. "properties": {
  34065. "averageprice": {
  34066. "description": "成交均价",
  34067. "type": "number"
  34068. },
  34069. "tradedate": {
  34070. "description": "交易日yyyymm",
  34071. "type": "string"
  34072. }
  34073. }
  34074. },
  34075. "models.WrBsGoodsInfo": {
  34076. "type": "object",
  34077. "properties": {
  34078. "buyorsell": {
  34079. "description": "买卖方向 0-买 1-卖",
  34080. "type": "integer"
  34081. },
  34082. "goodsid": {
  34083. "description": "交易合约ID",
  34084. "type": "integer"
  34085. },
  34086. "lstitem": {
  34087. "description": "商品信息项",
  34088. "type": "array",
  34089. "items": {
  34090. "$ref": "#/definitions/models.WrTypeItem"
  34091. }
  34092. },
  34093. "lststep": {
  34094. "description": "履约规则",
  34095. "type": "array",
  34096. "items": {
  34097. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34098. }
  34099. }
  34100. }
  34101. },
  34102. "models.WrBuybackDetail": {
  34103. "type": "object",
  34104. "properties": {
  34105. "buybackamount": {
  34106. "description": "回购金额",
  34107. "type": "number"
  34108. },
  34109. "buybackqty": {
  34110. "description": "回购数量",
  34111. "type": "number"
  34112. },
  34113. "buybackreleasemargin": {
  34114. "description": "回购释放保证金",
  34115. "type": "number"
  34116. },
  34117. "buybacktime": {
  34118. "description": "回购时间",
  34119. "type": "string"
  34120. },
  34121. "errordesc": {
  34122. "description": "错误描述",
  34123. "type": "string"
  34124. },
  34125. "handlestatus": {
  34126. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  34127. "type": "integer"
  34128. },
  34129. "relatedwrid": {
  34130. "description": "关联仓单ID",
  34131. "type": "integer"
  34132. },
  34133. "scfcontractid": {
  34134. "description": "SCF合同ID",
  34135. "type": "string"
  34136. },
  34137. "scfwrbuybackid": {
  34138. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  34139. "type": "integer"
  34140. },
  34141. "tradedate": {
  34142. "description": "交易日(yyyyMMdd)",
  34143. "type": "string"
  34144. }
  34145. }
  34146. },
  34147. "models.WrDeliveryAvalidHoldLB": {
  34148. "type": "object",
  34149. "properties": {
  34150. "accountid": {
  34151. "description": "资金账号",
  34152. "type": "integer"
  34153. },
  34154. "avalidqty": {
  34155. "description": "数量(可点选数量)",
  34156. "type": "number"
  34157. },
  34158. "deliverygoodsid": {
  34159. "description": "品种id",
  34160. "type": "integer"
  34161. },
  34162. "enumdicname": {
  34163. "description": "单位名称",
  34164. "type": "string"
  34165. },
  34166. "goodsid": {
  34167. "description": "x合约商品id",
  34168. "type": "integer"
  34169. },
  34170. "ladingbillid": {
  34171. "description": "提单id",
  34172. "type": "string"
  34173. },
  34174. "pgoodscode": {
  34175. "description": "p商品代码(点价合约)",
  34176. "type": "string"
  34177. },
  34178. "pgoodsid": {
  34179. "description": "p商品id(点价合约)",
  34180. "type": "integer"
  34181. },
  34182. "pgoodsname": {
  34183. "description": "p商品名称(点价合约)",
  34184. "type": "string"
  34185. },
  34186. "pricemove": {
  34187. "description": "升贴水",
  34188. "type": "number"
  34189. },
  34190. "subnum": {
  34191. "description": "提单子id",
  34192. "type": "integer"
  34193. },
  34194. "userid": {
  34195. "description": "用户id",
  34196. "type": "integer"
  34197. },
  34198. "username": {
  34199. "description": "仓单持有人",
  34200. "type": "string"
  34201. },
  34202. "warehousecode": {
  34203. "description": "仓库代码",
  34204. "type": "string"
  34205. },
  34206. "warehouseid": {
  34207. "description": "仓库id",
  34208. "type": "integer"
  34209. },
  34210. "warehousename": {
  34211. "description": "仓库名称",
  34212. "type": "string"
  34213. },
  34214. "wrfactortypeid": {
  34215. "description": "仓单要素id",
  34216. "type": "string"
  34217. },
  34218. "wrstandardcode": {
  34219. "description": "品代码",
  34220. "type": "string"
  34221. },
  34222. "wrstandardid": {
  34223. "description": "品类d",
  34224. "type": "integer"
  34225. },
  34226. "wrstandardname": {
  34227. "description": "品类名称",
  34228. "type": "string"
  34229. },
  34230. "wrtypename": {
  34231. "description": "商品",
  34232. "type": "string"
  34233. },
  34234. "xgoodscode": {
  34235. "description": "x合约代码",
  34236. "type": "string"
  34237. },
  34238. "xgoodsname": {
  34239. "description": "x合约名称",
  34240. "type": "string"
  34241. }
  34242. }
  34243. },
  34244. "models.WrDeliveryDetail": {
  34245. "type": "object",
  34246. "properties": {
  34247. "accountid": {
  34248. "description": "账号ID",
  34249. "type": "integer"
  34250. },
  34251. "averageprice": {
  34252. "description": "交割均价 = 交割金额 / 交割数量",
  34253. "type": "number"
  34254. },
  34255. "begindate": {
  34256. "description": "开始交易日(yyyymmdd)",
  34257. "type": "string"
  34258. },
  34259. "buyorsell": {
  34260. "description": "方向 - 0:买 1:卖",
  34261. "type": "integer"
  34262. },
  34263. "deliveryamount": {
  34264. "description": "货款金额(X总货款+P总货款)",
  34265. "type": "number"
  34266. },
  34267. "deliveryid": {
  34268. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  34269. "type": "string"
  34270. },
  34271. "deliveryorderid": {
  34272. "description": "申报单号",
  34273. "type": "string"
  34274. },
  34275. "deliverypricemove": {
  34276. "description": "升贴水(升贴水总额)",
  34277. "type": "number"
  34278. },
  34279. "deliveryqty": {
  34280. "description": "交收数量(点选数量)",
  34281. "type": "number"
  34282. },
  34283. "deliverystatus": {
  34284. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  34285. "type": "integer"
  34286. },
  34287. "deliverytime": {
  34288. "description": "交割时间",
  34289. "type": "string"
  34290. },
  34291. "deliverytotalamount": {
  34292. "description": "交收金额",
  34293. "type": "number"
  34294. },
  34295. "enddate": {
  34296. "description": "结束交易日(yyyymmdd)",
  34297. "type": "string"
  34298. },
  34299. "enumdicname": {
  34300. "description": "单位名称",
  34301. "type": "string"
  34302. },
  34303. "matchaccountid": {
  34304. "description": "对手账号ID",
  34305. "type": "integer"
  34306. },
  34307. "matchusername": {
  34308. "description": "对手方名称(仓单持有人)",
  34309. "type": "string"
  34310. },
  34311. "p1goodsremainamount": {
  34312. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  34313. "type": "number"
  34314. },
  34315. "pdeliverycloseqty": {
  34316. "description": "p合约平仓数量",
  34317. "type": "number"
  34318. },
  34319. "pdeliveryprice": {
  34320. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  34321. "type": "number"
  34322. },
  34323. "pgoodscode": {
  34324. "description": "商品代码",
  34325. "type": "string"
  34326. },
  34327. "pgoodsid": {
  34328. "description": "p点选合约id",
  34329. "type": "integer"
  34330. },
  34331. "pgoodsname": {
  34332. "description": "商品名称",
  34333. "type": "string"
  34334. },
  34335. "ppricemode": {
  34336. "description": "点价价格方式 - 1:商品价 2:固定值",
  34337. "type": "integer"
  34338. },
  34339. "tradedate": {
  34340. "description": "交易日(yyyymmdd)",
  34341. "type": "string"
  34342. },
  34343. "userid": {
  34344. "description": "用户id",
  34345. "type": "integer"
  34346. },
  34347. "username": {
  34348. "description": "用户名称",
  34349. "type": "string"
  34350. },
  34351. "warehousename": {
  34352. "description": "仓库名称",
  34353. "type": "string"
  34354. },
  34355. "wrfactortypeid": {
  34356. "description": "仓单要素类型ID",
  34357. "type": "string"
  34358. },
  34359. "wrtypename": {
  34360. "description": "商品",
  34361. "type": "string"
  34362. },
  34363. "xdeliverycloseqty": {
  34364. "description": "合约数量",
  34365. "type": "number"
  34366. },
  34367. "xgoodsamount": {
  34368. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  34369. "type": "number"
  34370. },
  34371. "xgoodscode": {
  34372. "description": "商品代码",
  34373. "type": "string"
  34374. },
  34375. "xgoodsid": {
  34376. "description": "x交易合约ID",
  34377. "type": "integer"
  34378. },
  34379. "xgoodsname": {
  34380. "description": "商品名称",
  34381. "type": "string"
  34382. }
  34383. }
  34384. },
  34385. "models.WrDeliveryGoodsSection": {
  34386. "type": "object",
  34387. "properties": {
  34388. "dglst": {
  34389. "description": "板块商品列表",
  34390. "type": "array",
  34391. "items": {
  34392. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  34393. }
  34394. },
  34395. "imagepath": {
  34396. "description": "图片地址",
  34397. "type": "string"
  34398. },
  34399. "orderindex": {
  34400. "description": "排序",
  34401. "type": "integer"
  34402. },
  34403. "sectionid": {
  34404. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  34405. "type": "integer"
  34406. },
  34407. "sectionname": {
  34408. "description": "版块名称",
  34409. "type": "string"
  34410. },
  34411. "sectiontype": {
  34412. "description": "版块类型 - 1:指数版块 2:普通版块",
  34413. "type": "integer"
  34414. }
  34415. }
  34416. },
  34417. "models.WrDeliveryGoodsSectionConfig": {
  34418. "type": "object",
  34419. "properties": {
  34420. "deliverygoodscode": {
  34421. "description": "现货商品代码",
  34422. "type": "string"
  34423. },
  34424. "deliverygoodsid": {
  34425. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  34426. "type": "integer"
  34427. },
  34428. "deliverygoodsname": {
  34429. "description": "现货商品名称",
  34430. "type": "string"
  34431. },
  34432. "orderindex": {
  34433. "description": "排序",
  34434. "type": "integer"
  34435. }
  34436. }
  34437. },
  34438. "models.WrFAProductDetail": {
  34439. "type": "object",
  34440. "properties": {
  34441. "accountid": {
  34442. "description": "资金账号",
  34443. "type": "integer"
  34444. },
  34445. "areauserid": {
  34446. "description": "金融机构ID",
  34447. "type": "integer"
  34448. },
  34449. "financingdays": {
  34450. "description": "天数(天)",
  34451. "type": "integer"
  34452. },
  34453. "interestminlen": {
  34454. "description": "最小起息天数",
  34455. "type": "integer"
  34456. },
  34457. "interestrate": {
  34458. "description": "利率",
  34459. "type": "number"
  34460. },
  34461. "interestratemode": {
  34462. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34463. "type": "integer"
  34464. },
  34465. "interestsettlemode": {
  34466. "description": "结息方式 - 1:按日结息 3:按月结息",
  34467. "type": "integer"
  34468. },
  34469. "interestsettlevalue": {
  34470. "description": "结息方式值",
  34471. "type": "integer"
  34472. },
  34473. "isautoloan": {
  34474. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  34475. "type": "integer"
  34476. },
  34477. "loantag": {
  34478. "description": "放款标识: \"放款快\" 或者为空",
  34479. "type": "string"
  34480. },
  34481. "marginratio": {
  34482. "description": "保证金比率质押率 - [仓单质押]",
  34483. "type": "number"
  34484. },
  34485. "productdetailid": {
  34486. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  34487. "type": "integer"
  34488. },
  34489. "productid": {
  34490. "description": "金融产品ID",
  34491. "type": "integer"
  34492. },
  34493. "productname": {
  34494. "description": "产品名称",
  34495. "type": "string"
  34496. },
  34497. "updatetime": {
  34498. "description": "更新时间",
  34499. "type": "string"
  34500. },
  34501. "username": {
  34502. "description": "融出方",
  34503. "type": "string"
  34504. }
  34505. }
  34506. },
  34507. "models.WrFactorTypeInfo": {
  34508. "type": "object",
  34509. "properties": {
  34510. "deliverygoodscode": {
  34511. "description": "品种代码",
  34512. "type": "string"
  34513. },
  34514. "deliverygoodsname": {
  34515. "description": "品种名称",
  34516. "type": "string"
  34517. },
  34518. "dgfactoryitemid": {
  34519. "description": "选择项id",
  34520. "type": "integer"
  34521. },
  34522. "dgfactoryitemtypeid": {
  34523. "description": "要素选择项ID (1-仓库 2-品牌)",
  34524. "type": "integer"
  34525. },
  34526. "dgfactoryitemvalue": {
  34527. "description": "要素项值",
  34528. "type": "string"
  34529. },
  34530. "itemtypename": {
  34531. "description": "要素项名称",
  34532. "type": "string"
  34533. },
  34534. "optioncompare": {
  34535. "description": "选择比较串",
  34536. "type": "string"
  34537. },
  34538. "warehouseid": {
  34539. "description": "仓库id",
  34540. "type": "integer"
  34541. },
  34542. "wrfactortypeid": {
  34543. "description": "仓单要素ID",
  34544. "type": "string"
  34545. },
  34546. "wrfactortypename": {
  34547. "description": "要素名称",
  34548. "type": "string"
  34549. },
  34550. "wrfactortypename2": {
  34551. "description": "要素名称(不含仓库)",
  34552. "type": "string"
  34553. },
  34554. "wrstandardcode": {
  34555. "description": "品类代码",
  34556. "type": "string"
  34557. },
  34558. "wrstandardid": {
  34559. "description": "品类id",
  34560. "type": "integer"
  34561. },
  34562. "wrstandardname": {
  34563. "description": "品类名称",
  34564. "type": "string"
  34565. }
  34566. }
  34567. },
  34568. "models.WrFilterItem": {
  34569. "type": "object",
  34570. "properties": {
  34571. "itemcode": {
  34572. "description": "代码",
  34573. "type": "string"
  34574. },
  34575. "itemid": {
  34576. "description": "项id",
  34577. "type": "integer"
  34578. },
  34579. "itemname": {
  34580. "description": "名称",
  34581. "type": "string"
  34582. },
  34583. "itemtype": {
  34584. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  34585. "type": "integer"
  34586. }
  34587. }
  34588. },
  34589. "models.WrFinanceBuyApply": {
  34590. "type": "object",
  34591. "properties": {
  34592. "applydate": {
  34593. "description": "申请时间",
  34594. "type": "string"
  34595. },
  34596. "applystatus": {
  34597. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  34598. "type": "integer"
  34599. },
  34600. "applyuserid": {
  34601. "description": "申请人",
  34602. "type": "integer"
  34603. },
  34604. "auditdate": {
  34605. "description": "审核时间",
  34606. "type": "string"
  34607. },
  34608. "auditremark": {
  34609. "description": "审核备注",
  34610. "type": "string"
  34611. },
  34612. "audituserid": {
  34613. "description": "审核人",
  34614. "type": "integer"
  34615. },
  34616. "buyaccountid": {
  34617. "description": "买方资金账号",
  34618. "type": "integer"
  34619. },
  34620. "buyorsell": {
  34621. "description": "买卖 - 0:买 1:卖",
  34622. "type": "integer"
  34623. },
  34624. "buyuserid": {
  34625. "description": "买方用户ID",
  34626. "type": "integer"
  34627. },
  34628. "buyusername": {
  34629. "description": "买方名称",
  34630. "type": "string"
  34631. },
  34632. "buywrtradeorderid": {
  34633. "description": "融资方买委托单ID",
  34634. "type": "string"
  34635. },
  34636. "deliverygoodscode": {
  34637. "description": "品种代码",
  34638. "type": "string"
  34639. },
  34640. "deliverygoodsid": {
  34641. "description": "品种ID",
  34642. "type": "integer"
  34643. },
  34644. "deliverygoodsname": {
  34645. "description": "品种名称",
  34646. "type": "string"
  34647. },
  34648. "deliverymonth": {
  34649. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  34650. "type": "string"
  34651. },
  34652. "enumdicname": {
  34653. "description": "单位名称",
  34654. "type": "string"
  34655. },
  34656. "financeaccountid": {
  34657. "description": "融资方资金帐户ID",
  34658. "type": "integer"
  34659. },
  34660. "financeapplyid": {
  34661. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34662. "type": "string"
  34663. },
  34664. "financeareauserid": {
  34665. "description": "融资方用户ID",
  34666. "type": "string"
  34667. },
  34668. "financename": {
  34669. "description": "融出方名称",
  34670. "type": "string"
  34671. },
  34672. "financetype": {
  34673. "description": "融资类型 1-融资回购",
  34674. "type": "integer"
  34675. },
  34676. "financingdays": {
  34677. "description": "天数(天)",
  34678. "type": "integer"
  34679. },
  34680. "freezebuymargin": {
  34681. "description": "冻结融资保证金(买方)",
  34682. "type": "number"
  34683. },
  34684. "handleremark": {
  34685. "description": "处理备注",
  34686. "type": "string"
  34687. },
  34688. "handlestatus": {
  34689. "description": "处理状态",
  34690. "type": "integer"
  34691. },
  34692. "interestminlen": {
  34693. "description": "最小起息天数",
  34694. "type": "integer"
  34695. },
  34696. "interestrate": {
  34697. "description": "利率",
  34698. "type": "number"
  34699. },
  34700. "interestratemode": {
  34701. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34702. "type": "integer"
  34703. },
  34704. "interestsettlemode": {
  34705. "description": "结息方式 - 1:按日结息 3:按月结息",
  34706. "type": "integer"
  34707. },
  34708. "interestsettlevalue": {
  34709. "description": "结息方式值",
  34710. "type": "integer"
  34711. },
  34712. "isautoloan": {
  34713. "description": "是否自动放款 - 0:手动 1:自动",
  34714. "type": "integer"
  34715. },
  34716. "marginratio": {
  34717. "description": "保证金比率质押率 - [仓单质押]",
  34718. "type": "number"
  34719. },
  34720. "marketid": {
  34721. "description": "市场ID",
  34722. "type": "integer"
  34723. },
  34724. "minivalue": {
  34725. "description": "现货商品最小变动值",
  34726. "type": "integer"
  34727. },
  34728. "optioncompare": {
  34729. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34730. "type": "string"
  34731. },
  34732. "orderqty": {
  34733. "description": "委托数量(商品数量)",
  34734. "type": "number"
  34735. },
  34736. "productdetailid": {
  34737. "description": "产品组合ID",
  34738. "type": "integer"
  34739. },
  34740. "productid": {
  34741. "description": "金融产品ID",
  34742. "type": "integer"
  34743. },
  34744. "productname": {
  34745. "description": "产品名称",
  34746. "type": "string"
  34747. },
  34748. "remark": {
  34749. "description": "备注",
  34750. "type": "string"
  34751. },
  34752. "scfcontractid": {
  34753. "description": "仓单回购合同ID",
  34754. "type": "string"
  34755. },
  34756. "sellaccountid": {
  34757. "description": "卖方资金账号",
  34758. "type": "integer"
  34759. },
  34760. "selluserid": {
  34761. "description": "卖方用户ID",
  34762. "type": "integer"
  34763. },
  34764. "sellwrtradeorderid": {
  34765. "description": "卖方委托单ID",
  34766. "type": "string"
  34767. },
  34768. "tradeamount": {
  34769. "description": "成交金额(借款金额)",
  34770. "type": "number"
  34771. },
  34772. "tradedate": {
  34773. "description": "交易日(yyyyMMdd)",
  34774. "type": "string"
  34775. },
  34776. "tradeprice": {
  34777. "description": "成交价格",
  34778. "type": "number"
  34779. },
  34780. "warehouseid": {
  34781. "description": "仓库ID",
  34782. "type": "integer"
  34783. },
  34784. "warehousename": {
  34785. "description": "仓库名称",
  34786. "type": "string"
  34787. },
  34788. "wrfactortypeid": {
  34789. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34790. "type": "string"
  34791. },
  34792. "wrfactortypename": {
  34793. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34794. "type": "string"
  34795. },
  34796. "wrpricetype": {
  34797. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  34798. "type": "integer"
  34799. },
  34800. "wrstandardcode": {
  34801. "description": "现货商品代码",
  34802. "type": "string"
  34803. },
  34804. "wrstandardid": {
  34805. "description": "现货商品ID",
  34806. "type": "integer"
  34807. },
  34808. "wrstandardname": {
  34809. "description": "商品名称",
  34810. "type": "string"
  34811. },
  34812. "wrtypename": {
  34813. "description": "商品",
  34814. "type": "string"
  34815. }
  34816. }
  34817. },
  34818. "models.WrFriendApply": {
  34819. "type": "object",
  34820. "properties": {
  34821. "applicantid": {
  34822. "description": "申请人",
  34823. "type": "integer"
  34824. },
  34825. "applyname": {
  34826. "description": "申请人名称",
  34827. "type": "string"
  34828. },
  34829. "applysrc": {
  34830. "description": "申请来源 - 1:管理端 2:终端",
  34831. "type": "integer"
  34832. },
  34833. "applystatus": {
  34834. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  34835. "type": "integer"
  34836. },
  34837. "applytime": {
  34838. "description": "申请时间",
  34839. "type": "string"
  34840. },
  34841. "auditname": {
  34842. "description": "审核人名称",
  34843. "type": "string"
  34844. },
  34845. "auditorid": {
  34846. "description": "审核人",
  34847. "type": "integer"
  34848. },
  34849. "auditremark": {
  34850. "description": "审核备注",
  34851. "type": "string"
  34852. },
  34853. "auditsrc": {
  34854. "description": "审核来源 - 1:管理端 2:终端",
  34855. "type": "integer"
  34856. },
  34857. "audittime": {
  34858. "description": "审核时间",
  34859. "type": "string"
  34860. },
  34861. "friendapplyid": {
  34862. "description": "申请ID(SEQ_FRIENDAPPLY)",
  34863. "type": "string"
  34864. },
  34865. "friendname": {
  34866. "description": "好友名字(已脱敏)",
  34867. "type": "string"
  34868. },
  34869. "frienduserid": {
  34870. "description": "好友用户ID",
  34871. "type": "string"
  34872. },
  34873. "remark": {
  34874. "description": "备注",
  34875. "type": "string"
  34876. },
  34877. "userid": {
  34878. "description": "申请人用户ID",
  34879. "type": "integer"
  34880. }
  34881. }
  34882. },
  34883. "models.WrFtDeliveryGoods": {
  34884. "type": "object",
  34885. "properties": {
  34886. "deliverygoodscode": {
  34887. "description": "品种代码",
  34888. "type": "string"
  34889. },
  34890. "deliverygoodsid": {
  34891. "description": "品种ID",
  34892. "type": "integer"
  34893. },
  34894. "deliverygoodsname": {
  34895. "description": "品种名称",
  34896. "type": "string"
  34897. },
  34898. "wdlst": {
  34899. "description": "商品列表",
  34900. "type": "array",
  34901. "items": {
  34902. "$ref": "#/definitions/models.WrFtWrstandard"
  34903. }
  34904. }
  34905. }
  34906. },
  34907. "models.WrFtWrstandard": {
  34908. "type": "object",
  34909. "properties": {
  34910. "enumdicname": {
  34911. "description": "单位名称",
  34912. "type": "string"
  34913. },
  34914. "minivalue": {
  34915. "description": "最小变动值",
  34916. "type": "integer"
  34917. },
  34918. "wrstandardcode": {
  34919. "description": "现货商品代码",
  34920. "type": "string"
  34921. },
  34922. "wrstandardid": {
  34923. "description": "现货商品ID",
  34924. "type": "integer"
  34925. },
  34926. "wrstandardname": {
  34927. "description": "商品名称",
  34928. "type": "string"
  34929. }
  34930. }
  34931. },
  34932. "models.WrGoodsInfo": {
  34933. "type": "object",
  34934. "properties": {
  34935. "haswr": {
  34936. "description": "0:仓单预售 1:仓单贸易",
  34937. "type": "integer"
  34938. },
  34939. "lstitem": {
  34940. "description": "商品信息项",
  34941. "type": "array",
  34942. "items": {
  34943. "$ref": "#/definitions/models.WrTypeItem"
  34944. }
  34945. },
  34946. "lststep": {
  34947. "description": "履约规则",
  34948. "type": "array",
  34949. "items": {
  34950. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34951. }
  34952. },
  34953. "marketid": {
  34954. "description": "市场id",
  34955. "type": "integer"
  34956. }
  34957. }
  34958. },
  34959. "models.WrGoodsPerformanceStep": {
  34960. "type": "object",
  34961. "properties": {
  34962. "autoid": {
  34963. "description": "AutoID",
  34964. "type": "integer"
  34965. },
  34966. "isauto": {
  34967. "description": "是否自动 - 0:不自动 1:自动",
  34968. "type": "integer"
  34969. },
  34970. "remark": {
  34971. "description": "备注",
  34972. "type": "string"
  34973. },
  34974. "stepdate": {
  34975. "description": "天数信息(T+N)",
  34976. "type": "string"
  34977. },
  34978. "stepdays": {
  34979. "description": "距离上一步天数",
  34980. "type": "integer"
  34981. },
  34982. "stepindex": {
  34983. "description": "步骤序号",
  34984. "type": "integer"
  34985. },
  34986. "stepinfo": {
  34987. "description": "步骤信息(步骤名称+步骤值)",
  34988. "type": "string"
  34989. },
  34990. "steptypeid": {
  34991. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34992. "type": "integer"
  34993. },
  34994. "steptypename": {
  34995. "description": "步骤名称",
  34996. "type": "string"
  34997. },
  34998. "stepvalue": {
  34999. "description": "步骤值",
  35000. "type": "number"
  35001. },
  35002. "templateid": {
  35003. "description": "履约计划模板ID",
  35004. "type": "integer"
  35005. }
  35006. }
  35007. },
  35008. "models.WrHoldLB": {
  35009. "type": "object",
  35010. "properties": {
  35011. "accountid": {
  35012. "description": "持有人帐户ID",
  35013. "type": "integer"
  35014. },
  35015. "createtime": {
  35016. "description": "创建时间(过户时间)",
  35017. "type": "string"
  35018. },
  35019. "deliverygoodscode": {
  35020. "description": "品种代码",
  35021. "type": "string"
  35022. },
  35023. "deliverygoodsid": {
  35024. "description": "品种ID",
  35025. "type": "integer"
  35026. },
  35027. "deliverygoodsname": {
  35028. "description": "品种名称",
  35029. "type": "string"
  35030. },
  35031. "enableqty": {
  35032. "description": "可用数量",
  35033. "type": "number"
  35034. },
  35035. "enumdicname": {
  35036. "description": "单位名称",
  35037. "type": "string"
  35038. },
  35039. "freezerqty": {
  35040. "description": "冻结数量",
  35041. "type": "number"
  35042. },
  35043. "ladingbillid": {
  35044. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  35045. "type": "string"
  35046. },
  35047. "minivalue": {
  35048. "description": "现货商品最小变动值",
  35049. "type": "integer"
  35050. },
  35051. "optioncompare": {
  35052. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35053. "type": "string"
  35054. },
  35055. "parentsubnum": {
  35056. "description": "拆分父子单号",
  35057. "type": "integer"
  35058. },
  35059. "pledgeqty": {
  35060. "description": "质押数量",
  35061. "type": "number"
  35062. },
  35063. "qty": {
  35064. "description": "数量",
  35065. "type": "number"
  35066. },
  35067. "subnum": {
  35068. "description": "提单子单号",
  35069. "type": "integer"
  35070. },
  35071. "tradedate": {
  35072. "description": "交易日(yyyyMMdd)",
  35073. "type": "string"
  35074. },
  35075. "userid": {
  35076. "description": "持有人ID",
  35077. "type": "integer"
  35078. },
  35079. "warehouseid": {
  35080. "description": "仓库ID",
  35081. "type": "integer"
  35082. },
  35083. "warehousename": {
  35084. "description": "仓库名称",
  35085. "type": "string"
  35086. },
  35087. "wrfactortypeid": {
  35088. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35089. "type": "string"
  35090. },
  35091. "wrfactortypename": {
  35092. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35093. "type": "string"
  35094. },
  35095. "wrholdeno": {
  35096. "description": "仓单编号",
  35097. "type": "string"
  35098. },
  35099. "wrid": {
  35100. "description": "仓单变更ID",
  35101. "type": "string"
  35102. },
  35103. "wrstandardcode": {
  35104. "description": "现货商品代码",
  35105. "type": "string"
  35106. },
  35107. "wrstandardid": {
  35108. "description": "现货商品ID",
  35109. "type": "integer"
  35110. },
  35111. "wrstandardname": {
  35112. "description": "商品名称",
  35113. "type": "string"
  35114. },
  35115. "wrtypename": {
  35116. "description": "商品",
  35117. "type": "string"
  35118. }
  35119. }
  35120. },
  35121. "models.WrMarketTradeConfig": {
  35122. "type": "object",
  35123. "properties": {
  35124. "basisdownratio": {
  35125. "description": "浮动价基差下限比例(仓单贸易)",
  35126. "type": "number"
  35127. },
  35128. "basisupratio": {
  35129. "description": "浮动价基差上限比例(仓单贸易)",
  35130. "type": "number"
  35131. },
  35132. "buychargealgorithm": {
  35133. "description": "买方手续费收取方式 1:比率 2:固定",
  35134. "type": "integer"
  35135. },
  35136. "buychargealgorithm2": {
  35137. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  35138. "type": "integer"
  35139. },
  35140. "buychargealgorithmvalue": {
  35141. "description": "买方手续费设置值(交易所部分)",
  35142. "type": "number"
  35143. },
  35144. "buychargealgorithmvalue2": {
  35145. "description": "买方手续费设置值(会员部分)",
  35146. "type": "number"
  35147. },
  35148. "buychargealgorithmvalue3": {
  35149. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  35150. "type": "number"
  35151. },
  35152. "buychargealgorithmvalue4": {
  35153. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  35154. "type": "number"
  35155. },
  35156. "buyfirstmarginalgorithm": {
  35157. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  35158. "type": "integer"
  35159. },
  35160. "buyfirstmarginvalue": {
  35161. "description": "买方出价保证金设置值 - [竞拍]",
  35162. "type": "number"
  35163. },
  35164. "buymarginalgorithm": {
  35165. "description": "买方保证金方式 - 1:比率 2:固定",
  35166. "type": "integer"
  35167. },
  35168. "buymarginvalue": {
  35169. "description": "买方保证金设置值",
  35170. "type": "number"
  35171. },
  35172. "buyreleaseratio": {
  35173. "description": "买方释放比率[2:分步履约]",
  35174. "type": "number"
  35175. },
  35176. "executemode": {
  35177. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  35178. "type": "integer"
  35179. },
  35180. "executeside": {
  35181. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  35182. "type": "integer"
  35183. },
  35184. "failedchargealgorithm": {
  35185. "description": "流拍手续费收取方式 1:比率 2:固定",
  35186. "type": "integer"
  35187. },
  35188. "failedchargevalue": {
  35189. "description": "流拍手续费设置值",
  35190. "type": "number"
  35191. },
  35192. "failedchargevalue2": {
  35193. "description": "流拍卖方手续费设置值",
  35194. "type": "number"
  35195. },
  35196. "holddays": {
  35197. "description": "合同期限[2:分步履约]",
  35198. "type": "integer"
  35199. },
  35200. "marketid": {
  35201. "description": "市场ID-仓单贸易、竞拍、预售",
  35202. "type": "integer"
  35203. },
  35204. "minqty": {
  35205. "description": "最小执行量[2:分步履约]",
  35206. "type": "number"
  35207. },
  35208. "modifierid": {
  35209. "description": "修改人",
  35210. "type": "integer"
  35211. },
  35212. "performancetempid": {
  35213. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  35214. "type": "integer"
  35215. },
  35216. "performancetempid2": {
  35217. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  35218. "type": "integer"
  35219. },
  35220. "performancetempid2s": {
  35221. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  35222. "type": "string"
  35223. },
  35224. "performancetempids": {
  35225. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  35226. "type": "string"
  35227. },
  35228. "performanceway": {
  35229. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  35230. "type": "integer"
  35231. },
  35232. "sellchargealgorithm": {
  35233. "description": "卖方手续费收取方式 1:比率 2:固定",
  35234. "type": "integer"
  35235. },
  35236. "sellchargealgorithm2": {
  35237. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  35238. "type": "integer"
  35239. },
  35240. "sellchargealgorithmvalue": {
  35241. "description": "卖方手续费设置值(交易所部分)",
  35242. "type": "number"
  35243. },
  35244. "sellchargealgorithmvalue2": {
  35245. "description": "卖方手续费设置值(会员部分)",
  35246. "type": "number"
  35247. },
  35248. "sellchargealgorithmvalue3": {
  35249. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  35250. "type": "number"
  35251. },
  35252. "sellchargealgorithmvalue4": {
  35253. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  35254. "type": "number"
  35255. },
  35256. "sellmarginalgorithm": {
  35257. "description": "卖方保证金方式 - 1:比率 2:固定",
  35258. "type": "integer"
  35259. },
  35260. "sellmarginvalue": {
  35261. "description": "卖方保证金设置值",
  35262. "type": "number"
  35263. },
  35264. "sellmarginvalue2": {
  35265. "description": "卖方保证金设置值(无仓单)",
  35266. "type": "number"
  35267. },
  35268. "sellreleaseratio": {
  35269. "description": "卖方释放比率[2:分步履约]",
  35270. "type": "number"
  35271. },
  35272. "updatetime": {
  35273. "description": "更新时间",
  35274. "type": "string"
  35275. }
  35276. }
  35277. },
  35278. "models.WrOrderDetail": {
  35279. "type": "object",
  35280. "properties": {
  35281. "accountid": {
  35282. "description": "交易账号(资金账号)",
  35283. "type": "integer"
  35284. },
  35285. "allfriendsflag": {
  35286. "description": "是否全好友可见 - 0:否 1:是",
  35287. "type": "integer"
  35288. },
  35289. "amount": {
  35290. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  35291. "type": "number"
  35292. },
  35293. "begindate": {
  35294. "description": "开始交易日(yyyymmdd)",
  35295. "type": "string"
  35296. },
  35297. "buyorsell": {
  35298. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  35299. "type": "integer"
  35300. },
  35301. "canbargain": {
  35302. "description": "是否可议价 - 0:不可 1:可",
  35303. "type": "integer"
  35304. },
  35305. "cancelqty": {
  35306. "description": "撤销数量",
  35307. "type": "number"
  35308. },
  35309. "canpart": {
  35310. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  35311. "type": "integer"
  35312. },
  35313. "delistminqty": {
  35314. "description": "起摘数量",
  35315. "type": "integer"
  35316. },
  35317. "deliverygoodscode": {
  35318. "description": "品种代码",
  35319. "type": "string"
  35320. },
  35321. "deliverygoodsid": {
  35322. "description": "品种ID",
  35323. "type": "integer"
  35324. },
  35325. "deliverygoodsname": {
  35326. "description": "品种名称",
  35327. "type": "string"
  35328. },
  35329. "deliverymonth": {
  35330. "description": "交收月",
  35331. "type": "string"
  35332. },
  35333. "enddate": {
  35334. "description": "结束交易日(yyyymmdd)",
  35335. "type": "string"
  35336. },
  35337. "enumdicname": {
  35338. "description": "单位名称",
  35339. "type": "string"
  35340. },
  35341. "fixedprice": {
  35342. "description": "固定价格 - [挂牌]",
  35343. "type": "number"
  35344. },
  35345. "freezecharge": {
  35346. "description": "冻结手续费",
  35347. "type": "number"
  35348. },
  35349. "freezemargin": {
  35350. "description": "冻结保证金(保证金)",
  35351. "type": "number"
  35352. },
  35353. "futupricemove": {
  35354. "description": "期货升贴水",
  35355. "type": "number"
  35356. },
  35357. "futushow": {
  35358. "description": "期货合约/升贴水",
  35359. "type": "string"
  35360. },
  35361. "goodscode": {
  35362. "description": "期货合约",
  35363. "type": "string"
  35364. },
  35365. "goodsid": {
  35366. "description": "期货商品id",
  35367. "type": "integer"
  35368. },
  35369. "goodsname": {
  35370. "description": "商品名称",
  35371. "type": "string"
  35372. },
  35373. "haswr": {
  35374. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35375. "type": "integer"
  35376. },
  35377. "isspecified": {
  35378. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  35379. "type": "integer"
  35380. },
  35381. "ladingbillid": {
  35382. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  35383. "type": "string"
  35384. },
  35385. "marginvalue": {
  35386. "description": "保证金设置值(履约保证金)",
  35387. "type": "number"
  35388. },
  35389. "marketid": {
  35390. "description": "市场ID",
  35391. "type": "integer"
  35392. },
  35393. "matchusername": {
  35394. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  35395. "type": "string"
  35396. },
  35397. "minivalue": {
  35398. "description": "现货商品最小变动值",
  35399. "type": "integer"
  35400. },
  35401. "optioncompare": {
  35402. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35403. "type": "string"
  35404. },
  35405. "orderqty": {
  35406. "description": "委托数量",
  35407. "type": "number"
  35408. },
  35409. "ordertime": {
  35410. "description": "委托时间(挂牌时间)",
  35411. "type": "string"
  35412. },
  35413. "performancetemplateid": {
  35414. "description": "履约模板id",
  35415. "type": "integer"
  35416. },
  35417. "pricemove": {
  35418. "description": "升贴水(浮动价时填写) - [挂牌]",
  35419. "type": "number"
  35420. },
  35421. "taname": {
  35422. "description": "交易用户名称(资金账号名称)",
  35423. "type": "string"
  35424. },
  35425. "tradedate": {
  35426. "description": "交易日(yyyyMMdd)",
  35427. "type": "string"
  35428. },
  35429. "tradeprice": {
  35430. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  35431. "type": "number"
  35432. },
  35433. "tradeqty": {
  35434. "description": "成交数量",
  35435. "type": "number"
  35436. },
  35437. "userid": {
  35438. "description": "用户ID",
  35439. "type": "integer"
  35440. },
  35441. "validtime": {
  35442. "description": "挂牌有效期",
  35443. "type": "string"
  35444. },
  35445. "validtype": {
  35446. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  35447. "type": "integer"
  35448. },
  35449. "warehouseid": {
  35450. "description": "仓库ID",
  35451. "type": "integer"
  35452. },
  35453. "warehousename": {
  35454. "description": "仓库名称",
  35455. "type": "string"
  35456. },
  35457. "wrfactortypeid": {
  35458. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35459. "type": "string"
  35460. },
  35461. "wrfactortypename": {
  35462. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35463. "type": "string"
  35464. },
  35465. "wrpricetype": {
  35466. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  35467. "type": "integer"
  35468. },
  35469. "wrstandardcode": {
  35470. "description": "现货商品代码",
  35471. "type": "string"
  35472. },
  35473. "wrstandardid": {
  35474. "description": "现货商品ID",
  35475. "type": "integer"
  35476. },
  35477. "wrstandardname": {
  35478. "description": "商品名称",
  35479. "type": "string"
  35480. },
  35481. "wrtradeorderid": {
  35482. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35483. "type": "string"
  35484. },
  35485. "wrtradeorderstatus": {
  35486. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败",
  35487. "type": "integer"
  35488. },
  35489. "wrtradetype": {
  35490. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  35491. "type": "integer"
  35492. },
  35493. "wrtypename": {
  35494. "description": "商品",
  35495. "type": "string"
  35496. }
  35497. }
  35498. },
  35499. "models.WrOrderQuote": {
  35500. "type": "object",
  35501. "properties": {
  35502. "buyprice": {
  35503. "description": "买价",
  35504. "type": "number"
  35505. },
  35506. "buypricemove": {
  35507. "description": "买升贴水(基差)",
  35508. "type": "number"
  35509. },
  35510. "buyqty": {
  35511. "description": "买量",
  35512. "type": "number"
  35513. },
  35514. "deliverygoodscode": {
  35515. "description": "品种代码",
  35516. "type": "string"
  35517. },
  35518. "deliverygoodsid": {
  35519. "description": "品种id",
  35520. "type": "integer"
  35521. },
  35522. "deliverygoodsname": {
  35523. "description": "品种名称",
  35524. "type": "string"
  35525. },
  35526. "deliverymonth": {
  35527. "description": "交收月",
  35528. "type": "string"
  35529. },
  35530. "enumdicname": {
  35531. "description": "单位名称",
  35532. "type": "string"
  35533. },
  35534. "goodscode": {
  35535. "description": "商品合约(浮动价列表才有)",
  35536. "type": "string"
  35537. },
  35538. "goodsid": {
  35539. "description": "商品id(浮动价列表才有)",
  35540. "type": "integer"
  35541. },
  35542. "minivalue": {
  35543. "description": "现货商品最小变动值",
  35544. "type": "integer"
  35545. },
  35546. "sellprice": {
  35547. "description": "卖价",
  35548. "type": "number"
  35549. },
  35550. "sellpricemove": {
  35551. "description": "卖升贴水(基差)",
  35552. "type": "number"
  35553. },
  35554. "sellqty": {
  35555. "description": "卖量",
  35556. "type": "number"
  35557. },
  35558. "warehousecode": {
  35559. "description": "仓库代码",
  35560. "type": "string"
  35561. },
  35562. "warehouseid": {
  35563. "description": "仓库id",
  35564. "type": "integer"
  35565. },
  35566. "warehousename": {
  35567. "description": "仓库名称",
  35568. "type": "string"
  35569. },
  35570. "wrfactortypeid": {
  35571. "description": "仓单要素id",
  35572. "type": "string"
  35573. },
  35574. "wrfactortypename": {
  35575. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35576. "type": "string"
  35577. },
  35578. "wrgoodsname": {
  35579. "description": "商品(商品名称+仓库要素名称 拼接)",
  35580. "type": "string"
  35581. },
  35582. "wrstandardcode": {
  35583. "description": "商品代码",
  35584. "type": "string"
  35585. },
  35586. "wrstandardid": {
  35587. "description": "商品id",
  35588. "type": "integer"
  35589. },
  35590. "wrstandardname": {
  35591. "description": "商品名称",
  35592. "type": "string"
  35593. }
  35594. }
  35595. },
  35596. "models.WrOrderQuoteDetail": {
  35597. "type": "object",
  35598. "properties": {
  35599. "buyorsell": {
  35600. "description": "买卖 - 0:买 1:卖",
  35601. "type": "integer"
  35602. },
  35603. "delistminqty": {
  35604. "description": "起摘数量",
  35605. "type": "number"
  35606. },
  35607. "deliverymonth": {
  35608. "description": "交收月",
  35609. "type": "string"
  35610. },
  35611. "enumdicname": {
  35612. "description": "单位名称",
  35613. "type": "string"
  35614. },
  35615. "fixedprice": {
  35616. "description": "买(卖)价",
  35617. "type": "number"
  35618. },
  35619. "marketid": {
  35620. "description": "市场id",
  35621. "type": "integer"
  35622. },
  35623. "minivalue": {
  35624. "description": "现货商品最小变动值",
  35625. "type": "integer"
  35626. },
  35627. "orderqty": {
  35628. "description": "买(卖)量(=委托量-成交量)",
  35629. "type": "number"
  35630. },
  35631. "ordertime": {
  35632. "description": "委托时间",
  35633. "type": "string"
  35634. },
  35635. "pricemove": {
  35636. "description": "买(卖)升贴水- 基差",
  35637. "type": "number"
  35638. },
  35639. "userid": {
  35640. "description": "购买方(销售方)用户ID",
  35641. "type": "integer"
  35642. },
  35643. "username": {
  35644. "description": "购买方(销售方)",
  35645. "type": "string"
  35646. },
  35647. "wrtradeorderid": {
  35648. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35649. "type": "string"
  35650. }
  35651. }
  35652. },
  35653. "models.WrOutInApply": {
  35654. "type": "object",
  35655. "properties": {
  35656. "applyid": {
  35657. "description": "申请单id",
  35658. "type": "string"
  35659. },
  35660. "applystatus": {
  35661. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  35662. "type": "integer"
  35663. },
  35664. "applytime": {
  35665. "description": "申请时间",
  35666. "type": "string"
  35667. },
  35668. "applytype": {
  35669. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  35670. "type": "integer"
  35671. },
  35672. "begindate": {
  35673. "description": "开始交易日(yyyymmdd)",
  35674. "type": "string"
  35675. },
  35676. "deliverygoodscode": {
  35677. "description": "品种代码",
  35678. "type": "string"
  35679. },
  35680. "deliverygoodsid": {
  35681. "description": "品种ID",
  35682. "type": "integer"
  35683. },
  35684. "deliverygoodsname": {
  35685. "description": "品种名称",
  35686. "type": "string"
  35687. },
  35688. "enddate": {
  35689. "description": "结束交易日(yyyymmdd)",
  35690. "type": "string"
  35691. },
  35692. "enumdicname": {
  35693. "description": "单位名称",
  35694. "type": "string"
  35695. },
  35696. "expresscompany": {
  35697. "description": "物流公司",
  35698. "type": "string"
  35699. },
  35700. "expressnum": {
  35701. "description": "物流单号",
  35702. "type": "string"
  35703. },
  35704. "minivalue": {
  35705. "description": "现货商品最小变动值",
  35706. "type": "integer"
  35707. },
  35708. "optioncompare": {
  35709. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35710. "type": "string"
  35711. },
  35712. "qty": {
  35713. "description": "数量",
  35714. "type": "integer"
  35715. },
  35716. "userid": {
  35717. "description": "用户id",
  35718. "type": "integer"
  35719. },
  35720. "warehouseid": {
  35721. "description": "仓库ID",
  35722. "type": "integer"
  35723. },
  35724. "warehousename": {
  35725. "description": "仓库名称",
  35726. "type": "string"
  35727. },
  35728. "wrfactortypeid": {
  35729. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35730. "type": "string"
  35731. },
  35732. "wrfactortypename": {
  35733. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35734. "type": "string"
  35735. },
  35736. "wrstandardcode": {
  35737. "description": "现货商品代码",
  35738. "type": "string"
  35739. },
  35740. "wrstandardid": {
  35741. "description": "现货商品ID",
  35742. "type": "integer"
  35743. },
  35744. "wrstandardname": {
  35745. "description": "商品名称",
  35746. "type": "string"
  35747. },
  35748. "wrtypename": {
  35749. "description": "商品",
  35750. "type": "string"
  35751. }
  35752. }
  35753. },
  35754. "models.WrPerformancePlan": {
  35755. "type": "object",
  35756. "required": [
  35757. "userid"
  35758. ],
  35759. "properties": {
  35760. "activatemonth": {
  35761. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  35762. "type": "string"
  35763. },
  35764. "amount": {
  35765. "description": "履约金额(总金额)",
  35766. "type": "number"
  35767. },
  35768. "begindate": {
  35769. "description": "开始交易日(yyyymmdd)",
  35770. "type": "string"
  35771. },
  35772. "buyaccountid": {
  35773. "description": "买方账号",
  35774. "type": "integer"
  35775. },
  35776. "buyerfreezeamount": {
  35777. "description": "履约冻结(买履约)",
  35778. "type": "number"
  35779. },
  35780. "buyerfreezeamountremain": {
  35781. "description": "履约冻结剩余(买履约)",
  35782. "type": "number"
  35783. },
  35784. "buyorsell": {
  35785. "description": "买卖方向 0-买 1-卖",
  35786. "type": "integer"
  35787. },
  35788. "buypaidamount": {
  35789. "description": "买方已冻/已扣金额 (已付金额)",
  35790. "type": "number"
  35791. },
  35792. "buyusername": {
  35793. "description": "买方名字",
  35794. "type": "string"
  35795. },
  35796. "contractid": {
  35797. "description": "合同ID",
  35798. "type": "integer"
  35799. },
  35800. "createtime": {
  35801. "description": "创建时间",
  35802. "type": "string"
  35803. },
  35804. "creatorid": {
  35805. "description": "创建人",
  35806. "type": "integer"
  35807. },
  35808. "curstepdeadline": {
  35809. "description": "当前步骤到期时间",
  35810. "type": "string"
  35811. },
  35812. "curstepid": {
  35813. "description": "当前步骤ID",
  35814. "type": "string"
  35815. },
  35816. "curstepname": {
  35817. "description": "当前步骤名称",
  35818. "type": "string"
  35819. },
  35820. "deliverygoodscode": {
  35821. "description": "品种代码",
  35822. "type": "string"
  35823. },
  35824. "deliverygoodsid": {
  35825. "description": "品种ID",
  35826. "type": "integer"
  35827. },
  35828. "deliverygoodsname": {
  35829. "description": "品种名称",
  35830. "type": "string"
  35831. },
  35832. "enddate": {
  35833. "description": "结束交易日(yyyymmdd)",
  35834. "type": "string"
  35835. },
  35836. "enumdicname": {
  35837. "description": "单位名称",
  35838. "type": "string"
  35839. },
  35840. "expressfee": {
  35841. "description": "运费",
  35842. "type": "number"
  35843. },
  35844. "expressfeeconfirmed": {
  35845. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  35846. "type": "integer"
  35847. },
  35848. "hasovershort": {
  35849. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  35850. "type": "integer"
  35851. },
  35852. "haswr": {
  35853. "description": "类型 0-仓单预售 1-仓单贸易",
  35854. "type": "integer"
  35855. },
  35856. "marketid": {
  35857. "description": "市场ID",
  35858. "type": "integer"
  35859. },
  35860. "middleaccountid": {
  35861. "description": "中间商资金账号ID",
  35862. "type": "integer"
  35863. },
  35864. "middleuserid": {
  35865. "description": "中间商用户ID",
  35866. "type": "integer"
  35867. },
  35868. "minivalue": {
  35869. "description": "现货商品最小变动值",
  35870. "type": "integer"
  35871. },
  35872. "optioncompare": {
  35873. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35874. "type": "string"
  35875. },
  35876. "overshortamount": {
  35877. "description": "溢短金额",
  35878. "type": "number"
  35879. },
  35880. "overshortqty": {
  35881. "description": "溢短数量",
  35882. "type": "number"
  35883. },
  35884. "paymenttype": {
  35885. "description": "付款方式 - 1:冻结 2:扣款",
  35886. "type": "integer"
  35887. },
  35888. "performanceplanid": {
  35889. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  35890. "type": "string"
  35891. },
  35892. "performancestatus": {
  35893. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  35894. "type": "integer"
  35895. },
  35896. "performancetype": {
  35897. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  35898. "type": "integer"
  35899. },
  35900. "qty": {
  35901. "description": "履约数量",
  35902. "type": "number"
  35903. },
  35904. "relatedorderid": {
  35905. "description": "关联单号(履约类型的关联单号)",
  35906. "type": "string"
  35907. },
  35908. "remark": {
  35909. "description": "备注",
  35910. "type": "string"
  35911. },
  35912. "sellaccountid": {
  35913. "description": "卖方账号",
  35914. "type": "integer"
  35915. },
  35916. "sellerfreezeamount": {
  35917. "description": "履约冻结(卖履约)",
  35918. "type": "number"
  35919. },
  35920. "sellerfreezeamountremain": {
  35921. "description": "履约冻结剩余(卖履约)",
  35922. "type": "number"
  35923. },
  35924. "sellreceivedamount": {
  35925. "description": "卖方已收金额",
  35926. "type": "number"
  35927. },
  35928. "sellusername": {
  35929. "description": "卖方名字",
  35930. "type": "string"
  35931. },
  35932. "shipremark": {
  35933. "description": "发货备注[物流单号]",
  35934. "type": "string"
  35935. },
  35936. "starttime": {
  35937. "description": "开始时间",
  35938. "type": "string"
  35939. },
  35940. "steptypeid": {
  35941. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35942. "type": "integer"
  35943. },
  35944. "typename": {
  35945. "description": "履约类型 名称",
  35946. "type": "string"
  35947. },
  35948. "unpaidamount": {
  35949. "description": "剩余款(待支付金额)",
  35950. "type": "number"
  35951. },
  35952. "userid": {
  35953. "description": "用户id",
  35954. "type": "integer"
  35955. },
  35956. "warehouseid": {
  35957. "description": "仓库ID",
  35958. "type": "integer"
  35959. },
  35960. "warehousename": {
  35961. "description": "仓库名称",
  35962. "type": "string"
  35963. },
  35964. "wrfactortypeid": {
  35965. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35966. "type": "string"
  35967. },
  35968. "wrfactortypename": {
  35969. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35970. "type": "string"
  35971. },
  35972. "wrstandardcode": {
  35973. "description": "现货商品代码",
  35974. "type": "string"
  35975. },
  35976. "wrstandardid": {
  35977. "description": "现货商品ID",
  35978. "type": "integer"
  35979. },
  35980. "wrstandardname": {
  35981. "description": "商品名称",
  35982. "type": "string"
  35983. },
  35984. "wrtransferuserid": {
  35985. "description": "仓单受让用户",
  35986. "type": "integer"
  35987. },
  35988. "wrtypename": {
  35989. "description": "商品",
  35990. "type": "string"
  35991. }
  35992. }
  35993. },
  35994. "models.WrPerformancePlanStep": {
  35995. "type": "object",
  35996. "properties": {
  35997. "delaydays": {
  35998. "description": "延期申请天数",
  35999. "type": "integer"
  36000. },
  36001. "deliverygoodscode": {
  36002. "description": "品种代码",
  36003. "type": "string"
  36004. },
  36005. "deliverygoodsid": {
  36006. "description": "品种ID",
  36007. "type": "integer"
  36008. },
  36009. "deliverygoodsname": {
  36010. "description": "品种名称",
  36011. "type": "string"
  36012. },
  36013. "endtime": {
  36014. "description": "结束日期",
  36015. "type": "string"
  36016. },
  36017. "enumdicname": {
  36018. "description": "单位名称",
  36019. "type": "string"
  36020. },
  36021. "executeside": {
  36022. "description": "步骤执行方 - 1:买方 2:卖方",
  36023. "type": "integer"
  36024. },
  36025. "handlestatus": {
  36026. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  36027. "type": "integer"
  36028. },
  36029. "isauto": {
  36030. "description": "是否自动 - 0:不自动 1:自动",
  36031. "type": "integer"
  36032. },
  36033. "islastreceivestep": {
  36034. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  36035. "type": "integer"
  36036. },
  36037. "minivalue": {
  36038. "description": "现货商品最小变动值",
  36039. "type": "integer"
  36040. },
  36041. "optioncompare": {
  36042. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36043. "type": "string"
  36044. },
  36045. "overdays": {
  36046. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  36047. "type": "integer"
  36048. },
  36049. "performancestepid": {
  36050. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  36051. "type": "string"
  36052. },
  36053. "planid": {
  36054. "description": "所属履约计划ID",
  36055. "type": "string"
  36056. },
  36057. "realamount": {
  36058. "description": "实际完成金额",
  36059. "type": "number"
  36060. },
  36061. "relatedorderid": {
  36062. "description": "关联单号",
  36063. "type": "string"
  36064. },
  36065. "remaindays": {
  36066. "description": "剩余天数",
  36067. "type": "integer"
  36068. },
  36069. "remark": {
  36070. "description": "错误备注",
  36071. "type": "string"
  36072. },
  36073. "starttime": {
  36074. "description": "开始日期",
  36075. "type": "string"
  36076. },
  36077. "stepamount": {
  36078. "description": "步骤金额",
  36079. "type": "number"
  36080. },
  36081. "stepdays": {
  36082. "description": "距离上一步天数(分钟)",
  36083. "type": "integer"
  36084. },
  36085. "stepindex": {
  36086. "description": "步骤序号",
  36087. "type": "integer"
  36088. },
  36089. "steplanchtype": {
  36090. "description": "步骤启动类型 - 1:系统自动 2:手动",
  36091. "type": "integer"
  36092. },
  36093. "stepremark": {
  36094. "description": "步骤备注",
  36095. "type": "string"
  36096. },
  36097. "stepstatus": {
  36098. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  36099. "type": "integer"
  36100. },
  36101. "steptypeid": {
  36102. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  36103. "type": "integer"
  36104. },
  36105. "steptypename": {
  36106. "description": "步骤名称",
  36107. "type": "string"
  36108. },
  36109. "stepvalue": {
  36110. "description": "步骤值",
  36111. "type": "number"
  36112. },
  36113. "warehouseid": {
  36114. "description": "仓库ID",
  36115. "type": "integer"
  36116. },
  36117. "warehousename": {
  36118. "description": "仓库名称",
  36119. "type": "string"
  36120. },
  36121. "wrfactortypeid": {
  36122. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36123. "type": "string"
  36124. },
  36125. "wrfactortypename": {
  36126. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36127. "type": "string"
  36128. },
  36129. "wrstandardcode": {
  36130. "description": "现货商品代码",
  36131. "type": "string"
  36132. },
  36133. "wrstandardid": {
  36134. "description": "现货商品ID",
  36135. "type": "integer"
  36136. },
  36137. "wrstandardname": {
  36138. "description": "商品名称",
  36139. "type": "string"
  36140. },
  36141. "wrtypename": {
  36142. "description": "商品",
  36143. "type": "string"
  36144. }
  36145. }
  36146. },
  36147. "models.WrPerformanceStepType": {
  36148. "type": "object",
  36149. "properties": {
  36150. "canauto": {
  36151. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  36152. "type": "integer"
  36153. },
  36154. "steptypeid": {
  36155. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  36156. "type": "integer"
  36157. },
  36158. "steptypename": {
  36159. "description": "步骤类型名称",
  36160. "type": "string"
  36161. }
  36162. }
  36163. },
  36164. "models.WrPerformanceTemplateEx": {
  36165. "type": "object",
  36166. "properties": {
  36167. "autoid": {
  36168. "description": "AutoID 模板id",
  36169. "type": "integer"
  36170. },
  36171. "createtime": {
  36172. "description": "创建时间",
  36173. "type": "string"
  36174. },
  36175. "creatorid": {
  36176. "description": "创建人",
  36177. "type": "integer"
  36178. },
  36179. "lstStep": {
  36180. "description": "步骤信息列表",
  36181. "type": "array",
  36182. "items": {
  36183. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  36184. }
  36185. },
  36186. "paymenttype": {
  36187. "description": "支付方式 - 1:冻结 2:扣款",
  36188. "type": "integer"
  36189. },
  36190. "takemode": {
  36191. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  36192. "type": "integer"
  36193. },
  36194. "templatename": {
  36195. "description": "模板名称",
  36196. "type": "string"
  36197. },
  36198. "templatetype": {
  36199. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  36200. "type": "integer"
  36201. },
  36202. "userid": {
  36203. "description": "所属用户",
  36204. "type": "integer"
  36205. }
  36206. }
  36207. },
  36208. "models.WrPosition": {
  36209. "type": "object",
  36210. "properties": {
  36211. "accountid": {
  36212. "description": "帐户ID",
  36213. "type": "integer"
  36214. },
  36215. "buyexcuteqty": {
  36216. "description": "采购履约中数量",
  36217. "type": "number"
  36218. },
  36219. "creditcurqty": {
  36220. "description": "授信当前数量(预售仓单:预售当前量)",
  36221. "type": "number"
  36222. },
  36223. "creditenableqty": {
  36224. "description": "授信可用数量(预售仓单: 可用数量)",
  36225. "type": "number"
  36226. },
  36227. "creditfreezeqty": {
  36228. "description": "授信冻结数量(预售仓单: 当前数量)",
  36229. "type": "number"
  36230. },
  36231. "credittotalqty": {
  36232. "description": "授信总数量(预售仓单:预售总量)",
  36233. "type": "number"
  36234. },
  36235. "credittradeqty": {
  36236. "description": "授信成交数量(预售仓单:成交总量)",
  36237. "type": "number"
  36238. },
  36239. "deliverygoodscode": {
  36240. "description": "品种代码",
  36241. "type": "string"
  36242. },
  36243. "deliverygoodsid": {
  36244. "description": "品种ID",
  36245. "type": "integer"
  36246. },
  36247. "deliverygoodsname": {
  36248. "description": "品种名称",
  36249. "type": "string"
  36250. },
  36251. "enalbeqty": {
  36252. "description": "可用数量",
  36253. "type": "number"
  36254. },
  36255. "enumdicname": {
  36256. "description": "单位名称",
  36257. "type": "string"
  36258. },
  36259. "freezeqty": {
  36260. "description": "总冻结数量",
  36261. "type": "number"
  36262. },
  36263. "haswr": {
  36264. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36265. "type": "integer"
  36266. },
  36267. "minivalue": {
  36268. "description": "现货商品最小变动值",
  36269. "type": "integer"
  36270. },
  36271. "modifytime": {
  36272. "description": "修改时间(过户时间)",
  36273. "type": "string"
  36274. },
  36275. "optioncompare": {
  36276. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36277. "type": "string"
  36278. },
  36279. "pledgeqty": {
  36280. "description": "质押数量",
  36281. "type": "number"
  36282. },
  36283. "querytype": {
  36284. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  36285. "type": "integer"
  36286. },
  36287. "sellexcuteqty": {
  36288. "description": "销售履约中数量",
  36289. "type": "number"
  36290. },
  36291. "totalqty": {
  36292. "description": "总数量(库存数量)",
  36293. "type": "number"
  36294. },
  36295. "warehouseid": {
  36296. "description": "仓库ID",
  36297. "type": "integer"
  36298. },
  36299. "warehousename": {
  36300. "description": "仓库名称",
  36301. "type": "string"
  36302. },
  36303. "wrfactortypeid": {
  36304. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36305. "type": "string"
  36306. },
  36307. "wrfactortypename": {
  36308. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36309. "type": "string"
  36310. },
  36311. "wrpositionid": {
  36312. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  36313. "type": "string"
  36314. },
  36315. "wrpositionno": {
  36316. "description": "仓单编号",
  36317. "type": "string"
  36318. },
  36319. "wrstandardcode": {
  36320. "description": "现货商品代码",
  36321. "type": "string"
  36322. },
  36323. "wrstandardid": {
  36324. "description": "现货商品ID",
  36325. "type": "integer"
  36326. },
  36327. "wrstandardname": {
  36328. "description": "商品名称",
  36329. "type": "string"
  36330. },
  36331. "wrtypename": {
  36332. "description": "商品",
  36333. "type": "string"
  36334. },
  36335. "wruserid": {
  36336. "description": "持有人ID",
  36337. "type": "integer"
  36338. }
  36339. }
  36340. },
  36341. "models.WrQuoteOrderMyq": {
  36342. "type": "object",
  36343. "properties": {
  36344. "buyorsell": {
  36345. "description": "买卖 - 0:买 1:卖",
  36346. "type": "integer"
  36347. },
  36348. "canbargain": {
  36349. "description": "是否可议价 - 0:不可 1:可",
  36350. "type": "integer"
  36351. },
  36352. "canpart": {
  36353. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  36354. "type": "integer"
  36355. },
  36356. "delistminqty": {
  36357. "description": "起摘数量",
  36358. "type": "number"
  36359. },
  36360. "deliverygoodscode": {
  36361. "description": "品种代码",
  36362. "type": "string"
  36363. },
  36364. "deliverygoodsid": {
  36365. "description": "品种ID",
  36366. "type": "integer"
  36367. },
  36368. "deliverygoodsname": {
  36369. "description": "品种名称",
  36370. "type": "string"
  36371. },
  36372. "deliverymonth": {
  36373. "description": "交收月",
  36374. "type": "string"
  36375. },
  36376. "enumdicname": {
  36377. "description": "单位名称",
  36378. "type": "string"
  36379. },
  36380. "fixedprice": {
  36381. "description": "买(卖)价",
  36382. "type": "number"
  36383. },
  36384. "goodscode": {
  36385. "description": "商品合约代码",
  36386. "type": "string"
  36387. },
  36388. "marginflag": {
  36389. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  36390. "type": "integer"
  36391. },
  36392. "marginvalue": {
  36393. "description": "保证金设置值",
  36394. "type": "number"
  36395. },
  36396. "minivalue": {
  36397. "description": "现货商品最小变动值",
  36398. "type": "integer"
  36399. },
  36400. "orderqty": {
  36401. "description": "买(卖)量(=委托量-成交量)",
  36402. "type": "number"
  36403. },
  36404. "ordertime": {
  36405. "description": "委托时间",
  36406. "type": "string"
  36407. },
  36408. "performancetemplateid": {
  36409. "description": "履约模板id",
  36410. "type": "integer"
  36411. },
  36412. "pricemove": {
  36413. "description": "买(卖)升贴水- 基差",
  36414. "type": "number"
  36415. },
  36416. "templatename": {
  36417. "description": "履约模板名称",
  36418. "type": "string"
  36419. },
  36420. "userid": {
  36421. "description": "购买方(销售方)用户ID",
  36422. "type": "integer"
  36423. },
  36424. "username": {
  36425. "description": "购买方(销售方)",
  36426. "type": "string"
  36427. },
  36428. "validtime": {
  36429. "description": "有效期限",
  36430. "type": "string"
  36431. },
  36432. "validtype": {
  36433. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  36434. "type": "integer"
  36435. },
  36436. "warehousename": {
  36437. "description": "仓库名称",
  36438. "type": "string"
  36439. },
  36440. "wrfactortypeid": {
  36441. "description": "仓单要素id",
  36442. "type": "string"
  36443. },
  36444. "wrstandardcode": {
  36445. "description": "现货商品代码",
  36446. "type": "string"
  36447. },
  36448. "wrstandardid": {
  36449. "description": "现货商品ID",
  36450. "type": "integer"
  36451. },
  36452. "wrstandardname": {
  36453. "description": "商品名称",
  36454. "type": "string"
  36455. },
  36456. "wrtradeorderid": {
  36457. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36458. "type": "string"
  36459. },
  36460. "wrtypename": {
  36461. "description": "商品",
  36462. "type": "string"
  36463. }
  36464. }
  36465. },
  36466. "models.WrScfContract": {
  36467. "type": "object",
  36468. "properties": {
  36469. "borroweruserid": {
  36470. "description": "借款用户ID",
  36471. "type": "integer"
  36472. },
  36473. "buybackwrpositionqty": {
  36474. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  36475. "type": "number"
  36476. },
  36477. "closeinterest": {
  36478. "description": "已结利息 -\u003e 已结费用",
  36479. "type": "number"
  36480. },
  36481. "currisklevel": {
  36482. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  36483. "type": "integer"
  36484. },
  36485. "deadline": {
  36486. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  36487. "type": "string"
  36488. },
  36489. "deliverygoodscode": {
  36490. "description": "品种代码",
  36491. "type": "string"
  36492. },
  36493. "deliverygoodsid": {
  36494. "description": "品种ID",
  36495. "type": "integer"
  36496. },
  36497. "deliverygoodsname": {
  36498. "description": "品种名称",
  36499. "type": "string"
  36500. },
  36501. "enumdicname": {
  36502. "description": "单位名称",
  36503. "type": "string"
  36504. },
  36505. "financingdays": {
  36506. "description": "天数(天)",
  36507. "type": "integer"
  36508. },
  36509. "initmargin": {
  36510. "description": "保证金 - [仓单回购]",
  36511. "type": "number"
  36512. },
  36513. "interestamount": {
  36514. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  36515. "type": "number"
  36516. },
  36517. "interestdebt": {
  36518. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  36519. "type": "number"
  36520. },
  36521. "interestminlen": {
  36522. "description": "最小起息天数",
  36523. "type": "integer"
  36524. },
  36525. "interestrate": {
  36526. "description": "利率",
  36527. "type": "number"
  36528. },
  36529. "interestratemode": {
  36530. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  36531. "type": "integer"
  36532. },
  36533. "interestsettlemode": {
  36534. "description": "结息方式 - 1:按日结息 3:按月结息",
  36535. "type": "integer"
  36536. },
  36537. "interestsettlevalue": {
  36538. "description": "结息方式值",
  36539. "type": "integer"
  36540. },
  36541. "isautoloan": {
  36542. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  36543. "type": "integer"
  36544. },
  36545. "lastcloseinterestday": {
  36546. "description": "最近结息日(yyyyMMdd)",
  36547. "type": "string"
  36548. },
  36549. "lenderamount": {
  36550. "description": "贷款金额 -\u003e 借款金额",
  36551. "type": "number"
  36552. },
  36553. "lenderuserid": {
  36554. "description": "贷款方用户ID -\u003e 融出方用户ID",
  36555. "type": "integer"
  36556. },
  36557. "lenderusername": {
  36558. "description": "融出方",
  36559. "type": "string"
  36560. },
  36561. "marginratio": {
  36562. "description": "保证金比率质押率 - [仓单质押]",
  36563. "type": "number"
  36564. },
  36565. "marketid": {
  36566. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  36567. "type": "integer"
  36568. },
  36569. "minivalue": {
  36570. "description": "现货商品最小变动值",
  36571. "type": "integer"
  36572. },
  36573. "optioncompare": {
  36574. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36575. "type": "string"
  36576. },
  36577. "pricemove": {
  36578. "description": "估值升贴水值",
  36579. "type": "number"
  36580. },
  36581. "productdetailid": {
  36582. "description": "产品组合ID",
  36583. "type": "integer"
  36584. },
  36585. "productid": {
  36586. "description": "金融产品ID",
  36587. "type": "integer"
  36588. },
  36589. "productname": {
  36590. "description": "产品名称",
  36591. "type": "string"
  36592. },
  36593. "remainamount": {
  36594. "description": "合同剩余金额 -\u003e 剩余金额",
  36595. "type": "number"
  36596. },
  36597. "remainwrpositionqty": {
  36598. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  36599. "type": "number"
  36600. },
  36601. "remark": {
  36602. "description": "备注",
  36603. "type": "string"
  36604. },
  36605. "scfcontractid": {
  36606. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  36607. "type": "string"
  36608. },
  36609. "scfcontractstatus": {
  36610. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  36611. "type": "integer"
  36612. },
  36613. "scfcontracttype": {
  36614. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  36615. "type": "integer"
  36616. },
  36617. "startinterestday": {
  36618. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  36619. "type": "string"
  36620. },
  36621. "totalinterest": {
  36622. "description": "已计利息 -\u003e 已计费用",
  36623. "type": "number"
  36624. },
  36625. "unpaidinterest": {
  36626. "description": "未结费用",
  36627. "type": "number"
  36628. },
  36629. "updatetime": {
  36630. "description": "更新时间",
  36631. "type": "string"
  36632. },
  36633. "warehouseid": {
  36634. "description": "仓库ID",
  36635. "type": "integer"
  36636. },
  36637. "warehousename": {
  36638. "description": "仓库名称",
  36639. "type": "string"
  36640. },
  36641. "wrfactortypeid": {
  36642. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36643. "type": "string"
  36644. },
  36645. "wrfactortypename": {
  36646. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36647. "type": "string"
  36648. },
  36649. "wrqty": {
  36650. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  36651. "type": "number"
  36652. },
  36653. "wrstandardcode": {
  36654. "description": "现货商品代码",
  36655. "type": "string"
  36656. },
  36657. "wrstandardid": {
  36658. "description": "现货商品ID",
  36659. "type": "integer"
  36660. },
  36661. "wrstandardname": {
  36662. "description": "商品名称",
  36663. "type": "string"
  36664. },
  36665. "wrtypename": {
  36666. "description": "商品",
  36667. "type": "string"
  36668. }
  36669. }
  36670. },
  36671. "models.WrScfContractInterest": {
  36672. "type": "object",
  36673. "properties": {
  36674. "closeinterest": {
  36675. "description": "已结利息",
  36676. "type": "number"
  36677. },
  36678. "closeintereststatus": {
  36679. "description": "结息状态 - 1:未结 2:已结",
  36680. "type": "integer"
  36681. },
  36682. "closetime": {
  36683. "description": "结息时间",
  36684. "type": "string"
  36685. },
  36686. "closetradedate": {
  36687. "description": "结息交易日",
  36688. "type": "string"
  36689. },
  36690. "creatorid": {
  36691. "description": "操作人ID",
  36692. "type": "integer"
  36693. },
  36694. "dayrate": {
  36695. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  36696. "type": "number"
  36697. },
  36698. "interest": {
  36699. "description": "利息",
  36700. "type": "number"
  36701. },
  36702. "interestamount": {
  36703. "description": "计息金额",
  36704. "type": "number"
  36705. },
  36706. "interestday": {
  36707. "description": "计息日(yyyyMMdd)",
  36708. "type": "string"
  36709. },
  36710. "scfcontractid": {
  36711. "description": "SCF合同ID",
  36712. "type": "string"
  36713. },
  36714. "scfcontractinterestid": {
  36715. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  36716. "type": "integer"
  36717. },
  36718. "updatetime": {
  36719. "description": "更新时间",
  36720. "type": "string"
  36721. }
  36722. }
  36723. },
  36724. "models.WrSiteColumnDetail": {
  36725. "type": "object",
  36726. "properties": {
  36727. "brief": {
  36728. "description": "简介",
  36729. "type": "string"
  36730. },
  36731. "context": {
  36732. "description": "内容",
  36733. "type": "string"
  36734. },
  36735. "coverimage": {
  36736. "description": "封面图片",
  36737. "type": "string"
  36738. },
  36739. "creaedate": {
  36740. "description": "创建时间",
  36741. "type": "string"
  36742. },
  36743. "id": {
  36744. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  36745. "type": "integer"
  36746. },
  36747. "istop": {
  36748. "description": "是否置顶 - 0:不置 1:置顶",
  36749. "type": "integer"
  36750. },
  36751. "publishdate": {
  36752. "description": "发布日期",
  36753. "type": "string"
  36754. },
  36755. "title": {
  36756. "description": "标题",
  36757. "type": "string"
  36758. },
  36759. "updatedate": {
  36760. "description": "修改时间",
  36761. "type": "string"
  36762. }
  36763. }
  36764. },
  36765. "models.WrSpecialMatchOrder": {
  36766. "type": "object",
  36767. "properties": {
  36768. "amount": {
  36769. "description": "金额 = 数量 * 价格",
  36770. "type": "number"
  36771. },
  36772. "buyorsell": {
  36773. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36774. "type": "integer"
  36775. },
  36776. "cancelqty": {
  36777. "description": "撤销数量",
  36778. "type": "number"
  36779. },
  36780. "deliverygoodscode": {
  36781. "description": "品种代码",
  36782. "type": "string"
  36783. },
  36784. "deliverygoodsid": {
  36785. "description": "品种ID",
  36786. "type": "integer"
  36787. },
  36788. "deliverygoodsname": {
  36789. "description": "品种名称",
  36790. "type": "string"
  36791. },
  36792. "enumdicname": {
  36793. "description": "单位名称",
  36794. "type": "string"
  36795. },
  36796. "fixedprice": {
  36797. "description": "固定价格(价格)",
  36798. "type": "number"
  36799. },
  36800. "haswr": {
  36801. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36802. "type": "integer"
  36803. },
  36804. "isspecified": {
  36805. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  36806. "type": "integer"
  36807. },
  36808. "marketid": {
  36809. "description": "市场ID",
  36810. "type": "integer"
  36811. },
  36812. "matchuserid": {
  36813. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  36814. "type": "integer"
  36815. },
  36816. "matchusername": {
  36817. "description": "指定方",
  36818. "type": "string"
  36819. },
  36820. "minivalue": {
  36821. "description": "现货商品最小变动值",
  36822. "type": "integer"
  36823. },
  36824. "optioncompare": {
  36825. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36826. "type": "string"
  36827. },
  36828. "orderqty": {
  36829. "description": "委托数量",
  36830. "type": "number"
  36831. },
  36832. "ordertime": {
  36833. "description": "委托时间",
  36834. "type": "string"
  36835. },
  36836. "pricemove": {
  36837. "description": "升贴水(浮动价时填写) - [挂牌]",
  36838. "type": "number"
  36839. },
  36840. "tradedate": {
  36841. "description": "交易日(yyyyMMdd)",
  36842. "type": "string"
  36843. },
  36844. "tradeprice": {
  36845. "description": "成交价格",
  36846. "type": "number"
  36847. },
  36848. "tradeqty": {
  36849. "description": "成交数量",
  36850. "type": "number"
  36851. },
  36852. "userid": {
  36853. "description": "用户ID",
  36854. "type": "integer"
  36855. },
  36856. "username": {
  36857. "description": "发起方",
  36858. "type": "string"
  36859. },
  36860. "warehouseid": {
  36861. "description": "仓库ID",
  36862. "type": "integer"
  36863. },
  36864. "warehousename": {
  36865. "description": "仓库名称",
  36866. "type": "string"
  36867. },
  36868. "wrfactortypeid": {
  36869. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36870. "type": "string"
  36871. },
  36872. "wrfactortypename": {
  36873. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36874. "type": "string"
  36875. },
  36876. "wrpricetype": {
  36877. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36878. "type": "integer"
  36879. },
  36880. "wrstandardcode": {
  36881. "description": "现货商品代码",
  36882. "type": "string"
  36883. },
  36884. "wrstandardid": {
  36885. "description": "现货商品ID",
  36886. "type": "integer"
  36887. },
  36888. "wrstandardname": {
  36889. "description": "商品名称",
  36890. "type": "string"
  36891. },
  36892. "wrtradeorderid": {
  36893. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36894. "type": "string"
  36895. },
  36896. "wrtradeorderstatus": {
  36897. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  36898. "type": "integer"
  36899. },
  36900. "wrtradetype": {
  36901. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36902. "type": "integer"
  36903. },
  36904. "wrtypename": {
  36905. "description": "商品",
  36906. "type": "string"
  36907. }
  36908. }
  36909. },
  36910. "models.WrSpotGroupTradeSum": {
  36911. "type": "object",
  36912. "properties": {
  36913. "deliverygoodscode": {
  36914. "description": "现货品种代码",
  36915. "type": "string"
  36916. },
  36917. "deliverygoodsid": {
  36918. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36919. "type": "integer"
  36920. },
  36921. "deliverygoodsname": {
  36922. "description": "现货品种名称",
  36923. "type": "string"
  36924. },
  36925. "lastavgprice": {
  36926. "description": "上上个交易日价格(前2天价格)",
  36927. "type": "string"
  36928. },
  36929. "lastreckondate": {
  36930. "description": "上上个交易日(前2天交易日)",
  36931. "type": "string"
  36932. },
  36933. "reckondate": {
  36934. "description": "上个交易日(前1天交易日)",
  36935. "type": "string"
  36936. },
  36937. "todayavgprice": {
  36938. "description": "上个交易日价格(前1天价格)",
  36939. "type": "string"
  36940. },
  36941. "updown": {
  36942. "description": "涨跌",
  36943. "type": "string"
  36944. },
  36945. "updownratio": {
  36946. "description": "涨幅(已格式化, 直接显示即可)",
  36947. "type": "string"
  36948. }
  36949. }
  36950. },
  36951. "models.WrSpotGroupTradeSumDetail": {
  36952. "type": "object",
  36953. "properties": {
  36954. "deliverygoodsid": {
  36955. "description": "现货商品id",
  36956. "type": "integer"
  36957. },
  36958. "price": {
  36959. "description": "价格",
  36960. "type": "number"
  36961. },
  36962. "reckondate": {
  36963. "description": "日期(yyymmdd, 如:20211031)",
  36964. "type": "string"
  36965. }
  36966. }
  36967. },
  36968. "models.WrSpotGroupTradeSumEx": {
  36969. "type": "object",
  36970. "properties": {
  36971. "lst": {
  36972. "description": "指数列表",
  36973. "type": "array",
  36974. "items": {
  36975. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  36976. }
  36977. },
  36978. "prereckondate": {
  36979. "description": "上上个交易日(yyymmdd)",
  36980. "type": "string"
  36981. },
  36982. "reckondate": {
  36983. "description": "上个交易日(yyyymmdd)",
  36984. "type": "string"
  36985. }
  36986. }
  36987. },
  36988. "models.WrStandardFactoryItem": {
  36989. "type": "object",
  36990. "properties": {
  36991. "dgfactoryitemid": {
  36992. "description": "选择项id",
  36993. "type": "integer"
  36994. },
  36995. "dgfactoryitemvalue": {
  36996. "description": "要素项值",
  36997. "type": "string"
  36998. },
  36999. "warehouseid": {
  37000. "description": "仓库id",
  37001. "type": "integer"
  37002. }
  37003. }
  37004. },
  37005. "models.WrStandardFactoryItemEx": {
  37006. "type": "object",
  37007. "properties": {
  37008. "dgfactoryitemtypeid": {
  37009. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  37010. "type": "integer"
  37011. },
  37012. "itemlst": {
  37013. "description": "要素项列表",
  37014. "type": "array",
  37015. "items": {
  37016. "$ref": "#/definitions/models.WrStandardFactoryItem"
  37017. }
  37018. },
  37019. "itemtypename": {
  37020. "description": "要素项类型名称",
  37021. "type": "string"
  37022. },
  37023. "wrstandardid": {
  37024. "description": "品类",
  37025. "type": "integer"
  37026. }
  37027. }
  37028. },
  37029. "models.WrTradeDetail": {
  37030. "type": "object",
  37031. "properties": {
  37032. "accountid": {
  37033. "description": "资金账号",
  37034. "type": "integer"
  37035. },
  37036. "begindate": {
  37037. "description": "开始交易日(yyyymmdd)",
  37038. "type": "string"
  37039. },
  37040. "buyorsell": {
  37041. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  37042. "type": "integer"
  37043. },
  37044. "chargevalue": {
  37045. "description": "手续费",
  37046. "type": "number"
  37047. },
  37048. "deliverygoodscode": {
  37049. "description": "品种代码",
  37050. "type": "string"
  37051. },
  37052. "deliverygoodsid": {
  37053. "description": "品种ID",
  37054. "type": "integer"
  37055. },
  37056. "deliverygoodsname": {
  37057. "description": "品种名称",
  37058. "type": "string"
  37059. },
  37060. "deliverymonth": {
  37061. "description": "交收月",
  37062. "type": "string"
  37063. },
  37064. "enddate": {
  37065. "description": "结束交易日(yyyymmdd)",
  37066. "type": "string"
  37067. },
  37068. "enumdicname": {
  37069. "description": "单位名称",
  37070. "type": "string"
  37071. },
  37072. "haswr": {
  37073. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  37074. "type": "integer"
  37075. },
  37076. "marketid": {
  37077. "description": "市场ID",
  37078. "type": "integer"
  37079. },
  37080. "matchaccountid": {
  37081. "description": "对手账号",
  37082. "type": "integer"
  37083. },
  37084. "matchusername": {
  37085. "description": "对手方",
  37086. "type": "string"
  37087. },
  37088. "minivalue": {
  37089. "description": "现货商品最小变动值",
  37090. "type": "integer"
  37091. },
  37092. "optioncompare": {
  37093. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37094. "type": "string"
  37095. },
  37096. "tradedate": {
  37097. "description": "交易日(yyyyMMdd)",
  37098. "type": "string"
  37099. },
  37100. "tradeprice": {
  37101. "description": "成交价格",
  37102. "type": "number"
  37103. },
  37104. "tradeqty": {
  37105. "description": "成交数量",
  37106. "type": "number"
  37107. },
  37108. "tradetime": {
  37109. "description": "成交时间",
  37110. "type": "string"
  37111. },
  37112. "userid": {
  37113. "description": "用户ID",
  37114. "type": "integer"
  37115. },
  37116. "warehouseid": {
  37117. "description": "仓库ID",
  37118. "type": "integer"
  37119. },
  37120. "warehousename": {
  37121. "description": "仓库名称",
  37122. "type": "string"
  37123. },
  37124. "wrfactortypeid": {
  37125. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37126. "type": "string"
  37127. },
  37128. "wrfactortypename": {
  37129. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37130. "type": "string"
  37131. },
  37132. "wrstandardcode": {
  37133. "description": "现货商品代码",
  37134. "type": "string"
  37135. },
  37136. "wrstandardid": {
  37137. "description": "现货商品ID",
  37138. "type": "integer"
  37139. },
  37140. "wrstandardname": {
  37141. "description": "商品名称",
  37142. "type": "string"
  37143. },
  37144. "wrtradedetailid": {
  37145. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  37146. "type": "string"
  37147. },
  37148. "wrtradetype": {
  37149. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  37150. "type": "integer"
  37151. },
  37152. "wrtypename": {
  37153. "description": "商品",
  37154. "type": "string"
  37155. }
  37156. }
  37157. },
  37158. "models.WrTradeOrderDetail": {
  37159. "type": "object",
  37160. "properties": {
  37161. "buyorsell": {
  37162. "description": "买卖方向 0-买 1-卖",
  37163. "type": "integer"
  37164. },
  37165. "goodsid": {
  37166. "description": "商品id",
  37167. "type": "integer"
  37168. },
  37169. "orderid": {
  37170. "description": "委托单号",
  37171. "type": "string"
  37172. },
  37173. "orderprice": {
  37174. "description": "委托价格",
  37175. "type": "number"
  37176. },
  37177. "orderqty": {
  37178. "description": "委托数量",
  37179. "type": "integer"
  37180. },
  37181. "userid": {
  37182. "description": "用户id",
  37183. "type": "integer"
  37184. },
  37185. "username": {
  37186. "description": "用户名称(已脱敏)",
  37187. "type": "string"
  37188. }
  37189. }
  37190. },
  37191. "models.WrTypeItem": {
  37192. "type": "object",
  37193. "properties": {
  37194. "name": {
  37195. "description": "名称",
  37196. "type": "string"
  37197. },
  37198. "value": {
  37199. "description": "值",
  37200. "type": "string"
  37201. }
  37202. }
  37203. },
  37204. "models.WrUserFriend": {
  37205. "type": "object",
  37206. "properties": {
  37207. "friendname": {
  37208. "description": "朋友名称(已脱敏)",
  37209. "type": "string"
  37210. },
  37211. "frienduserid": {
  37212. "description": "朋友id",
  37213. "type": "integer"
  37214. },
  37215. "isfriend": {
  37216. "description": "是否好友 0-不是 1-是",
  37217. "type": "integer"
  37218. },
  37219. "userid": {
  37220. "description": "用户id",
  37221. "type": "integer"
  37222. }
  37223. }
  37224. },
  37225. "models.WrUserReceiptInfo": {
  37226. "type": "object",
  37227. "properties": {
  37228. "address": {
  37229. "description": "地址[发票类型:企业]",
  37230. "type": "string"
  37231. },
  37232. "autoid": {
  37233. "description": "AutoID",
  37234. "type": "integer"
  37235. },
  37236. "contactinfo": {
  37237. "description": "联系方式",
  37238. "type": "string"
  37239. },
  37240. "idnum": {
  37241. "description": "身份证号码[发票类型:个人]",
  37242. "type": "string"
  37243. },
  37244. "isdefault": {
  37245. "description": "是否默认地址 - 0:否 1:是",
  37246. "type": "integer"
  37247. },
  37248. "receiptaccount": {
  37249. "description": "发票帐号[发票类型:企业]",
  37250. "type": "string"
  37251. },
  37252. "receiptbank": {
  37253. "description": "发票开户行[发票类型:企业]",
  37254. "type": "string"
  37255. },
  37256. "receipttype": {
  37257. "description": "发票类型 - 1:个人 2:企业",
  37258. "type": "integer"
  37259. },
  37260. "taxpayerid": {
  37261. "description": "纳税人识别号",
  37262. "type": "string"
  37263. },
  37264. "userid": {
  37265. "description": "用户ID",
  37266. "type": "integer"
  37267. },
  37268. "username": {
  37269. "description": "户名(个人姓名或企业名称)",
  37270. "type": "string"
  37271. }
  37272. }
  37273. },
  37274. "models.XHBRAND": {
  37275. "type": "object",
  37276. "properties": {
  37277. "brandid": {
  37278. "description": "品牌id",
  37279. "type": "integer"
  37280. },
  37281. "brandname": {
  37282. "description": "品牌名称",
  37283. "type": "string"
  37284. },
  37285. "isvalid": {
  37286. "description": "是否有效 0-无效 1-有效",
  37287. "type": "integer"
  37288. }
  37289. }
  37290. },
  37291. "models.XHDeliveryGoods": {
  37292. "type": "object",
  37293. "properties": {
  37294. "areauserid": {
  37295. "description": "所属机构",
  37296. "type": "integer"
  37297. },
  37298. "bdlst": {
  37299. "description": "品牌列表",
  37300. "type": "array",
  37301. "items": {
  37302. "$ref": "#/definitions/models.XHBRAND"
  37303. }
  37304. },
  37305. "deliverygoodscode": {
  37306. "description": "现货品种代码",
  37307. "type": "string"
  37308. },
  37309. "deliverygoodsid": {
  37310. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  37311. "type": "integer"
  37312. },
  37313. "deliverygoodsname": {
  37314. "description": "现货品种名称",
  37315. "type": "string"
  37316. },
  37317. "dgstatus": {
  37318. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  37319. "type": "integer"
  37320. },
  37321. "filterSubEmpty": {
  37322. "description": "过滤下级为空的",
  37323. "type": "integer"
  37324. },
  37325. "isvalid": {
  37326. "description": "是否有效 - 0:无效 1:有效",
  37327. "type": "integer"
  37328. },
  37329. "remark": {
  37330. "description": "备注",
  37331. "type": "string"
  37332. },
  37333. "unitid": {
  37334. "description": "单位id(目前看,数据库中是空值)",
  37335. "type": "integer"
  37336. },
  37337. "wdlst": {
  37338. "description": "品类(现货商品)列表",
  37339. "type": "array",
  37340. "items": {
  37341. "$ref": "#/definitions/models.XHWrstandard"
  37342. }
  37343. }
  37344. }
  37345. },
  37346. "models.XHMiddleGoods": {
  37347. "type": "object",
  37348. "properties": {
  37349. "GPLST": {
  37350. "description": "期货品种列表",
  37351. "type": "array",
  37352. "items": {
  37353. "$ref": "#/definitions/models.TBGoodsGroup"
  37354. }
  37355. },
  37356. "convertratio": {
  37357. "description": "拆算系数",
  37358. "type": "number"
  37359. },
  37360. "costratio": {
  37361. "description": "成本权重",
  37362. "type": "number"
  37363. },
  37364. "deliverygoodsid": {
  37365. "description": "现货商品id",
  37366. "type": "integer"
  37367. },
  37368. "enumdicname": {
  37369. "description": "单位名称",
  37370. "type": "string"
  37371. },
  37372. "middlegoodscode": {
  37373. "description": "套保品种代码",
  37374. "type": "string"
  37375. },
  37376. "middlegoodsid": {
  37377. "description": "套保品种id",
  37378. "type": "integer"
  37379. },
  37380. "middlegoodsname": {
  37381. "description": "套保品种名称",
  37382. "type": "string"
  37383. },
  37384. "unitid": {
  37385. "description": "单位id",
  37386. "type": "integer"
  37387. }
  37388. }
  37389. },
  37390. "models.XHWrstandard": {
  37391. "type": "object",
  37392. "properties": {
  37393. "bannerpicurl": {
  37394. "description": "banner图",
  37395. "type": "string"
  37396. },
  37397. "deliverygoodsid": {
  37398. "description": "品种ID",
  37399. "type": "integer"
  37400. },
  37401. "enumdicname": {
  37402. "description": "单位名称",
  37403. "type": "string"
  37404. },
  37405. "mglst": {
  37406. "description": "套保品列表",
  37407. "type": "array",
  37408. "items": {
  37409. "$ref": "#/definitions/models.XHMiddleGoods"
  37410. }
  37411. },
  37412. "pictureurls": {
  37413. "description": "详情图片(逗号分隔)",
  37414. "type": "string"
  37415. },
  37416. "thumurls": {
  37417. "description": "缩略图片(1:1)(逗号分隔)",
  37418. "type": "string"
  37419. },
  37420. "unitid": {
  37421. "description": "单位id",
  37422. "type": "integer"
  37423. },
  37424. "vatrate": {
  37425. "description": "增值税率",
  37426. "type": "number"
  37427. },
  37428. "wrstandardcode": {
  37429. "description": "现货商品代码",
  37430. "type": "string"
  37431. },
  37432. "wrstandardid": {
  37433. "description": "现货商品ID(SEQ_WRSTANDARD)",
  37434. "type": "integer"
  37435. },
  37436. "wrstandardname": {
  37437. "description": "现货商品名称",
  37438. "type": "string"
  37439. }
  37440. }
  37441. },
  37442. "order.QueryHisTradeDetailRsp": {
  37443. "type": "object",
  37444. "required": [
  37445. "accountid",
  37446. "buyorsell",
  37447. "goodsid",
  37448. "histradedate",
  37449. "marketid",
  37450. "memberuserid",
  37451. "orderid",
  37452. "tradeamount",
  37453. "tradedate",
  37454. "tradeid",
  37455. "tradeprice",
  37456. "tradeqty",
  37457. "tradetime"
  37458. ],
  37459. "properties": {
  37460. "accountid": {
  37461. "description": "账户ID[报价币种]",
  37462. "type": "integer"
  37463. },
  37464. "advanceratio": {
  37465. "description": "首付比率",
  37466. "type": "number"
  37467. },
  37468. "buildtype": {
  37469. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  37470. "type": "integer"
  37471. },
  37472. "buyorsell": {
  37473. "description": "方向 - 0:买 1:卖",
  37474. "type": "integer"
  37475. },
  37476. "charge": {
  37477. "description": "手续费",
  37478. "type": "number"
  37479. },
  37480. "closecharge": {
  37481. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37482. "type": "number"
  37483. },
  37484. "closeexchagechargevalue": {
  37485. "description": "平仓交易所手续费设置值",
  37486. "type": "number"
  37487. },
  37488. "closefeealgorithm": {
  37489. "description": "平仓手续费收取方式 1:比率 2:固定",
  37490. "type": "integer"
  37491. },
  37492. "closememberchargevalue": {
  37493. "description": "平仓会员手续费设置值",
  37494. "type": "number"
  37495. },
  37496. "closepl": {
  37497. "description": "平仓盈亏",
  37498. "type": "number"
  37499. },
  37500. "closepl2": {
  37501. "description": "平仓盈亏[逐笔]",
  37502. "type": "number"
  37503. },
  37504. "closeqty": {
  37505. "description": "平仓数量(先建后平操作 需要记录)",
  37506. "type": "number"
  37507. },
  37508. "creditamount": {
  37509. "description": "授信金额",
  37510. "type": "number"
  37511. },
  37512. "decimalplace": {
  37513. "description": "商品报价小数位",
  37514. "type": "integer"
  37515. },
  37516. "enumdicname": {
  37517. "description": "单位名称",
  37518. "type": "string"
  37519. },
  37520. "gcaccountid": {
  37521. "description": "账户ID[合约币种]",
  37522. "type": "integer"
  37523. },
  37524. "goodscode": {
  37525. "description": "商品代码",
  37526. "type": "string"
  37527. },
  37528. "goodsid": {
  37529. "description": "商品ID",
  37530. "type": "integer"
  37531. },
  37532. "goodsname": {
  37533. "description": "商品名称",
  37534. "type": "string"
  37535. },
  37536. "goodunitid": {
  37537. "description": "商品单位id",
  37538. "type": "integer"
  37539. },
  37540. "histradedate": {
  37541. "description": "历史交易日",
  37542. "type": "string"
  37543. },
  37544. "intclosepl": {
  37545. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  37546. "type": "integer"
  37547. },
  37548. "isconfirmexercise": {
  37549. "description": "是否确认行权- 0:否 1:是",
  37550. "type": "integer"
  37551. },
  37552. "ismain": {
  37553. "description": "是否主单 - 0:不是 1:是",
  37554. "type": "integer"
  37555. },
  37556. "ispreexercise": {
  37557. "description": "是否预申报- 0:否 1:是",
  37558. "type": "integer"
  37559. },
  37560. "isreckoned": {
  37561. "description": "是否结算 - 0:未结算 1:已结算",
  37562. "type": "integer"
  37563. },
  37564. "isvaliddata": {
  37565. "description": "是否有效 - 0:无效 1:有效",
  37566. "type": "integer"
  37567. },
  37568. "listingselecttype": {
  37569. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37570. "type": "integer"
  37571. },
  37572. "marketid": {
  37573. "description": "市场ID",
  37574. "type": "integer"
  37575. },
  37576. "marketname": {
  37577. "description": "市场名称",
  37578. "type": "string"
  37579. },
  37580. "matchaccountid": {
  37581. "description": "对手账号id",
  37582. "type": "integer"
  37583. },
  37584. "memberuserid": {
  37585. "description": "会员id 个人投资者 需要填写",
  37586. "type": "integer"
  37587. },
  37588. "opencharge": {
  37589. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37590. "type": "number"
  37591. },
  37592. "openexchagechargevalue": {
  37593. "description": "建仓交易所手续费设置值",
  37594. "type": "number"
  37595. },
  37596. "openfeealgorithm": {
  37597. "description": "建仓手续费收取方式 1:比率 2:固定",
  37598. "type": "integer"
  37599. },
  37600. "openmemberchargevalue": {
  37601. "description": "建仓会员手续费设置值",
  37602. "type": "number"
  37603. },
  37604. "openqty": {
  37605. "description": "开仓数量(先建后平操作 需要记录)",
  37606. "type": "number"
  37607. },
  37608. "optiontype": {
  37609. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37610. "type": "integer"
  37611. },
  37612. "orderid": {
  37613. "description": "委托单号",
  37614. "type": "string"
  37615. },
  37616. "payamount": {
  37617. "description": "支付金额(付款金额)",
  37618. "type": "number"
  37619. },
  37620. "performanceplanid": {
  37621. "description": "履约计划ID[期权]",
  37622. "type": "integer"
  37623. },
  37624. "performancestatus": {
  37625. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  37626. "type": "integer"
  37627. },
  37628. "preexerciseprice": {
  37629. "description": "预申报价格",
  37630. "type": "number"
  37631. },
  37632. "premium": {
  37633. "description": "权利金 - [持仓单的权利金]",
  37634. "type": "number"
  37635. },
  37636. "qtydecimalplace": {
  37637. "description": "商品报价小数位",
  37638. "type": "integer"
  37639. },
  37640. "recvamount": {
  37641. "description": "到账金额 = 成交金额 - 手续费",
  37642. "type": "number"
  37643. },
  37644. "relatedouttradeid": {
  37645. "description": "关联外部成交单ID",
  37646. "type": "integer"
  37647. },
  37648. "status": {
  37649. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  37650. "type": "integer"
  37651. },
  37652. "totalamount": {
  37653. "description": "订单总额 = 成交金额 + 手续费",
  37654. "type": "number"
  37655. },
  37656. "tradeamount": {
  37657. "description": "成交金额[账户币种,用于所有权]",
  37658. "type": "number"
  37659. },
  37660. "tradedate": {
  37661. "description": "交易日(yyyyMMdd)",
  37662. "type": "string"
  37663. },
  37664. "tradeid": {
  37665. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37666. "type": "string"
  37667. },
  37668. "trademode": {
  37669. "description": "交易模式",
  37670. "type": "integer"
  37671. },
  37672. "tradeprice": {
  37673. "description": "成交价格",
  37674. "type": "number"
  37675. },
  37676. "tradeproperty": {
  37677. "description": "交易属性",
  37678. "type": "integer"
  37679. },
  37680. "tradeqty": {
  37681. "description": "成交数量",
  37682. "type": "number"
  37683. },
  37684. "tradetime": {
  37685. "description": "成交时间",
  37686. "type": "string"
  37687. },
  37688. "tradetype": {
  37689. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37690. "type": "integer"
  37691. }
  37692. }
  37693. },
  37694. "order.QueryHisTradeOrderDetailRsp": {
  37695. "type": "object",
  37696. "required": [
  37697. "accountid",
  37698. "buildtype",
  37699. "buyorsell",
  37700. "goodsid",
  37701. "histradedate",
  37702. "marketid",
  37703. "memberuserid",
  37704. "operatetype",
  37705. "orderid",
  37706. "orderqty",
  37707. "ordertime",
  37708. "pricemode",
  37709. "tradedate",
  37710. "validtype"
  37711. ],
  37712. "properties": {
  37713. "accountid": {
  37714. "description": "账户ID[报价币种]",
  37715. "type": "integer"
  37716. },
  37717. "buildtype": {
  37718. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37719. "type": "integer"
  37720. },
  37721. "buyorsell": {
  37722. "description": "买卖 - 0:买 1:卖",
  37723. "type": "integer"
  37724. },
  37725. "cancelorderid": {
  37726. "description": "撤单单号(撤单时填写)",
  37727. "type": "string"
  37728. },
  37729. "cancelqty": {
  37730. "description": "撤单数量",
  37731. "type": "number"
  37732. },
  37733. "clientordertime": {
  37734. "description": "客户端委托时间",
  37735. "type": "string"
  37736. },
  37737. "clientticket": {
  37738. "description": "客户端流水号",
  37739. "type": "string"
  37740. },
  37741. "clienttype": {
  37742. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37743. "type": "integer"
  37744. },
  37745. "closeexchagechargevalue": {
  37746. "description": "平仓交易所手续费设置值",
  37747. "type": "number"
  37748. },
  37749. "closefeealgorithm": {
  37750. "description": "平仓手续费收取方式 1:比率 2:固定",
  37751. "type": "integer"
  37752. },
  37753. "closefreezecharge": {
  37754. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  37755. "type": "number"
  37756. },
  37757. "closememberchargevalue": {
  37758. "description": "平仓会员手续费设置值",
  37759. "type": "number"
  37760. },
  37761. "closeqty": {
  37762. "description": "平仓数量(先建后平操作 需要记录)",
  37763. "type": "number"
  37764. },
  37765. "closetradeqty": {
  37766. "description": "平仓成交数量(先建后平操作,需要记录)",
  37767. "type": "number"
  37768. },
  37769. "closeunfreezecharge": {
  37770. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  37771. "type": "number"
  37772. },
  37773. "decimalplace": {
  37774. "description": "商品报价小数位",
  37775. "type": "integer"
  37776. },
  37777. "delistingtype": {
  37778. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  37779. "type": "integer"
  37780. },
  37781. "enumdicname": {
  37782. "description": "单位名称",
  37783. "type": "string"
  37784. },
  37785. "freezecharge": {
  37786. "description": "冻结手续费",
  37787. "type": "number"
  37788. },
  37789. "freezemargin": {
  37790. "description": "冻结保证金(冻结交易金额)",
  37791. "type": "number"
  37792. },
  37793. "gcaccountid": {
  37794. "description": "账户ID[合约币种]",
  37795. "type": "integer"
  37796. },
  37797. "goodscode": {
  37798. "description": "商品代码",
  37799. "type": "string"
  37800. },
  37801. "goodsid": {
  37802. "description": "商品ID",
  37803. "type": "integer"
  37804. },
  37805. "goodsname": {
  37806. "description": "商品名称",
  37807. "type": "string"
  37808. },
  37809. "goodunitid": {
  37810. "description": "商品单位id",
  37811. "type": "integer"
  37812. },
  37813. "histradedate": {
  37814. "description": "历史交易日",
  37815. "type": "string"
  37816. },
  37817. "isconfirmexercise": {
  37818. "description": "是否确认行权- 0:否 1:是",
  37819. "type": "integer"
  37820. },
  37821. "ispreexercise": {
  37822. "description": "是否预申报- 0:否 1:是",
  37823. "type": "integer"
  37824. },
  37825. "isvaliddata": {
  37826. "description": "是否有效 - 0:无效 1:有效",
  37827. "type": "integer"
  37828. },
  37829. "listingselecttype": {
  37830. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37831. "type": "integer"
  37832. },
  37833. "marginalgorithm": {
  37834. "description": "保证金收取方式 1:比率 2:固定",
  37835. "type": "integer"
  37836. },
  37837. "marginvalue": {
  37838. "description": "即市保证金设置值",
  37839. "type": "number"
  37840. },
  37841. "marketid": {
  37842. "description": "市场ID",
  37843. "type": "integer"
  37844. },
  37845. "marketmaxsub": {
  37846. "description": "市价最大偏移范围",
  37847. "type": "number"
  37848. },
  37849. "marketname": {
  37850. "description": "市场名称",
  37851. "type": "string"
  37852. },
  37853. "memberuserid": {
  37854. "description": "所属会员UserID",
  37855. "type": "integer"
  37856. },
  37857. "openexchagechargevalue": {
  37858. "description": "建仓交易所手续费设置值",
  37859. "type": "number"
  37860. },
  37861. "openfeealgorithm": {
  37862. "description": "建仓手续费收取方式 1:比率 2:固定",
  37863. "type": "integer"
  37864. },
  37865. "openfreezecharge": {
  37866. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  37867. "type": "number"
  37868. },
  37869. "openmemberchargevalue": {
  37870. "description": "建仓会员手续费设置值",
  37871. "type": "number"
  37872. },
  37873. "openqty": {
  37874. "description": "开仓数量(先建后平操作,需要记录)",
  37875. "type": "number"
  37876. },
  37877. "opentradeqty": {
  37878. "description": "开仓成交数量(先建后平操作,需要记录)",
  37879. "type": "number"
  37880. },
  37881. "openunfreezecharge": {
  37882. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  37883. "type": "number"
  37884. },
  37885. "operatetype": {
  37886. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  37887. "type": "integer"
  37888. },
  37889. "operatorid": {
  37890. "description": "登录账号(LoginID)",
  37891. "type": "integer"
  37892. },
  37893. "optiontype": {
  37894. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37895. "type": "integer"
  37896. },
  37897. "orderid": {
  37898. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37899. "type": "string"
  37900. },
  37901. "orderprice": {
  37902. "description": "委托价格",
  37903. "type": "number"
  37904. },
  37905. "orderqty": {
  37906. "description": "委托数量",
  37907. "type": "number"
  37908. },
  37909. "ordersrc": {
  37910. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  37911. "type": "integer"
  37912. },
  37913. "orderstatus": {
  37914. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37915. "type": "integer"
  37916. },
  37917. "ordertime": {
  37918. "description": "委托时间",
  37919. "type": "string"
  37920. },
  37921. "preexerciseprice": {
  37922. "description": "预申报价格",
  37923. "type": "number"
  37924. },
  37925. "premium": {
  37926. "description": "权利金",
  37927. "type": "number"
  37928. },
  37929. "preorderid": {
  37930. "description": "关联预埋单号(止盈止损单时填写)",
  37931. "type": "string"
  37932. },
  37933. "pricemode": {
  37934. "description": "取价方式 - 1:市价 2: 限价",
  37935. "type": "integer"
  37936. },
  37937. "qtydecimalplace": {
  37938. "description": "成交量小数位",
  37939. "type": "integer"
  37940. },
  37941. "quoteid": {
  37942. "description": "报价单ID",
  37943. "type": "integer"
  37944. },
  37945. "relatedid": {
  37946. "description": "关联单号(交割单)",
  37947. "type": "string"
  37948. },
  37949. "retcode": {
  37950. "description": "错误代码",
  37951. "type": "integer"
  37952. },
  37953. "sessionid": {
  37954. "description": "会话ID",
  37955. "type": "integer"
  37956. },
  37957. "tradedate": {
  37958. "description": "交易日(yyyyMMdd)",
  37959. "type": "string"
  37960. },
  37961. "trademode": {
  37962. "description": "交易模式",
  37963. "type": "integer"
  37964. },
  37965. "tradeproperty": {
  37966. "description": "交易属性",
  37967. "type": "integer"
  37968. },
  37969. "tradeqty": {
  37970. "description": "成交数量",
  37971. "type": "number"
  37972. },
  37973. "unfreezecharge": {
  37974. "description": "解冻手续费",
  37975. "type": "number"
  37976. },
  37977. "unfreezemargin": {
  37978. "description": "解冻保证金",
  37979. "type": "number"
  37980. },
  37981. "updatetime": {
  37982. "description": "更新时间",
  37983. "type": "string"
  37984. },
  37985. "uuid": {
  37986. "description": "发起端唯一id",
  37987. "type": "string"
  37988. },
  37989. "validtime": {
  37990. "description": "有效期限",
  37991. "type": "string"
  37992. },
  37993. "validtype": {
  37994. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37995. "type": "integer"
  37996. },
  37997. "volumetype": {
  37998. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37999. "type": "integer"
  38000. }
  38001. }
  38002. },
  38003. "order.QueryTradeDetailRsp": {
  38004. "type": "object",
  38005. "required": [
  38006. "accountid",
  38007. "buyorsell",
  38008. "goodsid",
  38009. "marketid",
  38010. "memberuserid",
  38011. "orderid",
  38012. "tradeamount",
  38013. "tradedate",
  38014. "tradeid",
  38015. "tradeprice",
  38016. "tradeqty",
  38017. "tradetime"
  38018. ],
  38019. "properties": {
  38020. "accountid": {
  38021. "description": "账户ID[报价币种]",
  38022. "type": "integer"
  38023. },
  38024. "advanceratio": {
  38025. "description": "首付比率",
  38026. "type": "number"
  38027. },
  38028. "buildtype": {
  38029. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  38030. "type": "integer"
  38031. },
  38032. "buyorsell": {
  38033. "description": "方向 - 0:买 1:卖",
  38034. "type": "integer"
  38035. },
  38036. "charge": {
  38037. "description": "手续费",
  38038. "type": "number"
  38039. },
  38040. "closecharge": {
  38041. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  38042. "type": "number"
  38043. },
  38044. "closeexchagechargevalue": {
  38045. "description": "平仓交易所手续费设置值",
  38046. "type": "number"
  38047. },
  38048. "closefeealgorithm": {
  38049. "description": "平仓手续费收取方式 1:比率 2:固定",
  38050. "type": "integer"
  38051. },
  38052. "closememberchargevalue": {
  38053. "description": "平仓会员手续费设置值",
  38054. "type": "number"
  38055. },
  38056. "closepl": {
  38057. "description": "平仓盈亏",
  38058. "type": "number"
  38059. },
  38060. "closepl2": {
  38061. "description": "平仓盈亏[逐笔]",
  38062. "type": "number"
  38063. },
  38064. "closeqty": {
  38065. "description": "平仓数量(先建后平操作 需要记录)",
  38066. "type": "number"
  38067. },
  38068. "creditamount": {
  38069. "description": "授信金额",
  38070. "type": "number"
  38071. },
  38072. "decimalplace": {
  38073. "description": "商品报价小数位",
  38074. "type": "integer"
  38075. },
  38076. "enumdicname": {
  38077. "description": "单位名称",
  38078. "type": "string"
  38079. },
  38080. "gcaccountid": {
  38081. "description": "账户ID[合约币种]",
  38082. "type": "integer"
  38083. },
  38084. "goodscode": {
  38085. "description": "商品代码",
  38086. "type": "string"
  38087. },
  38088. "goodsid": {
  38089. "description": "商品ID",
  38090. "type": "integer"
  38091. },
  38092. "goodsname": {
  38093. "description": "商品名称",
  38094. "type": "string"
  38095. },
  38096. "goodunitid": {
  38097. "description": "商品单位id",
  38098. "type": "integer"
  38099. },
  38100. "intclosepl": {
  38101. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  38102. "type": "integer"
  38103. },
  38104. "isconfirmexercise": {
  38105. "description": "是否确认行权- 0:否 1:是",
  38106. "type": "integer"
  38107. },
  38108. "ismain": {
  38109. "description": "是否主单 - 0:不是 1:是",
  38110. "type": "integer"
  38111. },
  38112. "ispreexercise": {
  38113. "description": "是否预申报- 0:否 1:是",
  38114. "type": "integer"
  38115. },
  38116. "isreckoned": {
  38117. "description": "是否结算 - 0:未结算 1:已结算",
  38118. "type": "integer"
  38119. },
  38120. "listingselecttype": {
  38121. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38122. "type": "integer"
  38123. },
  38124. "marketid": {
  38125. "description": "市场ID",
  38126. "type": "integer"
  38127. },
  38128. "marketname": {
  38129. "description": "市场名称",
  38130. "type": "string"
  38131. },
  38132. "matchaccountid": {
  38133. "description": "对手账号id",
  38134. "type": "integer"
  38135. },
  38136. "memberuserid": {
  38137. "description": "会员id 个人投资者 需要填写",
  38138. "type": "integer"
  38139. },
  38140. "opencharge": {
  38141. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  38142. "type": "number"
  38143. },
  38144. "openexchagechargevalue": {
  38145. "description": "建仓交易所手续费设置值",
  38146. "type": "number"
  38147. },
  38148. "openfeealgorithm": {
  38149. "description": "建仓手续费收取方式 1:比率 2:固定",
  38150. "type": "integer"
  38151. },
  38152. "openmemberchargevalue": {
  38153. "description": "建仓会员手续费设置值",
  38154. "type": "number"
  38155. },
  38156. "openqty": {
  38157. "description": "开仓数量(先建后平操作 需要记录)",
  38158. "type": "number"
  38159. },
  38160. "optiontype": {
  38161. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  38162. "type": "integer"
  38163. },
  38164. "orderid": {
  38165. "description": "委托单号",
  38166. "type": "string"
  38167. },
  38168. "payamount": {
  38169. "description": "支付金额(付款金额)",
  38170. "type": "number"
  38171. },
  38172. "performanceplanid": {
  38173. "description": "履约计划ID[期权]",
  38174. "type": "integer"
  38175. },
  38176. "performancestatus": {
  38177. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  38178. "type": "integer"
  38179. },
  38180. "preexerciseprice": {
  38181. "description": "预申报价格",
  38182. "type": "number"
  38183. },
  38184. "premium": {
  38185. "description": "权利金 - [持仓单的权利金]",
  38186. "type": "number"
  38187. },
  38188. "qtydecimalplace": {
  38189. "description": "商品报价小数位",
  38190. "type": "integer"
  38191. },
  38192. "recvamount": {
  38193. "description": "到账金额 = 成交金额 - 手续费",
  38194. "type": "number"
  38195. },
  38196. "relatedouttradeid": {
  38197. "description": "关联外部成交单ID",
  38198. "type": "integer"
  38199. },
  38200. "status": {
  38201. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  38202. "type": "integer"
  38203. },
  38204. "totalamount": {
  38205. "description": "订单总额 = 成交金额 + 手续费",
  38206. "type": "number"
  38207. },
  38208. "tradeamount": {
  38209. "description": "成交金额[账户币种,用于所有权]",
  38210. "type": "number"
  38211. },
  38212. "tradedate": {
  38213. "description": "交易日(yyyyMMdd)",
  38214. "type": "string"
  38215. },
  38216. "tradeid": {
  38217. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38218. "type": "string"
  38219. },
  38220. "trademode": {
  38221. "description": "交易模式",
  38222. "type": "integer"
  38223. },
  38224. "tradeprice": {
  38225. "description": "成交价格",
  38226. "type": "number"
  38227. },
  38228. "tradeproperty": {
  38229. "description": "交易属性",
  38230. "type": "integer"
  38231. },
  38232. "tradeqty": {
  38233. "description": "成交数量",
  38234. "type": "number"
  38235. },
  38236. "tradetime": {
  38237. "description": "成交时间",
  38238. "type": "string"
  38239. },
  38240. "tradetype": {
  38241. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  38242. "type": "integer"
  38243. }
  38244. }
  38245. },
  38246. "order.QueryTradeOrderDetailRsp": {
  38247. "type": "object",
  38248. "required": [
  38249. "accountid",
  38250. "buildtype",
  38251. "buyorsell",
  38252. "goodsid",
  38253. "marketid",
  38254. "operatetype",
  38255. "orderqty",
  38256. "ordertime",
  38257. "pricemode",
  38258. "tradedate",
  38259. "validtype"
  38260. ],
  38261. "properties": {
  38262. "accountid": {
  38263. "description": "账户ID[报价币种]",
  38264. "type": "integer"
  38265. },
  38266. "buildtype": {
  38267. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  38268. "type": "integer"
  38269. },
  38270. "buyorsell": {
  38271. "description": "买卖 - 0:买 1:卖",
  38272. "type": "integer"
  38273. },
  38274. "cancelorderid": {
  38275. "description": "撤单单号(撤单时填写)",
  38276. "type": "string"
  38277. },
  38278. "cancelqty": {
  38279. "description": "撤单数量",
  38280. "type": "number"
  38281. },
  38282. "clienttype": {
  38283. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  38284. "type": "integer"
  38285. },
  38286. "closefreezecharge": {
  38287. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  38288. "type": "number"
  38289. },
  38290. "closeqty": {
  38291. "description": "平仓数量(先建后平操作 需要记录)",
  38292. "type": "number"
  38293. },
  38294. "closetradeqty": {
  38295. "description": "平仓成交数量(先建后平操作,需要记录)",
  38296. "type": "number"
  38297. },
  38298. "closeunfreezecharge": {
  38299. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  38300. "type": "number"
  38301. },
  38302. "decimalplace": {
  38303. "description": "商品报价小数位",
  38304. "type": "integer"
  38305. },
  38306. "delistingtype": {
  38307. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  38308. "type": "integer"
  38309. },
  38310. "enableqty": {
  38311. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  38312. "type": "number"
  38313. },
  38314. "enumdicname": {
  38315. "description": "单位名称",
  38316. "type": "string"
  38317. },
  38318. "freezecharge": {
  38319. "description": "冻结手续费",
  38320. "type": "number"
  38321. },
  38322. "freezemargin": {
  38323. "description": "冻结保证金(冻结交易金额)",
  38324. "type": "number"
  38325. },
  38326. "goodscode": {
  38327. "description": "商品代码",
  38328. "type": "string"
  38329. },
  38330. "goodsid": {
  38331. "description": "商品ID",
  38332. "type": "integer"
  38333. },
  38334. "goodsname": {
  38335. "description": "商品名称",
  38336. "type": "string"
  38337. },
  38338. "goodunitid": {
  38339. "description": "商品单位id",
  38340. "type": "integer"
  38341. },
  38342. "listingselecttype": {
  38343. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38344. "type": "integer"
  38345. },
  38346. "marketid": {
  38347. "description": "市场ID",
  38348. "type": "integer"
  38349. },
  38350. "marketname": {
  38351. "description": "市场名称",
  38352. "type": "string"
  38353. },
  38354. "openfreezecharge": {
  38355. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  38356. "type": "number"
  38357. },
  38358. "openqty": {
  38359. "description": "开仓数量(先建后平操作,需要记录)",
  38360. "type": "number"
  38361. },
  38362. "opentradeqty": {
  38363. "description": "开仓成交数量(先建后平操作,需要记录)",
  38364. "type": "number"
  38365. },
  38366. "openunfreezecharge": {
  38367. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  38368. "type": "number"
  38369. },
  38370. "operatetype": {
  38371. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  38372. "type": "integer"
  38373. },
  38374. "operatorid": {
  38375. "description": "登录账号(LoginID)",
  38376. "type": "integer"
  38377. },
  38378. "orderid": {
  38379. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38380. "type": "string"
  38381. },
  38382. "orderprice": {
  38383. "description": "委托价格",
  38384. "type": "number"
  38385. },
  38386. "orderqty": {
  38387. "description": "委托数量",
  38388. "type": "number"
  38389. },
  38390. "ordersrc": {
  38391. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  38392. "type": "integer"
  38393. },
  38394. "orderstatus": {
  38395. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  38396. "type": "integer"
  38397. },
  38398. "ordertime": {
  38399. "description": "委托时间",
  38400. "type": "string"
  38401. },
  38402. "preorderid": {
  38403. "description": "关联预埋单号(止盈止损单时填写)",
  38404. "type": "string"
  38405. },
  38406. "pricemode": {
  38407. "description": "取价方式 - 1:市价 2: 限价",
  38408. "type": "integer"
  38409. },
  38410. "qtydecimalplace": {
  38411. "description": "商品报价小数位",
  38412. "type": "integer"
  38413. },
  38414. "relatedid": {
  38415. "description": "关联单号(交割单)",
  38416. "type": "string"
  38417. },
  38418. "tradedate": {
  38419. "description": "交易日(yyyyMMdd)",
  38420. "type": "string"
  38421. },
  38422. "trademode": {
  38423. "description": "交易模式",
  38424. "type": "integer"
  38425. },
  38426. "tradeqty": {
  38427. "description": "成交数量",
  38428. "type": "number"
  38429. },
  38430. "unfreezecharge": {
  38431. "description": "解冻手续费",
  38432. "type": "number"
  38433. },
  38434. "unfreezemargin": {
  38435. "description": "解冻保证金",
  38436. "type": "number"
  38437. },
  38438. "validtime": {
  38439. "description": "有效期限",
  38440. "type": "string"
  38441. },
  38442. "validtype": {
  38443. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  38444. "type": "integer"
  38445. },
  38446. "volumetype": {
  38447. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  38448. "type": "integer"
  38449. }
  38450. }
  38451. },
  38452. "order.QueryTradePositionRsp": {
  38453. "type": "object",
  38454. "required": [
  38455. "goodsid"
  38456. ],
  38457. "properties": {
  38458. "accountid": {
  38459. "description": "资金账户",
  38460. "type": "integer"
  38461. },
  38462. "agreeunit": {
  38463. "description": "合约单位",
  38464. "type": "number"
  38465. },
  38466. "averageprice": {
  38467. "description": "持仓均价",
  38468. "type": "number"
  38469. },
  38470. "buyorsell": {
  38471. "description": "方向 - 0:买 1:卖",
  38472. "type": "integer"
  38473. },
  38474. "closetotalqty": {
  38475. "description": "平仓总数量",
  38476. "type": "number"
  38477. },
  38478. "curholderamount": {
  38479. "description": "当前持仓总金额[商品币种]",
  38480. "type": "number"
  38481. },
  38482. "curpositionqty": {
  38483. "description": "当前持仓总数量",
  38484. "type": "number"
  38485. },
  38486. "currencyid": {
  38487. "description": "报价货币ID",
  38488. "type": "integer"
  38489. },
  38490. "curtdposition": {
  38491. "description": "期末今日头寸",
  38492. "type": "number"
  38493. },
  38494. "decimalplace": {
  38495. "description": "报价小数位",
  38496. "type": "integer"
  38497. },
  38498. "enableqty": {
  38499. "description": "可用量",
  38500. "type": "number"
  38501. },
  38502. "fretdposition": {
  38503. "description": "冻结今日头寸",
  38504. "type": "number"
  38505. },
  38506. "frozenqty": {
  38507. "description": "持仓冻结数量",
  38508. "type": "number"
  38509. },
  38510. "goodscode": {
  38511. "description": "商品代码",
  38512. "type": "string"
  38513. },
  38514. "goodsid": {
  38515. "description": "商品Id",
  38516. "type": "integer"
  38517. },
  38518. "goodsname": {
  38519. "description": "商品名称",
  38520. "type": "string"
  38521. },
  38522. "goodunit": {
  38523. "description": "报价单位",
  38524. "type": "string"
  38525. },
  38526. "goodunitid": {
  38527. "description": "报价单位ID",
  38528. "type": "integer"
  38529. },
  38530. "holderamount": {
  38531. "description": "期初持仓总金额[商品币种]",
  38532. "type": "number"
  38533. },
  38534. "lastprice": {
  38535. "description": "最新价",
  38536. "type": "number"
  38537. },
  38538. "marketamount": {
  38539. "description": "市值",
  38540. "type": "number"
  38541. },
  38542. "marketid": {
  38543. "description": "所属市场ID",
  38544. "type": "integer"
  38545. },
  38546. "openreqqty": {
  38547. "description": "开仓申请数量(用于比较最大持仓数量)",
  38548. "type": "number"
  38549. },
  38550. "opentotalqty": {
  38551. "description": "开仓总数量",
  38552. "type": "number"
  38553. },
  38554. "otherfrozenqty": {
  38555. "description": "持仓其他冻结数量(交割冻结)",
  38556. "type": "number"
  38557. },
  38558. "positionpl": {
  38559. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  38560. "type": "number"
  38561. },
  38562. "positionplrate": {
  38563. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  38564. "type": "number"
  38565. },
  38566. "positionqty": {
  38567. "description": "期初持仓数量",
  38568. "type": "number"
  38569. },
  38570. "qtydecimalplace": {
  38571. "description": "成交量小数位",
  38572. "type": "integer"
  38573. },
  38574. "refgoodscode": {
  38575. "description": "参考商品代码",
  38576. "type": "string"
  38577. },
  38578. "refgoodsid": {
  38579. "description": "参考商品ID",
  38580. "type": "integer"
  38581. },
  38582. "tnqty": {
  38583. "description": "T+N冻结总量",
  38584. "type": "number"
  38585. },
  38586. "tnusedqty": {
  38587. "description": "T+N使用量(可以使用T+N的冻结数量)",
  38588. "type": "number"
  38589. },
  38590. "trademode": {
  38591. "description": "交易模式",
  38592. "type": "integer"
  38593. },
  38594. "tradeproperty": {
  38595. "description": "交易属性",
  38596. "type": "integer"
  38597. },
  38598. "usedmargin": {
  38599. "description": "占用保证金[商品币种]",
  38600. "type": "number"
  38601. }
  38602. }
  38603. },
  38604. "pb.GoodsMarginCfgStruct": {
  38605. "type": "object",
  38606. "properties": {
  38607. "CustomerTypeID": {
  38608. "description": "投资者客户类型",
  38609. "type": "integer"
  38610. },
  38611. "GoodsID": {
  38612. "description": "商品ID",
  38613. "type": "integer"
  38614. },
  38615. "IsDefault": {
  38616. "description": "是否默认标志位",
  38617. "type": "integer"
  38618. },
  38619. "LockMarginValue": {
  38620. "description": "锁仓保证金",
  38621. "type": "number"
  38622. },
  38623. "MarginAlgorithm": {
  38624. "description": "保证金计算方式",
  38625. "type": "integer"
  38626. },
  38627. "MarketMarginValue": {
  38628. "description": "即市保证金值",
  38629. "type": "number"
  38630. },
  38631. "RealMarginAlgorithm": {
  38632. "description": "实付保证金计算方式",
  38633. "type": "integer"
  38634. },
  38635. "RealMarginValue": {
  38636. "description": "实付比例",
  38637. "type": "number"
  38638. },
  38639. "ReckonMarginValue": {
  38640. "description": "结算保证金值",
  38641. "type": "number"
  38642. }
  38643. }
  38644. },
  38645. "quote.HistoryData": {
  38646. "type": "object",
  38647. "properties": {
  38648. "c": {
  38649. "description": "收盘价",
  38650. "type": "number"
  38651. },
  38652. "f": {
  38653. "description": "是否补充数据",
  38654. "type": "boolean"
  38655. },
  38656. "h": {
  38657. "description": "最高价",
  38658. "type": "number"
  38659. },
  38660. "hv": {
  38661. "description": "持仓量",
  38662. "type": "integer"
  38663. },
  38664. "l": {
  38665. "description": "最低价",
  38666. "type": "number"
  38667. },
  38668. "o": {
  38669. "description": "开盘价",
  38670. "type": "number"
  38671. },
  38672. "s": {
  38673. "description": "结算价,日线周期(包括)以上才有",
  38674. "type": "number"
  38675. },
  38676. "ts": {
  38677. "description": "时间",
  38678. "type": "string"
  38679. },
  38680. "tt": {
  38681. "description": "总金额",
  38682. "type": "number"
  38683. },
  38684. "tv": {
  38685. "description": "总量(成交量)",
  38686. "type": "integer"
  38687. }
  38688. }
  38689. },
  38690. "quote.HistoryTikData": {
  38691. "type": "object",
  38692. "properties": {
  38693. "AV": {
  38694. "description": "卖量",
  38695. "type": "integer"
  38696. },
  38697. "Ask": {
  38698. "description": "卖价",
  38699. "type": "number"
  38700. },
  38701. "BV": {
  38702. "description": "买量",
  38703. "type": "integer"
  38704. },
  38705. "Bid": {
  38706. "description": "买价",
  38707. "type": "number"
  38708. },
  38709. "HI": {
  38710. "description": "单笔持仓",
  38711. "type": "integer"
  38712. },
  38713. "HV": {
  38714. "description": "持仓量",
  38715. "type": "integer"
  38716. },
  38717. "PE": {
  38718. "description": "现价",
  38719. "type": "number"
  38720. },
  38721. "TDR": {
  38722. "description": "交易方向,0:买 1:卖",
  38723. "type": "integer"
  38724. },
  38725. "TK": {
  38726. "description": "交易类型",
  38727. "type": "integer"
  38728. },
  38729. "TS": {
  38730. "description": "行情时间文本",
  38731. "type": "string"
  38732. },
  38733. "TT": {
  38734. "description": "现金额",
  38735. "type": "number"
  38736. },
  38737. "Vol": {
  38738. "description": "现量",
  38739. "type": "integer"
  38740. }
  38741. }
  38742. },
  38743. "quote.QueryQuoteDayRsp": {
  38744. "type": "object",
  38745. "properties": {
  38746. "ask": {
  38747. "description": "卖1",
  38748. "type": "number"
  38749. },
  38750. "ask10": {
  38751. "description": "卖10",
  38752. "type": "number"
  38753. },
  38754. "ask2": {
  38755. "description": "卖2",
  38756. "type": "number"
  38757. },
  38758. "ask3": {
  38759. "description": "卖3",
  38760. "type": "number"
  38761. },
  38762. "ask4": {
  38763. "description": "卖4",
  38764. "type": "number"
  38765. },
  38766. "ask5": {
  38767. "description": "卖5",
  38768. "type": "number"
  38769. },
  38770. "ask6": {
  38771. "description": "卖6",
  38772. "type": "number"
  38773. },
  38774. "ask7": {
  38775. "description": "卖7",
  38776. "type": "number"
  38777. },
  38778. "ask8": {
  38779. "description": "卖8",
  38780. "type": "number"
  38781. },
  38782. "ask9": {
  38783. "description": "卖9",
  38784. "type": "number"
  38785. },
  38786. "askorderid": {
  38787. "description": "卖单号1",
  38788. "type": "integer"
  38789. },
  38790. "askorderid2": {
  38791. "description": "卖单号2",
  38792. "type": "integer"
  38793. },
  38794. "askorderid3": {
  38795. "description": "卖单号3",
  38796. "type": "integer"
  38797. },
  38798. "askorderid4": {
  38799. "description": "卖单号4",
  38800. "type": "integer"
  38801. },
  38802. "askorderid5": {
  38803. "description": "卖单号5",
  38804. "type": "integer"
  38805. },
  38806. "askordervolume": {
  38807. "description": "卖单量1",
  38808. "type": "integer"
  38809. },
  38810. "askordervolume10": {
  38811. "description": "卖单量10",
  38812. "type": "integer"
  38813. },
  38814. "askordervolume2": {
  38815. "description": "卖单量2",
  38816. "type": "integer"
  38817. },
  38818. "askordervolume3": {
  38819. "description": "卖单量3",
  38820. "type": "integer"
  38821. },
  38822. "askordervolume4": {
  38823. "description": "卖单量4",
  38824. "type": "integer"
  38825. },
  38826. "askordervolume5": {
  38827. "description": "卖单量5",
  38828. "type": "integer"
  38829. },
  38830. "askordervolume6": {
  38831. "description": "卖单量6",
  38832. "type": "integer"
  38833. },
  38834. "askordervolume7": {
  38835. "description": "卖单量7",
  38836. "type": "integer"
  38837. },
  38838. "askordervolume8": {
  38839. "description": "卖单量8",
  38840. "type": "integer"
  38841. },
  38842. "askordervolume9": {
  38843. "description": "卖单量9",
  38844. "type": "integer"
  38845. },
  38846. "askqueueinfo": {
  38847. "description": "大利市卖港股用",
  38848. "type": "string"
  38849. },
  38850. "askvolume": {
  38851. "description": "卖量1",
  38852. "type": "integer"
  38853. },
  38854. "askvolume10": {
  38855. "description": "卖量10",
  38856. "type": "integer"
  38857. },
  38858. "askvolume2": {
  38859. "description": "卖量2",
  38860. "type": "integer"
  38861. },
  38862. "askvolume3": {
  38863. "description": "卖量3",
  38864. "type": "integer"
  38865. },
  38866. "askvolume4": {
  38867. "description": "卖量4",
  38868. "type": "integer"
  38869. },
  38870. "askvolume5": {
  38871. "description": "卖量5",
  38872. "type": "integer"
  38873. },
  38874. "askvolume6": {
  38875. "description": "卖量6",
  38876. "type": "integer"
  38877. },
  38878. "askvolume7": {
  38879. "description": "卖量7",
  38880. "type": "integer"
  38881. },
  38882. "askvolume8": {
  38883. "description": "卖量8",
  38884. "type": "integer"
  38885. },
  38886. "askvolume9": {
  38887. "description": "卖量9",
  38888. "type": "integer"
  38889. },
  38890. "averageprice": {
  38891. "description": "均价",
  38892. "type": "number"
  38893. },
  38894. "bid": {
  38895. "description": "买1",
  38896. "type": "number"
  38897. },
  38898. "bid10": {
  38899. "description": "买10",
  38900. "type": "number"
  38901. },
  38902. "bid2": {
  38903. "description": "买2",
  38904. "type": "number"
  38905. },
  38906. "bid3": {
  38907. "description": "买3",
  38908. "type": "number"
  38909. },
  38910. "bid4": {
  38911. "description": "买4",
  38912. "type": "number"
  38913. },
  38914. "bid5": {
  38915. "description": "买5",
  38916. "type": "number"
  38917. },
  38918. "bid6": {
  38919. "description": "买6",
  38920. "type": "number"
  38921. },
  38922. "bid7": {
  38923. "description": "买7",
  38924. "type": "number"
  38925. },
  38926. "bid8": {
  38927. "description": "买8",
  38928. "type": "number"
  38929. },
  38930. "bid9": {
  38931. "description": "买9",
  38932. "type": "number"
  38933. },
  38934. "bidorderid": {
  38935. "description": "买单号1",
  38936. "type": "integer"
  38937. },
  38938. "bidorderid2": {
  38939. "description": "买单号2",
  38940. "type": "integer"
  38941. },
  38942. "bidorderid3": {
  38943. "description": "买单号3",
  38944. "type": "integer"
  38945. },
  38946. "bidorderid4": {
  38947. "description": "买单号4",
  38948. "type": "integer"
  38949. },
  38950. "bidorderid5": {
  38951. "description": "买单号5",
  38952. "type": "integer"
  38953. },
  38954. "bidordervolume": {
  38955. "description": "买单量1",
  38956. "type": "integer"
  38957. },
  38958. "bidordervolume10": {
  38959. "description": "买单量10",
  38960. "type": "integer"
  38961. },
  38962. "bidordervolume2": {
  38963. "description": "买单量2",
  38964. "type": "integer"
  38965. },
  38966. "bidordervolume3": {
  38967. "description": "买单量3",
  38968. "type": "integer"
  38969. },
  38970. "bidordervolume4": {
  38971. "description": "买单量4",
  38972. "type": "integer"
  38973. },
  38974. "bidordervolume5": {
  38975. "description": "买单量5",
  38976. "type": "integer"
  38977. },
  38978. "bidordervolume6": {
  38979. "description": "买单量6",
  38980. "type": "integer"
  38981. },
  38982. "bidordervolume7": {
  38983. "description": "买单量7",
  38984. "type": "integer"
  38985. },
  38986. "bidordervolume8": {
  38987. "description": "买单量8",
  38988. "type": "integer"
  38989. },
  38990. "bidordervolume9": {
  38991. "description": "买单量9",
  38992. "type": "integer"
  38993. },
  38994. "bidqueueinfo": {
  38995. "description": "大利市买港股用",
  38996. "type": "string"
  38997. },
  38998. "bidvolume": {
  38999. "description": "买量1",
  39000. "type": "integer"
  39001. },
  39002. "bidvolume10": {
  39003. "description": "买量10",
  39004. "type": "integer"
  39005. },
  39006. "bidvolume2": {
  39007. "description": "买量2",
  39008. "type": "integer"
  39009. },
  39010. "bidvolume3": {
  39011. "description": "买量3",
  39012. "type": "integer"
  39013. },
  39014. "bidvolume4": {
  39015. "description": "买量4",
  39016. "type": "integer"
  39017. },
  39018. "bidvolume5": {
  39019. "description": "买量5",
  39020. "type": "integer"
  39021. },
  39022. "bidvolume6": {
  39023. "description": "买量6",
  39024. "type": "integer"
  39025. },
  39026. "bidvolume7": {
  39027. "description": "买量7",
  39028. "type": "integer"
  39029. },
  39030. "bidvolume8": {
  39031. "description": "买量8",
  39032. "type": "integer"
  39033. },
  39034. "bidvolume9": {
  39035. "description": "买量9",
  39036. "type": "integer"
  39037. },
  39038. "calloptionpremiums": {
  39039. "description": "认购期权1",
  39040. "type": "integer"
  39041. },
  39042. "calloptionpremiums2": {
  39043. "description": "认购期权2",
  39044. "type": "integer"
  39045. },
  39046. "calloptionpremiums3": {
  39047. "description": "认购期权3",
  39048. "type": "integer"
  39049. },
  39050. "calloptionpremiums4": {
  39051. "description": "认购期权4",
  39052. "type": "integer"
  39053. },
  39054. "calloptionpremiums5": {
  39055. "description": "认购期权5",
  39056. "type": "integer"
  39057. },
  39058. "cleartime": {
  39059. "description": "清盘时间",
  39060. "type": "integer"
  39061. },
  39062. "exchangecode": {
  39063. "description": "交易所代码",
  39064. "type": "integer"
  39065. },
  39066. "exchangedate": {
  39067. "description": "交易日",
  39068. "type": "integer"
  39069. },
  39070. "goodscode": {
  39071. "description": "商品代码",
  39072. "type": "string"
  39073. },
  39074. "grepmarketprice": {
  39075. "description": "暗盘价 港股专用",
  39076. "type": "number"
  39077. },
  39078. "highest": {
  39079. "description": "最高价",
  39080. "type": "number"
  39081. },
  39082. "holdincrement": {
  39083. "description": "单笔持仓",
  39084. "type": "integer"
  39085. },
  39086. "holdvolume": {
  39087. "description": "持仓",
  39088. "type": "integer"
  39089. },
  39090. "iep": {
  39091. "description": "平衡价 港股专用",
  39092. "type": "number"
  39093. },
  39094. "iev": {
  39095. "description": "平衡量 港股专用",
  39096. "type": "number"
  39097. },
  39098. "inventory": {
  39099. "description": "库存",
  39100. "type": "integer"
  39101. },
  39102. "iscleared": {
  39103. "description": "是否清盘标志",
  39104. "type": "integer"
  39105. },
  39106. "issettled": {
  39107. "description": "是否结算标志",
  39108. "type": "integer"
  39109. },
  39110. "last": {
  39111. "description": "最新价",
  39112. "type": "number"
  39113. },
  39114. "lastlot": {
  39115. "description": "最新成交手数",
  39116. "type": "integer"
  39117. },
  39118. "lasttime": {
  39119. "description": "行情时间(只有现价变化行情时间才变化)",
  39120. "type": "string"
  39121. },
  39122. "lastturnover": {
  39123. "description": "最新成交金额",
  39124. "type": "number"
  39125. },
  39126. "lastvolume": {
  39127. "description": "最新成交量",
  39128. "type": "integer"
  39129. },
  39130. "limitdown": {
  39131. "description": "跌停价",
  39132. "type": "number"
  39133. },
  39134. "limitup": {
  39135. "description": "涨停价",
  39136. "type": "number"
  39137. },
  39138. "lowest": {
  39139. "description": "最低价",
  39140. "type": "number"
  39141. },
  39142. "nontotalholdervolume": {
  39143. "description": "非交易持仓量",
  39144. "type": "integer"
  39145. },
  39146. "nontotallot": {
  39147. "description": "非交易总手数",
  39148. "type": "integer"
  39149. },
  39150. "nontotalturnover": {
  39151. "description": "非交易总金额",
  39152. "type": "integer"
  39153. },
  39154. "nontotalvolume": {
  39155. "description": "非交易总量",
  39156. "type": "integer"
  39157. },
  39158. "opened": {
  39159. "description": "开盘价",
  39160. "type": "number"
  39161. },
  39162. "opentime": {
  39163. "description": "开盘时间",
  39164. "type": "string"
  39165. },
  39166. "orderid": {
  39167. "description": "序号",
  39168. "type": "integer"
  39169. },
  39170. "preclose": {
  39171. "description": "昨收",
  39172. "type": "number"
  39173. },
  39174. "preholdvolume": {
  39175. "description": "昨持仓",
  39176. "type": "integer"
  39177. },
  39178. "presettle": {
  39179. "description": "昨结价",
  39180. "type": "number"
  39181. },
  39182. "publictradetype": {
  39183. "description": "公共交易标志类型 港股专用",
  39184. "type": "string"
  39185. },
  39186. "putoptionpremiums": {
  39187. "description": "认沽期权1",
  39188. "type": "integer"
  39189. },
  39190. "putoptionpremiums2": {
  39191. "description": "认沽期权2",
  39192. "type": "integer"
  39193. },
  39194. "putoptionpremiums3": {
  39195. "description": "认沽期权3",
  39196. "type": "integer"
  39197. },
  39198. "putoptionpremiums4": {
  39199. "description": "认沽期权4",
  39200. "type": "integer"
  39201. },
  39202. "putoptionpremiums5": {
  39203. "description": "认沽期权5",
  39204. "type": "integer"
  39205. },
  39206. "settle": {
  39207. "description": "结算价",
  39208. "type": "number"
  39209. },
  39210. "strikeprice": {
  39211. "description": "发行价",
  39212. "type": "number"
  39213. },
  39214. "totalaskvolume": {
  39215. "description": "内盘",
  39216. "type": "integer"
  39217. },
  39218. "totalbidvolume": {
  39219. "description": "外盘",
  39220. "type": "integer"
  39221. },
  39222. "totallot": {
  39223. "description": "总手数",
  39224. "type": "integer"
  39225. },
  39226. "totalturnover": {
  39227. "description": "总金额",
  39228. "type": "number"
  39229. },
  39230. "totalvolume": {
  39231. "description": "总量",
  39232. "type": "integer"
  39233. },
  39234. "utclasttime": {
  39235. "description": "utc的行情时间",
  39236. "type": "string"
  39237. }
  39238. }
  39239. },
  39240. "quote.QueryTSDataRsp": {
  39241. "type": "object",
  39242. "properties": {
  39243. "Count": {
  39244. "description": "交易日应有数据个数",
  39245. "type": "integer"
  39246. },
  39247. "decimalPlace": {
  39248. "description": "小数位",
  39249. "type": "integer"
  39250. },
  39251. "endTime": {
  39252. "description": "结束时间",
  39253. "type": "string"
  39254. },
  39255. "goodsCode": {
  39256. "description": "商品代码",
  39257. "type": "string"
  39258. },
  39259. "historyDatas": {
  39260. "description": "历史数据",
  39261. "type": "array",
  39262. "items": {
  39263. "$ref": "#/definitions/quote.HistoryData"
  39264. }
  39265. },
  39266. "outGoodsCode": {
  39267. "description": "外部商品代码",
  39268. "type": "string"
  39269. },
  39270. "preSettle": {
  39271. "description": "昨结价",
  39272. "type": "number"
  39273. },
  39274. "runSteps": {
  39275. "description": "交易日开休市计划",
  39276. "type": "array",
  39277. "items": {
  39278. "$ref": "#/definitions/quote.TSDataRunStep"
  39279. }
  39280. },
  39281. "startTime": {
  39282. "description": "开始时间",
  39283. "type": "string"
  39284. },
  39285. "tradeDate": {
  39286. "description": "交易日",
  39287. "type": "string"
  39288. }
  39289. }
  39290. },
  39291. "quote.TSDataRunStep": {
  39292. "type": "object",
  39293. "properties": {
  39294. "end": {
  39295. "description": "真实结束时间",
  39296. "type": "string"
  39297. },
  39298. "endflag": {
  39299. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  39300. "type": "integer"
  39301. },
  39302. "endtime": {
  39303. "description": "结束时间(HH:mm)",
  39304. "type": "string"
  39305. },
  39306. "endweekday": {
  39307. "description": "结束周几",
  39308. "type": "integer"
  39309. },
  39310. "groupid": {
  39311. "description": "分组ID",
  39312. "type": "integer"
  39313. },
  39314. "runstep": {
  39315. "description": "运行阶段 - 2:连续交易",
  39316. "type": "integer"
  39317. },
  39318. "sectionid": {
  39319. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  39320. "type": "integer"
  39321. },
  39322. "start": {
  39323. "description": "真实开始时间",
  39324. "type": "string"
  39325. },
  39326. "startflag": {
  39327. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  39328. "type": "integer"
  39329. },
  39330. "starttime": {
  39331. "description": "起始时间(HH:mm)",
  39332. "type": "string"
  39333. },
  39334. "startweekday": {
  39335. "description": "起始周几",
  39336. "type": "integer"
  39337. },
  39338. "tradeweekday": {
  39339. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  39340. "type": "integer"
  39341. }
  39342. }
  39343. },
  39344. "szdz.QueryConvertLogRsp": {
  39345. "type": "object",
  39346. "required": [
  39347. "logid"
  39348. ],
  39349. "properties": {
  39350. "accountid": {
  39351. "description": "资金账户ID",
  39352. "type": "integer"
  39353. },
  39354. "clientticket": {
  39355. "description": "客户端流水号",
  39356. "type": "string"
  39357. },
  39358. "converttype": {
  39359. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  39360. "type": "integer"
  39361. },
  39362. "createtime": {
  39363. "description": "记账时间",
  39364. "type": "string"
  39365. },
  39366. "daymaxvalue": {
  39367. "description": "配置当日最大转入限制",
  39368. "type": "number"
  39369. },
  39370. "daymaxvalue2": {
  39371. "description": "配置当日最大转入限制(转入)",
  39372. "type": "number"
  39373. },
  39374. "goodscode": {
  39375. "description": "商品代码",
  39376. "type": "string"
  39377. },
  39378. "goodsname": {
  39379. "description": "商品名称",
  39380. "type": "string"
  39381. },
  39382. "handlestatus": {
  39383. "description": "处理状态",
  39384. "type": "integer"
  39385. },
  39386. "innergoodsid": {
  39387. "description": "内部商品ID",
  39388. "type": "integer"
  39389. },
  39390. "inratio": {
  39391. "description": "配置转入比值",
  39392. "type": "integer"
  39393. },
  39394. "invalue": {
  39395. "description": "目标值",
  39396. "type": "number"
  39397. },
  39398. "logid": {
  39399. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39400. "type": "integer"
  39401. },
  39402. "mobile": {
  39403. "description": "手机号码(加密存储)",
  39404. "type": "string"
  39405. },
  39406. "outergoodscode": {
  39407. "description": "外部商品代码[JD\\PD]",
  39408. "type": "string"
  39409. },
  39410. "outratio": {
  39411. "description": "配置转出比值",
  39412. "type": "integer"
  39413. },
  39414. "outvalue": {
  39415. "description": "源值",
  39416. "type": "number"
  39417. },
  39418. "pddecimalplace": {
  39419. "description": "PD小数位",
  39420. "type": "integer"
  39421. },
  39422. "qty": {
  39423. "description": "数量",
  39424. "type": "string"
  39425. },
  39426. "remark": {
  39427. "description": "备注",
  39428. "type": "string"
  39429. },
  39430. "sessionid": {
  39431. "description": "会话ID",
  39432. "type": "integer"
  39433. },
  39434. "timemaxvalue": {
  39435. "description": "配置单次最大转入限制",
  39436. "type": "number"
  39437. },
  39438. "timemaxvalue2": {
  39439. "description": "配置单次最大转入限制(转入)",
  39440. "type": "number"
  39441. },
  39442. "timeminvalue": {
  39443. "description": "配置单次最小数量限制",
  39444. "type": "number"
  39445. },
  39446. "timeminvalue2": {
  39447. "description": "配置单次最小数量限制(转入)",
  39448. "type": "number"
  39449. },
  39450. "tradedate": {
  39451. "description": "交易日(yyyyMMdd)",
  39452. "type": "string"
  39453. },
  39454. "userid": {
  39455. "description": "用户ID",
  39456. "type": "integer"
  39457. }
  39458. }
  39459. },
  39460. "szdz.QueryGoodsPickupRsp": {
  39461. "type": "object",
  39462. "required": [
  39463. "takeorderid"
  39464. ],
  39465. "properties": {
  39466. "accountid": {
  39467. "description": "账户ID",
  39468. "type": "integer"
  39469. },
  39470. "address": {
  39471. "description": "提货人详细地址",
  39472. "type": "string"
  39473. },
  39474. "auditer": {
  39475. "description": "审核人",
  39476. "type": "integer"
  39477. },
  39478. "audittime": {
  39479. "description": "审核时间",
  39480. "type": "string"
  39481. },
  39482. "cardnum": {
  39483. "description": "提货人证件号码",
  39484. "type": "string"
  39485. },
  39486. "cardtypeid": {
  39487. "description": "提货人证件类型",
  39488. "type": "integer"
  39489. },
  39490. "checkremark": {
  39491. "description": "审核备注",
  39492. "type": "string"
  39493. },
  39494. "goodscode": {
  39495. "description": "商品代码",
  39496. "type": "string"
  39497. },
  39498. "goodsid": {
  39499. "description": "商品ID",
  39500. "type": "integer"
  39501. },
  39502. "goodsname": {
  39503. "description": "商品名称",
  39504. "type": "string"
  39505. },
  39506. "handlestatus": {
  39507. "description": "处理状态",
  39508. "type": "integer"
  39509. },
  39510. "marketid": {
  39511. "description": "市场ID",
  39512. "type": "integer"
  39513. },
  39514. "phonenum": {
  39515. "description": "提货人联系方式",
  39516. "type": "string"
  39517. },
  39518. "qty": {
  39519. "description": "提货数量",
  39520. "type": "number"
  39521. },
  39522. "recivername": {
  39523. "description": "提货人姓名",
  39524. "type": "string"
  39525. },
  39526. "reqtime": {
  39527. "description": "更新时间",
  39528. "type": "string"
  39529. },
  39530. "takemode": {
  39531. "description": "提货方式 - 2:自提 3:配送",
  39532. "type": "integer"
  39533. },
  39534. "takeorderid": {
  39535. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  39536. "type": "string"
  39537. },
  39538. "takeorderstatus": {
  39539. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  39540. "type": "integer"
  39541. },
  39542. "takeremark": {
  39543. "description": "提货备注",
  39544. "type": "string"
  39545. },
  39546. "tradedate": {
  39547. "description": "交易日(yyyyMMdd)",
  39548. "type": "string"
  39549. },
  39550. "userid": {
  39551. "description": "用户ID",
  39552. "type": "integer"
  39553. }
  39554. }
  39555. },
  39556. "szdz.QueryRecieptOrderRsp": {
  39557. "type": "object",
  39558. "required": [
  39559. "ordertime"
  39560. ],
  39561. "properties": {
  39562. "accountName": {
  39563. "description": "所属账号名称(已脱敏)",
  39564. "type": "string"
  39565. },
  39566. "accountid": {
  39567. "description": "资金账号",
  39568. "type": "integer"
  39569. },
  39570. "buyorsell": {
  39571. "description": "方向 - 0:买 1:卖",
  39572. "type": "integer"
  39573. },
  39574. "enableqty": {
  39575. "description": "可摘数量",
  39576. "type": "integer"
  39577. },
  39578. "goodscode": {
  39579. "description": "商品代码",
  39580. "type": "string"
  39581. },
  39582. "goodsid": {
  39583. "description": "商品ID",
  39584. "type": "integer"
  39585. },
  39586. "goodsname": {
  39587. "description": "商品名称",
  39588. "type": "string"
  39589. },
  39590. "orderid": {
  39591. "description": "委托单号",
  39592. "type": "string"
  39593. },
  39594. "orderprice": {
  39595. "description": "委托价格",
  39596. "type": "number"
  39597. },
  39598. "ordertime": {
  39599. "description": "委托时间",
  39600. "type": "string"
  39601. },
  39602. "tradedate": {
  39603. "description": "交易日(yyyyMMdd)",
  39604. "type": "string"
  39605. }
  39606. }
  39607. },
  39608. "szdz.QuerySZDZTradePositionRsp": {
  39609. "type": "object",
  39610. "properties": {
  39611. "accountid": {
  39612. "description": "账号Id",
  39613. "type": "integer"
  39614. },
  39615. "agreeunit": {
  39616. "description": "合约单位",
  39617. "type": "number"
  39618. },
  39619. "averageprice": {
  39620. "description": "持仓均价",
  39621. "type": "number"
  39622. },
  39623. "buyorsell": {
  39624. "description": "方向 - 0:买 1:卖",
  39625. "type": "integer"
  39626. },
  39627. "closetotalqty": {
  39628. "description": "平仓总数量",
  39629. "type": "integer"
  39630. },
  39631. "curholderamount": {
  39632. "description": "当前持仓总金额",
  39633. "type": "number"
  39634. },
  39635. "curpositionqty": {
  39636. "description": "当前持仓总数量",
  39637. "type": "integer"
  39638. },
  39639. "currencyid": {
  39640. "description": "报价货币ID",
  39641. "type": "integer"
  39642. },
  39643. "curtdposition": {
  39644. "description": "期末今日头寸",
  39645. "type": "integer"
  39646. },
  39647. "decimalplace": {
  39648. "description": "报价小数位",
  39649. "type": "integer"
  39650. },
  39651. "enableqty": {
  39652. "description": "可用量",
  39653. "type": "integer"
  39654. },
  39655. "fretdposition": {
  39656. "description": "冻结今日头寸",
  39657. "type": "integer"
  39658. },
  39659. "frozenqty": {
  39660. "description": "持仓冻结数量",
  39661. "type": "integer"
  39662. },
  39663. "goodscode": {
  39664. "description": "商品代码(内部)",
  39665. "type": "string"
  39666. },
  39667. "goodsid": {
  39668. "description": "商品Id",
  39669. "type": "integer"
  39670. },
  39671. "goodsname": {
  39672. "description": "商品名称",
  39673. "type": "string"
  39674. },
  39675. "goodunit": {
  39676. "description": "报价单位",
  39677. "type": "string"
  39678. },
  39679. "goodunitid": {
  39680. "description": "报价单位ID",
  39681. "type": "integer"
  39682. },
  39683. "holderamount": {
  39684. "description": "期初持仓总金额",
  39685. "type": "number"
  39686. },
  39687. "marketid": {
  39688. "description": "市场ID",
  39689. "type": "integer"
  39690. },
  39691. "openreqqty": {
  39692. "description": "开仓申请数量",
  39693. "type": "integer"
  39694. },
  39695. "opentotalqty": {
  39696. "description": "开仓总数量",
  39697. "type": "integer"
  39698. },
  39699. "otherfrozenqty": {
  39700. "description": "持仓其他冻结数量(交割冻结)",
  39701. "type": "integer"
  39702. },
  39703. "positionqty": {
  39704. "description": "期初持仓数量",
  39705. "type": "integer"
  39706. },
  39707. "szdz3freezqty": {
  39708. "description": "尚志大宗转换冻结总数量",
  39709. "type": "integer"
  39710. },
  39711. "tnqty": {
  39712. "description": "T+N冻结总量",
  39713. "type": "integer"
  39714. },
  39715. "tnusedqty": {
  39716. "description": "T+N使用量",
  39717. "type": "integer"
  39718. },
  39719. "trademode": {
  39720. "description": "交易模式",
  39721. "type": "integer"
  39722. },
  39723. "usedmargin": {
  39724. "description": "占用保证金",
  39725. "type": "number"
  39726. }
  39727. }
  39728. },
  39729. "taaccount.QueryAmountLogRsp": {
  39730. "type": "object",
  39731. "required": [
  39732. "accountid",
  39733. "amount",
  39734. "amountadjusttype",
  39735. "autoid",
  39736. "balance",
  39737. "createtime",
  39738. "currentbalance",
  39739. "operatetype"
  39740. ],
  39741. "properties": {
  39742. "OPERATETYPENAME": {
  39743. "description": "资金操作类型名称",
  39744. "type": "string"
  39745. },
  39746. "accountid": {
  39747. "description": "资金账户ID",
  39748. "type": "integer"
  39749. },
  39750. "agoodscode": {
  39751. "description": "竞拍商品代码",
  39752. "type": "string"
  39753. },
  39754. "agoodsname": {
  39755. "description": "竞拍商品名称",
  39756. "type": "string"
  39757. },
  39758. "amount": {
  39759. "description": "资金金额",
  39760. "type": "number"
  39761. },
  39762. "amountadjusttype": {
  39763. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39764. "type": "integer"
  39765. },
  39766. "autoid": {
  39767. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39768. "type": "integer"
  39769. },
  39770. "balance": {
  39771. "description": "期初余额",
  39772. "type": "number"
  39773. },
  39774. "businesscode": {
  39775. "description": "业务编号",
  39776. "type": "integer"
  39777. },
  39778. "createtime": {
  39779. "description": "发生时间",
  39780. "type": "string"
  39781. },
  39782. "currencyid": {
  39783. "description": "币种ID",
  39784. "type": "integer"
  39785. },
  39786. "currentbalance": {
  39787. "description": "期末余额(变动后金额)",
  39788. "type": "number"
  39789. },
  39790. "dgoodscode": {
  39791. "description": "交割商品代码",
  39792. "type": "string"
  39793. },
  39794. "dgoodsname": {
  39795. "description": "交割商品名称",
  39796. "type": "string"
  39797. },
  39798. "goodscode": {
  39799. "description": "商品代码",
  39800. "type": "string"
  39801. },
  39802. "goodsid": {
  39803. "description": "商品ID",
  39804. "type": "integer"
  39805. },
  39806. "goodsname": {
  39807. "description": "商品名称",
  39808. "type": "string"
  39809. },
  39810. "marketid": {
  39811. "description": "市场ID",
  39812. "type": "integer"
  39813. },
  39814. "marketname": {
  39815. "description": "市场名称",
  39816. "type": "string"
  39817. },
  39818. "moneyticket": {
  39819. "description": "资金流水号:银行端流水号",
  39820. "type": "integer"
  39821. },
  39822. "operatetype": {
  39823. "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:营销收款",
  39824. "type": "integer"
  39825. },
  39826. "relationorderid": {
  39827. "description": "关联单号",
  39828. "type": "string"
  39829. },
  39830. "remark": {
  39831. "description": "备注",
  39832. "type": "string"
  39833. },
  39834. "trademode": {
  39835. "description": "交易模式",
  39836. "type": "integer"
  39837. }
  39838. }
  39839. },
  39840. "taaccount.QueryHisAmountLogRsp": {
  39841. "type": "object",
  39842. "required": [
  39843. "accountid",
  39844. "amount",
  39845. "amountadjusttype",
  39846. "autoid",
  39847. "balance",
  39848. "createtime",
  39849. "currentbalance",
  39850. "histradedate",
  39851. "operatetype"
  39852. ],
  39853. "properties": {
  39854. "OPERATETYPENAME": {
  39855. "description": "资金操作类型名称",
  39856. "type": "string"
  39857. },
  39858. "accountid": {
  39859. "description": "资金账户ID",
  39860. "type": "integer"
  39861. },
  39862. "agoodscode": {
  39863. "description": "竞拍商品代码",
  39864. "type": "string"
  39865. },
  39866. "agoodsname": {
  39867. "description": "竞拍商品名称",
  39868. "type": "string"
  39869. },
  39870. "amount": {
  39871. "description": "资金金额",
  39872. "type": "number"
  39873. },
  39874. "amountadjusttype": {
  39875. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39876. "type": "integer"
  39877. },
  39878. "autoid": {
  39879. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39880. "type": "integer"
  39881. },
  39882. "balance": {
  39883. "description": "期初余额",
  39884. "type": "number"
  39885. },
  39886. "businesscode": {
  39887. "description": "业务编号",
  39888. "type": "integer"
  39889. },
  39890. "createtime": {
  39891. "description": "发生时间",
  39892. "type": "string"
  39893. },
  39894. "currencyid": {
  39895. "description": "币种ID",
  39896. "type": "integer"
  39897. },
  39898. "currentbalance": {
  39899. "description": "期末余额(变动后金额)",
  39900. "type": "number"
  39901. },
  39902. "dgoodscode": {
  39903. "description": "交割商品代码",
  39904. "type": "string"
  39905. },
  39906. "dgoodsname": {
  39907. "description": "交割商品名称",
  39908. "type": "string"
  39909. },
  39910. "goodscode": {
  39911. "description": "商品代码",
  39912. "type": "string"
  39913. },
  39914. "goodsid": {
  39915. "description": "商品ID",
  39916. "type": "integer"
  39917. },
  39918. "goodsname": {
  39919. "description": "商品名称",
  39920. "type": "string"
  39921. },
  39922. "histradedate": {
  39923. "description": "历史交易日",
  39924. "type": "string"
  39925. },
  39926. "isvaliddata": {
  39927. "description": "是否有效 - 0:无效 1:有效",
  39928. "type": "integer"
  39929. },
  39930. "marketid": {
  39931. "description": "市场ID",
  39932. "type": "integer"
  39933. },
  39934. "marketname": {
  39935. "description": "市场名称",
  39936. "type": "string"
  39937. },
  39938. "moneyticket": {
  39939. "description": "资金流水号:银行端流水号",
  39940. "type": "integer"
  39941. },
  39942. "operatetype": {
  39943. "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:营销收款",
  39944. "type": "integer"
  39945. },
  39946. "relationorderid": {
  39947. "description": "关联单号",
  39948. "type": "string"
  39949. },
  39950. "remark": {
  39951. "description": "备注",
  39952. "type": "string"
  39953. },
  39954. "trademode": {
  39955. "description": "交易模式",
  39956. "type": "integer"
  39957. }
  39958. }
  39959. },
  39960. "trade.QueryRecieptOrderRsp": {
  39961. "type": "object",
  39962. "required": [
  39963. "ordertime"
  39964. ],
  39965. "properties": {
  39966. "accountName": {
  39967. "description": "所属账号名称(已脱敏)",
  39968. "type": "string"
  39969. },
  39970. "accountid": {
  39971. "description": "资金账号",
  39972. "type": "integer"
  39973. },
  39974. "buyorsell": {
  39975. "description": "方向 - 0:买 1:卖",
  39976. "type": "integer"
  39977. },
  39978. "enableqty": {
  39979. "description": "可摘数量",
  39980. "type": "integer"
  39981. },
  39982. "goodscode": {
  39983. "description": "商品代码",
  39984. "type": "string"
  39985. },
  39986. "goodsid": {
  39987. "description": "商品ID",
  39988. "type": "integer"
  39989. },
  39990. "goodsname": {
  39991. "description": "商品名称",
  39992. "type": "string"
  39993. },
  39994. "orderid": {
  39995. "description": "委托单号",
  39996. "type": "string"
  39997. },
  39998. "orderprice": {
  39999. "description": "委托价格",
  40000. "type": "number"
  40001. },
  40002. "ordertime": {
  40003. "description": "委托时间",
  40004. "type": "string"
  40005. },
  40006. "tradedate": {
  40007. "description": "交易日(yyyyMMdd)",
  40008. "type": "string"
  40009. }
  40010. }
  40011. },
  40012. "user.LoginQueryRsp": {
  40013. "type": "object",
  40014. "properties": {
  40015. "areaRoles": {
  40016. "description": "所属角色信息",
  40017. "type": "array",
  40018. "items": {
  40019. "$ref": "#/definitions/models.Arearole"
  40020. }
  40021. },
  40022. "externalExchanges": {
  40023. "description": "外部交易所",
  40024. "type": "array",
  40025. "items": {
  40026. "$ref": "#/definitions/models.Externalexchange"
  40027. }
  40028. },
  40029. "goodsgroups": {
  40030. "description": "商品组",
  40031. "type": "array",
  40032. "items": {
  40033. "$ref": "#/definitions/models.Goodsgroup"
  40034. }
  40035. },
  40036. "loginAccount": {
  40037. "description": "登录账号",
  40038. "$ref": "#/definitions/models.Loginaccount"
  40039. },
  40040. "markets": {
  40041. "description": "市场",
  40042. "type": "array",
  40043. "items": {
  40044. "$ref": "#/definitions/models.Market"
  40045. }
  40046. },
  40047. "systemParams": {
  40048. "description": "系统参数",
  40049. "type": "array",
  40050. "items": {
  40051. "$ref": "#/definitions/models.Systemparam"
  40052. }
  40053. },
  40054. "userAccount": {
  40055. "description": "用户账号",
  40056. "$ref": "#/definitions/models.Useraccount"
  40057. },
  40058. "userInfo": {
  40059. "description": "用户信息",
  40060. "$ref": "#/definitions/models.Userinfo"
  40061. },
  40062. "username": {
  40063. "description": "用户姓名",
  40064. "type": "string"
  40065. }
  40066. }
  40067. }
  40068. },
  40069. "securityDefinitions": {
  40070. "ApiKeyAuth": {
  40071. "type": "apiKey",
  40072. "name": "Authorization",
  40073. "in": "header"
  40074. }
  40075. }
  40076. }`
  40077. type swaggerInfo struct {
  40078. Version string
  40079. Host string
  40080. BasePath string
  40081. Schemes []string
  40082. Title string
  40083. Description string
  40084. }
  40085. // SwaggerInfo holds exported Swagger Info so clients can modify it
  40086. var SwaggerInfo = swaggerInfo{
  40087. Version: "1.0",
  40088. Host: "",
  40089. BasePath: "/api",
  40090. Schemes: []string{},
  40091. Title: "MTP2.0 查询服务 API",
  40092. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  40093. }
  40094. type s struct{}
  40095. func (s *s) ReadDoc() string {
  40096. sInfo := SwaggerInfo
  40097. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  40098. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  40099. "marshal": func(v interface{}) string {
  40100. a, _ := json.Marshal(v)
  40101. return string(a)
  40102. },
  40103. "escape": func(v interface{}) string {
  40104. // escape tabs
  40105. str := strings.Replace(v.(string), "\t", "\\t", -1)
  40106. // replace " with \", and if that results in \\", replace that with \\\"
  40107. str = strings.Replace(str, "\"", "\\\"", -1)
  40108. return strings.Replace(str, "\\\\\"", "\\\\\\\"", -1)
  40109. },
  40110. }).Parse(doc)
  40111. if err != nil {
  40112. return doc
  40113. }
  40114. var tpl bytes.Buffer
  40115. if err := t.Execute(&tpl, sInfo); err != nil {
  40116. return doc
  40117. }
  40118. return tpl.String()
  40119. }
  40120. func init() {
  40121. swag.Register("swagger", &s{})
  40122. }