docs.go 1.4 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://www.muchinfo.cn",
  18. "contact": {},
  19. "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:我的",
  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. "responses": {
  4182. "200": {
  4183. "description": "OK",
  4184. "schema": {
  4185. "type": "array",
  4186. "items": {
  4187. "$ref": "#/definitions/models.XHDeliveryGoods"
  4188. }
  4189. }
  4190. },
  4191. "500": {
  4192. "description": "Internal Server Error",
  4193. "schema": {
  4194. "$ref": "#/definitions/app.Response"
  4195. }
  4196. }
  4197. }
  4198. }
  4199. },
  4200. "/Ermcp3/QueryExposureDetail": {
  4201. "get": {
  4202. "security": [
  4203. {
  4204. "ApiKeyAuth": []
  4205. }
  4206. ],
  4207. "produces": [
  4208. "application/json"
  4209. ],
  4210. "tags": [
  4211. "企业风险管理v3(app)"
  4212. ],
  4213. "summary": "查询敞口现货明细",
  4214. "parameters": [
  4215. {
  4216. "type": "integer",
  4217. "description": "用户id",
  4218. "name": "userid",
  4219. "in": "query",
  4220. "required": true
  4221. },
  4222. {
  4223. "type": "integer",
  4224. "description": "用户类型 2-机构 7-企业成员",
  4225. "name": "usertype",
  4226. "in": "query"
  4227. },
  4228. {
  4229. "type": "integer",
  4230. "description": "套保商品",
  4231. "name": "middlegoodsid",
  4232. "in": "query",
  4233. "required": true
  4234. }
  4235. ],
  4236. "responses": {
  4237. "200": {
  4238. "description": "OK",
  4239. "schema": {
  4240. "type": "array",
  4241. "items": {
  4242. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4243. }
  4244. }
  4245. },
  4246. "500": {
  4247. "description": "Internal Server Error",
  4248. "schema": {
  4249. "$ref": "#/definitions/app.Response"
  4250. }
  4251. }
  4252. }
  4253. }
  4254. },
  4255. "/Ermcp3/QueryExposureSpot": {
  4256. "get": {
  4257. "security": [
  4258. {
  4259. "ApiKeyAuth": []
  4260. }
  4261. ],
  4262. "produces": [
  4263. "application/json"
  4264. ],
  4265. "tags": [
  4266. "企业风险管理v3(app)"
  4267. ],
  4268. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4269. "parameters": [
  4270. {
  4271. "type": "integer",
  4272. "description": "用户id",
  4273. "name": "userid",
  4274. "in": "query",
  4275. "required": true
  4276. },
  4277. {
  4278. "type": "integer",
  4279. "description": "用户类型 2-机构 7-企业成员",
  4280. "name": "usertype",
  4281. "in": "query"
  4282. }
  4283. ],
  4284. "responses": {
  4285. "200": {
  4286. "description": "OK",
  4287. "schema": {
  4288. "type": "array",
  4289. "items": {
  4290. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4291. }
  4292. }
  4293. },
  4294. "500": {
  4295. "description": "Internal Server Error",
  4296. "schema": {
  4297. "$ref": "#/definitions/app.Response"
  4298. }
  4299. }
  4300. }
  4301. }
  4302. },
  4303. "/Ermcp3/QueryExposureSpotDetail": {
  4304. "get": {
  4305. "security": [
  4306. {
  4307. "ApiKeyAuth": []
  4308. }
  4309. ],
  4310. "produces": [
  4311. "application/json"
  4312. ],
  4313. "tags": [
  4314. "企业风险管理v3(app)"
  4315. ],
  4316. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4317. "parameters": [
  4318. {
  4319. "type": "integer",
  4320. "description": "用户id",
  4321. "name": "userid",
  4322. "in": "query",
  4323. "required": true
  4324. },
  4325. {
  4326. "type": "integer",
  4327. "description": "用户类型 2-机构 7-企业成员",
  4328. "name": "usertype",
  4329. "in": "query"
  4330. },
  4331. {
  4332. "type": "integer",
  4333. "description": "现货商品ID",
  4334. "name": "wrstandardid",
  4335. "in": "query",
  4336. "required": true
  4337. }
  4338. ],
  4339. "responses": {
  4340. "200": {
  4341. "description": "OK",
  4342. "schema": {
  4343. "type": "array",
  4344. "items": {
  4345. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4346. }
  4347. }
  4348. },
  4349. "500": {
  4350. "description": "Internal Server Error",
  4351. "schema": {
  4352. "$ref": "#/definitions/app.Response"
  4353. }
  4354. }
  4355. }
  4356. }
  4357. },
  4358. "/Ermcp3/QueryGoodsGroup": {
  4359. "get": {
  4360. "security": [
  4361. {
  4362. "ApiKeyAuth": []
  4363. }
  4364. ],
  4365. "produces": [
  4366. "application/json"
  4367. ],
  4368. "tags": [
  4369. "企业风险管理v3(app)"
  4370. ],
  4371. "summary": "查询期货商品组",
  4372. "parameters": [
  4373. {
  4374. "type": "integer",
  4375. "description": "用户id",
  4376. "name": "userid",
  4377. "in": "query",
  4378. "required": true
  4379. },
  4380. {
  4381. "type": "integer",
  4382. "description": "用户类型 2-机构 7-企业成员",
  4383. "name": "usertype",
  4384. "in": "query"
  4385. },
  4386. {
  4387. "type": "integer",
  4388. "description": "排除套保品中已关联的商品组 1-排除",
  4389. "name": "excludecfg",
  4390. "in": "query"
  4391. }
  4392. ],
  4393. "responses": {
  4394. "200": {
  4395. "description": "OK",
  4396. "schema": {
  4397. "type": "array",
  4398. "items": {
  4399. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4400. }
  4401. }
  4402. },
  4403. "500": {
  4404. "description": "Internal Server Error",
  4405. "schema": {
  4406. "$ref": "#/definitions/app.Response"
  4407. }
  4408. }
  4409. }
  4410. }
  4411. },
  4412. "/Ermcp3/QueryGoodsWrstandard": {
  4413. "get": {
  4414. "security": [
  4415. {
  4416. "ApiKeyAuth": []
  4417. }
  4418. ],
  4419. "produces": [
  4420. "application/json"
  4421. ],
  4422. "tags": [
  4423. "企业风险管理v3(app)"
  4424. ],
  4425. "summary": "查询商品品类",
  4426. "parameters": [
  4427. {
  4428. "type": "integer",
  4429. "description": "用户id",
  4430. "name": "userid",
  4431. "in": "query",
  4432. "required": true
  4433. },
  4434. {
  4435. "type": "integer",
  4436. "description": "用户类型 2-机构 7-企业成员",
  4437. "name": "usertype",
  4438. "in": "query"
  4439. },
  4440. {
  4441. "type": "integer",
  4442. "description": "现货商品id",
  4443. "name": "deliverygoodsid",
  4444. "in": "query"
  4445. }
  4446. ],
  4447. "responses": {
  4448. "200": {
  4449. "description": "OK",
  4450. "schema": {
  4451. "type": "array",
  4452. "items": {
  4453. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4454. }
  4455. }
  4456. },
  4457. "500": {
  4458. "description": "Internal Server Error",
  4459. "schema": {
  4460. "$ref": "#/definitions/app.Response"
  4461. }
  4462. }
  4463. }
  4464. }
  4465. },
  4466. "/Ermcp3/QueryGoodsbrand": {
  4467. "get": {
  4468. "security": [
  4469. {
  4470. "ApiKeyAuth": []
  4471. }
  4472. ],
  4473. "produces": [
  4474. "application/json"
  4475. ],
  4476. "tags": [
  4477. "企业风险管理v3(app)"
  4478. ],
  4479. "summary": "查询商品品牌",
  4480. "parameters": [
  4481. {
  4482. "type": "integer",
  4483. "description": "用户id",
  4484. "name": "userid",
  4485. "in": "query",
  4486. "required": true
  4487. },
  4488. {
  4489. "type": "integer",
  4490. "description": "用户类型 2-机构 7-企业成员",
  4491. "name": "usertype",
  4492. "in": "query"
  4493. }
  4494. ],
  4495. "responses": {
  4496. "200": {
  4497. "description": "OK",
  4498. "schema": {
  4499. "type": "array",
  4500. "items": {
  4501. "$ref": "#/definitions/models.Ermcp3Brand"
  4502. }
  4503. }
  4504. },
  4505. "500": {
  4506. "description": "Internal Server Error",
  4507. "schema": {
  4508. "$ref": "#/definitions/app.Response"
  4509. }
  4510. }
  4511. }
  4512. }
  4513. },
  4514. "/Ermcp3/QueryHedgePlan": {
  4515. "get": {
  4516. "security": [
  4517. {
  4518. "ApiKeyAuth": []
  4519. }
  4520. ],
  4521. "produces": [
  4522. "application/json"
  4523. ],
  4524. "tags": [
  4525. "企业风险管理v3(app)"
  4526. ],
  4527. "summary": "查询套保计划",
  4528. "parameters": [
  4529. {
  4530. "type": "integer",
  4531. "description": "用户ID",
  4532. "name": "userid",
  4533. "in": "query",
  4534. "required": true
  4535. },
  4536. {
  4537. "type": "integer",
  4538. "description": "用户类型 2-机构 7-企业成员",
  4539. "name": "usertype",
  4540. "in": "query"
  4541. },
  4542. {
  4543. "type": "string",
  4544. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4545. "name": "hedgeplanstatus",
  4546. "in": "query",
  4547. "required": true
  4548. }
  4549. ],
  4550. "responses": {
  4551. "200": {
  4552. "description": "OK",
  4553. "schema": {
  4554. "type": "array",
  4555. "items": {
  4556. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4557. }
  4558. }
  4559. },
  4560. "500": {
  4561. "description": "Internal Server Error",
  4562. "schema": {
  4563. "$ref": "#/definitions/app.Response"
  4564. }
  4565. }
  4566. }
  4567. }
  4568. },
  4569. "/Ermcp3/QueryInnerTradeLink": {
  4570. "get": {
  4571. "security": [
  4572. {
  4573. "ApiKeyAuth": []
  4574. }
  4575. ],
  4576. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4577. "produces": [
  4578. "application/json"
  4579. ],
  4580. "tags": [
  4581. "企业风险管理v3(app)"
  4582. ],
  4583. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4584. "parameters": [
  4585. {
  4586. "type": "integer",
  4587. "description": "外部成交单号",
  4588. "name": "outtradeid",
  4589. "in": "query",
  4590. "required": true
  4591. }
  4592. ],
  4593. "responses": {
  4594. "200": {
  4595. "description": "OK",
  4596. "schema": {
  4597. "type": "array",
  4598. "items": {
  4599. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4600. }
  4601. }
  4602. },
  4603. "500": {
  4604. "description": "Internal Server Error",
  4605. "schema": {
  4606. "$ref": "#/definitions/app.Response"
  4607. }
  4608. }
  4609. }
  4610. }
  4611. },
  4612. "/Ermcp3/QueryMiddleGoodsDetail": {
  4613. "get": {
  4614. "security": [
  4615. {
  4616. "ApiKeyAuth": []
  4617. }
  4618. ],
  4619. "produces": [
  4620. "application/json"
  4621. ],
  4622. "tags": [
  4623. "企业风险管理v3(app)"
  4624. ],
  4625. "summary": "查询套保品种详情(套保品种/商品详情)",
  4626. "parameters": [
  4627. {
  4628. "type": "integer",
  4629. "description": "用户id",
  4630. "name": "userid",
  4631. "in": "query",
  4632. "required": true
  4633. },
  4634. {
  4635. "type": "integer",
  4636. "description": "用户类型 2-机构 7-企业成员",
  4637. "name": "usertype",
  4638. "in": "query"
  4639. },
  4640. {
  4641. "type": "integer",
  4642. "description": "套保品种id",
  4643. "name": "middlegoodsid",
  4644. "in": "query"
  4645. }
  4646. ],
  4647. "responses": {
  4648. "200": {
  4649. "description": "OK",
  4650. "schema": {
  4651. "type": "array",
  4652. "items": {
  4653. "$ref": "#/definitions/models.TBMiddleGoods"
  4654. }
  4655. }
  4656. },
  4657. "500": {
  4658. "description": "Internal Server Error",
  4659. "schema": {
  4660. "$ref": "#/definitions/app.Response"
  4661. }
  4662. }
  4663. }
  4664. }
  4665. },
  4666. "/Ermcp3/QueryOutTradeLink": {
  4667. "get": {
  4668. "security": [
  4669. {
  4670. "ApiKeyAuth": []
  4671. }
  4672. ],
  4673. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  4674. "produces": [
  4675. "application/json"
  4676. ],
  4677. "tags": [
  4678. "企业风险管理v3(app)"
  4679. ],
  4680. "summary": "查询外部成交单关联",
  4681. "parameters": [
  4682. {
  4683. "type": "integer",
  4684. "description": "用户ID(填登录用户的userid)",
  4685. "name": "userid",
  4686. "in": "query",
  4687. "required": true
  4688. },
  4689. {
  4690. "type": "string",
  4691. "description": "外部订单号(模糊匹配)",
  4692. "name": "outtradeid",
  4693. "in": "query"
  4694. },
  4695. {
  4696. "type": "string",
  4697. "description": "合约名称/代码(模糊匹配)",
  4698. "name": "goodsname",
  4699. "in": "query"
  4700. },
  4701. {
  4702. "type": "integer",
  4703. "description": "关联状态 0-未关联 1-已关联",
  4704. "name": "hasinnerorder",
  4705. "in": "query"
  4706. }
  4707. ],
  4708. "responses": {
  4709. "200": {
  4710. "description": "OK",
  4711. "schema": {
  4712. "type": "array",
  4713. "items": {
  4714. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  4715. }
  4716. }
  4717. },
  4718. "500": {
  4719. "description": "Internal Server Error",
  4720. "schema": {
  4721. "$ref": "#/definitions/app.Response"
  4722. }
  4723. }
  4724. }
  4725. }
  4726. },
  4727. "/Ermcp3/QueryPaAreaAuditCfg": {
  4728. "get": {
  4729. "security": [
  4730. {
  4731. "ApiKeyAuth": []
  4732. }
  4733. ],
  4734. "produces": [
  4735. "application/json"
  4736. ],
  4737. "tags": [
  4738. "企业风险管理v3(app)"
  4739. ],
  4740. "summary": "查询审核设置",
  4741. "parameters": [
  4742. {
  4743. "type": "integer",
  4744. "description": "用户id",
  4745. "name": "userid",
  4746. "in": "query",
  4747. "required": true
  4748. }
  4749. ],
  4750. "responses": {
  4751. "200": {
  4752. "description": "OK",
  4753. "schema": {
  4754. "type": "array",
  4755. "items": {
  4756. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4757. }
  4758. }
  4759. },
  4760. "500": {
  4761. "description": "Internal Server Error",
  4762. "schema": {
  4763. "$ref": "#/definitions/app.Response"
  4764. }
  4765. }
  4766. }
  4767. }
  4768. },
  4769. "/Ermcp3/QueryPaAreaSubject": {
  4770. "get": {
  4771. "security": [
  4772. {
  4773. "ApiKeyAuth": []
  4774. }
  4775. ],
  4776. "produces": [
  4777. "application/json"
  4778. ],
  4779. "tags": [
  4780. "企业风险管理v3(app)"
  4781. ],
  4782. "summary": "查询交易主体",
  4783. "parameters": [
  4784. {
  4785. "type": "integer",
  4786. "description": "用户id",
  4787. "name": "userid",
  4788. "in": "query",
  4789. "required": true
  4790. },
  4791. {
  4792. "type": "integer",
  4793. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4794. "name": "subjectid",
  4795. "in": "query"
  4796. },
  4797. {
  4798. "type": "integer",
  4799. "description": "主体类型 - 1:交易主体 2:业务部门",
  4800. "name": "subjecttype",
  4801. "in": "query"
  4802. },
  4803. {
  4804. "type": "integer",
  4805. "description": "主体状态 - 1:正常 2: 停用",
  4806. "name": "subjectstatus",
  4807. "in": "query"
  4808. }
  4809. ],
  4810. "responses": {
  4811. "200": {
  4812. "description": "OK",
  4813. "schema": {
  4814. "type": "array",
  4815. "items": {
  4816. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4817. }
  4818. }
  4819. },
  4820. "500": {
  4821. "description": "Internal Server Error",
  4822. "schema": {
  4823. "$ref": "#/definitions/app.Response"
  4824. }
  4825. }
  4826. }
  4827. }
  4828. },
  4829. "/Ermcp3/QueryPaTradeLink": {
  4830. "get": {
  4831. "security": [
  4832. {
  4833. "ApiKeyAuth": []
  4834. }
  4835. ],
  4836. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4837. "produces": [
  4838. "application/json"
  4839. ],
  4840. "tags": [
  4841. "企业风险管理v3(app)"
  4842. ],
  4843. "summary": "查询期现单据关联",
  4844. "parameters": [
  4845. {
  4846. "type": "integer",
  4847. "description": "用户ID",
  4848. "name": "userid",
  4849. "in": "query",
  4850. "required": true
  4851. }
  4852. ],
  4853. "responses": {
  4854. "200": {
  4855. "description": "OK",
  4856. "schema": {
  4857. "type": "array",
  4858. "items": {
  4859. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4860. }
  4861. }
  4862. },
  4863. "500": {
  4864. "description": "Internal Server Error",
  4865. "schema": {
  4866. "$ref": "#/definitions/app.Response"
  4867. }
  4868. }
  4869. }
  4870. }
  4871. },
  4872. "/Ermcp3/QueryPaTradeLinkDetail": {
  4873. "get": {
  4874. "security": [
  4875. {
  4876. "ApiKeyAuth": []
  4877. }
  4878. ],
  4879. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  4880. "produces": [
  4881. "application/json"
  4882. ],
  4883. "tags": [
  4884. "企业风险管理v3(app)"
  4885. ],
  4886. "summary": "查询期现关联记录",
  4887. "parameters": [
  4888. {
  4889. "type": "integer",
  4890. "description": "用户ID(填登录用户的userid)",
  4891. "name": "userid",
  4892. "in": "query",
  4893. "required": true
  4894. },
  4895. {
  4896. "type": "integer",
  4897. "description": "关联状态 1:成功 2:失败 3:解绑",
  4898. "name": "linkstatus",
  4899. "in": "query"
  4900. },
  4901. {
  4902. "type": "string",
  4903. "description": "期货订单号(模糊匹配)",
  4904. "name": "tradeid",
  4905. "in": "query"
  4906. },
  4907. {
  4908. "type": "string",
  4909. "description": "现货编号(模糊匹配)",
  4910. "name": "contractno",
  4911. "in": "query"
  4912. },
  4913. {
  4914. "type": "string",
  4915. "description": "期货账户(模糊匹配)",
  4916. "name": "taname",
  4917. "in": "query"
  4918. }
  4919. ],
  4920. "responses": {
  4921. "200": {
  4922. "description": "OK",
  4923. "schema": {
  4924. "type": "array",
  4925. "items": {
  4926. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  4927. }
  4928. }
  4929. },
  4930. "500": {
  4931. "description": "Internal Server Error",
  4932. "schema": {
  4933. "$ref": "#/definitions/app.Response"
  4934. }
  4935. }
  4936. }
  4937. }
  4938. },
  4939. "/Ermcp3/QueryParamChangeApp": {
  4940. "get": {
  4941. "security": [
  4942. {
  4943. "ApiKeyAuth": []
  4944. }
  4945. ],
  4946. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  4947. "produces": [
  4948. "application/json"
  4949. ],
  4950. "tags": [
  4951. "企业风险管理v3(app)"
  4952. ],
  4953. "summary": "查询现货商品参数变更申请(流水)",
  4954. "parameters": [
  4955. {
  4956. "type": "integer",
  4957. "description": "用户ID",
  4958. "name": "userid",
  4959. "in": "query",
  4960. "required": true
  4961. },
  4962. {
  4963. "type": "integer",
  4964. "description": "现货品种id",
  4965. "name": "deliverygoodsid",
  4966. "in": "query"
  4967. },
  4968. {
  4969. "type": "integer",
  4970. "description": "现货商品id",
  4971. "name": "wrstandardid",
  4972. "in": "query"
  4973. },
  4974. {
  4975. "type": "integer",
  4976. "description": "套保商品id",
  4977. "name": "middlegoodsid",
  4978. "in": "query"
  4979. },
  4980. {
  4981. "type": "integer",
  4982. "description": "操作类型 1:新增 2:修改",
  4983. "name": "operatetype",
  4984. "in": "query"
  4985. },
  4986. {
  4987. "type": "integer",
  4988. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  4989. "name": "paramchangetype",
  4990. "in": "query"
  4991. },
  4992. {
  4993. "type": "string",
  4994. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4995. "name": "ftstatus",
  4996. "in": "query"
  4997. }
  4998. ],
  4999. "responses": {
  5000. "200": {
  5001. "description": "OK",
  5002. "schema": {
  5003. "type": "array",
  5004. "items": {
  5005. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5006. }
  5007. }
  5008. },
  5009. "500": {
  5010. "description": "Internal Server Error",
  5011. "schema": {
  5012. "$ref": "#/definitions/app.Response"
  5013. }
  5014. }
  5015. }
  5016. }
  5017. },
  5018. "/Ermcp3/QueryRootUserAccount": {
  5019. "get": {
  5020. "security": [
  5021. {
  5022. "ApiKeyAuth": []
  5023. }
  5024. ],
  5025. "produces": [
  5026. "application/json"
  5027. ],
  5028. "tags": [
  5029. "企业风险管理v3(app)"
  5030. ],
  5031. "summary": "查询顶级用户信息",
  5032. "parameters": [
  5033. {
  5034. "type": "integer",
  5035. "description": "用户ID",
  5036. "name": "userid",
  5037. "in": "query",
  5038. "required": true
  5039. }
  5040. ],
  5041. "responses": {
  5042. "200": {
  5043. "description": "OK",
  5044. "schema": {
  5045. "type": "array",
  5046. "items": {
  5047. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5048. }
  5049. }
  5050. },
  5051. "500": {
  5052. "description": "Internal Server Error",
  5053. "schema": {
  5054. "$ref": "#/definitions/app.Response"
  5055. }
  5056. }
  5057. }
  5058. }
  5059. },
  5060. "/Ermcp3/QuerySCMiddleGoods": {
  5061. "get": {
  5062. "security": [
  5063. {
  5064. "ApiKeyAuth": []
  5065. }
  5066. ],
  5067. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5068. "produces": [
  5069. "application/json"
  5070. ],
  5071. "tags": [
  5072. "企业风险管理v3(app)"
  5073. ],
  5074. "summary": "查询现货订单",
  5075. "parameters": [
  5076. {
  5077. "type": "integer",
  5078. "description": "用户ID(填登录用户的userid)",
  5079. "name": "userid",
  5080. "in": "query",
  5081. "required": true
  5082. },
  5083. {
  5084. "type": "integer",
  5085. "description": "买卖方向 0-买 1-卖",
  5086. "name": "buyorsell",
  5087. "in": "query",
  5088. "required": true
  5089. },
  5090. {
  5091. "type": "integer",
  5092. "description": "商品组id",
  5093. "name": "goodsgroupid",
  5094. "in": "query",
  5095. "required": true
  5096. },
  5097. {
  5098. "type": "integer",
  5099. "description": "业务类型 1:套保 2:套利",
  5100. "name": "biztype",
  5101. "in": "query"
  5102. },
  5103. {
  5104. "type": "string",
  5105. "description": "现货编号(模糊匹配)",
  5106. "name": "contractno",
  5107. "in": "query"
  5108. },
  5109. {
  5110. "type": "string",
  5111. "description": "对手方(模糊匹配)",
  5112. "name": "customername",
  5113. "in": "query"
  5114. },
  5115. {
  5116. "type": "string",
  5117. "description": "现货商品名称(模糊匹配)",
  5118. "name": "wrstandardname",
  5119. "in": "query"
  5120. }
  5121. ],
  5122. "responses": {
  5123. "200": {
  5124. "description": "OK",
  5125. "schema": {
  5126. "type": "array",
  5127. "items": {
  5128. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5129. }
  5130. }
  5131. },
  5132. "500": {
  5133. "description": "Internal Server Error",
  5134. "schema": {
  5135. "$ref": "#/definitions/app.Response"
  5136. }
  5137. }
  5138. }
  5139. }
  5140. },
  5141. "/Ermcp3/QuerySpotContract": {
  5142. "get": {
  5143. "security": [
  5144. {
  5145. "ApiKeyAuth": []
  5146. }
  5147. ],
  5148. "produces": [
  5149. "application/json"
  5150. ],
  5151. "tags": [
  5152. "企业风险管理v3(app)"
  5153. ],
  5154. "summary": "查询现货合同",
  5155. "parameters": [
  5156. {
  5157. "type": "integer",
  5158. "description": "用户id(当指定contractid, userid可不填)",
  5159. "name": "userid",
  5160. "in": "query",
  5161. "required": true
  5162. },
  5163. {
  5164. "type": "integer",
  5165. "description": "用户类型 2-机构 7-企业成员",
  5166. "name": "usertype",
  5167. "in": "query"
  5168. },
  5169. {
  5170. "type": "integer",
  5171. "description": "合同类型 1-采购, -1-销售",
  5172. "name": "contracttype",
  5173. "in": "query"
  5174. },
  5175. {
  5176. "type": "string",
  5177. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5178. "name": "querytype",
  5179. "in": "query"
  5180. },
  5181. {
  5182. "type": "string",
  5183. "description": "合同ID(SpotContractId)",
  5184. "name": "contractid",
  5185. "in": "query"
  5186. },
  5187. {
  5188. "type": "string",
  5189. "description": "合同编号(模糊匹配)",
  5190. "name": "contractno",
  5191. "in": "query"
  5192. },
  5193. {
  5194. "type": "string",
  5195. "description": "商品名称(模糊匹配)",
  5196. "name": "wrstandardname",
  5197. "in": "query"
  5198. },
  5199. {
  5200. "type": "string",
  5201. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5202. "name": "status",
  5203. "in": "query"
  5204. },
  5205. {
  5206. "type": "integer",
  5207. "description": "是否只查今日的合同 1-查今日合同",
  5208. "name": "istoday",
  5209. "in": "query"
  5210. }
  5211. ],
  5212. "responses": {
  5213. "200": {
  5214. "description": "OK",
  5215. "schema": {
  5216. "type": "array",
  5217. "items": {
  5218. "$ref": "#/definitions/models.Ermcp3Contract"
  5219. }
  5220. }
  5221. },
  5222. "500": {
  5223. "description": "Internal Server Error",
  5224. "schema": {
  5225. "$ref": "#/definitions/app.Response"
  5226. }
  5227. }
  5228. }
  5229. }
  5230. },
  5231. "/Ermcp3/QuerySpotContractBS": {
  5232. "get": {
  5233. "security": [
  5234. {
  5235. "ApiKeyAuth": []
  5236. }
  5237. ],
  5238. "produces": [
  5239. "application/json"
  5240. ],
  5241. "tags": [
  5242. "企业风险管理v3(app)"
  5243. ],
  5244. "summary": "查询合同(采购/销售)",
  5245. "parameters": [
  5246. {
  5247. "type": "integer",
  5248. "description": "用户id",
  5249. "name": "userid",
  5250. "in": "query",
  5251. "required": true
  5252. },
  5253. {
  5254. "type": "integer",
  5255. "description": "用户类型 2-机构 7-企业成员",
  5256. "name": "usertype",
  5257. "in": "query"
  5258. },
  5259. {
  5260. "type": "integer",
  5261. "description": "合同类型 1-采购, -1-销售",
  5262. "name": "contracttype",
  5263. "in": "query",
  5264. "required": true
  5265. },
  5266. {
  5267. "type": "integer",
  5268. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5269. "name": "querytype",
  5270. "in": "query"
  5271. },
  5272. {
  5273. "type": "string",
  5274. "description": "合同ID(SpotContractId)",
  5275. "name": "contractid",
  5276. "in": "query"
  5277. },
  5278. {
  5279. "type": "string",
  5280. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5281. "name": "status",
  5282. "in": "query"
  5283. },
  5284. {
  5285. "type": "integer",
  5286. "description": "是否只查今日的合同 1-查今日合同",
  5287. "name": "istoday",
  5288. "in": "query"
  5289. }
  5290. ],
  5291. "responses": {
  5292. "200": {
  5293. "description": "OK",
  5294. "schema": {
  5295. "type": "array",
  5296. "items": {
  5297. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5298. }
  5299. }
  5300. },
  5301. "500": {
  5302. "description": "Internal Server Error",
  5303. "schema": {
  5304. "$ref": "#/definitions/app.Response"
  5305. }
  5306. }
  5307. }
  5308. }
  5309. },
  5310. "/Ermcp3/QuerySpotGoodsPrice": {
  5311. "get": {
  5312. "security": [
  5313. {
  5314. "ApiKeyAuth": []
  5315. }
  5316. ],
  5317. "produces": [
  5318. "application/json"
  5319. ],
  5320. "tags": [
  5321. "企业风险管理v3(app)"
  5322. ],
  5323. "summary": "查询现货市价(现货市价)",
  5324. "parameters": [
  5325. {
  5326. "type": "integer",
  5327. "description": "用户ID",
  5328. "name": "userid",
  5329. "in": "query",
  5330. "required": true
  5331. }
  5332. ],
  5333. "responses": {
  5334. "200": {
  5335. "description": "OK",
  5336. "schema": {
  5337. "type": "array",
  5338. "items": {
  5339. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5340. }
  5341. }
  5342. },
  5343. "500": {
  5344. "description": "Internal Server Error",
  5345. "schema": {
  5346. "$ref": "#/definitions/app.Response"
  5347. }
  5348. }
  5349. }
  5350. }
  5351. },
  5352. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5353. "get": {
  5354. "security": [
  5355. {
  5356. "ApiKeyAuth": []
  5357. }
  5358. ],
  5359. "produces": [
  5360. "application/json"
  5361. ],
  5362. "tags": [
  5363. "企业风险管理v3(app)"
  5364. ],
  5365. "summary": "查询现货市价详情(现货市价/详情)",
  5366. "parameters": [
  5367. {
  5368. "type": "integer",
  5369. "description": "用户ID",
  5370. "name": "userid",
  5371. "in": "query",
  5372. "required": true
  5373. },
  5374. {
  5375. "type": "integer",
  5376. "description": "现货商品ID",
  5377. "name": "deliverygoodsid",
  5378. "in": "query",
  5379. "required": true
  5380. },
  5381. {
  5382. "type": "integer",
  5383. "description": "品牌ID",
  5384. "name": "brandid",
  5385. "in": "query"
  5386. },
  5387. {
  5388. "type": "integer",
  5389. "description": "品类ID",
  5390. "name": "wrstandardid",
  5391. "in": "query"
  5392. }
  5393. ],
  5394. "responses": {
  5395. "200": {
  5396. "description": "OK",
  5397. "schema": {
  5398. "type": "array",
  5399. "items": {
  5400. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5401. }
  5402. }
  5403. },
  5404. "500": {
  5405. "description": "Internal Server Error",
  5406. "schema": {
  5407. "$ref": "#/definitions/app.Response"
  5408. }
  5409. }
  5410. }
  5411. }
  5412. },
  5413. "/Ermcp3/QuerySubTaaccount": {
  5414. "get": {
  5415. "security": [
  5416. {
  5417. "ApiKeyAuth": []
  5418. }
  5419. ],
  5420. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5421. "produces": [
  5422. "application/json"
  5423. ],
  5424. "tags": [
  5425. "企业风险管理v3(app)"
  5426. ],
  5427. "summary": "查询期货子账户",
  5428. "parameters": [
  5429. {
  5430. "type": "integer",
  5431. "description": "母账号id",
  5432. "name": "parentaccountid",
  5433. "in": "query"
  5434. },
  5435. {
  5436. "type": "string",
  5437. "description": "母账号代码",
  5438. "name": "parentaccountcode",
  5439. "in": "query"
  5440. }
  5441. ],
  5442. "responses": {
  5443. "200": {
  5444. "description": "OK",
  5445. "schema": {
  5446. "type": "array",
  5447. "items": {
  5448. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5449. }
  5450. }
  5451. },
  5452. "500": {
  5453. "description": "Internal Server Error",
  5454. "schema": {
  5455. "$ref": "#/definitions/app.Response"
  5456. }
  5457. }
  5458. }
  5459. }
  5460. },
  5461. "/Erms2/QueryArbitrageStrategy": {
  5462. "get": {
  5463. "security": [
  5464. {
  5465. "ApiKeyAuth": []
  5466. }
  5467. ],
  5468. "produces": [
  5469. "application/json"
  5470. ],
  5471. "tags": [
  5472. "风险管理"
  5473. ],
  5474. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5475. "parameters": [
  5476. {
  5477. "type": "integer",
  5478. "description": "账户ID",
  5479. "name": "userid",
  5480. "in": "query",
  5481. "required": true
  5482. },
  5483. {
  5484. "type": "string",
  5485. "description": "商品组ID(品种ID)",
  5486. "name": "goodsgroupid",
  5487. "in": "query"
  5488. }
  5489. ],
  5490. "responses": {
  5491. "200": {
  5492. "description": "OK",
  5493. "schema": {
  5494. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5495. }
  5496. },
  5497. "500": {
  5498. "description": "Internal Server Error",
  5499. "schema": {
  5500. "$ref": "#/definitions/app.Response"
  5501. }
  5502. }
  5503. }
  5504. }
  5505. },
  5506. "/Erms2/QueryInnerTradeDetail": {
  5507. "get": {
  5508. "security": [
  5509. {
  5510. "ApiKeyAuth": []
  5511. }
  5512. ],
  5513. "produces": [
  5514. "application/json"
  5515. ],
  5516. "tags": [
  5517. "风险管理"
  5518. ],
  5519. "summary": "查询内部成交单信息",
  5520. "parameters": [
  5521. {
  5522. "type": "integer",
  5523. "description": "资金账户",
  5524. "name": "accountid",
  5525. "in": "query",
  5526. "required": true
  5527. }
  5528. ],
  5529. "responses": {
  5530. "200": {
  5531. "description": "OK",
  5532. "schema": {
  5533. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5534. }
  5535. },
  5536. "500": {
  5537. "description": "Internal Server Error",
  5538. "schema": {
  5539. "$ref": "#/definitions/app.Response"
  5540. }
  5541. }
  5542. }
  5543. }
  5544. },
  5545. "/Erms2/QuerySpotContract": {
  5546. "get": {
  5547. "security": [
  5548. {
  5549. "ApiKeyAuth": []
  5550. }
  5551. ],
  5552. "produces": [
  5553. "application/json"
  5554. ],
  5555. "tags": [
  5556. "风险管理"
  5557. ],
  5558. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5559. "parameters": [
  5560. {
  5561. "type": "integer",
  5562. "description": "策略申请ID",
  5563. "name": "asapplyid",
  5564. "in": "query",
  5565. "required": true
  5566. },
  5567. {
  5568. "type": "integer",
  5569. "description": "现货合同ID",
  5570. "name": "spotcontractid",
  5571. "in": "query"
  5572. }
  5573. ],
  5574. "responses": {
  5575. "200": {
  5576. "description": "OK",
  5577. "schema": {
  5578. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5579. }
  5580. },
  5581. "500": {
  5582. "description": "Internal Server Error",
  5583. "schema": {
  5584. "$ref": "#/definitions/app.Response"
  5585. }
  5586. }
  5587. }
  5588. }
  5589. },
  5590. "/Erms3/AddErms2ASApply": {
  5591. "post": {
  5592. "security": [
  5593. {
  5594. "ApiKeyAuth": []
  5595. }
  5596. ],
  5597. "produces": [
  5598. "application/json"
  5599. ],
  5600. "tags": [
  5601. "风险管理v3"
  5602. ],
  5603. "summary": "新增期现套利业务申请",
  5604. "parameters": [
  5605. {
  5606. "description": "申请参数",
  5607. "name": "jsonBody",
  5608. "in": "body",
  5609. "required": true,
  5610. "schema": {
  5611. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5612. }
  5613. }
  5614. ],
  5615. "responses": {
  5616. "200": {
  5617. "description": "OK",
  5618. "schema": {
  5619. "$ref": "#/definitions/app.Response"
  5620. }
  5621. },
  5622. "500": {
  5623. "description": "Internal Server Error",
  5624. "schema": {
  5625. "$ref": "#/definitions/app.Response"
  5626. }
  5627. }
  5628. }
  5629. }
  5630. },
  5631. "/Erms3/AddErms2SpotTradeApply": {
  5632. "post": {
  5633. "security": [
  5634. {
  5635. "ApiKeyAuth": []
  5636. }
  5637. ],
  5638. "produces": [
  5639. "application/json"
  5640. ],
  5641. "tags": [
  5642. "风险管理v3"
  5643. ],
  5644. "summary": "新增现货贸易业务申请",
  5645. "parameters": [
  5646. {
  5647. "description": "申请参数",
  5648. "name": "jsonBody",
  5649. "in": "body",
  5650. "required": true,
  5651. "schema": {
  5652. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5653. }
  5654. }
  5655. ],
  5656. "responses": {
  5657. "200": {
  5658. "description": "OK",
  5659. "schema": {
  5660. "$ref": "#/definitions/app.Response"
  5661. }
  5662. },
  5663. "500": {
  5664. "description": "Internal Server Error",
  5665. "schema": {
  5666. "$ref": "#/definitions/app.Response"
  5667. }
  5668. }
  5669. }
  5670. }
  5671. },
  5672. "/Erms3/AddSpotContractApply": {
  5673. "post": {
  5674. "security": [
  5675. {
  5676. "ApiKeyAuth": []
  5677. }
  5678. ],
  5679. "produces": [
  5680. "application/json"
  5681. ],
  5682. "tags": [
  5683. "风险管理v3"
  5684. ],
  5685. "summary": "新增现货合同申请",
  5686. "parameters": [
  5687. {
  5688. "description": "申请参数",
  5689. "name": "jsonBody",
  5690. "in": "body",
  5691. "required": true,
  5692. "schema": {
  5693. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5694. }
  5695. }
  5696. ],
  5697. "responses": {
  5698. "200": {
  5699. "description": "OK",
  5700. "schema": {
  5701. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5702. }
  5703. },
  5704. "500": {
  5705. "description": "Internal Server Error",
  5706. "schema": {
  5707. "$ref": "#/definitions/app.Response"
  5708. }
  5709. }
  5710. }
  5711. }
  5712. },
  5713. "/Erms3/AddUserInfoApply": {
  5714. "post": {
  5715. "security": [
  5716. {
  5717. "ApiKeyAuth": []
  5718. }
  5719. ],
  5720. "produces": [
  5721. "application/json"
  5722. ],
  5723. "tags": [
  5724. "风险管理v3"
  5725. ],
  5726. "summary": "新增客户申请",
  5727. "parameters": [
  5728. {
  5729. "description": "用户信息",
  5730. "name": "jsonBody",
  5731. "in": "body",
  5732. "required": true,
  5733. "schema": {
  5734. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5735. }
  5736. }
  5737. ],
  5738. "responses": {
  5739. "200": {
  5740. "description": "OK",
  5741. "schema": {
  5742. "$ref": "#/definitions/app.Response"
  5743. }
  5744. },
  5745. "500": {
  5746. "description": "Internal Server Error",
  5747. "schema": {
  5748. "$ref": "#/definitions/app.Response"
  5749. }
  5750. }
  5751. }
  5752. }
  5753. },
  5754. "/Erms3/DeleteUserInfoApply": {
  5755. "get": {
  5756. "security": [
  5757. {
  5758. "ApiKeyAuth": []
  5759. }
  5760. ],
  5761. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5762. "produces": [
  5763. "application/json"
  5764. ],
  5765. "tags": [
  5766. "风险管理v3"
  5767. ],
  5768. "summary": "删除客户申请",
  5769. "parameters": [
  5770. {
  5771. "type": "integer",
  5772. "description": "用户ID",
  5773. "name": "userID",
  5774. "in": "query",
  5775. "required": true
  5776. }
  5777. ],
  5778. "responses": {
  5779. "200": {
  5780. "description": "OK",
  5781. "schema": {
  5782. "$ref": "#/definitions/app.Response"
  5783. }
  5784. },
  5785. "500": {
  5786. "description": "Internal Server Error",
  5787. "schema": {
  5788. "$ref": "#/definitions/app.Response"
  5789. }
  5790. }
  5791. }
  5792. }
  5793. },
  5794. "/Erms3/ModifyUserInfoApply": {
  5795. "post": {
  5796. "security": [
  5797. {
  5798. "ApiKeyAuth": []
  5799. }
  5800. ],
  5801. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5802. "produces": [
  5803. "application/json"
  5804. ],
  5805. "tags": [
  5806. "风险管理v3"
  5807. ],
  5808. "summary": "修改客户申请",
  5809. "parameters": [
  5810. {
  5811. "description": "用户信息",
  5812. "name": "jsonBody",
  5813. "in": "body",
  5814. "required": true,
  5815. "schema": {
  5816. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5817. }
  5818. }
  5819. ],
  5820. "responses": {
  5821. "200": {
  5822. "description": "OK",
  5823. "schema": {
  5824. "$ref": "#/definitions/app.Response"
  5825. }
  5826. },
  5827. "500": {
  5828. "description": "Internal Server Error",
  5829. "schema": {
  5830. "$ref": "#/definitions/app.Response"
  5831. }
  5832. }
  5833. }
  5834. }
  5835. },
  5836. "/Erms3/QueryBusinessInfo": {
  5837. "get": {
  5838. "security": [
  5839. {
  5840. "ApiKeyAuth": []
  5841. }
  5842. ],
  5843. "produces": [
  5844. "application/json"
  5845. ],
  5846. "tags": [
  5847. "风险管理v3"
  5848. ],
  5849. "summary": "查询业务表单数据",
  5850. "parameters": [
  5851. {
  5852. "type": "string",
  5853. "description": "资金账号ID列表,用逗号分隔",
  5854. "name": "accountids",
  5855. "in": "query",
  5856. "required": true
  5857. },
  5858. {
  5859. "type": "integer",
  5860. "description": "状态,0为未结束 1为已结束",
  5861. "name": "status",
  5862. "in": "query",
  5863. "required": true
  5864. }
  5865. ],
  5866. "responses": {
  5867. "200": {
  5868. "description": "OK",
  5869. "schema": {
  5870. "type": "array",
  5871. "items": {
  5872. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5873. }
  5874. }
  5875. },
  5876. "500": {
  5877. "description": "Internal Server Error",
  5878. "schema": {
  5879. "$ref": "#/definitions/app.Response"
  5880. }
  5881. }
  5882. }
  5883. }
  5884. },
  5885. "/Erms3/QueryPendingAuditContract": {
  5886. "get": {
  5887. "security": [
  5888. {
  5889. "ApiKeyAuth": []
  5890. }
  5891. ],
  5892. "produces": [
  5893. "application/json"
  5894. ],
  5895. "tags": [
  5896. "风险管理v3"
  5897. ],
  5898. "summary": "查询待审核合同",
  5899. "parameters": [
  5900. {
  5901. "type": "string",
  5902. "description": "资金账号ID列表,逗号隔开",
  5903. "name": "accountids",
  5904. "in": "query",
  5905. "required": true
  5906. },
  5907. {
  5908. "type": "integer",
  5909. "description": "合同类型 1-采购 -1-销售",
  5910. "name": "contracttype",
  5911. "in": "query",
  5912. "required": true
  5913. },
  5914. {
  5915. "type": "integer",
  5916. "description": "合同模式 1-普通 2-回购",
  5917. "name": "contractmode",
  5918. "in": "query",
  5919. "required": true
  5920. }
  5921. ],
  5922. "responses": {
  5923. "200": {
  5924. "description": "OK",
  5925. "schema": {
  5926. "type": "array",
  5927. "items": {
  5928. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5929. }
  5930. }
  5931. },
  5932. "500": {
  5933. "description": "Internal Server Error",
  5934. "schema": {
  5935. "$ref": "#/definitions/app.Response"
  5936. }
  5937. }
  5938. }
  5939. }
  5940. },
  5941. "/Erms3/QueryPendingBusiness": {
  5942. "get": {
  5943. "security": [
  5944. {
  5945. "ApiKeyAuth": []
  5946. }
  5947. ],
  5948. "produces": [
  5949. "application/json"
  5950. ],
  5951. "tags": [
  5952. "风险管理v3"
  5953. ],
  5954. "summary": "查询待审核基差贸易业务",
  5955. "parameters": [
  5956. {
  5957. "type": "string",
  5958. "description": "资金账号ID列表,逗号隔开",
  5959. "name": "accountids",
  5960. "in": "query",
  5961. "required": true
  5962. }
  5963. ],
  5964. "responses": {
  5965. "200": {
  5966. "description": "OK",
  5967. "schema": {
  5968. "type": "array",
  5969. "items": {
  5970. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5971. }
  5972. }
  5973. },
  5974. "500": {
  5975. "description": "Internal Server Error",
  5976. "schema": {
  5977. "$ref": "#/definitions/app.Response"
  5978. }
  5979. }
  5980. }
  5981. }
  5982. },
  5983. "/Erms3/QuerySpotContractAppleForm": {
  5984. "get": {
  5985. "security": [
  5986. {
  5987. "ApiKeyAuth": []
  5988. }
  5989. ],
  5990. "produces": [
  5991. "application/json"
  5992. ],
  5993. "tags": [
  5994. "风险管理v3"
  5995. ],
  5996. "summary": "查询合同申请表单数据",
  5997. "parameters": [
  5998. {
  5999. "type": "integer",
  6000. "description": "登录账号",
  6001. "name": "loginID",
  6002. "in": "query",
  6003. "required": true
  6004. }
  6005. ],
  6006. "responses": {
  6007. "200": {
  6008. "description": "OK",
  6009. "schema": {
  6010. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  6011. }
  6012. },
  6013. "500": {
  6014. "description": "Internal Server Error",
  6015. "schema": {
  6016. "$ref": "#/definitions/app.Response"
  6017. }
  6018. }
  6019. }
  6020. }
  6021. },
  6022. "/Erms3/QuerySpotContractDetail": {
  6023. "get": {
  6024. "security": [
  6025. {
  6026. "ApiKeyAuth": []
  6027. }
  6028. ],
  6029. "produces": [
  6030. "application/json"
  6031. ],
  6032. "tags": [
  6033. "风险管理v3"
  6034. ],
  6035. "summary": "查询合同详细信息",
  6036. "parameters": [
  6037. {
  6038. "type": "string",
  6039. "description": "资金账号ID列表,用逗号分隔",
  6040. "name": "accountids",
  6041. "in": "query",
  6042. "required": true
  6043. },
  6044. {
  6045. "type": "integer",
  6046. "description": "合同类型,1为采购合同 -1为销售合同",
  6047. "name": "contracttype",
  6048. "in": "query",
  6049. "required": true
  6050. },
  6051. {
  6052. "type": "integer",
  6053. "description": "合同模式,1为普通合同 2为回购销售合同",
  6054. "name": "contractmode",
  6055. "in": "query",
  6056. "required": true
  6057. },
  6058. {
  6059. "type": "integer",
  6060. "description": "状态,0为履约中 1为已完成",
  6061. "name": "status",
  6062. "in": "query",
  6063. "required": true
  6064. }
  6065. ],
  6066. "responses": {
  6067. "200": {
  6068. "description": "OK",
  6069. "schema": {
  6070. "type": "array",
  6071. "items": {
  6072. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6073. }
  6074. }
  6075. },
  6076. "500": {
  6077. "description": "Internal Server Error",
  6078. "schema": {
  6079. "$ref": "#/definitions/app.Response"
  6080. }
  6081. }
  6082. }
  6083. }
  6084. },
  6085. "/Erms3/QueryUserInfoApplies": {
  6086. "get": {
  6087. "security": [
  6088. {
  6089. "ApiKeyAuth": []
  6090. }
  6091. ],
  6092. "produces": [
  6093. "application/json"
  6094. ],
  6095. "tags": [
  6096. "风险管理v3"
  6097. ],
  6098. "summary": "客户申请信息查询",
  6099. "parameters": [
  6100. {
  6101. "type": "integer",
  6102. "description": "页码",
  6103. "name": "page",
  6104. "in": "query"
  6105. },
  6106. {
  6107. "type": "integer",
  6108. "description": "每页条数",
  6109. "name": "pagesize",
  6110. "in": "query"
  6111. },
  6112. {
  6113. "type": "string",
  6114. "description": "客户名称,支持模糊查询",
  6115. "name": "userName",
  6116. "in": "query"
  6117. }
  6118. ],
  6119. "responses": {
  6120. "200": {
  6121. "description": "OK",
  6122. "schema": {
  6123. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6124. }
  6125. },
  6126. "500": {
  6127. "description": "Internal Server Error",
  6128. "schema": {
  6129. "$ref": "#/definitions/app.Response"
  6130. }
  6131. }
  6132. }
  6133. }
  6134. },
  6135. "/Erms3/QueryUserInfos": {
  6136. "get": {
  6137. "security": [
  6138. {
  6139. "ApiKeyAuth": []
  6140. }
  6141. ],
  6142. "produces": [
  6143. "application/json"
  6144. ],
  6145. "tags": [
  6146. "风险管理v3"
  6147. ],
  6148. "summary": "客户信息查询",
  6149. "parameters": [
  6150. {
  6151. "type": "integer",
  6152. "description": "页码",
  6153. "name": "page",
  6154. "in": "query"
  6155. },
  6156. {
  6157. "type": "integer",
  6158. "description": "每页条数",
  6159. "name": "pagesize",
  6160. "in": "query"
  6161. },
  6162. {
  6163. "type": "string",
  6164. "description": "客户名称,支持模糊查询",
  6165. "name": "userName",
  6166. "in": "query"
  6167. }
  6168. ],
  6169. "responses": {
  6170. "200": {
  6171. "description": "OK",
  6172. "schema": {
  6173. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6174. }
  6175. },
  6176. "500": {
  6177. "description": "Internal Server Error",
  6178. "schema": {
  6179. "$ref": "#/definitions/app.Response"
  6180. }
  6181. }
  6182. }
  6183. }
  6184. },
  6185. "/HSBY/GetHsbyMyCount": {
  6186. "get": {
  6187. "security": [
  6188. {
  6189. "ApiKeyAuth": []
  6190. }
  6191. ],
  6192. "description": "说明: 不包括已完成的数量。",
  6193. "produces": [
  6194. "application/json"
  6195. ],
  6196. "tags": [
  6197. "定制【海商报业】"
  6198. ],
  6199. "summary": "获取我的订单与包裹数量",
  6200. "parameters": [
  6201. {
  6202. "type": "string",
  6203. "description": "资金账户列表,格式:1,2,3",
  6204. "name": "accountIDs",
  6205. "in": "query",
  6206. "required": true
  6207. }
  6208. ],
  6209. "responses": {
  6210. "200": {
  6211. "description": "OK",
  6212. "schema": {
  6213. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6214. }
  6215. },
  6216. "500": {
  6217. "description": "Internal Server Error",
  6218. "schema": {
  6219. "$ref": "#/definitions/app.Response"
  6220. }
  6221. }
  6222. }
  6223. }
  6224. },
  6225. "/HSBY/QueryClientFixedADConfigs": {
  6226. "get": {
  6227. "security": [
  6228. {
  6229. "ApiKeyAuth": []
  6230. }
  6231. ],
  6232. "produces": [
  6233. "application/json"
  6234. ],
  6235. "tags": [
  6236. "定制【海商报业】"
  6237. ],
  6238. "summary": "获取终端固定广告配置",
  6239. "responses": {
  6240. "200": {
  6241. "description": "OK",
  6242. "schema": {
  6243. "$ref": "#/definitions/models.Clientfixedadconfig"
  6244. }
  6245. },
  6246. "500": {
  6247. "description": "Internal Server Error",
  6248. "schema": {
  6249. "$ref": "#/definitions/app.Response"
  6250. }
  6251. }
  6252. }
  6253. }
  6254. },
  6255. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6256. "get": {
  6257. "security": [
  6258. {
  6259. "ApiKeyAuth": []
  6260. }
  6261. ],
  6262. "produces": [
  6263. "application/json"
  6264. ],
  6265. "tags": [
  6266. "定制【海商报业】"
  6267. ],
  6268. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6269. "parameters": [
  6270. {
  6271. "type": "integer",
  6272. "description": "页码",
  6273. "name": "page",
  6274. "in": "query"
  6275. },
  6276. {
  6277. "type": "integer",
  6278. "description": "每页条数",
  6279. "name": "pagesize",
  6280. "in": "query"
  6281. },
  6282. {
  6283. "type": "string",
  6284. "description": "资金账户列表,格式:1,2,3",
  6285. "name": "accountIDs",
  6286. "in": "query",
  6287. "required": true
  6288. }
  6289. ],
  6290. "responses": {
  6291. "200": {
  6292. "description": "OK",
  6293. "schema": {
  6294. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6295. }
  6296. },
  6297. "500": {
  6298. "description": "Internal Server Error",
  6299. "schema": {
  6300. "$ref": "#/definitions/app.Response"
  6301. }
  6302. }
  6303. }
  6304. }
  6305. },
  6306. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6307. "get": {
  6308. "security": [
  6309. {
  6310. "ApiKeyAuth": []
  6311. }
  6312. ],
  6313. "description": "说明:查询结果已按委托价格和委托时间排序",
  6314. "produces": [
  6315. "application/json"
  6316. ],
  6317. "tags": [
  6318. "定制【海商报业】"
  6319. ],
  6320. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6321. "parameters": [
  6322. {
  6323. "type": "integer",
  6324. "description": "商品ID",
  6325. "name": "goodsID",
  6326. "in": "query",
  6327. "required": true
  6328. },
  6329. {
  6330. "type": "string",
  6331. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6332. "name": "accountIDs",
  6333. "in": "query"
  6334. },
  6335. {
  6336. "type": "integer",
  6337. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6338. "name": "buyOrSell",
  6339. "in": "query"
  6340. },
  6341. {
  6342. "type": "number",
  6343. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6344. "name": "price",
  6345. "in": "query"
  6346. },
  6347. {
  6348. "type": "integer",
  6349. "description": "档位,不传则默认为3档",
  6350. "name": "speed",
  6351. "in": "query"
  6352. }
  6353. ],
  6354. "responses": {
  6355. "200": {
  6356. "description": "OK",
  6357. "schema": {
  6358. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6359. }
  6360. },
  6361. "500": {
  6362. "description": "Internal Server Error",
  6363. "schema": {
  6364. "$ref": "#/definitions/app.Response"
  6365. }
  6366. }
  6367. }
  6368. }
  6369. },
  6370. "/HSBY/QueryHsbyListingGoodsDetail": {
  6371. "get": {
  6372. "security": [
  6373. {
  6374. "ApiKeyAuth": []
  6375. }
  6376. ],
  6377. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6378. "produces": [
  6379. "application/json"
  6380. ],
  6381. "tags": [
  6382. "定制【海商报业】"
  6383. ],
  6384. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6385. "parameters": [
  6386. {
  6387. "type": "integer",
  6388. "description": "商品ID",
  6389. "name": "goodsID",
  6390. "in": "query",
  6391. "required": true
  6392. },
  6393. {
  6394. "type": "integer",
  6395. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6396. "name": "accountID",
  6397. "in": "query"
  6398. }
  6399. ],
  6400. "responses": {
  6401. "200": {
  6402. "description": "OK",
  6403. "schema": {
  6404. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6405. }
  6406. },
  6407. "500": {
  6408. "description": "Internal Server Error",
  6409. "schema": {
  6410. "$ref": "#/definitions/app.Response"
  6411. }
  6412. }
  6413. }
  6414. }
  6415. },
  6416. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6417. "get": {
  6418. "security": [
  6419. {
  6420. "ApiKeyAuth": []
  6421. }
  6422. ],
  6423. "produces": [
  6424. "application/json"
  6425. ],
  6426. "tags": [
  6427. "定制【海商报业】"
  6428. ],
  6429. "summary": "查询三级市场(商城)商品信息详情",
  6430. "parameters": [
  6431. {
  6432. "type": "integer",
  6433. "description": "委托单号",
  6434. "name": "orderID",
  6435. "in": "query",
  6436. "required": true
  6437. },
  6438. {
  6439. "type": "integer",
  6440. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6441. "name": "accountID",
  6442. "in": "query"
  6443. }
  6444. ],
  6445. "responses": {
  6446. "200": {
  6447. "description": "OK",
  6448. "schema": {
  6449. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6450. }
  6451. },
  6452. "500": {
  6453. "description": "Internal Server Error",
  6454. "schema": {
  6455. "$ref": "#/definitions/app.Response"
  6456. }
  6457. }
  6458. }
  6459. }
  6460. },
  6461. "/HSBY/QueryHsbyMarketGoodses": {
  6462. "get": {
  6463. "security": [
  6464. {
  6465. "ApiKeyAuth": []
  6466. }
  6467. ],
  6468. "produces": [
  6469. "application/json"
  6470. ],
  6471. "tags": [
  6472. "定制【海商报业】"
  6473. ],
  6474. "summary": "查询特卖商品列表(三级商城)",
  6475. "parameters": [
  6476. {
  6477. "type": "integer",
  6478. "description": "页码",
  6479. "name": "page",
  6480. "in": "query"
  6481. },
  6482. {
  6483. "type": "integer",
  6484. "description": "每页条数",
  6485. "name": "pagesize",
  6486. "in": "query"
  6487. },
  6488. {
  6489. "type": "string",
  6490. "description": "市场ID列表,格式:1,2,3",
  6491. "name": "marketIDs",
  6492. "in": "query",
  6493. "required": true
  6494. },
  6495. {
  6496. "type": "integer",
  6497. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6498. "name": "accountID",
  6499. "in": "query",
  6500. "required": true
  6501. },
  6502. {
  6503. "type": "integer",
  6504. "description": "类别ID",
  6505. "name": "categoryID",
  6506. "in": "query"
  6507. },
  6508. {
  6509. "type": "string",
  6510. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6511. "name": "goodsIDs",
  6512. "in": "query"
  6513. },
  6514. {
  6515. "type": "integer",
  6516. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6517. "name": "couponTypeID",
  6518. "in": "query"
  6519. }
  6520. ],
  6521. "responses": {
  6522. "200": {
  6523. "description": "OK",
  6524. "schema": {
  6525. "$ref": "#/definitions/models.HsbyMarketGoods"
  6526. }
  6527. },
  6528. "500": {
  6529. "description": "Internal Server Error",
  6530. "schema": {
  6531. "$ref": "#/definitions/app.Response"
  6532. }
  6533. }
  6534. }
  6535. }
  6536. },
  6537. "/HSBY/QueryHsbyMarkets": {
  6538. "get": {
  6539. "security": [
  6540. {
  6541. "ApiKeyAuth": []
  6542. }
  6543. ],
  6544. "produces": [
  6545. "application/json"
  6546. ],
  6547. "tags": [
  6548. "定制【海商报业】"
  6549. ],
  6550. "summary": "查询海商报业相关市场信息",
  6551. "responses": {
  6552. "200": {
  6553. "description": "OK",
  6554. "schema": {
  6555. "$ref": "#/definitions/models.HsbyMarketInfo"
  6556. }
  6557. },
  6558. "500": {
  6559. "description": "Internal Server Error",
  6560. "schema": {
  6561. "$ref": "#/definitions/app.Response"
  6562. }
  6563. }
  6564. }
  6565. }
  6566. },
  6567. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6568. "get": {
  6569. "security": [
  6570. {
  6571. "ApiKeyAuth": []
  6572. }
  6573. ],
  6574. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6575. "produces": [
  6576. "application/json"
  6577. ],
  6578. "tags": [
  6579. "定制【海商报业】"
  6580. ],
  6581. "summary": "查询“我的订单”信息",
  6582. "parameters": [
  6583. {
  6584. "type": "string",
  6585. "description": "资金账户列表,格式:1,2,3",
  6586. "name": "accountIDs",
  6587. "in": "query",
  6588. "required": true
  6589. }
  6590. ],
  6591. "responses": {
  6592. "200": {
  6593. "description": "OK",
  6594. "schema": {
  6595. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6596. }
  6597. },
  6598. "500": {
  6599. "description": "Internal Server Error",
  6600. "schema": {
  6601. "$ref": "#/definitions/app.Response"
  6602. }
  6603. }
  6604. }
  6605. }
  6606. },
  6607. "/HSBY/QueryHsbyMyGoods": {
  6608. "get": {
  6609. "security": [
  6610. {
  6611. "ApiKeyAuth": []
  6612. }
  6613. ],
  6614. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6615. "produces": [
  6616. "application/json"
  6617. ],
  6618. "tags": [
  6619. "定制【海商报业】"
  6620. ],
  6621. "summary": "查询“我的商品”信息",
  6622. "parameters": [
  6623. {
  6624. "type": "string",
  6625. "description": "资金账户列表,格式:1,2,3",
  6626. "name": "accountIDs",
  6627. "in": "query",
  6628. "required": true
  6629. }
  6630. ],
  6631. "responses": {
  6632. "200": {
  6633. "description": "OK",
  6634. "schema": {
  6635. "$ref": "#/definitions/models.HsbyMyGoods"
  6636. }
  6637. },
  6638. "500": {
  6639. "description": "Internal Server Error",
  6640. "schema": {
  6641. "$ref": "#/definitions/app.Response"
  6642. }
  6643. }
  6644. }
  6645. }
  6646. },
  6647. "/HSBY/QueryHsbyMyPackages": {
  6648. "get": {
  6649. "security": [
  6650. {
  6651. "ApiKeyAuth": []
  6652. }
  6653. ],
  6654. "produces": [
  6655. "application/json"
  6656. ],
  6657. "tags": [
  6658. "定制【海商报业】"
  6659. ],
  6660. "summary": "查询我的包裹信息",
  6661. "parameters": [
  6662. {
  6663. "type": "string",
  6664. "description": "资金账户列表,格式:1,2,3",
  6665. "name": "accountIDs",
  6666. "in": "query",
  6667. "required": true
  6668. },
  6669. {
  6670. "type": "integer",
  6671. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6672. "name": "takeOrderStatus",
  6673. "in": "query"
  6674. }
  6675. ],
  6676. "responses": {
  6677. "200": {
  6678. "description": "OK",
  6679. "schema": {
  6680. "$ref": "#/definitions/models.HsbyMyPackage"
  6681. }
  6682. },
  6683. "500": {
  6684. "description": "Internal Server Error",
  6685. "schema": {
  6686. "$ref": "#/definitions/app.Response"
  6687. }
  6688. }
  6689. }
  6690. }
  6691. },
  6692. "/HSBY/QueryHsbyPreGoodsDetail": {
  6693. "get": {
  6694. "security": [
  6695. {
  6696. "ApiKeyAuth": []
  6697. }
  6698. ],
  6699. "produces": [
  6700. "application/json"
  6701. ],
  6702. "tags": [
  6703. "定制【海商报业】"
  6704. ],
  6705. "summary": "查询一级市场(预售)商品信息详情",
  6706. "parameters": [
  6707. {
  6708. "type": "integer",
  6709. "description": "商品ID",
  6710. "name": "goodsID",
  6711. "in": "query",
  6712. "required": true
  6713. },
  6714. {
  6715. "type": "integer",
  6716. "description": "资金账户,主要用于获取预售商品购买上限",
  6717. "name": "accountID",
  6718. "in": "query"
  6719. }
  6720. ],
  6721. "responses": {
  6722. "200": {
  6723. "description": "OK",
  6724. "schema": {
  6725. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6726. }
  6727. },
  6728. "500": {
  6729. "description": "Internal Server Error",
  6730. "schema": {
  6731. "$ref": "#/definitions/app.Response"
  6732. }
  6733. }
  6734. }
  6735. }
  6736. },
  6737. "/HSBY/QueryHsbyPreGoodses": {
  6738. "get": {
  6739. "security": [
  6740. {
  6741. "ApiKeyAuth": []
  6742. }
  6743. ],
  6744. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6745. "produces": [
  6746. "application/json"
  6747. ],
  6748. "tags": [
  6749. "定制【海商报业】"
  6750. ],
  6751. "summary": "查询新品上市商品列表(一级市场预售)",
  6752. "parameters": [
  6753. {
  6754. "type": "integer",
  6755. "description": "页码",
  6756. "name": "page",
  6757. "in": "query"
  6758. },
  6759. {
  6760. "type": "integer",
  6761. "description": "每页条数",
  6762. "name": "pagesize",
  6763. "in": "query"
  6764. },
  6765. {
  6766. "type": "string",
  6767. "description": "市场ID列表,格式:1,2,3",
  6768. "name": "marketIDs",
  6769. "in": "query",
  6770. "required": true
  6771. },
  6772. {
  6773. "type": "integer",
  6774. "description": "目的地(省)ID",
  6775. "name": "descProvinceID",
  6776. "in": "query"
  6777. },
  6778. {
  6779. "type": "integer",
  6780. "description": "目的地(市)ID",
  6781. "name": "descCityID",
  6782. "in": "query"
  6783. }
  6784. ],
  6785. "responses": {
  6786. "200": {
  6787. "description": "OK",
  6788. "schema": {
  6789. "$ref": "#/definitions/models.HsbyPreGoods"
  6790. }
  6791. },
  6792. "500": {
  6793. "description": "Internal Server Error",
  6794. "schema": {
  6795. "$ref": "#/definitions/app.Response"
  6796. }
  6797. }
  6798. }
  6799. }
  6800. },
  6801. "/HSBY/QueryHsbySellMyDetails": {
  6802. "get": {
  6803. "security": [
  6804. {
  6805. "ApiKeyAuth": []
  6806. }
  6807. ],
  6808. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6809. "produces": [
  6810. "application/json"
  6811. ],
  6812. "tags": [
  6813. "定制【海商报业】"
  6814. ],
  6815. "summary": "查询\"我的闲置\"单据信息",
  6816. "parameters": [
  6817. {
  6818. "type": "integer",
  6819. "description": "页码",
  6820. "name": "page",
  6821. "in": "query"
  6822. },
  6823. {
  6824. "type": "integer",
  6825. "description": "每页条数",
  6826. "name": "pagesize",
  6827. "in": "query"
  6828. },
  6829. {
  6830. "type": "string",
  6831. "description": "资金账户列表,格式:1,2,3",
  6832. "name": "accountIDs",
  6833. "in": "query",
  6834. "required": true
  6835. },
  6836. {
  6837. "type": "integer",
  6838. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6839. "name": "orderType",
  6840. "in": "query"
  6841. }
  6842. ],
  6843. "responses": {
  6844. "200": {
  6845. "description": "OK",
  6846. "schema": {
  6847. "$ref": "#/definitions/models.HsbySellMyDetail"
  6848. }
  6849. },
  6850. "500": {
  6851. "description": "Internal Server Error",
  6852. "schema": {
  6853. "$ref": "#/definitions/app.Response"
  6854. }
  6855. }
  6856. }
  6857. }
  6858. },
  6859. "/HSBY/QueryHsbyTopGoodses": {
  6860. "get": {
  6861. "security": [
  6862. {
  6863. "ApiKeyAuth": []
  6864. }
  6865. ],
  6866. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6867. "produces": [
  6868. "application/json"
  6869. ],
  6870. "tags": [
  6871. "定制【海商报业】"
  6872. ],
  6873. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6874. "parameters": [
  6875. {
  6876. "type": "integer",
  6877. "description": "页码",
  6878. "name": "page",
  6879. "in": "query"
  6880. },
  6881. {
  6882. "type": "integer",
  6883. "description": "每页条数",
  6884. "name": "pagesize",
  6885. "in": "query"
  6886. },
  6887. {
  6888. "type": "string",
  6889. "description": "市场ID列表,格式:1,2,3",
  6890. "name": "marketIDs",
  6891. "in": "query",
  6892. "required": true
  6893. },
  6894. {
  6895. "type": "integer",
  6896. "description": "目的地(省)ID",
  6897. "name": "descProvinceID",
  6898. "in": "query"
  6899. },
  6900. {
  6901. "type": "integer",
  6902. "description": "目的地(市)ID",
  6903. "name": "descCityID",
  6904. "in": "query"
  6905. }
  6906. ],
  6907. "responses": {
  6908. "200": {
  6909. "description": "OK",
  6910. "schema": {
  6911. "$ref": "#/definitions/models.HsbyTopGoods"
  6912. }
  6913. },
  6914. "500": {
  6915. "description": "Internal Server Error",
  6916. "schema": {
  6917. "$ref": "#/definitions/app.Response"
  6918. }
  6919. }
  6920. }
  6921. }
  6922. },
  6923. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6924. "get": {
  6925. "security": [
  6926. {
  6927. "ApiKeyAuth": []
  6928. }
  6929. ],
  6930. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6931. "produces": [
  6932. "application/json"
  6933. ],
  6934. "tags": [
  6935. "定制【海商报业】"
  6936. ],
  6937. "summary": "查询游客三级市场(商城)商品信息详情",
  6938. "parameters": [
  6939. {
  6940. "type": "integer",
  6941. "description": "商品ID",
  6942. "name": "goodsID",
  6943. "in": "query",
  6944. "required": true
  6945. }
  6946. ],
  6947. "responses": {
  6948. "200": {
  6949. "description": "OK",
  6950. "schema": {
  6951. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6952. }
  6953. },
  6954. "500": {
  6955. "description": "Internal Server Error",
  6956. "schema": {
  6957. "$ref": "#/definitions/app.Response"
  6958. }
  6959. }
  6960. }
  6961. }
  6962. },
  6963. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6964. "get": {
  6965. "security": [
  6966. {
  6967. "ApiKeyAuth": []
  6968. }
  6969. ],
  6970. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6971. "produces": [
  6972. "application/json"
  6973. ],
  6974. "tags": [
  6975. "定制【海商报业】"
  6976. ],
  6977. "summary": "查询游客特卖商品列表(三级商城)",
  6978. "parameters": [
  6979. {
  6980. "type": "integer",
  6981. "description": "页码",
  6982. "name": "page",
  6983. "in": "query"
  6984. },
  6985. {
  6986. "type": "integer",
  6987. "description": "每页条数",
  6988. "name": "pagesize",
  6989. "in": "query"
  6990. },
  6991. {
  6992. "type": "string",
  6993. "description": "市场ID列表,格式:1,2,3",
  6994. "name": "marketIDs",
  6995. "in": "query",
  6996. "required": true
  6997. },
  6998. {
  6999. "type": "integer",
  7000. "description": "类别ID",
  7001. "name": "categoryID",
  7002. "in": "query"
  7003. },
  7004. {
  7005. "type": "string",
  7006. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7007. "name": "goodsIDs",
  7008. "in": "query"
  7009. }
  7010. ],
  7011. "responses": {
  7012. "200": {
  7013. "description": "OK",
  7014. "schema": {
  7015. "$ref": "#/definitions/models.HsbyMarketGoods"
  7016. }
  7017. },
  7018. "500": {
  7019. "description": "Internal Server Error",
  7020. "schema": {
  7021. "$ref": "#/definitions/app.Response"
  7022. }
  7023. }
  7024. }
  7025. }
  7026. },
  7027. "/HSBY/QueryMyCollectionOrders": {
  7028. "get": {
  7029. "security": [
  7030. {
  7031. "ApiKeyAuth": []
  7032. }
  7033. ],
  7034. "produces": [
  7035. "application/json"
  7036. ],
  7037. "tags": [
  7038. "定制【海商报业】"
  7039. ],
  7040. "summary": "我的闲置中收款信息查询",
  7041. "parameters": [
  7042. {
  7043. "type": "integer",
  7044. "description": "页码",
  7045. "name": "page",
  7046. "in": "query"
  7047. },
  7048. {
  7049. "type": "integer",
  7050. "description": "每页条数",
  7051. "name": "pagesize",
  7052. "in": "query"
  7053. },
  7054. {
  7055. "type": "string",
  7056. "description": "资金账户,格式:1,2,3",
  7057. "name": "accountIDs",
  7058. "in": "query",
  7059. "required": true
  7060. }
  7061. ],
  7062. "responses": {
  7063. "200": {
  7064. "description": "OK",
  7065. "schema": {
  7066. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7067. }
  7068. },
  7069. "500": {
  7070. "description": "Internal Server Error",
  7071. "schema": {
  7072. "$ref": "#/definitions/app.Response"
  7073. }
  7074. }
  7075. }
  7076. }
  7077. },
  7078. "/HSBY/QueryMyCouponHolds": {
  7079. "get": {
  7080. "security": [
  7081. {
  7082. "ApiKeyAuth": []
  7083. }
  7084. ],
  7085. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7086. "produces": [
  7087. "application/json"
  7088. ],
  7089. "tags": [
  7090. "定制【海商报业】"
  7091. ],
  7092. "summary": "我的优惠卷持仓查询",
  7093. "parameters": [
  7094. {
  7095. "type": "string",
  7096. "description": "资金账户列表,格式:1,2,3",
  7097. "name": "accountIDs",
  7098. "in": "query",
  7099. "required": true
  7100. },
  7101. {
  7102. "type": "string",
  7103. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7104. "name": "holdStatus",
  7105. "in": "query"
  7106. }
  7107. ],
  7108. "responses": {
  7109. "200": {
  7110. "description": "OK",
  7111. "schema": {
  7112. "$ref": "#/definitions/models.MyCouponHold"
  7113. }
  7114. },
  7115. "500": {
  7116. "description": "Internal Server Error",
  7117. "schema": {
  7118. "$ref": "#/definitions/app.Response"
  7119. }
  7120. }
  7121. }
  7122. }
  7123. },
  7124. "/HSBY/QueryMyCoupons": {
  7125. "get": {
  7126. "security": [
  7127. {
  7128. "ApiKeyAuth": []
  7129. }
  7130. ],
  7131. "produces": [
  7132. "application/json"
  7133. ],
  7134. "tags": [
  7135. "定制【海商报业】"
  7136. ],
  7137. "summary": "我的优惠卷查询",
  7138. "parameters": [
  7139. {
  7140. "type": "string",
  7141. "description": "资金账户列表,格式:1,2,3",
  7142. "name": "accountIDs",
  7143. "in": "query",
  7144. "required": true
  7145. },
  7146. {
  7147. "type": "integer",
  7148. "description": "商品ID, 一般与sellUserID配套传入",
  7149. "name": "goodsID",
  7150. "in": "query"
  7151. },
  7152. {
  7153. "type": "integer",
  7154. "description": "卖方UserID",
  7155. "name": "sellUserID",
  7156. "in": "query"
  7157. }
  7158. ],
  7159. "responses": {
  7160. "200": {
  7161. "description": "OK",
  7162. "schema": {
  7163. "$ref": "#/definitions/models.MyCoupon"
  7164. }
  7165. },
  7166. "500": {
  7167. "description": "Internal Server Error",
  7168. "schema": {
  7169. "$ref": "#/definitions/app.Response"
  7170. }
  7171. }
  7172. }
  7173. }
  7174. },
  7175. "/HSBY/QueryMyPayOrders": {
  7176. "get": {
  7177. "security": [
  7178. {
  7179. "ApiKeyAuth": []
  7180. }
  7181. ],
  7182. "produces": [
  7183. "application/json"
  7184. ],
  7185. "tags": [
  7186. "定制【海商报业】"
  7187. ],
  7188. "summary": "获取我的订单中待付款信息",
  7189. "parameters": [
  7190. {
  7191. "type": "integer",
  7192. "description": "页码",
  7193. "name": "page",
  7194. "in": "query"
  7195. },
  7196. {
  7197. "type": "integer",
  7198. "description": "每页条数",
  7199. "name": "pagesize",
  7200. "in": "query"
  7201. },
  7202. {
  7203. "type": "string",
  7204. "description": "资金账户列表,格式:1,2,3",
  7205. "name": "accountIDs",
  7206. "in": "query",
  7207. "required": true
  7208. },
  7209. {
  7210. "type": "integer",
  7211. "description": "买方委托单号",
  7212. "name": "buyOrderID",
  7213. "in": "query"
  7214. },
  7215. {
  7216. "type": "integer",
  7217. "description": "卖方委托单号",
  7218. "name": "sellOrderID",
  7219. "in": "query"
  7220. }
  7221. ],
  7222. "responses": {
  7223. "200": {
  7224. "description": "OK",
  7225. "schema": {
  7226. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7227. }
  7228. },
  7229. "500": {
  7230. "description": "Internal Server Error",
  7231. "schema": {
  7232. "$ref": "#/definitions/app.Response"
  7233. }
  7234. }
  7235. }
  7236. }
  7237. },
  7238. "/HSBY/QueryMyUsedCoupon": {
  7239. "get": {
  7240. "security": [
  7241. {
  7242. "ApiKeyAuth": []
  7243. }
  7244. ],
  7245. "produces": [
  7246. "application/json"
  7247. ],
  7248. "tags": [
  7249. "定制【海商报业】"
  7250. ],
  7251. "summary": "已使用优惠卷查询",
  7252. "parameters": [
  7253. {
  7254. "type": "string",
  7255. "description": "资金账户列表,格式:1,2,3",
  7256. "name": "accountIDs",
  7257. "in": "query",
  7258. "required": true
  7259. }
  7260. ],
  7261. "responses": {
  7262. "200": {
  7263. "description": "OK",
  7264. "schema": {
  7265. "$ref": "#/definitions/models.MyUsedCoupon"
  7266. }
  7267. },
  7268. "500": {
  7269. "description": "Internal Server Error",
  7270. "schema": {
  7271. "$ref": "#/definitions/app.Response"
  7272. }
  7273. }
  7274. }
  7275. }
  7276. },
  7277. "/HSBY/QueryProvincesAndCities": {
  7278. "get": {
  7279. "security": [
  7280. {
  7281. "ApiKeyAuth": []
  7282. }
  7283. ],
  7284. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7285. "produces": [
  7286. "application/json"
  7287. ],
  7288. "tags": [
  7289. "定制【海商报业】"
  7290. ],
  7291. "summary": "查询省市信息(不包括区)",
  7292. "parameters": [
  7293. {
  7294. "type": "integer",
  7295. "description": "省ID",
  7296. "name": "provinceID",
  7297. "in": "query"
  7298. }
  7299. ],
  7300. "responses": {
  7301. "200": {
  7302. "description": "OK",
  7303. "schema": {
  7304. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7305. }
  7306. },
  7307. "500": {
  7308. "description": "Internal Server Error",
  7309. "schema": {
  7310. "$ref": "#/definitions/app.Response"
  7311. }
  7312. }
  7313. }
  7314. }
  7315. },
  7316. "/HSBY/SetHsbyMyPackagesStatus": {
  7317. "post": {
  7318. "security": [
  7319. {
  7320. "ApiKeyAuth": []
  7321. }
  7322. ],
  7323. "produces": [
  7324. "application/json"
  7325. ],
  7326. "tags": [
  7327. "定制【海商报业】"
  7328. ],
  7329. "summary": "设置我的包裹已收货状态",
  7330. "parameters": [
  7331. {
  7332. "type": "string",
  7333. "description": "提货单号",
  7334. "name": "takeOrderID",
  7335. "in": "query",
  7336. "required": true
  7337. },
  7338. {
  7339. "type": "integer",
  7340. "description": "资金账号",
  7341. "name": "accountID",
  7342. "in": "query",
  7343. "required": true
  7344. }
  7345. ],
  7346. "responses": {
  7347. "200": {
  7348. "description": "OK",
  7349. "schema": {
  7350. "$ref": "#/definitions/app.Response"
  7351. }
  7352. },
  7353. "500": {
  7354. "description": "Internal Server Error",
  7355. "schema": {
  7356. "$ref": "#/definitions/app.Response"
  7357. }
  7358. }
  7359. }
  7360. }
  7361. },
  7362. "/Market/GetAllExExchanges": {
  7363. "get": {
  7364. "security": [
  7365. {
  7366. "ApiKeyAuth": []
  7367. }
  7368. ],
  7369. "produces": [
  7370. "application/json"
  7371. ],
  7372. "tags": [
  7373. "通用市场"
  7374. ],
  7375. "summary": "获取所有外部交易所信息",
  7376. "responses": {
  7377. "200": {
  7378. "description": "OK",
  7379. "schema": {
  7380. "$ref": "#/definitions/models.Goods"
  7381. }
  7382. },
  7383. "500": {
  7384. "description": "Internal Server Error",
  7385. "schema": {
  7386. "$ref": "#/definitions/app.Response"
  7387. }
  7388. }
  7389. }
  7390. }
  7391. },
  7392. "/Market/QueryGoodsesByLoginID": {
  7393. "get": {
  7394. "security": [
  7395. {
  7396. "ApiKeyAuth": []
  7397. }
  7398. ],
  7399. "produces": [
  7400. "application/json"
  7401. ],
  7402. "tags": [
  7403. "通用市场"
  7404. ],
  7405. "summary": "获取登录账号有权限的商品信息",
  7406. "parameters": [
  7407. {
  7408. "type": "integer",
  7409. "description": "登录账号",
  7410. "name": "loginID",
  7411. "in": "query",
  7412. "required": true
  7413. },
  7414. {
  7415. "type": "string",
  7416. "description": "市场ID列表,格式:1,2,3",
  7417. "name": "marketIDs",
  7418. "in": "query"
  7419. }
  7420. ],
  7421. "responses": {
  7422. "200": {
  7423. "description": "OK",
  7424. "schema": {
  7425. "$ref": "#/definitions/models.Goods"
  7426. }
  7427. },
  7428. "500": {
  7429. "description": "Internal Server Error",
  7430. "schema": {
  7431. "$ref": "#/definitions/app.Response"
  7432. }
  7433. }
  7434. }
  7435. }
  7436. },
  7437. "/Market/QueryMarketRun": {
  7438. "get": {
  7439. "security": [
  7440. {
  7441. "ApiKeyAuth": []
  7442. }
  7443. ],
  7444. "produces": [
  7445. "application/json"
  7446. ],
  7447. "tags": [
  7448. "通用市场"
  7449. ],
  7450. "summary": "查询市场运行信息",
  7451. "parameters": [
  7452. {
  7453. "type": "integer",
  7454. "description": "市场ID,不传返回所有",
  7455. "name": "marketID",
  7456. "in": "query"
  7457. }
  7458. ],
  7459. "responses": {
  7460. "200": {
  7461. "description": "OK",
  7462. "schema": {
  7463. "$ref": "#/definitions/models.Marketrun"
  7464. }
  7465. },
  7466. "500": {
  7467. "description": "Internal Server Error",
  7468. "schema": {
  7469. "$ref": "#/definitions/app.Response"
  7470. }
  7471. }
  7472. }
  7473. }
  7474. },
  7475. "/Market/QueryMarketsByLoginID": {
  7476. "get": {
  7477. "security": [
  7478. {
  7479. "ApiKeyAuth": []
  7480. }
  7481. ],
  7482. "produces": [
  7483. "application/json"
  7484. ],
  7485. "tags": [
  7486. "通用市场"
  7487. ],
  7488. "summary": "获取登录账号有权限的市场信息",
  7489. "parameters": [
  7490. {
  7491. "type": "integer",
  7492. "description": "登录账号",
  7493. "name": "loginID",
  7494. "in": "query",
  7495. "required": true
  7496. }
  7497. ],
  7498. "responses": {
  7499. "200": {
  7500. "description": "OK",
  7501. "schema": {
  7502. "$ref": "#/definitions/models.Market"
  7503. }
  7504. },
  7505. "500": {
  7506. "description": "Internal Server Error",
  7507. "schema": {
  7508. "$ref": "#/definitions/app.Response"
  7509. }
  7510. }
  7511. }
  7512. }
  7513. },
  7514. "/Order/QueryHisTradeDetail": {
  7515. "get": {
  7516. "security": [
  7517. {
  7518. "ApiKeyAuth": []
  7519. }
  7520. ],
  7521. "produces": [
  7522. "application/json"
  7523. ],
  7524. "tags": [
  7525. "通用单据"
  7526. ],
  7527. "summary": "历史成交单查询(合约市场)",
  7528. "parameters": [
  7529. {
  7530. "type": "string",
  7531. "description": "资金账户 - 格式:1,2,3",
  7532. "name": "accountID",
  7533. "in": "query",
  7534. "required": true
  7535. },
  7536. {
  7537. "type": "integer",
  7538. "description": "成交单号",
  7539. "name": "tradeID",
  7540. "in": "query"
  7541. },
  7542. {
  7543. "type": "integer",
  7544. "description": "委托单号",
  7545. "name": "orderID",
  7546. "in": "query"
  7547. },
  7548. {
  7549. "type": "integer",
  7550. "description": "商品ID",
  7551. "name": "goodsID",
  7552. "in": "query"
  7553. },
  7554. {
  7555. "type": "string",
  7556. "description": "交易模式 - 格式:1,2,3",
  7557. "name": "tradeMode",
  7558. "in": "query"
  7559. },
  7560. {
  7561. "type": "integer",
  7562. "description": "委托单据类型",
  7563. "name": "buildType",
  7564. "in": "query"
  7565. },
  7566. {
  7567. "type": "string",
  7568. "description": "成交类别 - 格式:1,2,3",
  7569. "name": "tradeType",
  7570. "in": "query"
  7571. },
  7572. {
  7573. "type": "string",
  7574. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7575. "name": "startDate",
  7576. "in": "query"
  7577. },
  7578. {
  7579. "type": "string",
  7580. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7581. "name": "endDate",
  7582. "in": "query"
  7583. }
  7584. ],
  7585. "responses": {
  7586. "200": {
  7587. "description": "OK",
  7588. "schema": {
  7589. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7590. }
  7591. },
  7592. "500": {
  7593. "description": "Internal Server Error",
  7594. "schema": {
  7595. "$ref": "#/definitions/app.Response"
  7596. }
  7597. }
  7598. }
  7599. }
  7600. },
  7601. "/Order/QueryHisTradeOrderDetail": {
  7602. "get": {
  7603. "security": [
  7604. {
  7605. "ApiKeyAuth": []
  7606. }
  7607. ],
  7608. "produces": [
  7609. "application/json"
  7610. ],
  7611. "tags": [
  7612. "通用单据"
  7613. ],
  7614. "summary": "历史委托单查询请求(合约市场)",
  7615. "parameters": [
  7616. {
  7617. "type": "string",
  7618. "description": "资金账户 - 格式:1,2,3",
  7619. "name": "accountID",
  7620. "in": "query",
  7621. "required": true
  7622. },
  7623. {
  7624. "type": "string",
  7625. "description": "交易模式 - 格式:1,2,3",
  7626. "name": "tradeMode",
  7627. "in": "query"
  7628. },
  7629. {
  7630. "type": "string",
  7631. "description": "委托状态 - 格式:1,2,3",
  7632. "name": "orderStatus",
  7633. "in": "query"
  7634. },
  7635. {
  7636. "type": "integer",
  7637. "description": "委托单号",
  7638. "name": "orderID",
  7639. "in": "query"
  7640. },
  7641. {
  7642. "type": "string",
  7643. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7644. "name": "startDate",
  7645. "in": "query"
  7646. },
  7647. {
  7648. "type": "string",
  7649. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7650. "name": "endDate",
  7651. "in": "query"
  7652. }
  7653. ],
  7654. "responses": {
  7655. "200": {
  7656. "description": "OK",
  7657. "schema": {
  7658. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7659. }
  7660. },
  7661. "500": {
  7662. "description": "Internal Server Error",
  7663. "schema": {
  7664. "$ref": "#/definitions/app.Response"
  7665. }
  7666. }
  7667. }
  7668. }
  7669. },
  7670. "/Order/QueryTradeDetail": {
  7671. "get": {
  7672. "security": [
  7673. {
  7674. "ApiKeyAuth": []
  7675. }
  7676. ],
  7677. "produces": [
  7678. "application/json"
  7679. ],
  7680. "tags": [
  7681. "通用单据"
  7682. ],
  7683. "summary": "成交单查询(合约市场)",
  7684. "parameters": [
  7685. {
  7686. "type": "string",
  7687. "description": "资金账户 - 格式:1,2,3",
  7688. "name": "accountID",
  7689. "in": "query",
  7690. "required": true
  7691. },
  7692. {
  7693. "type": "integer",
  7694. "description": "成交单号",
  7695. "name": "tradeID",
  7696. "in": "query"
  7697. },
  7698. {
  7699. "type": "integer",
  7700. "description": "委托单号",
  7701. "name": "orderID",
  7702. "in": "query"
  7703. },
  7704. {
  7705. "type": "string",
  7706. "description": "交易模式 - 格式:1,2,3",
  7707. "name": "tradeMode",
  7708. "in": "query"
  7709. },
  7710. {
  7711. "type": "integer",
  7712. "description": "委托单据类型",
  7713. "name": "buildType",
  7714. "in": "query"
  7715. },
  7716. {
  7717. "type": "string",
  7718. "description": "成交类别 - 格式:1,2,3",
  7719. "name": "tradeType",
  7720. "in": "query"
  7721. },
  7722. {
  7723. "type": "integer",
  7724. "description": "商品ID",
  7725. "name": "goodsID",
  7726. "in": "query"
  7727. }
  7728. ],
  7729. "responses": {
  7730. "200": {
  7731. "description": "OK",
  7732. "schema": {
  7733. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7734. }
  7735. },
  7736. "500": {
  7737. "description": "Internal Server Error",
  7738. "schema": {
  7739. "$ref": "#/definitions/app.Response"
  7740. }
  7741. }
  7742. }
  7743. }
  7744. },
  7745. "/Order/QueryTradeHolderDetail": {
  7746. "get": {
  7747. "security": [
  7748. {
  7749. "ApiKeyAuth": []
  7750. }
  7751. ],
  7752. "produces": [
  7753. "application/json"
  7754. ],
  7755. "tags": [
  7756. "通用单据"
  7757. ],
  7758. "summary": "查询持仓明细",
  7759. "parameters": [
  7760. {
  7761. "type": "integer",
  7762. "description": "用户id",
  7763. "name": "userid",
  7764. "in": "query"
  7765. },
  7766. {
  7767. "type": "string",
  7768. "description": "资金账号, 格式 1,2,3",
  7769. "name": "accids",
  7770. "in": "query"
  7771. },
  7772. {
  7773. "type": "string",
  7774. "description": "交易模式, 格式 1,2,3",
  7775. "name": "trademodes",
  7776. "in": "query"
  7777. },
  7778. {
  7779. "type": "string",
  7780. "description": "市场id, 格式 1,2,3",
  7781. "name": "marketids",
  7782. "in": "query"
  7783. },
  7784. {
  7785. "type": "integer",
  7786. "description": "商品id",
  7787. "name": "goodsid",
  7788. "in": "query"
  7789. },
  7790. {
  7791. "type": "integer",
  7792. "description": "买卖方向 0-买 1-卖",
  7793. "name": "buyorsell",
  7794. "in": "query"
  7795. }
  7796. ],
  7797. "responses": {
  7798. "200": {
  7799. "description": "OK",
  7800. "schema": {
  7801. "type": "array",
  7802. "items": {
  7803. "$ref": "#/definitions/models.TradeHolderDetail"
  7804. }
  7805. }
  7806. },
  7807. "500": {
  7808. "description": "Internal Server Error",
  7809. "schema": {
  7810. "$ref": "#/definitions/app.Response"
  7811. }
  7812. }
  7813. }
  7814. }
  7815. },
  7816. "/Order/QueryTradeOrderDetail": {
  7817. "get": {
  7818. "security": [
  7819. {
  7820. "ApiKeyAuth": []
  7821. }
  7822. ],
  7823. "produces": [
  7824. "application/json"
  7825. ],
  7826. "tags": [
  7827. "通用单据"
  7828. ],
  7829. "summary": "委托单查询请求(合约市场)",
  7830. "parameters": [
  7831. {
  7832. "type": "string",
  7833. "description": "资金账户 - 格式:1,2,3",
  7834. "name": "accountID",
  7835. "in": "query",
  7836. "required": true
  7837. },
  7838. {
  7839. "type": "string",
  7840. "description": "交易模式 - 格式:1,2,3",
  7841. "name": "tradeMode",
  7842. "in": "query"
  7843. },
  7844. {
  7845. "type": "string",
  7846. "description": "委托状态 - 格式:1,2,3",
  7847. "name": "orderStatus",
  7848. "in": "query"
  7849. },
  7850. {
  7851. "type": "integer",
  7852. "description": "委托单号",
  7853. "name": "orderID",
  7854. "in": "query"
  7855. }
  7856. ],
  7857. "responses": {
  7858. "200": {
  7859. "description": "OK",
  7860. "schema": {
  7861. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7862. }
  7863. },
  7864. "500": {
  7865. "description": "Internal Server Error",
  7866. "schema": {
  7867. "$ref": "#/definitions/app.Response"
  7868. }
  7869. }
  7870. }
  7871. }
  7872. },
  7873. "/Order/QueryTradePosition": {
  7874. "get": {
  7875. "security": [
  7876. {
  7877. "ApiKeyAuth": []
  7878. }
  7879. ],
  7880. "produces": [
  7881. "application/json"
  7882. ],
  7883. "tags": [
  7884. "通用单据"
  7885. ],
  7886. "summary": "持仓汇总查询(合约市场)",
  7887. "parameters": [
  7888. {
  7889. "type": "string",
  7890. "description": "资金账户 - 格式:1,2,3",
  7891. "name": "accountID",
  7892. "in": "query",
  7893. "required": true
  7894. },
  7895. {
  7896. "type": "string",
  7897. "description": "交易模式 - 格式:1,2,3",
  7898. "name": "tradeMode",
  7899. "in": "query"
  7900. }
  7901. ],
  7902. "responses": {
  7903. "200": {
  7904. "description": "OK",
  7905. "schema": {
  7906. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7907. }
  7908. },
  7909. "500": {
  7910. "description": "Internal Server Error",
  7911. "schema": {
  7912. "$ref": "#/definitions/app.Response"
  7913. }
  7914. }
  7915. }
  7916. }
  7917. },
  7918. "/Qhj/QueryAccountInOutApply": {
  7919. "get": {
  7920. "security": [
  7921. {
  7922. "ApiKeyAuth": []
  7923. }
  7924. ],
  7925. "produces": [
  7926. "application/json"
  7927. ],
  7928. "tags": [
  7929. "大连千海金"
  7930. ],
  7931. "summary": "查询充值提现",
  7932. "parameters": [
  7933. {
  7934. "type": "integer",
  7935. "description": "用户ID",
  7936. "name": "userid",
  7937. "in": "query",
  7938. "required": true
  7939. },
  7940. {
  7941. "type": "string",
  7942. "description": "申请起始日期(格式yyyymmdd)",
  7943. "name": "begindate",
  7944. "in": "query"
  7945. },
  7946. {
  7947. "type": "string",
  7948. "description": "申请截止日期(格式yyyymmdd)",
  7949. "name": "enddate",
  7950. "in": "query"
  7951. },
  7952. {
  7953. "type": "string",
  7954. "description": "模糊搜索名称",
  7955. "name": "likename",
  7956. "in": "query"
  7957. }
  7958. ],
  7959. "responses": {
  7960. "200": {
  7961. "description": "OK",
  7962. "schema": {
  7963. "type": "array",
  7964. "items": {
  7965. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7966. }
  7967. }
  7968. },
  7969. "500": {
  7970. "description": "Internal Server Error",
  7971. "schema": {
  7972. "$ref": "#/definitions/app.Response"
  7973. }
  7974. }
  7975. }
  7976. }
  7977. },
  7978. "/Qhj/QueryAreaFinanceConfig": {
  7979. "get": {
  7980. "security": [
  7981. {
  7982. "ApiKeyAuth": []
  7983. }
  7984. ],
  7985. "produces": [
  7986. "application/json"
  7987. ],
  7988. "tags": [
  7989. "大连千海金"
  7990. ],
  7991. "summary": "查询企业配置表",
  7992. "parameters": [
  7993. {
  7994. "type": "integer",
  7995. "description": "机构用户ID 其他做市关系,都设置为 1",
  7996. "name": "userid",
  7997. "in": "query"
  7998. }
  7999. ],
  8000. "responses": {
  8001. "200": {
  8002. "description": "OK",
  8003. "schema": {
  8004. "type": "array",
  8005. "items": {
  8006. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  8007. }
  8008. }
  8009. },
  8010. "500": {
  8011. "description": "Internal Server Error",
  8012. "schema": {
  8013. "$ref": "#/definitions/app.Response"
  8014. }
  8015. }
  8016. }
  8017. }
  8018. },
  8019. "/Qhj/QueryBankAccountSign": {
  8020. "get": {
  8021. "security": [
  8022. {
  8023. "ApiKeyAuth": []
  8024. }
  8025. ],
  8026. "produces": [
  8027. "application/json"
  8028. ],
  8029. "tags": [
  8030. "大连千海金"
  8031. ],
  8032. "summary": "查询签约银行信息(提现账户管理)",
  8033. "parameters": [
  8034. {
  8035. "type": "integer",
  8036. "description": "用户ID",
  8037. "name": "userid",
  8038. "in": "query",
  8039. "required": true
  8040. }
  8041. ],
  8042. "responses": {
  8043. "200": {
  8044. "description": "OK",
  8045. "schema": {
  8046. "type": "array",
  8047. "items": {
  8048. "$ref": "#/definitions/models.QhjBankAccountSign"
  8049. }
  8050. }
  8051. },
  8052. "500": {
  8053. "description": "Internal Server Error",
  8054. "schema": {
  8055. "$ref": "#/definitions/app.Response"
  8056. }
  8057. }
  8058. }
  8059. }
  8060. },
  8061. "/Qhj/QueryBankInfo": {
  8062. "get": {
  8063. "security": [
  8064. {
  8065. "ApiKeyAuth": []
  8066. }
  8067. ],
  8068. "produces": [
  8069. "application/json"
  8070. ],
  8071. "tags": [
  8072. "大连千海金"
  8073. ],
  8074. "summary": "查询开户行",
  8075. "responses": {
  8076. "200": {
  8077. "description": "OK",
  8078. "schema": {
  8079. "type": "array",
  8080. "items": {
  8081. "$ref": "#/definitions/models.QhjBankInfo"
  8082. }
  8083. }
  8084. },
  8085. "500": {
  8086. "description": "Internal Server Error",
  8087. "schema": {
  8088. "$ref": "#/definitions/app.Response"
  8089. }
  8090. }
  8091. }
  8092. }
  8093. },
  8094. "/Qhj/QueryBrokerApply": {
  8095. "get": {
  8096. "security": [
  8097. {
  8098. "ApiKeyAuth": []
  8099. }
  8100. ],
  8101. "produces": [
  8102. "application/json"
  8103. ],
  8104. "tags": [
  8105. "大连千海金"
  8106. ],
  8107. "summary": "查询经纪人申请",
  8108. "parameters": [
  8109. {
  8110. "type": "integer",
  8111. "description": "所属机构ID",
  8112. "name": "userid",
  8113. "in": "query"
  8114. },
  8115. {
  8116. "type": "string",
  8117. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8118. "name": "filterstatus",
  8119. "in": "query"
  8120. }
  8121. ],
  8122. "responses": {
  8123. "200": {
  8124. "description": "OK",
  8125. "schema": {
  8126. "type": "array",
  8127. "items": {
  8128. "$ref": "#/definitions/models.QhjBrokerApply"
  8129. }
  8130. }
  8131. },
  8132. "500": {
  8133. "description": "Internal Server Error",
  8134. "schema": {
  8135. "$ref": "#/definitions/app.Response"
  8136. }
  8137. }
  8138. }
  8139. }
  8140. },
  8141. "/Qhj/QueryBrokerApplyEx": {
  8142. "get": {
  8143. "security": [
  8144. {
  8145. "ApiKeyAuth": []
  8146. }
  8147. ],
  8148. "produces": [
  8149. "application/json"
  8150. ],
  8151. "tags": [
  8152. "大连千海金"
  8153. ],
  8154. "summary": "查询经纪人信息和申请记录",
  8155. "parameters": [
  8156. {
  8157. "type": "integer",
  8158. "description": "所属机构ID",
  8159. "name": "userid",
  8160. "in": "query"
  8161. }
  8162. ],
  8163. "responses": {
  8164. "200": {
  8165. "description": "OK",
  8166. "schema": {
  8167. "type": "array",
  8168. "items": {
  8169. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  8170. }
  8171. }
  8172. },
  8173. "500": {
  8174. "description": "Internal Server Error",
  8175. "schema": {
  8176. "$ref": "#/definitions/app.Response"
  8177. }
  8178. }
  8179. }
  8180. }
  8181. },
  8182. "/Qhj/QueryBrokerRewardLog": {
  8183. "get": {
  8184. "security": [
  8185. {
  8186. "ApiKeyAuth": []
  8187. }
  8188. ],
  8189. "produces": [
  8190. "application/json"
  8191. ],
  8192. "tags": [
  8193. "大连千海金"
  8194. ],
  8195. "summary": "查询奖励流水(我的奖励)",
  8196. "parameters": [
  8197. {
  8198. "type": "integer",
  8199. "description": "用户ID",
  8200. "name": "userid",
  8201. "in": "query",
  8202. "required": true
  8203. },
  8204. {
  8205. "type": "string",
  8206. "description": "开始交易日(yyyymmdd)",
  8207. "name": "begindate",
  8208. "in": "query"
  8209. },
  8210. {
  8211. "type": "string",
  8212. "description": "结束交易日(yyyymmdd)",
  8213. "name": "enddate",
  8214. "in": "query"
  8215. }
  8216. ],
  8217. "responses": {
  8218. "200": {
  8219. "description": "OK",
  8220. "schema": {
  8221. "type": "array",
  8222. "items": {
  8223. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  8224. }
  8225. }
  8226. },
  8227. "500": {
  8228. "description": "Internal Server Error",
  8229. "schema": {
  8230. "$ref": "#/definitions/app.Response"
  8231. }
  8232. }
  8233. }
  8234. }
  8235. },
  8236. "/Qhj/QueryContract": {
  8237. "get": {
  8238. "security": [
  8239. {
  8240. "ApiKeyAuth": []
  8241. }
  8242. ],
  8243. "produces": [
  8244. "application/json"
  8245. ],
  8246. "tags": [
  8247. "大连千海金"
  8248. ],
  8249. "summary": "查询融资明细(合同)",
  8250. "parameters": [
  8251. {
  8252. "type": "integer",
  8253. "description": "用户ID",
  8254. "name": "userid",
  8255. "in": "query"
  8256. },
  8257. {
  8258. "type": "integer",
  8259. "description": "scf合同id",
  8260. "name": "scfcontractid",
  8261. "in": "query"
  8262. }
  8263. ],
  8264. "responses": {
  8265. "200": {
  8266. "description": "OK",
  8267. "schema": {
  8268. "type": "array",
  8269. "items": {
  8270. "$ref": "#/definitions/models.QhjContract"
  8271. }
  8272. }
  8273. },
  8274. "500": {
  8275. "description": "Internal Server Error",
  8276. "schema": {
  8277. "$ref": "#/definitions/app.Response"
  8278. }
  8279. }
  8280. }
  8281. }
  8282. },
  8283. "/Qhj/QueryContractLog": {
  8284. "get": {
  8285. "security": [
  8286. {
  8287. "ApiKeyAuth": []
  8288. }
  8289. ],
  8290. "produces": [
  8291. "application/json"
  8292. ],
  8293. "tags": [
  8294. "大连千海金"
  8295. ],
  8296. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  8297. "parameters": [
  8298. {
  8299. "type": "integer",
  8300. "description": "scf合同id",
  8301. "name": "scfcontractid",
  8302. "in": "query",
  8303. "required": true
  8304. },
  8305. {
  8306. "type": "string",
  8307. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  8308. "name": "amounttype",
  8309. "in": "query"
  8310. }
  8311. ],
  8312. "responses": {
  8313. "200": {
  8314. "description": "OK",
  8315. "schema": {
  8316. "type": "array",
  8317. "items": {
  8318. "$ref": "#/definitions/models.QhjContractLog"
  8319. }
  8320. }
  8321. },
  8322. "500": {
  8323. "description": "Internal Server Error",
  8324. "schema": {
  8325. "$ref": "#/definitions/app.Response"
  8326. }
  8327. }
  8328. }
  8329. }
  8330. },
  8331. "/Qhj/QueryCusBankSignBank": {
  8332. "get": {
  8333. "security": [
  8334. {
  8335. "ApiKeyAuth": []
  8336. }
  8337. ],
  8338. "produces": [
  8339. "application/json"
  8340. ],
  8341. "tags": [
  8342. "大连千海金"
  8343. ],
  8344. "summary": "查询托管银行",
  8345. "responses": {
  8346. "200": {
  8347. "description": "OK",
  8348. "schema": {
  8349. "type": "array",
  8350. "items": {
  8351. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  8352. }
  8353. }
  8354. },
  8355. "500": {
  8356. "description": "Internal Server Error",
  8357. "schema": {
  8358. "$ref": "#/definitions/app.Response"
  8359. }
  8360. }
  8361. }
  8362. }
  8363. },
  8364. "/Qhj/QueryCustomerInfo": {
  8365. "get": {
  8366. "security": [
  8367. {
  8368. "ApiKeyAuth": []
  8369. }
  8370. ],
  8371. "produces": [
  8372. "application/json"
  8373. ],
  8374. "tags": [
  8375. "大连千海金"
  8376. ],
  8377. "summary": "查询客户资料",
  8378. "parameters": [
  8379. {
  8380. "type": "integer",
  8381. "description": "用户ID",
  8382. "name": "userid",
  8383. "in": "query",
  8384. "required": true
  8385. },
  8386. {
  8387. "type": "integer",
  8388. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8389. "name": "querytype",
  8390. "in": "query",
  8391. "required": true
  8392. },
  8393. {
  8394. "type": "integer",
  8395. "description": "客户类型 1-个人 2-企业",
  8396. "name": "userinfotype",
  8397. "in": "query"
  8398. },
  8399. {
  8400. "type": "string",
  8401. "description": "客户名称(模糊匹配)",
  8402. "name": "customername",
  8403. "in": "query"
  8404. },
  8405. {
  8406. "type": "string",
  8407. "description": "昵称(模糊匹配)",
  8408. "name": "nickname",
  8409. "in": "query"
  8410. },
  8411. {
  8412. "type": "integer",
  8413. "description": "是否包含子级 1-包含",
  8414. "name": "includesub",
  8415. "in": "query"
  8416. }
  8417. ],
  8418. "responses": {
  8419. "200": {
  8420. "description": "OK",
  8421. "schema": {
  8422. "type": "array",
  8423. "items": {
  8424. "$ref": "#/definitions/models.QhjCustomer"
  8425. }
  8426. }
  8427. },
  8428. "500": {
  8429. "description": "Internal Server Error",
  8430. "schema": {
  8431. "$ref": "#/definitions/app.Response"
  8432. }
  8433. }
  8434. }
  8435. }
  8436. },
  8437. "/Qhj/QueryGoodsEx": {
  8438. "get": {
  8439. "security": [
  8440. {
  8441. "ApiKeyAuth": []
  8442. }
  8443. ],
  8444. "produces": [
  8445. "application/json"
  8446. ],
  8447. "tags": [
  8448. "大连千海金"
  8449. ],
  8450. "summary": "交易商品扩展表",
  8451. "parameters": [
  8452. {
  8453. "type": "integer",
  8454. "description": "商品id",
  8455. "name": "goodsid",
  8456. "in": "query"
  8457. }
  8458. ],
  8459. "responses": {
  8460. "200": {
  8461. "description": "OK",
  8462. "schema": {
  8463. "type": "array",
  8464. "items": {
  8465. "$ref": "#/definitions/models.Qhjgoodsex"
  8466. }
  8467. }
  8468. },
  8469. "500": {
  8470. "description": "Internal Server Error",
  8471. "schema": {
  8472. "$ref": "#/definitions/app.Response"
  8473. }
  8474. }
  8475. }
  8476. }
  8477. },
  8478. "/Qhj/QueryMyTeam": {
  8479. "get": {
  8480. "security": [
  8481. {
  8482. "ApiKeyAuth": []
  8483. }
  8484. ],
  8485. "produces": [
  8486. "application/json"
  8487. ],
  8488. "tags": [
  8489. "大连千海金"
  8490. ],
  8491. "summary": "查询我的团队",
  8492. "parameters": [
  8493. {
  8494. "type": "integer",
  8495. "description": "用户ID",
  8496. "name": "userid",
  8497. "in": "query",
  8498. "required": true
  8499. }
  8500. ],
  8501. "responses": {
  8502. "200": {
  8503. "description": "OK",
  8504. "schema": {
  8505. "type": "array",
  8506. "items": {
  8507. "$ref": "#/definitions/models.QhjMyTeamEx"
  8508. }
  8509. }
  8510. },
  8511. "500": {
  8512. "description": "Internal Server Error",
  8513. "schema": {
  8514. "$ref": "#/definitions/app.Response"
  8515. }
  8516. }
  8517. }
  8518. }
  8519. },
  8520. "/Qhj/QueryMyTeamOrder": {
  8521. "get": {
  8522. "security": [
  8523. {
  8524. "ApiKeyAuth": []
  8525. }
  8526. ],
  8527. "produces": [
  8528. "application/json"
  8529. ],
  8530. "tags": [
  8531. "大连千海金"
  8532. ],
  8533. "summary": "查询团队订单(我的团队/团队订单)",
  8534. "parameters": [
  8535. {
  8536. "type": "integer",
  8537. "description": "页码",
  8538. "name": "page",
  8539. "in": "query"
  8540. },
  8541. {
  8542. "type": "integer",
  8543. "description": "每页条数",
  8544. "name": "pagesize",
  8545. "in": "query"
  8546. },
  8547. {
  8548. "type": "integer",
  8549. "description": "用户ID",
  8550. "name": "userid",
  8551. "in": "query",
  8552. "required": true
  8553. },
  8554. {
  8555. "type": "integer",
  8556. "description": "交易模式",
  8557. "name": "trademode",
  8558. "in": "query"
  8559. },
  8560. {
  8561. "type": "string",
  8562. "description": "名称(模糊搜索账户)",
  8563. "name": "filtername",
  8564. "in": "query"
  8565. }
  8566. ],
  8567. "responses": {
  8568. "200": {
  8569. "description": "OK",
  8570. "schema": {
  8571. "type": "array",
  8572. "items": {
  8573. "$ref": "#/definitions/models.QhjTeamOrder"
  8574. }
  8575. }
  8576. },
  8577. "500": {
  8578. "description": "Internal Server Error",
  8579. "schema": {
  8580. "$ref": "#/definitions/app.Response"
  8581. }
  8582. }
  8583. }
  8584. }
  8585. },
  8586. "/Qhj/QueryParentAreaList": {
  8587. "get": {
  8588. "security": [
  8589. {
  8590. "ApiKeyAuth": []
  8591. }
  8592. ],
  8593. "produces": [
  8594. "application/json"
  8595. ],
  8596. "tags": [
  8597. "大连千海金"
  8598. ],
  8599. "summary": "查询所属机构列表",
  8600. "parameters": [
  8601. {
  8602. "type": "integer",
  8603. "description": "用户ID",
  8604. "name": "userid",
  8605. "in": "query",
  8606. "required": true
  8607. }
  8608. ],
  8609. "responses": {
  8610. "200": {
  8611. "description": "OK",
  8612. "schema": {
  8613. "type": "array",
  8614. "items": {
  8615. "$ref": "#/definitions/models.QhjParentAreaList"
  8616. }
  8617. }
  8618. },
  8619. "500": {
  8620. "description": "Internal Server Error",
  8621. "schema": {
  8622. "$ref": "#/definitions/app.Response"
  8623. }
  8624. }
  8625. }
  8626. }
  8627. },
  8628. "/Qhj/QueryPayOrder": {
  8629. "get": {
  8630. "security": [
  8631. {
  8632. "ApiKeyAuth": []
  8633. }
  8634. ],
  8635. "produces": [
  8636. "application/json"
  8637. ],
  8638. "tags": [
  8639. "大连千海金"
  8640. ],
  8641. "summary": "查询待付款单据",
  8642. "parameters": [
  8643. {
  8644. "type": "integer",
  8645. "description": "资金账号id",
  8646. "name": "accountid",
  8647. "in": "query",
  8648. "required": true
  8649. },
  8650. {
  8651. "type": "integer",
  8652. "description": "成交单号",
  8653. "name": "tradeid",
  8654. "in": "query"
  8655. },
  8656. {
  8657. "type": "string",
  8658. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8659. "name": "payflag",
  8660. "in": "query"
  8661. }
  8662. ],
  8663. "responses": {
  8664. "200": {
  8665. "description": "OK",
  8666. "schema": {
  8667. "type": "array",
  8668. "items": {
  8669. "$ref": "#/definitions/models.QhjPayOrder"
  8670. }
  8671. }
  8672. },
  8673. "500": {
  8674. "description": "Internal Server Error",
  8675. "schema": {
  8676. "$ref": "#/definitions/app.Response"
  8677. }
  8678. }
  8679. }
  8680. }
  8681. },
  8682. "/Qhj/QueryPickArea": {
  8683. "get": {
  8684. "security": [
  8685. {
  8686. "ApiKeyAuth": []
  8687. }
  8688. ],
  8689. "produces": [
  8690. "application/json"
  8691. ],
  8692. "tags": [
  8693. "大连千海金"
  8694. ],
  8695. "summary": "查询提货门店",
  8696. "parameters": [
  8697. {
  8698. "type": "integer",
  8699. "description": "用户ID",
  8700. "name": "userid",
  8701. "in": "query"
  8702. }
  8703. ],
  8704. "responses": {
  8705. "200": {
  8706. "description": "OK",
  8707. "schema": {
  8708. "type": "array",
  8709. "items": {
  8710. "$ref": "#/definitions/models.QhjPickArea"
  8711. }
  8712. }
  8713. },
  8714. "500": {
  8715. "description": "Internal Server Error",
  8716. "schema": {
  8717. "$ref": "#/definitions/app.Response"
  8718. }
  8719. }
  8720. }
  8721. }
  8722. },
  8723. "/Qhj/QueryPickGoods": {
  8724. "get": {
  8725. "security": [
  8726. {
  8727. "ApiKeyAuth": []
  8728. }
  8729. ],
  8730. "produces": [
  8731. "application/json"
  8732. ],
  8733. "tags": [
  8734. "大连千海金"
  8735. ],
  8736. "summary": "查询提货商品",
  8737. "parameters": [
  8738. {
  8739. "type": "integer",
  8740. "description": "交易商品id",
  8741. "name": "goodsid",
  8742. "in": "query",
  8743. "required": true
  8744. },
  8745. {
  8746. "type": "string",
  8747. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8748. "name": "status",
  8749. "in": "query"
  8750. }
  8751. ],
  8752. "responses": {
  8753. "200": {
  8754. "description": "OK",
  8755. "schema": {
  8756. "type": "array",
  8757. "items": {
  8758. "$ref": "#/definitions/models.QhjPickGoods"
  8759. }
  8760. }
  8761. },
  8762. "500": {
  8763. "description": "Internal Server Error",
  8764. "schema": {
  8765. "$ref": "#/definitions/app.Response"
  8766. }
  8767. }
  8768. }
  8769. }
  8770. },
  8771. "/Qhj/QueryRSTriggerLog": {
  8772. "get": {
  8773. "security": [
  8774. {
  8775. "ApiKeyAuth": []
  8776. }
  8777. ],
  8778. "produces": [
  8779. "application/json"
  8780. ],
  8781. "tags": [
  8782. "大连千海金"
  8783. ],
  8784. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8785. "parameters": [
  8786. {
  8787. "type": "integer",
  8788. "description": "用户ID",
  8789. "name": "userid",
  8790. "in": "query"
  8791. },
  8792. {
  8793. "type": "integer",
  8794. "description": "定投策略id",
  8795. "name": "regularlystrategyid",
  8796. "in": "query"
  8797. },
  8798. {
  8799. "type": "integer",
  8800. "description": "商品id",
  8801. "name": "goodsid",
  8802. "in": "query"
  8803. },
  8804. {
  8805. "type": "string",
  8806. "description": "开始交易日(yyyymmdd)",
  8807. "name": "begindate",
  8808. "in": "query"
  8809. },
  8810. {
  8811. "type": "string",
  8812. "description": "结束交易日(yyyymmdd)",
  8813. "name": "enddate",
  8814. "in": "query"
  8815. },
  8816. {
  8817. "type": "string",
  8818. "description": "名称(模糊搜索账户)",
  8819. "name": "filtername",
  8820. "in": "query"
  8821. }
  8822. ],
  8823. "responses": {
  8824. "200": {
  8825. "description": "OK",
  8826. "schema": {
  8827. "type": "array",
  8828. "items": {
  8829. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8830. }
  8831. }
  8832. },
  8833. "500": {
  8834. "description": "Internal Server Error",
  8835. "schema": {
  8836. "$ref": "#/definitions/app.Response"
  8837. }
  8838. }
  8839. }
  8840. }
  8841. },
  8842. "/Qhj/QueryRStrategy": {
  8843. "get": {
  8844. "security": [
  8845. {
  8846. "ApiKeyAuth": []
  8847. }
  8848. ],
  8849. "produces": [
  8850. "application/json"
  8851. ],
  8852. "tags": [
  8853. "大连千海金"
  8854. ],
  8855. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8856. "parameters": [
  8857. {
  8858. "type": "integer",
  8859. "description": "用户ID",
  8860. "name": "userid",
  8861. "in": "query"
  8862. },
  8863. {
  8864. "type": "integer",
  8865. "description": "商品id",
  8866. "name": "goodsid",
  8867. "in": "query"
  8868. },
  8869. {
  8870. "type": "string",
  8871. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8872. "name": "status",
  8873. "in": "query"
  8874. },
  8875. {
  8876. "type": "string",
  8877. "description": "名称(模糊搜索账户)",
  8878. "name": "filtername",
  8879. "in": "query"
  8880. }
  8881. ],
  8882. "responses": {
  8883. "200": {
  8884. "description": "OK",
  8885. "schema": {
  8886. "type": "array",
  8887. "items": {
  8888. "$ref": "#/definitions/models.QhjRStrategy"
  8889. }
  8890. }
  8891. },
  8892. "500": {
  8893. "description": "Internal Server Error",
  8894. "schema": {
  8895. "$ref": "#/definitions/app.Response"
  8896. }
  8897. }
  8898. }
  8899. }
  8900. },
  8901. "/Qhj/QueryReckonPriceLog": {
  8902. "get": {
  8903. "security": [
  8904. {
  8905. "ApiKeyAuth": []
  8906. }
  8907. ],
  8908. "produces": [
  8909. "application/json"
  8910. ],
  8911. "tags": [
  8912. "大连千海金"
  8913. ],
  8914. "summary": "查询定投价(结算价)",
  8915. "parameters": [
  8916. {
  8917. "type": "integer",
  8918. "description": "商品ID",
  8919. "name": "goodsid",
  8920. "in": "query"
  8921. },
  8922. {
  8923. "type": "string",
  8924. "description": "交易日 格式(yyyymmdd)",
  8925. "name": "tradedate",
  8926. "in": "query"
  8927. }
  8928. ],
  8929. "responses": {
  8930. "200": {
  8931. "description": "OK",
  8932. "schema": {
  8933. "type": "array",
  8934. "items": {
  8935. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8936. }
  8937. }
  8938. },
  8939. "500": {
  8940. "description": "Internal Server Error",
  8941. "schema": {
  8942. "$ref": "#/definitions/app.Response"
  8943. }
  8944. }
  8945. }
  8946. }
  8947. },
  8948. "/Qhj/QueryScoreLog": {
  8949. "get": {
  8950. "security": [
  8951. {
  8952. "ApiKeyAuth": []
  8953. }
  8954. ],
  8955. "produces": [
  8956. "application/json"
  8957. ],
  8958. "tags": [
  8959. "大连千海金"
  8960. ],
  8961. "summary": "查询积分流水(我的积分)",
  8962. "parameters": [
  8963. {
  8964. "type": "integer",
  8965. "description": "用户ID",
  8966. "name": "userid",
  8967. "in": "query",
  8968. "required": true
  8969. },
  8970. {
  8971. "type": "string",
  8972. "description": "开始交易日(yyyymmdd)",
  8973. "name": "begindate",
  8974. "in": "query"
  8975. },
  8976. {
  8977. "type": "string",
  8978. "description": "结束交易日(yyyymmdd)",
  8979. "name": "enddate",
  8980. "in": "query"
  8981. },
  8982. {
  8983. "type": "integer",
  8984. "description": "最近多少条",
  8985. "name": "lastnum",
  8986. "in": "query"
  8987. }
  8988. ],
  8989. "responses": {
  8990. "200": {
  8991. "description": "OK",
  8992. "schema": {
  8993. "type": "array",
  8994. "items": {
  8995. "$ref": "#/definitions/models.QhjScoreLog"
  8996. }
  8997. }
  8998. },
  8999. "500": {
  9000. "description": "Internal Server Error",
  9001. "schema": {
  9002. "$ref": "#/definitions/app.Response"
  9003. }
  9004. }
  9005. }
  9006. }
  9007. },
  9008. "/Qhj/QuerySiteColumnDetail": {
  9009. "get": {
  9010. "security": [
  9011. {
  9012. "ApiKeyAuth": []
  9013. }
  9014. ],
  9015. "produces": [
  9016. "application/json"
  9017. ],
  9018. "tags": [
  9019. "大连千海金"
  9020. ],
  9021. "summary": "查询资讯",
  9022. "parameters": [
  9023. {
  9024. "type": "integer",
  9025. "description": "用户ID",
  9026. "name": "userid",
  9027. "in": "query",
  9028. "required": true
  9029. }
  9030. ],
  9031. "responses": {
  9032. "200": {
  9033. "description": "OK",
  9034. "schema": {
  9035. "type": "array",
  9036. "items": {
  9037. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  9038. }
  9039. }
  9040. },
  9041. "500": {
  9042. "description": "Internal Server Error",
  9043. "schema": {
  9044. "$ref": "#/definitions/app.Response"
  9045. }
  9046. }
  9047. }
  9048. }
  9049. },
  9050. "/Qhj/QueryTradeGoodsPickup": {
  9051. "get": {
  9052. "security": [
  9053. {
  9054. "ApiKeyAuth": []
  9055. }
  9056. ],
  9057. "produces": [
  9058. "application/json"
  9059. ],
  9060. "tags": [
  9061. "大连千海金"
  9062. ],
  9063. "summary": "查询提货",
  9064. "parameters": [
  9065. {
  9066. "type": "integer",
  9067. "description": "用户ID",
  9068. "name": "userid",
  9069. "in": "query",
  9070. "required": true
  9071. },
  9072. {
  9073. "type": "integer",
  9074. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  9075. "name": "takeorderstatus",
  9076. "in": "query"
  9077. }
  9078. ],
  9079. "responses": {
  9080. "200": {
  9081. "description": "OK",
  9082. "schema": {
  9083. "type": "array",
  9084. "items": {
  9085. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  9086. }
  9087. }
  9088. },
  9089. "500": {
  9090. "description": "Internal Server Error",
  9091. "schema": {
  9092. "$ref": "#/definitions/app.Response"
  9093. }
  9094. }
  9095. }
  9096. }
  9097. },
  9098. "/Qhj/QueryUserCollectConfig": {
  9099. "get": {
  9100. "security": [
  9101. {
  9102. "ApiKeyAuth": []
  9103. }
  9104. ],
  9105. "produces": [
  9106. "application/json"
  9107. ],
  9108. "tags": [
  9109. "大连千海金"
  9110. ],
  9111. "summary": "查询提现账户设置",
  9112. "parameters": [
  9113. {
  9114. "type": "integer",
  9115. "description": "用户ID",
  9116. "name": "userid",
  9117. "in": "query",
  9118. "required": true
  9119. }
  9120. ],
  9121. "responses": {
  9122. "200": {
  9123. "description": "OK",
  9124. "schema": {
  9125. "type": "array",
  9126. "items": {
  9127. "$ref": "#/definitions/models.UserCollectConfig"
  9128. }
  9129. }
  9130. },
  9131. "500": {
  9132. "description": "Internal Server Error",
  9133. "schema": {
  9134. "$ref": "#/definitions/app.Response"
  9135. }
  9136. }
  9137. }
  9138. }
  9139. },
  9140. "/Qhj/QueryUserReceiveInfo": {
  9141. "get": {
  9142. "security": [
  9143. {
  9144. "ApiKeyAuth": []
  9145. }
  9146. ],
  9147. "produces": [
  9148. "application/json"
  9149. ],
  9150. "tags": [
  9151. "大连千海金"
  9152. ],
  9153. "summary": "查询收货地址信息",
  9154. "parameters": [
  9155. {
  9156. "type": "integer",
  9157. "description": "用户ID",
  9158. "name": "userid",
  9159. "in": "query",
  9160. "required": true
  9161. }
  9162. ],
  9163. "responses": {
  9164. "200": {
  9165. "description": "OK",
  9166. "schema": {
  9167. "type": "array",
  9168. "items": {
  9169. "$ref": "#/definitions/models.UserReceiveInfo"
  9170. }
  9171. }
  9172. },
  9173. "500": {
  9174. "description": "Internal Server Error",
  9175. "schema": {
  9176. "$ref": "#/definitions/app.Response"
  9177. }
  9178. }
  9179. }
  9180. }
  9181. },
  9182. "/QhjMgr/QueryAccountInOutApply": {
  9183. "get": {
  9184. "security": [
  9185. {
  9186. "ApiKeyAuth": []
  9187. }
  9188. ],
  9189. "produces": [
  9190. "application/json"
  9191. ],
  9192. "tags": [
  9193. "大连千海金(PCWeb)"
  9194. ],
  9195. "summary": "查询充值提现",
  9196. "parameters": [
  9197. {
  9198. "type": "integer",
  9199. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9200. "name": "querytype",
  9201. "in": "query",
  9202. "required": true
  9203. },
  9204. {
  9205. "type": "integer",
  9206. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9207. "name": "applystatus",
  9208. "in": "query"
  9209. },
  9210. {
  9211. "type": "string",
  9212. "description": "申请起始日期(格式yyyymmdd)",
  9213. "name": "begindate",
  9214. "in": "query"
  9215. },
  9216. {
  9217. "type": "string",
  9218. "description": "申请截止日期(格式yyyymmdd)",
  9219. "name": "enddate",
  9220. "in": "query"
  9221. },
  9222. {
  9223. "type": "string",
  9224. "description": "模糊搜索名称",
  9225. "name": "likename",
  9226. "in": "query"
  9227. }
  9228. ],
  9229. "responses": {
  9230. "200": {
  9231. "description": "OK",
  9232. "schema": {
  9233. "type": "array",
  9234. "items": {
  9235. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  9236. }
  9237. }
  9238. },
  9239. "500": {
  9240. "description": "Internal Server Error",
  9241. "schema": {
  9242. "$ref": "#/definitions/app.Response"
  9243. }
  9244. }
  9245. }
  9246. }
  9247. },
  9248. "/QhjMgr/QueryBrokerApply": {
  9249. "get": {
  9250. "security": [
  9251. {
  9252. "ApiKeyAuth": []
  9253. }
  9254. ],
  9255. "produces": [
  9256. "application/json"
  9257. ],
  9258. "tags": [
  9259. "大连千海金(PCWeb)"
  9260. ],
  9261. "summary": "查询经纪人申请",
  9262. "parameters": [
  9263. {
  9264. "type": "integer",
  9265. "description": "所属机构ID",
  9266. "name": "userid",
  9267. "in": "query"
  9268. },
  9269. {
  9270. "type": "string",
  9271. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9272. "name": "filterstatus",
  9273. "in": "query"
  9274. },
  9275. {
  9276. "type": "string",
  9277. "description": "名称(模糊匹配)",
  9278. "name": "filtername",
  9279. "in": "query"
  9280. },
  9281. {
  9282. "type": "integer",
  9283. "description": "是否包含子级 1-包含",
  9284. "name": "includesub",
  9285. "in": "query"
  9286. }
  9287. ],
  9288. "responses": {
  9289. "200": {
  9290. "description": "OK",
  9291. "schema": {
  9292. "type": "array",
  9293. "items": {
  9294. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  9295. }
  9296. }
  9297. },
  9298. "500": {
  9299. "description": "Internal Server Error",
  9300. "schema": {
  9301. "$ref": "#/definitions/app.Response"
  9302. }
  9303. }
  9304. }
  9305. }
  9306. },
  9307. "/QhjMgr/QueryBrokerRewardReport": {
  9308. "get": {
  9309. "security": [
  9310. {
  9311. "ApiKeyAuth": []
  9312. }
  9313. ],
  9314. "produces": [
  9315. "application/json"
  9316. ],
  9317. "tags": [
  9318. "大连千海金(PCWeb)"
  9319. ],
  9320. "summary": "查询经纪人奖励报表(废弃)",
  9321. "parameters": [
  9322. {
  9323. "type": "integer",
  9324. "description": "所属机构ID",
  9325. "name": "userid",
  9326. "in": "query",
  9327. "required": true
  9328. },
  9329. {
  9330. "type": "integer",
  9331. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9332. "name": "cycletype",
  9333. "in": "query",
  9334. "required": true
  9335. },
  9336. {
  9337. "type": "string",
  9338. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  9339. "name": "cycletime",
  9340. "in": "query",
  9341. "required": true
  9342. },
  9343. {
  9344. "type": "string",
  9345. "description": "名称(模糊匹配)",
  9346. "name": "filtername",
  9347. "in": "query"
  9348. },
  9349. {
  9350. "type": "integer",
  9351. "description": "是否包含子级 1-包含",
  9352. "name": "includesub",
  9353. "in": "query"
  9354. }
  9355. ],
  9356. "responses": {
  9357. "200": {
  9358. "description": "OK",
  9359. "schema": {
  9360. "type": "array",
  9361. "items": {
  9362. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  9363. }
  9364. }
  9365. },
  9366. "500": {
  9367. "description": "Internal Server Error",
  9368. "schema": {
  9369. "$ref": "#/definitions/app.Response"
  9370. }
  9371. }
  9372. }
  9373. }
  9374. },
  9375. "/QhjMgr/QueryContract": {
  9376. "get": {
  9377. "security": [
  9378. {
  9379. "ApiKeyAuth": []
  9380. }
  9381. ],
  9382. "produces": [
  9383. "application/json"
  9384. ],
  9385. "tags": [
  9386. "大连千海金(PCWeb)"
  9387. ],
  9388. "summary": "查询融资信息(合同)",
  9389. "parameters": [
  9390. {
  9391. "type": "integer",
  9392. "description": "用户ID",
  9393. "name": "userid",
  9394. "in": "query"
  9395. },
  9396. {
  9397. "type": "integer",
  9398. "description": "商品id",
  9399. "name": "goodsid",
  9400. "in": "query"
  9401. },
  9402. {
  9403. "type": "string",
  9404. "description": "名称(模糊搜索账户)",
  9405. "name": "filtername",
  9406. "in": "query"
  9407. },
  9408. {
  9409. "type": "string",
  9410. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  9411. "name": "risklevel",
  9412. "in": "query"
  9413. },
  9414. {
  9415. "type": "string",
  9416. "description": "开始交易日(yyyymmdd)",
  9417. "name": "begindate",
  9418. "in": "query"
  9419. },
  9420. {
  9421. "type": "string",
  9422. "description": "结束交易日(yyyymmdd)",
  9423. "name": "enddate",
  9424. "in": "query"
  9425. }
  9426. ],
  9427. "responses": {
  9428. "200": {
  9429. "description": "OK",
  9430. "schema": {
  9431. "type": "array",
  9432. "items": {
  9433. "$ref": "#/definitions/models.QhjMgrContract"
  9434. }
  9435. }
  9436. },
  9437. "500": {
  9438. "description": "Internal Server Error",
  9439. "schema": {
  9440. "$ref": "#/definitions/app.Response"
  9441. }
  9442. }
  9443. }
  9444. }
  9445. },
  9446. "/QhjMgr/QueryCustomerInfo": {
  9447. "get": {
  9448. "security": [
  9449. {
  9450. "ApiKeyAuth": []
  9451. }
  9452. ],
  9453. "produces": [
  9454. "application/json"
  9455. ],
  9456. "tags": [
  9457. "大连千海金(PCWeb)"
  9458. ],
  9459. "summary": "查询客户资料",
  9460. "parameters": [
  9461. {
  9462. "type": "integer",
  9463. "description": "用户ID",
  9464. "name": "userid",
  9465. "in": "query",
  9466. "required": true
  9467. },
  9468. {
  9469. "type": "integer",
  9470. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9471. "name": "querytype",
  9472. "in": "query",
  9473. "required": true
  9474. },
  9475. {
  9476. "type": "integer",
  9477. "description": "客户类型 1-个人 2-企业",
  9478. "name": "userinfotype",
  9479. "in": "query"
  9480. },
  9481. {
  9482. "type": "string",
  9483. "description": "客户名称(模糊匹配)",
  9484. "name": "customername",
  9485. "in": "query"
  9486. },
  9487. {
  9488. "type": "string",
  9489. "description": "昵称(模糊匹配)",
  9490. "name": "nickname",
  9491. "in": "query"
  9492. },
  9493. {
  9494. "type": "string",
  9495. "description": "所属客户经理(模糊匹配)",
  9496. "name": "brokername",
  9497. "in": "query"
  9498. },
  9499. {
  9500. "type": "string",
  9501. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  9502. "name": "birthday",
  9503. "in": "query"
  9504. },
  9505. {
  9506. "type": "integer",
  9507. "description": "是否包含子级 1-包含",
  9508. "name": "includesub",
  9509. "in": "query"
  9510. }
  9511. ],
  9512. "responses": {
  9513. "200": {
  9514. "description": "OK",
  9515. "schema": {
  9516. "type": "array",
  9517. "items": {
  9518. "$ref": "#/definitions/models.QhjMgrCustomer"
  9519. }
  9520. }
  9521. },
  9522. "500": {
  9523. "description": "Internal Server Error",
  9524. "schema": {
  9525. "$ref": "#/definitions/app.Response"
  9526. }
  9527. }
  9528. }
  9529. }
  9530. },
  9531. "/QhjMgr/QueryPickGoods": {
  9532. "get": {
  9533. "security": [
  9534. {
  9535. "ApiKeyAuth": []
  9536. }
  9537. ],
  9538. "produces": [
  9539. "application/json"
  9540. ],
  9541. "tags": [
  9542. "大连千海金(PCWeb)"
  9543. ],
  9544. "summary": "查询提货商品",
  9545. "parameters": [
  9546. {
  9547. "type": "string",
  9548. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9549. "name": "status",
  9550. "in": "query"
  9551. }
  9552. ],
  9553. "responses": {
  9554. "200": {
  9555. "description": "OK",
  9556. "schema": {
  9557. "type": "array",
  9558. "items": {
  9559. "$ref": "#/definitions/models.QhjMgrPickGoods"
  9560. }
  9561. }
  9562. },
  9563. "500": {
  9564. "description": "Internal Server Error",
  9565. "schema": {
  9566. "$ref": "#/definitions/app.Response"
  9567. }
  9568. }
  9569. }
  9570. }
  9571. },
  9572. "/QhjMgr/QuerySubArea": {
  9573. "get": {
  9574. "security": [
  9575. {
  9576. "ApiKeyAuth": []
  9577. }
  9578. ],
  9579. "produces": [
  9580. "application/json"
  9581. ],
  9582. "tags": [
  9583. "大连千海金(PCWeb)"
  9584. ],
  9585. "summary": "查询子机构列表",
  9586. "parameters": [
  9587. {
  9588. "type": "integer",
  9589. "description": "用户ID",
  9590. "name": "userid",
  9591. "in": "query",
  9592. "required": true
  9593. }
  9594. ],
  9595. "responses": {
  9596. "200": {
  9597. "description": "OK",
  9598. "schema": {
  9599. "type": "array",
  9600. "items": {
  9601. "$ref": "#/definitions/models.QhjMgrSubArea"
  9602. }
  9603. }
  9604. },
  9605. "500": {
  9606. "description": "Internal Server Error",
  9607. "schema": {
  9608. "$ref": "#/definitions/app.Response"
  9609. }
  9610. }
  9611. }
  9612. }
  9613. },
  9614. "/QhjMgr/QueryTradeDetail": {
  9615. "get": {
  9616. "security": [
  9617. {
  9618. "ApiKeyAuth": []
  9619. }
  9620. ],
  9621. "produces": [
  9622. "application/json"
  9623. ],
  9624. "tags": [
  9625. "大连千海金(PCWeb)"
  9626. ],
  9627. "summary": "查询成交明细",
  9628. "parameters": [
  9629. {
  9630. "type": "integer",
  9631. "description": "用户ID",
  9632. "name": "userid",
  9633. "in": "query",
  9634. "required": true
  9635. },
  9636. {
  9637. "type": "integer",
  9638. "description": "用户类型 1-个人 2-企业",
  9639. "name": "userinfotype",
  9640. "in": "query"
  9641. },
  9642. {
  9643. "type": "integer",
  9644. "description": "交易模式",
  9645. "name": "trademode",
  9646. "in": "query"
  9647. },
  9648. {
  9649. "type": "integer",
  9650. "description": "商品id",
  9651. "name": "goodsid",
  9652. "in": "query"
  9653. },
  9654. {
  9655. "type": "string",
  9656. "description": "名称(模糊搜索账户)",
  9657. "name": "filtername",
  9658. "in": "query"
  9659. },
  9660. {
  9661. "type": "string",
  9662. "description": "开始交易日(yyyymmdd)",
  9663. "name": "begindate",
  9664. "in": "query"
  9665. },
  9666. {
  9667. "type": "string",
  9668. "description": "结束交易日(yyyymmdd)",
  9669. "name": "enddate",
  9670. "in": "query"
  9671. },
  9672. {
  9673. "type": "integer",
  9674. "description": "是否包含子级 1-包含",
  9675. "name": "includesub",
  9676. "in": "query"
  9677. }
  9678. ],
  9679. "responses": {
  9680. "200": {
  9681. "description": "OK",
  9682. "schema": {
  9683. "type": "array",
  9684. "items": {
  9685. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9686. }
  9687. }
  9688. },
  9689. "500": {
  9690. "description": "Internal Server Error",
  9691. "schema": {
  9692. "$ref": "#/definitions/app.Response"
  9693. }
  9694. }
  9695. }
  9696. }
  9697. },
  9698. "/QhjMgr/QueryTradeOrderDetail": {
  9699. "get": {
  9700. "security": [
  9701. {
  9702. "ApiKeyAuth": []
  9703. }
  9704. ],
  9705. "produces": [
  9706. "application/json"
  9707. ],
  9708. "tags": [
  9709. "大连千海金(PCWeb)"
  9710. ],
  9711. "summary": "查询委托明细",
  9712. "parameters": [
  9713. {
  9714. "type": "integer",
  9715. "description": "用户ID",
  9716. "name": "userid",
  9717. "in": "query",
  9718. "required": true
  9719. },
  9720. {
  9721. "type": "integer",
  9722. "description": "用户类型 1-个人 2-企业",
  9723. "name": "userinfotype",
  9724. "in": "query"
  9725. },
  9726. {
  9727. "type": "integer",
  9728. "description": "交易模式",
  9729. "name": "trademode",
  9730. "in": "query"
  9731. },
  9732. {
  9733. "type": "integer",
  9734. "description": "商品id",
  9735. "name": "goodsid",
  9736. "in": "query"
  9737. },
  9738. {
  9739. "type": "string",
  9740. "description": "名称(模糊搜索账户)",
  9741. "name": "filtername",
  9742. "in": "query"
  9743. },
  9744. {
  9745. "type": "string",
  9746. "description": "开始交易日(yyyymmdd)",
  9747. "name": "begindate",
  9748. "in": "query"
  9749. },
  9750. {
  9751. "type": "string",
  9752. "description": "结束交易日(yyyymmdd)",
  9753. "name": "enddate",
  9754. "in": "query"
  9755. },
  9756. {
  9757. "type": "integer",
  9758. "description": "是否包含子级 1-包含",
  9759. "name": "includesub",
  9760. "in": "query"
  9761. }
  9762. ],
  9763. "responses": {
  9764. "200": {
  9765. "description": "OK",
  9766. "schema": {
  9767. "type": "array",
  9768. "items": {
  9769. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9770. }
  9771. }
  9772. },
  9773. "500": {
  9774. "description": "Internal Server Error",
  9775. "schema": {
  9776. "$ref": "#/definitions/app.Response"
  9777. }
  9778. }
  9779. }
  9780. }
  9781. },
  9782. "/QhjMgr/QueryTradePayOrder": {
  9783. "get": {
  9784. "security": [
  9785. {
  9786. "ApiKeyAuth": []
  9787. }
  9788. ],
  9789. "produces": [
  9790. "application/json"
  9791. ],
  9792. "tags": [
  9793. "大连千海金(PCWeb)"
  9794. ],
  9795. "summary": "查询待付款单",
  9796. "parameters": [
  9797. {
  9798. "type": "integer",
  9799. "description": "用户ID",
  9800. "name": "userid",
  9801. "in": "query",
  9802. "required": true
  9803. },
  9804. {
  9805. "type": "string",
  9806. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9807. "name": "payflag",
  9808. "in": "query"
  9809. },
  9810. {
  9811. "type": "integer",
  9812. "description": "用户类型 1-个人 2-企业",
  9813. "name": "userinfotype",
  9814. "in": "query"
  9815. },
  9816. {
  9817. "type": "integer",
  9818. "description": "交易模式",
  9819. "name": "trademode",
  9820. "in": "query"
  9821. },
  9822. {
  9823. "type": "integer",
  9824. "description": "商品id",
  9825. "name": "goodsid",
  9826. "in": "query"
  9827. },
  9828. {
  9829. "type": "string",
  9830. "description": "名称(模糊搜索账户)",
  9831. "name": "filtername",
  9832. "in": "query"
  9833. },
  9834. {
  9835. "type": "string",
  9836. "description": "开始交易日(yyyymmdd)",
  9837. "name": "begindate",
  9838. "in": "query"
  9839. },
  9840. {
  9841. "type": "string",
  9842. "description": "结束交易日(yyyymmdd)",
  9843. "name": "enddate",
  9844. "in": "query"
  9845. },
  9846. {
  9847. "type": "integer",
  9848. "description": "是否包含子级 1-包含",
  9849. "name": "includesub",
  9850. "in": "query"
  9851. }
  9852. ],
  9853. "responses": {
  9854. "200": {
  9855. "description": "OK",
  9856. "schema": {
  9857. "type": "array",
  9858. "items": {
  9859. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9860. }
  9861. }
  9862. },
  9863. "500": {
  9864. "description": "Internal Server Error",
  9865. "schema": {
  9866. "$ref": "#/definitions/app.Response"
  9867. }
  9868. }
  9869. }
  9870. }
  9871. },
  9872. "/QhjMgr/QueryTradePosition": {
  9873. "get": {
  9874. "security": [
  9875. {
  9876. "ApiKeyAuth": []
  9877. }
  9878. ],
  9879. "produces": [
  9880. "application/json"
  9881. ],
  9882. "tags": [
  9883. "大连千海金(PCWeb)"
  9884. ],
  9885. "summary": "查询持仓汇总",
  9886. "parameters": [
  9887. {
  9888. "type": "integer",
  9889. "description": "用户ID",
  9890. "name": "userid",
  9891. "in": "query",
  9892. "required": true
  9893. },
  9894. {
  9895. "type": "integer",
  9896. "description": "用户类型 1-个人 2-企业",
  9897. "name": "userinfotype",
  9898. "in": "query"
  9899. },
  9900. {
  9901. "type": "integer",
  9902. "description": "交易模式",
  9903. "name": "trademode",
  9904. "in": "query"
  9905. },
  9906. {
  9907. "type": "integer",
  9908. "description": "商品id",
  9909. "name": "goodsid",
  9910. "in": "query"
  9911. },
  9912. {
  9913. "type": "string",
  9914. "description": "名称(模糊搜索账户)",
  9915. "name": "filtername",
  9916. "in": "query"
  9917. },
  9918. {
  9919. "type": "integer",
  9920. "description": "是否包含子级 1-包含",
  9921. "name": "includesub",
  9922. "in": "query"
  9923. }
  9924. ],
  9925. "responses": {
  9926. "200": {
  9927. "description": "OK",
  9928. "schema": {
  9929. "type": "array",
  9930. "items": {
  9931. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9932. }
  9933. }
  9934. },
  9935. "500": {
  9936. "description": "Internal Server Error",
  9937. "schema": {
  9938. "$ref": "#/definitions/app.Response"
  9939. }
  9940. }
  9941. }
  9942. }
  9943. },
  9944. "/QhjSys/QueryAgreementChangeLog": {
  9945. "get": {
  9946. "security": [
  9947. {
  9948. "ApiKeyAuth": []
  9949. }
  9950. ],
  9951. "produces": [
  9952. "application/json"
  9953. ],
  9954. "tags": [
  9955. "大连千海金(协议和签约信息)"
  9956. ],
  9957. "summary": "查询协议配置变更流水",
  9958. "parameters": [
  9959. {
  9960. "type": "integer",
  9961. "description": "协议ID",
  9962. "name": "agreementid",
  9963. "in": "query"
  9964. },
  9965. {
  9966. "type": "integer",
  9967. "description": "协议版本号",
  9968. "name": "agreementversion",
  9969. "in": "query"
  9970. },
  9971. {
  9972. "type": "integer",
  9973. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9974. "name": "agreementtype",
  9975. "in": "query"
  9976. },
  9977. {
  9978. "type": "string",
  9979. "description": "协议编号(模糊匹配)",
  9980. "name": "agreementno",
  9981. "in": "query"
  9982. },
  9983. {
  9984. "type": "string",
  9985. "description": "协议名称(模糊匹配)",
  9986. "name": "agreementname",
  9987. "in": "query"
  9988. }
  9989. ],
  9990. "responses": {
  9991. "200": {
  9992. "description": "OK",
  9993. "schema": {
  9994. "type": "array",
  9995. "items": {
  9996. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9997. }
  9998. }
  9999. },
  10000. "500": {
  10001. "description": "Internal Server Error",
  10002. "schema": {
  10003. "$ref": "#/definitions/app.Response"
  10004. }
  10005. }
  10006. }
  10007. }
  10008. },
  10009. "/QhjSys/QueryAgreementConfig": {
  10010. "get": {
  10011. "security": [
  10012. {
  10013. "ApiKeyAuth": []
  10014. }
  10015. ],
  10016. "produces": [
  10017. "application/json"
  10018. ],
  10019. "tags": [
  10020. "大连千海金(协议和签约信息)"
  10021. ],
  10022. "summary": "查询协议配置",
  10023. "parameters": [
  10024. {
  10025. "type": "integer",
  10026. "description": "协议ID",
  10027. "name": "agreementid",
  10028. "in": "query"
  10029. },
  10030. {
  10031. "type": "integer",
  10032. "description": "协议版本号",
  10033. "name": "agreementversion",
  10034. "in": "query"
  10035. },
  10036. {
  10037. "type": "integer",
  10038. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10039. "name": "agreementtype",
  10040. "in": "query"
  10041. },
  10042. {
  10043. "type": "integer",
  10044. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  10045. "name": "isvalid",
  10046. "in": "query"
  10047. },
  10048. {
  10049. "type": "string",
  10050. "description": "协议编号(模糊匹配)",
  10051. "name": "agreementno",
  10052. "in": "query"
  10053. },
  10054. {
  10055. "type": "string",
  10056. "description": "协议名称(模糊匹配)",
  10057. "name": "agreementname",
  10058. "in": "query"
  10059. }
  10060. ],
  10061. "responses": {
  10062. "200": {
  10063. "description": "OK",
  10064. "schema": {
  10065. "type": "array",
  10066. "items": {
  10067. "$ref": "#/definitions/models.QhjAgreementConfig"
  10068. }
  10069. }
  10070. },
  10071. "500": {
  10072. "description": "Internal Server Error",
  10073. "schema": {
  10074. "$ref": "#/definitions/app.Response"
  10075. }
  10076. }
  10077. }
  10078. }
  10079. },
  10080. "/QhjSys/QueryCustomerSignStatus": {
  10081. "get": {
  10082. "security": [
  10083. {
  10084. "ApiKeyAuth": []
  10085. }
  10086. ],
  10087. "produces": [
  10088. "application/json"
  10089. ],
  10090. "tags": [
  10091. "大连千海金(协议和签约信息)"
  10092. ],
  10093. "summary": "查询客户协议签约状态",
  10094. "parameters": [
  10095. {
  10096. "type": "integer",
  10097. "description": "客户ID",
  10098. "name": "userid",
  10099. "in": "query"
  10100. },
  10101. {
  10102. "type": "integer",
  10103. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  10104. "name": "nodetype",
  10105. "in": "query"
  10106. },
  10107. {
  10108. "type": "integer",
  10109. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10110. "name": "goodsid",
  10111. "in": "query"
  10112. },
  10113. {
  10114. "type": "string",
  10115. "description": "创建交易日(yyyyMMdd)",
  10116. "name": "tradedate",
  10117. "in": "query"
  10118. },
  10119. {
  10120. "type": "string",
  10121. "description": "用户名称(模糊匹配)",
  10122. "name": "username",
  10123. "in": "query"
  10124. }
  10125. ],
  10126. "responses": {
  10127. "200": {
  10128. "description": "OK",
  10129. "schema": {
  10130. "type": "array",
  10131. "items": {
  10132. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  10133. }
  10134. }
  10135. },
  10136. "500": {
  10137. "description": "Internal Server Error",
  10138. "schema": {
  10139. "$ref": "#/definitions/app.Response"
  10140. }
  10141. }
  10142. }
  10143. }
  10144. },
  10145. "/QhjSys/QueryNodeAgreementConfig": {
  10146. "get": {
  10147. "security": [
  10148. {
  10149. "ApiKeyAuth": []
  10150. }
  10151. ],
  10152. "produces": [
  10153. "application/json"
  10154. ],
  10155. "tags": [
  10156. "大连千海金(协议和签约信息)"
  10157. ],
  10158. "summary": "查询协议节点配置",
  10159. "parameters": [
  10160. {
  10161. "type": "integer",
  10162. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10163. "name": "configid",
  10164. "in": "query"
  10165. },
  10166. {
  10167. "type": "integer",
  10168. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10169. "name": "nodetype",
  10170. "in": "query"
  10171. },
  10172. {
  10173. "type": "integer",
  10174. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10175. "name": "goodsid",
  10176. "in": "query"
  10177. },
  10178. {
  10179. "type": "integer",
  10180. "description": "协议ID",
  10181. "name": "agreementid",
  10182. "in": "query"
  10183. },
  10184. {
  10185. "type": "integer",
  10186. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10187. "name": "agreementtype",
  10188. "in": "query"
  10189. },
  10190. {
  10191. "type": "integer",
  10192. "description": "协议版本号",
  10193. "name": "agreementversion",
  10194. "in": "query"
  10195. },
  10196. {
  10197. "type": "string",
  10198. "description": "协议编号(模糊匹配)",
  10199. "name": "agreementno",
  10200. "in": "query"
  10201. },
  10202. {
  10203. "type": "string",
  10204. "description": "协议名称(模糊匹配)",
  10205. "name": "agreementname",
  10206. "in": "query"
  10207. }
  10208. ],
  10209. "responses": {
  10210. "200": {
  10211. "description": "OK",
  10212. "schema": {
  10213. "type": "array",
  10214. "items": {
  10215. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  10216. }
  10217. }
  10218. },
  10219. "500": {
  10220. "description": "Internal Server Error",
  10221. "schema": {
  10222. "$ref": "#/definitions/app.Response"
  10223. }
  10224. }
  10225. }
  10226. }
  10227. },
  10228. "/QhjSys/QueryQhjCustomerSignLog": {
  10229. "get": {
  10230. "security": [
  10231. {
  10232. "ApiKeyAuth": []
  10233. }
  10234. ],
  10235. "produces": [
  10236. "application/json"
  10237. ],
  10238. "tags": [
  10239. "大连千海金(协议和签约信息)"
  10240. ],
  10241. "summary": "查询客户协议签约流水",
  10242. "parameters": [
  10243. {
  10244. "type": "integer",
  10245. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  10246. "name": "logid",
  10247. "in": "query"
  10248. },
  10249. {
  10250. "type": "integer",
  10251. "description": "客户ID",
  10252. "name": "userid",
  10253. "in": "query"
  10254. },
  10255. {
  10256. "type": "integer",
  10257. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10258. "name": "nodetype",
  10259. "in": "query"
  10260. },
  10261. {
  10262. "type": "integer",
  10263. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10264. "name": "goodsid",
  10265. "in": "query"
  10266. },
  10267. {
  10268. "type": "integer",
  10269. "description": "协议ID",
  10270. "name": "agreementid",
  10271. "in": "query"
  10272. },
  10273. {
  10274. "type": "string",
  10275. "description": "用户名称(模糊匹配)",
  10276. "name": "username",
  10277. "in": "query"
  10278. },
  10279. {
  10280. "type": "string",
  10281. "description": "协议编号(模糊匹配)",
  10282. "name": "agreementno",
  10283. "in": "query"
  10284. },
  10285. {
  10286. "type": "string",
  10287. "description": "协议名称(模糊匹配)",
  10288. "name": "agreementname",
  10289. "in": "query"
  10290. }
  10291. ],
  10292. "responses": {
  10293. "200": {
  10294. "description": "OK",
  10295. "schema": {
  10296. "type": "array",
  10297. "items": {
  10298. "$ref": "#/definitions/models.QhjCustomerSignLog"
  10299. }
  10300. }
  10301. },
  10302. "500": {
  10303. "description": "Internal Server Error",
  10304. "schema": {
  10305. "$ref": "#/definitions/app.Response"
  10306. }
  10307. }
  10308. }
  10309. }
  10310. },
  10311. "/QhjSys/QueryUserNodeCfgAndStatus": {
  10312. "get": {
  10313. "security": [
  10314. {
  10315. "ApiKeyAuth": []
  10316. }
  10317. ],
  10318. "produces": [
  10319. "application/json"
  10320. ],
  10321. "tags": [
  10322. "大连千海金(协议和签约信息)"
  10323. ],
  10324. "summary": "查询用户协议节点配置和状态",
  10325. "parameters": [
  10326. {
  10327. "type": "integer",
  10328. "description": "客户ID",
  10329. "name": "userid",
  10330. "in": "query"
  10331. },
  10332. {
  10333. "type": "integer",
  10334. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10335. "name": "configid",
  10336. "in": "query"
  10337. },
  10338. {
  10339. "type": "string",
  10340. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10341. "name": "nodetype",
  10342. "in": "query"
  10343. },
  10344. {
  10345. "type": "integer",
  10346. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10347. "name": "goodsid",
  10348. "in": "query"
  10349. },
  10350. {
  10351. "type": "integer",
  10352. "description": "协议ID",
  10353. "name": "agreementid",
  10354. "in": "query"
  10355. },
  10356. {
  10357. "type": "integer",
  10358. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10359. "name": "agreementtype",
  10360. "in": "query"
  10361. },
  10362. {
  10363. "type": "integer",
  10364. "description": "协议版本号",
  10365. "name": "agreementversion",
  10366. "in": "query"
  10367. },
  10368. {
  10369. "type": "string",
  10370. "description": "协议编号(模糊匹配)",
  10371. "name": "agreementno",
  10372. "in": "query"
  10373. },
  10374. {
  10375. "type": "string",
  10376. "description": "协议名称(模糊匹配)",
  10377. "name": "agreementname",
  10378. "in": "query"
  10379. }
  10380. ],
  10381. "responses": {
  10382. "200": {
  10383. "description": "OK",
  10384. "schema": {
  10385. "type": "array",
  10386. "items": {
  10387. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  10388. }
  10389. }
  10390. },
  10391. "500": {
  10392. "description": "Internal Server Error",
  10393. "schema": {
  10394. "$ref": "#/definitions/app.Response"
  10395. }
  10396. }
  10397. }
  10398. }
  10399. },
  10400. "/Quote/QueryHistoryDatas": {
  10401. "get": {
  10402. "security": [
  10403. {
  10404. "ApiKeyAuth": []
  10405. }
  10406. ],
  10407. "produces": [
  10408. "application/json"
  10409. ],
  10410. "tags": [
  10411. "行情服务"
  10412. ],
  10413. "summary": "查询行情历史数据",
  10414. "parameters": [
  10415. {
  10416. "type": "integer",
  10417. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  10418. "name": "cycleType",
  10419. "in": "query",
  10420. "required": true
  10421. },
  10422. {
  10423. "type": "string",
  10424. "description": "商品代码",
  10425. "name": "goodsCode",
  10426. "in": "query",
  10427. "required": true
  10428. },
  10429. {
  10430. "type": "string",
  10431. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10432. "name": "startTime",
  10433. "in": "query"
  10434. },
  10435. {
  10436. "type": "string",
  10437. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10438. "name": "endTime",
  10439. "in": "query"
  10440. },
  10441. {
  10442. "type": "integer",
  10443. "description": "条数",
  10444. "name": "count",
  10445. "in": "query"
  10446. },
  10447. {
  10448. "type": "boolean",
  10449. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10450. "name": "isAsc",
  10451. "in": "query"
  10452. }
  10453. ],
  10454. "responses": {
  10455. "200": {
  10456. "description": "OK",
  10457. "schema": {
  10458. "$ref": "#/definitions/quote.HistoryData"
  10459. }
  10460. },
  10461. "500": {
  10462. "description": "Internal Server Error",
  10463. "schema": {
  10464. "$ref": "#/definitions/app.Response"
  10465. }
  10466. }
  10467. }
  10468. }
  10469. },
  10470. "/Quote/QueryHistoryTikDatas": {
  10471. "get": {
  10472. "security": [
  10473. {
  10474. "ApiKeyAuth": []
  10475. }
  10476. ],
  10477. "produces": [
  10478. "application/json"
  10479. ],
  10480. "tags": [
  10481. "行情服务"
  10482. ],
  10483. "summary": "查询行情Tik数据",
  10484. "parameters": [
  10485. {
  10486. "type": "string",
  10487. "description": "商品代码",
  10488. "name": "goodsCode",
  10489. "in": "query",
  10490. "required": true
  10491. },
  10492. {
  10493. "type": "string",
  10494. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10495. "name": "startTime",
  10496. "in": "query"
  10497. },
  10498. {
  10499. "type": "string",
  10500. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10501. "name": "endTime",
  10502. "in": "query"
  10503. },
  10504. {
  10505. "type": "integer",
  10506. "description": "条数",
  10507. "name": "count",
  10508. "in": "query"
  10509. },
  10510. {
  10511. "type": "boolean",
  10512. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10513. "name": "isAsc",
  10514. "in": "query"
  10515. }
  10516. ],
  10517. "responses": {
  10518. "200": {
  10519. "description": "OK",
  10520. "schema": {
  10521. "$ref": "#/definitions/quote.HistoryTikData"
  10522. }
  10523. },
  10524. "500": {
  10525. "description": "Internal Server Error",
  10526. "schema": {
  10527. "$ref": "#/definitions/app.Response"
  10528. }
  10529. }
  10530. }
  10531. }
  10532. },
  10533. "/Quote/QueryQuoteDay": {
  10534. "get": {
  10535. "security": [
  10536. {
  10537. "ApiKeyAuth": []
  10538. }
  10539. ],
  10540. "produces": [
  10541. "application/json"
  10542. ],
  10543. "tags": [
  10544. "行情服务"
  10545. ],
  10546. "summary": "获取商品盘面信息",
  10547. "parameters": [
  10548. {
  10549. "type": "string",
  10550. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  10551. "name": "goodsCodes",
  10552. "in": "query"
  10553. }
  10554. ],
  10555. "responses": {
  10556. "200": {
  10557. "description": "OK",
  10558. "schema": {
  10559. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  10560. }
  10561. },
  10562. "500": {
  10563. "description": "Internal Server Error",
  10564. "schema": {
  10565. "$ref": "#/definitions/app.Response"
  10566. }
  10567. }
  10568. }
  10569. }
  10570. },
  10571. "/Quote/QueryTSData": {
  10572. "get": {
  10573. "security": [
  10574. {
  10575. "ApiKeyAuth": []
  10576. }
  10577. ],
  10578. "produces": [
  10579. "application/json"
  10580. ],
  10581. "tags": [
  10582. "行情服务"
  10583. ],
  10584. "summary": "分时图数据查询",
  10585. "parameters": [
  10586. {
  10587. "type": "string",
  10588. "description": "商品代码",
  10589. "name": "goodsCode",
  10590. "in": "query",
  10591. "required": true
  10592. }
  10593. ],
  10594. "responses": {
  10595. "200": {
  10596. "description": "OK",
  10597. "schema": {
  10598. "$ref": "#/definitions/quote.QueryTSDataRsp"
  10599. }
  10600. },
  10601. "500": {
  10602. "description": "Internal Server Error",
  10603. "schema": {
  10604. "$ref": "#/definitions/app.Response"
  10605. }
  10606. }
  10607. }
  10608. }
  10609. },
  10610. "/SZDZ/QueryConvertConfig": {
  10611. "get": {
  10612. "security": [
  10613. {
  10614. "ApiKeyAuth": []
  10615. }
  10616. ],
  10617. "produces": [
  10618. "application/json"
  10619. ],
  10620. "tags": [
  10621. "定制【尚志大宗】"
  10622. ],
  10623. "summary": "查询交易系统转换设置",
  10624. "parameters": [
  10625. {
  10626. "type": "integer",
  10627. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10628. "name": "convertType",
  10629. "in": "query"
  10630. },
  10631. {
  10632. "type": "string",
  10633. "description": "外部商品代码[JD\\PD]",
  10634. "name": "outerGoodsCode",
  10635. "in": "query"
  10636. },
  10637. {
  10638. "type": "string",
  10639. "description": "内部商品ID列表[交易],格式:1,2,3",
  10640. "name": "innerGoodsIDs",
  10641. "in": "query"
  10642. }
  10643. ],
  10644. "responses": {
  10645. "200": {
  10646. "description": "OK",
  10647. "schema": {
  10648. "$ref": "#/definitions/models.Szdz3convertconfig"
  10649. }
  10650. },
  10651. "500": {
  10652. "description": "Internal Server Error",
  10653. "schema": {
  10654. "$ref": "#/definitions/app.Response"
  10655. }
  10656. }
  10657. }
  10658. }
  10659. },
  10660. "/SZDZ/QueryConvertLog": {
  10661. "get": {
  10662. "security": [
  10663. {
  10664. "ApiKeyAuth": []
  10665. }
  10666. ],
  10667. "produces": [
  10668. "application/json"
  10669. ],
  10670. "tags": [
  10671. "定制【尚志大宗】"
  10672. ],
  10673. "summary": "交易系统转换流水查询",
  10674. "parameters": [
  10675. {
  10676. "type": "string",
  10677. "description": "资金账户 - 格式:1,2,3",
  10678. "name": "accountID",
  10679. "in": "query",
  10680. "required": true
  10681. },
  10682. {
  10683. "type": "string",
  10684. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10685. "name": "startDate",
  10686. "in": "query"
  10687. },
  10688. {
  10689. "type": "string",
  10690. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10691. "name": "endDate",
  10692. "in": "query"
  10693. }
  10694. ],
  10695. "responses": {
  10696. "200": {
  10697. "description": "OK",
  10698. "schema": {
  10699. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10700. }
  10701. },
  10702. "500": {
  10703. "description": "Internal Server Error",
  10704. "schema": {
  10705. "$ref": "#/definitions/app.Response"
  10706. }
  10707. }
  10708. }
  10709. }
  10710. },
  10711. "/SZDZ/QueryGoodsPickup": {
  10712. "get": {
  10713. "security": [
  10714. {
  10715. "ApiKeyAuth": []
  10716. }
  10717. ],
  10718. "produces": [
  10719. "application/json"
  10720. ],
  10721. "tags": [
  10722. "定制【尚志大宗】"
  10723. ],
  10724. "summary": "商品提货单查询",
  10725. "parameters": [
  10726. {
  10727. "type": "string",
  10728. "description": "资金账户 - 格式:1,2,3",
  10729. "name": "accountID",
  10730. "in": "query",
  10731. "required": true
  10732. },
  10733. {
  10734. "type": "integer",
  10735. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10736. "name": "takeOrderStatus",
  10737. "in": "query"
  10738. }
  10739. ],
  10740. "responses": {
  10741. "200": {
  10742. "description": "OK",
  10743. "schema": {
  10744. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10745. }
  10746. },
  10747. "500": {
  10748. "description": "Internal Server Error",
  10749. "schema": {
  10750. "$ref": "#/definitions/app.Response"
  10751. }
  10752. }
  10753. }
  10754. }
  10755. },
  10756. "/SZDZ/QueryRecieptOrder": {
  10757. "get": {
  10758. "security": [
  10759. {
  10760. "ApiKeyAuth": []
  10761. }
  10762. ],
  10763. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10764. "produces": [
  10765. "application/json"
  10766. ],
  10767. "tags": [
  10768. "定制【尚志大宗】"
  10769. ],
  10770. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10771. "parameters": [
  10772. {
  10773. "type": "integer",
  10774. "description": "页码",
  10775. "name": "page",
  10776. "in": "query"
  10777. },
  10778. {
  10779. "type": "integer",
  10780. "description": "每页条数",
  10781. "name": "pagesize",
  10782. "in": "query"
  10783. },
  10784. {
  10785. "type": "integer",
  10786. "description": "商品ID",
  10787. "name": "goodsID",
  10788. "in": "query",
  10789. "required": true
  10790. },
  10791. {
  10792. "type": "string",
  10793. "description": "所属账户名称",
  10794. "name": "accountName",
  10795. "in": "query"
  10796. },
  10797. {
  10798. "type": "integer",
  10799. "description": "市场ID",
  10800. "name": "marketID",
  10801. "in": "query"
  10802. },
  10803. {
  10804. "type": "integer",
  10805. "description": "方向 - 0:买 1:卖",
  10806. "name": "buyorsell",
  10807. "in": "query",
  10808. "required": true
  10809. }
  10810. ],
  10811. "responses": {
  10812. "200": {
  10813. "description": "OK",
  10814. "schema": {
  10815. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10816. }
  10817. },
  10818. "500": {
  10819. "description": "Internal Server Error",
  10820. "schema": {
  10821. "$ref": "#/definitions/app.Response"
  10822. }
  10823. }
  10824. }
  10825. }
  10826. },
  10827. "/SZDZ/QuerySZDZTradePosition": {
  10828. "get": {
  10829. "security": [
  10830. {
  10831. "ApiKeyAuth": []
  10832. }
  10833. ],
  10834. "produces": [
  10835. "application/json"
  10836. ],
  10837. "tags": [
  10838. "定制【尚志大宗】"
  10839. ],
  10840. "summary": "持仓汇总查询(尚志大宗)",
  10841. "parameters": [
  10842. {
  10843. "type": "integer",
  10844. "description": "资金账户",
  10845. "name": "accountID",
  10846. "in": "query",
  10847. "required": true
  10848. }
  10849. ],
  10850. "responses": {
  10851. "200": {
  10852. "description": "OK",
  10853. "schema": {
  10854. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10855. }
  10856. },
  10857. "500": {
  10858. "description": "Internal Server Error",
  10859. "schema": {
  10860. "$ref": "#/definitions/app.Response"
  10861. }
  10862. }
  10863. }
  10864. }
  10865. },
  10866. "/SZDZ/SearchWhite": {
  10867. "get": {
  10868. "security": [
  10869. {
  10870. "ApiKeyAuth": []
  10871. }
  10872. ],
  10873. "produces": [
  10874. "application/json"
  10875. ],
  10876. "tags": [
  10877. "定制【尚志大宗】"
  10878. ],
  10879. "summary": "搜索白名单",
  10880. "parameters": [
  10881. {
  10882. "type": "integer",
  10883. "description": "用户ID",
  10884. "name": "userID",
  10885. "in": "query",
  10886. "required": true
  10887. }
  10888. ],
  10889. "responses": {
  10890. "200": {
  10891. "description": "OK",
  10892. "schema": {
  10893. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10894. }
  10895. },
  10896. "500": {
  10897. "description": "Internal Server Error",
  10898. "schema": {
  10899. "$ref": "#/definitions/app.Response"
  10900. }
  10901. }
  10902. }
  10903. }
  10904. },
  10905. "/Search/SearchGoodses": {
  10906. "get": {
  10907. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10908. "produces": [
  10909. "application/json"
  10910. ],
  10911. "tags": [
  10912. "检索服务"
  10913. ],
  10914. "summary": "检索商品信息",
  10915. "parameters": [
  10916. {
  10917. "type": "string",
  10918. "description": "检索内容",
  10919. "name": "content",
  10920. "in": "query",
  10921. "required": true
  10922. },
  10923. {
  10924. "type": "string",
  10925. "description": "交易模式,格式:1,2,3",
  10926. "name": "tradeModes",
  10927. "in": "query"
  10928. }
  10929. ],
  10930. "responses": {
  10931. "200": {
  10932. "description": "OK",
  10933. "schema": {
  10934. "$ref": "#/definitions/models.SearchGoods"
  10935. }
  10936. },
  10937. "500": {
  10938. "description": "Internal Server Error",
  10939. "schema": {
  10940. "$ref": "#/definitions/app.Response"
  10941. }
  10942. }
  10943. }
  10944. }
  10945. },
  10946. "/TaAccount/GetTaAccounts": {
  10947. "get": {
  10948. "security": [
  10949. {
  10950. "ApiKeyAuth": []
  10951. }
  10952. ],
  10953. "produces": [
  10954. "application/json"
  10955. ],
  10956. "tags": [
  10957. "资金账户"
  10958. ],
  10959. "summary": "获取资金账户信息",
  10960. "parameters": [
  10961. {
  10962. "type": "integer",
  10963. "description": "登录账户",
  10964. "name": "loginID",
  10965. "in": "query",
  10966. "required": true
  10967. },
  10968. {
  10969. "type": "integer",
  10970. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10971. "name": "taAccountType",
  10972. "in": "query"
  10973. }
  10974. ],
  10975. "responses": {
  10976. "200": {
  10977. "description": "OK",
  10978. "schema": {
  10979. "$ref": "#/definitions/models.Taaccount"
  10980. }
  10981. },
  10982. "500": {
  10983. "description": "Internal Server Error",
  10984. "schema": {
  10985. "$ref": "#/definitions/app.Response"
  10986. }
  10987. }
  10988. }
  10989. }
  10990. },
  10991. "/TaAccount/QueryAmountLog": {
  10992. "get": {
  10993. "security": [
  10994. {
  10995. "ApiKeyAuth": []
  10996. }
  10997. ],
  10998. "produces": [
  10999. "application/json"
  11000. ],
  11001. "tags": [
  11002. "资金账户"
  11003. ],
  11004. "summary": "资金流水查询(当前)",
  11005. "parameters": [
  11006. {
  11007. "type": "integer",
  11008. "description": "页码",
  11009. "name": "page",
  11010. "in": "query"
  11011. },
  11012. {
  11013. "type": "integer",
  11014. "description": "每页条数",
  11015. "name": "pagesize",
  11016. "in": "query"
  11017. },
  11018. {
  11019. "type": "string",
  11020. "description": "资金账户 - 格式:1,2,3",
  11021. "name": "accountID",
  11022. "in": "query",
  11023. "required": true
  11024. },
  11025. {
  11026. "type": "string",
  11027. "description": "资金操作类型 - 格式:1,2,3",
  11028. "name": "OperateType",
  11029. "in": "query"
  11030. }
  11031. ],
  11032. "responses": {
  11033. "200": {
  11034. "description": "OK",
  11035. "schema": {
  11036. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  11037. }
  11038. },
  11039. "500": {
  11040. "description": "Internal Server Error",
  11041. "schema": {
  11042. "$ref": "#/definitions/app.Response"
  11043. }
  11044. }
  11045. }
  11046. }
  11047. },
  11048. "/TaAccount/QueryHisAmountLog": {
  11049. "get": {
  11050. "security": [
  11051. {
  11052. "ApiKeyAuth": []
  11053. }
  11054. ],
  11055. "produces": [
  11056. "application/json"
  11057. ],
  11058. "tags": [
  11059. "资金账户"
  11060. ],
  11061. "summary": "资金流水查询(历史)",
  11062. "parameters": [
  11063. {
  11064. "type": "integer",
  11065. "description": "页码",
  11066. "name": "page",
  11067. "in": "query"
  11068. },
  11069. {
  11070. "type": "integer",
  11071. "description": "每页条数",
  11072. "name": "pagesize",
  11073. "in": "query"
  11074. },
  11075. {
  11076. "type": "string",
  11077. "description": "资金账户 - 格式:1,2,3",
  11078. "name": "accountID",
  11079. "in": "query",
  11080. "required": true
  11081. },
  11082. {
  11083. "type": "string",
  11084. "description": "资金操作类型 - 格式:1,2,3",
  11085. "name": "OperateType",
  11086. "in": "query"
  11087. },
  11088. {
  11089. "type": "string",
  11090. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  11091. "name": "startDate",
  11092. "in": "query"
  11093. },
  11094. {
  11095. "type": "string",
  11096. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  11097. "name": "endDate",
  11098. "in": "query"
  11099. }
  11100. ],
  11101. "responses": {
  11102. "200": {
  11103. "description": "OK",
  11104. "schema": {
  11105. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  11106. }
  11107. },
  11108. "500": {
  11109. "description": "Internal Server Error",
  11110. "schema": {
  11111. "$ref": "#/definitions/app.Response"
  11112. }
  11113. }
  11114. }
  11115. }
  11116. },
  11117. "/Tjmd/QueryQuoteGoodsList": {
  11118. "get": {
  11119. "security": [
  11120. {
  11121. "ApiKeyAuth": []
  11122. }
  11123. ],
  11124. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  11125. "produces": [
  11126. "application/json"
  11127. ],
  11128. "tags": [
  11129. "天津麦顿"
  11130. ],
  11131. "summary": "查询掉期报价列表",
  11132. "parameters": [
  11133. {
  11134. "type": "integer",
  11135. "description": "用户类型",
  11136. "name": "usertype",
  11137. "in": "query",
  11138. "required": true
  11139. },
  11140. {
  11141. "type": "string",
  11142. "description": "市场id, 格式 1,2,3",
  11143. "name": "marketids",
  11144. "in": "query"
  11145. },
  11146. {
  11147. "type": "integer",
  11148. "description": "商品组id",
  11149. "name": "goodsgroupid",
  11150. "in": "query"
  11151. },
  11152. {
  11153. "type": "integer",
  11154. "description": "商品id",
  11155. "name": "goodsid",
  11156. "in": "query"
  11157. }
  11158. ],
  11159. "responses": {
  11160. "200": {
  11161. "description": "OK",
  11162. "schema": {
  11163. "type": "array",
  11164. "items": {
  11165. "$ref": "#/definitions/models.TjmdQuoteGoods"
  11166. }
  11167. }
  11168. },
  11169. "500": {
  11170. "description": "Internal Server Error",
  11171. "schema": {
  11172. "$ref": "#/definitions/app.Response"
  11173. }
  11174. }
  11175. }
  11176. }
  11177. },
  11178. "/Tjmd/QueryTjmdMarketSection": {
  11179. "get": {
  11180. "security": [
  11181. {
  11182. "ApiKeyAuth": []
  11183. }
  11184. ],
  11185. "produces": [
  11186. "application/json"
  11187. ],
  11188. "tags": [
  11189. "天津麦顿"
  11190. ],
  11191. "summary": "查询市场板块",
  11192. "responses": {
  11193. "200": {
  11194. "description": "OK",
  11195. "schema": {
  11196. "type": "array",
  11197. "items": {
  11198. "$ref": "#/definitions/models.TjmdMarketSection"
  11199. }
  11200. }
  11201. },
  11202. "500": {
  11203. "description": "Internal Server Error",
  11204. "schema": {
  11205. "$ref": "#/definitions/app.Response"
  11206. }
  11207. }
  11208. }
  11209. }
  11210. },
  11211. "/Tjmd/QueryTjmdTodayAccountMargin": {
  11212. "get": {
  11213. "security": [
  11214. {
  11215. "ApiKeyAuth": []
  11216. }
  11217. ],
  11218. "produces": [
  11219. "application/json"
  11220. ],
  11221. "tags": [
  11222. "天津麦顿"
  11223. ],
  11224. "summary": "查询今日账户保证金配置",
  11225. "parameters": [
  11226. {
  11227. "type": "string",
  11228. "description": "市场id",
  11229. "name": "marketid",
  11230. "in": "query"
  11231. },
  11232. {
  11233. "type": "string",
  11234. "description": "商品id",
  11235. "name": "goodsid",
  11236. "in": "query"
  11237. },
  11238. {
  11239. "type": "string",
  11240. "description": "资金账号",
  11241. "name": "accountid",
  11242. "in": "query"
  11243. }
  11244. ],
  11245. "responses": {
  11246. "200": {
  11247. "description": "OK",
  11248. "schema": {
  11249. "type": "array",
  11250. "items": {
  11251. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  11252. }
  11253. }
  11254. },
  11255. "500": {
  11256. "description": "Internal Server Error",
  11257. "schema": {
  11258. "$ref": "#/definitions/app.Response"
  11259. }
  11260. }
  11261. }
  11262. }
  11263. },
  11264. "/Tjmd/QueryTjmdTradeOrderDetail": {
  11265. "get": {
  11266. "security": [
  11267. {
  11268. "ApiKeyAuth": []
  11269. }
  11270. ],
  11271. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  11272. "produces": [
  11273. "application/json"
  11274. ],
  11275. "tags": [
  11276. "天津麦顿"
  11277. ],
  11278. "summary": "查询掉期买卖大厅",
  11279. "parameters": [
  11280. {
  11281. "type": "integer",
  11282. "description": "页码",
  11283. "name": "page",
  11284. "in": "query"
  11285. },
  11286. {
  11287. "type": "integer",
  11288. "description": "每页条数",
  11289. "name": "pagesize",
  11290. "in": "query"
  11291. },
  11292. {
  11293. "type": "integer",
  11294. "description": "用户id",
  11295. "name": "userid",
  11296. "in": "query",
  11297. "required": true
  11298. },
  11299. {
  11300. "type": "integer",
  11301. "description": "用户类型",
  11302. "name": "usertype",
  11303. "in": "query",
  11304. "required": true
  11305. },
  11306. {
  11307. "type": "string",
  11308. "description": "市场id, 格式 1,2,3",
  11309. "name": "marketids",
  11310. "in": "query"
  11311. },
  11312. {
  11313. "type": "integer",
  11314. "description": "商品id",
  11315. "name": "goodsid",
  11316. "in": "query",
  11317. "required": true
  11318. },
  11319. {
  11320. "type": "integer",
  11321. "description": "买卖方向 0-买 1-卖",
  11322. "name": "buyorsell",
  11323. "in": "query",
  11324. "required": true
  11325. }
  11326. ],
  11327. "responses": {
  11328. "200": {
  11329. "description": "OK",
  11330. "schema": {
  11331. "type": "array",
  11332. "items": {
  11333. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  11334. }
  11335. }
  11336. },
  11337. "500": {
  11338. "description": "Internal Server Error",
  11339. "schema": {
  11340. "$ref": "#/definitions/app.Response"
  11341. }
  11342. }
  11343. }
  11344. }
  11345. },
  11346. "/Tjmd/QueryTjmdTransferApply": {
  11347. "get": {
  11348. "security": [
  11349. {
  11350. "ApiKeyAuth": []
  11351. }
  11352. ],
  11353. "produces": [
  11354. "application/json"
  11355. ],
  11356. "tags": [
  11357. "天津麦顿"
  11358. ],
  11359. "summary": "查询掉期协议单",
  11360. "parameters": [
  11361. {
  11362. "type": "integer",
  11363. "description": "类型 1-我的申请 2-对方申请",
  11364. "name": "applytype",
  11365. "in": "query",
  11366. "required": true
  11367. },
  11368. {
  11369. "type": "string",
  11370. "description": "市场id, 格式 1,2,3",
  11371. "name": "marketids",
  11372. "in": "query"
  11373. },
  11374. {
  11375. "type": "string",
  11376. "description": "资金账号, 格式 25000000001,25000000003",
  11377. "name": "accountids",
  11378. "in": "query"
  11379. },
  11380. {
  11381. "type": "string",
  11382. "description": "开始交易日(yyyymmdd)",
  11383. "name": "begindate",
  11384. "in": "query"
  11385. },
  11386. {
  11387. "type": "string",
  11388. "description": "结束交易日(yyyymmdd)",
  11389. "name": "enddate",
  11390. "in": "query"
  11391. }
  11392. ],
  11393. "responses": {
  11394. "200": {
  11395. "description": "OK",
  11396. "schema": {
  11397. "type": "array",
  11398. "items": {
  11399. "$ref": "#/definitions/models.TjmdTransferApply"
  11400. }
  11401. }
  11402. },
  11403. "500": {
  11404. "description": "Internal Server Error",
  11405. "schema": {
  11406. "$ref": "#/definitions/app.Response"
  11407. }
  11408. }
  11409. }
  11410. }
  11411. },
  11412. "/Trade/QueryRecieptOrder": {
  11413. "get": {
  11414. "security": [
  11415. {
  11416. "ApiKeyAuth": []
  11417. }
  11418. ],
  11419. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11420. "produces": [
  11421. "application/json"
  11422. ],
  11423. "tags": [
  11424. "通用交易"
  11425. ],
  11426. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  11427. "parameters": [
  11428. {
  11429. "type": "integer",
  11430. "description": "页码",
  11431. "name": "page",
  11432. "in": "query"
  11433. },
  11434. {
  11435. "type": "integer",
  11436. "description": "每页条数",
  11437. "name": "pagesize",
  11438. "in": "query"
  11439. },
  11440. {
  11441. "type": "integer",
  11442. "description": "商品ID",
  11443. "name": "goodsID",
  11444. "in": "query",
  11445. "required": true
  11446. },
  11447. {
  11448. "type": "string",
  11449. "description": "所属账户名称",
  11450. "name": "accountName",
  11451. "in": "query"
  11452. },
  11453. {
  11454. "type": "integer",
  11455. "description": "市场ID",
  11456. "name": "marketID",
  11457. "in": "query"
  11458. },
  11459. {
  11460. "type": "integer",
  11461. "description": "方向 - 0:买 1:卖",
  11462. "name": "buyorsell",
  11463. "in": "query",
  11464. "required": true
  11465. }
  11466. ],
  11467. "responses": {
  11468. "200": {
  11469. "description": "OK",
  11470. "schema": {
  11471. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  11472. }
  11473. },
  11474. "500": {
  11475. "description": "Internal Server Error",
  11476. "schema": {
  11477. "$ref": "#/definitions/app.Response"
  11478. }
  11479. }
  11480. }
  11481. }
  11482. },
  11483. "/User/AddMessageBoard": {
  11484. "post": {
  11485. "security": [
  11486. {
  11487. "ApiKeyAuth": []
  11488. }
  11489. ],
  11490. "produces": [
  11491. "application/json"
  11492. ],
  11493. "tags": [
  11494. "用户信息"
  11495. ],
  11496. "summary": "添加用户留言板信息",
  11497. "parameters": [
  11498. {
  11499. "type": "integer",
  11500. "description": "用户ID",
  11501. "name": "userID",
  11502. "in": "query",
  11503. "required": true
  11504. },
  11505. {
  11506. "type": "string",
  11507. "description": "留言信息",
  11508. "name": "message",
  11509. "in": "query",
  11510. "required": true
  11511. },
  11512. {
  11513. "type": "string",
  11514. "description": "联系电话",
  11515. "name": "contactNum",
  11516. "in": "query",
  11517. "required": true
  11518. }
  11519. ],
  11520. "responses": {
  11521. "200": {
  11522. "description": "OK",
  11523. "schema": {
  11524. "$ref": "#/definitions/app.Response"
  11525. }
  11526. },
  11527. "500": {
  11528. "description": "Internal Server Error",
  11529. "schema": {
  11530. "$ref": "#/definitions/app.Response"
  11531. }
  11532. }
  11533. }
  11534. }
  11535. },
  11536. "/User/AddUserFavoriteGoods": {
  11537. "post": {
  11538. "security": [
  11539. {
  11540. "ApiKeyAuth": []
  11541. }
  11542. ],
  11543. "produces": [
  11544. "application/json"
  11545. ],
  11546. "tags": [
  11547. "用户信息"
  11548. ],
  11549. "summary": "添加用户商品收藏信息",
  11550. "parameters": [
  11551. {
  11552. "type": "integer",
  11553. "description": "用户ID",
  11554. "name": "userID",
  11555. "in": "query",
  11556. "required": true
  11557. },
  11558. {
  11559. "type": "integer",
  11560. "description": "商品ID",
  11561. "name": "goodsID",
  11562. "in": "query",
  11563. "required": true
  11564. }
  11565. ],
  11566. "responses": {
  11567. "200": {
  11568. "description": "OK",
  11569. "schema": {
  11570. "$ref": "#/definitions/app.Response"
  11571. }
  11572. },
  11573. "500": {
  11574. "description": "Internal Server Error",
  11575. "schema": {
  11576. "$ref": "#/definitions/app.Response"
  11577. }
  11578. }
  11579. }
  11580. }
  11581. },
  11582. "/User/GetLoginID": {
  11583. "get": {
  11584. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  11585. "produces": [
  11586. "application/json"
  11587. ],
  11588. "tags": [
  11589. "用户信息"
  11590. ],
  11591. "summary": "获取登录ID",
  11592. "parameters": [
  11593. {
  11594. "type": "string",
  11595. "description": "登录代码",
  11596. "name": "username",
  11597. "in": "query",
  11598. "required": true
  11599. }
  11600. ],
  11601. "responses": {
  11602. "200": {
  11603. "description": "OK",
  11604. "schema": {
  11605. "$ref": "#/definitions/app.Response"
  11606. }
  11607. },
  11608. "500": {
  11609. "description": "Internal Server Error",
  11610. "schema": {
  11611. "$ref": "#/definitions/app.Response"
  11612. }
  11613. }
  11614. }
  11615. }
  11616. },
  11617. "/User/GetUserAccount": {
  11618. "get": {
  11619. "security": [
  11620. {
  11621. "ApiKeyAuth": []
  11622. }
  11623. ],
  11624. "produces": [
  11625. "application/json"
  11626. ],
  11627. "tags": [
  11628. "用户信息"
  11629. ],
  11630. "summary": "获取用户账号信息",
  11631. "parameters": [
  11632. {
  11633. "type": "integer",
  11634. "description": "用户ID",
  11635. "name": "userID",
  11636. "in": "query",
  11637. "required": true
  11638. }
  11639. ],
  11640. "responses": {
  11641. "200": {
  11642. "description": "OK",
  11643. "schema": {
  11644. "$ref": "#/definitions/models.Useraccount"
  11645. }
  11646. },
  11647. "500": {
  11648. "description": "Internal Server Error",
  11649. "schema": {
  11650. "$ref": "#/definitions/app.Response"
  11651. }
  11652. }
  11653. }
  11654. }
  11655. },
  11656. "/User/GetUserAuthStatus": {
  11657. "get": {
  11658. "security": [
  11659. {
  11660. "ApiKeyAuth": []
  11661. }
  11662. ],
  11663. "produces": [
  11664. "application/json"
  11665. ],
  11666. "tags": [
  11667. "用户信息"
  11668. ],
  11669. "summary": "获取用户实名认证状态",
  11670. "parameters": [
  11671. {
  11672. "type": "integer",
  11673. "description": "用户ID",
  11674. "name": "userID",
  11675. "in": "query",
  11676. "required": true
  11677. }
  11678. ],
  11679. "responses": {
  11680. "200": {
  11681. "description": "OK",
  11682. "schema": {
  11683. "$ref": "#/definitions/app.Response"
  11684. }
  11685. },
  11686. "500": {
  11687. "description": "Internal Server Error",
  11688. "schema": {
  11689. "$ref": "#/definitions/app.Response"
  11690. }
  11691. }
  11692. }
  11693. }
  11694. },
  11695. "/User/LoginQuery": {
  11696. "get": {
  11697. "security": [
  11698. {
  11699. "ApiKeyAuth": []
  11700. }
  11701. ],
  11702. "produces": [
  11703. "application/json"
  11704. ],
  11705. "tags": [
  11706. "用户信息"
  11707. ],
  11708. "summary": "账户登录后信息查询",
  11709. "parameters": [
  11710. {
  11711. "type": "integer",
  11712. "description": "登录账号",
  11713. "name": "loginID",
  11714. "in": "query",
  11715. "required": true
  11716. }
  11717. ],
  11718. "responses": {
  11719. "200": {
  11720. "description": "OK",
  11721. "schema": {
  11722. "$ref": "#/definitions/user.LoginQueryRsp"
  11723. }
  11724. },
  11725. "500": {
  11726. "description": "Internal Server Error",
  11727. "schema": {
  11728. "$ref": "#/definitions/app.Response"
  11729. }
  11730. }
  11731. }
  11732. }
  11733. },
  11734. "/User/QueryMessageBoard": {
  11735. "get": {
  11736. "security": [
  11737. {
  11738. "ApiKeyAuth": []
  11739. }
  11740. ],
  11741. "produces": [
  11742. "application/json"
  11743. ],
  11744. "tags": [
  11745. "用户信息"
  11746. ],
  11747. "summary": "获取用户留言板信息",
  11748. "parameters": [
  11749. {
  11750. "type": "integer",
  11751. "description": "用户ID",
  11752. "name": "userID",
  11753. "in": "query",
  11754. "required": true
  11755. }
  11756. ],
  11757. "responses": {
  11758. "200": {
  11759. "description": "OK",
  11760. "schema": {
  11761. "$ref": "#/definitions/models.Messageboard"
  11762. }
  11763. },
  11764. "500": {
  11765. "description": "Internal Server Error",
  11766. "schema": {
  11767. "$ref": "#/definitions/app.Response"
  11768. }
  11769. }
  11770. }
  11771. }
  11772. },
  11773. "/User/QueryUserFavoriteGoodses": {
  11774. "get": {
  11775. "security": [
  11776. {
  11777. "ApiKeyAuth": []
  11778. }
  11779. ],
  11780. "produces": [
  11781. "application/json"
  11782. ],
  11783. "tags": [
  11784. "用户信息"
  11785. ],
  11786. "summary": "获取用户商品收藏信息",
  11787. "parameters": [
  11788. {
  11789. "type": "integer",
  11790. "description": "用户ID",
  11791. "name": "userID",
  11792. "in": "query",
  11793. "required": true
  11794. }
  11795. ],
  11796. "responses": {
  11797. "200": {
  11798. "description": "OK",
  11799. "schema": {
  11800. "$ref": "#/definitions/models.Userfavoritegoods"
  11801. }
  11802. },
  11803. "500": {
  11804. "description": "Internal Server Error",
  11805. "schema": {
  11806. "$ref": "#/definitions/app.Response"
  11807. }
  11808. }
  11809. }
  11810. }
  11811. },
  11812. "/User/QueryUserInfo": {
  11813. "get": {
  11814. "security": [
  11815. {
  11816. "ApiKeyAuth": []
  11817. }
  11818. ],
  11819. "produces": [
  11820. "application/json"
  11821. ],
  11822. "tags": [
  11823. "用户信息"
  11824. ],
  11825. "summary": "获取用户信息",
  11826. "parameters": [
  11827. {
  11828. "type": "integer",
  11829. "description": "用户ID",
  11830. "name": "userID",
  11831. "in": "query",
  11832. "required": true
  11833. },
  11834. {
  11835. "type": "boolean",
  11836. "description": "是否解密",
  11837. "name": "isDecrypt",
  11838. "in": "query"
  11839. }
  11840. ],
  11841. "responses": {
  11842. "200": {
  11843. "description": "OK",
  11844. "schema": {
  11845. "$ref": "#/definitions/models.Userinfo"
  11846. }
  11847. },
  11848. "500": {
  11849. "description": "Internal Server Error",
  11850. "schema": {
  11851. "$ref": "#/definitions/app.Response"
  11852. }
  11853. }
  11854. }
  11855. }
  11856. },
  11857. "/User/QueryUserReferNum": {
  11858. "get": {
  11859. "produces": [
  11860. "application/json"
  11861. ],
  11862. "tags": [
  11863. "用户信息"
  11864. ],
  11865. "summary": "获取用户邀请码",
  11866. "parameters": [
  11867. {
  11868. "type": "integer",
  11869. "description": "用户ID",
  11870. "name": "userID",
  11871. "in": "query",
  11872. "required": true
  11873. }
  11874. ],
  11875. "responses": {
  11876. "200": {
  11877. "description": "OK",
  11878. "schema": {
  11879. "$ref": "#/definitions/app.Response"
  11880. }
  11881. },
  11882. "500": {
  11883. "description": "Internal Server Error",
  11884. "schema": {
  11885. "$ref": "#/definitions/app.Response"
  11886. }
  11887. }
  11888. }
  11889. }
  11890. },
  11891. "/User/RemoveUserFavoriteGoods": {
  11892. "post": {
  11893. "security": [
  11894. {
  11895. "ApiKeyAuth": []
  11896. }
  11897. ],
  11898. "produces": [
  11899. "application/json"
  11900. ],
  11901. "tags": [
  11902. "用户信息"
  11903. ],
  11904. "summary": "移除用户商品收藏信息",
  11905. "parameters": [
  11906. {
  11907. "type": "integer",
  11908. "description": "用户ID",
  11909. "name": "userID",
  11910. "in": "query",
  11911. "required": true
  11912. },
  11913. {
  11914. "type": "integer",
  11915. "description": "商品ID",
  11916. "name": "goodsID",
  11917. "in": "query",
  11918. "required": true
  11919. }
  11920. ],
  11921. "responses": {
  11922. "200": {
  11923. "description": "OK",
  11924. "schema": {
  11925. "$ref": "#/definitions/app.Response"
  11926. }
  11927. },
  11928. "500": {
  11929. "description": "Internal Server Error",
  11930. "schema": {
  11931. "$ref": "#/definitions/app.Response"
  11932. }
  11933. }
  11934. }
  11935. }
  11936. },
  11937. "/User/UpdateUserAccountStatus": {
  11938. "post": {
  11939. "security": [
  11940. {
  11941. "ApiKeyAuth": []
  11942. }
  11943. ],
  11944. "produces": [
  11945. "application/json"
  11946. ],
  11947. "tags": [
  11948. "用户信息"
  11949. ],
  11950. "summary": "更新用户状态",
  11951. "parameters": [
  11952. {
  11953. "type": "integer",
  11954. "description": "用户ID",
  11955. "name": "userID",
  11956. "in": "query",
  11957. "required": true
  11958. },
  11959. {
  11960. "type": "integer",
  11961. "description": "账户状态 - 4:正常 6:注销(停用)",
  11962. "name": "accountStatus",
  11963. "in": "query",
  11964. "required": true
  11965. }
  11966. ],
  11967. "responses": {
  11968. "200": {
  11969. "description": "OK",
  11970. "schema": {
  11971. "$ref": "#/definitions/app.Response"
  11972. }
  11973. },
  11974. "500": {
  11975. "description": "Internal Server Error",
  11976. "schema": {
  11977. "$ref": "#/definitions/app.Response"
  11978. }
  11979. }
  11980. }
  11981. }
  11982. },
  11983. "/WRTrade/GetAllDeliveryGoods": {
  11984. "get": {
  11985. "security": [
  11986. {
  11987. "ApiKeyAuth": []
  11988. },
  11989. {
  11990. "ApiKeyAuth": []
  11991. }
  11992. ],
  11993. "produces": [
  11994. "application/json",
  11995. "application/json"
  11996. ],
  11997. "tags": [
  11998. "仓单贸易",
  11999. "仓单贸易"
  12000. ],
  12001. "summary": "获取带仓单分类的种类信息",
  12002. "responses": {
  12003. "200": {
  12004. "description": "OK",
  12005. "schema": {
  12006. "$ref": "#/definitions/app.Response"
  12007. }
  12008. },
  12009. "500": {
  12010. "description": "Internal Server Error",
  12011. "schema": {
  12012. "$ref": "#/definitions/app.Response"
  12013. }
  12014. }
  12015. }
  12016. }
  12017. },
  12018. "/WrTrade2/QueryDeliveryGoodsSection": {
  12019. "get": {
  12020. "security": [
  12021. {
  12022. "ApiKeyAuth": []
  12023. }
  12024. ],
  12025. "produces": [
  12026. "application/json"
  12027. ],
  12028. "tags": [
  12029. "仓单贸易v2"
  12030. ],
  12031. "summary": "查询板块(分类)",
  12032. "responses": {
  12033. "200": {
  12034. "description": "OK",
  12035. "schema": {
  12036. "type": "array",
  12037. "items": {
  12038. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  12039. }
  12040. }
  12041. },
  12042. "500": {
  12043. "description": "Internal Server Error",
  12044. "schema": {
  12045. "$ref": "#/definitions/app.Response"
  12046. }
  12047. }
  12048. }
  12049. }
  12050. },
  12051. "/WrTrade2/QueryFaProductDetail": {
  12052. "get": {
  12053. "security": [
  12054. {
  12055. "ApiKeyAuth": []
  12056. }
  12057. ],
  12058. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  12059. "produces": [
  12060. "application/json"
  12061. ],
  12062. "tags": [
  12063. "仓单贸易v2"
  12064. ],
  12065. "summary": "查询融资产品列表",
  12066. "parameters": [
  12067. {
  12068. "type": "integer",
  12069. "description": "仓单要素id",
  12070. "name": "wrfactortypeid",
  12071. "in": "query",
  12072. "required": true
  12073. }
  12074. ],
  12075. "responses": {
  12076. "200": {
  12077. "description": "OK",
  12078. "schema": {
  12079. "type": "array",
  12080. "items": {
  12081. "$ref": "#/definitions/models.WrFAProductDetail"
  12082. }
  12083. }
  12084. },
  12085. "500": {
  12086. "description": "Internal Server Error",
  12087. "schema": {
  12088. "$ref": "#/definitions/app.Response"
  12089. }
  12090. }
  12091. }
  12092. }
  12093. },
  12094. "/WrTrade2/QueryFilterItem": {
  12095. "get": {
  12096. "security": [
  12097. {
  12098. "ApiKeyAuth": []
  12099. }
  12100. ],
  12101. "produces": [
  12102. "application/json"
  12103. ],
  12104. "tags": [
  12105. "仓单贸易v2"
  12106. ],
  12107. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  12108. "parameters": [
  12109. {
  12110. "type": "string",
  12111. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  12112. "name": "itype",
  12113. "in": "query",
  12114. "required": true
  12115. }
  12116. ],
  12117. "responses": {
  12118. "200": {
  12119. "description": "OK",
  12120. "schema": {
  12121. "type": "array",
  12122. "items": {
  12123. "$ref": "#/definitions/models.WrFilterItem"
  12124. }
  12125. }
  12126. },
  12127. "500": {
  12128. "description": "Internal Server Error",
  12129. "schema": {
  12130. "$ref": "#/definitions/app.Response"
  12131. }
  12132. }
  12133. }
  12134. }
  12135. },
  12136. "/WrTrade2/QueryFtDeliveryGoods": {
  12137. "get": {
  12138. "security": [
  12139. {
  12140. "ApiKeyAuth": []
  12141. }
  12142. ],
  12143. "produces": [
  12144. "application/json"
  12145. ],
  12146. "tags": [
  12147. "仓单贸易v2"
  12148. ],
  12149. "summary": "查询品种品类筛选框列表",
  12150. "responses": {
  12151. "200": {
  12152. "description": "OK",
  12153. "schema": {
  12154. "type": "array",
  12155. "items": {
  12156. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  12157. }
  12158. }
  12159. },
  12160. "500": {
  12161. "description": "Internal Server Error",
  12162. "schema": {
  12163. "$ref": "#/definitions/app.Response"
  12164. }
  12165. }
  12166. }
  12167. }
  12168. },
  12169. "/WrTrade2/QueryHoldLB": {
  12170. "get": {
  12171. "security": [
  12172. {
  12173. "ApiKeyAuth": []
  12174. }
  12175. ],
  12176. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  12177. "produces": [
  12178. "application/json"
  12179. ],
  12180. "tags": [
  12181. "仓单贸易v2"
  12182. ],
  12183. "summary": "查询仓单持有记录",
  12184. "parameters": [
  12185. {
  12186. "type": "integer",
  12187. "description": "资金账号",
  12188. "name": "accountid",
  12189. "in": "query",
  12190. "required": true
  12191. },
  12192. {
  12193. "type": "integer",
  12194. "description": "仓库id",
  12195. "name": "warehouseid",
  12196. "in": "query"
  12197. },
  12198. {
  12199. "type": "integer",
  12200. "description": "品种id",
  12201. "name": "deliverygoodsid",
  12202. "in": "query"
  12203. },
  12204. {
  12205. "type": "integer",
  12206. "description": "品类id",
  12207. "name": "wrstandardid",
  12208. "in": "query"
  12209. },
  12210. {
  12211. "type": "integer",
  12212. "description": "仓单要素id",
  12213. "name": "wrfactortypeid",
  12214. "in": "query"
  12215. },
  12216. {
  12217. "type": "string",
  12218. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12219. "name": "dgitemname",
  12220. "in": "query"
  12221. }
  12222. ],
  12223. "responses": {
  12224. "200": {
  12225. "description": "OK",
  12226. "schema": {
  12227. "type": "array",
  12228. "items": {
  12229. "$ref": "#/definitions/models.WrHoldLB"
  12230. }
  12231. }
  12232. },
  12233. "500": {
  12234. "description": "Internal Server Error",
  12235. "schema": {
  12236. "$ref": "#/definitions/app.Response"
  12237. }
  12238. }
  12239. }
  12240. }
  12241. },
  12242. "/WrTrade2/QueryOrderQuote": {
  12243. "get": {
  12244. "security": [
  12245. {
  12246. "ApiKeyAuth": []
  12247. }
  12248. ],
  12249. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  12250. "produces": [
  12251. "application/json"
  12252. ],
  12253. "tags": [
  12254. "仓单贸易v2"
  12255. ],
  12256. "summary": "查询大厅行情列表",
  12257. "parameters": [
  12258. {
  12259. "type": "integer",
  12260. "description": "页码",
  12261. "name": "page",
  12262. "in": "query"
  12263. },
  12264. {
  12265. "type": "integer",
  12266. "description": "每页条数",
  12267. "name": "pagesize",
  12268. "in": "query"
  12269. },
  12270. {
  12271. "type": "integer",
  12272. "description": "仓单贸易市场id",
  12273. "name": "marketid",
  12274. "in": "query"
  12275. },
  12276. {
  12277. "type": "integer",
  12278. "description": "价格方式 - 1:固定价 2-浮动价",
  12279. "name": "wrpricetype",
  12280. "in": "query",
  12281. "required": true
  12282. },
  12283. {
  12284. "type": "integer",
  12285. "description": "0:仓单预售 1:仓单贸易",
  12286. "name": "haswr",
  12287. "in": "query"
  12288. },
  12289. {
  12290. "type": "string",
  12291. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12292. "name": "dgitemname",
  12293. "in": "query"
  12294. },
  12295. {
  12296. "type": "integer",
  12297. "description": "仓库id(筛选条件)",
  12298. "name": "warehouseid",
  12299. "in": "query"
  12300. },
  12301. {
  12302. "type": "integer",
  12303. "description": "品种id",
  12304. "name": "deliverygoodsid",
  12305. "in": "query"
  12306. },
  12307. {
  12308. "type": "integer",
  12309. "description": "品类id",
  12310. "name": "wrstandardid",
  12311. "in": "query"
  12312. },
  12313. {
  12314. "type": "integer",
  12315. "description": "仓单要素id",
  12316. "name": "wrfactortypeid",
  12317. "in": "query"
  12318. },
  12319. {
  12320. "type": "string",
  12321. "description": "交收月(yyyy-mm) 仓单预售填写",
  12322. "name": "deliverymonth",
  12323. "in": "query"
  12324. }
  12325. ],
  12326. "responses": {
  12327. "200": {
  12328. "description": "OK",
  12329. "schema": {
  12330. "type": "array",
  12331. "items": {
  12332. "$ref": "#/definitions/models.WrOrderQuote"
  12333. }
  12334. }
  12335. },
  12336. "500": {
  12337. "description": "Internal Server Error",
  12338. "schema": {
  12339. "$ref": "#/definitions/app.Response"
  12340. }
  12341. }
  12342. }
  12343. }
  12344. },
  12345. "/WrTrade2/QueryOrderQuoteDetail": {
  12346. "get": {
  12347. "security": [
  12348. {
  12349. "ApiKeyAuth": []
  12350. }
  12351. ],
  12352. "produces": [
  12353. "application/json"
  12354. ],
  12355. "tags": [
  12356. "仓单贸易v2"
  12357. ],
  12358. "summary": "查询买卖大厅",
  12359. "parameters": [
  12360. {
  12361. "type": "integer",
  12362. "description": "页码",
  12363. "name": "page",
  12364. "in": "query"
  12365. },
  12366. {
  12367. "type": "integer",
  12368. "description": "每页条数",
  12369. "name": "pagesize",
  12370. "in": "query"
  12371. },
  12372. {
  12373. "type": "integer",
  12374. "description": "仓单贸易市场id",
  12375. "name": "marketid",
  12376. "in": "query"
  12377. },
  12378. {
  12379. "type": "integer",
  12380. "description": "价格方式 - 1:固定价 2-浮动价",
  12381. "name": "wrpricetype",
  12382. "in": "query",
  12383. "required": true
  12384. },
  12385. {
  12386. "type": "integer",
  12387. "description": "0:仓单预售 1:仓单贸易",
  12388. "name": "haswr",
  12389. "in": "query"
  12390. },
  12391. {
  12392. "type": "integer",
  12393. "description": "仓单要素id",
  12394. "name": "wrfactortypeid",
  12395. "in": "query",
  12396. "required": true
  12397. },
  12398. {
  12399. "type": "integer",
  12400. "description": "期货商品id(浮动价方式时填)",
  12401. "name": "goodsid",
  12402. "in": "query"
  12403. },
  12404. {
  12405. "type": "integer",
  12406. "description": "买卖方向 0-买 1-卖",
  12407. "name": "buyorsell",
  12408. "in": "query",
  12409. "required": true
  12410. },
  12411. {
  12412. "type": "string",
  12413. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  12414. "name": "deliverymonth",
  12415. "in": "query"
  12416. }
  12417. ],
  12418. "responses": {
  12419. "200": {
  12420. "description": "OK",
  12421. "schema": {
  12422. "type": "array",
  12423. "items": {
  12424. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  12425. }
  12426. }
  12427. },
  12428. "500": {
  12429. "description": "Internal Server Error",
  12430. "schema": {
  12431. "$ref": "#/definitions/app.Response"
  12432. }
  12433. }
  12434. }
  12435. }
  12436. },
  12437. "/WrTrade2/QueryOrderQuoteMyq": {
  12438. "get": {
  12439. "security": [
  12440. {
  12441. "ApiKeyAuth": []
  12442. }
  12443. ],
  12444. "produces": [
  12445. "application/json"
  12446. ],
  12447. "tags": [
  12448. "仓单贸易v2"
  12449. ],
  12450. "summary": "查询贸易圈挂牌大厅",
  12451. "parameters": [
  12452. {
  12453. "type": "integer",
  12454. "description": "页码",
  12455. "name": "page",
  12456. "in": "query"
  12457. },
  12458. {
  12459. "type": "integer",
  12460. "description": "每页条数",
  12461. "name": "pagesize",
  12462. "in": "query"
  12463. },
  12464. {
  12465. "type": "integer",
  12466. "description": "用户id",
  12467. "name": "userid",
  12468. "in": "query",
  12469. "required": true
  12470. },
  12471. {
  12472. "type": "integer",
  12473. "description": "仓单贸易市场id",
  12474. "name": "marketid",
  12475. "in": "query"
  12476. },
  12477. {
  12478. "type": "integer",
  12479. "description": "0:仓单预售 1:仓单贸易",
  12480. "name": "haswr",
  12481. "in": "query"
  12482. },
  12483. {
  12484. "type": "integer",
  12485. "description": "买卖方向 0-买 1-卖",
  12486. "name": "buyorsell",
  12487. "in": "query",
  12488. "required": true
  12489. },
  12490. {
  12491. "type": "integer",
  12492. "description": "品种id",
  12493. "name": "deliverygoodsid",
  12494. "in": "query"
  12495. },
  12496. {
  12497. "type": "integer",
  12498. "description": "品类id",
  12499. "name": "wrstandardid",
  12500. "in": "query"
  12501. },
  12502. {
  12503. "type": "string",
  12504. "description": "交收月(yyyy-mm) 仓单预售填写",
  12505. "name": "deliverymonth",
  12506. "in": "query"
  12507. },
  12508. {
  12509. "type": "string",
  12510. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12511. "name": "dgitemname",
  12512. "in": "query"
  12513. }
  12514. ],
  12515. "responses": {
  12516. "200": {
  12517. "description": "OK",
  12518. "schema": {
  12519. "type": "array",
  12520. "items": {
  12521. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  12522. }
  12523. }
  12524. },
  12525. "500": {
  12526. "description": "Internal Server Error",
  12527. "schema": {
  12528. "$ref": "#/definitions/app.Response"
  12529. }
  12530. }
  12531. }
  12532. }
  12533. },
  12534. "/WrTrade2/QueryPerformancePlan": {
  12535. "get": {
  12536. "security": [
  12537. {
  12538. "ApiKeyAuth": []
  12539. }
  12540. ],
  12541. "produces": [
  12542. "application/json"
  12543. ],
  12544. "tags": [
  12545. "仓单贸易v2"
  12546. ],
  12547. "summary": "查询履约信息",
  12548. "parameters": [
  12549. {
  12550. "type": "integer",
  12551. "description": "用户id",
  12552. "name": "userid",
  12553. "in": "query",
  12554. "required": true
  12555. },
  12556. {
  12557. "type": "integer",
  12558. "description": "买卖方向 0-买 1-卖",
  12559. "name": "buyorsell",
  12560. "in": "query",
  12561. "required": true
  12562. },
  12563. {
  12564. "type": "string",
  12565. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  12566. "name": "status",
  12567. "in": "query"
  12568. },
  12569. {
  12570. "type": "string",
  12571. "description": "开始交易日(yyyymmdd)",
  12572. "name": "begindate",
  12573. "in": "query"
  12574. },
  12575. {
  12576. "type": "string",
  12577. "description": "结束交易日(yyyymmdd)",
  12578. "name": "enddate",
  12579. "in": "query"
  12580. }
  12581. ],
  12582. "responses": {
  12583. "200": {
  12584. "description": "OK",
  12585. "schema": {
  12586. "type": "array",
  12587. "items": {
  12588. "$ref": "#/definitions/models.WrPerformancePlan"
  12589. }
  12590. }
  12591. },
  12592. "500": {
  12593. "description": "Internal Server Error",
  12594. "schema": {
  12595. "$ref": "#/definitions/app.Response"
  12596. }
  12597. }
  12598. }
  12599. }
  12600. },
  12601. "/WrTrade2/QueryPermancePlanTmp": {
  12602. "get": {
  12603. "security": [
  12604. {
  12605. "ApiKeyAuth": []
  12606. }
  12607. ],
  12608. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  12609. "produces": [
  12610. "application/json"
  12611. ],
  12612. "tags": [
  12613. "仓单贸易v2"
  12614. ],
  12615. "summary": "查询履约模板",
  12616. "parameters": [
  12617. {
  12618. "type": "integer",
  12619. "description": "用户id",
  12620. "name": "userid",
  12621. "in": "query"
  12622. },
  12623. {
  12624. "type": "string",
  12625. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  12626. "name": "tmptype",
  12627. "in": "query"
  12628. },
  12629. {
  12630. "type": "integer",
  12631. "description": "是否包含公共模板(用户id为空的) 1-包含",
  12632. "name": "includepub",
  12633. "in": "query"
  12634. },
  12635. {
  12636. "type": "integer",
  12637. "description": "市场id(天津麦顿指定此参数,其它不用)",
  12638. "name": "marketid",
  12639. "in": "query"
  12640. }
  12641. ],
  12642. "responses": {
  12643. "200": {
  12644. "description": "OK",
  12645. "schema": {
  12646. "type": "array",
  12647. "items": {
  12648. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  12649. }
  12650. }
  12651. },
  12652. "500": {
  12653. "description": "Internal Server Error",
  12654. "schema": {
  12655. "$ref": "#/definitions/app.Response"
  12656. }
  12657. }
  12658. }
  12659. }
  12660. },
  12661. "/WrTrade2/QuerySiteColumnDetail": {
  12662. "get": {
  12663. "security": [
  12664. {
  12665. "ApiKeyAuth": []
  12666. }
  12667. ],
  12668. "produces": [
  12669. "application/json"
  12670. ],
  12671. "tags": [
  12672. "仓单贸易v2"
  12673. ],
  12674. "summary": "查询资讯",
  12675. "parameters": [
  12676. {
  12677. "type": "integer",
  12678. "description": "页码",
  12679. "name": "page",
  12680. "in": "query"
  12681. },
  12682. {
  12683. "type": "integer",
  12684. "description": "每页条数",
  12685. "name": "pagesize",
  12686. "in": "query"
  12687. }
  12688. ],
  12689. "responses": {
  12690. "200": {
  12691. "description": "OK",
  12692. "schema": {
  12693. "type": "array",
  12694. "items": {
  12695. "$ref": "#/definitions/models.WrSiteColumnDetail"
  12696. }
  12697. }
  12698. },
  12699. "500": {
  12700. "description": "Internal Server Error",
  12701. "schema": {
  12702. "$ref": "#/definitions/app.Response"
  12703. }
  12704. }
  12705. }
  12706. }
  12707. },
  12708. "/WrTrade2/QuerySpotGroupTradeSum": {
  12709. "get": {
  12710. "security": [
  12711. {
  12712. "ApiKeyAuth": []
  12713. }
  12714. ],
  12715. "produces": [
  12716. "application/json"
  12717. ],
  12718. "tags": [
  12719. "仓单贸易v2"
  12720. ],
  12721. "summary": "查询指数",
  12722. "responses": {
  12723. "200": {
  12724. "description": "OK",
  12725. "schema": {
  12726. "type": "array",
  12727. "items": {
  12728. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  12729. }
  12730. }
  12731. },
  12732. "500": {
  12733. "description": "Internal Server Error",
  12734. "schema": {
  12735. "$ref": "#/definitions/app.Response"
  12736. }
  12737. }
  12738. }
  12739. }
  12740. },
  12741. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  12742. "get": {
  12743. "security": [
  12744. {
  12745. "ApiKeyAuth": []
  12746. }
  12747. ],
  12748. "description": "查询的结果将会按日期 从小到大 排序",
  12749. "produces": [
  12750. "application/json"
  12751. ],
  12752. "tags": [
  12753. "仓单贸易v2"
  12754. ],
  12755. "summary": "查询指数详细(价格走势图)",
  12756. "parameters": [
  12757. {
  12758. "type": "integer",
  12759. "description": "现货商品id",
  12760. "name": "deliverygoodsid",
  12761. "in": "query",
  12762. "required": true
  12763. },
  12764. {
  12765. "type": "integer",
  12766. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  12767. "name": "lastnum",
  12768. "in": "query"
  12769. }
  12770. ],
  12771. "responses": {
  12772. "200": {
  12773. "description": "OK",
  12774. "schema": {
  12775. "type": "array",
  12776. "items": {
  12777. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  12778. }
  12779. }
  12780. },
  12781. "500": {
  12782. "description": "Internal Server Error",
  12783. "schema": {
  12784. "$ref": "#/definitions/app.Response"
  12785. }
  12786. }
  12787. }
  12788. }
  12789. },
  12790. "/WrTrade2/QueryWrAverageTradePrice": {
  12791. "get": {
  12792. "security": [
  12793. {
  12794. "ApiKeyAuth": []
  12795. }
  12796. ],
  12797. "produces": [
  12798. "application/json"
  12799. ],
  12800. "tags": [
  12801. "仓单贸易v2"
  12802. ],
  12803. "summary": "查询成交价(历史走势)",
  12804. "parameters": [
  12805. {
  12806. "type": "integer",
  12807. "description": "页码",
  12808. "name": "page",
  12809. "in": "query"
  12810. },
  12811. {
  12812. "type": "integer",
  12813. "description": "每页条数",
  12814. "name": "pagesize",
  12815. "in": "query"
  12816. },
  12817. {
  12818. "type": "integer",
  12819. "description": "0:仓单预售 1:仓单贸易",
  12820. "name": "haswr",
  12821. "in": "query",
  12822. "required": true
  12823. },
  12824. {
  12825. "type": "integer",
  12826. "description": "仓单要素id",
  12827. "name": "wrfactortypeid",
  12828. "in": "query",
  12829. "required": true
  12830. }
  12831. ],
  12832. "responses": {
  12833. "200": {
  12834. "description": "OK",
  12835. "schema": {
  12836. "type": "array",
  12837. "items": {
  12838. "$ref": "#/definitions/models.WrAverageTradePrice"
  12839. }
  12840. }
  12841. },
  12842. "500": {
  12843. "description": "Internal Server Error",
  12844. "schema": {
  12845. "$ref": "#/definitions/app.Response"
  12846. }
  12847. }
  12848. }
  12849. }
  12850. },
  12851. "/WrTrade2/QueryWrBsGoodsInfo": {
  12852. "get": {
  12853. "security": [
  12854. {
  12855. "ApiKeyAuth": []
  12856. }
  12857. ],
  12858. "description": "合约交易/买卖大厅/详情",
  12859. "produces": [
  12860. "application/json"
  12861. ],
  12862. "tags": [
  12863. "仓单贸易v2"
  12864. ],
  12865. "summary": "查询合约交易买卖大厅详情",
  12866. "parameters": [
  12867. {
  12868. "type": "integer",
  12869. "description": "商品id",
  12870. "name": "goodsid",
  12871. "in": "query",
  12872. "required": true
  12873. }
  12874. ],
  12875. "responses": {
  12876. "200": {
  12877. "description": "OK",
  12878. "schema": {
  12879. "type": "array",
  12880. "items": {
  12881. "$ref": "#/definitions/models.WrBsGoodsInfo"
  12882. }
  12883. }
  12884. },
  12885. "500": {
  12886. "description": "Internal Server Error",
  12887. "schema": {
  12888. "$ref": "#/definitions/app.Response"
  12889. }
  12890. }
  12891. }
  12892. }
  12893. },
  12894. "/WrTrade2/QueryWrBuybackDetail": {
  12895. "get": {
  12896. "security": [
  12897. {
  12898. "ApiKeyAuth": []
  12899. }
  12900. ],
  12901. "produces": [
  12902. "application/json"
  12903. ],
  12904. "tags": [
  12905. "仓单贸易v2"
  12906. ],
  12907. "summary": "查询仓单回购明细",
  12908. "parameters": [
  12909. {
  12910. "type": "integer",
  12911. "description": "融资合同id",
  12912. "name": "scfcontractid",
  12913. "in": "query"
  12914. }
  12915. ],
  12916. "responses": {
  12917. "200": {
  12918. "description": "OK",
  12919. "schema": {
  12920. "type": "array",
  12921. "items": {
  12922. "$ref": "#/definitions/models.WrBuybackDetail"
  12923. }
  12924. }
  12925. },
  12926. "500": {
  12927. "description": "Internal Server Error",
  12928. "schema": {
  12929. "$ref": "#/definitions/app.Response"
  12930. }
  12931. }
  12932. }
  12933. }
  12934. },
  12935. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12936. "get": {
  12937. "security": [
  12938. {
  12939. "ApiKeyAuth": []
  12940. }
  12941. ],
  12942. "produces": [
  12943. "application/json"
  12944. ],
  12945. "tags": [
  12946. "仓单贸易v2"
  12947. ],
  12948. "summary": "查询合约交收可点选仓单",
  12949. "parameters": [
  12950. {
  12951. "type": "integer",
  12952. "description": "资金账号",
  12953. "name": "accountid",
  12954. "in": "query",
  12955. "required": true
  12956. },
  12957. {
  12958. "type": "integer",
  12959. "description": "商品id",
  12960. "name": "goodsid",
  12961. "in": "query",
  12962. "required": true
  12963. }
  12964. ],
  12965. "responses": {
  12966. "200": {
  12967. "description": "OK",
  12968. "schema": {
  12969. "type": "array",
  12970. "items": {
  12971. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12972. }
  12973. }
  12974. },
  12975. "500": {
  12976. "description": "Internal Server Error",
  12977. "schema": {
  12978. "$ref": "#/definitions/app.Response"
  12979. }
  12980. }
  12981. }
  12982. }
  12983. },
  12984. "/WrTrade2/QueryWrDeliveryDetail": {
  12985. "get": {
  12986. "security": [
  12987. {
  12988. "ApiKeyAuth": []
  12989. }
  12990. ],
  12991. "produces": [
  12992. "application/json"
  12993. ],
  12994. "tags": [
  12995. "仓单贸易v2"
  12996. ],
  12997. "summary": "查询交收",
  12998. "parameters": [
  12999. {
  13000. "type": "integer",
  13001. "description": "用户id",
  13002. "name": "userid",
  13003. "in": "query",
  13004. "required": true
  13005. },
  13006. {
  13007. "type": "integer",
  13008. "description": "资金账号id",
  13009. "name": "accountid",
  13010. "in": "query"
  13011. },
  13012. {
  13013. "type": "string",
  13014. "description": "开始交易日(yyyymmdd)",
  13015. "name": "begindate",
  13016. "in": "query"
  13017. },
  13018. {
  13019. "type": "string",
  13020. "description": "结束交易日(yyyymmdd)",
  13021. "name": "enddate",
  13022. "in": "query"
  13023. }
  13024. ],
  13025. "responses": {
  13026. "200": {
  13027. "description": "OK",
  13028. "schema": {
  13029. "type": "array",
  13030. "items": {
  13031. "$ref": "#/definitions/models.WrDeliveryDetail"
  13032. }
  13033. }
  13034. },
  13035. "500": {
  13036. "description": "Internal Server Error",
  13037. "schema": {
  13038. "$ref": "#/definitions/app.Response"
  13039. }
  13040. }
  13041. }
  13042. }
  13043. },
  13044. "/WrTrade2/QueryWrFactorTypeInfo": {
  13045. "get": {
  13046. "security": [
  13047. {
  13048. "ApiKeyAuth": []
  13049. }
  13050. ],
  13051. "produces": [
  13052. "application/json"
  13053. ],
  13054. "tags": [
  13055. "仓单贸易v2"
  13056. ],
  13057. "summary": "查询仓单要素详细信息",
  13058. "parameters": [
  13059. {
  13060. "type": "integer",
  13061. "description": "仓单要素id",
  13062. "name": "wrfactortypeid",
  13063. "in": "query",
  13064. "required": true
  13065. }
  13066. ],
  13067. "responses": {
  13068. "200": {
  13069. "description": "OK",
  13070. "schema": {
  13071. "type": "array",
  13072. "items": {
  13073. "$ref": "#/definitions/models.WrFactorTypeInfo"
  13074. }
  13075. }
  13076. },
  13077. "500": {
  13078. "description": "Internal Server Error",
  13079. "schema": {
  13080. "$ref": "#/definitions/app.Response"
  13081. }
  13082. }
  13083. }
  13084. }
  13085. },
  13086. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  13087. "get": {
  13088. "security": [
  13089. {
  13090. "ApiKeyAuth": []
  13091. }
  13092. ],
  13093. "produces": [
  13094. "application/json"
  13095. ],
  13096. "tags": [
  13097. "仓单贸易v2"
  13098. ],
  13099. "summary": "查询仓单要素详细信息列表项",
  13100. "parameters": [
  13101. {
  13102. "type": "integer",
  13103. "description": "仓单要素id",
  13104. "name": "wrfactortypeid",
  13105. "in": "query",
  13106. "required": true
  13107. }
  13108. ],
  13109. "responses": {
  13110. "200": {
  13111. "description": "OK",
  13112. "schema": {
  13113. "type": "array",
  13114. "items": {
  13115. "$ref": "#/definitions/models.WrTypeItem"
  13116. }
  13117. }
  13118. },
  13119. "500": {
  13120. "description": "Internal Server Error",
  13121. "schema": {
  13122. "$ref": "#/definitions/app.Response"
  13123. }
  13124. }
  13125. }
  13126. }
  13127. },
  13128. "/WrTrade2/QueryWrFinanceBuyApply": {
  13129. "get": {
  13130. "security": [
  13131. {
  13132. "ApiKeyAuth": []
  13133. }
  13134. ],
  13135. "description": "页面 融资信息+ / 申请单",
  13136. "produces": [
  13137. "application/json"
  13138. ],
  13139. "tags": [
  13140. "仓单贸易v2"
  13141. ],
  13142. "summary": "查询融资购买申请",
  13143. "parameters": [
  13144. {
  13145. "type": "integer",
  13146. "description": "用户id",
  13147. "name": "userid",
  13148. "in": "query",
  13149. "required": true
  13150. }
  13151. ],
  13152. "responses": {
  13153. "200": {
  13154. "description": "OK",
  13155. "schema": {
  13156. "type": "array",
  13157. "items": {
  13158. "$ref": "#/definitions/models.WrFinanceBuyApply"
  13159. }
  13160. }
  13161. },
  13162. "500": {
  13163. "description": "Internal Server Error",
  13164. "schema": {
  13165. "$ref": "#/definitions/app.Response"
  13166. }
  13167. }
  13168. }
  13169. }
  13170. },
  13171. "/WrTrade2/QueryWrFriendApply": {
  13172. "get": {
  13173. "security": [
  13174. {
  13175. "ApiKeyAuth": []
  13176. }
  13177. ],
  13178. "produces": [
  13179. "application/json"
  13180. ],
  13181. "tags": [
  13182. "仓单贸易v2"
  13183. ],
  13184. "summary": "查询好友申请记录",
  13185. "parameters": [
  13186. {
  13187. "type": "integer",
  13188. "description": "用户id",
  13189. "name": "userid",
  13190. "in": "query",
  13191. "required": true
  13192. }
  13193. ],
  13194. "responses": {
  13195. "200": {
  13196. "description": "OK",
  13197. "schema": {
  13198. "type": "array",
  13199. "items": {
  13200. "$ref": "#/definitions/models.WrFriendApply"
  13201. }
  13202. }
  13203. },
  13204. "500": {
  13205. "description": "Internal Server Error",
  13206. "schema": {
  13207. "$ref": "#/definitions/app.Response"
  13208. }
  13209. }
  13210. }
  13211. }
  13212. },
  13213. "/WrTrade2/QueryWrGoodsInfo": {
  13214. "get": {
  13215. "security": [
  13216. {
  13217. "ApiKeyAuth": []
  13218. }
  13219. ],
  13220. "produces": [
  13221. "application/json"
  13222. ],
  13223. "tags": [
  13224. "仓单贸易v2"
  13225. ],
  13226. "summary": "查询仓单商品信息",
  13227. "parameters": [
  13228. {
  13229. "type": "integer",
  13230. "description": "仓单贸易市场id",
  13231. "name": "marketid",
  13232. "in": "query"
  13233. },
  13234. {
  13235. "type": "integer",
  13236. "description": "0:仓单预售 1:仓单贸易",
  13237. "name": "haswr",
  13238. "in": "query",
  13239. "required": true
  13240. },
  13241. {
  13242. "type": "integer",
  13243. "description": "仓单要素id",
  13244. "name": "wrfactortypeid",
  13245. "in": "query",
  13246. "required": true
  13247. },
  13248. {
  13249. "type": "integer",
  13250. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  13251. "name": "tmplateid",
  13252. "in": "query"
  13253. }
  13254. ],
  13255. "responses": {
  13256. "200": {
  13257. "description": "OK",
  13258. "schema": {
  13259. "type": "array",
  13260. "items": {
  13261. "$ref": "#/definitions/models.WrGoodsInfo"
  13262. }
  13263. }
  13264. },
  13265. "500": {
  13266. "description": "Internal Server Error",
  13267. "schema": {
  13268. "$ref": "#/definitions/app.Response"
  13269. }
  13270. }
  13271. }
  13272. }
  13273. },
  13274. "/WrTrade2/QueryWrMarketTradeConfig": {
  13275. "get": {
  13276. "security": [
  13277. {
  13278. "ApiKeyAuth": []
  13279. }
  13280. ],
  13281. "produces": [
  13282. "application/json"
  13283. ],
  13284. "tags": [
  13285. "仓单贸易v2"
  13286. ],
  13287. "summary": "查询市场交易参数配置",
  13288. "parameters": [
  13289. {
  13290. "type": "integer",
  13291. "description": "市场id",
  13292. "name": "marketid",
  13293. "in": "query"
  13294. }
  13295. ],
  13296. "responses": {
  13297. "200": {
  13298. "description": "OK",
  13299. "schema": {
  13300. "type": "array",
  13301. "items": {
  13302. "$ref": "#/definitions/models.WrMarketTradeConfig"
  13303. }
  13304. }
  13305. },
  13306. "500": {
  13307. "description": "Internal Server Error",
  13308. "schema": {
  13309. "$ref": "#/definitions/app.Response"
  13310. }
  13311. }
  13312. }
  13313. }
  13314. },
  13315. "/WrTrade2/QueryWrOrderDetail": {
  13316. "get": {
  13317. "security": [
  13318. {
  13319. "ApiKeyAuth": []
  13320. }
  13321. ],
  13322. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  13323. "produces": [
  13324. "application/json"
  13325. ],
  13326. "tags": [
  13327. "仓单贸易v2"
  13328. ],
  13329. "summary": "查询仓单委托单(挂单)",
  13330. "parameters": [
  13331. {
  13332. "type": "integer",
  13333. "description": "页码",
  13334. "name": "page",
  13335. "in": "query"
  13336. },
  13337. {
  13338. "type": "integer",
  13339. "description": "每页条数",
  13340. "name": "pagesize",
  13341. "in": "query"
  13342. },
  13343. {
  13344. "type": "integer",
  13345. "description": "用户id",
  13346. "name": "userid",
  13347. "in": "query",
  13348. "required": true
  13349. },
  13350. {
  13351. "type": "integer",
  13352. "description": "仓单贸易市场id",
  13353. "name": "marketid",
  13354. "in": "query"
  13355. },
  13356. {
  13357. "type": "integer",
  13358. "description": "0:仓单预售 1:仓单贸易",
  13359. "name": "haswr",
  13360. "in": "query",
  13361. "required": true
  13362. },
  13363. {
  13364. "type": "string",
  13365. "description": "开始交易日(yyyymmdd)",
  13366. "name": "begindate",
  13367. "in": "query"
  13368. },
  13369. {
  13370. "type": "string",
  13371. "description": "结束交易日(yyyymmdd)",
  13372. "name": "enddate",
  13373. "in": "query"
  13374. }
  13375. ],
  13376. "responses": {
  13377. "200": {
  13378. "description": "OK",
  13379. "schema": {
  13380. "type": "array",
  13381. "items": {
  13382. "$ref": "#/definitions/models.WrOrderDetail"
  13383. }
  13384. }
  13385. },
  13386. "500": {
  13387. "description": "Internal Server Error",
  13388. "schema": {
  13389. "$ref": "#/definitions/app.Response"
  13390. }
  13391. }
  13392. }
  13393. }
  13394. },
  13395. "/WrTrade2/QueryWrOutInApply": {
  13396. "get": {
  13397. "security": [
  13398. {
  13399. "ApiKeyAuth": []
  13400. }
  13401. ],
  13402. "produces": [
  13403. "application/json"
  13404. ],
  13405. "tags": [
  13406. "仓单贸易v2"
  13407. ],
  13408. "summary": "查询提货申请",
  13409. "parameters": [
  13410. {
  13411. "type": "integer",
  13412. "description": "用户id",
  13413. "name": "userid",
  13414. "in": "query",
  13415. "required": true
  13416. },
  13417. {
  13418. "type": "string",
  13419. "description": "开始交易日(yyyymmdd)",
  13420. "name": "begindate",
  13421. "in": "query"
  13422. },
  13423. {
  13424. "type": "string",
  13425. "description": "结束交易日(yyyymmdd)",
  13426. "name": "enddate",
  13427. "in": "query"
  13428. }
  13429. ],
  13430. "responses": {
  13431. "200": {
  13432. "description": "OK",
  13433. "schema": {
  13434. "type": "array",
  13435. "items": {
  13436. "$ref": "#/definitions/models.WrOutInApply"
  13437. }
  13438. }
  13439. },
  13440. "500": {
  13441. "description": "Internal Server Error",
  13442. "schema": {
  13443. "$ref": "#/definitions/app.Response"
  13444. }
  13445. }
  13446. }
  13447. }
  13448. },
  13449. "/WrTrade2/QueryWrPerformancePlanStep": {
  13450. "get": {
  13451. "security": [
  13452. {
  13453. "ApiKeyAuth": []
  13454. }
  13455. ],
  13456. "produces": [
  13457. "application/json"
  13458. ],
  13459. "tags": [
  13460. "仓单贸易v2"
  13461. ],
  13462. "summary": "查询履约信息详情",
  13463. "parameters": [
  13464. {
  13465. "type": "integer",
  13466. "description": "履约计划id(performanceplanid)",
  13467. "name": "planid",
  13468. "in": "query",
  13469. "required": true
  13470. },
  13471. {
  13472. "type": "integer",
  13473. "description": "当前步骤id",
  13474. "name": "curstepid",
  13475. "in": "query"
  13476. }
  13477. ],
  13478. "responses": {
  13479. "200": {
  13480. "description": "OK",
  13481. "schema": {
  13482. "type": "array",
  13483. "items": {
  13484. "$ref": "#/definitions/models.WrPerformancePlanStep"
  13485. }
  13486. }
  13487. },
  13488. "500": {
  13489. "description": "Internal Server Error",
  13490. "schema": {
  13491. "$ref": "#/definitions/app.Response"
  13492. }
  13493. }
  13494. }
  13495. }
  13496. },
  13497. "/WrTrade2/QueryWrPerformanceStepType": {
  13498. "get": {
  13499. "security": [
  13500. {
  13501. "ApiKeyAuth": []
  13502. }
  13503. ],
  13504. "produces": [
  13505. "application/json"
  13506. ],
  13507. "tags": [
  13508. "仓单贸易v2"
  13509. ],
  13510. "summary": "查询履约步骤枚举",
  13511. "responses": {
  13512. "200": {
  13513. "description": "OK",
  13514. "schema": {
  13515. "type": "array",
  13516. "items": {
  13517. "$ref": "#/definitions/models.WrPerformanceStepType"
  13518. }
  13519. }
  13520. },
  13521. "500": {
  13522. "description": "Internal Server Error",
  13523. "schema": {
  13524. "$ref": "#/definitions/app.Response"
  13525. }
  13526. }
  13527. }
  13528. }
  13529. },
  13530. "/WrTrade2/QueryWrPosition": {
  13531. "get": {
  13532. "security": [
  13533. {
  13534. "ApiKeyAuth": []
  13535. }
  13536. ],
  13537. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  13538. "produces": [
  13539. "application/json"
  13540. ],
  13541. "tags": [
  13542. "仓单贸易v2"
  13543. ],
  13544. "summary": "查询现货(预售)仓单持仓",
  13545. "parameters": [
  13546. {
  13547. "type": "integer",
  13548. "description": "用户id",
  13549. "name": "userid",
  13550. "in": "query",
  13551. "required": true
  13552. },
  13553. {
  13554. "type": "integer",
  13555. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  13556. "name": "querytype",
  13557. "in": "query",
  13558. "required": true
  13559. },
  13560. {
  13561. "type": "integer",
  13562. "description": "0:仓单预售 1:仓单贸易",
  13563. "name": "haswr",
  13564. "in": "query",
  13565. "required": true
  13566. },
  13567. {
  13568. "type": "string",
  13569. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13570. "name": "dgitemname",
  13571. "in": "query"
  13572. },
  13573. {
  13574. "type": "integer",
  13575. "description": "仓库id(筛选条件)",
  13576. "name": "warehouseid",
  13577. "in": "query"
  13578. },
  13579. {
  13580. "type": "integer",
  13581. "description": "品种id",
  13582. "name": "deliverygoodsid",
  13583. "in": "query"
  13584. },
  13585. {
  13586. "type": "integer",
  13587. "description": "品类id",
  13588. "name": "wrstandardid",
  13589. "in": "query"
  13590. }
  13591. ],
  13592. "responses": {
  13593. "200": {
  13594. "description": "OK",
  13595. "schema": {
  13596. "type": "array",
  13597. "items": {
  13598. "$ref": "#/definitions/models.WrPosition"
  13599. }
  13600. }
  13601. },
  13602. "500": {
  13603. "description": "Internal Server Error",
  13604. "schema": {
  13605. "$ref": "#/definitions/app.Response"
  13606. }
  13607. }
  13608. }
  13609. }
  13610. },
  13611. "/WrTrade2/QueryWrScfContract": {
  13612. "get": {
  13613. "security": [
  13614. {
  13615. "ApiKeyAuth": []
  13616. }
  13617. ],
  13618. "produces": [
  13619. "application/json"
  13620. ],
  13621. "tags": [
  13622. "仓单贸易v2"
  13623. ],
  13624. "summary": "查询仓单贸易融资合同",
  13625. "parameters": [
  13626. {
  13627. "type": "integer",
  13628. "description": "用户id",
  13629. "name": "userid",
  13630. "in": "query",
  13631. "required": true
  13632. },
  13633. {
  13634. "type": "integer",
  13635. "description": "融资合同id",
  13636. "name": "scfcontractid",
  13637. "in": "query"
  13638. }
  13639. ],
  13640. "responses": {
  13641. "200": {
  13642. "description": "OK",
  13643. "schema": {
  13644. "type": "array",
  13645. "items": {
  13646. "$ref": "#/definitions/models.WrScfContract"
  13647. }
  13648. }
  13649. },
  13650. "500": {
  13651. "description": "Internal Server Error",
  13652. "schema": {
  13653. "$ref": "#/definitions/app.Response"
  13654. }
  13655. }
  13656. }
  13657. }
  13658. },
  13659. "/WrTrade2/QueryWrScfContractInterest": {
  13660. "get": {
  13661. "security": [
  13662. {
  13663. "ApiKeyAuth": []
  13664. }
  13665. ],
  13666. "produces": [
  13667. "application/json"
  13668. ],
  13669. "tags": [
  13670. "仓单贸易v2"
  13671. ],
  13672. "summary": "查询融资合同费用明细",
  13673. "parameters": [
  13674. {
  13675. "type": "integer",
  13676. "description": "融资合同id",
  13677. "name": "scfcontractid",
  13678. "in": "query"
  13679. }
  13680. ],
  13681. "responses": {
  13682. "200": {
  13683. "description": "OK",
  13684. "schema": {
  13685. "type": "array",
  13686. "items": {
  13687. "$ref": "#/definitions/models.WrScfContractInterest"
  13688. }
  13689. }
  13690. },
  13691. "500": {
  13692. "description": "Internal Server Error",
  13693. "schema": {
  13694. "$ref": "#/definitions/app.Response"
  13695. }
  13696. }
  13697. }
  13698. }
  13699. },
  13700. "/WrTrade2/QueryWrSpecialMatchOrder": {
  13701. "get": {
  13702. "security": [
  13703. {
  13704. "ApiKeyAuth": []
  13705. }
  13706. ],
  13707. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  13708. "produces": [
  13709. "application/json"
  13710. ],
  13711. "tags": [
  13712. "仓单贸易v2"
  13713. ],
  13714. "summary": "查询指定成交",
  13715. "parameters": [
  13716. {
  13717. "type": "integer",
  13718. "description": "页码",
  13719. "name": "page",
  13720. "in": "query"
  13721. },
  13722. {
  13723. "type": "integer",
  13724. "description": "每页条数",
  13725. "name": "pagesize",
  13726. "in": "query"
  13727. },
  13728. {
  13729. "type": "integer",
  13730. "description": "用户id",
  13731. "name": "userid",
  13732. "in": "query",
  13733. "required": true
  13734. },
  13735. {
  13736. "type": "integer",
  13737. "description": "仓单贸易市场id",
  13738. "name": "marketid",
  13739. "in": "query"
  13740. },
  13741. {
  13742. "type": "integer",
  13743. "description": "0:仓单预售 1:仓单贸易",
  13744. "name": "haswr",
  13745. "in": "query",
  13746. "required": true
  13747. },
  13748. {
  13749. "type": "integer",
  13750. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  13751. "name": "isspecified",
  13752. "in": "query"
  13753. }
  13754. ],
  13755. "responses": {
  13756. "200": {
  13757. "description": "OK",
  13758. "schema": {
  13759. "type": "array",
  13760. "items": {
  13761. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  13762. }
  13763. }
  13764. },
  13765. "500": {
  13766. "description": "Internal Server Error",
  13767. "schema": {
  13768. "$ref": "#/definitions/app.Response"
  13769. }
  13770. }
  13771. }
  13772. }
  13773. },
  13774. "/WrTrade2/QueryWrStandardFactoryItem": {
  13775. "get": {
  13776. "security": [
  13777. {
  13778. "ApiKeyAuth": []
  13779. }
  13780. ],
  13781. "produces": [
  13782. "application/json"
  13783. ],
  13784. "tags": [
  13785. "仓单贸易v2"
  13786. ],
  13787. "summary": "查询品类要素定义项",
  13788. "parameters": [
  13789. {
  13790. "type": "integer",
  13791. "description": "品类id",
  13792. "name": "wrstandardid",
  13793. "in": "query",
  13794. "required": true
  13795. }
  13796. ],
  13797. "responses": {
  13798. "200": {
  13799. "description": "OK",
  13800. "schema": {
  13801. "type": "array",
  13802. "items": {
  13803. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  13804. }
  13805. }
  13806. },
  13807. "500": {
  13808. "description": "Internal Server Error",
  13809. "schema": {
  13810. "$ref": "#/definitions/app.Response"
  13811. }
  13812. }
  13813. }
  13814. }
  13815. },
  13816. "/WrTrade2/QueryWrTradeBargainApply": {
  13817. "get": {
  13818. "security": [
  13819. {
  13820. "ApiKeyAuth": []
  13821. }
  13822. ],
  13823. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  13824. "produces": [
  13825. "application/json"
  13826. ],
  13827. "tags": [
  13828. "仓单贸易v2"
  13829. ],
  13830. "summary": "查询议价单",
  13831. "parameters": [
  13832. {
  13833. "type": "integer",
  13834. "description": "议价人id(摘牌方)",
  13835. "name": "userid",
  13836. "in": "query"
  13837. },
  13838. {
  13839. "type": "integer",
  13840. "description": "挂牌方id(查对方议价时,填写此项)",
  13841. "name": "matchuserid",
  13842. "in": "query"
  13843. },
  13844. {
  13845. "type": "integer",
  13846. "description": "关联委托单id",
  13847. "name": "wrtradeorderid",
  13848. "in": "query"
  13849. },
  13850. {
  13851. "type": "integer",
  13852. "description": "0:仓单预售 1:仓单贸易",
  13853. "name": "haswr",
  13854. "in": "query",
  13855. "required": true
  13856. },
  13857. {
  13858. "type": "string",
  13859. "description": "开始交易日(yyyymmdd)",
  13860. "name": "begindate",
  13861. "in": "query"
  13862. },
  13863. {
  13864. "type": "string",
  13865. "description": "结束交易日(yyyymmdd)",
  13866. "name": "enddate",
  13867. "in": "query"
  13868. }
  13869. ],
  13870. "responses": {
  13871. "200": {
  13872. "description": "OK",
  13873. "schema": {
  13874. "type": "array",
  13875. "items": {
  13876. "$ref": "#/definitions/models.WRTradeBargainApply"
  13877. }
  13878. }
  13879. },
  13880. "500": {
  13881. "description": "Internal Server Error",
  13882. "schema": {
  13883. "$ref": "#/definitions/app.Response"
  13884. }
  13885. }
  13886. }
  13887. }
  13888. },
  13889. "/WrTrade2/QueryWrTradeDetail": {
  13890. "get": {
  13891. "security": [
  13892. {
  13893. "ApiKeyAuth": []
  13894. }
  13895. ],
  13896. "produces": [
  13897. "application/json"
  13898. ],
  13899. "tags": [
  13900. "仓单贸易v2"
  13901. ],
  13902. "summary": "查询仓单成交明细",
  13903. "parameters": [
  13904. {
  13905. "type": "integer",
  13906. "description": "页码",
  13907. "name": "page",
  13908. "in": "query"
  13909. },
  13910. {
  13911. "type": "integer",
  13912. "description": "每页条数",
  13913. "name": "pagesize",
  13914. "in": "query"
  13915. },
  13916. {
  13917. "type": "integer",
  13918. "description": "用户id",
  13919. "name": "userid",
  13920. "in": "query",
  13921. "required": true
  13922. },
  13923. {
  13924. "type": "integer",
  13925. "description": "仓单贸易市场id",
  13926. "name": "marketid",
  13927. "in": "query"
  13928. },
  13929. {
  13930. "type": "integer",
  13931. "description": "0:仓单预售 1:仓单贸易",
  13932. "name": "haswr",
  13933. "in": "query",
  13934. "required": true
  13935. },
  13936. {
  13937. "type": "string",
  13938. "description": "开始交易日(yyyymmdd)",
  13939. "name": "begindate",
  13940. "in": "query"
  13941. },
  13942. {
  13943. "type": "string",
  13944. "description": "结束交易日(yyyymmdd)",
  13945. "name": "enddate",
  13946. "in": "query"
  13947. }
  13948. ],
  13949. "responses": {
  13950. "200": {
  13951. "description": "OK",
  13952. "schema": {
  13953. "type": "array",
  13954. "items": {
  13955. "$ref": "#/definitions/models.WrTradeDetail"
  13956. }
  13957. }
  13958. },
  13959. "500": {
  13960. "description": "Internal Server Error",
  13961. "schema": {
  13962. "$ref": "#/definitions/app.Response"
  13963. }
  13964. }
  13965. }
  13966. }
  13967. },
  13968. "/WrTrade2/QueryWrTradeOrderDetail": {
  13969. "get": {
  13970. "security": [
  13971. {
  13972. "ApiKeyAuth": []
  13973. }
  13974. ],
  13975. "produces": [
  13976. "application/json"
  13977. ],
  13978. "tags": [
  13979. "仓单贸易v2"
  13980. ],
  13981. "summary": "查询合约交易买卖大厅",
  13982. "parameters": [
  13983. {
  13984. "type": "integer",
  13985. "description": "页码",
  13986. "name": "page",
  13987. "in": "query"
  13988. },
  13989. {
  13990. "type": "integer",
  13991. "description": "每页条数",
  13992. "name": "pagesize",
  13993. "in": "query"
  13994. },
  13995. {
  13996. "type": "integer",
  13997. "description": "商品id",
  13998. "name": "goodsid",
  13999. "in": "query",
  14000. "required": true
  14001. },
  14002. {
  14003. "type": "integer",
  14004. "description": "买卖方向 0-买 1-卖",
  14005. "name": "buyorsell",
  14006. "in": "query",
  14007. "required": true
  14008. }
  14009. ],
  14010. "responses": {
  14011. "200": {
  14012. "description": "OK",
  14013. "schema": {
  14014. "type": "array",
  14015. "items": {
  14016. "$ref": "#/definitions/models.WrTradeOrderDetail"
  14017. }
  14018. }
  14019. },
  14020. "500": {
  14021. "description": "Internal Server Error",
  14022. "schema": {
  14023. "$ref": "#/definitions/app.Response"
  14024. }
  14025. }
  14026. }
  14027. }
  14028. },
  14029. "/WrTrade2/QueryWrUserFriend": {
  14030. "get": {
  14031. "security": [
  14032. {
  14033. "ApiKeyAuth": []
  14034. }
  14035. ],
  14036. "produces": [
  14037. "application/json"
  14038. ],
  14039. "tags": [
  14040. "仓单贸易v2"
  14041. ],
  14042. "summary": "查询我的朋友",
  14043. "parameters": [
  14044. {
  14045. "type": "integer",
  14046. "description": "用户id",
  14047. "name": "userid",
  14048. "in": "query",
  14049. "required": true
  14050. },
  14051. {
  14052. "type": "integer",
  14053. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  14054. "name": "newuserid",
  14055. "in": "query"
  14056. }
  14057. ],
  14058. "responses": {
  14059. "200": {
  14060. "description": "OK",
  14061. "schema": {
  14062. "type": "array",
  14063. "items": {
  14064. "$ref": "#/definitions/models.WrUserFriend"
  14065. }
  14066. }
  14067. },
  14068. "500": {
  14069. "description": "Internal Server Error",
  14070. "schema": {
  14071. "$ref": "#/definitions/app.Response"
  14072. }
  14073. }
  14074. }
  14075. }
  14076. },
  14077. "/WrTrade2/QueryWrUserReceiptInfo": {
  14078. "get": {
  14079. "security": [
  14080. {
  14081. "ApiKeyAuth": []
  14082. }
  14083. ],
  14084. "produces": [
  14085. "application/json"
  14086. ],
  14087. "tags": [
  14088. "仓单贸易v2"
  14089. ],
  14090. "summary": "查询发票信息",
  14091. "parameters": [
  14092. {
  14093. "type": "integer",
  14094. "description": "用户id",
  14095. "name": "userid",
  14096. "in": "query"
  14097. },
  14098. {
  14099. "type": "integer",
  14100. "description": "发票类型 - 1:个人 2:企业",
  14101. "name": "receipttype",
  14102. "in": "query"
  14103. }
  14104. ],
  14105. "responses": {
  14106. "200": {
  14107. "description": "OK",
  14108. "schema": {
  14109. "type": "array",
  14110. "items": {
  14111. "$ref": "#/definitions/models.WrUserReceiptInfo"
  14112. }
  14113. }
  14114. },
  14115. "500": {
  14116. "description": "Internal Server Error",
  14117. "schema": {
  14118. "$ref": "#/definitions/app.Response"
  14119. }
  14120. }
  14121. }
  14122. }
  14123. },
  14124. "/ZJ/GetBankTip": {
  14125. "get": {
  14126. "produces": [
  14127. "application/json"
  14128. ],
  14129. "tags": [
  14130. "中江"
  14131. ],
  14132. "summary": "获取中江网银端出入金提示信息",
  14133. "responses": {
  14134. "200": {
  14135. "description": "OK",
  14136. "schema": {
  14137. "type": "string"
  14138. }
  14139. },
  14140. "500": {
  14141. "description": "Internal Server Error",
  14142. "schema": {
  14143. "$ref": "#/definitions/app.Response"
  14144. }
  14145. }
  14146. }
  14147. }
  14148. },
  14149. "/ZJ/GetCusBankChannels": {
  14150. "get": {
  14151. "produces": [
  14152. "application/json"
  14153. ],
  14154. "tags": [
  14155. "中江"
  14156. ],
  14157. "summary": "获取中江出入金渠道显示列表",
  14158. "responses": {
  14159. "200": {
  14160. "description": "OK",
  14161. "schema": {
  14162. "type": "array",
  14163. "items": {
  14164. "type": "string"
  14165. }
  14166. }
  14167. },
  14168. "500": {
  14169. "description": "Internal Server Error",
  14170. "schema": {
  14171. "$ref": "#/definitions/app.Response"
  14172. }
  14173. }
  14174. }
  14175. }
  14176. }
  14177. },
  14178. "definitions": {
  14179. "app.Response": {
  14180. "type": "object",
  14181. "properties": {
  14182. "code": {
  14183. "type": "integer"
  14184. },
  14185. "data": {
  14186. "type": "object"
  14187. },
  14188. "msg": {
  14189. "type": "string"
  14190. },
  14191. "page": {
  14192. "description": "页码",
  14193. "type": "integer"
  14194. },
  14195. "pagesize": {
  14196. "description": "每页条数",
  14197. "type": "integer"
  14198. },
  14199. "total": {
  14200. "description": "总条数",
  14201. "type": "integer"
  14202. }
  14203. }
  14204. },
  14205. "common.ClientMenu": {
  14206. "type": "object",
  14207. "properties": {
  14208. "children": {
  14209. "description": "子菜单列表",
  14210. "type": "array",
  14211. "items": {
  14212. "$ref": "#/definitions/common.ClientMenu"
  14213. }
  14214. },
  14215. "code": {
  14216. "description": "ID",
  14217. "type": "string"
  14218. },
  14219. "isshow": {
  14220. "description": "是否显示",
  14221. "type": "boolean"
  14222. },
  14223. "remark": {
  14224. "description": "备注",
  14225. "type": "string"
  14226. },
  14227. "rulekey": {
  14228. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  14229. "type": "string"
  14230. },
  14231. "sort": {
  14232. "description": "排序",
  14233. "type": "integer"
  14234. },
  14235. "title": {
  14236. "description": "标题",
  14237. "type": "string"
  14238. },
  14239. "type": {
  14240. "description": "类型,1:菜单 2:按钮",
  14241. "type": "integer"
  14242. },
  14243. "url": {
  14244. "description": "URL",
  14245. "type": "string"
  14246. }
  14247. }
  14248. },
  14249. "common.PCWebMenu": {
  14250. "type": "object",
  14251. "properties": {
  14252. "auth": {
  14253. "description": "页面权限列表",
  14254. "type": "array",
  14255. "items": {
  14256. "$ref": "#/definitions/common.PCWebMenuAuth"
  14257. }
  14258. },
  14259. "children": {
  14260. "description": "子菜单列表",
  14261. "type": "array",
  14262. "items": {
  14263. "$ref": "#/definitions/common.PCWebMenu"
  14264. }
  14265. },
  14266. "code": {
  14267. "description": "ID,新版本中权限KEY也是这个字段",
  14268. "type": "string"
  14269. },
  14270. "component": {
  14271. "description": "路由组件",
  14272. "type": "string"
  14273. },
  14274. "isshow": {
  14275. "description": "是否显示",
  14276. "type": "boolean"
  14277. },
  14278. "path": {
  14279. "description": "路由路径",
  14280. "type": "string"
  14281. },
  14282. "remark": {
  14283. "description": "备注",
  14284. "type": "string"
  14285. },
  14286. "rulekey": {
  14287. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14288. "type": "string"
  14289. },
  14290. "sort": {
  14291. "description": "排序",
  14292. "type": "integer"
  14293. },
  14294. "title": {
  14295. "description": "标题",
  14296. "type": "string"
  14297. },
  14298. "url": {
  14299. "description": "URL",
  14300. "type": "string"
  14301. }
  14302. }
  14303. },
  14304. "common.PCWebMenuAuth": {
  14305. "type": "object",
  14306. "properties": {
  14307. "code": {
  14308. "description": "ID,新版本中权限KEY也是这个字段",
  14309. "type": "string"
  14310. },
  14311. "isshow": {
  14312. "description": "是否显示",
  14313. "type": "boolean"
  14314. },
  14315. "label": {
  14316. "description": "标题",
  14317. "type": "string"
  14318. },
  14319. "remark": {
  14320. "description": "备注",
  14321. "type": "string"
  14322. },
  14323. "rulekey": {
  14324. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14325. "type": "string"
  14326. }
  14327. }
  14328. },
  14329. "common.QueryImageConfigsRsp": {
  14330. "type": "object",
  14331. "required": [
  14332. "configid"
  14333. ],
  14334. "properties": {
  14335. "areauserid": {
  14336. "description": "所属机构ID",
  14337. "type": "integer"
  14338. },
  14339. "configid": {
  14340. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14341. "type": "integer"
  14342. },
  14343. "createdate": {
  14344. "description": "创建时间",
  14345. "type": "string"
  14346. },
  14347. "creatorid": {
  14348. "description": "创建人",
  14349. "type": "integer"
  14350. },
  14351. "imagepath": {
  14352. "description": "图片",
  14353. "type": "string"
  14354. },
  14355. "imagetype": {
  14356. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  14357. "type": "integer"
  14358. },
  14359. "isshow": {
  14360. "description": "是否展示 - 0:不展示 1:展示",
  14361. "type": "integer"
  14362. },
  14363. "marketid": {
  14364. "description": "市场ID",
  14365. "type": "integer"
  14366. },
  14367. "modifierid": {
  14368. "description": "操作人",
  14369. "type": "integer"
  14370. },
  14371. "sort": {
  14372. "description": "排序",
  14373. "type": "integer"
  14374. },
  14375. "title": {
  14376. "description": "标题",
  14377. "type": "string"
  14378. },
  14379. "trademode": {
  14380. "description": "交易模式",
  14381. "type": "integer"
  14382. },
  14383. "updatedate": {
  14384. "description": "修改时间",
  14385. "type": "string"
  14386. },
  14387. "url": {
  14388. "description": "链接(地址或商品ID)",
  14389. "type": "string"
  14390. },
  14391. "urltype": {
  14392. "description": "链接类型 - 1:直接地址 2:商品ID",
  14393. "type": "integer"
  14394. }
  14395. }
  14396. },
  14397. "common.QueryNoticeRsp": {
  14398. "type": "object",
  14399. "required": [
  14400. "autoid"
  14401. ],
  14402. "properties": {
  14403. "auditoruserid": {
  14404. "description": "审核人",
  14405. "type": "integer"
  14406. },
  14407. "auditremark": {
  14408. "description": "审核备注",
  14409. "type": "string"
  14410. },
  14411. "audittime": {
  14412. "description": "审核日期",
  14413. "type": "string"
  14414. },
  14415. "autoid": {
  14416. "description": "自增ID",
  14417. "type": "integer"
  14418. },
  14419. "content": {
  14420. "description": "内容",
  14421. "type": "string"
  14422. },
  14423. "createtime": {
  14424. "description": "创建时间",
  14425. "type": "string"
  14426. },
  14427. "creatorid": {
  14428. "description": "建仓人",
  14429. "type": "integer"
  14430. },
  14431. "endtime": {
  14432. "description": "结束时间",
  14433. "type": "string"
  14434. },
  14435. "istop": {
  14436. "description": "是否置顶 - 0:不置顶 1:置顶",
  14437. "type": "integer"
  14438. },
  14439. "msgiconurl": {
  14440. "description": "消息图标Url",
  14441. "type": "string"
  14442. },
  14443. "msgtype": {
  14444. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  14445. "type": "integer"
  14446. },
  14447. "publisher": {
  14448. "description": "消息发布者",
  14449. "type": "string"
  14450. },
  14451. "readed": {
  14452. "description": "是否已读",
  14453. "type": "boolean"
  14454. },
  14455. "scheduletime": {
  14456. "description": "计划发送时间",
  14457. "type": "string"
  14458. },
  14459. "sendtype": {
  14460. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  14461. "type": "integer"
  14462. },
  14463. "sentstatus": {
  14464. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  14465. "type": "integer"
  14466. },
  14467. "title": {
  14468. "description": "标题",
  14469. "type": "string"
  14470. },
  14471. "userid": {
  14472. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  14473. "type": "integer"
  14474. }
  14475. }
  14476. },
  14477. "common.QueryProvincesAndCitiesRsp": {
  14478. "type": "object",
  14479. "properties": {
  14480. "cities": {
  14481. "description": "市",
  14482. "type": "array",
  14483. "items": {
  14484. "$ref": "#/definitions/models.Division"
  14485. }
  14486. },
  14487. "province": {
  14488. "description": "省",
  14489. "$ref": "#/definitions/models.Division"
  14490. }
  14491. }
  14492. },
  14493. "common.QueryTableDefineRsp": {
  14494. "type": "object",
  14495. "required": [
  14496. "tablekey"
  14497. ],
  14498. "properties": {
  14499. "columns": {
  14500. "description": "列头信息数组",
  14501. "type": "array",
  14502. "items": {
  14503. "$ref": "#/definitions/models.Tablecolumnconfig"
  14504. }
  14505. },
  14506. "remark": {
  14507. "description": "Remark",
  14508. "type": "string"
  14509. },
  14510. "tabelmenu": {
  14511. "description": "列表菜单",
  14512. "type": "string"
  14513. },
  14514. "tablekey": {
  14515. "description": "列表Key",
  14516. "type": "string"
  14517. },
  14518. "tablename": {
  14519. "description": "列表名称",
  14520. "type": "string"
  14521. },
  14522. "tabletype": {
  14523. "description": "列表类型 - 1:管理端 2:终端",
  14524. "type": "integer"
  14525. }
  14526. }
  14527. },
  14528. "common.QueryTraderMenuRsp": {
  14529. "type": "object",
  14530. "properties": {
  14531. "OperationMenu": {
  14532. "description": "功能菜单",
  14533. "type": "array",
  14534. "items": {
  14535. "$ref": "#/definitions/models.OperationPrimaryMenu"
  14536. }
  14537. },
  14538. "QuoteMenu": {
  14539. "description": "报价牌分类菜单",
  14540. "type": "array",
  14541. "items": {
  14542. "$ref": "#/definitions/models.QuotePrimaryMenu"
  14543. }
  14544. }
  14545. }
  14546. },
  14547. "cptrade.Cptradepositioncancel": {
  14548. "type": "object",
  14549. "required": [
  14550. "cancelid"
  14551. ],
  14552. "properties": {
  14553. "accountid": {
  14554. "description": "申请人账户ID",
  14555. "type": "integer"
  14556. },
  14557. "applystatus": {
  14558. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14559. "type": "integer"
  14560. },
  14561. "applytime": {
  14562. "description": "申请时间",
  14563. "type": "string"
  14564. },
  14565. "cancelid": {
  14566. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  14567. "type": "integer"
  14568. },
  14569. "cancelqty": {
  14570. "description": "注销数量",
  14571. "type": "integer"
  14572. },
  14573. "createtime": {
  14574. "description": "创建时间",
  14575. "type": "string"
  14576. },
  14577. "creatorid": {
  14578. "description": "创建人ID",
  14579. "type": "integer"
  14580. },
  14581. "creatorname": {
  14582. "description": "创建人",
  14583. "type": "string"
  14584. },
  14585. "goodscode": {
  14586. "description": "订单商品代码",
  14587. "type": "string"
  14588. },
  14589. "goodsid": {
  14590. "description": "商品ID",
  14591. "type": "integer"
  14592. },
  14593. "goodsname": {
  14594. "description": "订单商品名称",
  14595. "type": "string"
  14596. },
  14597. "goodunit": {
  14598. "description": "报价单位",
  14599. "type": "string"
  14600. },
  14601. "handlestatus": {
  14602. "description": "处理状态",
  14603. "type": "integer"
  14604. },
  14605. "marketid": {
  14606. "description": "市场ID",
  14607. "type": "integer"
  14608. },
  14609. "marketname": {
  14610. "description": "市场名称",
  14611. "type": "string"
  14612. },
  14613. "tradedate": {
  14614. "description": "交易日(yyyyMMdd)",
  14615. "type": "string"
  14616. },
  14617. "userid": {
  14618. "description": "申请人ID",
  14619. "type": "integer"
  14620. }
  14621. }
  14622. },
  14623. "cptrade.Cptradepresaleapply": {
  14624. "type": "object",
  14625. "required": [
  14626. "applyid"
  14627. ],
  14628. "properties": {
  14629. "accountid": {
  14630. "description": "申请人账户ID",
  14631. "type": "integer"
  14632. },
  14633. "applyid": {
  14634. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  14635. "type": "integer"
  14636. },
  14637. "applyremark": {
  14638. "description": "申请备注",
  14639. "type": "string"
  14640. },
  14641. "applystatus": {
  14642. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14643. "type": "integer"
  14644. },
  14645. "applytime": {
  14646. "description": "申请时间",
  14647. "type": "string"
  14648. },
  14649. "attachmenturl": {
  14650. "description": "附件地址",
  14651. "type": "string"
  14652. },
  14653. "endtime": {
  14654. "description": "预售结束时间",
  14655. "type": "string"
  14656. },
  14657. "goodscode": {
  14658. "description": "商品代码",
  14659. "type": "string"
  14660. },
  14661. "goodsid": {
  14662. "description": "商品ID",
  14663. "type": "integer"
  14664. },
  14665. "goodsname": {
  14666. "description": "商品名称",
  14667. "type": "string"
  14668. },
  14669. "goodunit": {
  14670. "description": "报价单位",
  14671. "type": "string"
  14672. },
  14673. "handlestatus": {
  14674. "description": "处理状态",
  14675. "type": "integer"
  14676. },
  14677. "marketid": {
  14678. "description": "预售市场ID",
  14679. "type": "integer"
  14680. },
  14681. "marketname": {
  14682. "description": "预售市场名称",
  14683. "type": "string"
  14684. },
  14685. "presaleqty": {
  14686. "description": "预售数量",
  14687. "type": "integer"
  14688. },
  14689. "relatedgoodscode": {
  14690. "description": "关联交易合约代码",
  14691. "type": "string"
  14692. },
  14693. "relatedgoodsid": {
  14694. "description": "关联交易合约ID",
  14695. "type": "integer"
  14696. },
  14697. "relatedgoodsname": {
  14698. "description": "关联交易合约名称",
  14699. "type": "string"
  14700. },
  14701. "starttime": {
  14702. "description": "预售开始时间",
  14703. "type": "string"
  14704. },
  14705. "tradedate": {
  14706. "description": "交易日(yyyyMMdd)",
  14707. "type": "string"
  14708. },
  14709. "trademode": {
  14710. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  14711. "type": "integer"
  14712. },
  14713. "userid": {
  14714. "description": "申请人ID",
  14715. "type": "integer"
  14716. }
  14717. }
  14718. },
  14719. "cptrade.Cptradeusergoodsdata": {
  14720. "type": "object",
  14721. "required": [
  14722. "accountid",
  14723. "goodsid"
  14724. ],
  14725. "properties": {
  14726. "EnabledQty": {
  14727. "description": "可用量",
  14728. "type": "integer"
  14729. },
  14730. "GoodsCode": {
  14731. "description": "订单商品代码",
  14732. "type": "string"
  14733. },
  14734. "GoodsName": {
  14735. "description": "订单商品名称",
  14736. "type": "string"
  14737. },
  14738. "WRStandardCode": {
  14739. "description": "仓单标准代码",
  14740. "type": "string"
  14741. },
  14742. "WRStandardName": {
  14743. "description": "仓单标准名称",
  14744. "type": "string"
  14745. },
  14746. "accountid": {
  14747. "description": "账户ID",
  14748. "type": "integer"
  14749. },
  14750. "cancelqty": {
  14751. "description": "注销量",
  14752. "type": "integer"
  14753. },
  14754. "curpresaleqty": {
  14755. "description": "当前预售量",
  14756. "type": "integer"
  14757. },
  14758. "deliveryqty": {
  14759. "description": "交割量",
  14760. "type": "integer"
  14761. },
  14762. "freezeamount": {
  14763. "description": "冻结金额",
  14764. "type": "number"
  14765. },
  14766. "goodsid": {
  14767. "description": "商品ID",
  14768. "type": "integer"
  14769. },
  14770. "goodunit": {
  14771. "description": "报价单位",
  14772. "type": "string"
  14773. },
  14774. "hasspotfreeze": {
  14775. "description": "是否有现货冻结 - 0:否 1:有",
  14776. "type": "integer"
  14777. },
  14778. "inqty": {
  14779. "description": "转入量(总数量)",
  14780. "type": "integer"
  14781. },
  14782. "marketid": {
  14783. "description": "市场ID",
  14784. "type": "integer"
  14785. },
  14786. "presaledamount": {
  14787. "description": "已预售总金额",
  14788. "type": "integer"
  14789. },
  14790. "presaledqty": {
  14791. "description": "已预售量",
  14792. "type": "integer"
  14793. },
  14794. "userid": {
  14795. "description": "用户ID",
  14796. "type": "integer"
  14797. },
  14798. "wrstandardid": {
  14799. "description": "仓单标准ID",
  14800. "type": "integer"
  14801. }
  14802. }
  14803. },
  14804. "cptrade.QueryCPTradeMyBidRsp": {
  14805. "type": "object",
  14806. "required": [
  14807. "accountid",
  14808. "goodsid",
  14809. "marketid",
  14810. "orderid",
  14811. "orderqty",
  14812. "ordertime",
  14813. "tradeprice",
  14814. "tradeqty"
  14815. ],
  14816. "properties": {
  14817. "accountid": {
  14818. "description": "账户ID[报价币种]",
  14819. "type": "integer"
  14820. },
  14821. "goodsid": {
  14822. "description": "商品ID",
  14823. "type": "integer"
  14824. },
  14825. "goodunit": {
  14826. "description": "报价单位",
  14827. "type": "string"
  14828. },
  14829. "marketid": {
  14830. "description": "市场ID",
  14831. "type": "integer"
  14832. },
  14833. "orderid": {
  14834. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14835. "type": "integer"
  14836. },
  14837. "orderprice": {
  14838. "description": "委托价格",
  14839. "type": "number"
  14840. },
  14841. "orderqty": {
  14842. "description": "委托数量",
  14843. "type": "integer"
  14844. },
  14845. "ordertime": {
  14846. "description": "委托时间",
  14847. "type": "string"
  14848. },
  14849. "ordertotalprice": {
  14850. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  14851. "type": "number"
  14852. },
  14853. "ordertotalweight": {
  14854. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  14855. "type": "integer"
  14856. },
  14857. "totaltotalprice": {
  14858. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  14859. "type": "number"
  14860. },
  14861. "tradeprice": {
  14862. "description": "成交价格",
  14863. "type": "number"
  14864. },
  14865. "tradeqty": {
  14866. "description": "成交数量",
  14867. "type": "integer"
  14868. }
  14869. }
  14870. },
  14871. "cptrade.QueryCPTradeOrderDetailRsq": {
  14872. "type": "object",
  14873. "required": [
  14874. "accountid",
  14875. "buildtype",
  14876. "buyorsell",
  14877. "goodsid",
  14878. "marketid",
  14879. "memberuserid",
  14880. "operatetype",
  14881. "orderqty",
  14882. "ordertime",
  14883. "pricemode",
  14884. "strorderid",
  14885. "tradedate",
  14886. "validtype"
  14887. ],
  14888. "properties": {
  14889. "accountid": {
  14890. "description": "账户ID[报价币种]",
  14891. "type": "integer"
  14892. },
  14893. "buildtype": {
  14894. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  14895. "type": "integer"
  14896. },
  14897. "buyorsell": {
  14898. "description": "买卖 - 0:买 1:卖",
  14899. "type": "integer"
  14900. },
  14901. "cancelorderid": {
  14902. "description": "撤单单号(撤单时填写)",
  14903. "type": "integer"
  14904. },
  14905. "cancelqty": {
  14906. "description": "撤单数量",
  14907. "type": "integer"
  14908. },
  14909. "clientordertime": {
  14910. "description": "客户端委托时间",
  14911. "type": "string"
  14912. },
  14913. "clientticket": {
  14914. "description": "客户端流水号",
  14915. "type": "string"
  14916. },
  14917. "clienttype": {
  14918. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14919. "type": "integer"
  14920. },
  14921. "closeexchagechargevalue": {
  14922. "description": "平仓交易所手续费设置值",
  14923. "type": "number"
  14924. },
  14925. "closefeealgorithm": {
  14926. "description": "平仓手续费收取方式 1:比率 2:固定",
  14927. "type": "integer"
  14928. },
  14929. "closefreezecharge": {
  14930. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  14931. "type": "number"
  14932. },
  14933. "closememberchargevalue": {
  14934. "description": "平仓会员手续费设置值",
  14935. "type": "number"
  14936. },
  14937. "closeqty": {
  14938. "description": "平仓数量(先建后平操作 需要记录)",
  14939. "type": "integer"
  14940. },
  14941. "closetradeqty": {
  14942. "description": "平仓成交数量(先建后平操作,需要记录)",
  14943. "type": "integer"
  14944. },
  14945. "closeunfreezecharge": {
  14946. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14947. "type": "number"
  14948. },
  14949. "delistingtype": {
  14950. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14951. "type": "integer"
  14952. },
  14953. "freezecharge": {
  14954. "description": "冻结手续费",
  14955. "type": "number"
  14956. },
  14957. "freezemargin": {
  14958. "description": "冻结保证金(冻结交易金额)",
  14959. "type": "number"
  14960. },
  14961. "gcaccountid": {
  14962. "description": "账户ID[合约币种]",
  14963. "type": "integer"
  14964. },
  14965. "goodsid": {
  14966. "description": "商品ID",
  14967. "type": "integer"
  14968. },
  14969. "isconfirmexercise": {
  14970. "description": "是否确认行权- 0:否 1:是",
  14971. "type": "integer"
  14972. },
  14973. "ispreexercise": {
  14974. "description": "是否预申报- 0:否 1:是",
  14975. "type": "integer"
  14976. },
  14977. "listingselecttype": {
  14978. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14979. "type": "integer"
  14980. },
  14981. "marginalgorithm": {
  14982. "description": "保证金收取方式 1:比率 2:固定",
  14983. "type": "integer"
  14984. },
  14985. "marginvalue": {
  14986. "description": "即市保证金设置值",
  14987. "type": "number"
  14988. },
  14989. "marketid": {
  14990. "description": "市场ID",
  14991. "type": "integer"
  14992. },
  14993. "marketmaxsub": {
  14994. "description": "市价最大偏移范围",
  14995. "type": "number"
  14996. },
  14997. "memberuserid": {
  14998. "description": "所属会员UserID",
  14999. "type": "integer"
  15000. },
  15001. "openexchagechargevalue": {
  15002. "description": "建仓交易所手续费设置值",
  15003. "type": "number"
  15004. },
  15005. "openfeealgorithm": {
  15006. "description": "建仓手续费收取方式 1:比率 2:固定",
  15007. "type": "integer"
  15008. },
  15009. "openfreezecharge": {
  15010. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15011. "type": "number"
  15012. },
  15013. "openmemberchargevalue": {
  15014. "description": "建仓会员手续费设置值",
  15015. "type": "number"
  15016. },
  15017. "openqty": {
  15018. "description": "开仓数量(先建后平操作,需要记录)",
  15019. "type": "integer"
  15020. },
  15021. "opentradeqty": {
  15022. "description": "开仓成交数量(先建后平操作,需要记录)",
  15023. "type": "integer"
  15024. },
  15025. "openunfreezecharge": {
  15026. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15027. "type": "number"
  15028. },
  15029. "operatetype": {
  15030. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15031. "type": "integer"
  15032. },
  15033. "operatorid": {
  15034. "description": "登录账号(LoginID)",
  15035. "type": "integer"
  15036. },
  15037. "optiontype": {
  15038. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15039. "type": "integer"
  15040. },
  15041. "orderprice": {
  15042. "description": "委托价格",
  15043. "type": "number"
  15044. },
  15045. "orderqty": {
  15046. "description": "委托数量",
  15047. "type": "integer"
  15048. },
  15049. "ordersrc": {
  15050. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15051. "type": "integer"
  15052. },
  15053. "orderstatus": {
  15054. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15055. "type": "integer"
  15056. },
  15057. "ordertime": {
  15058. "description": "委托时间",
  15059. "type": "string"
  15060. },
  15061. "preexerciseprice": {
  15062. "description": "预申报价格",
  15063. "type": "number"
  15064. },
  15065. "premium": {
  15066. "description": "权利金",
  15067. "type": "number"
  15068. },
  15069. "preorderid": {
  15070. "description": "关联预埋单号(止盈止损单时填写)",
  15071. "type": "integer"
  15072. },
  15073. "pricemode": {
  15074. "description": "取价方式 - 1:市价 2: 限价",
  15075. "type": "integer"
  15076. },
  15077. "quoteid": {
  15078. "description": "报价单ID",
  15079. "type": "integer"
  15080. },
  15081. "relatedid": {
  15082. "description": "关联单号(交割单)",
  15083. "type": "integer"
  15084. },
  15085. "retcode": {
  15086. "description": "错误代码",
  15087. "type": "integer"
  15088. },
  15089. "sessionid": {
  15090. "description": "会话ID",
  15091. "type": "integer"
  15092. },
  15093. "strorderid": {
  15094. "description": "委托单号",
  15095. "type": "string"
  15096. },
  15097. "tradedate": {
  15098. "description": "交易日(yyyyMMdd)",
  15099. "type": "string"
  15100. },
  15101. "tradeproperty": {
  15102. "description": "交易属性",
  15103. "type": "integer"
  15104. },
  15105. "tradeqty": {
  15106. "description": "成交数量",
  15107. "type": "integer"
  15108. },
  15109. "unfreezecharge": {
  15110. "description": "解冻手续费",
  15111. "type": "number"
  15112. },
  15113. "unfreezemargin": {
  15114. "description": "解冻保证金",
  15115. "type": "number"
  15116. },
  15117. "updatetime": {
  15118. "description": "更新时间",
  15119. "type": "string"
  15120. },
  15121. "uuid": {
  15122. "description": "发起端唯一id",
  15123. "type": "string"
  15124. },
  15125. "validtime": {
  15126. "description": "有效期限",
  15127. "type": "string"
  15128. },
  15129. "validtype": {
  15130. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  15131. "type": "integer"
  15132. },
  15133. "volumetype": {
  15134. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  15135. "type": "integer"
  15136. }
  15137. }
  15138. },
  15139. "cptrade.QueryMyCPTradeGoodsRsp": {
  15140. "type": "object",
  15141. "required": [
  15142. "goodscode",
  15143. "goodsid",
  15144. "goodsname",
  15145. "marketid",
  15146. "relatedgoodscode",
  15147. "relatedgoodsname"
  15148. ],
  15149. "properties": {
  15150. "accountid": {
  15151. "description": "卖方账户ID",
  15152. "type": "integer"
  15153. },
  15154. "agreeunit": {
  15155. "description": "合约单位",
  15156. "type": "number"
  15157. },
  15158. "applyid": {
  15159. "description": "关联申请ID",
  15160. "type": "integer"
  15161. },
  15162. "attachmenturl": {
  15163. "description": "附件地址",
  15164. "type": "string"
  15165. },
  15166. "createtime": {
  15167. "description": "创建时间",
  15168. "type": "string"
  15169. },
  15170. "currencyid": {
  15171. "description": "报价货币ID",
  15172. "type": "integer"
  15173. },
  15174. "decimalplace": {
  15175. "description": "报价小数位",
  15176. "type": "integer"
  15177. },
  15178. "endtime": {
  15179. "description": "预售结束时间",
  15180. "type": "string"
  15181. },
  15182. "floorprice": {
  15183. "description": "底价[大宗式竞拍]",
  15184. "type": "number"
  15185. },
  15186. "goodscode": {
  15187. "description": "商品代码(预售)",
  15188. "type": "string"
  15189. },
  15190. "goodsdetail": {
  15191. "description": "详情[大宗]",
  15192. "type": "string"
  15193. },
  15194. "goodsid": {
  15195. "description": "商品ID(自增ID SEQ_GOODS)",
  15196. "type": "integer"
  15197. },
  15198. "goodsname": {
  15199. "description": "商品名称(预售)",
  15200. "type": "string"
  15201. },
  15202. "goodunit": {
  15203. "description": "报价单位",
  15204. "type": "string"
  15205. },
  15206. "goodunitid": {
  15207. "description": "报价单位ID",
  15208. "type": "integer"
  15209. },
  15210. "marketid": {
  15211. "description": "所属市场ID",
  15212. "type": "integer"
  15213. },
  15214. "marketname": {
  15215. "description": "预售市场名称",
  15216. "type": "string"
  15217. },
  15218. "presaledamount": {
  15219. "description": "已预售总金额(预售结束时更新)",
  15220. "type": "number"
  15221. },
  15222. "presaledqty": {
  15223. "description": "已预售量(预售结束时更新)",
  15224. "type": "integer"
  15225. },
  15226. "presalemode": {
  15227. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15228. "type": "integer"
  15229. },
  15230. "presaleqty": {
  15231. "description": "预售数量",
  15232. "type": "integer"
  15233. },
  15234. "refprice": {
  15235. "description": "参考价格[一口价]",
  15236. "type": "number"
  15237. },
  15238. "relatedgoodscode": {
  15239. "description": "商品代码(订单)",
  15240. "type": "string"
  15241. },
  15242. "relatedgoodsid": {
  15243. "description": "关联交易合约ID",
  15244. "type": "integer"
  15245. },
  15246. "relatedgoodsname": {
  15247. "description": "商品名称(订单)",
  15248. "type": "string"
  15249. },
  15250. "relatedmarketid": {
  15251. "description": "关联交易合约市场ID",
  15252. "type": "integer"
  15253. },
  15254. "sellstatus": {
  15255. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15256. "type": "integer"
  15257. },
  15258. "startprice": {
  15259. "description": "起拍价[大宗式竞拍]",
  15260. "type": "number"
  15261. },
  15262. "starttime": {
  15263. "description": "预售开始时间",
  15264. "type": "string"
  15265. },
  15266. "tradedate": {
  15267. "description": "交易日(yyyyMMdd)",
  15268. "type": "string"
  15269. },
  15270. "tradeprice": {
  15271. "description": "成交价[大宗]",
  15272. "type": "number"
  15273. },
  15274. "userid": {
  15275. "description": "卖方用户ID",
  15276. "type": "integer"
  15277. }
  15278. }
  15279. },
  15280. "cptrade.QueryPresaleGoodsExRsp": {
  15281. "type": "object",
  15282. "required": [
  15283. "goodsid"
  15284. ],
  15285. "properties": {
  15286. "attachmenturl": {
  15287. "description": "附件地址",
  15288. "type": "string"
  15289. },
  15290. "createtime": {
  15291. "description": "创建时间",
  15292. "type": "string"
  15293. },
  15294. "endtime": {
  15295. "description": "预售结束时间",
  15296. "type": "string"
  15297. },
  15298. "floorprice": {
  15299. "description": "底价[大宗式竞拍]",
  15300. "type": "number"
  15301. },
  15302. "goodsdetail": {
  15303. "description": "详情[大宗]",
  15304. "type": "string"
  15305. },
  15306. "goodsid": {
  15307. "description": "商品ID(预售)",
  15308. "type": "integer"
  15309. },
  15310. "goodunit": {
  15311. "description": "报价单位",
  15312. "type": "string"
  15313. },
  15314. "marketid": {
  15315. "description": "预售市场ID - 根据预售模式选择市场",
  15316. "type": "integer"
  15317. },
  15318. "presaledamount": {
  15319. "description": "已预售总金额(预售结束时更新)",
  15320. "type": "number"
  15321. },
  15322. "presaledqty": {
  15323. "description": "已预售量(预售结束时更新)",
  15324. "type": "integer"
  15325. },
  15326. "presalemode": {
  15327. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15328. "type": "integer"
  15329. },
  15330. "presaleqty": {
  15331. "description": "预售数量",
  15332. "type": "integer"
  15333. },
  15334. "refprice": {
  15335. "description": "参考价格[一口价]",
  15336. "type": "number"
  15337. },
  15338. "relatedgoodsid": {
  15339. "description": "关联交易合约ID",
  15340. "type": "integer"
  15341. },
  15342. "relatedmarketid": {
  15343. "description": "关联交易合约市场ID",
  15344. "type": "integer"
  15345. },
  15346. "sellstatus": {
  15347. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15348. "type": "integer"
  15349. },
  15350. "startprice": {
  15351. "description": "起拍价[大宗式竞拍]",
  15352. "type": "number"
  15353. },
  15354. "starttime": {
  15355. "description": "预售开始时间",
  15356. "type": "string"
  15357. },
  15358. "tradedate": {
  15359. "description": "交易日(yyyyMMdd)",
  15360. "type": "string"
  15361. },
  15362. "tradeprice": {
  15363. "description": "成交价[大宗]",
  15364. "type": "number"
  15365. }
  15366. }
  15367. },
  15368. "delivery.QueryDeliveryRelationRsp": {
  15369. "type": "object",
  15370. "required": [
  15371. "begindate",
  15372. "enddate",
  15373. "goodsid",
  15374. "mindeliveryqty",
  15375. "xdeliveryratio"
  15376. ],
  15377. "properties": {
  15378. "begindate": {
  15379. "description": "起始日期(yyyyMMdd)",
  15380. "type": "string"
  15381. },
  15382. "buytemplateid": {
  15383. "description": "买履约计划模板ID",
  15384. "type": "integer"
  15385. },
  15386. "deliverygoodscode": {
  15387. "description": "品种代码",
  15388. "type": "string"
  15389. },
  15390. "deliverygoodsid": {
  15391. "description": "交割商品",
  15392. "type": "integer"
  15393. },
  15394. "deliverygoodsname": {
  15395. "description": "品种名称",
  15396. "type": "string"
  15397. },
  15398. "deliverymode": {
  15399. "description": "交割方式 - 1:点选式 2:申报式",
  15400. "type": "integer"
  15401. },
  15402. "deliverypricerule": {
  15403. "description": "交割价规则- 1:行情价 2:建仓价",
  15404. "type": "integer"
  15405. },
  15406. "deliverytype": {
  15407. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  15408. "type": "integer"
  15409. },
  15410. "enddate": {
  15411. "description": "结束日期(yyyyMMdd)",
  15412. "type": "string"
  15413. },
  15414. "enumdicname": {
  15415. "description": "品类单位名称",
  15416. "type": "string"
  15417. },
  15418. "goodscode": {
  15419. "description": "商品代码",
  15420. "type": "string"
  15421. },
  15422. "goodsid": {
  15423. "description": "交易合约ID",
  15424. "type": "integer"
  15425. },
  15426. "goodsname": {
  15427. "description": "商品名称",
  15428. "type": "string"
  15429. },
  15430. "marketid": {
  15431. "description": "市场ID",
  15432. "type": "integer"
  15433. },
  15434. "mindeliveryqty": {
  15435. "description": "最小交割系数(K)",
  15436. "type": "integer"
  15437. },
  15438. "p2deliveryprice": {
  15439. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  15440. "type": "number"
  15441. },
  15442. "p2deliveryratio": {
  15443. "description": "P2合约系数(p)",
  15444. "type": "integer"
  15445. },
  15446. "p2goodsid": {
  15447. "description": "P2合约ID",
  15448. "type": "integer"
  15449. },
  15450. "p2pricemode": {
  15451. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  15452. "type": "integer"
  15453. },
  15454. "pdeliveryprice": {
  15455. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  15456. "type": "number"
  15457. },
  15458. "pdeliveryratio": {
  15459. "description": "P合约系数(n)",
  15460. "type": "integer"
  15461. },
  15462. "pgoodscode": {
  15463. "description": "p合约代码",
  15464. "type": "string"
  15465. },
  15466. "pgoodsid": {
  15467. "description": "P合约ID",
  15468. "type": "integer"
  15469. },
  15470. "ppricemode": {
  15471. "description": "P合约价格方式 - 1:商品价 2:固定值",
  15472. "type": "integer"
  15473. },
  15474. "rratio": {
  15475. "description": "兑换系数(R)",
  15476. "type": "integer"
  15477. },
  15478. "rratio1": {
  15479. "description": "兑换系数(交易合约)(R1)",
  15480. "type": "integer"
  15481. },
  15482. "rratio2": {
  15483. "description": "兑换系数(仓单标准)(R2)",
  15484. "type": "integer"
  15485. },
  15486. "selltemplateid": {
  15487. "description": "卖履约计划模板ID",
  15488. "type": "integer"
  15489. },
  15490. "wrstandardid": {
  15491. "description": "仓单标准ID",
  15492. "type": "integer"
  15493. },
  15494. "xdeliveryratio": {
  15495. "description": "交易合约系数(m)",
  15496. "type": "integer"
  15497. }
  15498. }
  15499. },
  15500. "ermcp.ExposureDetailRsp": {
  15501. "type": "object",
  15502. "properties": {
  15503. "areauserid": {
  15504. "description": "机构ID",
  15505. "type": "integer"
  15506. },
  15507. "changeQty": {
  15508. "description": "套保变动量",
  15509. "type": "number"
  15510. },
  15511. "contracttype": {
  15512. "description": "现货合同类型 - 1:采购 -1:销售",
  15513. "type": "integer"
  15514. },
  15515. "convertfactor": {
  15516. "description": "标仓系数",
  15517. "type": "number"
  15518. },
  15519. "convertratio": {
  15520. "description": "套保系数",
  15521. "type": "number"
  15522. },
  15523. "createtime": {
  15524. "description": "时间",
  15525. "type": "string"
  15526. },
  15527. "enumdicname": {
  15528. "description": "现货商品单位名称",
  15529. "type": "string"
  15530. },
  15531. "logtype": {
  15532. "description": "类型 - 1:套保计划 2:现货合同",
  15533. "type": "integer"
  15534. },
  15535. "middlegoodsId": {
  15536. "description": "套保商品id",
  15537. "type": "integer"
  15538. },
  15539. "middlegoodscode": {
  15540. "description": "套保商品代码",
  15541. "type": "string"
  15542. },
  15543. "middlegoodsname": {
  15544. "description": "套保商品名称",
  15545. "type": "string"
  15546. },
  15547. "qty": {
  15548. "description": "数量",
  15549. "type": "number"
  15550. },
  15551. "relateNo": {
  15552. "description": "现货合同/套保计划编号",
  15553. "type": "string"
  15554. },
  15555. "wrstandardcode": {
  15556. "description": "现货商品代码",
  15557. "type": "string"
  15558. },
  15559. "wrstandardid": {
  15560. "description": "现货商品ID",
  15561. "type": "integer"
  15562. },
  15563. "wrstandardname": {
  15564. "description": "现货商品名称",
  15565. "type": "string"
  15566. }
  15567. }
  15568. },
  15569. "ermcp.ExposureHedgePosDetailRsp": {
  15570. "type": "object",
  15571. "properties": {
  15572. "buyorsell": {
  15573. "description": "买卖方向 0-买 1-卖",
  15574. "type": "integer"
  15575. },
  15576. "channelbuildtype": {
  15577. "description": "开平方向 1-建仓 2-平仓",
  15578. "type": "integer"
  15579. },
  15580. "goodscode": {
  15581. "description": "商品代码",
  15582. "type": "string"
  15583. },
  15584. "goodsname": {
  15585. "description": "商品名称",
  15586. "type": "string"
  15587. },
  15588. "hedgegoodsid": {
  15589. "description": "商品id",
  15590. "type": "integer"
  15591. },
  15592. "tradeqty": {
  15593. "description": "数量(成交数量)",
  15594. "type": "integer"
  15595. },
  15596. "tradetime": {
  15597. "description": "时间(成交时间)",
  15598. "type": "string"
  15599. }
  15600. }
  15601. },
  15602. "ermcp.ExposureHedgePositionRsp": {
  15603. "type": "object",
  15604. "properties": {
  15605. "accountid": {
  15606. "description": "资金账号[外部母账户]",
  15607. "type": "integer"
  15608. },
  15609. "curbuyposition": {
  15610. "description": "期末买头寸",
  15611. "type": "integer"
  15612. },
  15613. "cursellposition": {
  15614. "description": "期末卖头寸",
  15615. "type": "integer"
  15616. },
  15617. "curtdbuyposition": {
  15618. "description": "期末今日买头寸",
  15619. "type": "integer"
  15620. },
  15621. "curtdsellposition": {
  15622. "description": "期末今日卖头寸",
  15623. "type": "integer"
  15624. },
  15625. "curydbuyposition": {
  15626. "description": "期末上日买头寸",
  15627. "type": "integer"
  15628. },
  15629. "curydsellposition": {
  15630. "description": "期末上日卖头寸",
  15631. "type": "integer"
  15632. },
  15633. "decreaseqty": {
  15634. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15635. "type": "integer"
  15636. },
  15637. "fretdbuyposition": {
  15638. "description": "冻结今日买头寸",
  15639. "type": "integer"
  15640. },
  15641. "fretdsellposition": {
  15642. "description": "冻结今日卖头寸",
  15643. "type": "integer"
  15644. },
  15645. "freydbuyposition": {
  15646. "description": "冻结上日买头寸",
  15647. "type": "integer"
  15648. },
  15649. "freydsellposition": {
  15650. "description": "冻结上日卖头寸",
  15651. "type": "integer"
  15652. },
  15653. "goodscode": {
  15654. "description": "商品代码",
  15655. "type": "string"
  15656. },
  15657. "goodsid": {
  15658. "description": "商品id",
  15659. "type": "integer"
  15660. },
  15661. "goodsname": {
  15662. "description": "商品名称",
  15663. "type": "string"
  15664. },
  15665. "hedgeaccountcode": {
  15666. "description": "对冲账号",
  15667. "type": "string"
  15668. },
  15669. "hedgegoodsid": {
  15670. "description": "对冲合约ID",
  15671. "type": "integer"
  15672. },
  15673. "increaseqty": {
  15674. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15675. "type": "integer"
  15676. },
  15677. "marketid": {
  15678. "description": "市场ID",
  15679. "type": "integer"
  15680. },
  15681. "relateduserid": {
  15682. "description": "关联用户id",
  15683. "type": "integer"
  15684. },
  15685. "totalcurqty": {
  15686. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15687. "type": "integer"
  15688. },
  15689. "totalydqty": {
  15690. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15691. "type": "integer"
  15692. },
  15693. "tradedate": {
  15694. "description": "交易日(yyyyMMdd)",
  15695. "type": "string"
  15696. },
  15697. "ydbuyposition": {
  15698. "description": "期初买头寸",
  15699. "type": "integer"
  15700. },
  15701. "ydsellposition": {
  15702. "description": "期初卖头寸",
  15703. "type": "integer"
  15704. }
  15705. }
  15706. },
  15707. "ermcp.ExposureSpotDetailRsp": {
  15708. "type": "object",
  15709. "properties": {
  15710. "contracttype": {
  15711. "description": "合同类型 1-采购 -1-销售",
  15712. "type": "integer"
  15713. },
  15714. "createtime": {
  15715. "description": "创建时间",
  15716. "type": "string"
  15717. },
  15718. "enumdicname": {
  15719. "description": "现货商品单位名称",
  15720. "type": "string"
  15721. },
  15722. "logtype": {
  15723. "description": "记录类型 1-套保 2-现货合同",
  15724. "type": "integer"
  15725. },
  15726. "qty": {
  15727. "description": "数量",
  15728. "type": "number"
  15729. },
  15730. "recordname": {
  15731. "description": "类型名称",
  15732. "type": "string"
  15733. },
  15734. "relatedid": {
  15735. "description": "套保计划ID/现货合同ID",
  15736. "type": "string"
  15737. },
  15738. "relatedno": {
  15739. "description": "编号",
  15740. "type": "string"
  15741. },
  15742. "strtime": {
  15743. "description": "时间",
  15744. "type": "string"
  15745. },
  15746. "wrstandardcode": {
  15747. "description": "现货商品代码",
  15748. "type": "string"
  15749. },
  15750. "wrstandardname": {
  15751. "description": "现货商品名称",
  15752. "type": "string"
  15753. }
  15754. }
  15755. },
  15756. "ermcp.ExposureSpotRsp": {
  15757. "type": "object",
  15758. "properties": {
  15759. "areauserid": {
  15760. "description": "所属机构",
  15761. "type": "integer"
  15762. },
  15763. "decreaseqty": {
  15764. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15765. "type": "number"
  15766. },
  15767. "increaseqty": {
  15768. "description": "增加数量=销售计划数量+采购已定价数量",
  15769. "type": "number"
  15770. },
  15771. "oritoalspotqty": {
  15772. "description": "昨日数量",
  15773. "type": "number"
  15774. },
  15775. "totalspotqty": {
  15776. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15777. "type": "number"
  15778. },
  15779. "updatetime": {
  15780. "description": "更新时间",
  15781. "type": "string"
  15782. },
  15783. "wrstandardcode": {
  15784. "description": "现货品种代码",
  15785. "type": "string"
  15786. },
  15787. "wrstandardid": {
  15788. "description": "现货商品ID",
  15789. "type": "integer"
  15790. },
  15791. "wrstandardname": {
  15792. "description": "现货品种",
  15793. "type": "string"
  15794. }
  15795. }
  15796. },
  15797. "ermcp.HisExposureRsp": {
  15798. "type": "object",
  15799. "properties": {
  15800. "data": {
  15801. "description": "历史敞口",
  15802. "type": "array",
  15803. "items": {
  15804. "$ref": "#/definitions/models.ErmcpHisExposure"
  15805. }
  15806. },
  15807. "enumdicname": {
  15808. "description": "单位名称",
  15809. "type": "string"
  15810. },
  15811. "middlegoodscode": {
  15812. "description": "套保品种代码",
  15813. "type": "string"
  15814. },
  15815. "middlegoodsid": {
  15816. "description": "套保品种ID",
  15817. "type": "integer"
  15818. },
  15819. "middlegoodsname": {
  15820. "description": "套保品种名称",
  15821. "type": "string"
  15822. }
  15823. }
  15824. },
  15825. "ermcp.PendingAuditCntRsp": {
  15826. "type": "object",
  15827. "properties": {
  15828. "areastockqty": {
  15829. "description": "待审核数量: 库存申请",
  15830. "type": "integer"
  15831. },
  15832. "businessdjqty": {
  15833. "description": "待审核数量: 点价",
  15834. "type": "integer"
  15835. },
  15836. "businessfpqty": {
  15837. "description": "待审核数量: 发票",
  15838. "type": "integer"
  15839. },
  15840. "businessjsqty": {
  15841. "description": "待审核数量: 结算",
  15842. "type": "integer"
  15843. },
  15844. "businesskxqty": {
  15845. "description": "待审核数量: 款项",
  15846. "type": "integer"
  15847. },
  15848. "hedgeplanqty": {
  15849. "description": "待审核数量: 套保计划",
  15850. "type": "integer"
  15851. },
  15852. "spotcontractqty": {
  15853. "description": "待审核数量: 现货合同",
  15854. "type": "integer"
  15855. },
  15856. "userqty": {
  15857. "description": "待审核数量: 用户",
  15858. "type": "integer"
  15859. }
  15860. }
  15861. },
  15862. "ermcp.QryAvalidGPRsp": {
  15863. "type": "object",
  15864. "properties": {
  15865. "goodsgroupid": {
  15866. "description": "期货品种id",
  15867. "type": "integer"
  15868. },
  15869. "goodsgroupname": {
  15870. "description": "期货品种名称",
  15871. "type": "string"
  15872. },
  15873. "goodunitid": {
  15874. "description": "品种单位id",
  15875. "type": "integer"
  15876. },
  15877. "goodunitname": {
  15878. "description": "品种单位名称",
  15879. "type": "string"
  15880. },
  15881. "outergroupcode": {
  15882. "description": "期货品种代码",
  15883. "type": "string"
  15884. }
  15885. }
  15886. },
  15887. "ermcp.QryBusinessDjRsp": {
  15888. "type": "object",
  15889. "properties": {
  15890. "amount": {
  15891. "description": "点价金额=(点价价格+升贴水)*点价数量",
  15892. "type": "number"
  15893. },
  15894. "applyid": {
  15895. "description": "申请人",
  15896. "type": "string"
  15897. },
  15898. "applyname": {
  15899. "description": "申请人名称",
  15900. "type": "string"
  15901. },
  15902. "applystatus": {
  15903. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15904. "type": "integer"
  15905. },
  15906. "applytime": {
  15907. "description": "申请时间",
  15908. "type": "string"
  15909. },
  15910. "attachurl": {
  15911. "description": "附件",
  15912. "type": "string"
  15913. },
  15914. "auditid": {
  15915. "description": "审核人ID",
  15916. "type": "string"
  15917. },
  15918. "auditname": {
  15919. "description": "审核人名称",
  15920. "type": "string"
  15921. },
  15922. "auditremark": {
  15923. "description": "审核备注",
  15924. "type": "string"
  15925. },
  15926. "audittime": {
  15927. "description": "审核时间",
  15928. "type": "string"
  15929. },
  15930. "buyusername": {
  15931. "description": "采购方名称",
  15932. "type": "string"
  15933. },
  15934. "contractno": {
  15935. "description": "合同编号",
  15936. "type": "string"
  15937. },
  15938. "contractstatus": {
  15939. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15940. "type": "integer"
  15941. },
  15942. "contracttype": {
  15943. "description": "现货合同类型 - 1:采购 -1:销售",
  15944. "type": "integer"
  15945. },
  15946. "deliverygoodscode": {
  15947. "description": "现货品种代码",
  15948. "type": "string"
  15949. },
  15950. "deliverygoodsid": {
  15951. "description": "现货商品ID",
  15952. "type": "integer"
  15953. },
  15954. "deliverygoodsname": {
  15955. "description": "现货品种名称",
  15956. "type": "string"
  15957. },
  15958. "enumdicname": {
  15959. "description": "单位名称",
  15960. "type": "string"
  15961. },
  15962. "goodscode": {
  15963. "description": "点价合约",
  15964. "type": "string"
  15965. },
  15966. "goodsname": {
  15967. "description": "商品名称",
  15968. "type": "string"
  15969. },
  15970. "operateapplyid": {
  15971. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15972. "type": "string"
  15973. },
  15974. "operateapplytype": {
  15975. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15976. "type": "integer"
  15977. },
  15978. "pricedPrice": {
  15979. "description": "点价价格(非必填)",
  15980. "type": "number"
  15981. },
  15982. "pricedQty": {
  15983. "description": "点价数量(非必填)",
  15984. "type": "number"
  15985. },
  15986. "pricemove": {
  15987. "description": "升贴水",
  15988. "type": "number"
  15989. },
  15990. "pricetype": {
  15991. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15992. "type": "integer"
  15993. },
  15994. "relatedid": {
  15995. "description": "现货合同ID",
  15996. "type": "string"
  15997. },
  15998. "sellusername": {
  15999. "description": "销售方名字",
  16000. "type": "string"
  16001. },
  16002. "userid": {
  16003. "description": "用户ID",
  16004. "type": "integer"
  16005. },
  16006. "wrstandardcode": {
  16007. "description": "品类代码",
  16008. "type": "string"
  16009. },
  16010. "wrstandardid": {
  16011. "description": "品类id",
  16012. "type": "integer"
  16013. },
  16014. "wrstandardname": {
  16015. "description": "品类名称",
  16016. "type": "string"
  16017. }
  16018. }
  16019. },
  16020. "ermcp.QryBussinessFpRsp": {
  16021. "type": "object",
  16022. "properties": {
  16023. "applyid": {
  16024. "description": "申请人",
  16025. "type": "string"
  16026. },
  16027. "applyname": {
  16028. "description": "申请人名称",
  16029. "type": "string"
  16030. },
  16031. "applystatus": {
  16032. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16033. "type": "integer"
  16034. },
  16035. "applytime": {
  16036. "description": "申请时间",
  16037. "type": "string"
  16038. },
  16039. "attachurl": {
  16040. "description": "附件",
  16041. "type": "string"
  16042. },
  16043. "auditid": {
  16044. "description": "审核人ID",
  16045. "type": "string"
  16046. },
  16047. "auditname": {
  16048. "description": "审核人名称",
  16049. "type": "string"
  16050. },
  16051. "auditremark": {
  16052. "description": "审核备注",
  16053. "type": "string"
  16054. },
  16055. "audittime": {
  16056. "description": "审核时间",
  16057. "type": "string"
  16058. },
  16059. "buyusername": {
  16060. "description": "采购方名称",
  16061. "type": "string"
  16062. },
  16063. "contractno": {
  16064. "description": "合同编号",
  16065. "type": "string"
  16066. },
  16067. "contractstatus": {
  16068. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16069. "type": "integer"
  16070. },
  16071. "contracttype": {
  16072. "description": "现货合同类型 - 1:采购 -1:销售",
  16073. "type": "integer"
  16074. },
  16075. "deliverygoodscode": {
  16076. "description": "现货品种代码",
  16077. "type": "string"
  16078. },
  16079. "deliverygoodsid": {
  16080. "description": "现货商品ID",
  16081. "type": "integer"
  16082. },
  16083. "deliverygoodsname": {
  16084. "description": "现货品种名称",
  16085. "type": "string"
  16086. },
  16087. "enumdicname": {
  16088. "description": "单位名称",
  16089. "type": "string"
  16090. },
  16091. "goodscode": {
  16092. "description": "点价合约",
  16093. "type": "string"
  16094. },
  16095. "goodsname": {
  16096. "description": "商品名称",
  16097. "type": "string"
  16098. },
  16099. "invoiceamount": {
  16100. "description": "已开收票金额(销售为开票,采购为收票)",
  16101. "type": "number"
  16102. },
  16103. "operateapplyid": {
  16104. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16105. "type": "string"
  16106. },
  16107. "operateapplytype": {
  16108. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16109. "type": "integer"
  16110. },
  16111. "pricemove": {
  16112. "description": "升贴水",
  16113. "type": "number"
  16114. },
  16115. "pricetype": {
  16116. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16117. "type": "integer"
  16118. },
  16119. "relatedid": {
  16120. "description": "现货合同ID",
  16121. "type": "string"
  16122. },
  16123. "sellusername": {
  16124. "description": "销售方名字",
  16125. "type": "string"
  16126. },
  16127. "userid": {
  16128. "description": "用户ID",
  16129. "type": "integer"
  16130. },
  16131. "wrstandardcode": {
  16132. "description": "品类代码",
  16133. "type": "string"
  16134. },
  16135. "wrstandardid": {
  16136. "description": "品类id",
  16137. "type": "integer"
  16138. },
  16139. "wrstandardname": {
  16140. "description": "品类名称",
  16141. "type": "string"
  16142. }
  16143. }
  16144. },
  16145. "ermcp.QryBussinessJsExRsp": {
  16146. "type": "object",
  16147. "properties": {
  16148. "applyid": {
  16149. "description": "申请人",
  16150. "type": "string"
  16151. },
  16152. "applyname": {
  16153. "description": "申请人名称",
  16154. "type": "string"
  16155. },
  16156. "applystatus": {
  16157. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16158. "type": "integer"
  16159. },
  16160. "applytime": {
  16161. "description": "申请时间",
  16162. "type": "string"
  16163. },
  16164. "attachurl": {
  16165. "description": "附件",
  16166. "type": "string"
  16167. },
  16168. "auditid": {
  16169. "description": "审核人ID",
  16170. "type": "string"
  16171. },
  16172. "auditname": {
  16173. "description": "审核人名称",
  16174. "type": "string"
  16175. },
  16176. "auditremark": {
  16177. "description": "审核备注",
  16178. "type": "string"
  16179. },
  16180. "audittime": {
  16181. "description": "审核时间",
  16182. "type": "string"
  16183. },
  16184. "buyusername": {
  16185. "description": "采购方名称",
  16186. "type": "string"
  16187. },
  16188. "contractno": {
  16189. "description": "合同编号",
  16190. "type": "string"
  16191. },
  16192. "contractstatus": {
  16193. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16194. "type": "integer"
  16195. },
  16196. "contracttype": {
  16197. "description": "现货合同类型 - 1:采购 -1:销售",
  16198. "type": "integer"
  16199. },
  16200. "deliverygoodscode": {
  16201. "description": "现货品种代码",
  16202. "type": "string"
  16203. },
  16204. "deliverygoodsid": {
  16205. "description": "现货商品ID",
  16206. "type": "integer"
  16207. },
  16208. "deliverygoodsname": {
  16209. "description": "现货品种名称",
  16210. "type": "string"
  16211. },
  16212. "enumdicname": {
  16213. "description": "单位名称",
  16214. "type": "string"
  16215. },
  16216. "goodscode": {
  16217. "description": "点价合约",
  16218. "type": "string"
  16219. },
  16220. "goodsname": {
  16221. "description": "商品名称",
  16222. "type": "string"
  16223. },
  16224. "operateapplyid": {
  16225. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16226. "type": "string"
  16227. },
  16228. "operateapplytype": {
  16229. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16230. "type": "integer"
  16231. },
  16232. "pricemove": {
  16233. "description": "升贴水",
  16234. "type": "number"
  16235. },
  16236. "pricetype": {
  16237. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16238. "type": "integer"
  16239. },
  16240. "reckontype": {
  16241. "description": "结算类型",
  16242. "type": "string"
  16243. },
  16244. "reckonvalue": {
  16245. "description": "值",
  16246. "type": "number"
  16247. },
  16248. "relatedid": {
  16249. "description": "现货合同ID",
  16250. "type": "string"
  16251. },
  16252. "sellusername": {
  16253. "description": "销售方名字",
  16254. "type": "string"
  16255. },
  16256. "userid": {
  16257. "description": "用户ID",
  16258. "type": "integer"
  16259. },
  16260. "wrstandardcode": {
  16261. "description": "品类代码",
  16262. "type": "string"
  16263. },
  16264. "wrstandardid": {
  16265. "description": "品类id",
  16266. "type": "integer"
  16267. },
  16268. "wrstandardname": {
  16269. "description": "品类名称",
  16270. "type": "string"
  16271. }
  16272. }
  16273. },
  16274. "ermcp.QryBussinessJsRsp": {
  16275. "type": "object",
  16276. "properties": {
  16277. "addmargin": {
  16278. "description": "追加保证金(非必填)",
  16279. "type": "number"
  16280. },
  16281. "applyid": {
  16282. "description": "申请人",
  16283. "type": "string"
  16284. },
  16285. "applyname": {
  16286. "description": "申请人名称",
  16287. "type": "string"
  16288. },
  16289. "applystatus": {
  16290. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16291. "type": "integer"
  16292. },
  16293. "applytime": {
  16294. "description": "申请时间",
  16295. "type": "string"
  16296. },
  16297. "attachurl": {
  16298. "description": "附件",
  16299. "type": "string"
  16300. },
  16301. "auditid": {
  16302. "description": "审核人ID",
  16303. "type": "string"
  16304. },
  16305. "auditname": {
  16306. "description": "审核人名称",
  16307. "type": "string"
  16308. },
  16309. "auditremark": {
  16310. "description": "审核备注",
  16311. "type": "string"
  16312. },
  16313. "audittime": {
  16314. "description": "审核时间",
  16315. "type": "string"
  16316. },
  16317. "buyusername": {
  16318. "description": "采购方名称",
  16319. "type": "string"
  16320. },
  16321. "contractno": {
  16322. "description": "合同编号",
  16323. "type": "string"
  16324. },
  16325. "contractstatus": {
  16326. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16327. "type": "integer"
  16328. },
  16329. "contracttype": {
  16330. "description": "现货合同类型 - 1:采购 -1:销售",
  16331. "type": "integer"
  16332. },
  16333. "decmargin": {
  16334. "description": "减少保证金(非必填)",
  16335. "type": "number"
  16336. },
  16337. "deliverygoodscode": {
  16338. "description": "现货品种代码",
  16339. "type": "string"
  16340. },
  16341. "deliverygoodsid": {
  16342. "description": "现货商品ID",
  16343. "type": "integer"
  16344. },
  16345. "deliverygoodsname": {
  16346. "description": "现货品种名称",
  16347. "type": "string"
  16348. },
  16349. "enumdicname": {
  16350. "description": "单位名称",
  16351. "type": "string"
  16352. },
  16353. "goodscode": {
  16354. "description": "点价合约",
  16355. "type": "string"
  16356. },
  16357. "goodsname": {
  16358. "description": "商品名称",
  16359. "type": "string"
  16360. },
  16361. "operateapplyid": {
  16362. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16363. "type": "string"
  16364. },
  16365. "operateapplytype": {
  16366. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16367. "type": "integer"
  16368. },
  16369. "pricemove": {
  16370. "description": "升贴水",
  16371. "type": "number"
  16372. },
  16373. "pricetype": {
  16374. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16375. "type": "integer"
  16376. },
  16377. "reckonadjustamount": {
  16378. "description": "结算调整金额(非必填)",
  16379. "type": "number"
  16380. },
  16381. "reckonosamount": {
  16382. "description": "结算溢短金额(非必填)",
  16383. "type": "number"
  16384. },
  16385. "reckonotheramount": {
  16386. "description": "结算其他费用(非必填)",
  16387. "type": "number"
  16388. },
  16389. "reckonrealqty": {
  16390. "description": "结算实际数量(非必填)",
  16391. "type": "number"
  16392. },
  16393. "relatedid": {
  16394. "description": "现货合同ID",
  16395. "type": "string"
  16396. },
  16397. "sellusername": {
  16398. "description": "销售方名字",
  16399. "type": "string"
  16400. },
  16401. "userid": {
  16402. "description": "用户ID",
  16403. "type": "integer"
  16404. },
  16405. "wrstandardcode": {
  16406. "description": "品类代码",
  16407. "type": "string"
  16408. },
  16409. "wrstandardid": {
  16410. "description": "品类id",
  16411. "type": "integer"
  16412. },
  16413. "wrstandardname": {
  16414. "description": "品类名称",
  16415. "type": "string"
  16416. }
  16417. }
  16418. },
  16419. "ermcp.QryBussinessKxRsp": {
  16420. "type": "object",
  16421. "properties": {
  16422. "applyid": {
  16423. "description": "申请人",
  16424. "type": "string"
  16425. },
  16426. "applyname": {
  16427. "description": "申请人名称",
  16428. "type": "string"
  16429. },
  16430. "applystatus": {
  16431. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16432. "type": "integer"
  16433. },
  16434. "applytime": {
  16435. "description": "申请时间",
  16436. "type": "string"
  16437. },
  16438. "attachurl": {
  16439. "description": "附件",
  16440. "type": "string"
  16441. },
  16442. "auditid": {
  16443. "description": "审核人ID",
  16444. "type": "string"
  16445. },
  16446. "auditname": {
  16447. "description": "审核人名称",
  16448. "type": "string"
  16449. },
  16450. "auditremark": {
  16451. "description": "审核备注",
  16452. "type": "string"
  16453. },
  16454. "audittime": {
  16455. "description": "审核时间",
  16456. "type": "string"
  16457. },
  16458. "buyusername": {
  16459. "description": "采购方名称",
  16460. "type": "string"
  16461. },
  16462. "contractno": {
  16463. "description": "合同编号",
  16464. "type": "string"
  16465. },
  16466. "contractstatus": {
  16467. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16468. "type": "integer"
  16469. },
  16470. "contracttype": {
  16471. "description": "现货合同类型 - 1:采购 -1:销售",
  16472. "type": "integer"
  16473. },
  16474. "deductamount": {
  16475. "description": "退款(非必填)",
  16476. "type": "number"
  16477. },
  16478. "deliverygoodscode": {
  16479. "description": "现货品种代码",
  16480. "type": "string"
  16481. },
  16482. "deliverygoodsid": {
  16483. "description": "现货商品ID",
  16484. "type": "integer"
  16485. },
  16486. "deliverygoodsname": {
  16487. "description": "现货品种名称",
  16488. "type": "string"
  16489. },
  16490. "enumdicname": {
  16491. "description": "单位名称",
  16492. "type": "string"
  16493. },
  16494. "goodscode": {
  16495. "description": "点价合约",
  16496. "type": "string"
  16497. },
  16498. "goodsname": {
  16499. "description": "商品名称",
  16500. "type": "string"
  16501. },
  16502. "kxtype": {
  16503. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  16504. "type": "integer"
  16505. },
  16506. "operateapplyid": {
  16507. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16508. "type": "string"
  16509. },
  16510. "operateapplytype": {
  16511. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16512. "type": "integer"
  16513. },
  16514. "payamount": {
  16515. "description": "收付款(非必填)",
  16516. "type": "number"
  16517. },
  16518. "pricemove": {
  16519. "description": "升贴水",
  16520. "type": "number"
  16521. },
  16522. "pricetype": {
  16523. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16524. "type": "integer"
  16525. },
  16526. "relatedid": {
  16527. "description": "现货合同ID",
  16528. "type": "string"
  16529. },
  16530. "sellusername": {
  16531. "description": "销售方名字",
  16532. "type": "string"
  16533. },
  16534. "userid": {
  16535. "description": "用户ID",
  16536. "type": "integer"
  16537. },
  16538. "wrstandardcode": {
  16539. "description": "品类代码",
  16540. "type": "string"
  16541. },
  16542. "wrstandardid": {
  16543. "description": "品类id",
  16544. "type": "integer"
  16545. },
  16546. "wrstandardname": {
  16547. "description": "品类名称",
  16548. "type": "string"
  16549. }
  16550. }
  16551. },
  16552. "ermcp.QryGGCovertCfgRsp": {
  16553. "type": "object",
  16554. "properties": {
  16555. "convertratio": {
  16556. "description": "折算系数",
  16557. "type": "number"
  16558. },
  16559. "destgoodsgroupid": {
  16560. "description": "目标品种ID",
  16561. "type": "integer"
  16562. },
  16563. "dstcode": {
  16564. "description": "目录品种代码",
  16565. "type": "string"
  16566. },
  16567. "dstexchangecode": {
  16568. "description": "目标期货交易所",
  16569. "type": "string"
  16570. },
  16571. "dstname": {
  16572. "description": "目标品种名称",
  16573. "type": "string"
  16574. },
  16575. "dstunitid": {
  16576. "description": "目标品种单位ID",
  16577. "type": "integer"
  16578. },
  16579. "dstunitidname": {
  16580. "description": "目标品种单位名称",
  16581. "type": "string"
  16582. },
  16583. "modifytime": {
  16584. "description": "修改时间",
  16585. "type": "string"
  16586. },
  16587. "srccode": {
  16588. "description": "源品种代码",
  16589. "type": "string"
  16590. },
  16591. "srcexchangecode": {
  16592. "description": "源期货交易所",
  16593. "type": "string"
  16594. },
  16595. "srcgoodsgroupid": {
  16596. "description": "源品种ID",
  16597. "type": "integer"
  16598. },
  16599. "srcname": {
  16600. "description": "源品种名称",
  16601. "type": "string"
  16602. },
  16603. "srcunitid": {
  16604. "description": "源品种单位ID",
  16605. "type": "integer"
  16606. },
  16607. "srcunitidname": {
  16608. "description": "源品种单位名称",
  16609. "type": "string"
  16610. }
  16611. }
  16612. },
  16613. "ermcp.QryMGChangeLogRsp": {
  16614. "type": "object",
  16615. "properties": {
  16616. "aftervalue": {
  16617. "description": "变更后",
  16618. "type": "number"
  16619. },
  16620. "applyid": {
  16621. "description": "操作人",
  16622. "type": "integer"
  16623. },
  16624. "applyname": {
  16625. "description": "操作人名称",
  16626. "type": "string"
  16627. },
  16628. "applysrc": {
  16629. "description": "操作来源 - 1:管理端 2:终端",
  16630. "type": "integer"
  16631. },
  16632. "beforevalue": {
  16633. "description": "变更前",
  16634. "type": "number"
  16635. },
  16636. "changelogtype": {
  16637. "description": "变更流水类型 - 1:套保比率变更",
  16638. "type": "integer"
  16639. },
  16640. "handlestatus": {
  16641. "description": "处理状态",
  16642. "type": "integer"
  16643. },
  16644. "logdatetime": {
  16645. "description": "流水日期",
  16646. "type": "string"
  16647. },
  16648. "logid": {
  16649. "description": "流水ID",
  16650. "type": "integer"
  16651. },
  16652. "logremark": {
  16653. "description": "流水备注",
  16654. "type": "string"
  16655. },
  16656. "middlegoodsid": {
  16657. "description": "套保品种ID",
  16658. "type": "integer"
  16659. },
  16660. "tradedate": {
  16661. "description": "交易日(yyyyMMdd)",
  16662. "type": "string"
  16663. },
  16664. "updatetime": {
  16665. "description": "更新时间",
  16666. "type": "string"
  16667. }
  16668. }
  16669. },
  16670. "ermcp.QryMiddleGoodsDetailRsp": {
  16671. "type": "object",
  16672. "properties": {
  16673. "cvList": {
  16674. "description": "期货品种折算列表",
  16675. "type": "array",
  16676. "items": {
  16677. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16678. }
  16679. },
  16680. "mg": {
  16681. "description": "套保品种基本信息",
  16682. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16683. },
  16684. "wrcList": {
  16685. "description": "现货品种列表(现货商品折算配置)",
  16686. "type": "array",
  16687. "items": {
  16688. "$ref": "#/definitions/models.WRSConverTDetail"
  16689. }
  16690. }
  16691. }
  16692. },
  16693. "ermcp.QryMiddleGoodsRsp": {
  16694. "type": "object",
  16695. "properties": {
  16696. "areauserid": {
  16697. "description": "机构用户ID",
  16698. "type": "integer"
  16699. },
  16700. "createtime": {
  16701. "description": "修改时间",
  16702. "type": "string"
  16703. },
  16704. "enumdicname": {
  16705. "description": "单位名称",
  16706. "type": "string"
  16707. },
  16708. "evaluateratio": {
  16709. "description": "估价系数",
  16710. "type": "number"
  16711. },
  16712. "goodsgroupid": {
  16713. "description": "关联期货品种ID",
  16714. "type": "integer"
  16715. },
  16716. "goodsunitid": {
  16717. "description": "单位ID",
  16718. "type": "integer"
  16719. },
  16720. "isvalid": {
  16721. "description": "状态 0-无效(停用) 1-有效(正常)",
  16722. "type": "integer"
  16723. },
  16724. "middlegoodscode": {
  16725. "description": "套保品种代码",
  16726. "type": "string"
  16727. },
  16728. "middlegoodsid": {
  16729. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16730. "type": "integer"
  16731. },
  16732. "middlegoodsname": {
  16733. "description": "套保品种名称",
  16734. "type": "string"
  16735. },
  16736. "modifytime": {
  16737. "description": "修改时间",
  16738. "type": "string"
  16739. },
  16740. "needarbitrageratio": {
  16741. "description": "套利比例",
  16742. "type": "number"
  16743. },
  16744. "needhedgeratio": {
  16745. "description": "套保比率",
  16746. "type": "number"
  16747. },
  16748. "qtydecimalplace": {
  16749. "description": "数量小数位",
  16750. "type": "integer"
  16751. },
  16752. "relatedgoodsid": {
  16753. "description": "关联交易商品ID",
  16754. "type": "integer"
  16755. },
  16756. "relatedgoodstype": {
  16757. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16758. "type": "integer"
  16759. },
  16760. "remark": {
  16761. "description": "备注",
  16762. "type": "string"
  16763. }
  16764. }
  16765. },
  16766. "ermcp.QryOPLogRsp": {
  16767. "type": "object",
  16768. "properties": {
  16769. "aftervalue": {
  16770. "description": "变更后",
  16771. "type": "number"
  16772. },
  16773. "applyid": {
  16774. "description": "操作人ID",
  16775. "type": "string"
  16776. },
  16777. "applyname": {
  16778. "description": "操作人名称",
  16779. "type": "string"
  16780. },
  16781. "beforevalue": {
  16782. "description": "变更前",
  16783. "type": "number"
  16784. },
  16785. "biztype": {
  16786. "description": "业务类型 - 1:套保计划 2:现货合同",
  16787. "type": "integer"
  16788. },
  16789. "contracttype": {
  16790. "description": "现货合同类型 - 1:采购 -1:销售",
  16791. "type": "integer"
  16792. },
  16793. "logvalue": {
  16794. "description": "数值",
  16795. "type": "number"
  16796. },
  16797. "operatelogtype": {
  16798. "description": "操作流水类型",
  16799. "type": "integer"
  16800. },
  16801. "operatelogtypedesc": {
  16802. "description": "操作流水类型名称",
  16803. "type": "string"
  16804. },
  16805. "relatedid": {
  16806. "description": "现货合同ID\\套保计划",
  16807. "type": "string"
  16808. },
  16809. "updatetime": {
  16810. "description": "更新时间",
  16811. "type": "string"
  16812. }
  16813. }
  16814. },
  16815. "ermcp.QryUserInfoRsp": {
  16816. "type": "object",
  16817. "properties": {
  16818. "address": {
  16819. "description": "通讯地址",
  16820. "type": "string"
  16821. },
  16822. "attachment1": {
  16823. "description": "附件1",
  16824. "type": "string"
  16825. },
  16826. "audittime": {
  16827. "description": "审核时间",
  16828. "type": "string"
  16829. },
  16830. "cardbackphotourl": {
  16831. "description": "证件反面图片地址",
  16832. "type": "string"
  16833. },
  16834. "cardfrontphotourl": {
  16835. "description": "证件正面图片地址",
  16836. "type": "string"
  16837. },
  16838. "cardnum": {
  16839. "description": "证件号码",
  16840. "type": "string"
  16841. },
  16842. "cardtype": {
  16843. "description": "证件类型",
  16844. "type": "integer"
  16845. },
  16846. "cardtypename": {
  16847. "description": "证件类型名称",
  16848. "type": "string"
  16849. },
  16850. "cityid": {
  16851. "description": "市",
  16852. "type": "integer"
  16853. },
  16854. "contactname": {
  16855. "description": "联系人",
  16856. "type": "string"
  16857. },
  16858. "countryid": {
  16859. "description": "国家",
  16860. "type": "integer"
  16861. },
  16862. "createtime": {
  16863. "description": "创建时间",
  16864. "type": "string"
  16865. },
  16866. "customername": {
  16867. "description": "企业名称",
  16868. "type": "string"
  16869. },
  16870. "districtid": {
  16871. "description": "区域",
  16872. "type": "integer"
  16873. },
  16874. "email": {
  16875. "description": "邮件",
  16876. "type": "string"
  16877. },
  16878. "legalpersonname": {
  16879. "description": "法人姓名(企业)",
  16880. "type": "string"
  16881. },
  16882. "memberuserid": {
  16883. "description": "所属机构ID",
  16884. "type": "integer"
  16885. },
  16886. "mobile": {
  16887. "description": "手机号码",
  16888. "type": "string"
  16889. },
  16890. "modifytime": {
  16891. "description": "修改时间",
  16892. "type": "string"
  16893. },
  16894. "nickname": {
  16895. "description": "昵称",
  16896. "type": "string"
  16897. },
  16898. "provinceid": {
  16899. "description": "省",
  16900. "type": "integer"
  16901. },
  16902. "remark": {
  16903. "description": "备注",
  16904. "type": "string"
  16905. },
  16906. "status": {
  16907. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16908. "type": "integer"
  16909. },
  16910. "statusdesc": {
  16911. "description": "账户状态中文描述",
  16912. "type": "string"
  16913. },
  16914. "taxpayernum": {
  16915. "description": "纳税人识别号",
  16916. "type": "string"
  16917. },
  16918. "telphone": {
  16919. "description": "联系电话",
  16920. "type": "string"
  16921. },
  16922. "userid": {
  16923. "description": "用户ID",
  16924. "type": "integer"
  16925. },
  16926. "userinfotype": {
  16927. "description": "客户类型",
  16928. "type": "string"
  16929. }
  16930. }
  16931. },
  16932. "ermcp.QryWarehouseRsp": {
  16933. "type": "object",
  16934. "properties": {
  16935. "address": {
  16936. "description": "详细地址",
  16937. "type": "string"
  16938. },
  16939. "areauserid": {
  16940. "description": "所属机构",
  16941. "type": "integer"
  16942. },
  16943. "autoid": {
  16944. "description": "自增ID(仓库ID)",
  16945. "type": "integer"
  16946. },
  16947. "cityid": {
  16948. "description": "市",
  16949. "type": "integer"
  16950. },
  16951. "contactname": {
  16952. "description": "联系人",
  16953. "type": "string"
  16954. },
  16955. "contactnum": {
  16956. "description": "联系电话",
  16957. "type": "string"
  16958. },
  16959. "countryid": {
  16960. "description": "国家",
  16961. "type": "integer"
  16962. },
  16963. "createtime": {
  16964. "description": "创建时间",
  16965. "type": "string"
  16966. },
  16967. "districtid": {
  16968. "description": "区",
  16969. "type": "integer"
  16970. },
  16971. "hasvideo": {
  16972. "description": "是否有视频 - 0:无 1:有",
  16973. "type": "integer"
  16974. },
  16975. "provinceid": {
  16976. "description": "省",
  16977. "type": "integer"
  16978. },
  16979. "remark": {
  16980. "description": "审核备注",
  16981. "type": "string"
  16982. },
  16983. "videourl": {
  16984. "description": "视频地址",
  16985. "type": "string"
  16986. },
  16987. "warehousecode": {
  16988. "description": "仓库代码",
  16989. "type": "string"
  16990. },
  16991. "warehousename": {
  16992. "description": "仓库名称",
  16993. "type": "string"
  16994. },
  16995. "warehousestatus": {
  16996. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16997. "type": "integer"
  16998. },
  16999. "warehousetype": {
  17000. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17001. "type": "integer"
  17002. }
  17003. }
  17004. },
  17005. "ermcp.QueryErmcpTradePositionRsp": {
  17006. "type": "object",
  17007. "properties": {
  17008. "agreeunit": {
  17009. "description": "合约单位",
  17010. "type": "number"
  17011. },
  17012. "buyorsell": {
  17013. "description": "方向 - 0:买 1:卖",
  17014. "type": "integer"
  17015. },
  17016. "curpositionqty": {
  17017. "description": "持仓(总仓数量, 期末头寸)",
  17018. "type": "integer"
  17019. },
  17020. "curtdposition": {
  17021. "description": "今仓数量(期末今日头寸)",
  17022. "type": "integer"
  17023. },
  17024. "curtdpositionenabled": {
  17025. "description": "今仓可用",
  17026. "type": "integer"
  17027. },
  17028. "decimalplace": {
  17029. "description": "报价小数位",
  17030. "type": "integer"
  17031. },
  17032. "enableqty": {
  17033. "description": "可用(总仓可用)",
  17034. "type": "integer"
  17035. },
  17036. "exexchangename": {
  17037. "description": "外部交易所名称",
  17038. "type": "string"
  17039. },
  17040. "exexehangecode": {
  17041. "description": "外部交易所代码",
  17042. "type": "string"
  17043. },
  17044. "exexehangeid": {
  17045. "description": "外部交易所id",
  17046. "type": "integer"
  17047. },
  17048. "goodscode": {
  17049. "description": "商品代码(内部)",
  17050. "type": "string"
  17051. },
  17052. "goodsid": {
  17053. "description": "商品ID(自增ID SEQ_GOODS)",
  17054. "type": "integer"
  17055. },
  17056. "goodsname": {
  17057. "description": "商品名称",
  17058. "type": "string"
  17059. },
  17060. "last": {
  17061. "description": "现价",
  17062. "type": "number"
  17063. },
  17064. "marketid": {
  17065. "description": "所属市场ID",
  17066. "type": "integer"
  17067. },
  17068. "openaverageprice": {
  17069. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  17070. "type": "number"
  17071. },
  17072. "opencost": {
  17073. "description": "开仓成本",
  17074. "type": "number"
  17075. },
  17076. "openpl": {
  17077. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17078. "type": "number"
  17079. },
  17080. "outgoodscode": {
  17081. "description": "商品代码(外部)",
  17082. "type": "string"
  17083. },
  17084. "positionaverageprice": {
  17085. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  17086. "type": "number"
  17087. },
  17088. "positioncost": {
  17089. "description": "持仓成本",
  17090. "type": "number"
  17091. },
  17092. "positionpl": {
  17093. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17094. "type": "number"
  17095. },
  17096. "positionplrate": {
  17097. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  17098. "type": "number"
  17099. },
  17100. "usedmargin": {
  17101. "description": "占用保证金",
  17102. "type": "number"
  17103. }
  17104. }
  17105. },
  17106. "ermcp.RealtimeExposurePositionRsp": {
  17107. "type": "object",
  17108. "properties": {
  17109. "agreeunit": {
  17110. "description": "合约单位",
  17111. "type": "string"
  17112. },
  17113. "areauserid": {
  17114. "description": "所属机构id",
  17115. "type": "integer"
  17116. },
  17117. "convertratio": {
  17118. "description": "期货品种系数(折算系数)",
  17119. "type": "number"
  17120. },
  17121. "curqty": {
  17122. "description": "当前持仓",
  17123. "type": "integer"
  17124. },
  17125. "diffhedgeqty": {
  17126. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  17127. "type": "number"
  17128. },
  17129. "diffqty": {
  17130. "description": "持仓变动量=当前持仓-昨日持仓",
  17131. "type": "integer"
  17132. },
  17133. "goodscode": {
  17134. "description": "商品代码",
  17135. "type": "string"
  17136. },
  17137. "goodsid": {
  17138. "description": "商品id",
  17139. "type": "integer"
  17140. },
  17141. "goodsname": {
  17142. "description": "商品名称",
  17143. "type": "string"
  17144. },
  17145. "middlegoodsid": {
  17146. "description": "套保商品id",
  17147. "type": "integer"
  17148. },
  17149. "ydqty": {
  17150. "description": "昨日持仓",
  17151. "type": "integer"
  17152. }
  17153. }
  17154. },
  17155. "ermcp.RealtimeExposureRsp": {
  17156. "type": "object",
  17157. "properties": {
  17158. "AreaUserID": {
  17159. "description": "所属机构",
  17160. "type": "integer"
  17161. },
  17162. "BuyFutureQty": {
  17163. "description": "买入期货数量",
  17164. "type": "number"
  17165. },
  17166. "BuyPlanQty": {
  17167. "description": "采购计划数量",
  17168. "type": "number"
  17169. },
  17170. "BuyPricedQty": {
  17171. "description": "采购合同已定价数量",
  17172. "type": "number"
  17173. },
  17174. "MiddleGoodsCode": {
  17175. "description": "套保品种代码",
  17176. "type": "string"
  17177. },
  17178. "MiddleGoodsHedgeRatio": {
  17179. "description": "套保比例",
  17180. "type": "number"
  17181. },
  17182. "MiddleGoodsID": {
  17183. "description": "套保品种",
  17184. "type": "integer"
  17185. },
  17186. "MiddleGoodsName": {
  17187. "description": "套保品种名称",
  17188. "type": "string"
  17189. },
  17190. "NeedHedgeExposoure": {
  17191. "description": "应套保敞口(套保敞口)",
  17192. "type": "number"
  17193. },
  17194. "NeedHedgeRatio": {
  17195. "description": "应套保敞口比例",
  17196. "type": "number"
  17197. },
  17198. "OriBuyFutureQty": {
  17199. "description": "期初买入期货数量",
  17200. "type": "number"
  17201. },
  17202. "OriBuyPlanQty": {
  17203. "description": "期初采购计划数量",
  17204. "type": "number"
  17205. },
  17206. "OriBuyPricedQty": {
  17207. "description": "期初采购合同已定价数量",
  17208. "type": "number"
  17209. },
  17210. "OriSellFutureQty": {
  17211. "description": "期初卖出期货数量",
  17212. "type": "number"
  17213. },
  17214. "OriSellPlanQty": {
  17215. "description": "期初销售计划数量",
  17216. "type": "number"
  17217. },
  17218. "OriSellPricedQty": {
  17219. "description": "期初销售合同已定价数量",
  17220. "type": "number"
  17221. },
  17222. "OriTotalSpotQty": {
  17223. "description": "期初现货总量",
  17224. "type": "number"
  17225. },
  17226. "SellFutureQty": {
  17227. "description": "卖出期货数量",
  17228. "type": "number"
  17229. },
  17230. "SellPlanQty": {
  17231. "description": "销售计划数量",
  17232. "type": "number"
  17233. },
  17234. "SellPricedQty": {
  17235. "description": "销售合同已定价数量",
  17236. "type": "number"
  17237. },
  17238. "TotalExposure": {
  17239. "description": "总敞口 平安:净敞口",
  17240. "type": "number"
  17241. },
  17242. "TotalFutureQty": {
  17243. "description": "期货总量 平安:保值净持仓量",
  17244. "type": "number"
  17245. },
  17246. "TotalHedgeRatio": {
  17247. "description": "敞口比例",
  17248. "type": "number"
  17249. },
  17250. "TotalNeedHedgeQty": {
  17251. "description": "应套保总量(现货应套保总量)",
  17252. "type": "number"
  17253. },
  17254. "TotalSpotQty": {
  17255. "description": "现货总量 平安:采销定价净值",
  17256. "type": "number"
  17257. },
  17258. "arbitrageqty": {
  17259. "description": "套利量",
  17260. "type": "number"
  17261. },
  17262. "diffArbitrageQty": {
  17263. "description": "套利变动量",
  17264. "type": "number"
  17265. },
  17266. "diffExposoureQty": {
  17267. "description": "变动量(套保敞口)",
  17268. "type": "number"
  17269. },
  17270. "diffFutuQty": {
  17271. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  17272. "type": "number"
  17273. },
  17274. "diffHedgeQty": {
  17275. "description": "套保变动量",
  17276. "type": "number"
  17277. },
  17278. "diffQty": {
  17279. "description": "变动量(总敞口) 平安:净敞口今日变动",
  17280. "type": "number"
  17281. },
  17282. "diffSpotHedgeQty": {
  17283. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  17284. "type": "number"
  17285. },
  17286. "diffSpotQty": {
  17287. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  17288. "type": "number"
  17289. },
  17290. "enumdicname": {
  17291. "description": "单位名称",
  17292. "type": "string"
  17293. },
  17294. "hedgeqty": {
  17295. "description": "套保量",
  17296. "type": "number"
  17297. },
  17298. "needarbitrageqty": {
  17299. "description": "应套利量",
  17300. "type": "number"
  17301. },
  17302. "needarbitrageratio": {
  17303. "description": "套利比例",
  17304. "type": "number"
  17305. },
  17306. "needhedgeqty": {
  17307. "description": "应套保量",
  17308. "type": "number"
  17309. },
  17310. "oriarbitrageqty": {
  17311. "description": "期初套利量",
  17312. "type": "number"
  17313. },
  17314. "orihedgeqty": {
  17315. "description": "期初套保量",
  17316. "type": "number"
  17317. },
  17318. "orineedhedgeexposoure": {
  17319. "description": "期初套保敞口",
  17320. "type": "number"
  17321. },
  17322. "oritotalexposure": {
  17323. "description": "期初总敞口",
  17324. "type": "number"
  17325. },
  17326. "oritotalfutureqty": {
  17327. "description": "期初期货总量",
  17328. "type": "number"
  17329. },
  17330. "oritotalneedhedgeqty": {
  17331. "description": "期初现货应套保量",
  17332. "type": "number"
  17333. }
  17334. }
  17335. },
  17336. "erms2.QueryArbitrageStrategyRsp": {
  17337. "type": "object",
  17338. "required": [
  17339. "asapplyid"
  17340. ],
  17341. "properties": {
  17342. "applybasis": {
  17343. "description": "申请基差",
  17344. "type": "number"
  17345. },
  17346. "asapplyid": {
  17347. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  17348. "type": "string"
  17349. },
  17350. "asname": {
  17351. "description": "策略名称",
  17352. "type": "string"
  17353. },
  17354. "asno": {
  17355. "description": "策略编号",
  17356. "type": "string"
  17357. },
  17358. "basischangepl": {
  17359. "description": "基差变动损益[结算更新]",
  17360. "type": "number"
  17361. },
  17362. "biztype": {
  17363. "description": "业务类型 - 1:正向套利 -1:反向套利",
  17364. "type": "integer"
  17365. },
  17366. "closetradedate": {
  17367. "description": "完结交易日(yyyyMMdd)",
  17368. "type": "string"
  17369. },
  17370. "curbasis": {
  17371. "description": "当前基差[结算更新]",
  17372. "type": "number"
  17373. },
  17374. "deliverygoodsid": {
  17375. "description": "现货品种ID",
  17376. "type": "integer"
  17377. },
  17378. "futureavgprice": {
  17379. "description": "期货建仓均价",
  17380. "type": "number"
  17381. },
  17382. "futurecloseamount": {
  17383. "description": "期货平仓金额",
  17384. "type": "number"
  17385. },
  17386. "futurecloseqty": {
  17387. "description": "期货平仓数量",
  17388. "type": "number"
  17389. },
  17390. "futureopenamount": {
  17391. "description": "期货开仓金额",
  17392. "type": "number"
  17393. },
  17394. "futureopenqty": {
  17395. "description": "期货开仓数量",
  17396. "type": "number"
  17397. },
  17398. "futurepl": {
  17399. "description": "期货总盈亏[结算更新]",
  17400. "type": "number"
  17401. },
  17402. "futureqty": {
  17403. "description": "期货持仓数量",
  17404. "type": "number"
  17405. },
  17406. "futurequote": {
  17407. "description": "期货额度",
  17408. "type": "number"
  17409. },
  17410. "goodsgroupid": {
  17411. "description": "期货品种ID",
  17412. "type": "integer"
  17413. },
  17414. "marketid": {
  17415. "description": "市场ID",
  17416. "type": "integer"
  17417. },
  17418. "netexposure": {
  17419. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  17420. "type": "number"
  17421. },
  17422. "netexposurepl": {
  17423. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  17424. "type": "number"
  17425. },
  17426. "netexposurerate": {
  17427. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  17428. "type": "number"
  17429. },
  17430. "openbasis": {
  17431. "description": "建仓基差",
  17432. "type": "number"
  17433. },
  17434. "pricedspotqty": {
  17435. "description": "已定价现货数量",
  17436. "type": "number"
  17437. },
  17438. "pricedspotqtynotax": {
  17439. "description": "已定价现货不含税数量",
  17440. "type": "number"
  17441. },
  17442. "remark": {
  17443. "description": "备注",
  17444. "type": "string"
  17445. },
  17446. "spotavgprice": {
  17447. "description": "现货均价",
  17448. "type": "number"
  17449. },
  17450. "spotbuyamount": {
  17451. "description": "现货采购金额",
  17452. "type": "number"
  17453. },
  17454. "spotbuyqty": {
  17455. "description": "现货采购数量",
  17456. "type": "number"
  17457. },
  17458. "spotpl": {
  17459. "description": "现货总盈亏[结算更新]",
  17460. "type": "number"
  17461. },
  17462. "spotquota": {
  17463. "description": "现货额度",
  17464. "type": "number"
  17465. },
  17466. "spotsellamount": {
  17467. "description": "现货销售金额",
  17468. "type": "number"
  17469. },
  17470. "spotsellqty": {
  17471. "description": "现货销售数量",
  17472. "type": "number"
  17473. },
  17474. "spotusedquota": {
  17475. "description": "现货占用资金",
  17476. "type": "number"
  17477. },
  17478. "strategystatus": {
  17479. "description": "策略状态 - 0:未结束 1:已结束",
  17480. "type": "integer"
  17481. },
  17482. "totalpl": {
  17483. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  17484. "type": "number"
  17485. },
  17486. "tradedate": {
  17487. "description": "交易日(yyyyMMdd)",
  17488. "type": "string"
  17489. },
  17490. "updatetime": {
  17491. "description": "更新时间",
  17492. "type": "string"
  17493. },
  17494. "usedquota": {
  17495. "description": "已占用资金",
  17496. "type": "number"
  17497. },
  17498. "userid": {
  17499. "description": "所属机构",
  17500. "type": "integer"
  17501. }
  17502. }
  17503. },
  17504. "erms2.QueryInnerTradeDetailRsp": {
  17505. "type": "object",
  17506. "required": [
  17507. "asapplyid",
  17508. "buyorsell",
  17509. "goodscode",
  17510. "goodsgroupid",
  17511. "goodsgroupname",
  17512. "goodsname",
  17513. "tradeid"
  17514. ],
  17515. "properties": {
  17516. "accountid": {
  17517. "description": "账号ID",
  17518. "type": "integer"
  17519. },
  17520. "agreeunit": {
  17521. "description": "合约单位",
  17522. "type": "number"
  17523. },
  17524. "asapplyid": {
  17525. "description": "策略申请ID",
  17526. "type": "integer"
  17527. },
  17528. "asname": {
  17529. "description": "策略名称",
  17530. "type": "string"
  17531. },
  17532. "asno": {
  17533. "description": "策略编号",
  17534. "type": "string"
  17535. },
  17536. "buyorsell": {
  17537. "description": "方向 - 0:买 1:卖",
  17538. "type": "integer"
  17539. },
  17540. "channelbuildtype": {
  17541. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  17542. "type": "integer"
  17543. },
  17544. "closetype": {
  17545. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  17546. "type": "integer"
  17547. },
  17548. "decimalplace": {
  17549. "description": "报价小数位",
  17550. "type": "integer"
  17551. },
  17552. "detailtype": {
  17553. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  17554. "type": "integer"
  17555. },
  17556. "exexchangecode": {
  17557. "description": "外部交易所代码",
  17558. "type": "string"
  17559. },
  17560. "exexchangename": {
  17561. "description": "外部交易所名称",
  17562. "type": "string"
  17563. },
  17564. "goodscode": {
  17565. "description": "商品代码(合约)",
  17566. "type": "string"
  17567. },
  17568. "goodsgroupid": {
  17569. "description": "商品组ID(品种ID)",
  17570. "type": "integer"
  17571. },
  17572. "goodsgroupname": {
  17573. "description": "商品组名称(品种)",
  17574. "type": "string"
  17575. },
  17576. "goodsid": {
  17577. "description": "商品ID",
  17578. "type": "integer"
  17579. },
  17580. "goodsname": {
  17581. "description": "商品名称(合约)",
  17582. "type": "string"
  17583. },
  17584. "goodunit": {
  17585. "description": "报价单位",
  17586. "type": "string"
  17587. },
  17588. "marketid": {
  17589. "description": "市场ID",
  17590. "type": "integer"
  17591. },
  17592. "orderid": {
  17593. "description": "委托单号",
  17594. "type": "string"
  17595. },
  17596. "outgoodscode": {
  17597. "description": "商品代码(外部)",
  17598. "type": "string"
  17599. },
  17600. "relatedouttradeid": {
  17601. "description": "关联外部成交单ID",
  17602. "type": "string"
  17603. },
  17604. "remark": {
  17605. "description": "备注",
  17606. "type": "string"
  17607. },
  17608. "spotcontractid": {
  17609. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  17610. "type": "integer"
  17611. },
  17612. "spotcontractno": {
  17613. "description": "现货合同编号",
  17614. "type": "string"
  17615. },
  17616. "tradeid": {
  17617. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17618. "type": "string"
  17619. },
  17620. "tradeprice": {
  17621. "description": "成交价格",
  17622. "type": "number"
  17623. },
  17624. "tradeqty": {
  17625. "description": "成交数量",
  17626. "type": "integer"
  17627. },
  17628. "tradetime": {
  17629. "description": "成交时间",
  17630. "type": "string"
  17631. },
  17632. "updatetime": {
  17633. "description": "更新时间",
  17634. "type": "string"
  17635. }
  17636. }
  17637. },
  17638. "erms2.QuerySpotContractRsp": {
  17639. "type": "object",
  17640. "required": [
  17641. "spotcontractid"
  17642. ],
  17643. "properties": {
  17644. "accountid": {
  17645. "description": "资金账户ID",
  17646. "type": "integer"
  17647. },
  17648. "areauserid": {
  17649. "description": "所属机构",
  17650. "type": "integer"
  17651. },
  17652. "closedate": {
  17653. "description": "终止日期",
  17654. "type": "string"
  17655. },
  17656. "closeremark": {
  17657. "description": "结束备注",
  17658. "type": "string"
  17659. },
  17660. "closetradedate": {
  17661. "description": "完结交易日(yyyyMMdd)",
  17662. "type": "string"
  17663. },
  17664. "closetype": {
  17665. "description": "终止类型 - 1:违约 2:提前终止",
  17666. "type": "integer"
  17667. },
  17668. "contractamount": {
  17669. "description": "合同金额",
  17670. "type": "number"
  17671. },
  17672. "contractattachment": {
  17673. "description": "合同附件",
  17674. "type": "string"
  17675. },
  17676. "contractno": {
  17677. "description": "现货合同编号",
  17678. "type": "string"
  17679. },
  17680. "contractqty": {
  17681. "description": "合同数量(数值) (用于计算)",
  17682. "type": "number"
  17683. },
  17684. "contractqtychar": {
  17685. "description": "合同数量\\已订价数量 (用于显示)",
  17686. "type": "string"
  17687. },
  17688. "contractstatus": {
  17689. "description": "合同状态 - 0:未结束 1:已结束",
  17690. "type": "integer"
  17691. },
  17692. "contracttype": {
  17693. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  17694. "type": "integer"
  17695. },
  17696. "customeraccountid": {
  17697. "description": "客户资金账户ID",
  17698. "type": "integer"
  17699. },
  17700. "customeruserid": {
  17701. "description": "客户ID",
  17702. "type": "integer"
  17703. },
  17704. "deliverygoodsdesc": {
  17705. "description": "品种说明",
  17706. "type": "string"
  17707. },
  17708. "deliverygoodsid": {
  17709. "description": "现货品种ID",
  17710. "type": "integer"
  17711. },
  17712. "handlestatus": {
  17713. "description": "处理状态",
  17714. "type": "integer"
  17715. },
  17716. "invoiceatt": {
  17717. "description": "发票附件",
  17718. "type": "string"
  17719. },
  17720. "invoicedatetime": {
  17721. "description": "开收票更新时间",
  17722. "type": "string"
  17723. },
  17724. "invoiceopentime": {
  17725. "description": "开票时间",
  17726. "type": "string"
  17727. },
  17728. "invoiceremark": {
  17729. "description": "发票备注",
  17730. "type": "string"
  17731. },
  17732. "invoicestatus": {
  17733. "description": "开收票状态 - 0:未开票 1:已开票",
  17734. "type": "integer"
  17735. },
  17736. "lastdate": {
  17737. "description": "交货时间",
  17738. "type": "string"
  17739. },
  17740. "marketid": {
  17741. "description": "市场ID",
  17742. "type": "integer"
  17743. },
  17744. "paydatetime": {
  17745. "description": "收付款更新时间",
  17746. "type": "string"
  17747. },
  17748. "payremark": {
  17749. "description": "收付款备注",
  17750. "type": "string"
  17751. },
  17752. "paystatus": {
  17753. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  17754. "type": "integer"
  17755. },
  17756. "positionqty": {
  17757. "description": "头寸数量 - 合同数量去小数部分",
  17758. "type": "integer"
  17759. },
  17760. "producttype": {
  17761. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17762. "type": "integer"
  17763. },
  17764. "relatedqty": {
  17765. "description": "已关联数量",
  17766. "type": "number"
  17767. },
  17768. "relatedstatus": {
  17769. "description": "关联完结状态 - 0:未结束 1:已结束",
  17770. "type": "integer"
  17771. },
  17772. "remark": {
  17773. "description": "备注",
  17774. "type": "string"
  17775. },
  17776. "signdate": {
  17777. "description": "签订日期",
  17778. "type": "string"
  17779. },
  17780. "spotcontractid": {
  17781. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  17782. "type": "string"
  17783. },
  17784. "spotdatetime": {
  17785. "description": "收发货更新时间",
  17786. "type": "string"
  17787. },
  17788. "spotprice": {
  17789. "description": "价格",
  17790. "type": "number"
  17791. },
  17792. "spotremark": {
  17793. "description": "收发货备注",
  17794. "type": "string"
  17795. },
  17796. "spotstatus": {
  17797. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  17798. "type": "integer"
  17799. },
  17800. "tradedate": {
  17801. "description": "交易日(yyyyMMdd)",
  17802. "type": "string"
  17803. },
  17804. "userid": {
  17805. "description": "业务员用户ID",
  17806. "type": "integer"
  17807. },
  17808. "warehouseid": {
  17809. "description": "仓库ID",
  17810. "type": "integer"
  17811. },
  17812. "wrfactortypeid": {
  17813. "description": "仓单要素类型ID",
  17814. "type": "integer"
  17815. },
  17816. "wrstandardid": {
  17817. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17818. "type": "integer"
  17819. }
  17820. }
  17821. },
  17822. "erms3.AddErms2ASApplyReq": {
  17823. "type": "object",
  17824. "required": [
  17825. "asapplyid"
  17826. ],
  17827. "properties": {
  17828. "applybasis": {
  17829. "description": "申请基差",
  17830. "type": "number"
  17831. },
  17832. "applystatus": {
  17833. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17834. "type": "integer"
  17835. },
  17836. "asapplyid": {
  17837. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  17838. "type": "integer"
  17839. },
  17840. "asname": {
  17841. "description": "策略名称",
  17842. "type": "string"
  17843. },
  17844. "asno": {
  17845. "description": "策略编号",
  17846. "type": "string"
  17847. },
  17848. "auditid": {
  17849. "description": "审核人",
  17850. "type": "integer"
  17851. },
  17852. "auditremark": {
  17853. "description": "审核备注",
  17854. "type": "string"
  17855. },
  17856. "audittime": {
  17857. "description": "审核时间",
  17858. "type": "string"
  17859. },
  17860. "biztype": {
  17861. "description": "业务类型 - 1:正向套利 2:反向套利",
  17862. "type": "integer"
  17863. },
  17864. "createtime": {
  17865. "description": "创建时间",
  17866. "type": "string"
  17867. },
  17868. "creatorid": {
  17869. "description": "创建人",
  17870. "type": "integer"
  17871. },
  17872. "deliverygoodsid": {
  17873. "description": "现货品种ID",
  17874. "type": "integer"
  17875. },
  17876. "futurequote": {
  17877. "description": "期货额度",
  17878. "type": "number"
  17879. },
  17880. "goodsgroupid": {
  17881. "description": "期货品种ID",
  17882. "type": "integer"
  17883. },
  17884. "marketid": {
  17885. "description": "市场ID",
  17886. "type": "integer"
  17887. },
  17888. "remark": {
  17889. "description": "备注",
  17890. "type": "string"
  17891. },
  17892. "spotquota": {
  17893. "description": "现货额度",
  17894. "type": "number"
  17895. },
  17896. "tradedate": {
  17897. "description": "交易日(yyyyMMdd)",
  17898. "type": "string"
  17899. },
  17900. "userid": {
  17901. "description": "所属机构",
  17902. "type": "integer"
  17903. }
  17904. }
  17905. },
  17906. "erms3.AddErms2SpotTradeApplyReq": {
  17907. "type": "object",
  17908. "required": [
  17909. "spottradeid"
  17910. ],
  17911. "properties": {
  17912. "applyjsondetail": {
  17913. "description": "申请明细(JSON)",
  17914. "type": "string"
  17915. },
  17916. "applystatus": {
  17917. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17918. "type": "integer"
  17919. },
  17920. "areauserid": {
  17921. "description": "所属机构",
  17922. "type": "integer"
  17923. },
  17924. "auditid": {
  17925. "description": "审核人",
  17926. "type": "integer"
  17927. },
  17928. "auditremark": {
  17929. "description": "审核备注",
  17930. "type": "string"
  17931. },
  17932. "audittime": {
  17933. "description": "审核时间",
  17934. "type": "string"
  17935. },
  17936. "createtime": {
  17937. "description": "创建时间",
  17938. "type": "string"
  17939. },
  17940. "creatorid": {
  17941. "description": "创建人",
  17942. "type": "integer"
  17943. },
  17944. "deliverygoodsid": {
  17945. "description": "现货品种ID",
  17946. "type": "integer"
  17947. },
  17948. "futureaccountid": {
  17949. "description": "期货资金账户",
  17950. "type": "integer"
  17951. },
  17952. "goodsgroupid": {
  17953. "description": "期货品种",
  17954. "type": "integer"
  17955. },
  17956. "marketid": {
  17957. "description": "市场ID",
  17958. "type": "integer"
  17959. },
  17960. "remark": {
  17961. "description": "备注",
  17962. "type": "string"
  17963. },
  17964. "spotaccountid": {
  17965. "description": "现货资金账户",
  17966. "type": "integer"
  17967. },
  17968. "spottradeid": {
  17969. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  17970. "type": "integer"
  17971. },
  17972. "spottradename": {
  17973. "description": "业务名称",
  17974. "type": "string"
  17975. },
  17976. "spottradeno": {
  17977. "description": "业务编号",
  17978. "type": "string"
  17979. },
  17980. "tradedate": {
  17981. "description": "交易日(yyyyMMdd)",
  17982. "type": "string"
  17983. },
  17984. "wrstandardid": {
  17985. "description": "仓单标准ID",
  17986. "type": "integer"
  17987. }
  17988. }
  17989. },
  17990. "erms3.AddSpotContractApplyReq": {
  17991. "type": "object",
  17992. "required": [
  17993. "accountid",
  17994. "areauserid",
  17995. "contractno",
  17996. "contracttype",
  17997. "customeraccountid",
  17998. "customeruserid",
  17999. "details",
  18000. "orimargin",
  18001. "signdate"
  18002. ],
  18003. "properties": {
  18004. "accountid": {
  18005. "description": "资金账户ID",
  18006. "type": "integer"
  18007. },
  18008. "areauserid": {
  18009. "description": "所属机构",
  18010. "type": "integer"
  18011. },
  18012. "contractattachment": {
  18013. "description": "合同附件",
  18014. "type": "string"
  18015. },
  18016. "contractno": {
  18017. "description": "现货合同编号",
  18018. "type": "string"
  18019. },
  18020. "contracttype": {
  18021. "description": "现货合同类型 - 1:采购 -1:销售",
  18022. "type": "integer"
  18023. },
  18024. "creatorid": {
  18025. "description": "申请人",
  18026. "type": "integer"
  18027. },
  18028. "customeraccountid": {
  18029. "description": "客户资金账户ID",
  18030. "type": "integer"
  18031. },
  18032. "customeruserid": {
  18033. "description": "客户ID",
  18034. "type": "integer"
  18035. },
  18036. "details": {
  18037. "description": "明细",
  18038. "type": "array",
  18039. "items": {
  18040. "$ref": "#/definitions/erms3.SoptContractDetail"
  18041. }
  18042. },
  18043. "orimargin": {
  18044. "description": "初始保证金",
  18045. "type": "number"
  18046. },
  18047. "remark": {
  18048. "description": "备注",
  18049. "type": "string"
  18050. },
  18051. "signdate": {
  18052. "description": "签订日期",
  18053. "type": "string"
  18054. }
  18055. }
  18056. },
  18057. "erms3.AddSpotContractApplyRsp": {
  18058. "type": "object",
  18059. "required": [
  18060. "contractno"
  18061. ],
  18062. "properties": {
  18063. "contractno": {
  18064. "description": "现货合同编号",
  18065. "type": "string"
  18066. },
  18067. "spotcontractid": {
  18068. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  18069. "type": "integer"
  18070. }
  18071. }
  18072. },
  18073. "erms3.AddUserInfoApplyReq": {
  18074. "type": "object",
  18075. "required": [
  18076. "userid"
  18077. ],
  18078. "properties": {
  18079. "accountid": {
  18080. "description": "交易系统帐号Id (加密存储)",
  18081. "type": "integer"
  18082. },
  18083. "areacode": {
  18084. "description": "机构代码",
  18085. "type": "string"
  18086. },
  18087. "areaid": {
  18088. "description": "机构Id",
  18089. "type": "integer"
  18090. },
  18091. "attachment1": {
  18092. "description": "附件1",
  18093. "type": "string"
  18094. },
  18095. "attachment2": {
  18096. "description": "附件2",
  18097. "type": "string"
  18098. },
  18099. "attachment3": {
  18100. "description": "附件3",
  18101. "type": "string"
  18102. },
  18103. "attachment4": {
  18104. "description": "附件4",
  18105. "type": "string"
  18106. },
  18107. "attachment5": {
  18108. "description": "附件5",
  18109. "type": "string"
  18110. },
  18111. "auditedby": {
  18112. "description": "审核人",
  18113. "type": "string"
  18114. },
  18115. "auditime": {
  18116. "description": "审核时间",
  18117. "type": "string"
  18118. },
  18119. "auditsrc": {
  18120. "description": "审核来源 - 1:管理端 2:终端",
  18121. "type": "integer"
  18122. },
  18123. "bankaccount": {
  18124. "description": "银行帐号 (加密存储)",
  18125. "type": "string"
  18126. },
  18127. "bankaccountname": {
  18128. "description": "收款人名称",
  18129. "type": "string"
  18130. },
  18131. "bankcardbackphotourl": {
  18132. "description": "银行卡背面照地址",
  18133. "type": "string"
  18134. },
  18135. "bankcardfrontphotourl": {
  18136. "description": "银行卡正面照地址",
  18137. "type": "string"
  18138. },
  18139. "bankid": {
  18140. "description": "银行编码",
  18141. "type": "string"
  18142. },
  18143. "bankname": {
  18144. "description": "银行名称",
  18145. "type": "string"
  18146. },
  18147. "bankpictureurl": {
  18148. "description": "银行卡正面地址",
  18149. "type": "string"
  18150. },
  18151. "biznature": {
  18152. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18153. "type": "integer"
  18154. },
  18155. "bizscope": {
  18156. "description": "企业经营范围(企业)",
  18157. "type": "string"
  18158. },
  18159. "biztype": {
  18160. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18161. "type": "integer"
  18162. },
  18163. "brokerid": {
  18164. "description": "经纪人ID(加密存储)",
  18165. "type": "string"
  18166. },
  18167. "cardaddress": {
  18168. "description": "证件地址 (加密存储)",
  18169. "type": "string"
  18170. },
  18171. "cardbackphotourl": {
  18172. "description": "背面证件照地址",
  18173. "type": "string"
  18174. },
  18175. "cardfrontphotourl": {
  18176. "description": "正面证件照地址",
  18177. "type": "string"
  18178. },
  18179. "cardnum": {
  18180. "description": "证件号码 (加密存储)",
  18181. "type": "string"
  18182. },
  18183. "cardtype": {
  18184. "description": "证件类型",
  18185. "type": "integer"
  18186. },
  18187. "cityid": {
  18188. "description": "市",
  18189. "type": "integer"
  18190. },
  18191. "company": {
  18192. "description": "公司(个人)",
  18193. "type": "string"
  18194. },
  18195. "contactcardbackphotourl": {
  18196. "description": "联系人证件背面图片地址",
  18197. "type": "string"
  18198. },
  18199. "contactcardfrontphotourl": {
  18200. "description": "联系人证件正面图片地址",
  18201. "type": "string"
  18202. },
  18203. "contactname": {
  18204. "description": "联系人",
  18205. "type": "string"
  18206. },
  18207. "countryid": {
  18208. "description": "国家",
  18209. "type": "integer"
  18210. },
  18211. "createtime": {
  18212. "description": "开户申请时间",
  18213. "type": "string"
  18214. },
  18215. "cusbankid": {
  18216. "description": "签约类型",
  18217. "type": "string"
  18218. },
  18219. "cusbankname": {
  18220. "description": "签约类型名称",
  18221. "type": "string"
  18222. },
  18223. "customername": {
  18224. "description": "客户名称(企业名称)",
  18225. "type": "string"
  18226. },
  18227. "districtid": {
  18228. "description": "地区",
  18229. "type": "integer"
  18230. },
  18231. "email": {
  18232. "description": "Email地址(加密存储)",
  18233. "type": "string"
  18234. },
  18235. "halfbodyphotourl": {
  18236. "description": "半身照地址",
  18237. "type": "string"
  18238. },
  18239. "headurl": {
  18240. "description": "头像地址",
  18241. "type": "string"
  18242. },
  18243. "ipaddress": {
  18244. "description": "IP地址",
  18245. "type": "string"
  18246. },
  18247. "isvalidate": {
  18248. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18249. "type": "string"
  18250. },
  18251. "legalcardbackphotourl": {
  18252. "description": "法人身份证背面照地址",
  18253. "type": "string"
  18254. },
  18255. "legalcardfrontphotourl": {
  18256. "description": "法人身份证正面照地址",
  18257. "type": "string"
  18258. },
  18259. "legalpersonname": {
  18260. "description": "法人姓名(企业)",
  18261. "type": "string"
  18262. },
  18263. "logincode": {
  18264. "description": "登录帐号 (加密存储)",
  18265. "type": "string"
  18266. },
  18267. "memberareaid": {
  18268. "description": "所属会员ID",
  18269. "type": "integer"
  18270. },
  18271. "mobile2": {
  18272. "description": "手机号码[明文-尚志]",
  18273. "type": "string"
  18274. },
  18275. "mobilephone": {
  18276. "description": "手机号码 (加密存储)",
  18277. "type": "string"
  18278. },
  18279. "modifiedby": {
  18280. "description": "修改人帐号",
  18281. "type": "integer"
  18282. },
  18283. "modifiedtime": {
  18284. "description": "修改时间",
  18285. "type": "string"
  18286. },
  18287. "nickname": {
  18288. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18289. "type": "string"
  18290. },
  18291. "openmode": {
  18292. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18293. "type": "integer"
  18294. },
  18295. "otherurl": {
  18296. "description": "其它图片地址[使用分号分隔]",
  18297. "type": "string"
  18298. },
  18299. "postalcode": {
  18300. "description": "邮政编码",
  18301. "type": "string"
  18302. },
  18303. "provinceid": {
  18304. "description": "省",
  18305. "type": "integer"
  18306. },
  18307. "proxystatementurl": {
  18308. "description": "授权委托书",
  18309. "type": "string"
  18310. },
  18311. "qq": {
  18312. "description": "QQ(加密存储",
  18313. "type": "string"
  18314. },
  18315. "referral": {
  18316. "description": "推荐人编码",
  18317. "type": "string"
  18318. },
  18319. "remark": {
  18320. "description": "备注",
  18321. "type": "string"
  18322. },
  18323. "removebeforestatus": {
  18324. "description": "REMOVEBEFORESTATUS",
  18325. "type": "integer"
  18326. },
  18327. "sex": {
  18328. "description": "性别 - 0:女 1:男",
  18329. "type": "integer"
  18330. },
  18331. "signedstatus": {
  18332. "description": "账户一号签签约状态",
  18333. "type": "integer"
  18334. },
  18335. "signpdfurl": {
  18336. "description": "签约pdf文件",
  18337. "type": "string"
  18338. },
  18339. "subbranch": {
  18340. "description": "开户支行",
  18341. "type": "string"
  18342. },
  18343. "taxpayernum": {
  18344. "description": "纳税人识别号",
  18345. "type": "string"
  18346. },
  18347. "telphone": {
  18348. "description": "联系电话(加密存储)",
  18349. "type": "string"
  18350. },
  18351. "userid": {
  18352. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18353. "type": "integer"
  18354. },
  18355. "userinfotype": {
  18356. "description": "用户信息类型 - 1:个人 2:企业",
  18357. "type": "integer"
  18358. },
  18359. "username": {
  18360. "description": "用户姓名",
  18361. "type": "string"
  18362. },
  18363. "userstate": {
  18364. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18365. "type": "integer"
  18366. },
  18367. "usertype": {
  18368. "description": "用户类型 - 1:投资者 2:机构",
  18369. "type": "integer"
  18370. },
  18371. "videourl": {
  18372. "description": "视频地址",
  18373. "type": "string"
  18374. },
  18375. "wechat": {
  18376. "description": "微信号 (加密存储)",
  18377. "type": "string"
  18378. }
  18379. }
  18380. },
  18381. "erms3.CustomerInfo": {
  18382. "type": "object",
  18383. "required": [
  18384. "userid"
  18385. ],
  18386. "properties": {
  18387. "accountids": {
  18388. "description": "资金账户ID列表",
  18389. "type": "array",
  18390. "items": {
  18391. "type": "integer"
  18392. }
  18393. },
  18394. "customername": {
  18395. "description": "名称(企业名称)",
  18396. "type": "string"
  18397. },
  18398. "mobile": {
  18399. "description": "手机号码",
  18400. "type": "string"
  18401. },
  18402. "userid": {
  18403. "description": "用户ID",
  18404. "type": "integer"
  18405. }
  18406. }
  18407. },
  18408. "erms3.ModifyUserInfoApplyReq": {
  18409. "type": "object",
  18410. "required": [
  18411. "userid"
  18412. ],
  18413. "properties": {
  18414. "accountid": {
  18415. "description": "交易系统帐号Id (加密存储)",
  18416. "type": "integer"
  18417. },
  18418. "areacode": {
  18419. "description": "机构代码",
  18420. "type": "string"
  18421. },
  18422. "areaid": {
  18423. "description": "机构Id",
  18424. "type": "integer"
  18425. },
  18426. "attachment1": {
  18427. "description": "附件1",
  18428. "type": "string"
  18429. },
  18430. "attachment2": {
  18431. "description": "附件2",
  18432. "type": "string"
  18433. },
  18434. "attachment3": {
  18435. "description": "附件3",
  18436. "type": "string"
  18437. },
  18438. "attachment4": {
  18439. "description": "附件4",
  18440. "type": "string"
  18441. },
  18442. "attachment5": {
  18443. "description": "附件5",
  18444. "type": "string"
  18445. },
  18446. "auditedby": {
  18447. "description": "审核人",
  18448. "type": "string"
  18449. },
  18450. "auditime": {
  18451. "description": "审核时间",
  18452. "type": "string"
  18453. },
  18454. "auditsrc": {
  18455. "description": "审核来源 - 1:管理端 2:终端",
  18456. "type": "integer"
  18457. },
  18458. "bankaccount": {
  18459. "description": "银行帐号 (加密存储)",
  18460. "type": "string"
  18461. },
  18462. "bankaccountname": {
  18463. "description": "收款人名称",
  18464. "type": "string"
  18465. },
  18466. "bankcardbackphotourl": {
  18467. "description": "银行卡背面照地址",
  18468. "type": "string"
  18469. },
  18470. "bankcardfrontphotourl": {
  18471. "description": "银行卡正面照地址",
  18472. "type": "string"
  18473. },
  18474. "bankid": {
  18475. "description": "银行编码",
  18476. "type": "string"
  18477. },
  18478. "bankname": {
  18479. "description": "银行名称",
  18480. "type": "string"
  18481. },
  18482. "bankpictureurl": {
  18483. "description": "银行卡正面地址",
  18484. "type": "string"
  18485. },
  18486. "biznature": {
  18487. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18488. "type": "integer"
  18489. },
  18490. "bizscope": {
  18491. "description": "企业经营范围(企业)",
  18492. "type": "string"
  18493. },
  18494. "biztype": {
  18495. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18496. "type": "integer"
  18497. },
  18498. "brokerid": {
  18499. "description": "经纪人ID(加密存储)",
  18500. "type": "string"
  18501. },
  18502. "cardaddress": {
  18503. "description": "证件地址 (加密存储)",
  18504. "type": "string"
  18505. },
  18506. "cardbackphotourl": {
  18507. "description": "背面证件照地址",
  18508. "type": "string"
  18509. },
  18510. "cardfrontphotourl": {
  18511. "description": "正面证件照地址",
  18512. "type": "string"
  18513. },
  18514. "cardnum": {
  18515. "description": "证件号码 (加密存储)",
  18516. "type": "string"
  18517. },
  18518. "cardtype": {
  18519. "description": "证件类型",
  18520. "type": "integer"
  18521. },
  18522. "cityid": {
  18523. "description": "市",
  18524. "type": "integer"
  18525. },
  18526. "company": {
  18527. "description": "公司(个人)",
  18528. "type": "string"
  18529. },
  18530. "contactcardbackphotourl": {
  18531. "description": "联系人证件背面图片地址",
  18532. "type": "string"
  18533. },
  18534. "contactcardfrontphotourl": {
  18535. "description": "联系人证件正面图片地址",
  18536. "type": "string"
  18537. },
  18538. "contactname": {
  18539. "description": "联系人",
  18540. "type": "string"
  18541. },
  18542. "countryid": {
  18543. "description": "国家",
  18544. "type": "integer"
  18545. },
  18546. "createtime": {
  18547. "description": "开户申请时间",
  18548. "type": "string"
  18549. },
  18550. "cusbankid": {
  18551. "description": "签约类型",
  18552. "type": "string"
  18553. },
  18554. "cusbankname": {
  18555. "description": "签约类型名称",
  18556. "type": "string"
  18557. },
  18558. "customername": {
  18559. "description": "客户名称(企业名称)",
  18560. "type": "string"
  18561. },
  18562. "districtid": {
  18563. "description": "地区",
  18564. "type": "integer"
  18565. },
  18566. "email": {
  18567. "description": "Email地址(加密存储)",
  18568. "type": "string"
  18569. },
  18570. "halfbodyphotourl": {
  18571. "description": "半身照地址",
  18572. "type": "string"
  18573. },
  18574. "headurl": {
  18575. "description": "头像地址",
  18576. "type": "string"
  18577. },
  18578. "ipaddress": {
  18579. "description": "IP地址",
  18580. "type": "string"
  18581. },
  18582. "isvalidate": {
  18583. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18584. "type": "string"
  18585. },
  18586. "legalcardbackphotourl": {
  18587. "description": "法人身份证背面照地址",
  18588. "type": "string"
  18589. },
  18590. "legalcardfrontphotourl": {
  18591. "description": "法人身份证正面照地址",
  18592. "type": "string"
  18593. },
  18594. "legalpersonname": {
  18595. "description": "法人姓名(企业)",
  18596. "type": "string"
  18597. },
  18598. "logincode": {
  18599. "description": "登录帐号 (加密存储)",
  18600. "type": "string"
  18601. },
  18602. "memberareaid": {
  18603. "description": "所属会员ID",
  18604. "type": "integer"
  18605. },
  18606. "mobile2": {
  18607. "description": "手机号码[明文-尚志]",
  18608. "type": "string"
  18609. },
  18610. "mobilephone": {
  18611. "description": "手机号码 (加密存储)",
  18612. "type": "string"
  18613. },
  18614. "modifiedby": {
  18615. "description": "修改人帐号",
  18616. "type": "integer"
  18617. },
  18618. "modifiedtime": {
  18619. "description": "修改时间",
  18620. "type": "string"
  18621. },
  18622. "nickname": {
  18623. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18624. "type": "string"
  18625. },
  18626. "openmode": {
  18627. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18628. "type": "integer"
  18629. },
  18630. "otherurl": {
  18631. "description": "其它图片地址[使用分号分隔]",
  18632. "type": "string"
  18633. },
  18634. "postalcode": {
  18635. "description": "邮政编码",
  18636. "type": "string"
  18637. },
  18638. "provinceid": {
  18639. "description": "省",
  18640. "type": "integer"
  18641. },
  18642. "proxystatementurl": {
  18643. "description": "授权委托书",
  18644. "type": "string"
  18645. },
  18646. "qq": {
  18647. "description": "QQ(加密存储",
  18648. "type": "string"
  18649. },
  18650. "referral": {
  18651. "description": "推荐人编码",
  18652. "type": "string"
  18653. },
  18654. "remark": {
  18655. "description": "备注",
  18656. "type": "string"
  18657. },
  18658. "removebeforestatus": {
  18659. "description": "REMOVEBEFORESTATUS",
  18660. "type": "integer"
  18661. },
  18662. "sex": {
  18663. "description": "性别 - 0:女 1:男",
  18664. "type": "integer"
  18665. },
  18666. "signedstatus": {
  18667. "description": "账户一号签签约状态",
  18668. "type": "integer"
  18669. },
  18670. "signpdfurl": {
  18671. "description": "签约pdf文件",
  18672. "type": "string"
  18673. },
  18674. "subbranch": {
  18675. "description": "开户支行",
  18676. "type": "string"
  18677. },
  18678. "taxpayernum": {
  18679. "description": "纳税人识别号",
  18680. "type": "string"
  18681. },
  18682. "telphone": {
  18683. "description": "联系电话(加密存储)",
  18684. "type": "string"
  18685. },
  18686. "userid": {
  18687. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18688. "type": "integer"
  18689. },
  18690. "userinfotype": {
  18691. "description": "用户信息类型 - 1:个人 2:企业",
  18692. "type": "integer"
  18693. },
  18694. "username": {
  18695. "description": "用户姓名",
  18696. "type": "string"
  18697. },
  18698. "userstate": {
  18699. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18700. "type": "integer"
  18701. },
  18702. "usertype": {
  18703. "description": "用户类型 - 1:投资者 2:机构",
  18704. "type": "integer"
  18705. },
  18706. "videourl": {
  18707. "description": "视频地址",
  18708. "type": "string"
  18709. },
  18710. "wechat": {
  18711. "description": "微信号 (加密存储)",
  18712. "type": "string"
  18713. }
  18714. }
  18715. },
  18716. "erms3.QryAuditContractRsp": {
  18717. "type": "object",
  18718. "required": [
  18719. "matchcustomername",
  18720. "spotcontractid"
  18721. ],
  18722. "properties": {
  18723. "accountid": {
  18724. "description": "交易员ID",
  18725. "type": "string"
  18726. },
  18727. "applystatus": {
  18728. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18729. "type": "integer"
  18730. },
  18731. "curdeliveryqty": {
  18732. "description": "未交收量",
  18733. "type": "integer"
  18734. },
  18735. "customername": {
  18736. "description": "采购方ID",
  18737. "type": "string"
  18738. },
  18739. "deliverygoodsid": {
  18740. "description": "品种ID",
  18741. "type": "string"
  18742. },
  18743. "deliveryqty": {
  18744. "description": "交收量",
  18745. "type": "integer"
  18746. },
  18747. "enumdicname": {
  18748. "description": "单位名称",
  18749. "type": "string"
  18750. },
  18751. "matchaccountid": {
  18752. "description": "业务员ID",
  18753. "type": "string"
  18754. },
  18755. "matchcustomername": {
  18756. "description": "销售方ID",
  18757. "type": "string"
  18758. },
  18759. "pricedqty": {
  18760. "description": "定价量",
  18761. "type": "number"
  18762. },
  18763. "signdate": {
  18764. "description": "签订日期",
  18765. "type": "string"
  18766. },
  18767. "spotcontractid": {
  18768. "description": "合同ID",
  18769. "type": "string"
  18770. },
  18771. "totaldqty": {
  18772. "description": "合同量",
  18773. "type": "number"
  18774. },
  18775. "unpricedqty": {
  18776. "description": "未定价量",
  18777. "type": "number"
  18778. },
  18779. "wrstandardname": {
  18780. "description": "商品名称",
  18781. "type": "string"
  18782. }
  18783. }
  18784. },
  18785. "erms3.QryPendingBizRsp": {
  18786. "type": "object",
  18787. "properties": {
  18788. "accountid": {
  18789. "description": "现货账户",
  18790. "type": "string"
  18791. },
  18792. "areaname": {
  18793. "description": "所属部门",
  18794. "type": "string"
  18795. },
  18796. "bizid": {
  18797. "description": "业务ID",
  18798. "type": "string"
  18799. },
  18800. "bizname": {
  18801. "description": "业务名称",
  18802. "type": "string"
  18803. },
  18804. "status": {
  18805. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18806. "type": "integer"
  18807. },
  18808. "type": {
  18809. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18810. "type": "integer"
  18811. }
  18812. }
  18813. },
  18814. "erms3.QueryBusinessInfoRsp": {
  18815. "type": "object",
  18816. "properties": {
  18817. "businessid": {
  18818. "description": "业务ID.",
  18819. "type": "integer"
  18820. },
  18821. "buyamount": {
  18822. "description": "采购额.",
  18823. "type": "number"
  18824. },
  18825. "buyqty": {
  18826. "description": "采购量.",
  18827. "type": "string"
  18828. },
  18829. "futurepl": {
  18830. "description": "期货盈亏.",
  18831. "type": "number"
  18832. },
  18833. "futureqty": {
  18834. "description": "期货敞口.",
  18835. "type": "string"
  18836. },
  18837. "goodsid": {
  18838. "description": "商品名称/商品代码.",
  18839. "type": "string"
  18840. },
  18841. "hedgingqty": {
  18842. "description": "套保量.",
  18843. "type": "string"
  18844. },
  18845. "sellamount": {
  18846. "description": "销售额.",
  18847. "type": "number"
  18848. },
  18849. "sellqty": {
  18850. "description": "销售量.",
  18851. "type": "string"
  18852. },
  18853. "spotmarketvalue": {
  18854. "description": "现货市值.",
  18855. "type": "number"
  18856. },
  18857. "spotpl": {
  18858. "description": "浮动权益.",
  18859. "type": "number"
  18860. },
  18861. "spotqty": {
  18862. "description": "现货量.",
  18863. "type": "string"
  18864. },
  18865. "statu": {
  18866. "description": "状态,0-未结束 1-已结束.",
  18867. "type": "integer"
  18868. },
  18869. "totalpl": {
  18870. "description": "总盈亏.",
  18871. "type": "number"
  18872. },
  18873. "totalqty": {
  18874. "description": "总敞口.",
  18875. "type": "string"
  18876. },
  18877. "type": {
  18878. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  18879. "type": "integer"
  18880. }
  18881. }
  18882. },
  18883. "erms3.QuerySpotContractAppleFormRsp": {
  18884. "type": "object",
  18885. "properties": {
  18886. "goodses": {
  18887. "description": "合约列表",
  18888. "type": "array",
  18889. "items": {
  18890. "$ref": "#/definitions/models.GoodsIDAndName"
  18891. }
  18892. },
  18893. "oppositeusers": {
  18894. "description": "对方账号列表",
  18895. "type": "array",
  18896. "items": {
  18897. "$ref": "#/definitions/erms3.CustomerInfo"
  18898. }
  18899. },
  18900. "ouruser": {
  18901. "description": "我方账号",
  18902. "$ref": "#/definitions/erms3.CustomerInfo"
  18903. },
  18904. "warehouseinfos": {
  18905. "description": "仓库信息列表",
  18906. "type": "array",
  18907. "items": {
  18908. "$ref": "#/definitions/models.Warehouseinfo"
  18909. }
  18910. },
  18911. "wrstandards": {
  18912. "description": "仓单标准列表",
  18913. "type": "array",
  18914. "items": {
  18915. "$ref": "#/definitions/models.WRStandardInfo"
  18916. }
  18917. }
  18918. }
  18919. },
  18920. "erms3.QuerySpotContractInfoRsp": {
  18921. "type": "object",
  18922. "properties": {
  18923. "accountid": {
  18924. "description": "表示交易员ID.",
  18925. "type": "integer"
  18926. },
  18927. "curdeliveryqty": {
  18928. "description": "表示未交收量.",
  18929. "type": "number"
  18930. },
  18931. "customername": {
  18932. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  18933. "type": "string"
  18934. },
  18935. "deliverygoodsid": {
  18936. "description": "表示品种ID.",
  18937. "type": "string"
  18938. },
  18939. "deliveryqty": {
  18940. "description": "表示交收量.",
  18941. "type": "number"
  18942. },
  18943. "matchaccountid": {
  18944. "description": "表示业务员ID.",
  18945. "type": "integer"
  18946. },
  18947. "matchcustomername": {
  18948. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  18949. "type": "string"
  18950. },
  18951. "priceqty": {
  18952. "description": "表示定价量.",
  18953. "type": "number"
  18954. },
  18955. "relatedbizid": {
  18956. "description": "表示业务ID.",
  18957. "type": "string"
  18958. },
  18959. "signdate": {
  18960. "description": "表示签订日期.",
  18961. "type": "string"
  18962. },
  18963. "spotcontractid": {
  18964. "description": "合同ID",
  18965. "type": "string"
  18966. },
  18967. "status": {
  18968. "description": "表示状态,0-履约中 1-已完成.",
  18969. "type": "integer"
  18970. },
  18971. "totalqty": {
  18972. "description": "表示合同量.",
  18973. "type": "number"
  18974. },
  18975. "unpricedqty": {
  18976. "description": "表示未定价量.",
  18977. "type": "number"
  18978. },
  18979. "wrstandardname": {
  18980. "description": "表示商品ID.",
  18981. "type": "string"
  18982. }
  18983. }
  18984. },
  18985. "erms3.QueryUserInfoAppliesRsp": {
  18986. "type": "object",
  18987. "required": [
  18988. "userid"
  18989. ],
  18990. "properties": {
  18991. "biznature": {
  18992. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18993. "type": "integer"
  18994. },
  18995. "contactname": {
  18996. "description": "联系人",
  18997. "type": "string"
  18998. },
  18999. "createtime": {
  19000. "description": "开户申请时间",
  19001. "type": "string"
  19002. },
  19003. "userid": {
  19004. "description": "用户ID(自增ID)",
  19005. "type": "integer"
  19006. },
  19007. "userinfotype": {
  19008. "description": "用户信息类型 - 1:个人 2:企业",
  19009. "type": "integer"
  19010. },
  19011. "username": {
  19012. "description": "用户姓名",
  19013. "type": "string"
  19014. },
  19015. "userstate": {
  19016. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19017. "type": "integer"
  19018. }
  19019. }
  19020. },
  19021. "erms3.QueryUserInfosRsp": {
  19022. "type": "object",
  19023. "required": [
  19024. "userid"
  19025. ],
  19026. "properties": {
  19027. "biznature": {
  19028. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19029. "type": "integer"
  19030. },
  19031. "contactname": {
  19032. "description": "联系人",
  19033. "type": "string"
  19034. },
  19035. "customername": {
  19036. "description": "客户名称(企业名称)",
  19037. "type": "string"
  19038. },
  19039. "userid": {
  19040. "description": "用户ID",
  19041. "type": "integer"
  19042. },
  19043. "userinfotype": {
  19044. "description": "用户信息类型 - 1:个人 2:企业",
  19045. "type": "integer"
  19046. },
  19047. "userstatus": {
  19048. "description": "用户状态 - 1:正常 2:注销",
  19049. "type": "integer"
  19050. }
  19051. }
  19052. },
  19053. "erms3.SoptContractDetail": {
  19054. "type": "object",
  19055. "required": [
  19056. "deliverygoodsid",
  19057. "producttype",
  19058. "unitname",
  19059. "warehouseid",
  19060. "wrstandardid",
  19061. "wrstandardname"
  19062. ],
  19063. "properties": {
  19064. "deliverygoodsdesc": {
  19065. "description": "现货品种说明",
  19066. "type": "string"
  19067. },
  19068. "deliverygoodsid": {
  19069. "description": "现货品种ID",
  19070. "type": "integer"
  19071. },
  19072. "deliverygoodsname": {
  19073. "description": "现货品种名称",
  19074. "type": "string"
  19075. },
  19076. "pointdesc": {
  19077. "description": "点价描述",
  19078. "type": "string"
  19079. },
  19080. "producttype": {
  19081. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  19082. "type": "integer"
  19083. },
  19084. "producttypename": {
  19085. "description": "产品类型名称",
  19086. "type": "string"
  19087. },
  19088. "spotPointOrderVoList": {
  19089. "description": "点价列表",
  19090. "type": "array",
  19091. "items": {
  19092. "$ref": "#/definitions/erms3.SpotPointOrder"
  19093. }
  19094. },
  19095. "spotPriceOrderList": {
  19096. "description": "定价列表",
  19097. "type": "array",
  19098. "items": {
  19099. "$ref": "#/definitions/erms3.SpotPriceOrder"
  19100. }
  19101. },
  19102. "unitname": {
  19103. "description": "单位名称",
  19104. "type": "string"
  19105. },
  19106. "warehouseid": {
  19107. "description": "仓库ID",
  19108. "type": "integer"
  19109. },
  19110. "warehousename": {
  19111. "description": "仓库名称",
  19112. "type": "string"
  19113. },
  19114. "wrstandardid": {
  19115. "description": "交易标的ID",
  19116. "type": "integer"
  19117. },
  19118. "wrstandardname": {
  19119. "description": "交易标的名称",
  19120. "type": "string"
  19121. }
  19122. }
  19123. },
  19124. "erms3.SpotPointOrder": {
  19125. "type": "object",
  19126. "required": [
  19127. "basic",
  19128. "goodsid",
  19129. "qty"
  19130. ],
  19131. "properties": {
  19132. "basic": {
  19133. "description": "基差",
  19134. "type": "number"
  19135. },
  19136. "deliveryenddate": {
  19137. "description": "交收结束日期",
  19138. "type": "string"
  19139. },
  19140. "deliverystartdate": {
  19141. "description": "交收开始日期",
  19142. "type": "string"
  19143. },
  19144. "enddate": {
  19145. "description": "点价结束日期",
  19146. "type": "string"
  19147. },
  19148. "goodsid": {
  19149. "description": "商品ID",
  19150. "type": "integer"
  19151. },
  19152. "goodsname": {
  19153. "description": "商品名称",
  19154. "type": "string"
  19155. },
  19156. "qty": {
  19157. "description": "数量",
  19158. "type": "number"
  19159. },
  19160. "startdate": {
  19161. "description": "点价开始日期",
  19162. "type": "string"
  19163. }
  19164. }
  19165. },
  19166. "erms3.SpotPriceOrder": {
  19167. "type": "object",
  19168. "required": [
  19169. "amount",
  19170. "price",
  19171. "qty"
  19172. ],
  19173. "properties": {
  19174. "amount": {
  19175. "description": "金额",
  19176. "type": "number"
  19177. },
  19178. "deliveryenddate": {
  19179. "description": "交收结束日期",
  19180. "type": "string"
  19181. },
  19182. "deliverystartdate": {
  19183. "description": "交收开始日期",
  19184. "type": "string"
  19185. },
  19186. "price": {
  19187. "description": "价格",
  19188. "type": "number"
  19189. },
  19190. "qty": {
  19191. "description": "数量",
  19192. "type": "number"
  19193. }
  19194. }
  19195. },
  19196. "hsby.GetHsbyMyCountRsp": {
  19197. "type": "object",
  19198. "properties": {
  19199. "myCouponCount": {
  19200. "description": "我的优惠卷数量",
  19201. "type": "integer"
  19202. },
  19203. "myOrderDetailListingCount": {
  19204. "description": "我的订单求购中数量",
  19205. "type": "integer"
  19206. },
  19207. "myOrderDetailPreCount": {
  19208. "description": "我的订单抢购中数量",
  19209. "type": "integer"
  19210. },
  19211. "myPackageUnReceiveCount": {
  19212. "description": "我的包裹待收货数量",
  19213. "type": "integer"
  19214. },
  19215. "myPackageUnSendCount": {
  19216. "description": "我的包裹待发货数量",
  19217. "type": "integer"
  19218. },
  19219. "myPayOrderCount": {
  19220. "description": "我的订单待付款数量",
  19221. "type": "integer"
  19222. }
  19223. }
  19224. },
  19225. "hsby.QueryProvincesAndCitiesRsp": {
  19226. "type": "object",
  19227. "properties": {
  19228. "cities": {
  19229. "description": "市",
  19230. "type": "array",
  19231. "items": {
  19232. "$ref": "#/definitions/models.Division"
  19233. }
  19234. },
  19235. "province": {
  19236. "description": "省",
  19237. "$ref": "#/definitions/models.Division"
  19238. }
  19239. }
  19240. },
  19241. "models.Arearole": {
  19242. "type": "object",
  19243. "required": [
  19244. "roletype",
  19245. "userid"
  19246. ],
  19247. "properties": {
  19248. "createtime": {
  19249. "description": "创建时间",
  19250. "type": "string"
  19251. },
  19252. "creatorid": {
  19253. "description": "创建人ID",
  19254. "type": "integer"
  19255. },
  19256. "fromuserid": {
  19257. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  19258. "type": "integer"
  19259. },
  19260. "isreturnscore": {
  19261. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  19262. "type": "integer"
  19263. },
  19264. "modifierid": {
  19265. "description": "修改人ID",
  19266. "type": "integer"
  19267. },
  19268. "modifytime": {
  19269. "description": "修改时间",
  19270. "type": "string"
  19271. },
  19272. "orgtype": {
  19273. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  19274. "type": "integer"
  19275. },
  19276. "outuserid": {
  19277. "description": "外部账户[场外期权做市商]",
  19278. "type": "string"
  19279. },
  19280. "parentuserid": {
  19281. "description": "上级组织机构(组织机构)",
  19282. "type": "integer"
  19283. },
  19284. "roletype": {
  19285. "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:门店",
  19286. "type": "integer"
  19287. },
  19288. "rootuserid": {
  19289. "description": "顶级组织机构用户ID(组织机构)",
  19290. "type": "integer"
  19291. },
  19292. "shoppassword": {
  19293. "description": "商城店铺登陆密码(商城店铺角色使用)",
  19294. "type": "string"
  19295. },
  19296. "sublevelpath": {
  19297. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  19298. "type": "string"
  19299. },
  19300. "suborgtype": {
  19301. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  19302. "type": "integer"
  19303. },
  19304. "tradeaccountid": {
  19305. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  19306. "type": "integer"
  19307. },
  19308. "transurl": {
  19309. "description": "物流地址(物流机构)",
  19310. "type": "string"
  19311. },
  19312. "userid": {
  19313. "description": "机构用户ID其他做市关系,都设置为 1",
  19314. "type": "integer"
  19315. }
  19316. }
  19317. },
  19318. "models.Clientfixedadconfig": {
  19319. "type": "object",
  19320. "required": [
  19321. "adsort",
  19322. "adtype"
  19323. ],
  19324. "properties": {
  19325. "adsort": {
  19326. "description": "排序",
  19327. "type": "integer"
  19328. },
  19329. "adtype": {
  19330. "description": "广告位类型 - 1:新品抢购(HSBY)",
  19331. "type": "integer"
  19332. },
  19333. "areauserid": {
  19334. "description": "所属机构ID",
  19335. "type": "integer"
  19336. },
  19337. "createdate": {
  19338. "description": "创建时间",
  19339. "type": "string"
  19340. },
  19341. "creatorid": {
  19342. "description": "创建人",
  19343. "type": "integer"
  19344. },
  19345. "imagepath": {
  19346. "description": "图片",
  19347. "type": "string"
  19348. },
  19349. "isshow": {
  19350. "description": "是否展示 - 0:不展示 1:展示",
  19351. "type": "integer"
  19352. },
  19353. "modifierid": {
  19354. "description": "操作人",
  19355. "type": "integer"
  19356. },
  19357. "recsize": {
  19358. "description": "推荐尺寸",
  19359. "type": "string"
  19360. },
  19361. "title": {
  19362. "description": "标题",
  19363. "type": "string"
  19364. },
  19365. "updatedate": {
  19366. "description": "更新时间",
  19367. "type": "string"
  19368. },
  19369. "urlcontent": {
  19370. "description": "链接(地址或商品ID)",
  19371. "type": "string"
  19372. },
  19373. "urltype": {
  19374. "description": "链接类型 - 1:直接地址 2:商品ID",
  19375. "type": "integer"
  19376. }
  19377. }
  19378. },
  19379. "models.Division": {
  19380. "type": "object",
  19381. "required": [
  19382. "autoid",
  19383. "divisioncode"
  19384. ],
  19385. "properties": {
  19386. "autoid": {
  19387. "description": "自增ID",
  19388. "type": "integer"
  19389. },
  19390. "divisioncode": {
  19391. "description": "行政代码",
  19392. "type": "string"
  19393. },
  19394. "divisionlevel": {
  19395. "description": "行政级别",
  19396. "type": "string"
  19397. },
  19398. "divisionname": {
  19399. "description": "行政名称",
  19400. "type": "string"
  19401. },
  19402. "modifierid": {
  19403. "description": "修改人",
  19404. "type": "integer"
  19405. },
  19406. "modifytime": {
  19407. "description": "修改时间",
  19408. "type": "string"
  19409. },
  19410. "parentcode": {
  19411. "description": "上级行政代码",
  19412. "type": "string"
  19413. },
  19414. "pathname": {
  19415. "description": "路径名称",
  19416. "type": "string"
  19417. },
  19418. "postcode": {
  19419. "description": "邮政编码",
  19420. "type": "string"
  19421. },
  19422. "separablename": {
  19423. "description": "可拆分的全称",
  19424. "type": "string"
  19425. },
  19426. "shortcode": {
  19427. "description": "地区简码",
  19428. "type": "string"
  19429. }
  19430. }
  19431. },
  19432. "models.Enumdicitem": {
  19433. "type": "object",
  19434. "required": [
  19435. "autoid",
  19436. "enumdiccode",
  19437. "enumdicid",
  19438. "enumitemname"
  19439. ],
  19440. "properties": {
  19441. "autoid": {
  19442. "description": "自增ID",
  19443. "type": "integer"
  19444. },
  19445. "bankmappedvalue": {
  19446. "description": "银行服务对应值",
  19447. "type": "string"
  19448. },
  19449. "enumdiccode": {
  19450. "description": "所属枚举代码",
  19451. "type": "string"
  19452. },
  19453. "enumdicid": {
  19454. "description": "所属枚举ID",
  19455. "type": "integer"
  19456. },
  19457. "enumdicname": {
  19458. "description": "枚举项名称",
  19459. "type": "string"
  19460. },
  19461. "enumitemname": {
  19462. "description": "枚举项值",
  19463. "type": "integer"
  19464. },
  19465. "enumitemstatus": {
  19466. "description": "枚举项状态 - 1.启用 2.不启用",
  19467. "type": "integer"
  19468. },
  19469. "enumitemvalue": {
  19470. "description": "通用值 - [币种通用简写]",
  19471. "type": "string"
  19472. },
  19473. "param1": {
  19474. "description": "参数1[币种:币种小数位]",
  19475. "type": "string"
  19476. },
  19477. "param2": {
  19478. "description": "参数1[币种:币种显示单位]",
  19479. "type": "string"
  19480. },
  19481. "remark": {
  19482. "description": "备注",
  19483. "type": "string"
  19484. }
  19485. }
  19486. },
  19487. "models.Ermcp3AreaSpot": {
  19488. "type": "object",
  19489. "properties": {
  19490. "areauserid": {
  19491. "description": "所属机构",
  19492. "type": "integer"
  19493. },
  19494. "convertratio": {
  19495. "description": "套保系数",
  19496. "type": "number"
  19497. },
  19498. "decreaseqty": {
  19499. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19500. "type": "number"
  19501. },
  19502. "enumdicname": {
  19503. "description": "单位名称",
  19504. "type": "string"
  19505. },
  19506. "increaseqty": {
  19507. "description": "增加数量=销售计划数量+采购已定价数量",
  19508. "type": "number"
  19509. },
  19510. "oritoalspotqty": {
  19511. "description": "昨日数量",
  19512. "type": "number"
  19513. },
  19514. "totalspotqty": {
  19515. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  19516. "type": "number"
  19517. },
  19518. "unitid": {
  19519. "description": "现货商品单位id",
  19520. "type": "integer"
  19521. },
  19522. "updatetime": {
  19523. "description": "更新时间",
  19524. "type": "string"
  19525. },
  19526. "wrstandardcode": {
  19527. "description": "现货商品代码",
  19528. "type": "string"
  19529. },
  19530. "wrstandardid": {
  19531. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19532. "type": "integer"
  19533. },
  19534. "wrstandardname": {
  19535. "description": "现货商品名称",
  19536. "type": "string"
  19537. }
  19538. }
  19539. },
  19540. "models.Ermcp3AreaSpotDetail": {
  19541. "type": "object",
  19542. "properties": {
  19543. "contracttype": {
  19544. "description": "合同类型 1-采购 -1-销售",
  19545. "type": "integer"
  19546. },
  19547. "createtime": {
  19548. "description": "创建时间",
  19549. "type": "string"
  19550. },
  19551. "enumdicname": {
  19552. "description": "现货商品单位名称",
  19553. "type": "string"
  19554. },
  19555. "logtype": {
  19556. "description": "记录类型 1-套保 2-现货合同",
  19557. "type": "integer"
  19558. },
  19559. "qty": {
  19560. "description": "数量",
  19561. "type": "number"
  19562. },
  19563. "recordname": {
  19564. "description": "类型名称",
  19565. "type": "string"
  19566. },
  19567. "relatedid": {
  19568. "description": "套保计划ID/现货合同ID",
  19569. "type": "string"
  19570. },
  19571. "relatedno": {
  19572. "description": "编号",
  19573. "type": "string"
  19574. },
  19575. "strtime": {
  19576. "description": "时间",
  19577. "type": "string"
  19578. },
  19579. "wrstandardcode": {
  19580. "description": "现货商品代码",
  19581. "type": "string"
  19582. },
  19583. "wrstandardid": {
  19584. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19585. "type": "integer"
  19586. },
  19587. "wrstandardname": {
  19588. "description": "现货商品名称",
  19589. "type": "string"
  19590. }
  19591. }
  19592. },
  19593. "models.Ermcp3AreaSpotPLReport": {
  19594. "type": "object",
  19595. "properties": {
  19596. "accountid": {
  19597. "description": "期货账户ID (作废, 默认为0)",
  19598. "type": "integer"
  19599. },
  19600. "accountname": {
  19601. "description": "机构名称",
  19602. "type": "string"
  19603. },
  19604. "actualpl": {
  19605. "description": "现货损益",
  19606. "type": "number"
  19607. },
  19608. "areauserid": {
  19609. "description": "所属机构\\交易用户ID",
  19610. "type": "integer"
  19611. },
  19612. "begindate": {
  19613. "description": "开始交易日",
  19614. "type": "string"
  19615. },
  19616. "biztype": {
  19617. "description": "业务类型 - 1:套保 2:套利",
  19618. "type": "integer"
  19619. },
  19620. "brandname": {
  19621. "description": "品牌名称",
  19622. "type": "string"
  19623. },
  19624. "curamount": {
  19625. "description": "期末额",
  19626. "type": "number"
  19627. },
  19628. "curaverageprice": {
  19629. "description": "期末均价",
  19630. "type": "number"
  19631. },
  19632. "curbuyamount": {
  19633. "description": "期末采购总额",
  19634. "type": "number"
  19635. },
  19636. "curbuyqty": {
  19637. "description": "期末采购总量",
  19638. "type": "number"
  19639. },
  19640. "curmarketvalue": {
  19641. "description": "参考市值(期末市值)",
  19642. "type": "number"
  19643. },
  19644. "curqty": {
  19645. "description": "期末量",
  19646. "type": "number"
  19647. },
  19648. "currencyid": {
  19649. "description": "结算币种ID【原值】",
  19650. "type": "integer"
  19651. },
  19652. "currencyname": {
  19653. "description": "币种名称",
  19654. "type": "string"
  19655. },
  19656. "cursellamount": {
  19657. "description": "期末销售总额",
  19658. "type": "number"
  19659. },
  19660. "cursellqty": {
  19661. "description": "期末销售总量",
  19662. "type": "number"
  19663. },
  19664. "curspotprice": {
  19665. "description": "参考市价(最新价)",
  19666. "type": "number"
  19667. },
  19668. "cycletime": {
  19669. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19670. "type": "string"
  19671. },
  19672. "cycletype": {
  19673. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19674. "type": "integer"
  19675. },
  19676. "deliverygoodscode": {
  19677. "description": "现货商品代码",
  19678. "type": "string"
  19679. },
  19680. "deliverygoodsid": {
  19681. "description": "现货品种ID",
  19682. "type": "integer"
  19683. },
  19684. "deliverygoodsname": {
  19685. "description": "现货商品名称",
  19686. "type": "string"
  19687. },
  19688. "enddate": {
  19689. "description": "结束交易日",
  19690. "type": "string"
  19691. },
  19692. "enumdicname": {
  19693. "description": "现货商品单位名称",
  19694. "type": "string"
  19695. },
  19696. "floatpl": {
  19697. "description": "浮动损益",
  19698. "type": "number"
  19699. },
  19700. "goodsunitid": {
  19701. "description": "现货商品单位id",
  19702. "type": "integer"
  19703. },
  19704. "oriamount": {
  19705. "description": "期初额",
  19706. "type": "number"
  19707. },
  19708. "oriaverageprice": {
  19709. "description": "期初均价",
  19710. "type": "number"
  19711. },
  19712. "oribuyamount": {
  19713. "description": "期初采购总额",
  19714. "type": "number"
  19715. },
  19716. "oribuyqty": {
  19717. "description": "期初采购总量",
  19718. "type": "number"
  19719. },
  19720. "oriqty": {
  19721. "description": "期初量",
  19722. "type": "number"
  19723. },
  19724. "orisellamount": {
  19725. "description": "期初销售总额",
  19726. "type": "number"
  19727. },
  19728. "orisellqty": {
  19729. "description": "期初销售总量",
  19730. "type": "number"
  19731. },
  19732. "reckondate": {
  19733. "description": "日照时期(yyyyMMdd)",
  19734. "type": "string"
  19735. },
  19736. "spotgoodsbrandid": {
  19737. "description": "现货品牌ID",
  19738. "type": "integer"
  19739. },
  19740. "todaybuyamount": {
  19741. "description": "今日采购额(今采购额)",
  19742. "type": "number"
  19743. },
  19744. "todaybuyaverageprice": {
  19745. "description": "今日采购均价",
  19746. "type": "number"
  19747. },
  19748. "todaybuyqty": {
  19749. "description": "今日采购量(今采购量)",
  19750. "type": "number"
  19751. },
  19752. "todayinqty": {
  19753. "description": "今日入库量(今入库量)",
  19754. "type": "number"
  19755. },
  19756. "todayoutqty": {
  19757. "description": "今日出库量(今出库量)",
  19758. "type": "number"
  19759. },
  19760. "todaysellamount": {
  19761. "description": "今日销售额(今销售额)",
  19762. "type": "number"
  19763. },
  19764. "todaysellaverageprice": {
  19765. "description": "今日销售均价",
  19766. "type": "number"
  19767. },
  19768. "todaysellqty": {
  19769. "description": "今日销售量(今销售量)",
  19770. "type": "number"
  19771. },
  19772. "unitid": {
  19773. "description": "品类单位id",
  19774. "type": "integer"
  19775. },
  19776. "unitidname": {
  19777. "description": "品类单位名称",
  19778. "type": "string"
  19779. },
  19780. "updatetime": {
  19781. "description": "更新时间",
  19782. "type": "string"
  19783. },
  19784. "wrfactortypeid": {
  19785. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19786. "type": "integer"
  19787. },
  19788. "wrstandardcode": {
  19789. "description": "品类代码",
  19790. "type": "string"
  19791. },
  19792. "wrstandardid": {
  19793. "description": "现货品类ID",
  19794. "type": "integer"
  19795. },
  19796. "wrstandardname": {
  19797. "description": "品类名称",
  19798. "type": "string"
  19799. }
  19800. }
  19801. },
  19802. "models.Ermcp3AreaStock": {
  19803. "type": "object",
  19804. "required": [
  19805. "userid"
  19806. ],
  19807. "properties": {
  19808. "brandname": {
  19809. "description": "品牌名称",
  19810. "type": "string"
  19811. },
  19812. "curstock": {
  19813. "description": "期末库存量(今日量)",
  19814. "type": "number"
  19815. },
  19816. "deliverygoodscode": {
  19817. "description": "现货品种代码",
  19818. "type": "string"
  19819. },
  19820. "deliverygoodsid": {
  19821. "description": "现货品种id",
  19822. "type": "integer"
  19823. },
  19824. "deliverygoodsname": {
  19825. "description": "现货品种名称",
  19826. "type": "string"
  19827. },
  19828. "enumdicname": {
  19829. "description": "单位名称",
  19830. "type": "string"
  19831. },
  19832. "goodsunitid": {
  19833. "description": "现货商品单位id",
  19834. "type": "integer"
  19835. },
  19836. "oristock": {
  19837. "description": "期初库存量(昨日量)",
  19838. "type": "number"
  19839. },
  19840. "spotgoodsbrandid": {
  19841. "description": "现货品牌ID",
  19842. "type": "integer"
  19843. },
  19844. "todaybuyinqty": {
  19845. "description": "今日采购入库量",
  19846. "type": "number"
  19847. },
  19848. "todayproduceinqty": {
  19849. "description": "今日生产入库量",
  19850. "type": "number"
  19851. },
  19852. "todayproduceoutqty": {
  19853. "description": "今日生产出库量",
  19854. "type": "number"
  19855. },
  19856. "todayselloutqty": {
  19857. "description": "今日销售出库量",
  19858. "type": "number"
  19859. },
  19860. "unitid": {
  19861. "description": "单位id",
  19862. "type": "integer"
  19863. },
  19864. "updatetime": {
  19865. "description": "更新时间",
  19866. "type": "string"
  19867. },
  19868. "userid": {
  19869. "description": "机构ID",
  19870. "type": "integer"
  19871. },
  19872. "username": {
  19873. "description": "机构名称",
  19874. "type": "string"
  19875. },
  19876. "warehousecode": {
  19877. "description": "仓库代码",
  19878. "type": "string"
  19879. },
  19880. "warehouseinfoid": {
  19881. "description": "仓库ID",
  19882. "type": "string"
  19883. },
  19884. "warehousename": {
  19885. "description": "仓库名称",
  19886. "type": "string"
  19887. },
  19888. "warehousetype": {
  19889. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19890. "type": "integer"
  19891. },
  19892. "wrstandardcode": {
  19893. "description": "品类代码",
  19894. "type": "string"
  19895. },
  19896. "wrstandardid": {
  19897. "description": "品类ID",
  19898. "type": "string"
  19899. },
  19900. "wrstandardname": {
  19901. "description": "品类名称",
  19902. "type": "string"
  19903. }
  19904. }
  19905. },
  19906. "models.Ermcp3AreaStockApply": {
  19907. "type": "object",
  19908. "properties": {
  19909. "applyid": {
  19910. "description": "申请人",
  19911. "type": "integer"
  19912. },
  19913. "applyname": {
  19914. "description": "申请人名称",
  19915. "type": "string"
  19916. },
  19917. "applyremark": {
  19918. "description": "申请备注",
  19919. "type": "string"
  19920. },
  19921. "applysrc": {
  19922. "description": "申请来源 - 1:管理端 2:终端",
  19923. "type": "integer"
  19924. },
  19925. "applystatus": {
  19926. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19927. "type": "integer"
  19928. },
  19929. "applytime": {
  19930. "description": "申请时间",
  19931. "type": "string"
  19932. },
  19933. "auditid": {
  19934. "description": "审核人",
  19935. "type": "integer"
  19936. },
  19937. "auditname": {
  19938. "description": "审核人名称",
  19939. "type": "string"
  19940. },
  19941. "auditremark": {
  19942. "description": "审核备注",
  19943. "type": "string"
  19944. },
  19945. "auditsrc": {
  19946. "description": "审核来源 - 1:管理端 2:终端",
  19947. "type": "integer"
  19948. },
  19949. "audittime": {
  19950. "description": "审核时间",
  19951. "type": "string"
  19952. },
  19953. "audittradedate": {
  19954. "description": "审核交易日(yyyyMMdd)",
  19955. "type": "string"
  19956. },
  19957. "brandname": {
  19958. "description": "品牌名称",
  19959. "type": "string"
  19960. },
  19961. "buynickname": {
  19962. "description": "采购方昵称",
  19963. "type": "string"
  19964. },
  19965. "buyuserid": {
  19966. "description": "采购方userid",
  19967. "type": "integer"
  19968. },
  19969. "buyusername": {
  19970. "description": "采购方名称",
  19971. "type": "string"
  19972. },
  19973. "contractno": {
  19974. "description": "合同编号",
  19975. "type": "string"
  19976. },
  19977. "contractqty": {
  19978. "description": "合同量",
  19979. "type": "number"
  19980. },
  19981. "contracttype": {
  19982. "description": "现货合同类型 - 1:采购 -1:销售",
  19983. "type": "integer"
  19984. },
  19985. "deliverygoodscode": {
  19986. "description": "现货品种代码",
  19987. "type": "string"
  19988. },
  19989. "deliverygoodsid": {
  19990. "description": "现货品种id",
  19991. "type": "integer"
  19992. },
  19993. "deliverygoodsname": {
  19994. "description": "现货品种名称",
  19995. "type": "string"
  19996. },
  19997. "detailjson": {
  19998. "description": "明细数据",
  19999. "type": "string"
  20000. },
  20001. "enumdicname": {
  20002. "description": "现货商品单位名称",
  20003. "type": "string"
  20004. },
  20005. "inoutapplyid": {
  20006. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  20007. "type": "string"
  20008. },
  20009. "inouttype": {
  20010. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20011. "type": "integer"
  20012. },
  20013. "pricetype": {
  20014. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20015. "type": "integer"
  20016. },
  20017. "qty": {
  20018. "description": "数量",
  20019. "type": "number"
  20020. },
  20021. "sellnickname": {
  20022. "description": "销售方昵称",
  20023. "type": "string"
  20024. },
  20025. "selluserid": {
  20026. "description": "销售方userid",
  20027. "type": "integer"
  20028. },
  20029. "sellusername": {
  20030. "description": "销售方名称",
  20031. "type": "string"
  20032. },
  20033. "spotcontractid": {
  20034. "description": "关联现货合同ID",
  20035. "type": "string"
  20036. },
  20037. "spotgoodsbrandid": {
  20038. "description": "现货品牌ID",
  20039. "type": "integer"
  20040. },
  20041. "unitid": {
  20042. "description": "单位id",
  20043. "type": "integer"
  20044. },
  20045. "userid": {
  20046. "description": "机构ID",
  20047. "type": "integer"
  20048. },
  20049. "warehousecode": {
  20050. "description": "仓库代码",
  20051. "type": "string"
  20052. },
  20053. "warehouseinfoid": {
  20054. "description": "现货仓库ID",
  20055. "type": "string"
  20056. },
  20057. "warehousename": {
  20058. "description": "仓库名称",
  20059. "type": "string"
  20060. },
  20061. "warehousetype": {
  20062. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20063. "type": "integer"
  20064. },
  20065. "wrstandardcode": {
  20066. "description": "品类代码",
  20067. "type": "string"
  20068. },
  20069. "wrstandardid": {
  20070. "description": "品类ID",
  20071. "type": "integer"
  20072. },
  20073. "wrstandardname": {
  20074. "description": "品类名称",
  20075. "type": "string"
  20076. }
  20077. }
  20078. },
  20079. "models.Ermcp3AreaStockApplySum": {
  20080. "type": "object",
  20081. "properties": {
  20082. "brandname": {
  20083. "description": "品牌名称",
  20084. "type": "string"
  20085. },
  20086. "inouttype": {
  20087. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20088. "type": "integer"
  20089. },
  20090. "spotcontractid": {
  20091. "description": "关联现货合同ID",
  20092. "type": "string"
  20093. },
  20094. "spotgoodsbrandid": {
  20095. "description": "品牌id",
  20096. "type": "integer"
  20097. },
  20098. "totalqty": {
  20099. "description": "总数量",
  20100. "type": "number"
  20101. },
  20102. "wrstandardid": {
  20103. "description": "品类id",
  20104. "type": "integer"
  20105. },
  20106. "wrstandardname": {
  20107. "description": "品类名称",
  20108. "type": "string"
  20109. }
  20110. }
  20111. },
  20112. "models.Ermcp3AreaStockReportEx": {
  20113. "type": "object",
  20114. "properties": {
  20115. "begindate": {
  20116. "description": "开始交易日",
  20117. "type": "string"
  20118. },
  20119. "brandname": {
  20120. "description": "品牌名称",
  20121. "type": "string"
  20122. },
  20123. "curstock": {
  20124. "description": "期末库存量",
  20125. "type": "number"
  20126. },
  20127. "cycletime": {
  20128. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20129. "type": "string"
  20130. },
  20131. "cycletype": {
  20132. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20133. "type": "integer"
  20134. },
  20135. "deliverygoodscode": {
  20136. "description": "现货品种代码",
  20137. "type": "string"
  20138. },
  20139. "deliverygoodsid": {
  20140. "description": "现货品种id",
  20141. "type": "integer"
  20142. },
  20143. "deliverygoodsname": {
  20144. "description": "现货品种名称",
  20145. "type": "string"
  20146. },
  20147. "diffqty": {
  20148. "description": "库存变化量 = 期末 - 期初",
  20149. "type": "number"
  20150. },
  20151. "enddate": {
  20152. "description": "结束交易日",
  20153. "type": "string"
  20154. },
  20155. "enumdicname": {
  20156. "description": "单位名称",
  20157. "type": "string"
  20158. },
  20159. "goodsunitid": {
  20160. "description": "现货单位id",
  20161. "type": "integer"
  20162. },
  20163. "oristock": {
  20164. "description": "期初库存量",
  20165. "type": "number"
  20166. },
  20167. "reckondate": {
  20168. "description": "日照时期(yyyyMMdd)",
  20169. "type": "string"
  20170. },
  20171. "spotgoodsbrandid": {
  20172. "description": "现货品牌ID",
  20173. "type": "integer"
  20174. },
  20175. "todaybuyinqty": {
  20176. "description": "今采购入库量",
  20177. "type": "number"
  20178. },
  20179. "todayproduceinqty": {
  20180. "description": "今内部入库量",
  20181. "type": "number"
  20182. },
  20183. "todayproduceoutqty": {
  20184. "description": "今内部出库量",
  20185. "type": "number"
  20186. },
  20187. "todayselloutqty": {
  20188. "description": "今销售出库量",
  20189. "type": "number"
  20190. },
  20191. "unbuyinqty": {
  20192. "description": "采购未入库量(数据库未找到相关字段?)",
  20193. "type": "number"
  20194. },
  20195. "unitid": {
  20196. "description": "品类单位id",
  20197. "type": "integer"
  20198. },
  20199. "unselloutqty": {
  20200. "description": "销售未出库量(数据库未找到相关字段?)",
  20201. "type": "number"
  20202. },
  20203. "updatetime": {
  20204. "description": "更新时间",
  20205. "type": "string"
  20206. },
  20207. "userid": {
  20208. "description": "机构ID",
  20209. "type": "integer"
  20210. },
  20211. "username": {
  20212. "description": "机构名称",
  20213. "type": "string"
  20214. },
  20215. "warehousecode": {
  20216. "description": "仓库代码",
  20217. "type": "string"
  20218. },
  20219. "warehouseinfoid": {
  20220. "description": "仓库ID",
  20221. "type": "string"
  20222. },
  20223. "warehousename": {
  20224. "description": "仓库名称",
  20225. "type": "string"
  20226. },
  20227. "warehousetype": {
  20228. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20229. "type": "integer"
  20230. },
  20231. "wrstandardcode": {
  20232. "description": "品类代码",
  20233. "type": "string"
  20234. },
  20235. "wrstandardid": {
  20236. "description": "品类ID",
  20237. "type": "integer"
  20238. },
  20239. "wrstandardname": {
  20240. "description": "品类名称",
  20241. "type": "string"
  20242. }
  20243. }
  20244. },
  20245. "models.Ermcp3ArealSumPL": {
  20246. "type": "object",
  20247. "properties": {
  20248. "accountname": {
  20249. "description": "机构名称",
  20250. "type": "string"
  20251. },
  20252. "areauserid": {
  20253. "description": "所属机构\\交易用户ID",
  20254. "type": "integer"
  20255. },
  20256. "begindate": {
  20257. "description": "开始交易日",
  20258. "type": "string"
  20259. },
  20260. "currencyid": {
  20261. "description": "结算币种ID",
  20262. "type": "integer"
  20263. },
  20264. "currencyname": {
  20265. "description": "币种名称",
  20266. "type": "string"
  20267. },
  20268. "cycletime": {
  20269. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20270. "type": "string"
  20271. },
  20272. "cycletype": {
  20273. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20274. "type": "integer"
  20275. },
  20276. "enddate": {
  20277. "description": "结束交易日",
  20278. "type": "string"
  20279. },
  20280. "enumdicname": {
  20281. "description": "单位名称(套保品种)",
  20282. "type": "string"
  20283. },
  20284. "futureactualpl": {
  20285. "description": "期货损益",
  20286. "type": "number"
  20287. },
  20288. "futurefloatpl": {
  20289. "description": "期货浮动损益",
  20290. "type": "number"
  20291. },
  20292. "futurespotratio": {
  20293. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  20294. "type": "number"
  20295. },
  20296. "goodsunitid": {
  20297. "description": "套保品种单位id",
  20298. "type": "integer"
  20299. },
  20300. "hedgeexposurepl": {
  20301. "description": "套保敞口损益",
  20302. "type": "number"
  20303. },
  20304. "middlegoodscode": {
  20305. "description": "套保品种代码",
  20306. "type": "string"
  20307. },
  20308. "middlegoodsid": {
  20309. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20310. "type": "integer"
  20311. },
  20312. "middlegoodsname": {
  20313. "description": "套保品种名称",
  20314. "type": "string"
  20315. },
  20316. "reckondate": {
  20317. "description": "日照时期(yyyyMMdd)",
  20318. "type": "string"
  20319. },
  20320. "spotactualpl": {
  20321. "description": "现货损益",
  20322. "type": "number"
  20323. },
  20324. "spotfloatpl": {
  20325. "description": "现货浮动损益",
  20326. "type": "number"
  20327. },
  20328. "sumactualpl": {
  20329. "description": "实际损益 = (ActualPL + FutureActualPL)",
  20330. "type": "number"
  20331. },
  20332. "sumpl": {
  20333. "description": "总敞口损益 | 汇总损益",
  20334. "type": "number"
  20335. },
  20336. "totalfutureqty": {
  20337. "description": "期货头寸总量",
  20338. "type": "number"
  20339. },
  20340. "totalneedhedgeqty": {
  20341. "description": "应套保总量",
  20342. "type": "number"
  20343. },
  20344. "totalspotqty": {
  20345. "description": "现货头寸总量",
  20346. "type": "number"
  20347. },
  20348. "updatetime": {
  20349. "description": "更新时间",
  20350. "type": "string"
  20351. }
  20352. }
  20353. },
  20354. "models.Ermcp3Brand": {
  20355. "type": "object",
  20356. "properties": {
  20357. "areauserid": {
  20358. "description": "用户id",
  20359. "type": "integer"
  20360. },
  20361. "brandid": {
  20362. "description": "品牌id",
  20363. "type": "integer"
  20364. },
  20365. "brandname": {
  20366. "description": "品牌名称",
  20367. "type": "string"
  20368. },
  20369. "deliverygoodsid": {
  20370. "description": "品种ID",
  20371. "type": "integer"
  20372. },
  20373. "isvalid": {
  20374. "description": "是否有效",
  20375. "type": "integer"
  20376. }
  20377. }
  20378. },
  20379. "models.Ermcp3Contract": {
  20380. "type": "object",
  20381. "properties": {
  20382. "accountid": {
  20383. "description": "期货账户id",
  20384. "type": "string"
  20385. },
  20386. "amount": {
  20387. "description": "金额 [1:一口价、3:暂定价]",
  20388. "type": "number"
  20389. },
  20390. "attachment": {
  20391. "description": "附件",
  20392. "type": "string"
  20393. },
  20394. "auditremark": {
  20395. "description": "审核意见",
  20396. "type": "string"
  20397. },
  20398. "audittime": {
  20399. "description": "审核时间",
  20400. "type": "string"
  20401. },
  20402. "biztype": {
  20403. "description": "业务类型 1-套保 2-套利",
  20404. "type": "integer"
  20405. },
  20406. "brandname": {
  20407. "description": "品牌名称",
  20408. "type": "string"
  20409. },
  20410. "buynickname": {
  20411. "description": "销售方昵称",
  20412. "type": "string"
  20413. },
  20414. "buyuserid": {
  20415. "description": "采购方ID",
  20416. "type": "integer"
  20417. },
  20418. "buyusername": {
  20419. "description": "采购方名称",
  20420. "type": "string"
  20421. },
  20422. "contracctstatus": {
  20423. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20424. "type": "integer"
  20425. },
  20426. "contractmargin": {
  20427. "description": "合同保证金",
  20428. "type": "number"
  20429. },
  20430. "contractno": {
  20431. "description": "现货合同编号",
  20432. "type": "string"
  20433. },
  20434. "contracttype": {
  20435. "description": "现货合同类型 - 1:采购 -1:销售",
  20436. "type": "integer"
  20437. },
  20438. "convertfactor": {
  20439. "description": "标仓系数(品类)",
  20440. "type": "number"
  20441. },
  20442. "createtime": {
  20443. "description": "创建时间",
  20444. "type": "string"
  20445. },
  20446. "currencyid": {
  20447. "description": "币种id",
  20448. "type": "integer"
  20449. },
  20450. "currencyname": {
  20451. "description": "币种名称",
  20452. "type": "string"
  20453. },
  20454. "deliveryenddate": {
  20455. "description": "交收期(结束)",
  20456. "type": "string"
  20457. },
  20458. "deliverygoodscode": {
  20459. "description": "现货品种代码",
  20460. "type": "string"
  20461. },
  20462. "deliverygoodsid": {
  20463. "description": "现货品种ID",
  20464. "type": "integer"
  20465. },
  20466. "deliverygoodsname": {
  20467. "description": "现货品种名称",
  20468. "type": "string"
  20469. },
  20470. "deliverystartdate": {
  20471. "description": "交收期(开始)",
  20472. "type": "string"
  20473. },
  20474. "enddate": {
  20475. "description": "点价结束日期 [2:点价 3:暂定价]",
  20476. "type": "string"
  20477. },
  20478. "enumdicname": {
  20479. "description": "单位名称",
  20480. "type": "string"
  20481. },
  20482. "goodscode": {
  20483. "description": "点价合约代码",
  20484. "type": "string"
  20485. },
  20486. "goodsid": {
  20487. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20488. "type": "integer"
  20489. },
  20490. "goodsname": {
  20491. "description": "点价商品名称",
  20492. "type": "string"
  20493. },
  20494. "margin": {
  20495. "description": "当前保证金",
  20496. "type": "number"
  20497. },
  20498. "meruserid": {
  20499. "description": "跟单员id",
  20500. "type": "integer"
  20501. },
  20502. "meruserlogincode": {
  20503. "description": "跟单员登录代码",
  20504. "type": "string"
  20505. },
  20506. "merusername": {
  20507. "description": "跟单员名称",
  20508. "type": "string"
  20509. },
  20510. "price": {
  20511. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  20512. "type": "number"
  20513. },
  20514. "pricemove": {
  20515. "description": "升贴水 [2:点价 3:暂定价]",
  20516. "type": "number"
  20517. },
  20518. "pricetype": {
  20519. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20520. "type": "integer"
  20521. },
  20522. "producttype": {
  20523. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20524. "type": "integer"
  20525. },
  20526. "qty": {
  20527. "description": "数量",
  20528. "type": "number"
  20529. },
  20530. "remark": {
  20531. "description": "备注",
  20532. "type": "string"
  20533. },
  20534. "saleuserid": {
  20535. "description": "业务员id",
  20536. "type": "integer"
  20537. },
  20538. "saleuserlogincode": {
  20539. "description": "业务员登录代码",
  20540. "type": "string"
  20541. },
  20542. "saleusername": {
  20543. "description": "业务员名称",
  20544. "type": "string"
  20545. },
  20546. "sellnickname": {
  20547. "description": "采购方昵称",
  20548. "type": "string"
  20549. },
  20550. "selluserid": {
  20551. "description": "销售方ID",
  20552. "type": "integer"
  20553. },
  20554. "sellusername": {
  20555. "description": "销售方名称",
  20556. "type": "string"
  20557. },
  20558. "spotcontractid": {
  20559. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20560. "type": "string"
  20561. },
  20562. "spotgoodsbrandid": {
  20563. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20564. "type": "integer"
  20565. },
  20566. "spotgoodsdesc": {
  20567. "description": "商品型号",
  20568. "type": "string"
  20569. },
  20570. "startdate": {
  20571. "description": "点价开始日期 [2:点价 3:暂定价]",
  20572. "type": "string"
  20573. },
  20574. "subjectid": {
  20575. "description": "交易主体ID",
  20576. "type": "integer"
  20577. },
  20578. "subjectname": {
  20579. "description": "交易主体名称",
  20580. "type": "string"
  20581. },
  20582. "tradeuserid": {
  20583. "description": "交易员id",
  20584. "type": "integer"
  20585. },
  20586. "tradeuserlogincode": {
  20587. "description": "交易员登录代码",
  20588. "type": "string"
  20589. },
  20590. "tradeusername": {
  20591. "description": "交易员名称",
  20592. "type": "string"
  20593. },
  20594. "unitid": {
  20595. "description": "单位id(取品类上的单位id)",
  20596. "type": "integer"
  20597. },
  20598. "updatetime": {
  20599. "description": "更新时间",
  20600. "type": "string"
  20601. },
  20602. "userid": {
  20603. "description": "所属机构ID",
  20604. "type": "integer"
  20605. },
  20606. "vatrate": {
  20607. "description": "增值税率",
  20608. "type": "number"
  20609. },
  20610. "wrstandardcode": {
  20611. "description": "品类代码",
  20612. "type": "string"
  20613. },
  20614. "wrstandardid": {
  20615. "description": "品类ID",
  20616. "type": "integer"
  20617. },
  20618. "wrstandardname": {
  20619. "description": "品类名称",
  20620. "type": "string"
  20621. }
  20622. }
  20623. },
  20624. "models.Ermcp3ExposureContractDetail": {
  20625. "type": "object",
  20626. "properties": {
  20627. "biztype": {
  20628. "description": "业务类型 1-套保 2-套利",
  20629. "type": "integer"
  20630. },
  20631. "brandname": {
  20632. "description": "品牌名称",
  20633. "type": "string"
  20634. },
  20635. "buyuserid": {
  20636. "description": "采购方id",
  20637. "type": "integer"
  20638. },
  20639. "buyusername": {
  20640. "description": "采购方名称",
  20641. "type": "string"
  20642. },
  20643. "contractno": {
  20644. "description": "合同编号",
  20645. "type": "string"
  20646. },
  20647. "contracttype": {
  20648. "description": "现货合同类型 - 1:采购 -1:销售",
  20649. "type": "integer"
  20650. },
  20651. "convertfactor": {
  20652. "description": "标仓系数",
  20653. "type": "number"
  20654. },
  20655. "convertratio": {
  20656. "description": "折算系数(套保品种)",
  20657. "type": "number"
  20658. },
  20659. "curqty": {
  20660. "description": "今定价量",
  20661. "type": "number"
  20662. },
  20663. "deliverygoodscode": {
  20664. "description": "现货品种代码",
  20665. "type": "string"
  20666. },
  20667. "deliverygoodsid": {
  20668. "description": "现货品种id",
  20669. "type": "integer"
  20670. },
  20671. "deliverygoodsname": {
  20672. "description": "现货品种名称",
  20673. "type": "string"
  20674. },
  20675. "diffhedgeqty": {
  20676. "description": "套保变动量",
  20677. "type": "number"
  20678. },
  20679. "diffneedhedgeqty": {
  20680. "description": "应套保变动量",
  20681. "type": "number"
  20682. },
  20683. "diffqty": {
  20684. "description": "套保品种今变动量",
  20685. "type": "number"
  20686. },
  20687. "enumdicname": {
  20688. "description": "单位名称",
  20689. "type": "string"
  20690. },
  20691. "mgunitname": {
  20692. "description": "套保品种单位名称",
  20693. "type": "string"
  20694. },
  20695. "middlegoodscode": {
  20696. "description": "套保品种代码",
  20697. "type": "string"
  20698. },
  20699. "middlegoodsid": {
  20700. "description": "套保品种id",
  20701. "type": "integer"
  20702. },
  20703. "middlegoodsname": {
  20704. "description": "套保品种名称",
  20705. "type": "string"
  20706. },
  20707. "needarbitrageratio": {
  20708. "description": "应套利比例",
  20709. "type": "number"
  20710. },
  20711. "needhedgeratio": {
  20712. "description": "应套保比例",
  20713. "type": "number"
  20714. },
  20715. "pricedqty": {
  20716. "description": "已定价量",
  20717. "type": "number"
  20718. },
  20719. "qty": {
  20720. "description": "合同量",
  20721. "type": "number"
  20722. },
  20723. "selluserid": {
  20724. "description": "销售方id",
  20725. "type": "integer"
  20726. },
  20727. "sellusername": {
  20728. "description": "销售方名称",
  20729. "type": "string"
  20730. },
  20731. "spotcontractid": {
  20732. "description": "合同id",
  20733. "type": "string"
  20734. },
  20735. "todaypricedqty": {
  20736. "description": "今定价量",
  20737. "type": "number"
  20738. },
  20739. "tradedate": {
  20740. "description": "交易日",
  20741. "type": "string"
  20742. },
  20743. "unitid": {
  20744. "description": "品类单位id",
  20745. "type": "integer"
  20746. },
  20747. "userid": {
  20748. "description": "机构id",
  20749. "type": "integer"
  20750. },
  20751. "username": {
  20752. "description": "交易用户",
  20753. "type": "string"
  20754. },
  20755. "wrstandardcode": {
  20756. "description": "现货商品代码",
  20757. "type": "string"
  20758. },
  20759. "wrstandardid": {
  20760. "description": "现货商品id",
  20761. "type": "integer"
  20762. },
  20763. "wrstandardname": {
  20764. "description": "现货商品名称",
  20765. "type": "string"
  20766. }
  20767. }
  20768. },
  20769. "models.Ermcp3ExposureDetail": {
  20770. "type": "object",
  20771. "properties": {
  20772. "areauserid": {
  20773. "description": "机构ID",
  20774. "type": "integer"
  20775. },
  20776. "changeQty": {
  20777. "description": "套保变动量",
  20778. "type": "number"
  20779. },
  20780. "contracttype": {
  20781. "description": "现货合同类型 - 1:采购 -1:销售",
  20782. "type": "integer"
  20783. },
  20784. "convertfactor": {
  20785. "description": "标仓系数",
  20786. "type": "number"
  20787. },
  20788. "convertratio": {
  20789. "description": "折算系数",
  20790. "type": "number"
  20791. },
  20792. "createtime": {
  20793. "description": "时间",
  20794. "type": "string"
  20795. },
  20796. "enumdicname": {
  20797. "description": "现货商品单位名称",
  20798. "type": "string"
  20799. },
  20800. "logtype": {
  20801. "description": "类型 - 1:套保计划 2:现货合同",
  20802. "type": "integer"
  20803. },
  20804. "mgunitid": {
  20805. "description": "套保品种单位id",
  20806. "type": "integer"
  20807. },
  20808. "mgunitidname": {
  20809. "description": "套保品种单位名称",
  20810. "type": "string"
  20811. },
  20812. "middlegoodsId": {
  20813. "description": "套保商品id",
  20814. "type": "integer"
  20815. },
  20816. "middlegoodscode": {
  20817. "description": "套保商品代码",
  20818. "type": "string"
  20819. },
  20820. "middlegoodsname": {
  20821. "description": "套保商品名称",
  20822. "type": "string"
  20823. },
  20824. "qty": {
  20825. "description": "数量",
  20826. "type": "number"
  20827. },
  20828. "relateNo": {
  20829. "description": "现货合同/套保计划编号",
  20830. "type": "string"
  20831. },
  20832. "unitid": {
  20833. "description": "现货商品单位id",
  20834. "type": "integer"
  20835. },
  20836. "wrstandardcode": {
  20837. "description": "现货商品代码",
  20838. "type": "string"
  20839. },
  20840. "wrstandardid": {
  20841. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20842. "type": "integer"
  20843. },
  20844. "wrstandardname": {
  20845. "description": "现货商品名称",
  20846. "type": "string"
  20847. }
  20848. }
  20849. },
  20850. "models.Ermcp3ExposureFutuDetail": {
  20851. "type": "object",
  20852. "properties": {
  20853. "accountid": {
  20854. "description": "交易账户id",
  20855. "type": "integer"
  20856. },
  20857. "accountname": {
  20858. "description": "交易账户",
  20859. "type": "string"
  20860. },
  20861. "begindate": {
  20862. "description": "开始交易日",
  20863. "type": "string"
  20864. },
  20865. "buyorsell": {
  20866. "description": "方向 0-买 1-卖",
  20867. "type": "integer"
  20868. },
  20869. "diffmgqty": {
  20870. "description": "套保品种今变化量",
  20871. "type": "number"
  20872. },
  20873. "diffneedqty": {
  20874. "description": "应套保总量变化量",
  20875. "type": "number"
  20876. },
  20877. "difftradeqty": {
  20878. "description": "交易品种今变化量",
  20879. "type": "number"
  20880. },
  20881. "enddate": {
  20882. "description": "结束交易日",
  20883. "type": "string"
  20884. },
  20885. "enumdicname": {
  20886. "description": "单位名称",
  20887. "type": "string"
  20888. },
  20889. "goodscode": {
  20890. "description": "商品代码",
  20891. "type": "string"
  20892. },
  20893. "goodsid": {
  20894. "description": "商品id",
  20895. "type": "integer"
  20896. },
  20897. "goodsname": {
  20898. "description": "商品名称",
  20899. "type": "string"
  20900. },
  20901. "holdqty": {
  20902. "description": "期末持仓量",
  20903. "type": "number"
  20904. },
  20905. "middlegoodscode": {
  20906. "description": "套保商品代码",
  20907. "type": "string"
  20908. },
  20909. "middlegoodsid": {
  20910. "description": "套保商品id",
  20911. "type": "integer"
  20912. },
  20913. "middlegoodsname": {
  20914. "description": "套保商品名称",
  20915. "type": "string"
  20916. },
  20917. "oriholdqty": {
  20918. "description": "期初持仓量",
  20919. "type": "number"
  20920. },
  20921. "todaycloseqty": {
  20922. "description": "今平仓量",
  20923. "type": "number"
  20924. },
  20925. "todayopenqty": {
  20926. "description": "今开仓量",
  20927. "type": "number"
  20928. },
  20929. "tradedate": {
  20930. "description": "交易日",
  20931. "type": "string"
  20932. },
  20933. "username": {
  20934. "description": "用户名称(交易用户)",
  20935. "type": "string"
  20936. }
  20937. }
  20938. },
  20939. "models.Ermcp3ExposureHedgeplanDetail": {
  20940. "type": "object",
  20941. "properties": {
  20942. "biztype": {
  20943. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  20944. "type": "integer"
  20945. },
  20946. "changqty": {
  20947. "description": "应套保总量变化量",
  20948. "type": "number"
  20949. },
  20950. "contracttype": {
  20951. "description": "计划类型 - 1:采购 -1:销售",
  20952. "type": "integer"
  20953. },
  20954. "convertratio": {
  20955. "description": "折算系数(套保品种)",
  20956. "type": "number"
  20957. },
  20958. "deliverygoodscode": {
  20959. "description": "现货商品代码",
  20960. "type": "string"
  20961. },
  20962. "deliverygoodsid": {
  20963. "description": "现货商品id",
  20964. "type": "integer"
  20965. },
  20966. "deliverygoodsname": {
  20967. "description": "现货商吕名称",
  20968. "type": "string"
  20969. },
  20970. "dgunitid": {
  20971. "description": "现货商品单位id",
  20972. "type": "integer"
  20973. },
  20974. "dgunitidname": {
  20975. "description": "单位名称(现货商品)",
  20976. "type": "string"
  20977. },
  20978. "diffqty": {
  20979. "description": "套保品种今变动量",
  20980. "type": "number"
  20981. },
  20982. "enumdicname": {
  20983. "description": "单位名称(品类)",
  20984. "type": "string"
  20985. },
  20986. "hedgeplanid": {
  20987. "description": "套保计划id",
  20988. "type": "string"
  20989. },
  20990. "hedgeplanno": {
  20991. "description": "套保计划名称",
  20992. "type": "string"
  20993. },
  20994. "hedgeplanstatus": {
  20995. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20996. "type": "integer"
  20997. },
  20998. "mgunitidname": {
  20999. "description": "单位名称(套保商品)",
  21000. "type": "string"
  21001. },
  21002. "middlegoodscode": {
  21003. "description": "套保品种代码",
  21004. "type": "string"
  21005. },
  21006. "middlegoodsid": {
  21007. "description": "套保品种id",
  21008. "type": "integer"
  21009. },
  21010. "middlegoodsname": {
  21011. "description": "套保品种名称",
  21012. "type": "string"
  21013. },
  21014. "needarbitrageratio": {
  21015. "description": "应套利比例",
  21016. "type": "number"
  21017. },
  21018. "needhedgeratio": {
  21019. "description": "应套保比例",
  21020. "type": "number"
  21021. },
  21022. "pricedqty": {
  21023. "description": "已定价量",
  21024. "type": "number"
  21025. },
  21026. "qty": {
  21027. "description": "合同量",
  21028. "type": "number"
  21029. },
  21030. "tradedate": {
  21031. "description": "交易日(登记日)",
  21032. "type": "string"
  21033. },
  21034. "unitid": {
  21035. "description": "品类单位id",
  21036. "type": "integer"
  21037. },
  21038. "userid": {
  21039. "description": "机构id",
  21040. "type": "integer"
  21041. },
  21042. "wrstandardcode": {
  21043. "description": "品类代码",
  21044. "type": "string"
  21045. },
  21046. "wrstandardid": {
  21047. "description": "品类id",
  21048. "type": "integer"
  21049. },
  21050. "wrstandardname": {
  21051. "description": "品类名称",
  21052. "type": "string"
  21053. }
  21054. }
  21055. },
  21056. "models.Ermcp3ExposureParamChLog": {
  21057. "type": "object",
  21058. "properties": {
  21059. "accountid": {
  21060. "description": "期货账户ID (作废, 默认为0)",
  21061. "type": "integer"
  21062. },
  21063. "aftervalue": {
  21064. "description": "应套保\\套利量变更后(调整后应套保总量)",
  21065. "type": "number"
  21066. },
  21067. "areauserid": {
  21068. "description": "所属机构\\交易用户ID",
  21069. "type": "integer"
  21070. },
  21071. "beforevalue": {
  21072. "description": "应套保\\套利量变更前(调整前应套保总量)",
  21073. "type": "number"
  21074. },
  21075. "begindate": {
  21076. "description": "开始交易日",
  21077. "type": "string"
  21078. },
  21079. "changelogtype": {
  21080. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  21081. "type": "integer"
  21082. },
  21083. "curvalue": {
  21084. "description": "当前套保\\套利量(套保总量|套利总量)",
  21085. "type": "number"
  21086. },
  21087. "diffvalue": {
  21088. "description": "应套保总量变化量",
  21089. "type": "number"
  21090. },
  21091. "enddate": {
  21092. "description": "结束交易日",
  21093. "type": "string"
  21094. },
  21095. "logdatetime": {
  21096. "description": "流水日期",
  21097. "type": "string"
  21098. },
  21099. "logid": {
  21100. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  21101. "type": "string"
  21102. },
  21103. "middlegoodscode": {
  21104. "description": "套保品种代码",
  21105. "type": "string"
  21106. },
  21107. "middlegoodsid": {
  21108. "description": "套保品种",
  21109. "type": "integer"
  21110. },
  21111. "middlegoodsname": {
  21112. "description": "套保品种名称",
  21113. "type": "string"
  21114. },
  21115. "paramaftervalue": {
  21116. "description": "参数变更后(调整后参数值)",
  21117. "type": "number"
  21118. },
  21119. "parambeforevalue": {
  21120. "description": "参数变更前(调整前参数值)",
  21121. "type": "number"
  21122. },
  21123. "tradedate": {
  21124. "description": "交易日(yyyyMMdd)",
  21125. "type": "string"
  21126. }
  21127. }
  21128. },
  21129. "models.Ermcp3ExpourseReport": {
  21130. "type": "object",
  21131. "properties": {
  21132. "accountid": {
  21133. "description": "期货账户ID (作废, 默认为0)",
  21134. "type": "integer"
  21135. },
  21136. "accountname": {
  21137. "description": "机构名称",
  21138. "type": "string"
  21139. },
  21140. "arbitrageqty": {
  21141. "description": "套利量",
  21142. "type": "number"
  21143. },
  21144. "areauserid": {
  21145. "description": "所属机构\\交易用户ID",
  21146. "type": "integer"
  21147. },
  21148. "begindate": {
  21149. "description": "开始交易日",
  21150. "type": "string"
  21151. },
  21152. "buyfutureqty": {
  21153. "description": "买入期货数量",
  21154. "type": "number"
  21155. },
  21156. "buyplanqty": {
  21157. "description": "采购计划数量",
  21158. "type": "number"
  21159. },
  21160. "buypricedqty": {
  21161. "description": "采购合同已定价数量",
  21162. "type": "number"
  21163. },
  21164. "cycletime": {
  21165. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21166. "type": "string"
  21167. },
  21168. "cycletype": {
  21169. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21170. "type": "integer"
  21171. },
  21172. "diffexposure": {
  21173. "description": "变动量(套保敞口)",
  21174. "type": "number"
  21175. },
  21176. "difffutuqty": {
  21177. "description": "变动量(期货)",
  21178. "type": "number"
  21179. },
  21180. "diffhedgeqty": {
  21181. "description": "变动量(现货应套保总量)",
  21182. "type": "number"
  21183. },
  21184. "diffmgqtya": {
  21185. "description": "套保变动量",
  21186. "type": "number"
  21187. },
  21188. "diffmgqtyb": {
  21189. "description": "套利变动量",
  21190. "type": "number"
  21191. },
  21192. "diffqty": {
  21193. "description": "变动量(总敞口)",
  21194. "type": "number"
  21195. },
  21196. "diffspotqty": {
  21197. "description": "变动量(现货)",
  21198. "type": "number"
  21199. },
  21200. "enddate": {
  21201. "description": "结束交易日",
  21202. "type": "string"
  21203. },
  21204. "enumdicname": {
  21205. "description": "单位名称",
  21206. "type": "string"
  21207. },
  21208. "hedgeqty": {
  21209. "description": "套保量",
  21210. "type": "number"
  21211. },
  21212. "mgneedhedgeratio": {
  21213. "description": "套保比例(套保品的)",
  21214. "type": "number"
  21215. },
  21216. "middlegoodsid": {
  21217. "description": "套保品种ID",
  21218. "type": "integer"
  21219. },
  21220. "middlegoodsname": {
  21221. "description": "套保商品名称",
  21222. "type": "string"
  21223. },
  21224. "middlgoodscode": {
  21225. "description": "套保商品代码",
  21226. "type": "string"
  21227. },
  21228. "needarbitrageqty": {
  21229. "description": "应套利量",
  21230. "type": "number"
  21231. },
  21232. "needarbitrageratio": {
  21233. "description": "套利比例(套保品的)",
  21234. "type": "number"
  21235. },
  21236. "needhedgeexposoure": {
  21237. "description": "应套保敞口(套保敞口)",
  21238. "type": "number"
  21239. },
  21240. "needhedgeqty": {
  21241. "description": "应套保量",
  21242. "type": "number"
  21243. },
  21244. "needhedgeratio": {
  21245. "description": "应套保敞口比例",
  21246. "type": "number"
  21247. },
  21248. "oriarbitrageqty": {
  21249. "description": "期初套利量",
  21250. "type": "number"
  21251. },
  21252. "oribuyfutureqty": {
  21253. "description": "期初买入期货数量",
  21254. "type": "number"
  21255. },
  21256. "oribuyplanqty": {
  21257. "description": "期初采购计划数量",
  21258. "type": "number"
  21259. },
  21260. "oribuypricedqty": {
  21261. "description": "期初采购合同已定价数量",
  21262. "type": "number"
  21263. },
  21264. "orihedgeqty": {
  21265. "description": "期初套保量",
  21266. "type": "number"
  21267. },
  21268. "orineedarbitrageqty": {
  21269. "description": "期初应套利量",
  21270. "type": "number"
  21271. },
  21272. "orineedhedgeexposoure": {
  21273. "description": "期初应套保敞口",
  21274. "type": "number"
  21275. },
  21276. "orineedhedgeqty": {
  21277. "description": "期初应套保量",
  21278. "type": "number"
  21279. },
  21280. "orisellfutureqty": {
  21281. "description": "期初卖出期货数量",
  21282. "type": "number"
  21283. },
  21284. "orisellplanqty": {
  21285. "description": "期初销售计划数量",
  21286. "type": "number"
  21287. },
  21288. "orisellpricedqty": {
  21289. "description": "期初销售合同已定价数量",
  21290. "type": "number"
  21291. },
  21292. "oritotalexposure": {
  21293. "description": "期初实时总敞口",
  21294. "type": "number"
  21295. },
  21296. "oritotalfutureqty": {
  21297. "description": "期初期货头寸总量",
  21298. "type": "number"
  21299. },
  21300. "oritotalneedhedgeqty": {
  21301. "description": "期初应套保总量",
  21302. "type": "number"
  21303. },
  21304. "oritotalspotqty": {
  21305. "description": "期初现货头寸总量",
  21306. "type": "number"
  21307. },
  21308. "reckondate": {
  21309. "description": "日照时期(yyyyMMdd)",
  21310. "type": "string"
  21311. },
  21312. "sellfutureqty": {
  21313. "description": "卖出期货数量",
  21314. "type": "number"
  21315. },
  21316. "sellplanqty": {
  21317. "description": "销售计划数量",
  21318. "type": "number"
  21319. },
  21320. "sellpricedqty": {
  21321. "description": "销售合同已定价数量",
  21322. "type": "number"
  21323. },
  21324. "totalexposure": {
  21325. "description": "实时总敞口(总敞口)",
  21326. "type": "number"
  21327. },
  21328. "totalfutureqty": {
  21329. "description": "期货头寸总量(期货总量)",
  21330. "type": "number"
  21331. },
  21332. "totalhedgeratio": {
  21333. "description": "敞口比例",
  21334. "type": "number"
  21335. },
  21336. "totalneedhedgeqty": {
  21337. "description": "应套保总量(现货应套保总量)",
  21338. "type": "number"
  21339. },
  21340. "totalspotqty": {
  21341. "description": "现货头寸总量",
  21342. "type": "number"
  21343. },
  21344. "unitid": {
  21345. "description": "单位id",
  21346. "type": "integer"
  21347. },
  21348. "updatetime": {
  21349. "description": "更新时间",
  21350. "type": "string"
  21351. }
  21352. }
  21353. },
  21354. "models.Ermcp3FinanceReport": {
  21355. "type": "object",
  21356. "properties": {
  21357. "accountname": {
  21358. "description": "机构名称",
  21359. "type": "string"
  21360. },
  21361. "areauserid": {
  21362. "description": "所属机构\\交易用户ID",
  21363. "type": "integer"
  21364. },
  21365. "begindate": {
  21366. "description": "开始交易日",
  21367. "type": "string"
  21368. },
  21369. "biztype": {
  21370. "description": "业务类型 - 1:套保 2:套利",
  21371. "type": "integer"
  21372. },
  21373. "brandname": {
  21374. "description": "品牌名称",
  21375. "type": "string"
  21376. },
  21377. "buypreinvoicedamount": {
  21378. "description": "采购预收票额(预收票额)",
  21379. "type": "number"
  21380. },
  21381. "buyprepaidamount": {
  21382. "description": "采购预付款额(预付货款额)",
  21383. "type": "number"
  21384. },
  21385. "buytodayinvoiceamount": {
  21386. "description": "采购今收票额(今收票额)",
  21387. "type": "number"
  21388. },
  21389. "buytodayrefundamount": {
  21390. "description": "采购今收退款额(今收退款额)",
  21391. "type": "number"
  21392. },
  21393. "buytodaysettleamount": {
  21394. "description": "采购今付款额(今付货款额)",
  21395. "type": "number"
  21396. },
  21397. "buyuninvoicedamount": {
  21398. "description": "采购应收票额(应收票额)",
  21399. "type": "number"
  21400. },
  21401. "buyunpaidamount": {
  21402. "description": "采购应付款额(应付货款额)",
  21403. "type": "number"
  21404. },
  21405. "currencyid": {
  21406. "description": "结算币种ID",
  21407. "type": "integer"
  21408. },
  21409. "currencyname": {
  21410. "description": "币种名称",
  21411. "type": "string"
  21412. },
  21413. "cycletime": {
  21414. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21415. "type": "string"
  21416. },
  21417. "cycletype": {
  21418. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21419. "type": "integer"
  21420. },
  21421. "deliverygoodscode": {
  21422. "description": "现货品种代码",
  21423. "type": "string"
  21424. },
  21425. "deliverygoodsid": {
  21426. "description": "现货品种ID",
  21427. "type": "integer"
  21428. },
  21429. "deliverygoodsname": {
  21430. "description": "现货品种名称",
  21431. "type": "string"
  21432. },
  21433. "enddate": {
  21434. "description": "结束交易日",
  21435. "type": "string"
  21436. },
  21437. "reckondate": {
  21438. "description": "日照时期(yyyyMMdd)",
  21439. "type": "string"
  21440. },
  21441. "sellpreinvoicedamount": {
  21442. "description": "销售预开票额(预开票额)",
  21443. "type": "number"
  21444. },
  21445. "sellprepaidamount": {
  21446. "description": "销售预收款额(预收货款额)",
  21447. "type": "number"
  21448. },
  21449. "selltodayinvoiceamount": {
  21450. "description": "销售今开票额(今开票额)",
  21451. "type": "number"
  21452. },
  21453. "selltodayrefundamount": {
  21454. "description": "销售今付退款额(今付退款额)",
  21455. "type": "number"
  21456. },
  21457. "selltodaysettleamount": {
  21458. "description": "销售今收款额(今收货款额)",
  21459. "type": "number"
  21460. },
  21461. "selluninvoicedamount": {
  21462. "description": "销售应开票额(应开票额)",
  21463. "type": "number"
  21464. },
  21465. "sellunpaidamount": {
  21466. "description": "销售应收款额(应收货款额)",
  21467. "type": "number"
  21468. },
  21469. "spotgoodsbrandid": {
  21470. "description": "现货品牌ID",
  21471. "type": "integer"
  21472. },
  21473. "todaypaysum": {
  21474. "description": "今付款合计",
  21475. "type": "number"
  21476. },
  21477. "todayreceivesum": {
  21478. "description": "今收款合计",
  21479. "type": "number"
  21480. },
  21481. "updatetime": {
  21482. "description": "更新时间",
  21483. "type": "string"
  21484. },
  21485. "wrfactortypeid": {
  21486. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21487. "type": "integer"
  21488. },
  21489. "wrstandardcode": {
  21490. "description": "品类代码",
  21491. "type": "string"
  21492. },
  21493. "wrstandardid": {
  21494. "description": "现货商品ID",
  21495. "type": "integer"
  21496. },
  21497. "wrstandardname": {
  21498. "description": "品类名称",
  21499. "type": "string"
  21500. }
  21501. }
  21502. },
  21503. "models.Ermcp3GoodsGroup": {
  21504. "type": "object",
  21505. "required": [
  21506. "areauserid"
  21507. ],
  21508. "properties": {
  21509. "agreeunit": {
  21510. "description": "合约单位",
  21511. "type": "number"
  21512. },
  21513. "areauserid": {
  21514. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  21515. "type": "integer"
  21516. },
  21517. "canshort": {
  21518. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21519. "type": "integer"
  21520. },
  21521. "closepricemode": {
  21522. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21523. "type": "integer"
  21524. },
  21525. "createtime": {
  21526. "description": "创建时间",
  21527. "type": "string"
  21528. },
  21529. "creatorid": {
  21530. "description": "创建人",
  21531. "type": "integer"
  21532. },
  21533. "currencyid": {
  21534. "description": "报价货币ID",
  21535. "type": "integer"
  21536. },
  21537. "decimalplace": {
  21538. "description": "报价小数位",
  21539. "type": "integer"
  21540. },
  21541. "enumdicname": {
  21542. "description": "单位名称",
  21543. "type": "string"
  21544. },
  21545. "exchangefullname": {
  21546. "description": "交易所全称",
  21547. "type": "string"
  21548. },
  21549. "excludecfg": {
  21550. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  21551. "type": "integer"
  21552. },
  21553. "exexchangecode": {
  21554. "description": "交易所代码",
  21555. "type": "string"
  21556. },
  21557. "exexchangeid": {
  21558. "description": "外部交易所ID[通道交易]",
  21559. "type": "integer"
  21560. },
  21561. "exexchangename": {
  21562. "description": "交易所名称",
  21563. "type": "string"
  21564. },
  21565. "goodsgroupid": {
  21566. "description": "商品组ID(自增ID)",
  21567. "type": "integer"
  21568. },
  21569. "goodsgroupname": {
  21570. "description": "商品组名称",
  21571. "type": "string"
  21572. },
  21573. "goodsgroupstatus": {
  21574. "description": "商品组状态 - 1:正常 2:注销",
  21575. "type": "integer"
  21576. },
  21577. "goodunitid": {
  21578. "description": "报价单位ID",
  21579. "type": "integer"
  21580. },
  21581. "groupcategroyid": {
  21582. "description": "品种分类ID",
  21583. "type": "integer"
  21584. },
  21585. "innerdealmode": {
  21586. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21587. "type": "integer"
  21588. },
  21589. "marketid": {
  21590. "description": "所属市场ID",
  21591. "type": "integer"
  21592. },
  21593. "modifierid": {
  21594. "description": "修改人",
  21595. "type": "integer"
  21596. },
  21597. "modifytime": {
  21598. "description": "修改时间",
  21599. "type": "string"
  21600. },
  21601. "outerdealmode": {
  21602. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21603. "type": "integer"
  21604. },
  21605. "outergroupcode": {
  21606. "description": "外部商品组代码[通道交易]",
  21607. "type": "string"
  21608. },
  21609. "quoteminunit": {
  21610. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21611. "type": "integer"
  21612. },
  21613. "quotesourcegroupid": {
  21614. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21615. "type": "integer"
  21616. },
  21617. "syncgoodsqty": {
  21618. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21619. "type": "integer"
  21620. }
  21621. }
  21622. },
  21623. "models.Ermcp3HedgePlan": {
  21624. "type": "object",
  21625. "properties": {
  21626. "accountid": {
  21627. "description": "资金账号",
  21628. "type": "integer"
  21629. },
  21630. "areauserid": {
  21631. "description": "用户ID",
  21632. "type": "integer"
  21633. },
  21634. "auditid": {
  21635. "description": "审核id",
  21636. "type": "integer"
  21637. },
  21638. "auditname": {
  21639. "description": "审核人名称",
  21640. "type": "string"
  21641. },
  21642. "auditremark": {
  21643. "description": "审核备注",
  21644. "type": "string"
  21645. },
  21646. "auditsrc": {
  21647. "description": "审核来源 1-管理端 2-终端",
  21648. "type": "integer"
  21649. },
  21650. "audittime": {
  21651. "description": "审核时间",
  21652. "type": "string"
  21653. },
  21654. "contracttype": {
  21655. "description": "计划类型 - 1:采购 -1:销售",
  21656. "type": "integer"
  21657. },
  21658. "convertfactor": {
  21659. "description": "标仓系数",
  21660. "type": "number"
  21661. },
  21662. "createtime": {
  21663. "description": "创建时间",
  21664. "type": "string"
  21665. },
  21666. "currencyid": {
  21667. "description": "币种id",
  21668. "type": "integer"
  21669. },
  21670. "currencyname": {
  21671. "description": "币种名称",
  21672. "type": "string"
  21673. },
  21674. "deliverygoodscode": {
  21675. "description": "现货品种代码",
  21676. "type": "string"
  21677. },
  21678. "deliverygoodsid": {
  21679. "description": "现货品种ID",
  21680. "type": "integer"
  21681. },
  21682. "deliverygoodsname": {
  21683. "description": "现货品种名称",
  21684. "type": "string"
  21685. },
  21686. "enumdicname": {
  21687. "description": "单位名称(现货商品)",
  21688. "type": "string"
  21689. },
  21690. "hedgeplanid": {
  21691. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  21692. "type": "string"
  21693. },
  21694. "hedgeplanno": {
  21695. "description": "套保计划编号(名称)",
  21696. "type": "string"
  21697. },
  21698. "hedgeplanstatus": {
  21699. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21700. "type": "integer"
  21701. },
  21702. "planqty": {
  21703. "description": "计划数量",
  21704. "type": "number"
  21705. },
  21706. "plantime": {
  21707. "description": "计划时间",
  21708. "type": "string"
  21709. },
  21710. "producttype": {
  21711. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21712. "type": "integer"
  21713. },
  21714. "remark": {
  21715. "description": "备注",
  21716. "type": "string"
  21717. },
  21718. "spotgoodsdesc": {
  21719. "description": "商品型号",
  21720. "type": "string"
  21721. },
  21722. "taaccountname": {
  21723. "description": "资金账号名称",
  21724. "type": "string"
  21725. },
  21726. "tradeuserid": {
  21727. "description": "交易用户id",
  21728. "type": "integer"
  21729. },
  21730. "tradeusername": {
  21731. "description": "交易用户名称",
  21732. "type": "string"
  21733. },
  21734. "unitid": {
  21735. "description": "单位id(现货商品)",
  21736. "type": "integer"
  21737. },
  21738. "updatetime": {
  21739. "description": "更新时间",
  21740. "type": "string"
  21741. },
  21742. "vatrate": {
  21743. "description": "增值税率",
  21744. "type": "number"
  21745. },
  21746. "wrstandardcode": {
  21747. "description": "品类代码",
  21748. "type": "string"
  21749. },
  21750. "wrstandardid": {
  21751. "description": "品类id",
  21752. "type": "integer"
  21753. },
  21754. "wrstandardname": {
  21755. "description": "品类名称",
  21756. "type": "string"
  21757. },
  21758. "wrunitid": {
  21759. "description": "品类单位id",
  21760. "type": "integer"
  21761. },
  21762. "wrunitidame": {
  21763. "description": "品类单位名称",
  21764. "type": "string"
  21765. }
  21766. }
  21767. },
  21768. "models.Ermcp3InnerTradeLink": {
  21769. "type": "object",
  21770. "properties": {
  21771. "accountid": {
  21772. "description": "期货账号代码 | 资金账号ID",
  21773. "type": "integer"
  21774. },
  21775. "buyorsell": {
  21776. "description": "方向 - 0:买 1:卖",
  21777. "type": "integer"
  21778. },
  21779. "channelbuildtype": {
  21780. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21781. "type": "integer"
  21782. },
  21783. "currencyid": {
  21784. "description": "币种id",
  21785. "type": "integer"
  21786. },
  21787. "currencyname": {
  21788. "description": "结算币种 名称",
  21789. "type": "string"
  21790. },
  21791. "goodscode": {
  21792. "description": "商品代码",
  21793. "type": "string"
  21794. },
  21795. "goodsid": {
  21796. "description": "商品ID",
  21797. "type": "integer"
  21798. },
  21799. "goodsname": {
  21800. "description": "商品名称",
  21801. "type": "string"
  21802. },
  21803. "outtradeid": {
  21804. "description": "外部成交单号",
  21805. "type": "string"
  21806. },
  21807. "taname": {
  21808. "description": "期货账户名称",
  21809. "type": "string"
  21810. },
  21811. "tradeid": {
  21812. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21813. "type": "string"
  21814. },
  21815. "tradeprice": {
  21816. "description": "成交价格",
  21817. "type": "number"
  21818. },
  21819. "tradeqty": {
  21820. "description": "期货成交数量",
  21821. "type": "integer"
  21822. },
  21823. "tradetime": {
  21824. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  21825. "type": "string"
  21826. },
  21827. "username": {
  21828. "description": "用户名称",
  21829. "type": "string"
  21830. }
  21831. }
  21832. },
  21833. "models.Ermcp3OutTradeLink": {
  21834. "type": "object",
  21835. "properties": {
  21836. "buyorsell": {
  21837. "description": "买卖方向 - 0:买 1:卖",
  21838. "type": "integer"
  21839. },
  21840. "channelbuildtype": {
  21841. "description": "开平标志- 0:无 1:建仓 2:平仓",
  21842. "type": "integer"
  21843. },
  21844. "currencyname": {
  21845. "description": "币种名称",
  21846. "type": "string"
  21847. },
  21848. "exexchangecode": {
  21849. "description": "交易所代码",
  21850. "type": "string"
  21851. },
  21852. "exexchangename": {
  21853. "description": "交易所名称",
  21854. "type": "string"
  21855. },
  21856. "goodscode": {
  21857. "description": "合约代码",
  21858. "type": "string"
  21859. },
  21860. "goodsid": {
  21861. "description": "合约id",
  21862. "type": "integer"
  21863. },
  21864. "goodsname": {
  21865. "description": "合约名称",
  21866. "type": "string"
  21867. },
  21868. "hasinnerorder": {
  21869. "description": "是否有内部单关联 - 0:无 1:有",
  21870. "type": "integer"
  21871. },
  21872. "hedgeaccountcode": {
  21873. "description": "外部账号 | 对冲账号",
  21874. "type": "string"
  21875. },
  21876. "outtradeid": {
  21877. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21878. "type": "string"
  21879. },
  21880. "tradeprice": {
  21881. "description": "成交价格",
  21882. "type": "number"
  21883. },
  21884. "tradeqty": {
  21885. "description": "成交数量",
  21886. "type": "integer"
  21887. },
  21888. "tradetime": {
  21889. "description": "成交时间",
  21890. "type": "string"
  21891. }
  21892. }
  21893. },
  21894. "models.Ermcp3PaAreaAuditCfg": {
  21895. "type": "object",
  21896. "properties": {
  21897. "areauserid": {
  21898. "description": "用户ID",
  21899. "type": "integer"
  21900. },
  21901. "buyinauditflag": {
  21902. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  21903. "type": "integer"
  21904. },
  21905. "costratioauditflag": {
  21906. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  21907. "type": "integer"
  21908. },
  21909. "customerauditflag": {
  21910. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  21911. "type": "integer"
  21912. },
  21913. "deliveryauditflag": {
  21914. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  21915. "type": "integer"
  21916. },
  21917. "invoiceauditflag": {
  21918. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  21919. "type": "integer"
  21920. },
  21921. "mgneedhedgeratioauditflag": {
  21922. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  21923. "type": "integer"
  21924. },
  21925. "moneyauditflag": {
  21926. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  21927. "type": "integer"
  21928. },
  21929. "operatorid": {
  21930. "description": "操作人",
  21931. "type": "integer"
  21932. },
  21933. "operatorsrc": {
  21934. "description": "操作来源 - 1:管理端 2:终端",
  21935. "type": "integer"
  21936. },
  21937. "pointpriceauditflag": {
  21938. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  21939. "type": "integer"
  21940. },
  21941. "produceinauditflag": {
  21942. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  21943. "type": "integer"
  21944. },
  21945. "produceoutauditflag": {
  21946. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  21947. "type": "integer"
  21948. },
  21949. "selloutauditflag": {
  21950. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  21951. "type": "integer"
  21952. },
  21953. "sgconvertratioauditflag": {
  21954. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  21955. "type": "integer"
  21956. },
  21957. "sgvtaratioauditflag": {
  21958. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  21959. "type": "integer"
  21960. },
  21961. "spotcontractauditflag": {
  21962. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  21963. "type": "integer"
  21964. },
  21965. "updatetime": {
  21966. "description": "更新时间",
  21967. "type": "string"
  21968. }
  21969. }
  21970. },
  21971. "models.Ermcp3PaAreaSubject": {
  21972. "type": "object",
  21973. "properties": {
  21974. "areauserid": {
  21975. "description": "所属机构",
  21976. "type": "integer"
  21977. },
  21978. "canmodify": {
  21979. "description": "是否可修改 - 0:否 1:是",
  21980. "type": "integer"
  21981. },
  21982. "createtime": {
  21983. "description": "创建时间",
  21984. "type": "string"
  21985. },
  21986. "creatorid": {
  21987. "description": "创建人ID",
  21988. "type": "string"
  21989. },
  21990. "creatorsrc": {
  21991. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  21992. "type": "integer"
  21993. },
  21994. "modifierid": {
  21995. "description": "修改人",
  21996. "type": "string"
  21997. },
  21998. "modifiersrc": {
  21999. "description": "修改人来源 - 1:管理端 2:终端",
  22000. "type": "integer"
  22001. },
  22002. "modifytime": {
  22003. "description": "修改时间",
  22004. "type": "string"
  22005. },
  22006. "parentsubjectid": {
  22007. "description": "上级主体ID",
  22008. "type": "string"
  22009. },
  22010. "remark": {
  22011. "description": "备注",
  22012. "type": "string"
  22013. },
  22014. "subjectid": {
  22015. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  22016. "type": "integer"
  22017. },
  22018. "subjectname": {
  22019. "description": "主体名称",
  22020. "type": "string"
  22021. },
  22022. "subjectstatus": {
  22023. "description": "主体状态 - 1:正常 2: 停用",
  22024. "type": "integer"
  22025. },
  22026. "subjecttype": {
  22027. "description": "主体类型 - 1:交易主体 2:业务部门",
  22028. "type": "integer"
  22029. }
  22030. }
  22031. },
  22032. "models.Ermcp3PaTradeLink": {
  22033. "type": "object",
  22034. "properties": {
  22035. "accountid": {
  22036. "description": "期货账户代码 | 账号ID",
  22037. "type": "integer"
  22038. },
  22039. "agreeunit": {
  22040. "description": "合约乘数",
  22041. "type": "number"
  22042. },
  22043. "buyorsell": {
  22044. "description": "方向 - 0:买 1:卖",
  22045. "type": "integer"
  22046. },
  22047. "channelbuildtype": {
  22048. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22049. "type": "integer"
  22050. },
  22051. "charge": {
  22052. "description": "手续费",
  22053. "type": "number"
  22054. },
  22055. "closepl": {
  22056. "description": "平仓盈亏",
  22057. "type": "number"
  22058. },
  22059. "closetype": {
  22060. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22061. "type": "integer"
  22062. },
  22063. "convertratio": {
  22064. "description": "折算系数",
  22065. "type": "number"
  22066. },
  22067. "enumdicname": {
  22068. "description": "单位名称",
  22069. "type": "string"
  22070. },
  22071. "executeprice": {
  22072. "description": "执行价 [期权]",
  22073. "type": "integer"
  22074. },
  22075. "goodscode": {
  22076. "description": "合约代码",
  22077. "type": "string"
  22078. },
  22079. "goodsgroupid": {
  22080. "description": "对冲品种ID[期货合约商品组ID]",
  22081. "type": "integer"
  22082. },
  22083. "goodsid": {
  22084. "description": "商品ID",
  22085. "type": "integer"
  22086. },
  22087. "goodsname": {
  22088. "description": "合约名称",
  22089. "type": "string"
  22090. },
  22091. "goodunitid": {
  22092. "description": "单位id",
  22093. "type": "integer"
  22094. },
  22095. "hedgeflag": {
  22096. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  22097. "type": "integer"
  22098. },
  22099. "marketid": {
  22100. "description": "市场ID",
  22101. "type": "integer"
  22102. },
  22103. "middlegoodsid": {
  22104. "description": "套保品种ID",
  22105. "type": "integer"
  22106. },
  22107. "middlegoodsqty": {
  22108. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  22109. "type": "number"
  22110. },
  22111. "optioncode": {
  22112. "description": "期权代码 [期权]",
  22113. "type": "string"
  22114. },
  22115. "ordertype": {
  22116. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  22117. "type": "integer"
  22118. },
  22119. "ordertypename": {
  22120. "description": "订单类型",
  22121. "type": "string"
  22122. },
  22123. "parentaccountid": {
  22124. "description": "所属母账户",
  22125. "type": "integer"
  22126. },
  22127. "premium": {
  22128. "description": "权利金 [期权]",
  22129. "type": "number"
  22130. },
  22131. "relatedlot": {
  22132. "description": "已关联数量(已关联数量手) | db:关联手数",
  22133. "type": "number"
  22134. },
  22135. "relatedouttradeid": {
  22136. "description": "关联外部成交单ID",
  22137. "type": "string"
  22138. },
  22139. "relatedqty": {
  22140. "description": "关联数量",
  22141. "type": "number"
  22142. },
  22143. "spotcontractid": {
  22144. "description": "现货合同ID [4:套期保值\\10\\11]",
  22145. "type": "string"
  22146. },
  22147. "taname": {
  22148. "description": "期货账户名称",
  22149. "type": "string"
  22150. },
  22151. "tradeamount": {
  22152. "description": "成交金额(账户)",
  22153. "type": "number"
  22154. },
  22155. "tradedate": {
  22156. "description": "交易日(yyyyMMdd)",
  22157. "type": "string"
  22158. },
  22159. "tradeid": {
  22160. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22161. "type": "string"
  22162. },
  22163. "tradelot": {
  22164. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  22165. "type": "integer"
  22166. },
  22167. "tradeprice": {
  22168. "description": "成交价格",
  22169. "type": "number"
  22170. },
  22171. "tradetime": {
  22172. "description": "时间 | db:成交时间",
  22173. "type": "string"
  22174. },
  22175. "tradetype": {
  22176. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22177. "type": "integer"
  22178. },
  22179. "userid": {
  22180. "description": "所属机构 - 所属母账户的UserID",
  22181. "type": "string"
  22182. },
  22183. "username": {
  22184. "description": "用户名称",
  22185. "type": "string"
  22186. }
  22187. }
  22188. },
  22189. "models.Ermcp3ParamChangeApp": {
  22190. "type": "object",
  22191. "properties": {
  22192. "aftervalue": {
  22193. "description": "变更后",
  22194. "type": "number"
  22195. },
  22196. "applicationid": {
  22197. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  22198. "type": "string"
  22199. },
  22200. "applyid": {
  22201. "description": "申请人",
  22202. "type": "string"
  22203. },
  22204. "applyname": {
  22205. "description": "申请人名称(代码)",
  22206. "type": "string"
  22207. },
  22208. "applyremark": {
  22209. "description": "申请备注",
  22210. "type": "string"
  22211. },
  22212. "applysrc": {
  22213. "description": "申请来源 - 1:管理端 2:终端",
  22214. "type": "integer"
  22215. },
  22216. "applystatus": {
  22217. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22218. "type": "integer"
  22219. },
  22220. "applytime": {
  22221. "description": "申请时间",
  22222. "type": "string"
  22223. },
  22224. "areauserid": {
  22225. "description": "所属机构用户ID",
  22226. "type": "integer"
  22227. },
  22228. "auditid": {
  22229. "description": "审核人",
  22230. "type": "string"
  22231. },
  22232. "auditname": {
  22233. "description": "审核人名称(代码)",
  22234. "type": "string"
  22235. },
  22236. "auditremark": {
  22237. "description": "审核备注",
  22238. "type": "string"
  22239. },
  22240. "auditsrc": {
  22241. "description": "审核来源 - 1:管理端 2:终端",
  22242. "type": "integer"
  22243. },
  22244. "audittime": {
  22245. "description": "审核时间",
  22246. "type": "string"
  22247. },
  22248. "audittradedate": {
  22249. "description": "审核交易日(yyyyMMdd)",
  22250. "type": "string"
  22251. },
  22252. "beforevalue": {
  22253. "description": "变更前",
  22254. "type": "number"
  22255. },
  22256. "deliverygoodscode": {
  22257. "description": "品种代码",
  22258. "type": "string"
  22259. },
  22260. "deliverygoodsid": {
  22261. "description": "品种id",
  22262. "type": "integer"
  22263. },
  22264. "deliverygoodsname": {
  22265. "description": "品种名称",
  22266. "type": "string"
  22267. },
  22268. "middlegoodscode": {
  22269. "description": "套保品种代码",
  22270. "type": "string"
  22271. },
  22272. "middlegoodsid": {
  22273. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  22274. "type": "integer"
  22275. },
  22276. "middlegoodsname": {
  22277. "description": "套保品种名称",
  22278. "type": "string"
  22279. },
  22280. "operatetype": {
  22281. "description": "操作类型 - 1:新增 2:修改",
  22282. "type": "integer"
  22283. },
  22284. "paramchangetype": {
  22285. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  22286. "type": "integer"
  22287. },
  22288. "wrstandardcode": {
  22289. "description": "现货商品代码",
  22290. "type": "string"
  22291. },
  22292. "wrstandardid": {
  22293. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  22294. "type": "integer"
  22295. },
  22296. "wrstandardname": {
  22297. "description": "现货商品名称",
  22298. "type": "string"
  22299. }
  22300. }
  22301. },
  22302. "models.Ermcp3RootUserAccount": {
  22303. "type": "object",
  22304. "properties": {
  22305. "accountname": {
  22306. "description": "账户名称(机构名称)",
  22307. "type": "string"
  22308. },
  22309. "accountstatus": {
  22310. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22311. "type": "integer"
  22312. },
  22313. "applysrc": {
  22314. "description": "申请来源 - 1:管理端 2:终端",
  22315. "type": "integer"
  22316. },
  22317. "auditremark": {
  22318. "description": "审核备注",
  22319. "type": "string"
  22320. },
  22321. "auditsrc": {
  22322. "description": "审核来源 - 1:管理端 2:终端",
  22323. "type": "integer"
  22324. },
  22325. "audittime": {
  22326. "description": "审核时间",
  22327. "type": "string"
  22328. },
  22329. "audituserid": {
  22330. "description": "审核人",
  22331. "type": "integer"
  22332. },
  22333. "broker": {
  22334. "description": "所属经纪人ID",
  22335. "type": "integer"
  22336. },
  22337. "canceltime": {
  22338. "description": "销户时间",
  22339. "type": "string"
  22340. },
  22341. "canceluserid": {
  22342. "description": "销户人",
  22343. "type": "integer"
  22344. },
  22345. "canrecommend": {
  22346. "description": "是否可推荐 - 0:不可 1;可",
  22347. "type": "integer"
  22348. },
  22349. "createtime": {
  22350. "description": "创建时间",
  22351. "type": "string"
  22352. },
  22353. "creatorid": {
  22354. "description": "创建人",
  22355. "type": "integer"
  22356. },
  22357. "hasauth": {
  22358. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22359. "type": "integer"
  22360. },
  22361. "isanonymous": {
  22362. "description": "是否匿名下单 - 0:否 1:是",
  22363. "type": "integer"
  22364. },
  22365. "maxinvestornum": {
  22366. "description": "最大用户数(经纪会员下投资者个数)",
  22367. "type": "integer"
  22368. },
  22369. "memberuserid": {
  22370. "description": "所属会员ID",
  22371. "type": "integer"
  22372. },
  22373. "modifierid": {
  22374. "description": "修改人",
  22375. "type": "integer"
  22376. },
  22377. "modifyremark": {
  22378. "description": "变更备注",
  22379. "type": "string"
  22380. },
  22381. "modifystatus": {
  22382. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22383. "type": "integer"
  22384. },
  22385. "modifytime": {
  22386. "description": "修改时间",
  22387. "type": "string"
  22388. },
  22389. "nickname": {
  22390. "description": "昵称",
  22391. "type": "string"
  22392. },
  22393. "parenttopuser": {
  22394. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22395. "type": "string"
  22396. },
  22397. "parentuserid": {
  22398. "description": "所属机构ID",
  22399. "type": "integer"
  22400. },
  22401. "reckonaccountid": {
  22402. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22403. "type": "integer"
  22404. },
  22405. "refercount": {
  22406. "description": "推荐总人数",
  22407. "type": "integer"
  22408. },
  22409. "refereeuserid": {
  22410. "description": "推荐人ID",
  22411. "type": "integer"
  22412. },
  22413. "refernum": {
  22414. "description": "推荐码",
  22415. "type": "string"
  22416. },
  22417. "rootuserid": {
  22418. "description": "根用户ID",
  22419. "type": "integer"
  22420. },
  22421. "subaccountlevel": {
  22422. "description": "子账户层数",
  22423. "type": "integer"
  22424. },
  22425. "subarealevelpath": {
  22426. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22427. "type": "string"
  22428. },
  22429. "userid": {
  22430. "description": "用户ID",
  22431. "type": "integer"
  22432. },
  22433. "usertype": {
  22434. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22435. "type": "integer"
  22436. }
  22437. }
  22438. },
  22439. "models.Ermcp3SCMiddleGoods": {
  22440. "type": "object",
  22441. "properties": {
  22442. "biztype": {
  22443. "description": "业务类型 1:套保 2:套利",
  22444. "type": "integer"
  22445. },
  22446. "contractno": {
  22447. "description": "合同编号",
  22448. "type": "string"
  22449. },
  22450. "contracttype": {
  22451. "description": "合同类型 1:采购 -1:销售",
  22452. "type": "integer"
  22453. },
  22454. "convertratio": {
  22455. "description": "折算系数",
  22456. "type": "number"
  22457. },
  22458. "customername": {
  22459. "description": "对手手名称",
  22460. "type": "string"
  22461. },
  22462. "customeruserid": {
  22463. "description": "对手id",
  22464. "type": "integer"
  22465. },
  22466. "deliverygoodscode": {
  22467. "description": "现货品种代码",
  22468. "type": "string"
  22469. },
  22470. "deliverygoodsid": {
  22471. "description": "现货品种ID",
  22472. "type": "integer"
  22473. },
  22474. "deliverygoodsname": {
  22475. "description": "现货品种名称",
  22476. "type": "string"
  22477. },
  22478. "enumdicname": {
  22479. "description": "现货单位名称",
  22480. "type": "string"
  22481. },
  22482. "middlegoodsid": {
  22483. "description": "套保品种ID",
  22484. "type": "integer"
  22485. },
  22486. "middlegoodspricedqty3": {
  22487. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  22488. "type": "number"
  22489. },
  22490. "needhedgeratio": {
  22491. "description": "套保比例",
  22492. "type": "number"
  22493. },
  22494. "pricedqty": {
  22495. "description": "已定价量",
  22496. "type": "number"
  22497. },
  22498. "relatedmiddlegoodsqty": {
  22499. "description": "已关联量(套保品种)(期货)",
  22500. "type": "number"
  22501. },
  22502. "spotcontractid": {
  22503. "description": "合同编号",
  22504. "type": "string"
  22505. },
  22506. "unitid": {
  22507. "description": "现货单位id",
  22508. "type": "integer"
  22509. },
  22510. "userid": {
  22511. "description": "用户id",
  22512. "type": "integer"
  22513. },
  22514. "vatrate": {
  22515. "description": "增值税率",
  22516. "type": "number"
  22517. },
  22518. "wrstandardcode": {
  22519. "description": "现货商品代码",
  22520. "type": "string"
  22521. },
  22522. "wrstandardid": {
  22523. "description": "现货商品id",
  22524. "type": "integer"
  22525. },
  22526. "wrstandardname": {
  22527. "description": "现货商品名称",
  22528. "type": "string"
  22529. }
  22530. }
  22531. },
  22532. "models.Ermcp3SCMiddleGoodsReport": {
  22533. "type": "object",
  22534. "properties": {
  22535. "begindate": {
  22536. "description": "开始交易日",
  22537. "type": "string"
  22538. },
  22539. "contractno": {
  22540. "description": "合同编号",
  22541. "type": "string"
  22542. },
  22543. "contracttype": {
  22544. "description": "合同类型 1:采购 -1:销售",
  22545. "type": "integer"
  22546. },
  22547. "convertratio": {
  22548. "description": "折算系数",
  22549. "type": "number"
  22550. },
  22551. "cycletime": {
  22552. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22553. "type": "string"
  22554. },
  22555. "cycletype": {
  22556. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22557. "type": "integer"
  22558. },
  22559. "deliverygoodscode": {
  22560. "description": "品种代码",
  22561. "type": "string"
  22562. },
  22563. "deliverygoodsid": {
  22564. "description": "现货品种ID",
  22565. "type": "integer"
  22566. },
  22567. "deliverygoodsname": {
  22568. "description": "品种名称",
  22569. "type": "string"
  22570. },
  22571. "diffprice": {
  22572. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  22573. "type": "number"
  22574. },
  22575. "diffqty": {
  22576. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  22577. "type": "number"
  22578. },
  22579. "enddate": {
  22580. "description": "结束交易日",
  22581. "type": "string"
  22582. },
  22583. "hedgeplanqty": {
  22584. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  22585. "type": "number"
  22586. },
  22587. "matchname": {
  22588. "description": "交易对手方(个人:用户名称 企业:简称)",
  22589. "type": "string"
  22590. },
  22591. "middlegoodscode": {
  22592. "description": "套保品种代码",
  22593. "type": "string"
  22594. },
  22595. "middlegoodsid": {
  22596. "description": "套保品种ID",
  22597. "type": "integer"
  22598. },
  22599. "middlegoodsname": {
  22600. "description": "套保品种名称",
  22601. "type": "string"
  22602. },
  22603. "middlegoodspricedqty": {
  22604. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  22605. "type": "number"
  22606. },
  22607. "middlegoodspricedqty2": {
  22608. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  22609. "type": "number"
  22610. },
  22611. "middlegoodspricedqty3": {
  22612. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22613. "type": "number"
  22614. },
  22615. "needhedgeratio": {
  22616. "description": "套保系数",
  22617. "type": "number"
  22618. },
  22619. "pricedamount": {
  22620. "description": "已定价额(现货)",
  22621. "type": "number"
  22622. },
  22623. "pricedamount2": {
  22624. "description": "已定价额(现货-基价额)",
  22625. "type": "number"
  22626. },
  22627. "pricedqty": {
  22628. "description": "已定价量(现货)",
  22629. "type": "number"
  22630. },
  22631. "reckondate": {
  22632. "description": "日照时期(yyyyMMdd)",
  22633. "type": "string"
  22634. },
  22635. "relatedmiddlegoodsamount": {
  22636. "description": "已关联额(期货)",
  22637. "type": "number"
  22638. },
  22639. "relatedmiddlegoodsqty": {
  22640. "description": "已关联量(套保品种)(期货)",
  22641. "type": "number"
  22642. },
  22643. "spotcontractid": {
  22644. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22645. "type": "string"
  22646. },
  22647. "todayavgfutuprice": {
  22648. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  22649. "type": "number"
  22650. },
  22651. "todayavgprice": {
  22652. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  22653. "type": "number"
  22654. },
  22655. "todayavgprice2": {
  22656. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  22657. "type": "number"
  22658. },
  22659. "todaypricedamount": {
  22660. "description": "今日定价额(现货)",
  22661. "type": "number"
  22662. },
  22663. "todaypricedamount2": {
  22664. "description": "今日定价额(现货-基价额)",
  22665. "type": "number"
  22666. },
  22667. "todaypricedqty": {
  22668. "description": "今日定价量(现货)",
  22669. "type": "number"
  22670. },
  22671. "todayrelatedfutureqty": {
  22672. "description": "今日关联量(期货)",
  22673. "type": "number"
  22674. },
  22675. "todayrelatedmiddlegoodsamount": {
  22676. "description": "今日关联额(期货)",
  22677. "type": "number"
  22678. },
  22679. "todayrelatedmiddlegoodsqty": {
  22680. "description": "今日关联量(套保品-期货)",
  22681. "type": "number"
  22682. },
  22683. "updatetime": {
  22684. "description": "更新时间",
  22685. "type": "string"
  22686. },
  22687. "userid": {
  22688. "description": "合同所属用户id",
  22689. "type": "integer"
  22690. },
  22691. "vatrate": {
  22692. "description": "增值税率",
  22693. "type": "number"
  22694. },
  22695. "wrstandardcode": {
  22696. "description": "商品(品类) 代码",
  22697. "type": "string"
  22698. },
  22699. "wrstandardid": {
  22700. "description": "现货商品ID",
  22701. "type": "integer"
  22702. },
  22703. "wrstandardname": {
  22704. "description": "商品(品类) 名称",
  22705. "type": "string"
  22706. }
  22707. }
  22708. },
  22709. "models.Ermcp3SellBuyContract": {
  22710. "type": "object",
  22711. "properties": {
  22712. "accountid": {
  22713. "description": "期货账户id",
  22714. "type": "string"
  22715. },
  22716. "accountname": {
  22717. "description": "账户名称",
  22718. "type": "string"
  22719. },
  22720. "attachment": {
  22721. "description": "附件",
  22722. "type": "string"
  22723. },
  22724. "audittime": {
  22725. "description": "审核时间",
  22726. "type": "string"
  22727. },
  22728. "bizsubjectid": {
  22729. "description": "归属业务部门ID - SubjectID",
  22730. "type": "integer"
  22731. },
  22732. "biztype": {
  22733. "description": "业务类型 1-套保 2-套利",
  22734. "type": "integer"
  22735. },
  22736. "brandname": {
  22737. "description": "品牌名称",
  22738. "type": "string"
  22739. },
  22740. "contracctstatus": {
  22741. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22742. "type": "integer"
  22743. },
  22744. "contractmargin": {
  22745. "description": "合同保证金",
  22746. "type": "number"
  22747. },
  22748. "contractno": {
  22749. "description": "合同编号",
  22750. "type": "string"
  22751. },
  22752. "contracttype": {
  22753. "description": "合同类型 1-采购, -1-销售",
  22754. "type": "integer"
  22755. },
  22756. "convertfactor": {
  22757. "description": "标仓系数(品类)",
  22758. "type": "number"
  22759. },
  22760. "createtime": {
  22761. "description": "创建时间",
  22762. "type": "string"
  22763. },
  22764. "currencyid": {
  22765. "description": "币种id",
  22766. "type": "integer"
  22767. },
  22768. "currencyname": {
  22769. "description": "币种名称",
  22770. "type": "string"
  22771. },
  22772. "daikaiamount": {
  22773. "description": "应收(开)票额",
  22774. "type": "number"
  22775. },
  22776. "deliveryenddate": {
  22777. "description": "交割结束日",
  22778. "type": "string"
  22779. },
  22780. "deliverygoodscode": {
  22781. "description": "现货品种代码",
  22782. "type": "string"
  22783. },
  22784. "deliverygoodsid": {
  22785. "description": "现货商品ID",
  22786. "type": "integer"
  22787. },
  22788. "deliverygoodsname": {
  22789. "description": "现货品种名称",
  22790. "type": "string"
  22791. },
  22792. "deliverystartdate": {
  22793. "description": "交割开始日",
  22794. "type": "string"
  22795. },
  22796. "enddate": {
  22797. "description": "点价结束日",
  22798. "type": "string"
  22799. },
  22800. "enumdicname": {
  22801. "description": "单位名称",
  22802. "type": "string"
  22803. },
  22804. "goodscode": {
  22805. "description": "点价商品代码",
  22806. "type": "string"
  22807. },
  22808. "goodsgroupid": {
  22809. "description": "点价商品组id",
  22810. "type": "integer"
  22811. },
  22812. "goodsid": {
  22813. "description": "点价商品ID",
  22814. "type": "integer"
  22815. },
  22816. "goodsname": {
  22817. "description": "点价商品名称",
  22818. "type": "string"
  22819. },
  22820. "invoiceamount": {
  22821. "description": "已开票额",
  22822. "type": "number"
  22823. },
  22824. "loanamount": {
  22825. "description": "贷款总额=已定价额+调整金额",
  22826. "type": "number"
  22827. },
  22828. "margin": {
  22829. "description": "保证金",
  22830. "type": "number"
  22831. },
  22832. "meruserid": {
  22833. "description": "跟单员id",
  22834. "type": "integer"
  22835. },
  22836. "meruserlogincode": {
  22837. "description": "跟单员登录代码",
  22838. "type": "string"
  22839. },
  22840. "merusername": {
  22841. "description": "跟单员名称",
  22842. "type": "string"
  22843. },
  22844. "nickname": {
  22845. "description": "账户昵称",
  22846. "type": "string"
  22847. },
  22848. "orireckonrealqty": {
  22849. "description": "应交收量",
  22850. "type": "number"
  22851. },
  22852. "payamount": {
  22853. "description": "已收付额(收款或付款)",
  22854. "type": "number"
  22855. },
  22856. "preinvoiceamount": {
  22857. "description": "预收(开)票额",
  22858. "type": "number"
  22859. },
  22860. "prepayamount": {
  22861. "description": "预收付额",
  22862. "type": "number"
  22863. },
  22864. "price": {
  22865. "description": "价格",
  22866. "type": "number"
  22867. },
  22868. "pricedamount": {
  22869. "description": "已定价额",
  22870. "type": "number"
  22871. },
  22872. "pricedavg": {
  22873. "description": "已点均价",
  22874. "type": "number"
  22875. },
  22876. "pricedqty": {
  22877. "description": "已定价量",
  22878. "type": "number"
  22879. },
  22880. "pricemove": {
  22881. "description": "升贴水",
  22882. "type": "number"
  22883. },
  22884. "pricetype": {
  22885. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22886. "type": "integer"
  22887. },
  22888. "producttype": {
  22889. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22890. "type": "integer"
  22891. },
  22892. "qty": {
  22893. "description": "合同量",
  22894. "type": "number"
  22895. },
  22896. "reckonadjustamount": {
  22897. "description": "调整金额",
  22898. "type": "number"
  22899. },
  22900. "reckonedamount": {
  22901. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  22902. "type": "number"
  22903. },
  22904. "reckonotheramount": {
  22905. "description": "其它费用",
  22906. "type": "number"
  22907. },
  22908. "reckonrealqty": {
  22909. "description": "已交收量",
  22910. "type": "number"
  22911. },
  22912. "remark": {
  22913. "description": "备注",
  22914. "type": "string"
  22915. },
  22916. "saleuserid": {
  22917. "description": "业务员id",
  22918. "type": "integer"
  22919. },
  22920. "saleuserlogincode": {
  22921. "description": "业务员登录代码",
  22922. "type": "string"
  22923. },
  22924. "saleusername": {
  22925. "description": "业务员名称",
  22926. "type": "string"
  22927. },
  22928. "spotcontractid": {
  22929. "description": "合同ID",
  22930. "type": "string"
  22931. },
  22932. "spotgoodsbrandid": {
  22933. "description": "现货品牌ID(DGFactoryItem表的ID)",
  22934. "type": "integer"
  22935. },
  22936. "spotgoodsdesc": {
  22937. "description": "商品型号(商品规格)",
  22938. "type": "string"
  22939. },
  22940. "startdate": {
  22941. "description": "点价开始日",
  22942. "type": "string"
  22943. },
  22944. "subjectid": {
  22945. "description": "交易主体ID",
  22946. "type": "integer"
  22947. },
  22948. "subjectname": {
  22949. "description": "交易主体名称",
  22950. "type": "string"
  22951. },
  22952. "totalamount": {
  22953. "description": "合计总额",
  22954. "type": "number"
  22955. },
  22956. "tradeuserid": {
  22957. "description": "交易员id",
  22958. "type": "integer"
  22959. },
  22960. "tradeuserlogincode": {
  22961. "description": "交易员登录代码",
  22962. "type": "string"
  22963. },
  22964. "tradeusername": {
  22965. "description": "交易员名称",
  22966. "type": "string"
  22967. },
  22968. "unpayamount": {
  22969. "description": "应收付款额(应支付或应收款)",
  22970. "type": "number"
  22971. },
  22972. "unpricedqty": {
  22973. "description": "未定价量",
  22974. "type": "number"
  22975. },
  22976. "unsureqty": {
  22977. "description": "未确定量",
  22978. "type": "number"
  22979. },
  22980. "userid": {
  22981. "description": "机构ID",
  22982. "type": "integer"
  22983. },
  22984. "vatrate": {
  22985. "description": "增值税率",
  22986. "type": "number"
  22987. },
  22988. "wrstandardcode": {
  22989. "description": "品类代码",
  22990. "type": "string"
  22991. },
  22992. "wrstandardid": {
  22993. "description": "品类ID",
  22994. "type": "integer"
  22995. },
  22996. "wrstandardname": {
  22997. "description": "品类名称",
  22998. "type": "string"
  22999. }
  23000. }
  23001. },
  23002. "models.Ermcp3SpotGoodsPrice": {
  23003. "type": "object",
  23004. "properties": {
  23005. "areauserid": {
  23006. "description": "所属机构id",
  23007. "type": "integer"
  23008. },
  23009. "brandname": {
  23010. "description": "品牌名称",
  23011. "type": "string"
  23012. },
  23013. "currencyid": {
  23014. "description": "报价货币ID",
  23015. "type": "integer"
  23016. },
  23017. "currencyname": {
  23018. "description": "币种名称",
  23019. "type": "string"
  23020. },
  23021. "deliverygoodscode": {
  23022. "description": "现货商品代码",
  23023. "type": "string"
  23024. },
  23025. "deliverygoodsid": {
  23026. "description": "现货商品id",
  23027. "type": "integer"
  23028. },
  23029. "deliverygoodsname": {
  23030. "description": "现货商品名称",
  23031. "type": "string"
  23032. },
  23033. "enumdicname": {
  23034. "description": "现货商品单位名称",
  23035. "type": "string"
  23036. },
  23037. "gbenumdicname": {
  23038. "description": "品类单位名称",
  23039. "type": "string"
  23040. },
  23041. "gmunitid": {
  23042. "description": "品类单位id",
  23043. "type": "integer"
  23044. },
  23045. "isvalid": {
  23046. "description": "是否有效 - 0:无效 1:有效",
  23047. "type": "integer"
  23048. },
  23049. "operateid": {
  23050. "description": "最后操作人",
  23051. "type": "integer"
  23052. },
  23053. "operatesrc": {
  23054. "description": "最后操作来源 - 1:管理端 2:终端",
  23055. "type": "integer"
  23056. },
  23057. "operatetime": {
  23058. "description": "最后操作时间",
  23059. "type": "string"
  23060. },
  23061. "operatorname": {
  23062. "description": "操作人名称",
  23063. "type": "string"
  23064. },
  23065. "spotgoodsbrandid": {
  23066. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23067. "type": "integer"
  23068. },
  23069. "spotgoodsprice": {
  23070. "description": "现货价格",
  23071. "type": "number"
  23072. },
  23073. "tradedate": {
  23074. "description": "交易日(yyyyMMdd)",
  23075. "type": "string"
  23076. },
  23077. "unitid": {
  23078. "description": "现货商品单位id",
  23079. "type": "integer"
  23080. },
  23081. "wrstandardcode": {
  23082. "description": "品类代码",
  23083. "type": "string"
  23084. },
  23085. "wrstandardid": {
  23086. "description": "现货品类ID(通用则为0)",
  23087. "type": "integer"
  23088. },
  23089. "wrstandardname": {
  23090. "description": "品类名称",
  23091. "type": "string"
  23092. }
  23093. }
  23094. },
  23095. "models.Ermcp3SpotGoodsPriceLog": {
  23096. "type": "object",
  23097. "properties": {
  23098. "areauserid": {
  23099. "description": "所属机构id",
  23100. "type": "integer"
  23101. },
  23102. "brandname": {
  23103. "description": "品牌名称",
  23104. "type": "string"
  23105. },
  23106. "currencyid": {
  23107. "description": "报价货币ID",
  23108. "type": "integer"
  23109. },
  23110. "deliverygoodscode": {
  23111. "description": "现货商品代码",
  23112. "type": "string"
  23113. },
  23114. "deliverygoodsid": {
  23115. "description": "现货商品id",
  23116. "type": "integer"
  23117. },
  23118. "deliverygoodsname": {
  23119. "description": "现货商品名称",
  23120. "type": "string"
  23121. },
  23122. "enumdicname": {
  23123. "description": "现货商品单位名称",
  23124. "type": "string"
  23125. },
  23126. "gbenumdicname": {
  23127. "description": "品类单位名称",
  23128. "type": "string"
  23129. },
  23130. "gmunitid": {
  23131. "description": "品类单位id",
  23132. "type": "integer"
  23133. },
  23134. "logid": {
  23135. "description": "日志id",
  23136. "type": "integer"
  23137. },
  23138. "operateid": {
  23139. "description": "最后操作人",
  23140. "type": "integer"
  23141. },
  23142. "operatesrc": {
  23143. "description": "最后操作来源 - 1:管理端 2:终端",
  23144. "type": "integer"
  23145. },
  23146. "operatetime": {
  23147. "description": "最后操作时间",
  23148. "type": "string"
  23149. },
  23150. "operatorname": {
  23151. "description": "操作人名称",
  23152. "type": "string"
  23153. },
  23154. "spotgoodsbrandid": {
  23155. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23156. "type": "integer"
  23157. },
  23158. "spotgoodsprice": {
  23159. "description": "现货价格",
  23160. "type": "number"
  23161. },
  23162. "tradedate": {
  23163. "description": "交易日(yyyyMMdd)",
  23164. "type": "string"
  23165. },
  23166. "unitid": {
  23167. "description": "现货商品单位id",
  23168. "type": "integer"
  23169. },
  23170. "wrstandardcode": {
  23171. "description": "品类代码",
  23172. "type": "string"
  23173. },
  23174. "wrstandardid": {
  23175. "description": "现货品类ID(通用则为0)",
  23176. "type": "integer"
  23177. },
  23178. "wrstandardname": {
  23179. "description": "品类名称",
  23180. "type": "string"
  23181. }
  23182. }
  23183. },
  23184. "models.Ermcp3SubTaaccount": {
  23185. "type": "object",
  23186. "properties": {
  23187. "accountid": {
  23188. "description": "资金账户ID",
  23189. "type": "integer"
  23190. },
  23191. "parentaccountcode": {
  23192. "description": "所属根账号代码(母账号代码)",
  23193. "type": "string"
  23194. },
  23195. "parentaccountid": {
  23196. "description": "所属根账号(母账号)",
  23197. "type": "integer"
  23198. },
  23199. "taname": {
  23200. "description": "资金账号名称",
  23201. "type": "string"
  23202. },
  23203. "tradestatus": {
  23204. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  23205. "type": "integer"
  23206. },
  23207. "username": {
  23208. "description": "交易用户",
  23209. "type": "string"
  23210. }
  23211. }
  23212. },
  23213. "models.Ermcp3TaFutuReDataReport": {
  23214. "type": "object",
  23215. "properties": {
  23216. "accountid": {
  23217. "description": "交易账户",
  23218. "type": "integer"
  23219. },
  23220. "accountname": {
  23221. "description": "交易账号名称",
  23222. "type": "string"
  23223. },
  23224. "agreeunit": {
  23225. "description": "商品合约单位",
  23226. "type": "number"
  23227. },
  23228. "begindate": {
  23229. "description": "开始交易日",
  23230. "type": "string"
  23231. },
  23232. "buyorsell": {
  23233. "description": "持仓方向",
  23234. "type": "integer"
  23235. },
  23236. "charge": {
  23237. "description": "手续费",
  23238. "type": "number"
  23239. },
  23240. "closeavgprice": {
  23241. "description": "平仓均价",
  23242. "type": "number"
  23243. },
  23244. "closepl": {
  23245. "description": "平仓损益",
  23246. "type": "number"
  23247. },
  23248. "currencyid": {
  23249. "description": "结算币种ID",
  23250. "type": "integer"
  23251. },
  23252. "currencyname": {
  23253. "description": "币种名称",
  23254. "type": "string"
  23255. },
  23256. "cycletime": {
  23257. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23258. "type": "string"
  23259. },
  23260. "cycletype": {
  23261. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23262. "type": "integer"
  23263. },
  23264. "enddate": {
  23265. "description": "结束交易日",
  23266. "type": "string"
  23267. },
  23268. "enumdicname": {
  23269. "description": "单位名称",
  23270. "type": "string"
  23271. },
  23272. "floatpl": {
  23273. "description": "浮动损益",
  23274. "type": "number"
  23275. },
  23276. "goodscode": {
  23277. "description": "交易合约代码",
  23278. "type": "string"
  23279. },
  23280. "goodsgroupid": {
  23281. "description": "交易品种",
  23282. "type": "integer"
  23283. },
  23284. "goodsgroupname": {
  23285. "description": "交易品种名称",
  23286. "type": "string"
  23287. },
  23288. "goodsgroupspotqty": {
  23289. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  23290. "type": "number"
  23291. },
  23292. "goodsid": {
  23293. "description": "交易合约",
  23294. "type": "integer"
  23295. },
  23296. "goodsname": {
  23297. "description": "交易合约名称",
  23298. "type": "string"
  23299. },
  23300. "goodunitid": {
  23301. "description": "交易合约单位id",
  23302. "type": "integer"
  23303. },
  23304. "holdamount": {
  23305. "description": "期末持仓额",
  23306. "type": "number"
  23307. },
  23308. "holdqty": {
  23309. "description": "期末持仓量",
  23310. "type": "number"
  23311. },
  23312. "lastholdamount": {
  23313. "description": "当前持仓额",
  23314. "type": "number"
  23315. },
  23316. "lastprice": {
  23317. "description": "最新价",
  23318. "type": "number"
  23319. },
  23320. "middlegoodsid": {
  23321. "description": "套保品种id",
  23322. "type": "integer"
  23323. },
  23324. "middlegoodsname": {
  23325. "description": "套保商品名称",
  23326. "type": "string"
  23327. },
  23328. "middlegoodsqty": {
  23329. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  23330. "type": "number"
  23331. },
  23332. "middlgoodscode": {
  23333. "description": "套保商品代码",
  23334. "type": "string"
  23335. },
  23336. "openamount": {
  23337. "description": "期末开仓额",
  23338. "type": "number"
  23339. },
  23340. "openavgprice": {
  23341. "description": "开仓均价",
  23342. "type": "number"
  23343. },
  23344. "oriholdamount": {
  23345. "description": "期初持仓额",
  23346. "type": "number"
  23347. },
  23348. "oriholdqty": {
  23349. "description": "期初持仓量",
  23350. "type": "number"
  23351. },
  23352. "oriopenamount": {
  23353. "description": "期初开仓额",
  23354. "type": "number"
  23355. },
  23356. "outergroupcode": {
  23357. "description": "交易品种代码",
  23358. "type": "string"
  23359. },
  23360. "qtydecimalplace": {
  23361. "description": "成交量小数位",
  23362. "type": "integer"
  23363. },
  23364. "reckondate": {
  23365. "description": "日照时期(yyyyMMdd)",
  23366. "type": "string"
  23367. },
  23368. "reckonholdamount": {
  23369. "description": "结算持仓额",
  23370. "type": "number"
  23371. },
  23372. "reckonpl": {
  23373. "description": "结算损益",
  23374. "type": "number"
  23375. },
  23376. "reckonpl2": {
  23377. "description": "结算逐笔盈亏",
  23378. "type": "number"
  23379. },
  23380. "reckonprice": {
  23381. "description": "结算价",
  23382. "type": "number"
  23383. },
  23384. "relateduserid": {
  23385. "description": "账户关联用户ID",
  23386. "type": "integer"
  23387. },
  23388. "todaycloseamount": {
  23389. "description": "今平仓额",
  23390. "type": "number"
  23391. },
  23392. "todaycloseqty": {
  23393. "description": "今平仓量",
  23394. "type": "number"
  23395. },
  23396. "todaygoodsgroupspotqty": {
  23397. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  23398. "type": "number"
  23399. },
  23400. "todaymiddlegoodsqty": {
  23401. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  23402. "type": "number"
  23403. },
  23404. "todayopenamount": {
  23405. "description": "今开仓额",
  23406. "type": "number"
  23407. },
  23408. "todayopenqty": {
  23409. "description": "今开仓量",
  23410. "type": "number"
  23411. },
  23412. "userid": {
  23413. "description": "账户所属用户ID",
  23414. "type": "integer"
  23415. }
  23416. }
  23417. },
  23418. "models.Ermcp3TradeLinkDetail": {
  23419. "type": "object",
  23420. "properties": {
  23421. "accountid": {
  23422. "description": "资金账号",
  23423. "type": "integer"
  23424. },
  23425. "agreeunit": {
  23426. "description": "合约乘数",
  23427. "type": "number"
  23428. },
  23429. "areauserid": {
  23430. "description": "所属机构",
  23431. "type": "string"
  23432. },
  23433. "bizsubjectid": {
  23434. "description": "归属业务部门ID - SubjectID",
  23435. "type": "string"
  23436. },
  23437. "buyorsell": {
  23438. "description": "方向 - 0:买 1:卖",
  23439. "type": "integer"
  23440. },
  23441. "channelbuildtype": {
  23442. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23443. "type": "integer"
  23444. },
  23445. "contractno": {
  23446. "description": "现货编号 (合同编号)",
  23447. "type": "string"
  23448. },
  23449. "convertratio": {
  23450. "description": "折算系数",
  23451. "type": "number"
  23452. },
  23453. "createtime": {
  23454. "description": "关联时间 | 创建时间",
  23455. "type": "string"
  23456. },
  23457. "creatorid": {
  23458. "description": "创建人ID",
  23459. "type": "string"
  23460. },
  23461. "creatorsrc": {
  23462. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23463. "type": "integer"
  23464. },
  23465. "enumdicname": {
  23466. "description": "单位名称",
  23467. "type": "string"
  23468. },
  23469. "goodscode": {
  23470. "description": "合约代码",
  23471. "type": "string"
  23472. },
  23473. "goodsgroupid": {
  23474. "description": "对冲品种ID[期货合约商品组ID]",
  23475. "type": "integer"
  23476. },
  23477. "goodsid": {
  23478. "description": "商品ID",
  23479. "type": "integer"
  23480. },
  23481. "goodsname": {
  23482. "description": "合约名称",
  23483. "type": "string"
  23484. },
  23485. "hedgeflag": {
  23486. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23487. "type": "integer"
  23488. },
  23489. "linkdetailid": {
  23490. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  23491. "type": "string"
  23492. },
  23493. "linkstatus": {
  23494. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  23495. "type": "integer"
  23496. },
  23497. "middlegoodscode": {
  23498. "description": "套保品种代码",
  23499. "type": "string"
  23500. },
  23501. "middlegoodsid": {
  23502. "description": "套保品种ID",
  23503. "type": "integer"
  23504. },
  23505. "middlegoodsname": {
  23506. "description": "套保品种名称",
  23507. "type": "string"
  23508. },
  23509. "relatedlot": {
  23510. "description": "关联手数",
  23511. "type": "number"
  23512. },
  23513. "relatedmode": {
  23514. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  23515. "type": "integer"
  23516. },
  23517. "relatedqty": {
  23518. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  23519. "type": "number"
  23520. },
  23521. "retcode": {
  23522. "description": "返回码",
  23523. "type": "integer"
  23524. },
  23525. "saleuserid": {
  23526. "description": "业务员ID",
  23527. "type": "string"
  23528. },
  23529. "spotcontractid": {
  23530. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  23531. "type": "string"
  23532. },
  23533. "taname": {
  23534. "description": "期货账户",
  23535. "type": "string"
  23536. },
  23537. "tradedate": {
  23538. "description": "关联交易日(yyyyMMdd)",
  23539. "type": "string"
  23540. },
  23541. "tradeid": {
  23542. "description": "期货订单号 | 内部成交单ID",
  23543. "type": "string"
  23544. },
  23545. "tradelot": {
  23546. "description": "成交数量 | 成交手数",
  23547. "type": "integer"
  23548. },
  23549. "tradeprice": {
  23550. "description": "成交价格",
  23551. "type": "number"
  23552. },
  23553. "tradetime": {
  23554. "description": "期货成交时间",
  23555. "type": "string"
  23556. },
  23557. "tradetradedate": {
  23558. "description": "成交交易日(yyyyMMdd)",
  23559. "type": "string"
  23560. },
  23561. "username": {
  23562. "description": "用户名称",
  23563. "type": "string"
  23564. }
  23565. }
  23566. },
  23567. "models.Ermcp3Wrstandard": {
  23568. "type": "object",
  23569. "properties": {
  23570. "areauserid": {
  23571. "description": "所属机构",
  23572. "type": "integer"
  23573. },
  23574. "cantrade": {
  23575. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  23576. "type": "integer"
  23577. },
  23578. "convertfactor": {
  23579. "description": "标仓系数",
  23580. "type": "number"
  23581. },
  23582. "createtime": {
  23583. "description": "创建时间",
  23584. "type": "string"
  23585. },
  23586. "creatorid": {
  23587. "description": "创建人",
  23588. "type": "integer"
  23589. },
  23590. "deliverygoodsid": {
  23591. "description": "现货品种ID",
  23592. "type": "integer"
  23593. },
  23594. "enumdicname": {
  23595. "description": "品类单位名称",
  23596. "type": "string"
  23597. },
  23598. "isvalid": {
  23599. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  23600. "type": "integer"
  23601. },
  23602. "minivalue": {
  23603. "description": "最小变动值",
  23604. "type": "integer"
  23605. },
  23606. "minivaluedp": {
  23607. "description": "最小变动值小数位",
  23608. "type": "integer"
  23609. },
  23610. "realminivalue": {
  23611. "description": "实际最小变动值",
  23612. "type": "integer"
  23613. },
  23614. "realminivaluedp": {
  23615. "description": "实际最小变动值小数位",
  23616. "type": "integer"
  23617. },
  23618. "remark": {
  23619. "description": "备注",
  23620. "type": "string"
  23621. },
  23622. "unitid": {
  23623. "description": "品类单位ID",
  23624. "type": "integer"
  23625. },
  23626. "updatetime": {
  23627. "description": "更新时间",
  23628. "type": "string"
  23629. },
  23630. "wrstandardcode": {
  23631. "description": "品类代码",
  23632. "type": "string"
  23633. },
  23634. "wrstandardid": {
  23635. "description": "品类ID(SEQ_WRSTANDARD)",
  23636. "type": "integer"
  23637. },
  23638. "wrstandardname": {
  23639. "description": "品类名称",
  23640. "type": "string"
  23641. }
  23642. }
  23643. },
  23644. "models.ErmcpBizGroupEx": {
  23645. "type": "object",
  23646. "properties": {
  23647. "acclist": {
  23648. "description": "账号列表",
  23649. "type": "array",
  23650. "items": {
  23651. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  23652. }
  23653. },
  23654. "bizgroupid": {
  23655. "description": "业务分组id",
  23656. "type": "integer"
  23657. },
  23658. "biztype": {
  23659. "description": "业务类型 1-套保 2-套利",
  23660. "type": "integer"
  23661. },
  23662. "wrlist": {
  23663. "description": "现货商品表",
  23664. "type": "array",
  23665. "items": {
  23666. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  23667. }
  23668. }
  23669. }
  23670. },
  23671. "models.ErmcpBizGroupSpotGoods": {
  23672. "type": "object",
  23673. "properties": {
  23674. "areauserid": {
  23675. "description": "所属机构id",
  23676. "type": "integer"
  23677. },
  23678. "bizgroupid": {
  23679. "description": "分组id",
  23680. "type": "integer"
  23681. },
  23682. "biztype": {
  23683. "description": "业务类型 1-套保 2-套利",
  23684. "type": "integer"
  23685. },
  23686. "deliverygoodscode": {
  23687. "description": "现货商品代码",
  23688. "type": "string"
  23689. },
  23690. "deliverygoodsid": {
  23691. "description": "现货商品id",
  23692. "type": "integer"
  23693. },
  23694. "deliverygoodsname": {
  23695. "description": "现货商品名称",
  23696. "type": "string"
  23697. },
  23698. "unitid": {
  23699. "description": "现货商品单位id",
  23700. "type": "integer"
  23701. }
  23702. }
  23703. },
  23704. "models.ErmcpBizGroupTaAccount": {
  23705. "type": "object",
  23706. "properties": {
  23707. "accountid": {
  23708. "description": "账号id",
  23709. "type": "integer"
  23710. },
  23711. "accountname": {
  23712. "description": "账号名称",
  23713. "type": "string"
  23714. },
  23715. "areauserid": {
  23716. "description": "所属机构id",
  23717. "type": "integer"
  23718. },
  23719. "bizgroupid": {
  23720. "description": "业务分组id",
  23721. "type": "integer"
  23722. },
  23723. "ismain": {
  23724. "description": "是否主账号 1-是 0-否",
  23725. "type": "integer"
  23726. }
  23727. }
  23728. },
  23729. "models.ErmcpDGFactoryItem": {
  23730. "type": "object",
  23731. "properties": {
  23732. "areauserid": {
  23733. "description": "用户id",
  23734. "type": "integer"
  23735. },
  23736. "deliverygoodsid": {
  23737. "description": "现货品种ID",
  23738. "type": "integer"
  23739. },
  23740. "dgfactoryitemid": {
  23741. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  23742. "type": "integer"
  23743. },
  23744. "dgfactoryitemtypeid": {
  23745. "description": "要素项类型",
  23746. "type": "integer"
  23747. },
  23748. "dgfactoryitemvalue": {
  23749. "description": "要素项值(类型为仓库时填写仓库名称)",
  23750. "type": "string"
  23751. },
  23752. "isvalid": {
  23753. "description": "是否有效 - 0:无效 1:有效",
  23754. "type": "integer"
  23755. },
  23756. "orderindex": {
  23757. "description": "顺序",
  23758. "type": "integer"
  23759. },
  23760. "warehouseid": {
  23761. "description": "仓库ID(类型为仓库时填写)",
  23762. "type": "integer"
  23763. }
  23764. }
  23765. },
  23766. "models.ErmcpDeliveryGoods": {
  23767. "type": "object",
  23768. "properties": {
  23769. "agreeunit": {
  23770. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  23771. "type": "integer"
  23772. },
  23773. "areauserid": {
  23774. "description": "所属机构",
  23775. "type": "integer"
  23776. },
  23777. "auditflag": {
  23778. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  23779. "type": "integer"
  23780. },
  23781. "categoryid": {
  23782. "description": "类别ID(SEQ_WRCATEGORY)",
  23783. "type": "integer"
  23784. },
  23785. "deliverygoodscode": {
  23786. "description": "现货品种代码",
  23787. "type": "string"
  23788. },
  23789. "deliverygoodsid": {
  23790. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  23791. "type": "integer"
  23792. },
  23793. "deliverygoodsname": {
  23794. "description": "现货品种名称",
  23795. "type": "string"
  23796. },
  23797. "deliverygoodstype": {
  23798. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  23799. "type": "integer"
  23800. },
  23801. "dgstatus": {
  23802. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  23803. "type": "integer"
  23804. },
  23805. "enumdicname": {
  23806. "description": "现货品种单位名称",
  23807. "type": "string"
  23808. },
  23809. "goodsunitid": {
  23810. "description": "现货品种单位ID",
  23811. "type": "integer"
  23812. },
  23813. "isvalid": {
  23814. "description": "是否有效 - 0:无效 1:有效",
  23815. "type": "integer"
  23816. },
  23817. "qtydecimalplace": {
  23818. "description": "成交量小数位",
  23819. "type": "integer"
  23820. },
  23821. "remark": {
  23822. "description": "备注",
  23823. "type": "string"
  23824. },
  23825. "standardqty": {
  23826. "description": "标准数量(库位数量) [标准品特有]",
  23827. "type": "integer"
  23828. },
  23829. "standardqtyrange": {
  23830. "description": "标准数量偏差范围 [标准品特有]",
  23831. "type": "integer"
  23832. }
  23833. }
  23834. },
  23835. "models.ErmcpFuturesCompany": {
  23836. "type": "object",
  23837. "properties": {
  23838. "brokerid": {
  23839. "description": "经纪公司代码",
  23840. "type": "string"
  23841. },
  23842. "channeladdress": {
  23843. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  23844. "type": "string"
  23845. },
  23846. "channelid": {
  23847. "description": "对冲渠道ID",
  23848. "type": "string"
  23849. },
  23850. "createtime": {
  23851. "description": "创建时间",
  23852. "type": "string"
  23853. },
  23854. "creatorid": {
  23855. "description": "创建人",
  23856. "type": "string"
  23857. },
  23858. "fcid": {
  23859. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  23860. "type": "integer"
  23861. },
  23862. "fcname": {
  23863. "description": "期货公司名称",
  23864. "type": "string"
  23865. },
  23866. "isvalid": {
  23867. "description": "是否有效 - 0:无效 1:有效",
  23868. "type": "integer"
  23869. },
  23870. "mhpaddress": {
  23871. "description": "MHP服务地址(IP:Port)",
  23872. "type": "string"
  23873. },
  23874. "riskrulegroupid": {
  23875. "description": "风控规则组ID",
  23876. "type": "string"
  23877. },
  23878. "tradefeetmpid": {
  23879. "description": "手续费模板ID[TradeConfigTmpType为2]",
  23880. "type": "string"
  23881. },
  23882. "trademargintmpid": {
  23883. "description": "保证金模板ID [TradeConfigTmpType为1]",
  23884. "type": "string"
  23885. },
  23886. "traderatetmpid": {
  23887. "description": "汇率模板ID[TradeConfigTmpType为3]",
  23888. "type": "string"
  23889. },
  23890. "updatetime": {
  23891. "description": "更新时间",
  23892. "type": "string"
  23893. },
  23894. "updatorid": {
  23895. "description": "更新人",
  23896. "type": "string"
  23897. }
  23898. }
  23899. },
  23900. "models.ErmcpGGConvertCfg": {
  23901. "type": "object",
  23902. "properties": {
  23903. "convertratio": {
  23904. "description": "折算系数",
  23905. "type": "number"
  23906. },
  23907. "destgoodsgroupid": {
  23908. "description": "目标品种ID",
  23909. "type": "integer"
  23910. },
  23911. "dstcode": {
  23912. "description": "目录品种代码",
  23913. "type": "string"
  23914. },
  23915. "dstexchangecode": {
  23916. "description": "目标期货交易所",
  23917. "type": "string"
  23918. },
  23919. "dstname": {
  23920. "description": "目标品种名称",
  23921. "type": "string"
  23922. },
  23923. "dstunitid": {
  23924. "description": "目标品种单位ID",
  23925. "type": "integer"
  23926. },
  23927. "dstunitidname": {
  23928. "description": "目标品种单位名称",
  23929. "type": "string"
  23930. },
  23931. "modifytime": {
  23932. "description": "修改时间",
  23933. "type": "string"
  23934. },
  23935. "srccode": {
  23936. "description": "源品种代码",
  23937. "type": "string"
  23938. },
  23939. "srcexchangecode": {
  23940. "description": "源期货交易所",
  23941. "type": "string"
  23942. },
  23943. "srcgoodsgroupid": {
  23944. "description": "源品种ID",
  23945. "type": "integer"
  23946. },
  23947. "srcname": {
  23948. "description": "源品种名称",
  23949. "type": "string"
  23950. },
  23951. "srcunitid": {
  23952. "description": "源品种单位ID",
  23953. "type": "integer"
  23954. },
  23955. "srcunitidname": {
  23956. "description": "源品种单位名称",
  23957. "type": "string"
  23958. }
  23959. }
  23960. },
  23961. "models.ErmcpGoods": {
  23962. "type": "object",
  23963. "required": [
  23964. "goodscode",
  23965. "goodsid",
  23966. "goodsname",
  23967. "marketid"
  23968. ],
  23969. "properties": {
  23970. "agreeunit": {
  23971. "description": "合约单位",
  23972. "type": "number"
  23973. },
  23974. "areauserid": {
  23975. "description": "所属机构",
  23976. "type": "integer"
  23977. },
  23978. "auditaccountid": {
  23979. "description": "审核操作员账号",
  23980. "type": "integer"
  23981. },
  23982. "audittime": {
  23983. "description": "审核时间",
  23984. "type": "string"
  23985. },
  23986. "cancelaccountid": {
  23987. "description": "注销操作员账号",
  23988. "type": "integer"
  23989. },
  23990. "canceltime": {
  23991. "description": "注销时间",
  23992. "type": "string"
  23993. },
  23994. "closepricemode": {
  23995. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23996. "type": "integer"
  23997. },
  23998. "closepriceparam": {
  23999. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  24000. "type": "number"
  24001. },
  24002. "createtime": {
  24003. "description": "创建时间",
  24004. "type": "string"
  24005. },
  24006. "creatorid": {
  24007. "description": "创建人",
  24008. "type": "integer"
  24009. },
  24010. "currencyid": {
  24011. "description": "报价货币ID",
  24012. "type": "integer"
  24013. },
  24014. "cutmode": {
  24015. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  24016. "type": "integer"
  24017. },
  24018. "decimalplace": {
  24019. "description": "报价小数位",
  24020. "type": "integer"
  24021. },
  24022. "delistingdate": {
  24023. "description": "商品退市时间(状态:退市) -- 已作废",
  24024. "type": "string"
  24025. },
  24026. "delistingmode": {
  24027. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  24028. "type": "integer"
  24029. },
  24030. "deliveryflag": {
  24031. "description": "交割标志 - 0:不可交割 1:可交割",
  24032. "type": "integer"
  24033. },
  24034. "enumdicname": {
  24035. "description": "单位名称",
  24036. "type": "string"
  24037. },
  24038. "forceclosemode": {
  24039. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  24040. "type": "integer"
  24041. },
  24042. "forceclosevalue": {
  24043. "description": "定期强平参数 [收益权]",
  24044. "type": "integer"
  24045. },
  24046. "goodscode": {
  24047. "description": "商品代码(内部)",
  24048. "type": "string"
  24049. },
  24050. "goodscurrencyid": {
  24051. "description": "合约货币ID",
  24052. "type": "integer"
  24053. },
  24054. "goodsgroupid": {
  24055. "description": "所属商品组ID",
  24056. "type": "integer"
  24057. },
  24058. "goodsid": {
  24059. "description": "商品ID(自增ID SEQ_GOODS)",
  24060. "type": "integer"
  24061. },
  24062. "goodsname": {
  24063. "description": "商品名称",
  24064. "type": "string"
  24065. },
  24066. "goodsquotetype": {
  24067. "description": "合约报价类型: 1-直接报价 2-间接报价",
  24068. "type": "integer"
  24069. },
  24070. "goodsstatus": {
  24071. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24072. "type": "integer"
  24073. },
  24074. "goodstradetype": {
  24075. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  24076. "type": "integer"
  24077. },
  24078. "goodunitid": {
  24079. "description": "报价单位ID",
  24080. "type": "integer"
  24081. },
  24082. "hasquoter": {
  24083. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  24084. "type": "integer"
  24085. },
  24086. "hqprotecttime": {
  24087. "description": "行情保护时间(秒)",
  24088. "type": "integer"
  24089. },
  24090. "innerdealmode": {
  24091. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24092. "type": "integer"
  24093. },
  24094. "isbuylimited": {
  24095. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24096. "type": "integer"
  24097. },
  24098. "isvisible": {
  24099. "description": "游客是否可见 - 0:不可见 1:可见",
  24100. "type": "integer"
  24101. },
  24102. "lasttradedate": {
  24103. "description": "最后交易日期(状态:待退市)",
  24104. "type": "string"
  24105. },
  24106. "listingdate": {
  24107. "description": "交易开始日期",
  24108. "type": "string"
  24109. },
  24110. "marketid": {
  24111. "description": "所属市场ID",
  24112. "type": "integer"
  24113. },
  24114. "modifierid": {
  24115. "description": "修改人",
  24116. "type": "integer"
  24117. },
  24118. "modifystatus": {
  24119. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  24120. "type": "integer"
  24121. },
  24122. "modifytime": {
  24123. "description": "修改时间",
  24124. "type": "string"
  24125. },
  24126. "outerdealmode": {
  24127. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24128. "type": "integer"
  24129. },
  24130. "outgoodscode": {
  24131. "description": "商品代码(外部)",
  24132. "type": "string"
  24133. },
  24134. "pictureurl": {
  24135. "description": "商品图片",
  24136. "type": "string"
  24137. },
  24138. "qtydecimalplace": {
  24139. "description": "成交量小数位",
  24140. "type": "integer"
  24141. },
  24142. "quotegear": {
  24143. "description": "行情档位(1-10)",
  24144. "type": "integer"
  24145. },
  24146. "quoteminunit": {
  24147. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24148. "type": "integer"
  24149. },
  24150. "quoteshowtype": {
  24151. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  24152. "type": "integer"
  24153. },
  24154. "quoteshowtypeinterval": {
  24155. "description": "行情报价间隔时间(秒)(成交价时为0)",
  24156. "type": "integer"
  24157. },
  24158. "relatedgoodsid": {
  24159. "description": "关联参考商品ID",
  24160. "type": "integer"
  24161. },
  24162. "remark": {
  24163. "description": "备注",
  24164. "type": "string"
  24165. },
  24166. "trademode": {
  24167. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24168. "type": "integer"
  24169. }
  24170. }
  24171. },
  24172. "models.ErmcpGoodsBrand": {
  24173. "type": "object",
  24174. "properties": {
  24175. "areauserid": {
  24176. "description": "所属机构",
  24177. "type": "integer"
  24178. },
  24179. "brandid": {
  24180. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  24181. "type": "integer"
  24182. },
  24183. "brandname": {
  24184. "description": "品牌名称",
  24185. "type": "string"
  24186. },
  24187. "createtime": {
  24188. "description": "创建时间",
  24189. "type": "string"
  24190. },
  24191. "creatorid": {
  24192. "description": "创建人",
  24193. "type": "integer"
  24194. },
  24195. "creatorsrc": {
  24196. "description": "创建人来源 - 1:管理端 2:终端",
  24197. "type": "integer"
  24198. },
  24199. "deliverygoodsid": {
  24200. "description": "现货品种ID",
  24201. "type": "integer"
  24202. },
  24203. "isvalid": {
  24204. "description": "是否有效 - 0:无效 1:有效",
  24205. "type": "integer"
  24206. },
  24207. "updatetime": {
  24208. "description": "更新时间",
  24209. "type": "string"
  24210. },
  24211. "updatorid": {
  24212. "description": "更新人",
  24213. "type": "integer"
  24214. },
  24215. "updatorsrc": {
  24216. "description": "更新人来源 - 1:管理端 2:终端",
  24217. "type": "integer"
  24218. },
  24219. "wrstandardid": {
  24220. "description": "现货商品ID",
  24221. "type": "integer"
  24222. }
  24223. }
  24224. },
  24225. "models.ErmcpGoodsModel": {
  24226. "type": "object",
  24227. "properties": {
  24228. "areauserid": {
  24229. "description": "所属机构",
  24230. "type": "integer"
  24231. },
  24232. "convertfactor": {
  24233. "description": "标仓系数",
  24234. "type": "number"
  24235. },
  24236. "createtime": {
  24237. "description": "创建时间",
  24238. "type": "string"
  24239. },
  24240. "creatorid": {
  24241. "description": "创建人",
  24242. "type": "integer"
  24243. },
  24244. "creatorsrc": {
  24245. "description": "创建人来源 - 1:管理端 2:终端",
  24246. "type": "integer"
  24247. },
  24248. "deliverygoodsid": {
  24249. "description": "现货品种ID",
  24250. "type": "integer"
  24251. },
  24252. "isvalid": {
  24253. "description": "是否有效 - 0:无效 1:有效",
  24254. "type": "integer"
  24255. },
  24256. "modelid": {
  24257. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  24258. "type": "integer"
  24259. },
  24260. "modelname": {
  24261. "description": "型号名称",
  24262. "type": "string"
  24263. },
  24264. "updatetime": {
  24265. "description": "更新时间",
  24266. "type": "string"
  24267. },
  24268. "updatorid": {
  24269. "description": "更新人",
  24270. "type": "integer"
  24271. },
  24272. "updatorsrc": {
  24273. "description": "更新人来源 - 1:管理端 2:终端",
  24274. "type": "integer"
  24275. },
  24276. "wrstandardid": {
  24277. "description": "现货商品ID",
  24278. "type": "integer"
  24279. }
  24280. }
  24281. },
  24282. "models.ErmcpHisExposure": {
  24283. "type": "object",
  24284. "properties": {
  24285. "needhedgeexposoure": {
  24286. "description": "应套保敞口",
  24287. "type": "number"
  24288. },
  24289. "reckondate": {
  24290. "description": "日照时期(yyyyMMdd)",
  24291. "type": "string"
  24292. },
  24293. "totalexposure": {
  24294. "description": "总敞口",
  24295. "type": "number"
  24296. }
  24297. }
  24298. },
  24299. "models.ErmcpLoginTaAccount": {
  24300. "type": "object",
  24301. "properties": {
  24302. "accountid": {
  24303. "description": "账号id",
  24304. "type": "integer"
  24305. },
  24306. "accountname": {
  24307. "description": "账号名称",
  24308. "type": "string"
  24309. }
  24310. }
  24311. },
  24312. "models.ErmcpLoginUser": {
  24313. "type": "object",
  24314. "properties": {
  24315. "acclist": {
  24316. "description": "关联资金账号",
  24317. "type": "array",
  24318. "items": {
  24319. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  24320. }
  24321. },
  24322. "accountname": {
  24323. "description": "用户名称",
  24324. "type": "string"
  24325. },
  24326. "clientroleid": {
  24327. "description": "角色id(usertype=2)",
  24328. "type": "integer"
  24329. },
  24330. "createtime": {
  24331. "description": "创建时间",
  24332. "type": "string"
  24333. },
  24334. "logincode": {
  24335. "description": "登录代码",
  24336. "type": "string"
  24337. },
  24338. "loginid": {
  24339. "description": "登录id(LOGINID)",
  24340. "type": "integer"
  24341. },
  24342. "loginname": {
  24343. "description": "登录名称(loginaccount表中的accountname字段)",
  24344. "type": "string"
  24345. },
  24346. "loginstatus": {
  24347. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  24348. "type": "integer"
  24349. },
  24350. "memberuserid": {
  24351. "description": "所属会员id",
  24352. "type": "integer"
  24353. },
  24354. "mobile": {
  24355. "description": "手机号",
  24356. "type": "string"
  24357. },
  24358. "modifytime": {
  24359. "description": "修改时间",
  24360. "type": "string"
  24361. },
  24362. "password": {
  24363. "description": "密码(不可解密)",
  24364. "type": "string"
  24365. },
  24366. "rolename": {
  24367. "description": "角色名称",
  24368. "type": "string"
  24369. },
  24370. "rolestatus": {
  24371. "description": "角色状态 1-启用 2-停用",
  24372. "type": "integer"
  24373. },
  24374. "roletype": {
  24375. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  24376. "type": "string"
  24377. },
  24378. "userid": {
  24379. "description": "用户id",
  24380. "type": "integer"
  24381. },
  24382. "usertype": {
  24383. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24384. "type": "integer"
  24385. }
  24386. }
  24387. },
  24388. "models.ErmcpLoginUserEx": {
  24389. "type": "object",
  24390. "properties": {
  24391. "accountstatus": {
  24392. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24393. "type": "integer"
  24394. },
  24395. "mobile": {
  24396. "description": "手机号",
  24397. "type": "string"
  24398. },
  24399. "querytype": {
  24400. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  24401. "type": "integer"
  24402. },
  24403. "roleid": {
  24404. "description": "角色id(交易账户-\u003e用户id)",
  24405. "type": "integer"
  24406. },
  24407. "rolename": {
  24408. "description": "角色名称(交易账户-\u003e用户名称)",
  24409. "type": "string"
  24410. },
  24411. "userlist": {
  24412. "description": "用户列表",
  24413. "type": "array",
  24414. "items": {
  24415. "$ref": "#/definitions/models.ErmcpLoginUser"
  24416. }
  24417. },
  24418. "usertype": {
  24419. "description": "用户类型 2-机构 7-企业成员(云平台)",
  24420. "type": "integer"
  24421. }
  24422. }
  24423. },
  24424. "models.ErmcpMiddleGoodsModel": {
  24425. "type": "object",
  24426. "properties": {
  24427. "areauserid": {
  24428. "description": "机构用户ID",
  24429. "type": "integer"
  24430. },
  24431. "createtime": {
  24432. "description": "修改时间",
  24433. "type": "string"
  24434. },
  24435. "enumdicname": {
  24436. "description": "单位名称",
  24437. "type": "string"
  24438. },
  24439. "evaluateratio": {
  24440. "description": "估价系数",
  24441. "type": "number"
  24442. },
  24443. "goodsgroupid": {
  24444. "description": "关联期货品种ID",
  24445. "type": "integer"
  24446. },
  24447. "goodsunitid": {
  24448. "description": "单位ID",
  24449. "type": "integer"
  24450. },
  24451. "isvalid": {
  24452. "description": "状态 0-无效(停用) 1-有效(正常)",
  24453. "type": "integer"
  24454. },
  24455. "middlegoodscode": {
  24456. "description": "套保品种代码",
  24457. "type": "string"
  24458. },
  24459. "middlegoodsid": {
  24460. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24461. "type": "integer"
  24462. },
  24463. "middlegoodsname": {
  24464. "description": "套保品种名称",
  24465. "type": "string"
  24466. },
  24467. "modifytime": {
  24468. "description": "修改时间",
  24469. "type": "string"
  24470. },
  24471. "needarbitrageratio": {
  24472. "description": "套利比例",
  24473. "type": "number"
  24474. },
  24475. "needhedgeratio": {
  24476. "description": "套保比率",
  24477. "type": "number"
  24478. },
  24479. "qtydecimalplace": {
  24480. "description": "数量小数位",
  24481. "type": "integer"
  24482. },
  24483. "relatedgoodsid": {
  24484. "description": "关联交易商品ID",
  24485. "type": "integer"
  24486. },
  24487. "relatedgoodstype": {
  24488. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  24489. "type": "integer"
  24490. },
  24491. "remark": {
  24492. "description": "备注",
  24493. "type": "string"
  24494. }
  24495. }
  24496. },
  24497. "models.ErmcpMiddlegoodsRelateGoods": {
  24498. "type": "object",
  24499. "properties": {
  24500. "agreeunit": {
  24501. "description": "合约乘数",
  24502. "type": "number"
  24503. },
  24504. "convertratio": {
  24505. "description": "折算系数",
  24506. "type": "number"
  24507. },
  24508. "enumdicname": {
  24509. "description": "单位名称(交易商品)",
  24510. "type": "string"
  24511. },
  24512. "goodscode": {
  24513. "description": "交易商品代码",
  24514. "type": "string"
  24515. },
  24516. "goodsgroupid": {
  24517. "description": "交易品种id",
  24518. "type": "integer"
  24519. },
  24520. "goodsid": {
  24521. "description": "商品Id",
  24522. "type": "integer"
  24523. },
  24524. "goodsname": {
  24525. "description": "交易商品名称",
  24526. "type": "string"
  24527. },
  24528. "goodunitid": {
  24529. "description": "交易商品单位id",
  24530. "type": "integer"
  24531. },
  24532. "middlegoodsid": {
  24533. "description": "套保商品id",
  24534. "type": "integer"
  24535. },
  24536. "middlegoodsname": {
  24537. "description": "套保商品名称",
  24538. "type": "string"
  24539. },
  24540. "middlegoodsswcode": {
  24541. "description": "套保商品代码",
  24542. "type": "string"
  24543. },
  24544. "needarbitrageratio": {
  24545. "description": "应套利比例",
  24546. "type": "number"
  24547. },
  24548. "needhedgeratio": {
  24549. "description": "应套保比例",
  24550. "type": "number"
  24551. }
  24552. }
  24553. },
  24554. "models.ErmcpRole": {
  24555. "type": "object",
  24556. "properties": {
  24557. "areauserid": {
  24558. "description": "所属机构",
  24559. "type": "integer"
  24560. },
  24561. "autoid": {
  24562. "description": "角色ID(自增ID)",
  24563. "type": "integer"
  24564. },
  24565. "modifierid": {
  24566. "description": "修改人(创建人)",
  24567. "type": "integer"
  24568. },
  24569. "modifiername": {
  24570. "description": "修改人名称",
  24571. "type": "string"
  24572. },
  24573. "modifytime": {
  24574. "description": "修改时间(创建时间)",
  24575. "type": "string"
  24576. },
  24577. "rolename": {
  24578. "description": "角色名称",
  24579. "type": "string"
  24580. },
  24581. "rolestatus": {
  24582. "description": "角色状态 - 1:启用 2:停用",
  24583. "type": "integer"
  24584. },
  24585. "roletype": {
  24586. "description": "角色类型 - 1- 管理端 2- 交易端",
  24587. "type": "integer"
  24588. }
  24589. }
  24590. },
  24591. "models.ErmcpRoleMenu": {
  24592. "type": "object",
  24593. "properties": {
  24594. "iconame": {
  24595. "description": "菜单图标",
  24596. "type": "string"
  24597. },
  24598. "ishadrole": {
  24599. "description": "是否有权限",
  24600. "type": "boolean"
  24601. },
  24602. "menutype": {
  24603. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  24604. "type": "integer"
  24605. },
  24606. "parentcode": {
  24607. "description": "上级资源代码",
  24608. "type": "string"
  24609. },
  24610. "remark": {
  24611. "description": "菜单备注",
  24612. "type": "string"
  24613. },
  24614. "resourcecode": {
  24615. "description": "菜单代码",
  24616. "type": "string"
  24617. },
  24618. "resourcelevel": {
  24619. "description": "级别",
  24620. "type": "integer"
  24621. },
  24622. "resourcename": {
  24623. "description": "菜单名称",
  24624. "type": "string"
  24625. },
  24626. "roleid": {
  24627. "description": "角色id",
  24628. "type": "integer"
  24629. },
  24630. "sort": {
  24631. "description": "排序",
  24632. "type": "integer"
  24633. },
  24634. "url": {
  24635. "description": "URL",
  24636. "type": "string"
  24637. },
  24638. "userid": {
  24639. "description": "用户id",
  24640. "type": "integer"
  24641. }
  24642. }
  24643. },
  24644. "models.ErmcpRoleMenuEx": {
  24645. "type": "object",
  24646. "properties": {
  24647. "menu": {
  24648. "description": "父级菜单",
  24649. "$ref": "#/definitions/models.ErmcpRoleMenu"
  24650. },
  24651. "subMenu": {
  24652. "description": "子级菜单",
  24653. "type": "array",
  24654. "items": {
  24655. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  24656. }
  24657. }
  24658. }
  24659. },
  24660. "models.ErmcpTaAccount": {
  24661. "type": "object",
  24662. "properties": {
  24663. "accountid": {
  24664. "description": "账户id",
  24665. "type": "integer"
  24666. },
  24667. "accountname": {
  24668. "description": "账户名称",
  24669. "type": "string"
  24670. },
  24671. "currencyid": {
  24672. "description": "币种id",
  24673. "type": "integer"
  24674. },
  24675. "hedgeaccountcode": {
  24676. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24677. "type": "string"
  24678. },
  24679. "ismain": {
  24680. "description": "是否主账户 0-否 1-是",
  24681. "type": "integer"
  24682. },
  24683. "parentaccountid": {
  24684. "description": "父账户id",
  24685. "type": "integer"
  24686. },
  24687. "relateduserid": {
  24688. "description": "关联userid",
  24689. "type": "integer"
  24690. },
  24691. "tradefeetmpid": {
  24692. "description": "手续费模板id",
  24693. "type": "integer"
  24694. },
  24695. "tradefeetmpname": {
  24696. "description": "手续费模板名称",
  24697. "type": "string"
  24698. },
  24699. "trademargintmpid": {
  24700. "description": "保证金模板id",
  24701. "type": "integer"
  24702. },
  24703. "trademargintmpname": {
  24704. "description": "保证金模板名称",
  24705. "type": "string"
  24706. },
  24707. "traderatetmpid": {
  24708. "description": "汇率模板id",
  24709. "type": "integer"
  24710. },
  24711. "traderatetmpname": {
  24712. "description": "汇率模板名称",
  24713. "type": "string"
  24714. },
  24715. "tradestatus": {
  24716. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24717. "type": "integer"
  24718. },
  24719. "userid": {
  24720. "description": "用户id",
  24721. "type": "integer"
  24722. }
  24723. }
  24724. },
  24725. "models.ErmcpTaAccountEx": {
  24726. "type": "object",
  24727. "properties": {
  24728. "mainAcc": {
  24729. "description": "主账号",
  24730. "$ref": "#/definitions/models.ErmcpTaAccountM"
  24731. },
  24732. "subacclist": {
  24733. "description": "子账号列表",
  24734. "type": "array",
  24735. "items": {
  24736. "$ref": "#/definitions/models.ErmcpTaAccount"
  24737. }
  24738. }
  24739. }
  24740. },
  24741. "models.ErmcpTaAccountInfo": {
  24742. "type": "object",
  24743. "properties": {
  24744. "accountid": {
  24745. "description": "资金账户ID",
  24746. "type": "integer"
  24747. },
  24748. "accountname": {
  24749. "description": "账户名称",
  24750. "type": "string"
  24751. },
  24752. "balance": {
  24753. "description": "期初余额",
  24754. "type": "number"
  24755. },
  24756. "capitalbalance": {
  24757. "description": "本金余额[外部子账户实际出入金余额]",
  24758. "type": "number"
  24759. },
  24760. "closepl": {
  24761. "description": "今日平仓盈亏",
  24762. "type": "number"
  24763. },
  24764. "creditdecrease": {
  24765. "description": "今日授信减少",
  24766. "type": "number"
  24767. },
  24768. "creditincrease": {
  24769. "description": "今日授信增加",
  24770. "type": "number"
  24771. },
  24772. "curdebt": {
  24773. "description": "期末欠款",
  24774. "type": "number"
  24775. },
  24776. "currencyid": {
  24777. "description": "货币ID",
  24778. "type": "integer"
  24779. },
  24780. "currentbalance": {
  24781. "description": "期末余额",
  24782. "type": "number"
  24783. },
  24784. "freezecharge": {
  24785. "description": "手续费冻结",
  24786. "type": "number"
  24787. },
  24788. "freezemargin": {
  24789. "description": "冻结保证金",
  24790. "type": "number"
  24791. },
  24792. "fromaccountid": {
  24793. "description": "所属上级账户",
  24794. "type": "integer"
  24795. },
  24796. "inamount": {
  24797. "description": "今日入金金额(包括三方入金)",
  24798. "type": "number"
  24799. },
  24800. "ismain": {
  24801. "description": "是否母账号 0:不是母账户 1:是母账户",
  24802. "type": "integer"
  24803. },
  24804. "mortgagecredit": {
  24805. "description": "授信金额",
  24806. "type": "number"
  24807. },
  24808. "oridebt": {
  24809. "description": "期初欠款",
  24810. "type": "number"
  24811. },
  24812. "orifreezecharge": {
  24813. "description": "期初手续费冻结",
  24814. "type": "number"
  24815. },
  24816. "orifreezemargin": {
  24817. "description": "期初冻结保证金",
  24818. "type": "number"
  24819. },
  24820. "orimortgagecredit": {
  24821. "description": "期初授信金额",
  24822. "type": "number"
  24823. },
  24824. "oriothercredit": {
  24825. "description": "期初其它授信金额",
  24826. "type": "number"
  24827. },
  24828. "oriotherfreezemargin": {
  24829. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  24830. "type": "number"
  24831. },
  24832. "orioutamountfreeze": {
  24833. "description": "期初出金冻结",
  24834. "type": "number"
  24835. },
  24836. "oriusedmargin": {
  24837. "description": "期初占用保证金",
  24838. "type": "number"
  24839. },
  24840. "othercredit": {
  24841. "description": "其它授信金额",
  24842. "type": "number"
  24843. },
  24844. "othercreditdecrease": {
  24845. "description": "今日其它授信减少",
  24846. "type": "number"
  24847. },
  24848. "othercreditincrease": {
  24849. "description": "今日其它授信增加",
  24850. "type": "number"
  24851. },
  24852. "otherfreezemargin": {
  24853. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  24854. "type": "number"
  24855. },
  24856. "outamount": {
  24857. "description": "今日出金金额(包括三方出金)",
  24858. "type": "number"
  24859. },
  24860. "outamountfreeze": {
  24861. "description": "出金冻结",
  24862. "type": "number"
  24863. },
  24864. "outthreshold": {
  24865. "description": "出金阈值",
  24866. "type": "number"
  24867. },
  24868. "parentaccountid": {
  24869. "description": "所属根账号",
  24870. "type": "integer"
  24871. },
  24872. "paycharge": {
  24873. "description": "今日手续费支出",
  24874. "type": "number"
  24875. },
  24876. "relateduserid": {
  24877. "description": "关联用户",
  24878. "type": "integer"
  24879. },
  24880. "signstatus": {
  24881. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  24882. "type": "integer"
  24883. },
  24884. "sublevelpath": {
  24885. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  24886. "type": "string"
  24887. },
  24888. "taaccounttype": {
  24889. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  24890. "type": "integer"
  24891. },
  24892. "thirdinamount": {
  24893. "description": "今日三方入金",
  24894. "type": "number"
  24895. },
  24896. "thirdoutamount": {
  24897. "description": "今日三方出金",
  24898. "type": "number"
  24899. },
  24900. "tradestatus": {
  24901. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24902. "type": "integer"
  24903. },
  24904. "transferamount": {
  24905. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  24906. "type": "number"
  24907. },
  24908. "usedmargin": {
  24909. "description": "占用保证金",
  24910. "type": "number"
  24911. },
  24912. "userid": {
  24913. "description": "用户ID",
  24914. "type": "integer"
  24915. }
  24916. }
  24917. },
  24918. "models.ErmcpTaAccountM": {
  24919. "type": "object",
  24920. "properties": {
  24921. "accountid": {
  24922. "description": "账户id",
  24923. "type": "integer"
  24924. },
  24925. "accountname": {
  24926. "description": "账户名称",
  24927. "type": "string"
  24928. },
  24929. "currencyid": {
  24930. "description": "币种id",
  24931. "type": "integer"
  24932. },
  24933. "fcid": {
  24934. "description": "期货公司id",
  24935. "type": "integer"
  24936. },
  24937. "fcname": {
  24938. "description": "期货公司代码",
  24939. "type": "string"
  24940. },
  24941. "hedgeaccountcode": {
  24942. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24943. "type": "string"
  24944. },
  24945. "ismain": {
  24946. "description": "是否主账户 0-否 1-是",
  24947. "type": "integer"
  24948. },
  24949. "parentaccountid": {
  24950. "description": "父账户id",
  24951. "type": "integer"
  24952. },
  24953. "relateduserid": {
  24954. "description": "关联userid",
  24955. "type": "integer"
  24956. },
  24957. "tradefeetmpid": {
  24958. "description": "手续费模板id",
  24959. "type": "integer"
  24960. },
  24961. "tradefeetmpname": {
  24962. "description": "手续费模板名称",
  24963. "type": "string"
  24964. },
  24965. "trademargintmpid": {
  24966. "description": "保证金模板id",
  24967. "type": "integer"
  24968. },
  24969. "trademargintmpname": {
  24970. "description": "保证金模板名称",
  24971. "type": "string"
  24972. },
  24973. "traderatetmpid": {
  24974. "description": "汇率模板id",
  24975. "type": "integer"
  24976. },
  24977. "traderatetmpname": {
  24978. "description": "汇率模板名称",
  24979. "type": "string"
  24980. },
  24981. "tradestatus": {
  24982. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24983. "type": "integer"
  24984. },
  24985. "userid": {
  24986. "description": "用户id",
  24987. "type": "integer"
  24988. }
  24989. }
  24990. },
  24991. "models.ErmcpTradeConfigTMP": {
  24992. "type": "object",
  24993. "properties": {
  24994. "areauserid": {
  24995. "description": "所属机构",
  24996. "type": "integer"
  24997. },
  24998. "basiccurrencyid": {
  24999. "description": "基本币种ID[汇率] - 目标币种",
  25000. "type": "integer"
  25001. },
  25002. "mainaccountid": {
  25003. "description": "主账户ID",
  25004. "type": "integer"
  25005. },
  25006. "modifierid": {
  25007. "description": "修改人",
  25008. "type": "integer"
  25009. },
  25010. "remark": {
  25011. "description": "备注",
  25012. "type": "string"
  25013. },
  25014. "tradeconfigtmpid": {
  25015. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  25016. "type": "integer"
  25017. },
  25018. "tradeconfigtmpname": {
  25019. "description": "交易配置模板名称",
  25020. "type": "string"
  25021. },
  25022. "tradeconfigtmptype": {
  25023. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  25024. "type": "integer"
  25025. },
  25026. "updatetime": {
  25027. "description": "更新时间",
  25028. "type": "string"
  25029. }
  25030. }
  25031. },
  25032. "models.Externalexchange": {
  25033. "type": "object",
  25034. "required": [
  25035. "autoid"
  25036. ],
  25037. "properties": {
  25038. "autoid": {
  25039. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  25040. "type": "integer"
  25041. },
  25042. "exchangefullname": {
  25043. "description": "外部交易所全称",
  25044. "type": "string"
  25045. },
  25046. "exexchangecode": {
  25047. "description": "外部交易所代码",
  25048. "type": "string"
  25049. },
  25050. "exexchangename": {
  25051. "description": "外部交易所名称(简称)",
  25052. "type": "string"
  25053. },
  25054. "ismarketprice": {
  25055. "description": "是否支持市价 - 0:不支持 1:支持",
  25056. "type": "integer"
  25057. },
  25058. "quotegear": {
  25059. "description": "行情档位(1-10)",
  25060. "type": "integer"
  25061. },
  25062. "showbrokerflag": {
  25063. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  25064. "type": "integer"
  25065. },
  25066. "updatetime": {
  25067. "description": "更新时间",
  25068. "type": "string"
  25069. }
  25070. }
  25071. },
  25072. "models.Funcmenulist": {
  25073. "type": "object",
  25074. "required": [
  25075. "resourcecode"
  25076. ],
  25077. "properties": {
  25078. "iconame": {
  25079. "description": "菜单图标",
  25080. "type": "string"
  25081. },
  25082. "menutype": {
  25083. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  25084. "type": "integer"
  25085. },
  25086. "parentcode": {
  25087. "description": "上级资源代码",
  25088. "type": "string"
  25089. },
  25090. "remark": {
  25091. "description": "备注",
  25092. "type": "string"
  25093. },
  25094. "resourcecode": {
  25095. "description": "资源代码",
  25096. "type": "string"
  25097. },
  25098. "resourcelevel": {
  25099. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  25100. "type": "integer"
  25101. },
  25102. "resourcename": {
  25103. "description": "资源名",
  25104. "type": "string"
  25105. },
  25106. "sort": {
  25107. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  25108. "type": "integer"
  25109. },
  25110. "url": {
  25111. "description": "URL",
  25112. "type": "string"
  25113. }
  25114. }
  25115. },
  25116. "models.Goods": {
  25117. "type": "object",
  25118. "required": [
  25119. "goodscode",
  25120. "goodsid",
  25121. "goodsname",
  25122. "marketid"
  25123. ],
  25124. "properties": {
  25125. "agreeunit": {
  25126. "description": "合约单位",
  25127. "type": "number"
  25128. },
  25129. "areauserid": {
  25130. "description": "所属机构",
  25131. "type": "integer"
  25132. },
  25133. "auditaccountid": {
  25134. "description": "审核操作员账号",
  25135. "type": "integer"
  25136. },
  25137. "audittime": {
  25138. "description": "审核时间",
  25139. "type": "string"
  25140. },
  25141. "cancelaccountid": {
  25142. "description": "注销操作员账号",
  25143. "type": "integer"
  25144. },
  25145. "canceltime": {
  25146. "description": "注销时间",
  25147. "type": "string"
  25148. },
  25149. "closepricemode": {
  25150. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25151. "type": "integer"
  25152. },
  25153. "closepriceparam": {
  25154. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  25155. "type": "number"
  25156. },
  25157. "createtime": {
  25158. "description": "创建时间",
  25159. "type": "string"
  25160. },
  25161. "creatorid": {
  25162. "description": "创建人",
  25163. "type": "integer"
  25164. },
  25165. "currencyid": {
  25166. "description": "报价货币ID",
  25167. "type": "integer"
  25168. },
  25169. "cutmode": {
  25170. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  25171. "type": "integer"
  25172. },
  25173. "decimalplace": {
  25174. "description": "报价小数位",
  25175. "type": "integer"
  25176. },
  25177. "delistingdate": {
  25178. "description": "商品退市时间(状态:退市) -- 已作废",
  25179. "type": "string"
  25180. },
  25181. "delistingmode": {
  25182. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  25183. "type": "integer"
  25184. },
  25185. "deliveryflag": {
  25186. "description": "交割标志 - 0:不可交割 1:可交割",
  25187. "type": "integer"
  25188. },
  25189. "forceclosemode": {
  25190. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  25191. "type": "integer"
  25192. },
  25193. "forceclosevalue": {
  25194. "description": "定期强平参数 [收益权]",
  25195. "type": "integer"
  25196. },
  25197. "goodscode": {
  25198. "description": "商品代码(内部)",
  25199. "type": "string"
  25200. },
  25201. "goodscurrencyid": {
  25202. "description": "合约货币ID",
  25203. "type": "integer"
  25204. },
  25205. "goodsgroupid": {
  25206. "description": "所属商品组ID",
  25207. "type": "integer"
  25208. },
  25209. "goodsid": {
  25210. "description": "商品ID(自增ID SEQ_GOODS)",
  25211. "type": "integer"
  25212. },
  25213. "goodsname": {
  25214. "description": "商品名称",
  25215. "type": "string"
  25216. },
  25217. "goodsquotetype": {
  25218. "description": "合约报价类型: 1-直接报价 2-间接报价",
  25219. "type": "integer"
  25220. },
  25221. "goodsstatus": {
  25222. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25223. "type": "integer"
  25224. },
  25225. "goodstradetype": {
  25226. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  25227. "type": "integer"
  25228. },
  25229. "goodunitid": {
  25230. "description": "报价单位ID",
  25231. "type": "integer"
  25232. },
  25233. "hasquoter": {
  25234. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  25235. "type": "integer"
  25236. },
  25237. "hqprotecttime": {
  25238. "description": "行情保护时间(秒)",
  25239. "type": "integer"
  25240. },
  25241. "innerdealmode": {
  25242. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25243. "type": "integer"
  25244. },
  25245. "isbuylimited": {
  25246. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25247. "type": "integer"
  25248. },
  25249. "isvisible": {
  25250. "description": "游客是否可见 - 0:不可见 1:可见",
  25251. "type": "integer"
  25252. },
  25253. "lasttradedate": {
  25254. "description": "最后交易日期(状态:待退市)",
  25255. "type": "string"
  25256. },
  25257. "listingdate": {
  25258. "description": "交易开始日期",
  25259. "type": "string"
  25260. },
  25261. "marketid": {
  25262. "description": "所属市场ID",
  25263. "type": "integer"
  25264. },
  25265. "modifierid": {
  25266. "description": "修改人",
  25267. "type": "integer"
  25268. },
  25269. "modifystatus": {
  25270. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  25271. "type": "integer"
  25272. },
  25273. "modifytime": {
  25274. "description": "修改时间",
  25275. "type": "string"
  25276. },
  25277. "outerdealmode": {
  25278. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25279. "type": "integer"
  25280. },
  25281. "outgoodscode": {
  25282. "description": "商品代码(外部)",
  25283. "type": "string"
  25284. },
  25285. "pictureurl": {
  25286. "description": "商品图片",
  25287. "type": "string"
  25288. },
  25289. "qtydecimalplace": {
  25290. "description": "成交量小数位",
  25291. "type": "integer"
  25292. },
  25293. "quotegear": {
  25294. "description": "行情档位(1-10)",
  25295. "type": "integer"
  25296. },
  25297. "quoteminunit": {
  25298. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25299. "type": "integer"
  25300. },
  25301. "quoteshowtype": {
  25302. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  25303. "type": "integer"
  25304. },
  25305. "quoteshowtypeinterval": {
  25306. "description": "行情报价间隔时间(秒)(成交价时为0)",
  25307. "type": "integer"
  25308. },
  25309. "remark": {
  25310. "description": "备注",
  25311. "type": "string"
  25312. }
  25313. }
  25314. },
  25315. "models.GoodsIDAndName": {
  25316. "type": "object",
  25317. "required": [
  25318. "goodscode",
  25319. "goodsid",
  25320. "goodsname",
  25321. "marketid"
  25322. ],
  25323. "properties": {
  25324. "goodscode": {
  25325. "description": "商品代码(内部)",
  25326. "type": "string"
  25327. },
  25328. "goodsid": {
  25329. "description": "商品ID(自增ID SEQ_GOODS)",
  25330. "type": "integer"
  25331. },
  25332. "goodsname": {
  25333. "description": "商品名称",
  25334. "type": "string"
  25335. },
  25336. "marketid": {
  25337. "description": "所属市场ID",
  25338. "type": "integer"
  25339. }
  25340. }
  25341. },
  25342. "models.Goodsgroup": {
  25343. "type": "object",
  25344. "required": [
  25345. "goodsgroupid",
  25346. "goodsgroupname",
  25347. "goodsgroupstatus",
  25348. "marketid"
  25349. ],
  25350. "properties": {
  25351. "agreeunit": {
  25352. "description": "合约单位",
  25353. "type": "number"
  25354. },
  25355. "canshort": {
  25356. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  25357. "type": "integer"
  25358. },
  25359. "closepricemode": {
  25360. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25361. "type": "integer"
  25362. },
  25363. "closepriceparam": {
  25364. "description": "强平最新价浮动比例 - 方式为2时使用",
  25365. "type": "number"
  25366. },
  25367. "createtime": {
  25368. "description": "创建时间",
  25369. "type": "string"
  25370. },
  25371. "creatorid": {
  25372. "description": "创建人",
  25373. "type": "integer"
  25374. },
  25375. "currencyid": {
  25376. "description": "报价货币ID",
  25377. "type": "integer"
  25378. },
  25379. "decimalplace": {
  25380. "description": "报价小数位",
  25381. "type": "integer"
  25382. },
  25383. "exercisetype": {
  25384. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  25385. "type": "integer"
  25386. },
  25387. "exexchangeid": {
  25388. "description": "外部交易所ID[通道交易]",
  25389. "type": "integer"
  25390. },
  25391. "goodsgroupid": {
  25392. "description": "商品组ID(自增ID)",
  25393. "type": "integer"
  25394. },
  25395. "goodsgroupname": {
  25396. "description": "商品组名称",
  25397. "type": "string"
  25398. },
  25399. "goodsgroupstatus": {
  25400. "description": "商品组状态 - 1:正常 2:注销",
  25401. "type": "integer"
  25402. },
  25403. "goodunitid": {
  25404. "description": "报价单位ID",
  25405. "type": "integer"
  25406. },
  25407. "innerdealmode": {
  25408. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25409. "type": "integer"
  25410. },
  25411. "isbuylimited": {
  25412. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25413. "type": "integer"
  25414. },
  25415. "marketid": {
  25416. "description": "所属市场ID",
  25417. "type": "integer"
  25418. },
  25419. "modifierid": {
  25420. "description": "修改人",
  25421. "type": "integer"
  25422. },
  25423. "modifytime": {
  25424. "description": "修改时间",
  25425. "type": "string"
  25426. },
  25427. "outerdealmode": {
  25428. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25429. "type": "integer"
  25430. },
  25431. "outergroupcode": {
  25432. "description": "外部商品组代码[通道交易]",
  25433. "type": "string"
  25434. },
  25435. "premiumdecimalplace": {
  25436. "description": "权利金小数位[场外期权]",
  25437. "type": "integer"
  25438. },
  25439. "premiumspreadalgorithm": {
  25440. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  25441. "type": "integer"
  25442. },
  25443. "premiumspreadvalue": {
  25444. "description": "权利金点差值[场外期权]",
  25445. "type": "number"
  25446. },
  25447. "qtydecimalplace": {
  25448. "description": "成交量小数位",
  25449. "type": "integer"
  25450. },
  25451. "quotegear": {
  25452. "description": "行情档位(1-10)",
  25453. "type": "integer"
  25454. },
  25455. "quoteminunit": {
  25456. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25457. "type": "integer"
  25458. },
  25459. "quoterid": {
  25460. "description": "报价商ID[场外期权]",
  25461. "type": "integer"
  25462. },
  25463. "quotesourcegroupid": {
  25464. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25465. "type": "integer"
  25466. },
  25467. "syncgoodsqty": {
  25468. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25469. "type": "integer"
  25470. }
  25471. }
  25472. },
  25473. "models.Goodssortbypreposition": {
  25474. "type": "object",
  25475. "required": [
  25476. "goodscode",
  25477. "tradedate"
  25478. ],
  25479. "properties": {
  25480. "goodscode": {
  25481. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  25482. "type": "string"
  25483. },
  25484. "goodsgroupcode": {
  25485. "description": "品种代码",
  25486. "type": "string"
  25487. },
  25488. "prepositionqty": {
  25489. "description": "昨持仓量",
  25490. "type": "integer"
  25491. },
  25492. "sortindex": {
  25493. "description": "排序",
  25494. "type": "integer"
  25495. },
  25496. "tradedate": {
  25497. "description": "交易日",
  25498. "type": "string"
  25499. },
  25500. "updatetime": {
  25501. "description": "更新时间",
  25502. "type": "string"
  25503. }
  25504. }
  25505. },
  25506. "models.Hedgeinnerholderdetail": {
  25507. "type": "object",
  25508. "required": [
  25509. "buyorsell",
  25510. "tradeid"
  25511. ],
  25512. "properties": {
  25513. "accountid": {
  25514. "description": "账号ID",
  25515. "type": "integer"
  25516. },
  25517. "buyorsell": {
  25518. "description": "方向 - 0:买 1:卖",
  25519. "type": "integer"
  25520. },
  25521. "freezeqty": {
  25522. "description": "冻结数量 - 按单平使用",
  25523. "type": "integer"
  25524. },
  25525. "goodsid": {
  25526. "description": "商品ID",
  25527. "type": "integer"
  25528. },
  25529. "holderamount": {
  25530. "description": "持仓金额 [商品币种]",
  25531. "type": "number"
  25532. },
  25533. "holderdays": {
  25534. "description": "剩余冻结天数",
  25535. "type": "integer"
  25536. },
  25537. "holderprice": {
  25538. "description": "持仓价格",
  25539. "type": "number"
  25540. },
  25541. "holderqty": {
  25542. "description": "持仓数量",
  25543. "type": "integer"
  25544. },
  25545. "marketid": {
  25546. "description": "市场ID",
  25547. "type": "integer"
  25548. },
  25549. "openprice": {
  25550. "description": "建仓价格",
  25551. "type": "number"
  25552. },
  25553. "openqty": {
  25554. "description": "建仓数量",
  25555. "type": "integer"
  25556. },
  25557. "parentaccountid": {
  25558. "description": "所属母账户",
  25559. "type": "integer"
  25560. },
  25561. "releaseamount": {
  25562. "description": "释放持仓金额[商品币种]",
  25563. "type": "number"
  25564. },
  25565. "tradeamount": {
  25566. "description": "成交金额[账户]",
  25567. "type": "number"
  25568. },
  25569. "tradedate": {
  25570. "description": "交易日(yyyyMMdd)",
  25571. "type": "string"
  25572. },
  25573. "tradeid": {
  25574. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25575. "type": "string"
  25576. },
  25577. "tradetime": {
  25578. "description": "交易时间",
  25579. "type": "string"
  25580. }
  25581. }
  25582. },
  25583. "models.Hedgemarketopenlog": {
  25584. "type": "object",
  25585. "required": [
  25586. "accountid"
  25587. ],
  25588. "properties": {
  25589. "accountid": {
  25590. "description": "资金账号[外部母账户]",
  25591. "type": "integer"
  25592. },
  25593. "fcname": {
  25594. "description": "期货公司名称",
  25595. "type": "string"
  25596. },
  25597. "handlestatus": {
  25598. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  25599. "type": "integer"
  25600. },
  25601. "marketid": {
  25602. "description": "市场ID",
  25603. "type": "integer"
  25604. },
  25605. "status": {
  25606. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  25607. "type": "integer"
  25608. },
  25609. "tradedate": {
  25610. "description": "交易日(yyyyMMdd)",
  25611. "type": "string"
  25612. },
  25613. "updatetime": {
  25614. "description": "更新时间",
  25615. "type": "string"
  25616. }
  25617. }
  25618. },
  25619. "models.HsbyBuyMyPayOrder": {
  25620. "type": "object",
  25621. "required": [
  25622. "goodscode",
  25623. "goodsname",
  25624. "tradeid",
  25625. "trademode"
  25626. ],
  25627. "properties": {
  25628. "agreeunit": {
  25629. "description": "合约单位",
  25630. "type": "number"
  25631. },
  25632. "buyaccountid": {
  25633. "description": "买方账号ID[报价币种]",
  25634. "type": "integer"
  25635. },
  25636. "buyorderid": {
  25637. "description": "买方委托单号",
  25638. "type": "string"
  25639. },
  25640. "createtime": {
  25641. "description": "创建时间",
  25642. "type": "string"
  25643. },
  25644. "currencysign": {
  25645. "description": "货币符号",
  25646. "type": "string"
  25647. },
  25648. "decimalplace": {
  25649. "description": "报价小数位",
  25650. "type": "integer"
  25651. },
  25652. "goodscode": {
  25653. "description": "商品代码(内部)",
  25654. "type": "string"
  25655. },
  25656. "goodsid": {
  25657. "description": "商品ID",
  25658. "type": "integer"
  25659. },
  25660. "goodsname": {
  25661. "description": "商品名称",
  25662. "type": "string"
  25663. },
  25664. "marketid": {
  25665. "description": "市场ID",
  25666. "type": "integer"
  25667. },
  25668. "offamount": {
  25669. "description": "优惠金额",
  25670. "type": "number"
  25671. },
  25672. "originalamount": {
  25673. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  25674. "type": "number"
  25675. },
  25676. "payamount": {
  25677. "description": "支付金额 = TradeAmount + TradeCharge",
  25678. "type": "number"
  25679. },
  25680. "payflag": {
  25681. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25682. "type": "integer"
  25683. },
  25684. "paylimitedtime": {
  25685. "description": "支付期限",
  25686. "type": "string"
  25687. },
  25688. "paytime": {
  25689. "description": "付款时间",
  25690. "type": "string"
  25691. },
  25692. "picurls1": {
  25693. "description": "预售商品介绍图片[多张用逗号分隔]",
  25694. "type": "string"
  25695. },
  25696. "picurls2": {
  25697. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25698. "type": "string"
  25699. },
  25700. "sellaccountid": {
  25701. "description": "卖方账号ID[报价币种]",
  25702. "type": "integer"
  25703. },
  25704. "sellorderid": {
  25705. "description": "卖方委托单号",
  25706. "type": "string"
  25707. },
  25708. "tradeamount": {
  25709. "description": "成交金额",
  25710. "type": "number"
  25711. },
  25712. "tradecharge": {
  25713. "description": "成交手续费(买方)",
  25714. "type": "number"
  25715. },
  25716. "tradedate": {
  25717. "description": "交易日(yyyyMMdd)",
  25718. "type": "string"
  25719. },
  25720. "tradeid": {
  25721. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25722. "type": "string"
  25723. },
  25724. "trademode": {
  25725. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25726. "type": "integer"
  25727. },
  25728. "tradeprice": {
  25729. "description": "成交价格",
  25730. "type": "number"
  25731. },
  25732. "tradeqty": {
  25733. "description": "成交数量",
  25734. "type": "integer"
  25735. },
  25736. "vendorname1": {
  25737. "description": "预售商品供应商名称",
  25738. "type": "string"
  25739. },
  25740. "vendorname2": {
  25741. "description": "挂牌商品供应商名称",
  25742. "type": "string"
  25743. }
  25744. }
  25745. },
  25746. "models.HsbyBuyMyTradeDetail": {
  25747. "type": "object",
  25748. "required": [
  25749. "accountid",
  25750. "buyorsell",
  25751. "goodscode",
  25752. "goodsid",
  25753. "goodsname",
  25754. "marketid",
  25755. "orderid",
  25756. "qty",
  25757. "time",
  25758. "trademode"
  25759. ],
  25760. "properties": {
  25761. "accountid": {
  25762. "description": "账户ID[报价币种]",
  25763. "type": "integer"
  25764. },
  25765. "agreeunit": {
  25766. "description": "合约单位",
  25767. "type": "number"
  25768. },
  25769. "amount": {
  25770. "description": "金额 = 价格 * 数量 * 合约单位",
  25771. "type": "number"
  25772. },
  25773. "buyorsell": {
  25774. "description": "买卖 - 0:买 1:卖",
  25775. "type": "integer"
  25776. },
  25777. "currencysign": {
  25778. "description": "货币符号",
  25779. "type": "string"
  25780. },
  25781. "decimalplace": {
  25782. "description": "报价小数位",
  25783. "type": "integer"
  25784. },
  25785. "goodscode": {
  25786. "description": "商品代码(内部)",
  25787. "type": "string"
  25788. },
  25789. "goodsid": {
  25790. "description": "商品ID",
  25791. "type": "integer"
  25792. },
  25793. "goodsname": {
  25794. "description": "商品名称",
  25795. "type": "string"
  25796. },
  25797. "marketid": {
  25798. "description": "市场ID",
  25799. "type": "integer"
  25800. },
  25801. "orderamount": {
  25802. "description": "委托金额",
  25803. "type": "number"
  25804. },
  25805. "orderid": {
  25806. "description": "单号(成交单号)",
  25807. "type": "string"
  25808. },
  25809. "picurls1": {
  25810. "description": "预售商品介绍图片[多张用逗号分隔]",
  25811. "type": "string"
  25812. },
  25813. "picurls2": {
  25814. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25815. "type": "string"
  25816. },
  25817. "price": {
  25818. "description": "价格",
  25819. "type": "number"
  25820. },
  25821. "qty": {
  25822. "description": "数量",
  25823. "type": "integer"
  25824. },
  25825. "time": {
  25826. "description": "时间",
  25827. "type": "string"
  25828. },
  25829. "trademode": {
  25830. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25831. "type": "integer"
  25832. },
  25833. "vendorname1": {
  25834. "description": "预售商品供应商名称",
  25835. "type": "string"
  25836. },
  25837. "vendorname2": {
  25838. "description": "挂牌商品供应商名称",
  25839. "type": "string"
  25840. }
  25841. }
  25842. },
  25843. "models.HsbyGoodsOrderDetail": {
  25844. "type": "object",
  25845. "required": [
  25846. "buyorsell",
  25847. "orderid",
  25848. "ordertime"
  25849. ],
  25850. "properties": {
  25851. "buyorsell": {
  25852. "description": "买卖 - 0:买 1:卖",
  25853. "type": "integer"
  25854. },
  25855. "currencysign": {
  25856. "description": "货币符号",
  25857. "type": "string"
  25858. },
  25859. "customername": {
  25860. "description": "客户名称(企业名称),已脱敏",
  25861. "type": "string"
  25862. },
  25863. "enableqty": {
  25864. "description": "可用数量",
  25865. "type": "integer"
  25866. },
  25867. "goodunit": {
  25868. "description": "报价单位",
  25869. "type": "string"
  25870. },
  25871. "orderid": {
  25872. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25873. "type": "string"
  25874. },
  25875. "orderprice": {
  25876. "description": "委托价格",
  25877. "type": "number"
  25878. },
  25879. "ordertime": {
  25880. "description": "委托时间",
  25881. "type": "string"
  25882. }
  25883. }
  25884. },
  25885. "models.HsbyListingGoodsDetail": {
  25886. "type": "object",
  25887. "required": [
  25888. "goodscode",
  25889. "goodsid",
  25890. "goodsname",
  25891. "marketid",
  25892. "trademode"
  25893. ],
  25894. "properties": {
  25895. "agreeunit": {
  25896. "description": "合约单位",
  25897. "type": "number"
  25898. },
  25899. "buymaxqty": {
  25900. "description": "购买上限 [71] - 0为不限",
  25901. "type": "integer"
  25902. },
  25903. "currency": {
  25904. "description": "货币",
  25905. "type": "string"
  25906. },
  25907. "currencysign": {
  25908. "description": "货币符号",
  25909. "type": "string"
  25910. },
  25911. "decimalplace": {
  25912. "description": "报价小数位",
  25913. "type": "integer"
  25914. },
  25915. "desccityid": {
  25916. "description": "目的地(市)ID",
  25917. "type": "integer"
  25918. },
  25919. "descprovinceid": {
  25920. "description": "目的地(省)ID",
  25921. "type": "integer"
  25922. },
  25923. "goodscode": {
  25924. "description": "商品代码(内部)",
  25925. "type": "string"
  25926. },
  25927. "goodsdesc": {
  25928. "description": "商品详情",
  25929. "type": "string"
  25930. },
  25931. "goodsid": {
  25932. "description": "商品ID(自增ID SEQ_GOODS)",
  25933. "type": "integer"
  25934. },
  25935. "goodsname": {
  25936. "description": "商品名称",
  25937. "type": "string"
  25938. },
  25939. "goodsprice": {
  25940. "description": "商品价格",
  25941. "type": "number"
  25942. },
  25943. "hotindex": {
  25944. "description": "景点热度",
  25945. "type": "integer"
  25946. },
  25947. "last": {
  25948. "description": "现价",
  25949. "type": "number"
  25950. },
  25951. "limitdown": {
  25952. "description": "跌停价",
  25953. "type": "number"
  25954. },
  25955. "limitup": {
  25956. "description": "涨停价",
  25957. "type": "number"
  25958. },
  25959. "lotsize": {
  25960. "description": "手数最小变动单位",
  25961. "type": "integer"
  25962. },
  25963. "marketid": {
  25964. "description": "所属市场ID",
  25965. "type": "integer"
  25966. },
  25967. "picurls": {
  25968. "description": "介绍图片[多张用逗号分隔]",
  25969. "type": "string"
  25970. },
  25971. "quoteminunit": {
  25972. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25973. "type": "integer"
  25974. },
  25975. "stepvalue": {
  25976. "description": "价格最小变动单位",
  25977. "type": "number"
  25978. },
  25979. "trademode": {
  25980. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25981. "type": "integer"
  25982. },
  25983. "vendorattr": {
  25984. "description": "供应商附件(多张,逗号分隔)",
  25985. "type": "string"
  25986. },
  25987. "vendorname": {
  25988. "description": "供应商名称",
  25989. "type": "string"
  25990. },
  25991. "vendorphone": {
  25992. "description": "供应商客服电话",
  25993. "type": "string"
  25994. },
  25995. "videourls": {
  25996. "description": "介绍视频[多张用逗号分隔]",
  25997. "type": "string"
  25998. }
  25999. }
  26000. },
  26001. "models.HsbyMarketGoods": {
  26002. "type": "object",
  26003. "required": [
  26004. "accountid",
  26005. "buyorsell",
  26006. "goodscode",
  26007. "goodsid",
  26008. "goodsname",
  26009. "marketid",
  26010. "orderid",
  26011. "trademode"
  26012. ],
  26013. "properties": {
  26014. "accountid": {
  26015. "description": "账户ID[报价币种]",
  26016. "type": "integer"
  26017. },
  26018. "agreeunit": {
  26019. "description": "合约单位",
  26020. "type": "number"
  26021. },
  26022. "buyorsell": {
  26023. "description": "买卖 - 0:买 1:卖",
  26024. "type": "integer"
  26025. },
  26026. "categoryid": {
  26027. "description": "类别ID(WRCATEGORY)",
  26028. "type": "integer"
  26029. },
  26030. "currency": {
  26031. "description": "货币",
  26032. "type": "string"
  26033. },
  26034. "currencysign": {
  26035. "description": "货币符号",
  26036. "type": "string"
  26037. },
  26038. "customername": {
  26039. "description": "卖家名称",
  26040. "type": "string"
  26041. },
  26042. "decimalplace": {
  26043. "description": "报价小数位",
  26044. "type": "integer"
  26045. },
  26046. "goodscode": {
  26047. "description": "商品代码(内部)",
  26048. "type": "string"
  26049. },
  26050. "goodsid": {
  26051. "description": "商品ID",
  26052. "type": "integer"
  26053. },
  26054. "goodsname": {
  26055. "description": "商品名称",
  26056. "type": "string"
  26057. },
  26058. "goodsprice": {
  26059. "description": "商品价格",
  26060. "type": "number"
  26061. },
  26062. "hascoupon": {
  26063. "description": "是否可用优惠卷",
  26064. "type": "boolean"
  26065. },
  26066. "hotindex": {
  26067. "description": "景点热度",
  26068. "type": "integer"
  26069. },
  26070. "marketid": {
  26071. "description": "市场ID",
  26072. "type": "integer"
  26073. },
  26074. "orderid": {
  26075. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26076. "type": "string"
  26077. },
  26078. "orderprice": {
  26079. "description": "委托价格",
  26080. "type": "number"
  26081. },
  26082. "orderstatus": {
  26083. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26084. "type": "integer"
  26085. },
  26086. "picurls": {
  26087. "description": "介绍图片[多张用逗号分隔]",
  26088. "type": "string"
  26089. },
  26090. "quoteminunit": {
  26091. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26092. "type": "integer"
  26093. },
  26094. "sellUserID": {
  26095. "description": "卖方UserID",
  26096. "type": "integer"
  26097. },
  26098. "trademode": {
  26099. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26100. "type": "integer"
  26101. },
  26102. "videourls": {
  26103. "description": "介绍视频[多张用逗号分隔]",
  26104. "type": "string"
  26105. }
  26106. }
  26107. },
  26108. "models.HsbyMarketGoodsDetail": {
  26109. "type": "object",
  26110. "required": [
  26111. "accountid",
  26112. "buyorsell",
  26113. "goodscode",
  26114. "goodsid",
  26115. "goodsname",
  26116. "marketid",
  26117. "orderid",
  26118. "orderqty",
  26119. "trademode"
  26120. ],
  26121. "properties": {
  26122. "accountid": {
  26123. "description": "账户ID[报价币种]",
  26124. "type": "integer"
  26125. },
  26126. "agreeunit": {
  26127. "description": "合约单位",
  26128. "type": "number"
  26129. },
  26130. "buymaxqty": {
  26131. "description": "购买上限 [71] - 0为不限",
  26132. "type": "integer"
  26133. },
  26134. "buyorsell": {
  26135. "description": "买卖 - 0:买 1:卖",
  26136. "type": "integer"
  26137. },
  26138. "cancelqty": {
  26139. "description": "撤单数量",
  26140. "type": "integer"
  26141. },
  26142. "categoryid": {
  26143. "description": "类别ID(WRCATEGORY)",
  26144. "type": "integer"
  26145. },
  26146. "currency": {
  26147. "description": "货币",
  26148. "type": "string"
  26149. },
  26150. "currencysign": {
  26151. "description": "货币符号",
  26152. "type": "string"
  26153. },
  26154. "customername": {
  26155. "description": "卖家名称",
  26156. "type": "string"
  26157. },
  26158. "decimalplace": {
  26159. "description": "报价小数位",
  26160. "type": "integer"
  26161. },
  26162. "goodscode": {
  26163. "description": "商品代码(内部)",
  26164. "type": "string"
  26165. },
  26166. "goodsdesc": {
  26167. "description": "商品详情",
  26168. "type": "string"
  26169. },
  26170. "goodsid": {
  26171. "description": "商品ID",
  26172. "type": "integer"
  26173. },
  26174. "goodsname": {
  26175. "description": "商品名称",
  26176. "type": "string"
  26177. },
  26178. "goodsprice": {
  26179. "description": "商品价格",
  26180. "type": "number"
  26181. },
  26182. "hotindex": {
  26183. "description": "景点热度",
  26184. "type": "integer"
  26185. },
  26186. "lotsize": {
  26187. "description": "手数最小变动单位",
  26188. "type": "integer"
  26189. },
  26190. "marketid": {
  26191. "description": "市场ID",
  26192. "type": "integer"
  26193. },
  26194. "orderid": {
  26195. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26196. "type": "string"
  26197. },
  26198. "orderprice": {
  26199. "description": "委托价格",
  26200. "type": "number"
  26201. },
  26202. "orderqty": {
  26203. "description": "委托数量",
  26204. "type": "integer"
  26205. },
  26206. "orderstatus": {
  26207. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26208. "type": "integer"
  26209. },
  26210. "picurls": {
  26211. "description": "介绍图片[多张用逗号分隔]",
  26212. "type": "string"
  26213. },
  26214. "quoteminunit": {
  26215. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26216. "type": "integer"
  26217. },
  26218. "sellUserID": {
  26219. "description": "卖方UserID",
  26220. "type": "integer"
  26221. },
  26222. "trademode": {
  26223. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26224. "type": "integer"
  26225. },
  26226. "tradeqty": {
  26227. "description": "成交数量",
  26228. "type": "integer"
  26229. },
  26230. "vendorattr": {
  26231. "description": "供应商附件(多张,逗号分隔)",
  26232. "type": "string"
  26233. },
  26234. "vendorname": {
  26235. "description": "供应商名称",
  26236. "type": "string"
  26237. },
  26238. "vendorphone": {
  26239. "description": "供应商客服电话",
  26240. "type": "string"
  26241. },
  26242. "videourls": {
  26243. "description": "介绍视频[多张用逗号分隔]",
  26244. "type": "string"
  26245. }
  26246. }
  26247. },
  26248. "models.HsbyMarketInfo": {
  26249. "type": "object",
  26250. "required": [
  26251. "marketid",
  26252. "marketstatus",
  26253. "trademode"
  26254. ],
  26255. "properties": {
  26256. "marketid": {
  26257. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  26258. "type": "integer"
  26259. },
  26260. "marketname": {
  26261. "description": "市场名称",
  26262. "type": "string"
  26263. },
  26264. "marketstatus": {
  26265. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  26266. "type": "integer"
  26267. },
  26268. "trademode": {
  26269. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26270. "type": "integer"
  26271. }
  26272. }
  26273. },
  26274. "models.HsbyMyGoods": {
  26275. "type": "object",
  26276. "required": [
  26277. "accountid",
  26278. "goodscode",
  26279. "goodsid",
  26280. "goodsname",
  26281. "marketid",
  26282. "trademode"
  26283. ],
  26284. "properties": {
  26285. "accountid": {
  26286. "description": "账号Id",
  26287. "type": "integer"
  26288. },
  26289. "agreeunit": {
  26290. "description": "合约单位",
  26291. "type": "number"
  26292. },
  26293. "buyaverageprice": {
  26294. "description": "持仓均价",
  26295. "type": "number"
  26296. },
  26297. "buycurholderamount": {
  26298. "description": "买当前持仓总金额[商品币种]",
  26299. "type": "number"
  26300. },
  26301. "buycurpositionqty": {
  26302. "description": "买当前持仓总数量",
  26303. "type": "integer"
  26304. },
  26305. "buymaxqty": {
  26306. "description": "购买上限 [71] - 0为不限",
  26307. "type": "integer"
  26308. },
  26309. "currencysign": {
  26310. "description": "货币符号",
  26311. "type": "string"
  26312. },
  26313. "decimalplace": {
  26314. "description": "报价小数位",
  26315. "type": "integer"
  26316. },
  26317. "enableqty": {
  26318. "description": "可用数量",
  26319. "type": "integer"
  26320. },
  26321. "goodscode": {
  26322. "description": "商品代码(内部)",
  26323. "type": "string"
  26324. },
  26325. "goodsid": {
  26326. "description": "商品Id",
  26327. "type": "integer"
  26328. },
  26329. "goodsname": {
  26330. "description": "商品名称",
  26331. "type": "string"
  26332. },
  26333. "goodsprice": {
  26334. "description": "商品价格",
  26335. "type": "number"
  26336. },
  26337. "goodsstatus": {
  26338. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26339. "type": "integer"
  26340. },
  26341. "last": {
  26342. "description": "现价(仅使用于挂牌点选)",
  26343. "type": "number"
  26344. },
  26345. "limitdown": {
  26346. "description": "跌停价(仅使用于挂牌点选)",
  26347. "type": "number"
  26348. },
  26349. "limitup": {
  26350. "description": "涨停价(仅使用于挂牌点选)",
  26351. "type": "number"
  26352. },
  26353. "lotsize": {
  26354. "description": "手数最小变动单位",
  26355. "type": "integer"
  26356. },
  26357. "marketid": {
  26358. "description": "所属市场ID",
  26359. "type": "integer"
  26360. },
  26361. "picurls": {
  26362. "description": "介绍图片[多张用逗号分隔]",
  26363. "type": "string"
  26364. },
  26365. "quoteminunit": {
  26366. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26367. "type": "integer"
  26368. },
  26369. "stepvalue": {
  26370. "description": "价格最小变动单位",
  26371. "type": "number"
  26372. },
  26373. "trademode": {
  26374. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26375. "type": "integer"
  26376. }
  26377. }
  26378. },
  26379. "models.HsbyMyPackage": {
  26380. "type": "object",
  26381. "required": [
  26382. "goodscode",
  26383. "goodsname",
  26384. "takeorderid",
  26385. "trademode"
  26386. ],
  26387. "properties": {
  26388. "accountid": {
  26389. "description": "账户ID",
  26390. "type": "integer"
  26391. },
  26392. "address": {
  26393. "description": "提货人详细地址",
  26394. "type": "string"
  26395. },
  26396. "agreeunit": {
  26397. "description": "合约单位",
  26398. "type": "number"
  26399. },
  26400. "amount": {
  26401. "description": "提货金额",
  26402. "type": "number"
  26403. },
  26404. "auditer": {
  26405. "description": "审核人",
  26406. "type": "integer"
  26407. },
  26408. "audittime": {
  26409. "description": "审核时间",
  26410. "type": "string"
  26411. },
  26412. "averageprice": {
  26413. "description": "均价",
  26414. "type": "number"
  26415. },
  26416. "cardnum": {
  26417. "description": "提货人证件号码",
  26418. "type": "string"
  26419. },
  26420. "cardtypeid": {
  26421. "description": "提货人证件类型",
  26422. "type": "integer"
  26423. },
  26424. "checkremark": {
  26425. "description": "审核备注",
  26426. "type": "string"
  26427. },
  26428. "currencysign": {
  26429. "description": "货币符号",
  26430. "type": "string"
  26431. },
  26432. "decimalplace": {
  26433. "description": "报价小数位",
  26434. "type": "integer"
  26435. },
  26436. "goodscode": {
  26437. "description": "商品代码(内部)",
  26438. "type": "string"
  26439. },
  26440. "goodsid": {
  26441. "description": "商品ID",
  26442. "type": "integer"
  26443. },
  26444. "goodsname": {
  26445. "description": "商品名称",
  26446. "type": "string"
  26447. },
  26448. "handlestatus": {
  26449. "description": "处理状态",
  26450. "type": "integer"
  26451. },
  26452. "marketid": {
  26453. "description": "市场ID",
  26454. "type": "integer"
  26455. },
  26456. "phonenum": {
  26457. "description": "提货人联系方式",
  26458. "type": "string"
  26459. },
  26460. "picurls": {
  26461. "description": "介绍图片[多张用逗号分隔]",
  26462. "type": "string"
  26463. },
  26464. "qty": {
  26465. "description": "提货数量",
  26466. "type": "number"
  26467. },
  26468. "recivername": {
  26469. "description": "提货人姓名",
  26470. "type": "string"
  26471. },
  26472. "reqtime": {
  26473. "description": "更新时间",
  26474. "type": "string"
  26475. },
  26476. "takemode": {
  26477. "description": "提货方式 - 2:自提 3:配送",
  26478. "type": "integer"
  26479. },
  26480. "takeorderid": {
  26481. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26482. "type": "string"
  26483. },
  26484. "takeorderstatus": {
  26485. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  26486. "type": "integer"
  26487. },
  26488. "takeremark": {
  26489. "description": "提货备注",
  26490. "type": "string"
  26491. },
  26492. "tradedate": {
  26493. "description": "交易日(yyyyMMdd)",
  26494. "type": "string"
  26495. },
  26496. "trademode": {
  26497. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26498. "type": "integer"
  26499. },
  26500. "userid": {
  26501. "description": "用户ID",
  26502. "type": "integer"
  26503. },
  26504. "vendorname": {
  26505. "description": "供应商名称",
  26506. "type": "string"
  26507. }
  26508. }
  26509. },
  26510. "models.HsbyPreGoods": {
  26511. "type": "object",
  26512. "required": [
  26513. "goodscode",
  26514. "goodsid",
  26515. "goodsname",
  26516. "marketid",
  26517. "trademode"
  26518. ],
  26519. "properties": {
  26520. "agreeunit": {
  26521. "description": "合约单位",
  26522. "type": "number"
  26523. },
  26524. "currency": {
  26525. "description": "货币",
  26526. "type": "string"
  26527. },
  26528. "currencysign": {
  26529. "description": "货币符号",
  26530. "type": "string"
  26531. },
  26532. "decimalplace": {
  26533. "description": "报价小数位",
  26534. "type": "integer"
  26535. },
  26536. "desccityid": {
  26537. "description": "目的地(市)",
  26538. "type": "integer"
  26539. },
  26540. "descprovinceid": {
  26541. "description": "目的地(省)",
  26542. "type": "integer"
  26543. },
  26544. "enableqty": {
  26545. "description": "剩余数量",
  26546. "type": "integer"
  26547. },
  26548. "goodscode": {
  26549. "description": "商品代码(内部)",
  26550. "type": "string"
  26551. },
  26552. "goodsid": {
  26553. "description": "商品ID(自增ID SEQ_GOODS)",
  26554. "type": "integer"
  26555. },
  26556. "goodsname": {
  26557. "description": "商品名称",
  26558. "type": "string"
  26559. },
  26560. "goodsstatus": {
  26561. "description": "商品状态- 2:未上市 3:上市",
  26562. "type": "integer"
  26563. },
  26564. "lasttradedate": {
  26565. "description": "最后交易日期(状态:待退市)",
  26566. "type": "string"
  26567. },
  26568. "listingdate": {
  26569. "description": "交易开始日期",
  26570. "type": "string"
  26571. },
  26572. "marketid": {
  26573. "description": "所属市场ID",
  26574. "type": "integer"
  26575. },
  26576. "picurls": {
  26577. "description": "介绍图片[多张用逗号分隔]",
  26578. "type": "string"
  26579. },
  26580. "presaledqty": {
  26581. "description": "已预售量(预售结束时更新)",
  26582. "type": "integer"
  26583. },
  26584. "presaleqty": {
  26585. "description": "预售数量",
  26586. "type": "integer"
  26587. },
  26588. "quoteminunit": {
  26589. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26590. "type": "integer"
  26591. },
  26592. "refprice": {
  26593. "description": "参考价格[一口价]",
  26594. "type": "number"
  26595. },
  26596. "relatedgoodsid": {
  26597. "description": "关联交易合约ID",
  26598. "type": "integer"
  26599. },
  26600. "trademode": {
  26601. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26602. "type": "integer"
  26603. },
  26604. "videourls": {
  26605. "description": "介绍视频[多张用逗号分隔]",
  26606. "type": "string"
  26607. }
  26608. }
  26609. },
  26610. "models.HsbyPreGoodsDetail": {
  26611. "type": "object",
  26612. "required": [
  26613. "goodscode",
  26614. "goodsid",
  26615. "goodsname",
  26616. "marketid",
  26617. "trademode"
  26618. ],
  26619. "properties": {
  26620. "agreeunit": {
  26621. "description": "合约单位",
  26622. "type": "number"
  26623. },
  26624. "buymaxqty": {
  26625. "description": "购买上限 [71] - 0为不限",
  26626. "type": "integer"
  26627. },
  26628. "currency": {
  26629. "description": "货币",
  26630. "type": "string"
  26631. },
  26632. "currencysign": {
  26633. "description": "货币符号",
  26634. "type": "string"
  26635. },
  26636. "customername": {
  26637. "description": "发行单位",
  26638. "type": "string"
  26639. },
  26640. "decimalplace": {
  26641. "description": "报价小数位",
  26642. "type": "integer"
  26643. },
  26644. "desccityid": {
  26645. "description": "目的地(市)ID",
  26646. "type": "integer"
  26647. },
  26648. "descprovinceid": {
  26649. "description": "目的地(省)ID",
  26650. "type": "integer"
  26651. },
  26652. "enableqty": {
  26653. "description": "剩余数量",
  26654. "type": "integer"
  26655. },
  26656. "goodscode": {
  26657. "description": "商品代码(内部)",
  26658. "type": "string"
  26659. },
  26660. "goodsdesc": {
  26661. "description": "商品详情",
  26662. "type": "string"
  26663. },
  26664. "goodsid": {
  26665. "description": "商品ID(自增ID SEQ_GOODS)",
  26666. "type": "integer"
  26667. },
  26668. "goodsname": {
  26669. "description": "商品名称",
  26670. "type": "string"
  26671. },
  26672. "goodsstatus": {
  26673. "description": "商品状态- 2:未上市 3:上市",
  26674. "type": "integer"
  26675. },
  26676. "goodunit": {
  26677. "description": "报价单位",
  26678. "type": "string"
  26679. },
  26680. "lasttradedate": {
  26681. "description": "最后交易日期(状态:待退市)",
  26682. "type": "string"
  26683. },
  26684. "listingdate": {
  26685. "description": "交易开始日期",
  26686. "type": "string"
  26687. },
  26688. "lotsize": {
  26689. "description": "手数最小变动单位",
  26690. "type": "integer"
  26691. },
  26692. "marketid": {
  26693. "description": "所属市场ID",
  26694. "type": "integer"
  26695. },
  26696. "picurls": {
  26697. "description": "介绍图片[多张用逗号分隔]",
  26698. "type": "string"
  26699. },
  26700. "presaledqty": {
  26701. "description": "已预售量(预售结束时更新)",
  26702. "type": "integer"
  26703. },
  26704. "presaleqty": {
  26705. "description": "预售数量",
  26706. "type": "integer"
  26707. },
  26708. "quoteminunit": {
  26709. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26710. "type": "integer"
  26711. },
  26712. "refprice": {
  26713. "description": "参考价格[一口价]",
  26714. "type": "number"
  26715. },
  26716. "relatedgoodsid": {
  26717. "description": "关联交易合约ID",
  26718. "type": "integer"
  26719. },
  26720. "stepvalue": {
  26721. "description": "价格最小变动单位",
  26722. "type": "number"
  26723. },
  26724. "trademode": {
  26725. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26726. "type": "integer"
  26727. },
  26728. "vendorattr": {
  26729. "description": "供应商附件(多张,逗号分隔)",
  26730. "type": "string"
  26731. },
  26732. "vendorname": {
  26733. "description": "供应商名称",
  26734. "type": "string"
  26735. },
  26736. "vendorphone": {
  26737. "description": "供应商客服电话",
  26738. "type": "string"
  26739. },
  26740. "videourls": {
  26741. "description": "介绍视频[多张用逗号分隔]",
  26742. "type": "string"
  26743. }
  26744. }
  26745. },
  26746. "models.HsbySellCollectionOrder": {
  26747. "type": "object",
  26748. "required": [
  26749. "goodscode",
  26750. "goodsname",
  26751. "tradeid",
  26752. "trademode"
  26753. ],
  26754. "properties": {
  26755. "agreeunit": {
  26756. "description": "合约单位",
  26757. "type": "number"
  26758. },
  26759. "buyaccountid": {
  26760. "description": "买方账号ID[报价币种]",
  26761. "type": "integer"
  26762. },
  26763. "buyorderid": {
  26764. "description": "买方委托单号",
  26765. "type": "string"
  26766. },
  26767. "createtime": {
  26768. "description": "创建时间",
  26769. "type": "string"
  26770. },
  26771. "currencysign": {
  26772. "description": "货币符号",
  26773. "type": "string"
  26774. },
  26775. "decimalplace": {
  26776. "description": "报价小数位",
  26777. "type": "integer"
  26778. },
  26779. "goodscode": {
  26780. "description": "商品代码(内部)",
  26781. "type": "string"
  26782. },
  26783. "goodsid": {
  26784. "description": "商品ID",
  26785. "type": "integer"
  26786. },
  26787. "goodsname": {
  26788. "description": "商品名称",
  26789. "type": "string"
  26790. },
  26791. "marketid": {
  26792. "description": "市场ID",
  26793. "type": "integer"
  26794. },
  26795. "offamount": {
  26796. "description": "优惠金额",
  26797. "type": "number"
  26798. },
  26799. "payamount": {
  26800. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  26801. "type": "number"
  26802. },
  26803. "payflag": {
  26804. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26805. "type": "integer"
  26806. },
  26807. "paylimitedtime": {
  26808. "description": "支付期限",
  26809. "type": "string"
  26810. },
  26811. "paytime": {
  26812. "description": "付款时间",
  26813. "type": "string"
  26814. },
  26815. "picurls": {
  26816. "description": "商品介绍图片[多张用逗号分隔]",
  26817. "type": "string"
  26818. },
  26819. "sellaccountid": {
  26820. "description": "卖方账号ID[报价币种]",
  26821. "type": "integer"
  26822. },
  26823. "sellorderid": {
  26824. "description": "卖方委托单号",
  26825. "type": "string"
  26826. },
  26827. "tradeamount": {
  26828. "description": "成交金额",
  26829. "type": "number"
  26830. },
  26831. "tradecharge": {
  26832. "description": "成交手续费(买方)",
  26833. "type": "number"
  26834. },
  26835. "tradedate": {
  26836. "description": "交易日(yyyyMMdd)",
  26837. "type": "string"
  26838. },
  26839. "tradeid": {
  26840. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26841. "type": "string"
  26842. },
  26843. "trademode": {
  26844. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26845. "type": "integer"
  26846. },
  26847. "tradeprice": {
  26848. "description": "成交价格",
  26849. "type": "number"
  26850. },
  26851. "tradeqty": {
  26852. "description": "成交数量",
  26853. "type": "integer"
  26854. }
  26855. }
  26856. },
  26857. "models.HsbySellMyDetail": {
  26858. "type": "object",
  26859. "required": [
  26860. "accountid",
  26861. "buyorsell",
  26862. "goodscode",
  26863. "goodsid",
  26864. "goodsname",
  26865. "marketid",
  26866. "orderid",
  26867. "time",
  26868. "trademode"
  26869. ],
  26870. "properties": {
  26871. "accountid": {
  26872. "description": "账户ID[报价币种]",
  26873. "type": "integer"
  26874. },
  26875. "agreeunit": {
  26876. "description": "合约单位",
  26877. "type": "number"
  26878. },
  26879. "buyorsell": {
  26880. "description": "买卖 - 0:买 1:卖",
  26881. "type": "integer"
  26882. },
  26883. "currencysign": {
  26884. "description": "货币符号",
  26885. "type": "string"
  26886. },
  26887. "decimalplace": {
  26888. "description": "报价小数位",
  26889. "type": "integer"
  26890. },
  26891. "goodscode": {
  26892. "description": "商品代码(内部)",
  26893. "type": "string"
  26894. },
  26895. "goodsid": {
  26896. "description": "商品ID",
  26897. "type": "integer"
  26898. },
  26899. "goodsname": {
  26900. "description": "商品名称",
  26901. "type": "string"
  26902. },
  26903. "marketid": {
  26904. "description": "市场ID",
  26905. "type": "integer"
  26906. },
  26907. "orderid": {
  26908. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  26909. "type": "string"
  26910. },
  26911. "ordertype": {
  26912. "description": "单据类型:0 - 发布中, 1 - 已完成",
  26913. "type": "integer"
  26914. },
  26915. "picurls": {
  26916. "description": "介绍图片[多张用逗号分隔]",
  26917. "type": "string"
  26918. },
  26919. "price": {
  26920. "description": "价格",
  26921. "type": "number"
  26922. },
  26923. "qty": {
  26924. "description": "数量",
  26925. "type": "integer"
  26926. },
  26927. "time": {
  26928. "description": "时间",
  26929. "type": "string"
  26930. },
  26931. "trademode": {
  26932. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26933. "type": "integer"
  26934. },
  26935. "vendorname": {
  26936. "description": "供应商名称",
  26937. "type": "string"
  26938. }
  26939. }
  26940. },
  26941. "models.HsbyTopGoods": {
  26942. "type": "object",
  26943. "required": [
  26944. "goodscode",
  26945. "goodsid",
  26946. "goodsname",
  26947. "marketid",
  26948. "trademode"
  26949. ],
  26950. "properties": {
  26951. "agreeunit": {
  26952. "description": "合约单位",
  26953. "type": "number"
  26954. },
  26955. "currency": {
  26956. "description": "货币",
  26957. "type": "string"
  26958. },
  26959. "currencysign": {
  26960. "description": "货币符号",
  26961. "type": "string"
  26962. },
  26963. "decimalplace": {
  26964. "description": "报价小数位",
  26965. "type": "integer"
  26966. },
  26967. "desccityid": {
  26968. "description": "目的地(市)",
  26969. "type": "integer"
  26970. },
  26971. "descprovinceid": {
  26972. "description": "目的地(省)",
  26973. "type": "integer"
  26974. },
  26975. "goodscode": {
  26976. "description": "商品代码(内部)",
  26977. "type": "string"
  26978. },
  26979. "goodsid": {
  26980. "description": "商品ID(自增ID SEQ_GOODS)",
  26981. "type": "integer"
  26982. },
  26983. "goodsname": {
  26984. "description": "商品名称",
  26985. "type": "string"
  26986. },
  26987. "hotindex": {
  26988. "description": "景点热度",
  26989. "type": "integer"
  26990. },
  26991. "last": {
  26992. "description": "现价",
  26993. "type": "number"
  26994. },
  26995. "marketid": {
  26996. "description": "所属市场ID",
  26997. "type": "integer"
  26998. },
  26999. "picurls": {
  27000. "description": "介绍图片[多张用逗号分隔]",
  27001. "type": "string"
  27002. },
  27003. "quoteminunit": {
  27004. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27005. "type": "integer"
  27006. },
  27007. "trademode": {
  27008. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27009. "type": "integer"
  27010. },
  27011. "videourls": {
  27012. "description": "介绍视频[多张用逗号分隔]",
  27013. "type": "string"
  27014. }
  27015. }
  27016. },
  27017. "models.HybsMyBuyOrderDetail": {
  27018. "type": "object",
  27019. "required": [
  27020. "accountid",
  27021. "buyorsell",
  27022. "goodscode",
  27023. "goodsid",
  27024. "goodsname",
  27025. "marketid",
  27026. "orderid",
  27027. "orderqty",
  27028. "ordertime",
  27029. "trademode"
  27030. ],
  27031. "properties": {
  27032. "accountid": {
  27033. "description": "账户ID[报价币种]",
  27034. "type": "integer"
  27035. },
  27036. "agreeunit": {
  27037. "description": "合约单位",
  27038. "type": "number"
  27039. },
  27040. "buyorsell": {
  27041. "description": "买卖 - 0:买 1:卖",
  27042. "type": "integer"
  27043. },
  27044. "cancelqty": {
  27045. "description": "撤单数量",
  27046. "type": "integer"
  27047. },
  27048. "currencysign": {
  27049. "description": "货币符号",
  27050. "type": "string"
  27051. },
  27052. "decimalplace": {
  27053. "description": "报价小数位",
  27054. "type": "integer"
  27055. },
  27056. "goodscode": {
  27057. "description": "商品代码(内部)",
  27058. "type": "string"
  27059. },
  27060. "goodsid": {
  27061. "description": "商品ID",
  27062. "type": "integer"
  27063. },
  27064. "goodsname": {
  27065. "description": "商品名称",
  27066. "type": "string"
  27067. },
  27068. "listingselecttype": {
  27069. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  27070. "type": "integer"
  27071. },
  27072. "marketid": {
  27073. "description": "市场ID",
  27074. "type": "integer"
  27075. },
  27076. "mybuystatus": {
  27077. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  27078. "type": "integer"
  27079. },
  27080. "orderamount": {
  27081. "description": "委托金额",
  27082. "type": "number"
  27083. },
  27084. "orderid": {
  27085. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27086. "type": "string"
  27087. },
  27088. "orderprice": {
  27089. "description": "委托价格",
  27090. "type": "number"
  27091. },
  27092. "orderqty": {
  27093. "description": "委托数量",
  27094. "type": "integer"
  27095. },
  27096. "orderstatus": {
  27097. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27098. "type": "integer"
  27099. },
  27100. "ordertime": {
  27101. "description": "委托时间",
  27102. "type": "string"
  27103. },
  27104. "picurls1": {
  27105. "description": "预售商品介绍图片[多张用逗号分隔]",
  27106. "type": "string"
  27107. },
  27108. "picurls2": {
  27109. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  27110. "type": "string"
  27111. },
  27112. "trademode": {
  27113. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27114. "type": "integer"
  27115. },
  27116. "tradeqty": {
  27117. "description": "成交数量",
  27118. "type": "integer"
  27119. },
  27120. "vendorname1": {
  27121. "description": "预售商品供应商名称",
  27122. "type": "string"
  27123. },
  27124. "vendorname2": {
  27125. "description": "挂牌商品供应商名称",
  27126. "type": "string"
  27127. }
  27128. }
  27129. },
  27130. "models.Loginaccount": {
  27131. "type": "object",
  27132. "required": [
  27133. "loginid"
  27134. ],
  27135. "properties": {
  27136. "accountname": {
  27137. "description": "账户名称",
  27138. "type": "string"
  27139. },
  27140. "canoutin": {
  27141. "description": "是否可出入金 - 0:不可 1:可",
  27142. "type": "integer"
  27143. },
  27144. "clientroleid": {
  27145. "description": "终端角色ID",
  27146. "type": "integer"
  27147. },
  27148. "haslogined": {
  27149. "description": "是否已登录 - 0:未登录 1:已登录",
  27150. "type": "integer"
  27151. },
  27152. "hasupdatedpwd": {
  27153. "description": "是否已更改密码 - 0:未修改 1:已修改",
  27154. "type": "integer"
  27155. },
  27156. "lastloginip": {
  27157. "description": "最新登录地址",
  27158. "type": "string"
  27159. },
  27160. "lastloginmode": {
  27161. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  27162. "type": "integer"
  27163. },
  27164. "lastloginremark": {
  27165. "description": "最新登录描述",
  27166. "type": "string"
  27167. },
  27168. "lastlogintime": {
  27169. "description": "最新登录时间",
  27170. "type": "string"
  27171. },
  27172. "logincode": {
  27173. "description": "登录代码",
  27174. "type": "string"
  27175. },
  27176. "loginfailnum": {
  27177. "description": "连续登录失败次数(登录成功时清零)",
  27178. "type": "integer"
  27179. },
  27180. "loginid": {
  27181. "description": "登陆账号",
  27182. "type": "integer"
  27183. },
  27184. "loginport": {
  27185. "description": "最新登录端口",
  27186. "type": "integer"
  27187. },
  27188. "loginstatus": {
  27189. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  27190. "type": "integer"
  27191. },
  27192. "loginusertype": {
  27193. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  27194. "type": "integer"
  27195. },
  27196. "mobile": {
  27197. "description": "手机号码(加密存储)",
  27198. "type": "string"
  27199. },
  27200. "modifierid": {
  27201. "description": "修改人",
  27202. "type": "integer"
  27203. },
  27204. "modifysrc": {
  27205. "description": "审核来源 - 1:管理端 2:终端",
  27206. "type": "integer"
  27207. },
  27208. "modifytime": {
  27209. "description": "修改时间",
  27210. "type": "string"
  27211. },
  27212. "password": {
  27213. "description": "登陆密码",
  27214. "type": "string"
  27215. },
  27216. "pwdwrongcount": {
  27217. "description": "密码错误次数",
  27218. "type": "integer"
  27219. },
  27220. "relateduserid": {
  27221. "description": "关联用户ID(机构)",
  27222. "type": "integer"
  27223. },
  27224. "taaccountrighttype": {
  27225. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  27226. "type": "integer"
  27227. },
  27228. "unfreezetime": {
  27229. "description": "账户解冻时间",
  27230. "type": "string"
  27231. },
  27232. "userid": {
  27233. "description": "用户ID",
  27234. "type": "integer"
  27235. }
  27236. }
  27237. },
  27238. "models.MainAccountInfo": {
  27239. "type": "object",
  27240. "properties": {
  27241. "accountid": {
  27242. "description": "账号id",
  27243. "type": "integer"
  27244. },
  27245. "accountname": {
  27246. "description": "账号名称(taaccount表中的名称)",
  27247. "type": "string"
  27248. },
  27249. "appid": {
  27250. "description": "AppID",
  27251. "type": "string"
  27252. },
  27253. "authcode": {
  27254. "description": "授权码",
  27255. "type": "string"
  27256. },
  27257. "brokerid": {
  27258. "description": "经纪商id",
  27259. "type": "string"
  27260. },
  27261. "fcid": {
  27262. "description": "期货公司id",
  27263. "type": "integer"
  27264. },
  27265. "fcname": {
  27266. "description": "期货公司代码",
  27267. "type": "string"
  27268. },
  27269. "hedgeaccountcode": {
  27270. "description": "外部账号代码(主账号登录代码)",
  27271. "type": "string"
  27272. },
  27273. "hedgeaccountpwd": {
  27274. "description": "密码",
  27275. "type": "string"
  27276. },
  27277. "ismain": {
  27278. "description": "是否主账号",
  27279. "type": "integer"
  27280. },
  27281. "relateduserid": {
  27282. "description": "关联用户id",
  27283. "type": "integer"
  27284. },
  27285. "userid": {
  27286. "description": "关联用户id",
  27287. "type": "integer"
  27288. }
  27289. }
  27290. },
  27291. "models.Market": {
  27292. "type": "object",
  27293. "required": [
  27294. "marketid",
  27295. "marketstatus",
  27296. "openmethod",
  27297. "reckonpricealgorithm",
  27298. "trademode",
  27299. "tradeproperty"
  27300. ],
  27301. "properties": {
  27302. "auctionwrtype": {
  27303. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  27304. "type": "integer"
  27305. },
  27306. "canacceptquote": {
  27307. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  27308. "type": "integer"
  27309. },
  27310. "cangoodsexercise": {
  27311. "description": "[期权]是否可现货行权- 0:否 1:是",
  27312. "type": "integer"
  27313. },
  27314. "cangoodsexercisetype": {
  27315. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  27316. "type": "integer"
  27317. },
  27318. "canmanualquotestrike": {
  27319. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  27320. "type": "integer"
  27321. },
  27322. "canmutistage": {
  27323. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  27324. "type": "integer"
  27325. },
  27326. "canpreexercise": {
  27327. "description": "[期权]是否可预申报- 0:否 1:是",
  27328. "type": "integer"
  27329. },
  27330. "clearinterval": {
  27331. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  27332. "type": "integer"
  27333. },
  27334. "contracttmp": {
  27335. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  27336. "type": "string"
  27337. },
  27338. "exchareaid": {
  27339. "description": "所属交易所,可以没有",
  27340. "type": "integer"
  27341. },
  27342. "goodstype": {
  27343. "description": "商品类型 - 1:交易商品 2:仓单商品",
  27344. "type": "integer"
  27345. },
  27346. "hasrebate": {
  27347. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  27348. "type": "integer"
  27349. },
  27350. "hastradecredit": {
  27351. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  27352. "type": "integer"
  27353. },
  27354. "haswr": {
  27355. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  27356. "type": "integer"
  27357. },
  27358. "isdeductmargin": {
  27359. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  27360. "type": "integer"
  27361. },
  27362. "isrecordsource": {
  27363. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  27364. "type": "integer"
  27365. },
  27366. "isreleasemargin": {
  27367. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  27368. "type": "integer"
  27369. },
  27370. "marginformula": {
  27371. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27372. "type": "integer"
  27373. },
  27374. "marginformula2": {
  27375. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27376. "type": "integer"
  27377. },
  27378. "marketid": {
  27379. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  27380. "type": "integer"
  27381. },
  27382. "marketname": {
  27383. "description": "市场名称",
  27384. "type": "string"
  27385. },
  27386. "marketserviceid": {
  27387. "description": "市场服务ID",
  27388. "type": "integer"
  27389. },
  27390. "marketstatus": {
  27391. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  27392. "type": "integer"
  27393. },
  27394. "markettype": {
  27395. "description": "市场类型- 1:非交易服务 2:交易服务",
  27396. "type": "integer"
  27397. },
  27398. "matchermode": {
  27399. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  27400. "type": "integer"
  27401. },
  27402. "openmethod": {
  27403. "description": "开盘模式 - 0 自动 1手动",
  27404. "type": "integer"
  27405. },
  27406. "otcuserid": {
  27407. "description": "场外期权做市商[场外期权]",
  27408. "type": "integer"
  27409. },
  27410. "outersynctime": {
  27411. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  27412. "type": "string"
  27413. },
  27414. "pendingflag": {
  27415. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  27416. "type": "integer"
  27417. },
  27418. "pendingtime": {
  27419. "description": "待开市时间[通道交易-对冲](HH:mm)",
  27420. "type": "string"
  27421. },
  27422. "performancetempid": {
  27423. "description": "履约计划模板ID - 作废",
  27424. "type": "integer"
  27425. },
  27426. "premiumquotemode": {
  27427. "description": "权利金报价方式 - 1:自动 2:手动",
  27428. "type": "integer"
  27429. },
  27430. "rebateratio": {
  27431. "description": "返利比率[竞价式]",
  27432. "type": "number"
  27433. },
  27434. "reckonorder": {
  27435. "description": "结算顺序",
  27436. "type": "integer"
  27437. },
  27438. "reckonpricealgorithm": {
  27439. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  27440. "type": "integer"
  27441. },
  27442. "reckonpriceparam": {
  27443. "description": "结算价参数",
  27444. "type": "integer"
  27445. },
  27446. "reckontime": {
  27447. "description": "结算时间[通道交易-对冲](HH:mm)",
  27448. "type": "string"
  27449. },
  27450. "roleprioritytype": {
  27451. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  27452. "type": "integer"
  27453. },
  27454. "selllistingauditflag": {
  27455. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  27456. "type": "integer"
  27457. },
  27458. "trademarkettype": {
  27459. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  27460. "type": "integer"
  27461. },
  27462. "trademode": {
  27463. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27464. "type": "integer"
  27465. },
  27466. "tradeproperty": {
  27467. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  27468. "type": "integer"
  27469. },
  27470. "tradetype": {
  27471. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  27472. "type": "integer"
  27473. }
  27474. }
  27475. },
  27476. "models.Marketrun": {
  27477. "type": "object",
  27478. "required": [
  27479. "marketid",
  27480. "nexttradedate",
  27481. "reckonflag",
  27482. "runstatus",
  27483. "tradedate",
  27484. "tradedate2"
  27485. ],
  27486. "properties": {
  27487. "afternexttradedate": {
  27488. "description": "下下交易日",
  27489. "type": "string"
  27490. },
  27491. "clearquoteflag": {
  27492. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  27493. "type": "integer"
  27494. },
  27495. "lastreckondate": {
  27496. "description": "最新交易日(结算成功)",
  27497. "type": "string"
  27498. },
  27499. "machinedate": {
  27500. "description": "机器时间",
  27501. "type": "string"
  27502. },
  27503. "manualflag": {
  27504. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  27505. "type": "integer"
  27506. },
  27507. "marketid": {
  27508. "description": "市场ID",
  27509. "type": "integer"
  27510. },
  27511. "nexttradedate": {
  27512. "description": "下一交易日",
  27513. "type": "string"
  27514. },
  27515. "pretradedate": {
  27516. "description": "上一交易日",
  27517. "type": "string"
  27518. },
  27519. "reckonflag": {
  27520. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  27521. "type": "integer"
  27522. },
  27523. "runstatus": {
  27524. "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.今日免清算",
  27525. "type": "integer"
  27526. },
  27527. "sectionid": {
  27528. "description": "时间段号[多时段时用]",
  27529. "type": "integer"
  27530. },
  27531. "tradedate": {
  27532. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  27533. "type": "string"
  27534. },
  27535. "tradedate2": {
  27536. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  27537. "type": "string"
  27538. },
  27539. "updatetime": {
  27540. "description": "更新时间",
  27541. "type": "string"
  27542. }
  27543. }
  27544. },
  27545. "models.Messageboard": {
  27546. "type": "object",
  27547. "required": [
  27548. "messageboardid"
  27549. ],
  27550. "properties": {
  27551. "contactnum": {
  27552. "description": "联系电话",
  27553. "type": "string"
  27554. },
  27555. "createtime": {
  27556. "description": "创建时间",
  27557. "type": "string"
  27558. },
  27559. "message": {
  27560. "description": "留言信息",
  27561. "type": "string"
  27562. },
  27563. "messageboardid": {
  27564. "description": "留言簿ID(SEQ_MessageBoard)",
  27565. "type": "integer"
  27566. },
  27567. "userid": {
  27568. "description": "用户ID",
  27569. "type": "integer"
  27570. }
  27571. }
  27572. },
  27573. "models.MyCoupon": {
  27574. "type": "object",
  27575. "required": [
  27576. "accountid",
  27577. "coupontypeid"
  27578. ],
  27579. "properties": {
  27580. "accountid": {
  27581. "description": "资金账户ID",
  27582. "type": "integer"
  27583. },
  27584. "areauserid": {
  27585. "description": "所属机构",
  27586. "type": "integer"
  27587. },
  27588. "conditionvalue": {
  27589. "description": "条件阈值(可为0)",
  27590. "type": "number"
  27591. },
  27592. "couponcategroy": {
  27593. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  27594. "type": "integer"
  27595. },
  27596. "couponname": {
  27597. "description": "优惠券名称",
  27598. "type": "string"
  27599. },
  27600. "coupontypeid": {
  27601. "description": "优惠券类型ID",
  27602. "type": "string"
  27603. },
  27604. "couponvalue": {
  27605. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27606. "type": "number"
  27607. },
  27608. "curfreezeqty": {
  27609. "description": "期末冻结数量",
  27610. "type": "integer"
  27611. },
  27612. "curqty": {
  27613. "description": "期末数量",
  27614. "type": "integer"
  27615. },
  27616. "isgeneral": {
  27617. "description": "是否通用券 - 0:否 1:是",
  27618. "type": "integer"
  27619. },
  27620. "isunusable": {
  27621. "description": "是否不可用",
  27622. "type": "boolean"
  27623. },
  27624. "limitedflag": {
  27625. "description": "是否指定商品 - 0:不限 1:限制",
  27626. "type": "integer"
  27627. },
  27628. "limitedgoodsids": {
  27629. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  27630. "type": "string"
  27631. },
  27632. "orifreezeqty": {
  27633. "description": "期初冻结数量",
  27634. "type": "integer"
  27635. },
  27636. "oriqty": {
  27637. "description": "期初数量",
  27638. "type": "integer"
  27639. },
  27640. "reasontype": {
  27641. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  27642. "type": "integer"
  27643. },
  27644. "todaydecrease": {
  27645. "description": "今日减少",
  27646. "type": "integer"
  27647. },
  27648. "todayincrease": {
  27649. "description": "今日增加",
  27650. "type": "integer"
  27651. },
  27652. "userid": {
  27653. "description": "用户ID",
  27654. "type": "integer"
  27655. },
  27656. "userscope": {
  27657. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  27658. "type": "string"
  27659. }
  27660. }
  27661. },
  27662. "models.MyCouponHold": {
  27663. "type": "object",
  27664. "required": [
  27665. "couponholdid"
  27666. ],
  27667. "properties": {
  27668. "accountid": {
  27669. "description": "资金账户ID",
  27670. "type": "integer"
  27671. },
  27672. "conditionvalue": {
  27673. "description": "条件阈值(可为0)",
  27674. "type": "number"
  27675. },
  27676. "couponcategroy": {
  27677. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  27678. "type": "integer"
  27679. },
  27680. "couponholdid": {
  27681. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  27682. "type": "string"
  27683. },
  27684. "couponname": {
  27685. "description": "优惠券名称",
  27686. "type": "string"
  27687. },
  27688. "coupontypeid": {
  27689. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  27690. "type": "string"
  27691. },
  27692. "couponvalue": {
  27693. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27694. "type": "number"
  27695. },
  27696. "createtime": {
  27697. "description": "创建时间",
  27698. "type": "string"
  27699. },
  27700. "enddate": {
  27701. "description": "结束日期",
  27702. "type": "string"
  27703. },
  27704. "giveapplyid": {
  27705. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  27706. "type": "integer"
  27707. },
  27708. "holdstatus": {
  27709. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  27710. "type": "integer"
  27711. },
  27712. "isgeneral": {
  27713. "description": "是否通用券 - 0:否 1:是",
  27714. "type": "integer"
  27715. },
  27716. "limitedflag": {
  27717. "description": "是否指定商品 - 0:不限 1:限制",
  27718. "type": "integer"
  27719. },
  27720. "limitedgoodsids": {
  27721. "description": "指定商品IDs[逗号分隔]",
  27722. "type": "string"
  27723. },
  27724. "qty": {
  27725. "description": "数量(按1平铺)",
  27726. "type": "integer"
  27727. },
  27728. "startdate": {
  27729. "description": "开始日期",
  27730. "type": "string"
  27731. },
  27732. "userid": {
  27733. "description": "用户ID",
  27734. "type": "integer"
  27735. },
  27736. "userscope": {
  27737. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  27738. "type": "string"
  27739. }
  27740. }
  27741. },
  27742. "models.MyUsedCoupon": {
  27743. "type": "object",
  27744. "required": [
  27745. "coupontypeid",
  27746. "orderid"
  27747. ],
  27748. "properties": {
  27749. "accountid": {
  27750. "description": "资金账户ID(买方)",
  27751. "type": "integer"
  27752. },
  27753. "conditionvalue": {
  27754. "description": "条件阈值(可为0)",
  27755. "type": "number"
  27756. },
  27757. "couponcategroy": {
  27758. "description": "种类 - 1:现金券 2:折扣券",
  27759. "type": "integer"
  27760. },
  27761. "couponname": {
  27762. "description": "优惠券名称",
  27763. "type": "string"
  27764. },
  27765. "coupontypeid": {
  27766. "description": "优惠券类型ID(买方)",
  27767. "type": "string"
  27768. },
  27769. "couponvalue": {
  27770. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  27771. "type": "number"
  27772. },
  27773. "createtime": {
  27774. "description": "创建时间",
  27775. "type": "string"
  27776. },
  27777. "goodsid": {
  27778. "description": "商品ID",
  27779. "type": "integer"
  27780. },
  27781. "handlestatus": {
  27782. "description": "处理状态",
  27783. "type": "integer"
  27784. },
  27785. "marketid": {
  27786. "description": "市场ID",
  27787. "type": "integer"
  27788. },
  27789. "offamount": {
  27790. "description": "优惠金额",
  27791. "type": "number"
  27792. },
  27793. "orderid": {
  27794. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27795. "type": "string"
  27796. },
  27797. "sellaccountid": {
  27798. "description": "资金账户ID(卖方)",
  27799. "type": "integer"
  27800. },
  27801. "tradeamount": {
  27802. "description": "成交金额",
  27803. "type": "number"
  27804. },
  27805. "tradeid": {
  27806. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27807. "type": "string"
  27808. },
  27809. "usedqty": {
  27810. "description": "使用数量",
  27811. "type": "integer"
  27812. }
  27813. }
  27814. },
  27815. "models.OperationPrimaryMenu": {
  27816. "type": "object",
  27817. "properties": {
  27818. "Children": {
  27819. "description": "二级功能菜单",
  27820. "type": "array",
  27821. "items": {
  27822. "$ref": "#/definitions/models.OperationSecondaryMenu"
  27823. }
  27824. },
  27825. "Key": {
  27826. "description": "菜单KEY",
  27827. "type": "string"
  27828. },
  27829. "Label": {
  27830. "description": "菜单标题",
  27831. "type": "string"
  27832. }
  27833. }
  27834. },
  27835. "models.OperationSecondaryMenu": {
  27836. "type": "object",
  27837. "properties": {
  27838. "Key": {
  27839. "description": "菜单KEY",
  27840. "type": "string"
  27841. },
  27842. "Label": {
  27843. "description": "菜单标题",
  27844. "type": "string"
  27845. },
  27846. "TabList": {
  27847. "description": "三级功能菜单",
  27848. "type": "array",
  27849. "items": {
  27850. "$ref": "#/definitions/models.OperationTabMenu"
  27851. }
  27852. }
  27853. }
  27854. },
  27855. "models.OperationTabMenu": {
  27856. "type": "object",
  27857. "properties": {
  27858. "Key": {
  27859. "description": "菜单KEY",
  27860. "type": "string"
  27861. },
  27862. "Label": {
  27863. "description": "菜单标题",
  27864. "type": "string"
  27865. }
  27866. }
  27867. },
  27868. "models.QhjAccountOutInApply": {
  27869. "type": "object",
  27870. "properties": {
  27871. "accountcode": {
  27872. "description": "资金账号",
  27873. "type": "string"
  27874. },
  27875. "accountname": {
  27876. "description": "用户名称(名称)",
  27877. "type": "string"
  27878. },
  27879. "accountpwd": {
  27880. "description": "资金密码",
  27881. "type": "string"
  27882. },
  27883. "accountticket": {
  27884. "description": "最新账户服务流水号",
  27885. "type": "string"
  27886. },
  27887. "amount": {
  27888. "description": "金额",
  27889. "type": "number"
  27890. },
  27891. "applyremark": {
  27892. "description": "申请备注",
  27893. "type": "string"
  27894. },
  27895. "applystatus": {
  27896. "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: 复审通过,账户冻结金额检查中;",
  27897. "type": "integer"
  27898. },
  27899. "auditid": {
  27900. "description": "审核人",
  27901. "type": "integer"
  27902. },
  27903. "audittime": {
  27904. "description": "审核时间",
  27905. "type": "string"
  27906. },
  27907. "bank_apply_ticket": {
  27908. "description": "银行申请流水",
  27909. "type": "string"
  27910. },
  27911. "bankaccountname": {
  27912. "description": "银行账户名",
  27913. "type": "string"
  27914. },
  27915. "bankaccountno": {
  27916. "description": "银行卡号",
  27917. "type": "string"
  27918. },
  27919. "bankid": {
  27920. "description": "银行编号",
  27921. "type": "string"
  27922. },
  27923. "bankticket": {
  27924. "description": "银行流水",
  27925. "type": "string"
  27926. },
  27927. "branchbankid": {
  27928. "description": "银行支行号",
  27929. "type": "string"
  27930. },
  27931. "branchbankname": {
  27932. "description": "银行支行名称",
  27933. "type": "string"
  27934. },
  27935. "capamountout": {
  27936. "description": "出金(劣后本金) - 外部子账户",
  27937. "type": "number"
  27938. },
  27939. "certificatephotourl": {
  27940. "description": "凭证地址",
  27941. "type": "string"
  27942. },
  27943. "charge": {
  27944. "description": "手续费",
  27945. "type": "number"
  27946. },
  27947. "checkerrorflag": {
  27948. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27949. "type": "integer"
  27950. },
  27951. "currency": {
  27952. "description": "币种",
  27953. "type": "string"
  27954. },
  27955. "cusbankid": {
  27956. "description": "托管银行编号",
  27957. "type": "string"
  27958. },
  27959. "exchticket": {
  27960. "description": "银行服务流水号",
  27961. "type": "string"
  27962. },
  27963. "executetype": {
  27964. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27965. "type": "integer"
  27966. },
  27967. "extendinfo": {
  27968. "description": "扩展信息",
  27969. "type": "string"
  27970. },
  27971. "extoperateid": {
  27972. "description": "交易服务流水号",
  27973. "type": "integer"
  27974. },
  27975. "infamount": {
  27976. "description": "劣后金额(自有)",
  27977. "type": "number"
  27978. },
  27979. "logincode": {
  27980. "description": "登录账号(账号)",
  27981. "type": "string"
  27982. },
  27983. "netaddr": {
  27984. "description": "调转网址",
  27985. "type": "string"
  27986. },
  27987. "priamount": {
  27988. "description": "优先金额(授信)",
  27989. "type": "number"
  27990. },
  27991. "reauditid": {
  27992. "description": "复审人",
  27993. "type": "integer"
  27994. },
  27995. "reauditremark": {
  27996. "description": "复审备注",
  27997. "type": "string"
  27998. },
  27999. "reaudittime": {
  28000. "description": "复审时间",
  28001. "type": "string"
  28002. },
  28003. "relatedorderid": {
  28004. "description": "三方关联ID",
  28005. "type": "string"
  28006. },
  28007. "remark": {
  28008. "description": "备注",
  28009. "type": "string"
  28010. },
  28011. "remark2": {
  28012. "description": "备注(失败原因)",
  28013. "type": "string"
  28014. },
  28015. "soucreamount": {
  28016. "description": "原始出入金金额",
  28017. "type": "number"
  28018. },
  28019. "soucrecurrencyid": {
  28020. "description": "原始出入金币种",
  28021. "type": "integer"
  28022. },
  28023. "tradedate": {
  28024. "description": "交易日(yyyyMMdd)",
  28025. "type": "string"
  28026. },
  28027. "updatetime": {
  28028. "description": "更新时间(申请时间)",
  28029. "type": "string"
  28030. },
  28031. "userid": {
  28032. "description": "用户id",
  28033. "type": "integer"
  28034. },
  28035. "userinfotype": {
  28036. "description": "账户类型 1-个人 2-企业",
  28037. "type": "integer"
  28038. }
  28039. }
  28040. },
  28041. "models.QhjAgreementChangeLog": {
  28042. "type": "object",
  28043. "properties": {
  28044. "agreementcontent": {
  28045. "description": "协议内容",
  28046. "type": "string"
  28047. },
  28048. "agreementfrequency": {
  28049. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28050. "type": "integer"
  28051. },
  28052. "agreementid": {
  28053. "description": "协议ID",
  28054. "type": "integer"
  28055. },
  28056. "agreementname": {
  28057. "description": "协议名称",
  28058. "type": "string"
  28059. },
  28060. "agreementno": {
  28061. "description": "协议编号",
  28062. "type": "string"
  28063. },
  28064. "agreementtype": {
  28065. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28066. "type": "integer"
  28067. },
  28068. "agreementversion": {
  28069. "description": "协议版本号",
  28070. "type": "integer"
  28071. },
  28072. "logid": {
  28073. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  28074. "type": "integer"
  28075. },
  28076. "reviserid": {
  28077. "description": "修改人",
  28078. "type": "integer"
  28079. },
  28080. "revisersrc": {
  28081. "description": "修改来源 - 1:管理端 2:终端",
  28082. "type": "integer"
  28083. },
  28084. "updatetime": {
  28085. "description": "更新时间",
  28086. "type": "string"
  28087. }
  28088. }
  28089. },
  28090. "models.QhjAgreementConfig": {
  28091. "type": "object",
  28092. "properties": {
  28093. "agreementcontent": {
  28094. "description": "协议内容",
  28095. "type": "string"
  28096. },
  28097. "agreementfrequency": {
  28098. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28099. "type": "integer"
  28100. },
  28101. "agreementid": {
  28102. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  28103. "type": "integer"
  28104. },
  28105. "agreementname": {
  28106. "description": "协议名称",
  28107. "type": "string"
  28108. },
  28109. "agreementno": {
  28110. "description": "协议编号",
  28111. "type": "string"
  28112. },
  28113. "agreementtype": {
  28114. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28115. "type": "integer"
  28116. },
  28117. "agreementversion": {
  28118. "description": "协议版本号(从1开始每次修改加1)",
  28119. "type": "integer"
  28120. },
  28121. "createtime": {
  28122. "description": "创建时间",
  28123. "type": "string"
  28124. },
  28125. "creatorid": {
  28126. "description": "创建人",
  28127. "type": "integer"
  28128. },
  28129. "creatorsrc": {
  28130. "description": "创建来源 - 1:管理端 2:终端",
  28131. "type": "integer"
  28132. },
  28133. "isvalid": {
  28134. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  28135. "type": "integer"
  28136. },
  28137. "reviserid": {
  28138. "description": "修改人",
  28139. "type": "integer"
  28140. },
  28141. "revisersrc": {
  28142. "description": "修改来源 - 1:管理端 2:终端",
  28143. "type": "integer"
  28144. },
  28145. "updatetime": {
  28146. "description": "更新时间",
  28147. "type": "string"
  28148. }
  28149. }
  28150. },
  28151. "models.QhjAreaFinanceConfig": {
  28152. "type": "object",
  28153. "properties": {
  28154. "additionalratio": {
  28155. "description": "追加款比例",
  28156. "type": "number"
  28157. },
  28158. "advanceratio": {
  28159. "description": "预付款比例",
  28160. "type": "number"
  28161. },
  28162. "alarmratio": {
  28163. "description": "告警比例",
  28164. "type": "number"
  28165. },
  28166. "consumptiondirectreward": {
  28167. "description": "消费直推奖励值",
  28168. "type": "number"
  28169. },
  28170. "consumptionenabled": {
  28171. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  28172. "type": "integer"
  28173. },
  28174. "consumptionindirectreward": {
  28175. "description": "消费间推奖励值",
  28176. "type": "number"
  28177. },
  28178. "consumptionmodel": {
  28179. "description": "消费奖励方式 - 1:比率 2:固定",
  28180. "type": "integer"
  28181. },
  28182. "customerservicenum": {
  28183. "description": "客服电话",
  28184. "type": "string"
  28185. },
  28186. "dayinterestrate": {
  28187. "description": "日利率",
  28188. "type": "number"
  28189. },
  28190. "disableconsumptiontips": {
  28191. "description": "关闭消费奖励提示",
  28192. "type": "string"
  28193. },
  28194. "modifierid": {
  28195. "description": "修改人ID",
  28196. "type": "integer"
  28197. },
  28198. "modifysrc": {
  28199. "description": "审核来源 - 1:管理端 2:终端",
  28200. "type": "integer"
  28201. },
  28202. "modifytime": {
  28203. "description": "修改时间",
  28204. "type": "string"
  28205. },
  28206. "promotionvalue": {
  28207. "description": "推广奖励值(固定)",
  28208. "type": "number"
  28209. },
  28210. "scoreconfigvalue1": {
  28211. "description": "提货积分配置1",
  28212. "type": "integer"
  28213. },
  28214. "scoreconfigvalue2": {
  28215. "description": "提货积分配置2",
  28216. "type": "integer"
  28217. },
  28218. "userid": {
  28219. "description": "机构用户ID其他做市关系,都设置为 1",
  28220. "type": "integer"
  28221. },
  28222. "username": {
  28223. "description": "用户名称",
  28224. "type": "string"
  28225. }
  28226. }
  28227. },
  28228. "models.QhjBankAccountSign": {
  28229. "type": "object",
  28230. "properties": {
  28231. "accountcode": {
  28232. "description": "资金账号",
  28233. "type": "string"
  28234. },
  28235. "accountname": {
  28236. "description": "资金账号对应的账号名(UserName)",
  28237. "type": "string"
  28238. },
  28239. "accountname2": {
  28240. "description": "资金账号对应的账号名(UserName) - 密文",
  28241. "type": "string"
  28242. },
  28243. "accounttype": {
  28244. "description": "账户类型(UserType)",
  28245. "type": "integer"
  28246. },
  28247. "applicationtime": {
  28248. "description": "最后一次更新的时间",
  28249. "type": "string"
  28250. },
  28251. "applyexchticket": {
  28252. "description": "申请流水",
  28253. "type": "string"
  28254. },
  28255. "auditid": {
  28256. "description": "审核人",
  28257. "type": "integer"
  28258. },
  28259. "audittime": {
  28260. "description": "审核时间",
  28261. "type": "string"
  28262. },
  28263. "bankaccountname": {
  28264. "description": "签约银行卡账号名",
  28265. "type": "string"
  28266. },
  28267. "bankaccountname2": {
  28268. "description": "签约银行卡账号名 - 密文",
  28269. "type": "string"
  28270. },
  28271. "bankaccountno": {
  28272. "description": "银行卡号",
  28273. "type": "string"
  28274. },
  28275. "bankaccountno2": {
  28276. "description": "银行卡号 - 密文",
  28277. "type": "string"
  28278. },
  28279. "bankaccounttype": {
  28280. "description": "银行账户类型 - 1-对私; 2-对公",
  28281. "type": "integer"
  28282. },
  28283. "bankcardtype": {
  28284. "description": "银行卡类型",
  28285. "type": "integer"
  28286. },
  28287. "bankchildaccount": {
  28288. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  28289. "type": "string"
  28290. },
  28291. "bankcity": {
  28292. "description": "开户行城市",
  28293. "type": "string"
  28294. },
  28295. "bankid": {
  28296. "description": "签约银行ID",
  28297. "type": "string"
  28298. },
  28299. "bankname": {
  28300. "description": "签约银行名称",
  28301. "type": "string"
  28302. },
  28303. "bankprovince": {
  28304. "description": "开户行省份",
  28305. "type": "string"
  28306. },
  28307. "branchbankid": {
  28308. "description": "签约银行支行号",
  28309. "type": "string"
  28310. },
  28311. "branchbankname": {
  28312. "description": "签约银行支行名称",
  28313. "type": "string"
  28314. },
  28315. "cardno": {
  28316. "description": "证件号码",
  28317. "type": "string"
  28318. },
  28319. "cardno2": {
  28320. "description": "证件号码 - 密文",
  28321. "type": "string"
  28322. },
  28323. "cardtype": {
  28324. "description": "证件类型",
  28325. "type": "string"
  28326. },
  28327. "currency": {
  28328. "description": "币种",
  28329. "type": "string"
  28330. },
  28331. "cusbankid": {
  28332. "description": "托管银行编号",
  28333. "type": "string"
  28334. },
  28335. "direct": {
  28336. "description": "方向(可以判断那方先发起的签约)",
  28337. "type": "integer"
  28338. },
  28339. "exchticket": {
  28340. "description": "最后一次签约成功的流水号",
  28341. "type": "string"
  28342. },
  28343. "extendinfo": {
  28344. "description": "扩展信息(JSON字符串)",
  28345. "type": "string"
  28346. },
  28347. "mobilephone": {
  28348. "description": "手机号",
  28349. "type": "string"
  28350. },
  28351. "mobilephone2": {
  28352. "description": "手机号 - 密文",
  28353. "type": "string"
  28354. },
  28355. "netaddr": {
  28356. "description": "调转网址",
  28357. "type": "string"
  28358. },
  28359. "relateduserid": {
  28360. "description": "关联使用者userid",
  28361. "type": "integer"
  28362. },
  28363. "signstatus": {
  28364. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  28365. "type": "integer"
  28366. },
  28367. "updatetime": {
  28368. "description": "更新时间(签解约更新时间)",
  28369. "type": "string"
  28370. }
  28371. }
  28372. },
  28373. "models.QhjBankInfo": {
  28374. "type": "object",
  28375. "properties": {
  28376. "bankid": {
  28377. "description": "银行ID",
  28378. "type": "string"
  28379. },
  28380. "bankname": {
  28381. "description": "银行名称",
  28382. "type": "string"
  28383. },
  28384. "clearbankno": {
  28385. "description": "清算系统银行编号",
  28386. "type": "string"
  28387. },
  28388. "orderindex": {
  28389. "description": "排序顺序",
  28390. "type": "integer"
  28391. },
  28392. "status": {
  28393. "description": "状态 - 0:正常 1:注销",
  28394. "type": "integer"
  28395. }
  28396. }
  28397. },
  28398. "models.QhjBrokerApply": {
  28399. "type": "object",
  28400. "properties": {
  28401. "applicantid": {
  28402. "description": "申请人",
  28403. "type": "integer"
  28404. },
  28405. "applysrc": {
  28406. "description": "申请来源 - 1:管理端 2:终端",
  28407. "type": "integer"
  28408. },
  28409. "applystatus": {
  28410. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  28411. "type": "integer"
  28412. },
  28413. "applytime": {
  28414. "description": "申请时间",
  28415. "type": "string"
  28416. },
  28417. "auditorid": {
  28418. "description": "审核人",
  28419. "type": "integer"
  28420. },
  28421. "auditremark": {
  28422. "description": "审核备注",
  28423. "type": "string"
  28424. },
  28425. "auditsrc": {
  28426. "description": "审核来源 - 1:管理端 2:终端",
  28427. "type": "integer"
  28428. },
  28429. "audittime": {
  28430. "description": "审核时间",
  28431. "type": "string"
  28432. },
  28433. "audittradedate": {
  28434. "description": "审核交易日(yyyyMMdd)",
  28435. "type": "string"
  28436. },
  28437. "brokerapplyid": {
  28438. "description": "申请ID(SEQ_BROKERAPPLY)",
  28439. "type": "integer"
  28440. },
  28441. "cardbackphotourl": {
  28442. "description": "证件背面图片地址",
  28443. "type": "string"
  28444. },
  28445. "cardfrontphotourl": {
  28446. "description": "证件正面图片地址",
  28447. "type": "string"
  28448. },
  28449. "cardnum": {
  28450. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  28451. "type": "string"
  28452. },
  28453. "customername": {
  28454. "description": "姓名",
  28455. "type": "string"
  28456. },
  28457. "logincode": {
  28458. "description": "登录代码",
  28459. "type": "string"
  28460. },
  28461. "mobile": {
  28462. "description": "手机号码",
  28463. "type": "string"
  28464. },
  28465. "parentuserid": {
  28466. "description": "所属机构id",
  28467. "type": "integer"
  28468. },
  28469. "parentusername": {
  28470. "description": "所属机构名称",
  28471. "type": "string"
  28472. },
  28473. "refereeuserid": {
  28474. "description": "推荐人id(经纪人)",
  28475. "type": "integer"
  28476. },
  28477. "refernum": {
  28478. "description": "推荐码",
  28479. "type": "string"
  28480. },
  28481. "remark": {
  28482. "description": "备注",
  28483. "type": "string"
  28484. },
  28485. "subarealevelpath": {
  28486. "description": "层级路径",
  28487. "type": "string"
  28488. },
  28489. "tradedate": {
  28490. "description": "交易日(yyyyMMdd)",
  28491. "type": "string"
  28492. },
  28493. "userid": {
  28494. "description": "申请人用户ID",
  28495. "type": "integer"
  28496. },
  28497. "userinfotype": {
  28498. "description": "用户类型 1-个人 2-企业",
  28499. "type": "integer"
  28500. },
  28501. "username": {
  28502. "description": "用户名称",
  28503. "type": "string"
  28504. }
  28505. }
  28506. },
  28507. "models.QhjBrokerApplyEx": {
  28508. "type": "object",
  28509. "properties": {
  28510. "applylist": {
  28511. "description": "经纪人申请记录(只返回最新一条)",
  28512. "type": "array",
  28513. "items": {
  28514. "$ref": "#/definitions/models.QhjBrokerApply"
  28515. }
  28516. },
  28517. "canrecommend": {
  28518. "description": "是否经纪人 0-不是 1-是",
  28519. "type": "integer"
  28520. },
  28521. "refernum": {
  28522. "description": "推荐码",
  28523. "type": "string"
  28524. },
  28525. "userid": {
  28526. "description": "用户id",
  28527. "type": "integer"
  28528. },
  28529. "userinfotype": {
  28530. "description": "用户类型 1-个人 2-企业",
  28531. "type": "integer"
  28532. }
  28533. }
  28534. },
  28535. "models.QhjBrokerRewardLog": {
  28536. "type": "object",
  28537. "properties": {
  28538. "accountid": {
  28539. "description": "资金账号ID",
  28540. "type": "integer"
  28541. },
  28542. "createtime": {
  28543. "description": "创建时间(时间)",
  28544. "type": "string"
  28545. },
  28546. "handlestatus": {
  28547. "description": "处理状态",
  28548. "type": "integer"
  28549. },
  28550. "logid": {
  28551. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28552. "type": "string"
  28553. },
  28554. "marketid": {
  28555. "description": "市场ID",
  28556. "type": "integer"
  28557. },
  28558. "mmaccountid": {
  28559. "description": "做市商资金账号ID",
  28560. "type": "string"
  28561. },
  28562. "mmuserid": {
  28563. "description": "做市商用户ID",
  28564. "type": "string"
  28565. },
  28566. "rewardamount": {
  28567. "description": "奖励金额",
  28568. "type": "number"
  28569. },
  28570. "rewardmodel": {
  28571. "description": "消费奖励方式 - 1:比率 2:固定",
  28572. "type": "integer"
  28573. },
  28574. "rewardtype": {
  28575. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  28576. "type": "integer"
  28577. },
  28578. "rewardvalue": {
  28579. "description": "配置奖励值",
  28580. "type": "number"
  28581. },
  28582. "srcamount": {
  28583. "description": "成交金额 [消费奖励] (金额)",
  28584. "type": "number"
  28585. },
  28586. "srcgoodsid": {
  28587. "description": "来源商品ID [消费奖励]",
  28588. "type": "string"
  28589. },
  28590. "srctime": {
  28591. "description": "来源时间 (成交时间) [消费奖励]",
  28592. "type": "string"
  28593. },
  28594. "srctradeid": {
  28595. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  28596. "type": "string"
  28597. },
  28598. "srcuserid": {
  28599. "description": "来源用户ID(推广账户)",
  28600. "type": "string"
  28601. },
  28602. "srcusername": {
  28603. "description": "推广账户名称",
  28604. "type": "string"
  28605. },
  28606. "tradedate": {
  28607. "description": "交易日(yyyyMMdd)",
  28608. "type": "string"
  28609. },
  28610. "userid": {
  28611. "description": "经纪人用户ID",
  28612. "type": "integer"
  28613. }
  28614. }
  28615. },
  28616. "models.QhjContract": {
  28617. "type": "object",
  28618. "properties": {
  28619. "contractconfirmtime": {
  28620. "description": "合同确认时间(时间)",
  28621. "type": "string"
  28622. },
  28623. "currisklevel": {
  28624. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  28625. "type": "integer"
  28626. },
  28627. "decimalplace": {
  28628. "description": "商品报价小数位",
  28629. "type": "integer"
  28630. },
  28631. "enumdicname": {
  28632. "description": "单位名称",
  28633. "type": "string"
  28634. },
  28635. "goodscode": {
  28636. "description": "商品代码",
  28637. "type": "string"
  28638. },
  28639. "goodsid": {
  28640. "description": "商品ID [5:融资单]",
  28641. "type": "integer"
  28642. },
  28643. "goodsname": {
  28644. "description": "商品名称",
  28645. "type": "string"
  28646. },
  28647. "goodunitid": {
  28648. "description": "商品单位id",
  28649. "type": "integer"
  28650. },
  28651. "initmargin": {
  28652. "description": "初始保证金(首付款)",
  28653. "type": "number"
  28654. },
  28655. "lenderamount": {
  28656. "description": "贷款金额(总额|订单总额)",
  28657. "type": "number"
  28658. },
  28659. "marginratio": {
  28660. "description": "保证金比率(首付比例)",
  28661. "type": "number"
  28662. },
  28663. "payamount": {
  28664. "description": "已付(已付货款)",
  28665. "type": "number"
  28666. },
  28667. "reckonrecovermargin": {
  28668. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  28669. "type": "number"
  28670. },
  28671. "recoveredmargin": {
  28672. "description": "已追缴保证金",
  28673. "type": "number"
  28674. },
  28675. "remainamount": {
  28676. "description": "合同剩余金额(融资额)",
  28677. "type": "number"
  28678. },
  28679. "scfcontractid": {
  28680. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28681. "type": "string"
  28682. },
  28683. "scfcontractstatus": {
  28684. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  28685. "type": "integer"
  28686. },
  28687. "scfcontracttype": {
  28688. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  28689. "type": "integer"
  28690. },
  28691. "totalinterest": {
  28692. "description": "已计总利息(利息)",
  28693. "type": "number"
  28694. },
  28695. "tradeprice": {
  28696. "description": "成交价格(成本价格)",
  28697. "type": "number"
  28698. },
  28699. "userid": {
  28700. "description": "用户ID",
  28701. "type": "integer"
  28702. },
  28703. "username": {
  28704. "description": "用户名称",
  28705. "type": "string"
  28706. },
  28707. "wrqty": {
  28708. "description": "仓单数量(数量)",
  28709. "type": "number"
  28710. }
  28711. }
  28712. },
  28713. "models.QhjContractLog": {
  28714. "type": "object",
  28715. "properties": {
  28716. "amount": {
  28717. "description": "支付金额",
  28718. "type": "number"
  28719. },
  28720. "amounttype": {
  28721. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  28722. "type": "integer"
  28723. },
  28724. "logid": {
  28725. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28726. "type": "string"
  28727. },
  28728. "remainamount": {
  28729. "description": "剩余货款",
  28730. "type": "number"
  28731. },
  28732. "scfcontractid": {
  28733. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28734. "type": "integer"
  28735. },
  28736. "updatetime": {
  28737. "description": "更新时间",
  28738. "type": "string"
  28739. }
  28740. }
  28741. },
  28742. "models.QhjCusBankSignBankEx": {
  28743. "type": "object",
  28744. "properties": {
  28745. "banklst": {
  28746. "description": "银行列表",
  28747. "type": "array",
  28748. "items": {
  28749. "$ref": "#/definitions/models.QhjBankInfo"
  28750. }
  28751. },
  28752. "canallot": {
  28753. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  28754. "type": "integer"
  28755. },
  28756. "canallotquery": {
  28757. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  28758. "type": "integer"
  28759. },
  28760. "canbindcard": {
  28761. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  28762. "type": "integer"
  28763. },
  28764. "caninamount": {
  28765. "description": "是否可入金 - 0:不可 1:可以",
  28766. "type": "integer"
  28767. },
  28768. "caninamount2": {
  28769. "description": "是否可入金(网银端) - 0:不可 1:可以",
  28770. "type": "integer"
  28771. },
  28772. "canmodifybankcard": {
  28773. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  28774. "type": "integer"
  28775. },
  28776. "canmodifyphone": {
  28777. "description": "是否可修改手机号 - 0:不可 1:可以",
  28778. "type": "integer"
  28779. },
  28780. "canmodifysigninfo": {
  28781. "description": "是否可修改签约信息 - 0:不可 1:可以",
  28782. "type": "integer"
  28783. },
  28784. "canoutamount": {
  28785. "description": "是否可出金 - 0:不可 1:可以",
  28786. "type": "integer"
  28787. },
  28788. "canoutamount2": {
  28789. "description": "是否可出金(网银端) - 0:不可 1:可以",
  28790. "type": "integer"
  28791. },
  28792. "canrelease": {
  28793. "description": "是否可解约 - 0:不可 1:可以",
  28794. "type": "integer"
  28795. },
  28796. "canrelease2": {
  28797. "description": "是否可解约(网银端) - 0:不可 1:可以",
  28798. "type": "integer"
  28799. },
  28800. "cansign": {
  28801. "description": "是否可签约 - 0:不可 1:可以",
  28802. "type": "integer"
  28803. },
  28804. "cansign2": {
  28805. "description": "是否可签约(网银端) - 0:不可 1:可以",
  28806. "type": "integer"
  28807. },
  28808. "currency": {
  28809. "description": "币种",
  28810. "type": "string"
  28811. },
  28812. "cusbankid": {
  28813. "description": "托管银行编号(对应清算中心TRAN_NO)",
  28814. "type": "string"
  28815. },
  28816. "cusbankname": {
  28817. "description": "银行业务名称",
  28818. "type": "string"
  28819. },
  28820. "cusbankshortname": {
  28821. "description": "银行业务简称",
  28822. "type": "string"
  28823. },
  28824. "exchbankid": {
  28825. "description": "交易所开户银行ID",
  28826. "type": "string"
  28827. },
  28828. "exchpaybankaccname": {
  28829. "description": "交易所支出结算账户户名",
  28830. "type": "string"
  28831. },
  28832. "exchpaybankaccno": {
  28833. "description": "交易所支出结算账户",
  28834. "type": "string"
  28835. },
  28836. "isneedcheck": {
  28837. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  28838. "type": "integer"
  28839. },
  28840. "isneedclear": {
  28841. "description": "是否需要清算 - 0:不需要 1:需要",
  28842. "type": "integer"
  28843. },
  28844. "lastcheckstatus": {
  28845. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  28846. "type": "integer"
  28847. },
  28848. "lastchecktime": {
  28849. "description": "最后对账时间",
  28850. "type": "string"
  28851. },
  28852. "lastclearstatus": {
  28853. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  28854. "type": "integer"
  28855. },
  28856. "lastcleartime": {
  28857. "description": "最后清算时间",
  28858. "type": "string"
  28859. },
  28860. "lastsignintime": {
  28861. "description": "最后签到时间",
  28862. "type": "string"
  28863. },
  28864. "lastsignouttime": {
  28865. "description": "最后签退时间",
  28866. "type": "string"
  28867. },
  28868. "riskinfo": {
  28869. "description": "签约风险提示书",
  28870. "type": "string"
  28871. },
  28872. "signstatus": {
  28873. "description": "当前签到/签退状态 - 1:签到 2:签退",
  28874. "type": "integer"
  28875. },
  28876. "tradedate": {
  28877. "description": "交易日(yyyyMMdd)",
  28878. "type": "string"
  28879. },
  28880. "updatetime": {
  28881. "description": "当前签到/签退更新时间",
  28882. "type": "string"
  28883. }
  28884. }
  28885. },
  28886. "models.QhjCustomer": {
  28887. "type": "object",
  28888. "properties": {
  28889. "address": {
  28890. "description": "通讯地址",
  28891. "type": "string"
  28892. },
  28893. "attachment1": {
  28894. "description": "附件1",
  28895. "type": "string"
  28896. },
  28897. "attachment2": {
  28898. "description": "附件2",
  28899. "type": "string"
  28900. },
  28901. "audittime": {
  28902. "description": "审核时间",
  28903. "type": "string"
  28904. },
  28905. "cardbackphotourl": {
  28906. "description": "证件反面图片地址",
  28907. "type": "string"
  28908. },
  28909. "cardfrontphotourl": {
  28910. "description": "证件正面图片地址",
  28911. "type": "string"
  28912. },
  28913. "cardnum": {
  28914. "description": "证件号码",
  28915. "type": "string"
  28916. },
  28917. "cardtype": {
  28918. "description": "证件类型",
  28919. "type": "integer"
  28920. },
  28921. "cardtypename": {
  28922. "description": "证件类型名称",
  28923. "type": "string"
  28924. },
  28925. "cityid": {
  28926. "description": "市",
  28927. "type": "integer"
  28928. },
  28929. "cityname": {
  28930. "description": "城市名称",
  28931. "type": "string"
  28932. },
  28933. "contactname": {
  28934. "description": "联系人",
  28935. "type": "string"
  28936. },
  28937. "countryid": {
  28938. "description": "国家",
  28939. "type": "integer"
  28940. },
  28941. "countryname": {
  28942. "description": "国家名称",
  28943. "type": "string"
  28944. },
  28945. "createtime": {
  28946. "description": "创建时间",
  28947. "type": "string"
  28948. },
  28949. "customername": {
  28950. "description": "客户名称",
  28951. "type": "string"
  28952. },
  28953. "districtid": {
  28954. "description": "区域",
  28955. "type": "integer"
  28956. },
  28957. "districtname": {
  28958. "description": "地区名称",
  28959. "type": "string"
  28960. },
  28961. "email": {
  28962. "description": "邮件",
  28963. "type": "string"
  28964. },
  28965. "legalpersonname": {
  28966. "description": "法人姓名(企业)",
  28967. "type": "string"
  28968. },
  28969. "logincode": {
  28970. "description": "登录账号(代码)",
  28971. "type": "string"
  28972. },
  28973. "memberuserid": {
  28974. "description": "所属机构ID(所属会员)",
  28975. "type": "integer"
  28976. },
  28977. "memberusername": {
  28978. "description": "所属会员名称",
  28979. "type": "string"
  28980. },
  28981. "mobile": {
  28982. "description": "手机号码",
  28983. "type": "string"
  28984. },
  28985. "modifytime": {
  28986. "description": "修改时间",
  28987. "type": "string"
  28988. },
  28989. "nickname": {
  28990. "description": "昵称",
  28991. "type": "string"
  28992. },
  28993. "parentuserid": {
  28994. "description": "上级机构(所属机构)",
  28995. "type": "integer"
  28996. },
  28997. "parentusername": {
  28998. "description": "所属机构名称",
  28999. "type": "string"
  29000. },
  29001. "provinceid": {
  29002. "description": "省",
  29003. "type": "integer"
  29004. },
  29005. "provincename": {
  29006. "description": "省名称",
  29007. "type": "string"
  29008. },
  29009. "proxystatementurl": {
  29010. "description": "授权委托书",
  29011. "type": "string"
  29012. },
  29013. "remark": {
  29014. "description": "备注",
  29015. "type": "string"
  29016. },
  29017. "status": {
  29018. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  29019. "type": "integer"
  29020. },
  29021. "statusdesc": {
  29022. "description": "账户状态中文描述",
  29023. "type": "string"
  29024. },
  29025. "taxpayernum": {
  29026. "description": "纳税人识别号",
  29027. "type": "string"
  29028. },
  29029. "telphone": {
  29030. "description": "联系电话",
  29031. "type": "string"
  29032. },
  29033. "userid": {
  29034. "description": "用户ID",
  29035. "type": "integer"
  29036. },
  29037. "userinfotype": {
  29038. "description": "客户类型 1-个人 2-企业",
  29039. "type": "integer"
  29040. },
  29041. "username": {
  29042. "description": "用户名称",
  29043. "type": "string"
  29044. }
  29045. }
  29046. },
  29047. "models.QhjCustomerSignLog": {
  29048. "type": "object",
  29049. "properties": {
  29050. "agreementcontent": {
  29051. "description": "协议内容",
  29052. "type": "string"
  29053. },
  29054. "agreementid": {
  29055. "description": "协议ID",
  29056. "type": "integer"
  29057. },
  29058. "agreementname": {
  29059. "description": "协议名称",
  29060. "type": "string"
  29061. },
  29062. "agreementno": {
  29063. "description": "协议编号",
  29064. "type": "string"
  29065. },
  29066. "agreementtype": {
  29067. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29068. "type": "integer"
  29069. },
  29070. "agreementversion": {
  29071. "description": "协议版本号",
  29072. "type": "integer"
  29073. },
  29074. "createtime": {
  29075. "description": "创建时间",
  29076. "type": "string"
  29077. },
  29078. "goodscode": {
  29079. "description": "商品代码",
  29080. "type": "string"
  29081. },
  29082. "goodsid": {
  29083. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29084. "type": "integer"
  29085. },
  29086. "goodsname": {
  29087. "description": "商品名称",
  29088. "type": "string"
  29089. },
  29090. "logid": {
  29091. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  29092. "type": "integer"
  29093. },
  29094. "nodetype": {
  29095. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29096. "type": "integer"
  29097. },
  29098. "signadressurl": {
  29099. "description": "签约文件地址",
  29100. "type": "string"
  29101. },
  29102. "signtimestamp": {
  29103. "description": "签约状态时间戳",
  29104. "type": "string"
  29105. },
  29106. "userid": {
  29107. "description": "客户ID",
  29108. "type": "integer"
  29109. },
  29110. "username": {
  29111. "description": "客户名称",
  29112. "type": "string"
  29113. }
  29114. }
  29115. },
  29116. "models.QhjCustomerSignStatus": {
  29117. "type": "object",
  29118. "properties": {
  29119. "createtime": {
  29120. "description": "创建时间",
  29121. "type": "string"
  29122. },
  29123. "goodscode": {
  29124. "description": "商品代码",
  29125. "type": "string"
  29126. },
  29127. "goodsid": {
  29128. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29129. "type": "integer"
  29130. },
  29131. "goodsname": {
  29132. "description": "商品名称",
  29133. "type": "string"
  29134. },
  29135. "nodetype": {
  29136. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  29137. "type": "integer"
  29138. },
  29139. "signtimestamp": {
  29140. "description": "签约状态时间戳",
  29141. "type": "string"
  29142. },
  29143. "tradedate": {
  29144. "description": "创建交易日(yyyyMMdd)",
  29145. "type": "string"
  29146. },
  29147. "updatetime": {
  29148. "description": "更新时间",
  29149. "type": "string"
  29150. },
  29151. "userid": {
  29152. "description": "客户ID",
  29153. "type": "integer"
  29154. },
  29155. "username": {
  29156. "description": "客户名称",
  29157. "type": "string"
  29158. }
  29159. }
  29160. },
  29161. "models.QhjMgrAccountOutInApply": {
  29162. "type": "object",
  29163. "properties": {
  29164. "accountcode": {
  29165. "description": "资金账号",
  29166. "type": "string"
  29167. },
  29168. "accountname": {
  29169. "description": "用户名称(名称)",
  29170. "type": "string"
  29171. },
  29172. "accountpwd": {
  29173. "description": "资金密码",
  29174. "type": "string"
  29175. },
  29176. "accountticket": {
  29177. "description": "最新账户服务流水号",
  29178. "type": "string"
  29179. },
  29180. "amount": {
  29181. "description": "金额",
  29182. "type": "number"
  29183. },
  29184. "applyremark": {
  29185. "description": "申请备注",
  29186. "type": "string"
  29187. },
  29188. "applystatus": {
  29189. "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: 复审通过,账户冻结金额检查中;",
  29190. "type": "integer"
  29191. },
  29192. "auditid": {
  29193. "description": "审核人",
  29194. "type": "integer"
  29195. },
  29196. "audittime": {
  29197. "description": "审核时间",
  29198. "type": "string"
  29199. },
  29200. "bank_apply_ticket": {
  29201. "description": "银行申请流水",
  29202. "type": "string"
  29203. },
  29204. "bankaccountname": {
  29205. "description": "银行账户名",
  29206. "type": "string"
  29207. },
  29208. "bankaccountno": {
  29209. "description": "银行卡号",
  29210. "type": "string"
  29211. },
  29212. "bankid": {
  29213. "description": "银行编号",
  29214. "type": "string"
  29215. },
  29216. "bankname": {
  29217. "description": "银行名称",
  29218. "type": "string"
  29219. },
  29220. "bankticket": {
  29221. "description": "银行流水",
  29222. "type": "string"
  29223. },
  29224. "branchbankid": {
  29225. "description": "银行支行号",
  29226. "type": "string"
  29227. },
  29228. "branchbankname": {
  29229. "description": "银行支行名称",
  29230. "type": "string"
  29231. },
  29232. "capamountout": {
  29233. "description": "出金(劣后本金) - 外部子账户",
  29234. "type": "number"
  29235. },
  29236. "certificatephotourl": {
  29237. "description": "凭证地址",
  29238. "type": "string"
  29239. },
  29240. "charge": {
  29241. "description": "手续费",
  29242. "type": "number"
  29243. },
  29244. "checkerrorflag": {
  29245. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  29246. "type": "integer"
  29247. },
  29248. "currency": {
  29249. "description": "币种",
  29250. "type": "string"
  29251. },
  29252. "cusbankid": {
  29253. "description": "托管银行编号",
  29254. "type": "string"
  29255. },
  29256. "exchticket": {
  29257. "description": "银行服务流水号",
  29258. "type": "string"
  29259. },
  29260. "executetype": {
  29261. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  29262. "type": "integer"
  29263. },
  29264. "extendinfo": {
  29265. "description": "扩展信息",
  29266. "type": "string"
  29267. },
  29268. "extoperateid": {
  29269. "description": "交易服务流水号",
  29270. "type": "integer"
  29271. },
  29272. "infamount": {
  29273. "description": "劣后金额(自有)",
  29274. "type": "number"
  29275. },
  29276. "logincode": {
  29277. "description": "登录账号(账号)",
  29278. "type": "string"
  29279. },
  29280. "netaddr": {
  29281. "description": "调转网址",
  29282. "type": "string"
  29283. },
  29284. "priamount": {
  29285. "description": "优先金额(授信)",
  29286. "type": "number"
  29287. },
  29288. "reauditid": {
  29289. "description": "复审人",
  29290. "type": "integer"
  29291. },
  29292. "reauditremark": {
  29293. "description": "复审备注",
  29294. "type": "string"
  29295. },
  29296. "reaudittime": {
  29297. "description": "复审时间",
  29298. "type": "string"
  29299. },
  29300. "relatedorderid": {
  29301. "description": "三方关联ID",
  29302. "type": "string"
  29303. },
  29304. "remark": {
  29305. "description": "备注",
  29306. "type": "string"
  29307. },
  29308. "remark2": {
  29309. "description": "备注(失败原因)",
  29310. "type": "string"
  29311. },
  29312. "soucreamount": {
  29313. "description": "原始出入金金额",
  29314. "type": "number"
  29315. },
  29316. "soucrecurrencyid": {
  29317. "description": "原始出入金币种",
  29318. "type": "integer"
  29319. },
  29320. "tradedate": {
  29321. "description": "交易日(yyyyMMdd)",
  29322. "type": "string"
  29323. },
  29324. "updatetime": {
  29325. "description": "更新时间(申请时间)",
  29326. "type": "string"
  29327. },
  29328. "userid": {
  29329. "description": "用户id",
  29330. "type": "integer"
  29331. },
  29332. "userinfotype": {
  29333. "description": "账户类型 1-个人 2-企业",
  29334. "type": "integer"
  29335. }
  29336. }
  29337. },
  29338. "models.QhjMgrBrokerApply": {
  29339. "type": "object",
  29340. "properties": {
  29341. "applicantid": {
  29342. "description": "申请人",
  29343. "type": "integer"
  29344. },
  29345. "applysrc": {
  29346. "description": "申请来源 - 1:管理端 2:终端",
  29347. "type": "integer"
  29348. },
  29349. "applystatus": {
  29350. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  29351. "type": "integer"
  29352. },
  29353. "applytime": {
  29354. "description": "申请时间",
  29355. "type": "string"
  29356. },
  29357. "auditorid": {
  29358. "description": "审核人",
  29359. "type": "integer"
  29360. },
  29361. "auditremark": {
  29362. "description": "审核备注",
  29363. "type": "string"
  29364. },
  29365. "auditsrc": {
  29366. "description": "审核来源 - 1:管理端 2:终端",
  29367. "type": "integer"
  29368. },
  29369. "audittime": {
  29370. "description": "审核时间",
  29371. "type": "string"
  29372. },
  29373. "audittradedate": {
  29374. "description": "审核交易日(yyyyMMdd)",
  29375. "type": "string"
  29376. },
  29377. "brokerapplyid": {
  29378. "description": "申请ID(SEQ_BROKERAPPLY)",
  29379. "type": "integer"
  29380. },
  29381. "cardbackphotourl": {
  29382. "description": "证件背面图片地址",
  29383. "type": "string"
  29384. },
  29385. "cardfrontphotourl": {
  29386. "description": "证件正面图片地址",
  29387. "type": "string"
  29388. },
  29389. "cardnum": {
  29390. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  29391. "type": "string"
  29392. },
  29393. "customername": {
  29394. "description": "姓名",
  29395. "type": "string"
  29396. },
  29397. "filterstatus": {
  29398. "description": "筛选条件",
  29399. "type": "string"
  29400. },
  29401. "logincode": {
  29402. "description": "登录代码",
  29403. "type": "string"
  29404. },
  29405. "mobile": {
  29406. "description": "手机号码",
  29407. "type": "string"
  29408. },
  29409. "parentuserid": {
  29410. "description": "所属机构id",
  29411. "type": "integer"
  29412. },
  29413. "parentusername": {
  29414. "description": "所属机构名称",
  29415. "type": "string"
  29416. },
  29417. "refereeuserid": {
  29418. "description": "推荐人id(经纪人)",
  29419. "type": "integer"
  29420. },
  29421. "refernum": {
  29422. "description": "推荐码",
  29423. "type": "string"
  29424. },
  29425. "remark": {
  29426. "description": "备注",
  29427. "type": "string"
  29428. },
  29429. "subarealevelpath": {
  29430. "description": "层级路径",
  29431. "type": "string"
  29432. },
  29433. "tradedate": {
  29434. "description": "交易日(yyyyMMdd)",
  29435. "type": "string"
  29436. },
  29437. "userid": {
  29438. "description": "申请人用户ID",
  29439. "type": "integer"
  29440. },
  29441. "userinfotype": {
  29442. "description": "用户类型 1-个人 2-企业",
  29443. "type": "integer"
  29444. },
  29445. "username": {
  29446. "description": "用户名称",
  29447. "type": "string"
  29448. }
  29449. }
  29450. },
  29451. "models.QhjMgrBrokerRewardReport": {
  29452. "type": "object",
  29453. "properties": {
  29454. "createtime": {
  29455. "description": "创建时间(注册时间)",
  29456. "type": "string"
  29457. },
  29458. "cycletime": {
  29459. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  29460. "type": "string"
  29461. },
  29462. "cycletype": {
  29463. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  29464. "type": "integer"
  29465. },
  29466. "directtotalnum": {
  29467. "description": "直推总人数【期末】",
  29468. "type": "integer"
  29469. },
  29470. "indirecttotalnum": {
  29471. "description": "间推总人数【期末】",
  29472. "type": "integer"
  29473. },
  29474. "mobile": {
  29475. "description": "电话号码",
  29476. "type": "string"
  29477. },
  29478. "refereeuserid": {
  29479. "description": "推荐人id(经纪人id)",
  29480. "type": "integer"
  29481. },
  29482. "refereeusername": {
  29483. "description": "推荐人名称(经纪人) 上级经纪人名称",
  29484. "type": "string"
  29485. },
  29486. "refernum": {
  29487. "description": "推荐码",
  29488. "type": "string"
  29489. },
  29490. "subarealevelpath": {
  29491. "description": "用户层级路径",
  29492. "type": "string"
  29493. },
  29494. "todayrewardamount": {
  29495. "description": "奖励总金额【汇总】",
  29496. "type": "number"
  29497. },
  29498. "updatetime": {
  29499. "description": "更新时间",
  29500. "type": "string"
  29501. },
  29502. "userid": {
  29503. "description": "经纪人用户ID",
  29504. "type": "integer"
  29505. },
  29506. "userinfotype": {
  29507. "description": "用户类型 1-个人 2-企业",
  29508. "type": "integer"
  29509. },
  29510. "username": {
  29511. "description": "用户名称",
  29512. "type": "string"
  29513. }
  29514. }
  29515. },
  29516. "models.QhjMgrContract": {
  29517. "type": "object",
  29518. "properties": {
  29519. "contractconfirmtime": {
  29520. "description": "合同确认时间(时间)",
  29521. "type": "string"
  29522. },
  29523. "currisklevel": {
  29524. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  29525. "type": "integer"
  29526. },
  29527. "decimalplace": {
  29528. "description": "商品报价小数位",
  29529. "type": "integer"
  29530. },
  29531. "enumdicname": {
  29532. "description": "单位名称",
  29533. "type": "string"
  29534. },
  29535. "goodscode": {
  29536. "description": "商品代码",
  29537. "type": "string"
  29538. },
  29539. "goodsid": {
  29540. "description": "商品ID [5:融资单]",
  29541. "type": "integer"
  29542. },
  29543. "goodsname": {
  29544. "description": "商品名称",
  29545. "type": "string"
  29546. },
  29547. "goodunitid": {
  29548. "description": "商品单位id",
  29549. "type": "integer"
  29550. },
  29551. "initmargin": {
  29552. "description": "初始保证金(首付款)",
  29553. "type": "number"
  29554. },
  29555. "lenderamount": {
  29556. "description": "贷款金额(总额|订单总额)",
  29557. "type": "number"
  29558. },
  29559. "logincode": {
  29560. "description": "账号(登录代码)",
  29561. "type": "string"
  29562. },
  29563. "marginratio": {
  29564. "description": "保证金比率(首付比例)",
  29565. "type": "number"
  29566. },
  29567. "mobile": {
  29568. "description": "电话号码(用户资料里的电话)",
  29569. "type": "string"
  29570. },
  29571. "payamount": {
  29572. "description": "已付(已付货款)",
  29573. "type": "number"
  29574. },
  29575. "reckonrecovermargin": {
  29576. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  29577. "type": "number"
  29578. },
  29579. "recoveredmargin": {
  29580. "description": "已追缴保证金",
  29581. "type": "number"
  29582. },
  29583. "remainamount": {
  29584. "description": "合同剩余金额(融资额)",
  29585. "type": "number"
  29586. },
  29587. "scfcontractid": {
  29588. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29589. "type": "string"
  29590. },
  29591. "scfcontractstatus": {
  29592. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  29593. "type": "integer"
  29594. },
  29595. "scfcontracttype": {
  29596. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  29597. "type": "integer"
  29598. },
  29599. "totalinterest": {
  29600. "description": "已计总利息(利息)",
  29601. "type": "number"
  29602. },
  29603. "tradedate": {
  29604. "description": "交易日",
  29605. "type": "string"
  29606. },
  29607. "tradeprice": {
  29608. "description": "成交价格(成本价格)",
  29609. "type": "number"
  29610. },
  29611. "userid": {
  29612. "description": "用户ID",
  29613. "type": "integer"
  29614. },
  29615. "userinfotype": {
  29616. "description": "用户类型 1-个人 2-企业",
  29617. "type": "integer"
  29618. },
  29619. "username": {
  29620. "description": "用户名称",
  29621. "type": "string"
  29622. },
  29623. "wrqty": {
  29624. "description": "仓单数量(数量)",
  29625. "type": "number"
  29626. }
  29627. }
  29628. },
  29629. "models.QhjMgrCustomer": {
  29630. "type": "object",
  29631. "properties": {
  29632. "address": {
  29633. "description": "通讯地址",
  29634. "type": "string"
  29635. },
  29636. "attachment1": {
  29637. "description": "附件1",
  29638. "type": "string"
  29639. },
  29640. "audittime": {
  29641. "description": "审核时间",
  29642. "type": "string"
  29643. },
  29644. "birthday": {
  29645. "description": "生日",
  29646. "type": "string"
  29647. },
  29648. "brokerid": {
  29649. "description": "所属客户经理id",
  29650. "type": "integer"
  29651. },
  29652. "brokername": {
  29653. "description": "所属客户经理名称",
  29654. "type": "string"
  29655. },
  29656. "cardbackphotourl": {
  29657. "description": "证件反面图片地址",
  29658. "type": "string"
  29659. },
  29660. "cardfrontphotourl": {
  29661. "description": "证件正面图片地址",
  29662. "type": "string"
  29663. },
  29664. "cardnum": {
  29665. "description": "证件号码",
  29666. "type": "string"
  29667. },
  29668. "cardtype": {
  29669. "description": "证件类型",
  29670. "type": "integer"
  29671. },
  29672. "cardtypename": {
  29673. "description": "证件类型名称",
  29674. "type": "string"
  29675. },
  29676. "cityid": {
  29677. "description": "市",
  29678. "type": "integer"
  29679. },
  29680. "cityname": {
  29681. "description": "城市名称",
  29682. "type": "string"
  29683. },
  29684. "contactname": {
  29685. "description": "联系人",
  29686. "type": "string"
  29687. },
  29688. "countryid": {
  29689. "description": "国家",
  29690. "type": "integer"
  29691. },
  29692. "countryname": {
  29693. "description": "国家名称",
  29694. "type": "string"
  29695. },
  29696. "createtime": {
  29697. "description": "创建时间",
  29698. "type": "string"
  29699. },
  29700. "customername": {
  29701. "description": "客户名称",
  29702. "type": "string"
  29703. },
  29704. "districtid": {
  29705. "description": "区域",
  29706. "type": "integer"
  29707. },
  29708. "districtname": {
  29709. "description": "地区名称",
  29710. "type": "string"
  29711. },
  29712. "email": {
  29713. "description": "邮件",
  29714. "type": "string"
  29715. },
  29716. "legalpersonname": {
  29717. "description": "法人姓名(企业)",
  29718. "type": "string"
  29719. },
  29720. "logincode": {
  29721. "description": "登录账号(代码)",
  29722. "type": "string"
  29723. },
  29724. "memberuserid": {
  29725. "description": "所属机构ID(所属会员)",
  29726. "type": "integer"
  29727. },
  29728. "memberusername": {
  29729. "description": "所属会员名称",
  29730. "type": "string"
  29731. },
  29732. "mobile": {
  29733. "description": "手机号码",
  29734. "type": "string"
  29735. },
  29736. "modifytime": {
  29737. "description": "修改时间",
  29738. "type": "string"
  29739. },
  29740. "nickname": {
  29741. "description": "昵称",
  29742. "type": "string"
  29743. },
  29744. "parentuserid": {
  29745. "description": "上级机构(所属机构)",
  29746. "type": "integer"
  29747. },
  29748. "parentusername": {
  29749. "description": "所属机构名称",
  29750. "type": "string"
  29751. },
  29752. "provinceid": {
  29753. "description": "省",
  29754. "type": "integer"
  29755. },
  29756. "provincename": {
  29757. "description": "省名称",
  29758. "type": "string"
  29759. },
  29760. "proxystatementurl": {
  29761. "description": "授权委托书",
  29762. "type": "string"
  29763. },
  29764. "querytype": {
  29765. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  29766. "type": "integer"
  29767. },
  29768. "remark": {
  29769. "description": "备注",
  29770. "type": "string"
  29771. },
  29772. "sex": {
  29773. "description": "性别 0-女 1-男",
  29774. "type": "integer"
  29775. },
  29776. "status": {
  29777. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29778. "type": "integer"
  29779. },
  29780. "statusdesc": {
  29781. "description": "账户状态中文描述",
  29782. "type": "string"
  29783. },
  29784. "taxpayernum": {
  29785. "description": "纳税人识别号",
  29786. "type": "string"
  29787. },
  29788. "telphone": {
  29789. "description": "联系电话",
  29790. "type": "string"
  29791. },
  29792. "userid": {
  29793. "description": "用户ID",
  29794. "type": "integer"
  29795. },
  29796. "userinfotype": {
  29797. "description": "客户类型 1-个人 2-企业",
  29798. "type": "integer"
  29799. },
  29800. "username": {
  29801. "description": "用户名称",
  29802. "type": "string"
  29803. }
  29804. }
  29805. },
  29806. "models.QhjMgrPickGoods": {
  29807. "type": "object",
  29808. "properties": {
  29809. "enumdicname": {
  29810. "description": "单位名称(提货商品)",
  29811. "type": "string"
  29812. },
  29813. "goodsid": {
  29814. "description": "商品id",
  29815. "type": "integer"
  29816. },
  29817. "imageaddress": {
  29818. "description": "图片",
  29819. "type": "string"
  29820. },
  29821. "modifierid": {
  29822. "description": "修改人",
  29823. "type": "integer"
  29824. },
  29825. "modifiername": {
  29826. "description": "修改人名称",
  29827. "type": "string"
  29828. },
  29829. "modifysrc": {
  29830. "description": "修改来源 - 1:管理端 2:终端",
  29831. "type": "integer"
  29832. },
  29833. "pickupgoodsagreeunit": {
  29834. "description": "合约乘数",
  29835. "type": "number"
  29836. },
  29837. "pickupgoodsdesc": {
  29838. "description": "描述",
  29839. "type": "string"
  29840. },
  29841. "pickupgoodsid": {
  29842. "description": "提货商品ID",
  29843. "type": "string"
  29844. },
  29845. "pickupgoodsname": {
  29846. "description": "提货商品名称",
  29847. "type": "string"
  29848. },
  29849. "pickupgoodsstatus": {
  29850. "description": "状态 - 1:正常 2:停用 3:注销",
  29851. "type": "integer"
  29852. },
  29853. "pickupgoodsunitid": {
  29854. "description": "单位ID",
  29855. "type": "integer"
  29856. },
  29857. "pickupratio": {
  29858. "description": "提货系数",
  29859. "type": "number"
  29860. },
  29861. "preparedays": {
  29862. "description": "备货期(天)",
  29863. "type": "integer"
  29864. },
  29865. "remark": {
  29866. "description": "备注",
  29867. "type": "string"
  29868. },
  29869. "updatetime": {
  29870. "description": "更新时间",
  29871. "type": "string"
  29872. }
  29873. }
  29874. },
  29875. "models.QhjMgrPositionRsp": {
  29876. "type": "object",
  29877. "properties": {
  29878. "accountid": {
  29879. "description": "账号Id",
  29880. "type": "integer"
  29881. },
  29882. "accountname": {
  29883. "description": "用户名称",
  29884. "type": "string"
  29885. },
  29886. "agreeunit": {
  29887. "description": "合约乘数",
  29888. "type": "number"
  29889. },
  29890. "averageprice": {
  29891. "description": "均价",
  29892. "type": "number"
  29893. },
  29894. "avialqty": {
  29895. "description": "可用数量",
  29896. "type": "number"
  29897. },
  29898. "decimalplace": {
  29899. "description": "报价小数位",
  29900. "type": "integer"
  29901. },
  29902. "enumdicname": {
  29903. "description": "单位名称(商品)",
  29904. "type": "string"
  29905. },
  29906. "frozenqty": {
  29907. "description": "冻结数量",
  29908. "type": "number"
  29909. },
  29910. "goodscode": {
  29911. "description": "商品代码(内部)",
  29912. "type": "string"
  29913. },
  29914. "goodsid": {
  29915. "description": "商品Id",
  29916. "type": "integer"
  29917. },
  29918. "goodsname": {
  29919. "description": "商品名称",
  29920. "type": "string"
  29921. },
  29922. "goodunitid": {
  29923. "description": "报价单位ID",
  29924. "type": "integer"
  29925. },
  29926. "holderamount": {
  29927. "description": "金额",
  29928. "type": "number"
  29929. },
  29930. "holderqty": {
  29931. "description": "持有数量",
  29932. "type": "number"
  29933. },
  29934. "holdertype": {
  29935. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  29936. "type": "integer"
  29937. },
  29938. "logincode": {
  29939. "description": "登录代码(账户)",
  29940. "type": "string"
  29941. },
  29942. "marketid": {
  29943. "description": "市场id",
  29944. "type": "integer"
  29945. },
  29946. "qtydecimalplace": {
  29947. "description": "成交量小数位",
  29948. "type": "integer"
  29949. },
  29950. "trademode": {
  29951. "description": "交易模式",
  29952. "type": "integer"
  29953. },
  29954. "userid": {
  29955. "description": "用户id",
  29956. "type": "integer"
  29957. },
  29958. "userinfotype": {
  29959. "description": "账户类型 1-个人 2-企业",
  29960. "type": "integer"
  29961. }
  29962. }
  29963. },
  29964. "models.QhjMgrSubArea": {
  29965. "type": "object",
  29966. "properties": {
  29967. "accountname": {
  29968. "description": "账户名称(机构名称)",
  29969. "type": "string"
  29970. },
  29971. "memberuserid": {
  29972. "description": "所属会员ID",
  29973. "type": "integer"
  29974. },
  29975. "parenttopuser": {
  29976. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29977. "type": "string"
  29978. },
  29979. "parentuserid": {
  29980. "description": "所属机构ID",
  29981. "type": "integer"
  29982. },
  29983. "rootuserid": {
  29984. "description": "根用户ID",
  29985. "type": "string"
  29986. },
  29987. "subaccountlevel": {
  29988. "description": "子账户层数",
  29989. "type": "integer"
  29990. },
  29991. "subarealevelpath": {
  29992. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29993. "type": "string"
  29994. },
  29995. "userid": {
  29996. "description": "用户ID",
  29997. "type": "integer"
  29998. },
  29999. "usertype": {
  30000. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30001. "type": "integer"
  30002. }
  30003. }
  30004. },
  30005. "models.QhjMgrTradeDetailRsp": {
  30006. "type": "object",
  30007. "properties": {
  30008. "accountid": {
  30009. "description": "资金账号",
  30010. "type": "integer"
  30011. },
  30012. "accountname": {
  30013. "description": "用户名称",
  30014. "type": "string"
  30015. },
  30016. "agreeunit": {
  30017. "description": "合约乘数",
  30018. "type": "number"
  30019. },
  30020. "buyorsell": {
  30021. "description": "成交类型(方向) 0:买 1:卖",
  30022. "type": "integer"
  30023. },
  30024. "decimalplace": {
  30025. "description": "报价小数位",
  30026. "type": "integer"
  30027. },
  30028. "enumdicname": {
  30029. "description": "单位名称(商品)",
  30030. "type": "string"
  30031. },
  30032. "goodscode": {
  30033. "description": "商品代码(内部)",
  30034. "type": "string"
  30035. },
  30036. "goodsid": {
  30037. "description": "商品id",
  30038. "type": "integer"
  30039. },
  30040. "goodsname": {
  30041. "description": "商品名称",
  30042. "type": "string"
  30043. },
  30044. "goodunitid": {
  30045. "description": "报价单位ID",
  30046. "type": "integer"
  30047. },
  30048. "logincode": {
  30049. "description": "登录代码(账户)",
  30050. "type": "string"
  30051. },
  30052. "marketid": {
  30053. "description": "市场id",
  30054. "type": "integer"
  30055. },
  30056. "orderid": {
  30057. "description": "关联委托单号",
  30058. "type": "string"
  30059. },
  30060. "qtydecimalplace": {
  30061. "description": "成交量小数位",
  30062. "type": "integer"
  30063. },
  30064. "tradeamount": {
  30065. "description": "金额",
  30066. "type": "number"
  30067. },
  30068. "tradedate": {
  30069. "description": "交易日",
  30070. "type": "string"
  30071. },
  30072. "tradeid": {
  30073. "description": "成交单号",
  30074. "type": "string"
  30075. },
  30076. "trademode": {
  30077. "description": "交易模式",
  30078. "type": "integer"
  30079. },
  30080. "tradeprice": {
  30081. "description": "价格",
  30082. "type": "number"
  30083. },
  30084. "tradeqty": {
  30085. "description": "数量",
  30086. "type": "number"
  30087. },
  30088. "tradetime": {
  30089. "description": "成交时间",
  30090. "type": "string"
  30091. },
  30092. "userid": {
  30093. "description": "用户id",
  30094. "type": "integer"
  30095. },
  30096. "userinfotype": {
  30097. "description": "账户类型 1-个人 2-企业",
  30098. "type": "integer"
  30099. }
  30100. }
  30101. },
  30102. "models.QhjMgrTradeOrderDetailRsp": {
  30103. "type": "object",
  30104. "properties": {
  30105. "accountid": {
  30106. "description": "资金账号",
  30107. "type": "integer"
  30108. },
  30109. "accountname": {
  30110. "description": "用户名称",
  30111. "type": "string"
  30112. },
  30113. "agreeunit": {
  30114. "description": "合约乘数",
  30115. "type": "number"
  30116. },
  30117. "amount": {
  30118. "description": "金额",
  30119. "type": "number"
  30120. },
  30121. "decimalplace": {
  30122. "description": "报价小数位",
  30123. "type": "integer"
  30124. },
  30125. "enumdicname": {
  30126. "description": "单位名称(商品)",
  30127. "type": "string"
  30128. },
  30129. "goodscode": {
  30130. "description": "商品代码(内部)",
  30131. "type": "string"
  30132. },
  30133. "goodsid": {
  30134. "description": "商品id",
  30135. "type": "integer"
  30136. },
  30137. "goodsname": {
  30138. "description": "商品名称",
  30139. "type": "string"
  30140. },
  30141. "goodunitid": {
  30142. "description": "报价单位ID",
  30143. "type": "integer"
  30144. },
  30145. "logincode": {
  30146. "description": "登录代码(账户)",
  30147. "type": "string"
  30148. },
  30149. "marketid": {
  30150. "description": "市场id",
  30151. "type": "integer"
  30152. },
  30153. "orderid": {
  30154. "description": "关联委托单号",
  30155. "type": "string"
  30156. },
  30157. "orderprice": {
  30158. "description": "价格",
  30159. "type": "number"
  30160. },
  30161. "orderqty": {
  30162. "description": "数量",
  30163. "type": "number"
  30164. },
  30165. "orderstatus": {
  30166. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30167. "type": "integer"
  30168. },
  30169. "ordertime": {
  30170. "description": "委托时间",
  30171. "type": "string"
  30172. },
  30173. "qtydecimalplace": {
  30174. "description": "成交量小数位",
  30175. "type": "integer"
  30176. },
  30177. "tradedate": {
  30178. "description": "交易日",
  30179. "type": "string"
  30180. },
  30181. "trademode": {
  30182. "description": "交易模式",
  30183. "type": "integer"
  30184. },
  30185. "userid": {
  30186. "description": "用户id",
  30187. "type": "integer"
  30188. },
  30189. "userinfotype": {
  30190. "description": "账户类型 1-个人 2-企业",
  30191. "type": "integer"
  30192. }
  30193. }
  30194. },
  30195. "models.QhjMgrTradePayOrder": {
  30196. "type": "object",
  30197. "properties": {
  30198. "accountname": {
  30199. "description": "用户名称",
  30200. "type": "string"
  30201. },
  30202. "advanceratio": {
  30203. "description": "首付比率",
  30204. "type": "number"
  30205. },
  30206. "agreeunit": {
  30207. "description": "合约乘数",
  30208. "type": "number"
  30209. },
  30210. "buyaccountid": {
  30211. "description": "买方账号ID[报价币种]",
  30212. "type": "integer"
  30213. },
  30214. "buyorderid": {
  30215. "description": "买方委托单号(关联单号)",
  30216. "type": "string"
  30217. },
  30218. "createtime": {
  30219. "description": "创建时间",
  30220. "type": "string"
  30221. },
  30222. "decimalplace": {
  30223. "description": "报价小数位",
  30224. "type": "integer"
  30225. },
  30226. "enumdicname": {
  30227. "description": "单位名称(商品)",
  30228. "type": "string"
  30229. },
  30230. "goodscode": {
  30231. "description": "商品代码(内部)",
  30232. "type": "string"
  30233. },
  30234. "goodsid": {
  30235. "description": "商品ID",
  30236. "type": "integer"
  30237. },
  30238. "goodsname": {
  30239. "description": "商品名称",
  30240. "type": "string"
  30241. },
  30242. "goodunitid": {
  30243. "description": "报价单位ID",
  30244. "type": "integer"
  30245. },
  30246. "logincode": {
  30247. "description": "登录代码(账户)",
  30248. "type": "string"
  30249. },
  30250. "marketid": {
  30251. "description": "市场id",
  30252. "type": "integer"
  30253. },
  30254. "offamount": {
  30255. "description": "优惠金额",
  30256. "type": "number"
  30257. },
  30258. "operatetype": {
  30259. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30260. "type": "integer"
  30261. },
  30262. "payamount": {
  30263. "description": "支付金额(金额)",
  30264. "type": "number"
  30265. },
  30266. "payflag": {
  30267. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30268. "type": "integer"
  30269. },
  30270. "paylimitedtime": {
  30271. "description": "支付期限",
  30272. "type": "string"
  30273. },
  30274. "paytime": {
  30275. "description": "付款时间",
  30276. "type": "string"
  30277. },
  30278. "qtydecimalplace": {
  30279. "description": "成交量小数位",
  30280. "type": "integer"
  30281. },
  30282. "sellaccountid": {
  30283. "description": "卖方账号ID[报价币种]",
  30284. "type": "integer"
  30285. },
  30286. "sellorderid": {
  30287. "description": "卖方委托单号",
  30288. "type": "string"
  30289. },
  30290. "tradeamount": {
  30291. "description": "成交金额(优惠后金额)",
  30292. "type": "number"
  30293. },
  30294. "tradecharge": {
  30295. "description": "成交手续费(买方)",
  30296. "type": "number"
  30297. },
  30298. "tradedate": {
  30299. "description": "交易日(yyyyMMdd)",
  30300. "type": "string"
  30301. },
  30302. "tradeid": {
  30303. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30304. "type": "string"
  30305. },
  30306. "trademode": {
  30307. "description": "交易模式",
  30308. "type": "integer"
  30309. },
  30310. "tradeprice": {
  30311. "description": "成交价格(价格)",
  30312. "type": "number"
  30313. },
  30314. "tradeqty": {
  30315. "description": "成交数量(数量)",
  30316. "type": "number"
  30317. },
  30318. "tradetime": {
  30319. "description": "成交时间",
  30320. "type": "string"
  30321. },
  30322. "userid": {
  30323. "description": "用户id",
  30324. "type": "integer"
  30325. },
  30326. "userinfotype": {
  30327. "description": "账户类型 1-个人 2-企业",
  30328. "type": "integer"
  30329. }
  30330. }
  30331. },
  30332. "models.QhjMyTeamEx": {
  30333. "type": "object",
  30334. "properties": {
  30335. "accountname": {
  30336. "description": "用户名称",
  30337. "type": "string"
  30338. },
  30339. "accountstatus": {
  30340. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30341. "type": "integer"
  30342. },
  30343. "createtime": {
  30344. "description": "创建时间",
  30345. "type": "string"
  30346. },
  30347. "mobile": {
  30348. "description": "手机号码",
  30349. "type": "string"
  30350. },
  30351. "refereeuserid": {
  30352. "description": "推荐人id",
  30353. "type": "integer"
  30354. },
  30355. "refernum": {
  30356. "description": "推荐码",
  30357. "type": "string"
  30358. },
  30359. "subList": {
  30360. "type": "array",
  30361. "items": {
  30362. "$ref": "#/definitions/models.QhjMyTeamEx"
  30363. }
  30364. },
  30365. "userid": {
  30366. "description": "用户id",
  30367. "type": "integer"
  30368. },
  30369. "userinfotype": {
  30370. "description": "用户类型 1-个人 2-企业",
  30371. "type": "integer"
  30372. }
  30373. }
  30374. },
  30375. "models.QhjNodeAgreementConfig": {
  30376. "type": "object",
  30377. "properties": {
  30378. "agreementcontent": {
  30379. "description": "协议内容",
  30380. "type": "string"
  30381. },
  30382. "agreementid": {
  30383. "description": "协议ID",
  30384. "type": "integer"
  30385. },
  30386. "agreementname": {
  30387. "description": "协议名称",
  30388. "type": "string"
  30389. },
  30390. "agreementno": {
  30391. "description": "协议编号",
  30392. "type": "string"
  30393. },
  30394. "agreementtype": {
  30395. "description": "协议类型 - 1:注册 2:登录 3:交易",
  30396. "type": "integer"
  30397. },
  30398. "agreementversion": {
  30399. "description": "协议版本号",
  30400. "type": "integer"
  30401. },
  30402. "configid": {
  30403. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  30404. "type": "integer"
  30405. },
  30406. "createtime": {
  30407. "description": "创建时间",
  30408. "type": "string"
  30409. },
  30410. "goodsid": {
  30411. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  30412. "type": "integer"
  30413. },
  30414. "nodetype": {
  30415. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  30416. "type": "integer"
  30417. }
  30418. }
  30419. },
  30420. "models.QhjParentAreaList": {
  30421. "type": "object",
  30422. "properties": {
  30423. "accountname": {
  30424. "description": "账户名称(机构名称)",
  30425. "type": "string"
  30426. },
  30427. "userid": {
  30428. "description": "用户ID",
  30429. "type": "integer"
  30430. },
  30431. "usertype": {
  30432. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30433. "type": "integer"
  30434. }
  30435. }
  30436. },
  30437. "models.QhjPayOrder": {
  30438. "type": "object",
  30439. "properties": {
  30440. "advanceratio": {
  30441. "description": "首付比率",
  30442. "type": "number"
  30443. },
  30444. "buyaccountid": {
  30445. "description": "买方账号ID[报价币种]",
  30446. "type": "integer"
  30447. },
  30448. "buyorderid": {
  30449. "description": "买方委托单号",
  30450. "type": "string"
  30451. },
  30452. "createtime": {
  30453. "description": "创建时间",
  30454. "type": "string"
  30455. },
  30456. "decimalplace": {
  30457. "description": "商品报价小数位",
  30458. "type": "integer"
  30459. },
  30460. "enumdicname": {
  30461. "description": "单位名称",
  30462. "type": "string"
  30463. },
  30464. "goodscode": {
  30465. "description": "商品代码",
  30466. "type": "string"
  30467. },
  30468. "goodsid": {
  30469. "description": "商品ID",
  30470. "type": "integer"
  30471. },
  30472. "goodsname": {
  30473. "description": "商品名称",
  30474. "type": "string"
  30475. },
  30476. "goodunitid": {
  30477. "description": "商品单位id",
  30478. "type": "integer"
  30479. },
  30480. "marketid": {
  30481. "description": "市场ID",
  30482. "type": "integer"
  30483. },
  30484. "offamount": {
  30485. "description": "优惠金额",
  30486. "type": "number"
  30487. },
  30488. "operatetype": {
  30489. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30490. "type": "integer"
  30491. },
  30492. "payamount": {
  30493. "description": "支付金额",
  30494. "type": "number"
  30495. },
  30496. "payflag": {
  30497. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30498. "type": "integer"
  30499. },
  30500. "paylimitedtime": {
  30501. "description": "支付期限",
  30502. "type": "string"
  30503. },
  30504. "paytime": {
  30505. "description": "付款时间",
  30506. "type": "string"
  30507. },
  30508. "qtydecimalplace": {
  30509. "description": "成交量小数位",
  30510. "type": "integer"
  30511. },
  30512. "sellaccountid": {
  30513. "description": "卖方账号ID[报价币种]",
  30514. "type": "integer"
  30515. },
  30516. "sellorderid": {
  30517. "description": "卖方委托单号",
  30518. "type": "string"
  30519. },
  30520. "tradeamount": {
  30521. "description": "成交金额(优惠后金额)",
  30522. "type": "number"
  30523. },
  30524. "tradecharge": {
  30525. "description": "成交手续费(买方)",
  30526. "type": "number"
  30527. },
  30528. "tradedate": {
  30529. "description": "交易日(yyyyMMdd)",
  30530. "type": "string"
  30531. },
  30532. "tradeid": {
  30533. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30534. "type": "string"
  30535. },
  30536. "tradeprice": {
  30537. "description": "成交价格",
  30538. "type": "number"
  30539. },
  30540. "tradeqty": {
  30541. "description": "成交数量",
  30542. "type": "number"
  30543. }
  30544. }
  30545. },
  30546. "models.QhjPickArea": {
  30547. "type": "object",
  30548. "properties": {
  30549. "address": {
  30550. "description": "详细地址",
  30551. "type": "string"
  30552. },
  30553. "cityid": {
  30554. "description": "市",
  30555. "type": "integer"
  30556. },
  30557. "cityname": {
  30558. "description": "城市名称",
  30559. "type": "string"
  30560. },
  30561. "countryid": {
  30562. "description": "国家",
  30563. "type": "integer"
  30564. },
  30565. "countryname": {
  30566. "description": "国家名称",
  30567. "type": "string"
  30568. },
  30569. "districtid": {
  30570. "description": "地区",
  30571. "type": "integer"
  30572. },
  30573. "districtname": {
  30574. "description": "地区名称",
  30575. "type": "string"
  30576. },
  30577. "fromuserid": {
  30578. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  30579. "type": "integer"
  30580. },
  30581. "fromusername": {
  30582. "description": "所属机构名称",
  30583. "type": "string"
  30584. },
  30585. "provinceid": {
  30586. "description": "省",
  30587. "type": "integer"
  30588. },
  30589. "provincename": {
  30590. "description": "省名称",
  30591. "type": "string"
  30592. },
  30593. "suborgtype": {
  30594. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  30595. "type": "integer"
  30596. },
  30597. "userid": {
  30598. "description": "机构用户ID 其他做市关系,都设置为 1",
  30599. "type": "integer"
  30600. },
  30601. "username": {
  30602. "description": "机构用户名称(门店门称)",
  30603. "type": "string"
  30604. }
  30605. }
  30606. },
  30607. "models.QhjPickGoods": {
  30608. "type": "object",
  30609. "properties": {
  30610. "enumdicname": {
  30611. "description": "单位名称(提货商品)",
  30612. "type": "string"
  30613. },
  30614. "goodsid": {
  30615. "description": "商品id",
  30616. "type": "integer"
  30617. },
  30618. "imageaddress": {
  30619. "description": "图片",
  30620. "type": "string"
  30621. },
  30622. "modifierid": {
  30623. "description": "修改人",
  30624. "type": "integer"
  30625. },
  30626. "modifiername": {
  30627. "description": "修改人名称",
  30628. "type": "string"
  30629. },
  30630. "modifysrc": {
  30631. "description": "修改来源 - 1:管理端 2:终端",
  30632. "type": "integer"
  30633. },
  30634. "pickupgoodsagreeunit": {
  30635. "description": "合约乘数",
  30636. "type": "number"
  30637. },
  30638. "pickupgoodsdesc": {
  30639. "description": "描述",
  30640. "type": "string"
  30641. },
  30642. "pickupgoodsid": {
  30643. "description": "提货商品ID",
  30644. "type": "string"
  30645. },
  30646. "pickupgoodsname": {
  30647. "description": "提货商品名称",
  30648. "type": "string"
  30649. },
  30650. "pickupgoodsstatus": {
  30651. "description": "状态 - 1:正常 2:停用 3:注销",
  30652. "type": "integer"
  30653. },
  30654. "pickupgoodsunitid": {
  30655. "description": "单位ID",
  30656. "type": "integer"
  30657. },
  30658. "pickupratio": {
  30659. "description": "提货系数",
  30660. "type": "number"
  30661. },
  30662. "preparedays": {
  30663. "description": "备货期(天)",
  30664. "type": "integer"
  30665. },
  30666. "remark": {
  30667. "description": "备注",
  30668. "type": "string"
  30669. },
  30670. "updatetime": {
  30671. "description": "更新时间",
  30672. "type": "string"
  30673. }
  30674. }
  30675. },
  30676. "models.QhjRSTriggerLog": {
  30677. "type": "object",
  30678. "properties": {
  30679. "accountid": {
  30680. "description": "用户资金账户",
  30681. "type": "integer"
  30682. },
  30683. "accountname": {
  30684. "description": "账号名称(ACCOUNTID对应的名称)",
  30685. "type": "string"
  30686. },
  30687. "currencyid": {
  30688. "description": "币种id",
  30689. "type": "integer"
  30690. },
  30691. "currencyname": {
  30692. "description": "币种名称",
  30693. "type": "string"
  30694. },
  30695. "decimalplace": {
  30696. "description": "商品报价小数位",
  30697. "type": "integer"
  30698. },
  30699. "enumdicname": {
  30700. "description": "单位名称",
  30701. "type": "string"
  30702. },
  30703. "goodscode": {
  30704. "description": "定投商品代码",
  30705. "type": "string"
  30706. },
  30707. "goodsid": {
  30708. "description": "定投商品ID",
  30709. "type": "integer"
  30710. },
  30711. "goodsname": {
  30712. "description": "定投商品名称",
  30713. "type": "string"
  30714. },
  30715. "goodunitid": {
  30716. "description": "定投商品单位id",
  30717. "type": "integer"
  30718. },
  30719. "logid": {
  30720. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  30721. "type": "string"
  30722. },
  30723. "logincode": {
  30724. "description": "账号(登录代码)",
  30725. "type": "string"
  30726. },
  30727. "qtydecimalplace": {
  30728. "description": "成交量小数位",
  30729. "type": "integer"
  30730. },
  30731. "regularlycycle": {
  30732. "description": "定投频率 - 1:每周 2:每月",
  30733. "type": "integer"
  30734. },
  30735. "regularlycyclevalue": {
  30736. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30737. "type": "string"
  30738. },
  30739. "regularlymode": {
  30740. "description": "定投方式 - 1:按数量 2:按金额",
  30741. "type": "integer"
  30742. },
  30743. "regularlymodevalue": {
  30744. "description": "定投方式值 - 数量或金额",
  30745. "type": "number"
  30746. },
  30747. "regularlystrategyid": {
  30748. "description": "定投策略ID",
  30749. "type": "integer"
  30750. },
  30751. "retcode": {
  30752. "description": "错误码",
  30753. "type": "string"
  30754. },
  30755. "tradeid": {
  30756. "description": "成交单ID",
  30757. "type": "string"
  30758. },
  30759. "triggeramount": {
  30760. "description": "触发金额",
  30761. "type": "number"
  30762. },
  30763. "triggerqty": {
  30764. "description": "触发数量",
  30765. "type": "number"
  30766. },
  30767. "triggerstatus": {
  30768. "description": "触发状态 - 1:成功 2:失败",
  30769. "type": "integer"
  30770. },
  30771. "triggertime": {
  30772. "description": "触发时间",
  30773. "type": "string"
  30774. },
  30775. "triggertradedate": {
  30776. "description": "触发交易日",
  30777. "type": "string"
  30778. },
  30779. "userid": {
  30780. "description": "所属用户ID",
  30781. "type": "integer"
  30782. },
  30783. "userinfotype": {
  30784. "description": "用户类型 1-个人 2-企业",
  30785. "type": "integer"
  30786. },
  30787. "username": {
  30788. "description": "用户名称(userid对应的名称)",
  30789. "type": "string"
  30790. }
  30791. }
  30792. },
  30793. "models.QhjRStrategy": {
  30794. "type": "object",
  30795. "properties": {
  30796. "accountid": {
  30797. "description": "用户资金账户",
  30798. "type": "integer"
  30799. },
  30800. "accountname": {
  30801. "description": "账号名称(ACCOUNTID对应的名称)",
  30802. "type": "string"
  30803. },
  30804. "currencyid": {
  30805. "description": "币种id",
  30806. "type": "integer"
  30807. },
  30808. "currencyname": {
  30809. "description": "币种名称",
  30810. "type": "string"
  30811. },
  30812. "decimalplace": {
  30813. "description": "商品报价小数位",
  30814. "type": "integer"
  30815. },
  30816. "enumdicname": {
  30817. "description": "单位名称",
  30818. "type": "string"
  30819. },
  30820. "goodscode": {
  30821. "description": "定投商品代码",
  30822. "type": "string"
  30823. },
  30824. "goodsid": {
  30825. "description": "定投商品ID",
  30826. "type": "integer"
  30827. },
  30828. "goodsname": {
  30829. "description": "定投商品名称",
  30830. "type": "string"
  30831. },
  30832. "goodunitid": {
  30833. "description": "定投商品单位id",
  30834. "type": "integer"
  30835. },
  30836. "lasteffecttradedate": {
  30837. "description": "最新生效交易日",
  30838. "type": "string"
  30839. },
  30840. "laststoptradedate": {
  30841. "description": "最新暂停交易日",
  30842. "type": "string"
  30843. },
  30844. "lasttriggertradedate": {
  30845. "description": "最新触发交易日",
  30846. "type": "string"
  30847. },
  30848. "logincode": {
  30849. "description": "账号(登录代码)",
  30850. "type": "string"
  30851. },
  30852. "nexttriggeramount": {
  30853. "description": "下次触发金额",
  30854. "type": "number"
  30855. },
  30856. "nexttriggerdate": {
  30857. "description": "下次触发日期",
  30858. "type": "string"
  30859. },
  30860. "nexttriggerqty": {
  30861. "description": "下次触发数量 [按小数位放大值]",
  30862. "type": "number"
  30863. },
  30864. "qtydecimalplace": {
  30865. "description": "成交量小数位",
  30866. "type": "integer"
  30867. },
  30868. "regularlycycle": {
  30869. "description": "定投频率 - 1:每周 2:每月",
  30870. "type": "integer"
  30871. },
  30872. "regularlycyclevalue": {
  30873. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30874. "type": "string"
  30875. },
  30876. "regularlymode": {
  30877. "description": "定投方式 - 1:按数量 2:按金额",
  30878. "type": "integer"
  30879. },
  30880. "regularlymodevalue": {
  30881. "description": "定投方式值 - 数量或金额",
  30882. "type": "number"
  30883. },
  30884. "regularlystrategyid": {
  30885. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  30886. "type": "integer"
  30887. },
  30888. "regularlystrategystatus": {
  30889. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  30890. "type": "integer"
  30891. },
  30892. "remark": {
  30893. "description": "备注",
  30894. "type": "string"
  30895. },
  30896. "triggersuccesstimes": {
  30897. "description": "累计定投成功次数",
  30898. "type": "string"
  30899. },
  30900. "triggertotalamount": {
  30901. "description": "累计定投金额(成功)",
  30902. "type": "number"
  30903. },
  30904. "triggertotalqty": {
  30905. "description": "累计定投数量(成功) [按小数位放大值]",
  30906. "type": "number"
  30907. },
  30908. "triggertotaltimes": {
  30909. "description": "累计定投总次数",
  30910. "type": "string"
  30911. },
  30912. "updatesrc": {
  30913. "description": "更新来源 - 1:管理端 2:终端",
  30914. "type": "integer"
  30915. },
  30916. "updatetime": {
  30917. "description": "更新时间",
  30918. "type": "string"
  30919. },
  30920. "updatorid": {
  30921. "description": "更新人",
  30922. "type": "string"
  30923. },
  30924. "userid": {
  30925. "description": "所属用户ID",
  30926. "type": "integer"
  30927. },
  30928. "userinfotype": {
  30929. "description": "用户类型 1-个人 2-企业",
  30930. "type": "integer"
  30931. },
  30932. "username": {
  30933. "description": "用户名称(userid对应的名称)",
  30934. "type": "string"
  30935. }
  30936. }
  30937. },
  30938. "models.QhjReckonPriceLog": {
  30939. "type": "object",
  30940. "properties": {
  30941. "decimalplace": {
  30942. "description": "商品报价小数位",
  30943. "type": "integer"
  30944. },
  30945. "goodscode": {
  30946. "description": "商品代码",
  30947. "type": "string"
  30948. },
  30949. "goodsid": {
  30950. "description": "商品ID",
  30951. "type": "integer"
  30952. },
  30953. "goodsname": {
  30954. "description": "商品名称",
  30955. "type": "string"
  30956. },
  30957. "lastreckonprice": {
  30958. "description": "上日结算价",
  30959. "type": "number"
  30960. },
  30961. "nextdnlimitprice": {
  30962. "description": "下个交易日跌停价",
  30963. "type": "number"
  30964. },
  30965. "nexttrade": {
  30966. "description": "下个交易日",
  30967. "type": "string"
  30968. },
  30969. "nextuplimitprice": {
  30970. "description": "下个交易日涨停价",
  30971. "type": "number"
  30972. },
  30973. "reckonprice": {
  30974. "description": "今日结算价(定投价)",
  30975. "type": "number"
  30976. },
  30977. "reckontime": {
  30978. "description": "结算时间",
  30979. "type": "string"
  30980. },
  30981. "totalholderqty": {
  30982. "description": "总持仓数",
  30983. "type": "integer"
  30984. },
  30985. "totalstock": {
  30986. "description": "总库存",
  30987. "type": "integer"
  30988. },
  30989. "tradedate": {
  30990. "description": "交易日",
  30991. "type": "string"
  30992. },
  30993. "updowncount": {
  30994. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  30995. "type": "integer"
  30996. },
  30997. "updownflag": {
  30998. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  30999. "type": "integer"
  31000. },
  31001. "updownrate": {
  31002. "description": "今日涨跌幅",
  31003. "type": "number"
  31004. },
  31005. "updownrate_2d": {
  31006. "description": "连续两日涨跌幅",
  31007. "type": "number"
  31008. },
  31009. "updownrate_3d": {
  31010. "description": "连续三日涨跌幅",
  31011. "type": "number"
  31012. }
  31013. }
  31014. },
  31015. "models.QhjScoreLog": {
  31016. "type": "object",
  31017. "properties": {
  31018. "accountid": {
  31019. "description": "账户ID",
  31020. "type": "integer"
  31021. },
  31022. "createtime": {
  31023. "description": "创建时间(时间)",
  31024. "type": "string"
  31025. },
  31026. "goodsid": {
  31027. "description": "商品ID",
  31028. "type": "integer"
  31029. },
  31030. "hasuploaded": {
  31031. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  31032. "type": "integer"
  31033. },
  31034. "logid": {
  31035. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31036. "type": "string"
  31037. },
  31038. "marketid": {
  31039. "description": "市场ID",
  31040. "type": "integer"
  31041. },
  31042. "relatedamount": {
  31043. "description": "关联金额",
  31044. "type": "number"
  31045. },
  31046. "relatedorderid": {
  31047. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  31048. "type": "string"
  31049. },
  31050. "scoreconfigvalue1": {
  31051. "description": "积分配置1",
  31052. "type": "integer"
  31053. },
  31054. "scoreconfigvalue2": {
  31055. "description": "积分配置1",
  31056. "type": "integer"
  31057. },
  31058. "scoretype": {
  31059. "description": "积分类型 - 1:提货积分",
  31060. "type": "integer"
  31061. },
  31062. "scorevalue": {
  31063. "description": "积分",
  31064. "type": "number"
  31065. },
  31066. "tradedate": {
  31067. "description": "交易日(yyyyMMdd)",
  31068. "type": "string"
  31069. },
  31070. "uploadedtime": {
  31071. "description": "同步时间",
  31072. "type": "string"
  31073. },
  31074. "userid": {
  31075. "description": "用户ID",
  31076. "type": "integer"
  31077. }
  31078. }
  31079. },
  31080. "models.QhjSiteColumnDetail": {
  31081. "type": "object",
  31082. "properties": {
  31083. "author": {
  31084. "description": "作者",
  31085. "type": "string"
  31086. },
  31087. "brief": {
  31088. "description": "简介",
  31089. "type": "string"
  31090. },
  31091. "columnid": {
  31092. "description": "所属栏目",
  31093. "type": "integer"
  31094. },
  31095. "context": {
  31096. "description": "内容",
  31097. "type": "string"
  31098. },
  31099. "coverimage": {
  31100. "description": "封面图片",
  31101. "type": "string"
  31102. },
  31103. "creaedate": {
  31104. "description": "创建时间",
  31105. "type": "string"
  31106. },
  31107. "creatorid": {
  31108. "description": "创建人",
  31109. "type": "integer"
  31110. },
  31111. "hits": {
  31112. "description": "点击数",
  31113. "type": "integer"
  31114. },
  31115. "id": {
  31116. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  31117. "type": "integer"
  31118. },
  31119. "isshow": {
  31120. "description": "是否展示 - 0:不展示 1:展示",
  31121. "type": "integer"
  31122. },
  31123. "istop": {
  31124. "description": "是否置顶 - 0:不置 1:置顶",
  31125. "type": "integer"
  31126. },
  31127. "modifierid": {
  31128. "description": "操作人",
  31129. "type": "integer"
  31130. },
  31131. "publishdate": {
  31132. "description": "发布日期",
  31133. "type": "string"
  31134. },
  31135. "status": {
  31136. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  31137. "type": "integer"
  31138. },
  31139. "title": {
  31140. "description": "标题",
  31141. "type": "string"
  31142. },
  31143. "updatedate": {
  31144. "description": "修改时间",
  31145. "type": "string"
  31146. },
  31147. "userid": {
  31148. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  31149. "type": "integer"
  31150. },
  31151. "username": {
  31152. "description": "用户名称",
  31153. "type": "string"
  31154. }
  31155. }
  31156. },
  31157. "models.QhjTeamOrder": {
  31158. "type": "object",
  31159. "properties": {
  31160. "accountid": {
  31161. "description": "账户ID[报价币种]",
  31162. "type": "integer"
  31163. },
  31164. "accountname": {
  31165. "description": "账户名称",
  31166. "type": "string"
  31167. },
  31168. "agreeunit": {
  31169. "description": "合约乘数",
  31170. "type": "number"
  31171. },
  31172. "buyorsell": {
  31173. "description": "方向 - 0:买 1:卖",
  31174. "type": "integer"
  31175. },
  31176. "decimalplace": {
  31177. "description": "报价小数位",
  31178. "type": "integer"
  31179. },
  31180. "enumdicname": {
  31181. "description": "单位名称",
  31182. "type": "string"
  31183. },
  31184. "goodscode": {
  31185. "description": "商品代码(内部)",
  31186. "type": "string"
  31187. },
  31188. "goodsid": {
  31189. "description": "商品ID",
  31190. "type": "integer"
  31191. },
  31192. "goodsname": {
  31193. "description": "商品名称",
  31194. "type": "string"
  31195. },
  31196. "goodunitid": {
  31197. "description": "报价单位ID",
  31198. "type": "integer"
  31199. },
  31200. "marketid": {
  31201. "description": "市场ID",
  31202. "type": "integer"
  31203. },
  31204. "marketname": {
  31205. "description": "市场名称",
  31206. "type": "string"
  31207. },
  31208. "qtydecimalplace": {
  31209. "description": "成交量小数位",
  31210. "type": "integer"
  31211. },
  31212. "refereeuserid": {
  31213. "description": "推荐人ID",
  31214. "type": "integer"
  31215. },
  31216. "tradeamount": {
  31217. "description": "成交金额[账户币种,用于所有权]",
  31218. "type": "number"
  31219. },
  31220. "tradedate": {
  31221. "description": "交易日(yyyyMMdd)",
  31222. "type": "string"
  31223. },
  31224. "trademode": {
  31225. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31226. "type": "integer"
  31227. },
  31228. "tradeprice": {
  31229. "description": "成交价格",
  31230. "type": "number"
  31231. },
  31232. "tradeqty": {
  31233. "description": "成交数量",
  31234. "type": "number"
  31235. },
  31236. "tradetime": {
  31237. "description": "成交时间",
  31238. "type": "string"
  31239. },
  31240. "userid": {
  31241. "description": "用户ID",
  31242. "type": "integer"
  31243. }
  31244. }
  31245. },
  31246. "models.QhjTradeGoodsPickup": {
  31247. "type": "object",
  31248. "properties": {
  31249. "accountid": {
  31250. "description": "账户ID",
  31251. "type": "integer"
  31252. },
  31253. "address": {
  31254. "description": "提货人详细地址",
  31255. "type": "string"
  31256. },
  31257. "amount": {
  31258. "description": "提货金额",
  31259. "type": "number"
  31260. },
  31261. "artradedate": {
  31262. "description": "自动收货交易日(yyyyMMdd)",
  31263. "type": "string"
  31264. },
  31265. "auditer": {
  31266. "description": "审核人",
  31267. "type": "integer"
  31268. },
  31269. "auditsrc": {
  31270. "description": "更新来源 - 1:管理端 2:终端",
  31271. "type": "integer"
  31272. },
  31273. "audittime": {
  31274. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  31275. "type": "string"
  31276. },
  31277. "audittradedate": {
  31278. "description": "审核交易日(yyyyMMdd)",
  31279. "type": "string"
  31280. },
  31281. "cardnum": {
  31282. "description": "提货人证件号码",
  31283. "type": "string"
  31284. },
  31285. "cardtypeid": {
  31286. "description": "提货人证件类型",
  31287. "type": "integer"
  31288. },
  31289. "checkremark": {
  31290. "description": "审核备注",
  31291. "type": "string"
  31292. },
  31293. "cityid": {
  31294. "description": "市",
  31295. "type": "integer"
  31296. },
  31297. "cityname": {
  31298. "description": "城市名称",
  31299. "type": "string"
  31300. },
  31301. "confirmtime": {
  31302. "description": "取货时间 或 收货时间",
  31303. "type": "string"
  31304. },
  31305. "countryid": {
  31306. "description": "国家",
  31307. "type": "integer"
  31308. },
  31309. "countryname": {
  31310. "description": "国家名称",
  31311. "type": "string"
  31312. },
  31313. "decimalplace": {
  31314. "description": "商品报价小数位",
  31315. "type": "integer"
  31316. },
  31317. "districtid": {
  31318. "description": "地区",
  31319. "type": "integer"
  31320. },
  31321. "districtname": {
  31322. "description": "地区名称",
  31323. "type": "string"
  31324. },
  31325. "enumdicname": {
  31326. "description": "单位名称(提货商品)",
  31327. "type": "string"
  31328. },
  31329. "expresscompany": {
  31330. "description": "物流公司",
  31331. "type": "string"
  31332. },
  31333. "expressnum": {
  31334. "description": "物流单号",
  31335. "type": "string"
  31336. },
  31337. "goodsagreeunit": {
  31338. "description": "交易商品乘数",
  31339. "type": "number"
  31340. },
  31341. "goodscode": {
  31342. "description": "商品代码",
  31343. "type": "string"
  31344. },
  31345. "goodsid": {
  31346. "description": "商品ID",
  31347. "type": "integer"
  31348. },
  31349. "goodsname": {
  31350. "description": "商品名称",
  31351. "type": "string"
  31352. },
  31353. "goodsqty": {
  31354. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  31355. "type": "number"
  31356. },
  31357. "handlestatus": {
  31358. "description": "处理状态",
  31359. "type": "integer"
  31360. },
  31361. "logincode": {
  31362. "description": "账号(登录代码, 有可能为空)",
  31363. "type": "string"
  31364. },
  31365. "marketid": {
  31366. "description": "市场ID",
  31367. "type": "integer"
  31368. },
  31369. "phonenum": {
  31370. "description": "提货人联系方式",
  31371. "type": "string"
  31372. },
  31373. "pickupgoodsagreeunit": {
  31374. "description": "提货商品合约乘数",
  31375. "type": "number"
  31376. },
  31377. "pickupgoodsid": {
  31378. "description": "提货商品ID",
  31379. "type": "string"
  31380. },
  31381. "pickupgoodsname": {
  31382. "description": "提货商品名称",
  31383. "type": "string"
  31384. },
  31385. "pickupgoodsqty": {
  31386. "description": "提货商品手数(数量)",
  31387. "type": "number"
  31388. },
  31389. "pickupgoodsunitid": {
  31390. "description": "单位ID(提货商品)",
  31391. "type": "integer"
  31392. },
  31393. "pickupratio": {
  31394. "description": "提货系数",
  31395. "type": "number"
  31396. },
  31397. "preparedays": {
  31398. "description": "备货期(天)-提货单明细表",
  31399. "type": "integer"
  31400. },
  31401. "provinceid": {
  31402. "description": "省",
  31403. "type": "integer"
  31404. },
  31405. "provincename": {
  31406. "description": "省名称",
  31407. "type": "string"
  31408. },
  31409. "qty": {
  31410. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  31411. "type": "number"
  31412. },
  31413. "qtydecimalplace": {
  31414. "description": "商品数量小数位",
  31415. "type": "integer"
  31416. },
  31417. "recivername": {
  31418. "description": "提货人姓名",
  31419. "type": "string"
  31420. },
  31421. "reqtime": {
  31422. "description": "提货申请时间",
  31423. "type": "string"
  31424. },
  31425. "storeuserid": {
  31426. "description": "门店用户ID (千海金)",
  31427. "type": "integer"
  31428. },
  31429. "storeusername": {
  31430. "description": "门店用户名称",
  31431. "type": "string"
  31432. },
  31433. "takemode": {
  31434. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  31435. "type": "integer"
  31436. },
  31437. "takeorderid": {
  31438. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  31439. "type": "string"
  31440. },
  31441. "takeorderstatus": {
  31442. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  31443. "type": "integer"
  31444. },
  31445. "takeremark": {
  31446. "description": "提货备注",
  31447. "type": "string"
  31448. },
  31449. "tradedate": {
  31450. "description": "交易日(yyyyMMdd)",
  31451. "type": "string"
  31452. },
  31453. "updatetime": {
  31454. "description": "更新时间",
  31455. "type": "string"
  31456. },
  31457. "userid": {
  31458. "description": "用户ID",
  31459. "type": "integer"
  31460. },
  31461. "userinfotype": {
  31462. "description": "客户类型 1-个人 2-企业",
  31463. "type": "integer"
  31464. },
  31465. "username": {
  31466. "description": "用户名称",
  31467. "type": "string"
  31468. }
  31469. }
  31470. },
  31471. "models.QhjUserNodeCfgAndStatus": {
  31472. "type": "object",
  31473. "properties": {
  31474. "agreementcontent": {
  31475. "description": "协议内容",
  31476. "type": "string"
  31477. },
  31478. "agreementid": {
  31479. "description": "协议ID",
  31480. "type": "integer"
  31481. },
  31482. "agreementname": {
  31483. "description": "协议名称",
  31484. "type": "string"
  31485. },
  31486. "agreementno": {
  31487. "description": "协议编号",
  31488. "type": "string"
  31489. },
  31490. "agreementtype": {
  31491. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31492. "type": "integer"
  31493. },
  31494. "agreementversion": {
  31495. "description": "协议版本号",
  31496. "type": "integer"
  31497. },
  31498. "configid": {
  31499. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  31500. "type": "integer"
  31501. },
  31502. "createtime": {
  31503. "description": "创建时间",
  31504. "type": "string"
  31505. },
  31506. "goodsid": {
  31507. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31508. "type": "integer"
  31509. },
  31510. "nodetype": {
  31511. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  31512. "type": "integer"
  31513. },
  31514. "signtimestamp": {
  31515. "description": "签约状态时间戳(最近一次)",
  31516. "type": "string"
  31517. },
  31518. "tradedate": {
  31519. "description": "签约交易日(yyyyMMdd)",
  31520. "type": "string"
  31521. },
  31522. "userid": {
  31523. "description": "客户ID",
  31524. "type": "integer"
  31525. }
  31526. }
  31527. },
  31528. "models.Qhjgoodsex": {
  31529. "type": "object",
  31530. "properties": {
  31531. "canfinance": {
  31532. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  31533. "type": "integer"
  31534. },
  31535. "canregularlybuy": {
  31536. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  31537. "type": "integer"
  31538. },
  31539. "defaulttradeuserid": {
  31540. "description": "默认交易用户ID",
  31541. "type": "integer"
  31542. },
  31543. "deliverygoodsid": {
  31544. "description": "现货品种ID",
  31545. "type": "integer"
  31546. },
  31547. "goodsid": {
  31548. "description": "商品ID(自增ID SEQ_GOODS)",
  31549. "type": "integer"
  31550. },
  31551. "minamount": {
  31552. "description": "最小购买金额",
  31553. "type": "number"
  31554. },
  31555. "regularlybuyminamount": {
  31556. "description": "定投最小金额",
  31557. "type": "number"
  31558. },
  31559. "regularlybuyminqty": {
  31560. "description": "定投最小数量",
  31561. "type": "number"
  31562. },
  31563. "spotgoodsbrandid": {
  31564. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  31565. "type": "integer"
  31566. },
  31567. "visibilityforenterprise": {
  31568. "description": "企业客户是否可见 - 0:不可见 1:可见",
  31569. "type": "integer"
  31570. },
  31571. "visibilityforpersonal": {
  31572. "description": "个人客户是否可见 - 0:不可见 1:可见",
  31573. "type": "integer"
  31574. },
  31575. "wrstandardid": {
  31576. "description": "现货商品ID",
  31577. "type": "integer"
  31578. }
  31579. }
  31580. },
  31581. "models.QueryErrorInfosRsp": {
  31582. "type": "object",
  31583. "required": [
  31584. "errorid"
  31585. ],
  31586. "properties": {
  31587. "description": {
  31588. "description": "异常描述",
  31589. "type": "string"
  31590. },
  31591. "errorcode": {
  31592. "description": "异常代码",
  31593. "type": "string"
  31594. },
  31595. "errorid": {
  31596. "description": "异常ID",
  31597. "type": "integer"
  31598. },
  31599. "modulecode": {
  31600. "description": "所属模块",
  31601. "type": "string"
  31602. },
  31603. "operatecode": {
  31604. "description": "所属操作",
  31605. "type": "string"
  31606. },
  31607. "rownumber": {
  31608. "description": "行号",
  31609. "type": "string"
  31610. }
  31611. }
  31612. },
  31613. "models.QueryHedgeOrderDetailRsp": {
  31614. "type": "object",
  31615. "properties": {
  31616. "accountid": {
  31617. "description": "账户ID",
  31618. "type": "integer"
  31619. },
  31620. "buyorsell": {
  31621. "description": "买卖 - 0:买 1:卖",
  31622. "type": "integer"
  31623. },
  31624. "cancellogincode": {
  31625. "description": "撤单人",
  31626. "type": "string"
  31627. },
  31628. "channelbuildtype": {
  31629. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  31630. "type": "integer"
  31631. },
  31632. "channelinnerorderstatus": {
  31633. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  31634. "type": "integer"
  31635. },
  31636. "channeloperatetype": {
  31637. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  31638. "type": "integer"
  31639. },
  31640. "closetype": {
  31641. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31642. "type": "integer"
  31643. },
  31644. "curexchangerate": {
  31645. "description": "当前汇率",
  31646. "type": "number"
  31647. },
  31648. "decimalplace": {
  31649. "description": "商品报价小数位",
  31650. "type": "integer"
  31651. },
  31652. "exchangefullname": {
  31653. "description": "外部交易所全称",
  31654. "type": "string"
  31655. },
  31656. "goodscode": {
  31657. "description": "商品代码(内部)",
  31658. "type": "string"
  31659. },
  31660. "goodsid": {
  31661. "description": "商品ID",
  31662. "type": "integer"
  31663. },
  31664. "goodsname": {
  31665. "description": "商品名称",
  31666. "type": "string"
  31667. },
  31668. "marketid": {
  31669. "description": "市场ID",
  31670. "type": "integer"
  31671. },
  31672. "openfreezemargin": {
  31673. "description": "冻结保证金(冻结交易金额)",
  31674. "type": "number"
  31675. },
  31676. "orderid": {
  31677. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31678. "type": "string"
  31679. },
  31680. "orderlogincode": {
  31681. "description": "委托人",
  31682. "type": "string"
  31683. },
  31684. "orderprice": {
  31685. "description": "委托价格(账户)",
  31686. "type": "number"
  31687. },
  31688. "orderqty": {
  31689. "description": "委托数量",
  31690. "type": "integer"
  31691. },
  31692. "ordertime": {
  31693. "description": "委托时间",
  31694. "type": "string"
  31695. },
  31696. "pricemode": {
  31697. "description": "取价方式 - 1:市价 2: 限价",
  31698. "type": "integer"
  31699. },
  31700. "tradedate": {
  31701. "description": "交易日(yyyyMMdd)",
  31702. "type": "string"
  31703. },
  31704. "tradeqty": {
  31705. "description": "成交数量",
  31706. "type": "integer"
  31707. }
  31708. }
  31709. },
  31710. "models.QueryHedgeTradeDetailRsp": {
  31711. "type": "object",
  31712. "properties": {
  31713. "accountid": {
  31714. "description": "账号ID",
  31715. "type": "integer"
  31716. },
  31717. "buyorsell": {
  31718. "description": "方向 - 0:买 1:卖",
  31719. "type": "integer"
  31720. },
  31721. "channelbuildtype": {
  31722. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31723. "type": "integer"
  31724. },
  31725. "closecharge": {
  31726. "description": "平仓手续费(账户)",
  31727. "type": "number"
  31728. },
  31729. "closecharge2": {
  31730. "description": "平仓手续费(商品)",
  31731. "type": "number"
  31732. },
  31733. "closepl": {
  31734. "description": "平仓盈亏(账户)",
  31735. "type": "number"
  31736. },
  31737. "closepl2": {
  31738. "description": "平仓盈亏(商品)",
  31739. "type": "number"
  31740. },
  31741. "closepl3": {
  31742. "description": "平仓盈亏(账户)(逐笔)",
  31743. "type": "number"
  31744. },
  31745. "closepl4": {
  31746. "description": "平仓盈亏(商品)(逐笔)",
  31747. "type": "number"
  31748. },
  31749. "closetype": {
  31750. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31751. "type": "integer"
  31752. },
  31753. "curexchangerate": {
  31754. "description": "当前汇率",
  31755. "type": "number"
  31756. },
  31757. "decimalplace": {
  31758. "description": "商品报价小数位",
  31759. "type": "integer"
  31760. },
  31761. "exchangefullname": {
  31762. "description": "外部交易所全称",
  31763. "type": "string"
  31764. },
  31765. "goodscode": {
  31766. "description": "商品代码(内部)",
  31767. "type": "string"
  31768. },
  31769. "goodsid": {
  31770. "description": "商品ID",
  31771. "type": "integer"
  31772. },
  31773. "goodsname": {
  31774. "description": "商品名称",
  31775. "type": "string"
  31776. },
  31777. "marketid": {
  31778. "description": "市场ID",
  31779. "type": "integer"
  31780. },
  31781. "opencharge": {
  31782. "description": "建仓手续费(账户)",
  31783. "type": "number"
  31784. },
  31785. "opencharge2": {
  31786. "description": "建仓手续费(商品)",
  31787. "type": "number"
  31788. },
  31789. "orderid": {
  31790. "description": "委托单号",
  31791. "type": "string"
  31792. },
  31793. "orderlogincode": {
  31794. "description": "委托人",
  31795. "type": "string"
  31796. },
  31797. "tradeamount": {
  31798. "description": "成交金额(账户)",
  31799. "type": "number"
  31800. },
  31801. "tradedate": {
  31802. "description": "交易日(yyyyMMdd)",
  31803. "type": "string"
  31804. },
  31805. "tradeid": {
  31806. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31807. "type": "string"
  31808. },
  31809. "tradeprice": {
  31810. "description": "成交价格",
  31811. "type": "number"
  31812. },
  31813. "tradeqty": {
  31814. "description": "成交数量",
  31815. "type": "integer"
  31816. },
  31817. "tradetime": {
  31818. "description": "成交时间",
  31819. "type": "string"
  31820. },
  31821. "tradetype": {
  31822. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  31823. "type": "integer"
  31824. }
  31825. }
  31826. },
  31827. "models.QuotePrimaryMenu": {
  31828. "type": "object",
  31829. "properties": {
  31830. "Index": {
  31831. "description": "序号",
  31832. "type": "integer"
  31833. },
  31834. "Key": {
  31835. "description": "键名",
  31836. "type": "string"
  31837. },
  31838. "Name": {
  31839. "description": "菜单名称",
  31840. "type": "string"
  31841. },
  31842. "SubMenus": {
  31843. "description": "子菜单",
  31844. "type": "array",
  31845. "items": {
  31846. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  31847. }
  31848. },
  31849. "SubTitleType": {
  31850. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  31851. "type": "integer"
  31852. },
  31853. "TradeModes": {
  31854. "description": "包含市场交易类型",
  31855. "type": "string"
  31856. }
  31857. }
  31858. },
  31859. "models.QuoteSecondaryMenu": {
  31860. "type": "object",
  31861. "properties": {
  31862. "ExExchangeCode": {
  31863. "description": "外部交易所代码",
  31864. "type": "string"
  31865. },
  31866. "ExExchangeID": {
  31867. "description": "外部交易所ID",
  31868. "type": "integer"
  31869. },
  31870. "GoodsGroupIDs": {
  31871. "description": "商品组ID列表",
  31872. "type": "array",
  31873. "items": {
  31874. "type": "integer"
  31875. }
  31876. },
  31877. "Index": {
  31878. "description": "序号",
  31879. "type": "integer"
  31880. },
  31881. "MarketID": {
  31882. "description": "市场ID",
  31883. "type": "integer"
  31884. },
  31885. "MenuTitle": {
  31886. "description": "菜单标题(市场名称或外部交易所名称)",
  31887. "type": "string"
  31888. },
  31889. "TradeMode": {
  31890. "description": "交易模式",
  31891. "type": "integer"
  31892. }
  31893. }
  31894. },
  31895. "models.RoleMenu": {
  31896. "type": "object",
  31897. "properties": {
  31898. "hasright": {
  31899. "description": "是否有权限 0-没有权限 1-有权限",
  31900. "type": "integer"
  31901. },
  31902. "iconame": {
  31903. "description": "菜单图标",
  31904. "type": "string"
  31905. },
  31906. "menutype": {
  31907. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  31908. "type": "integer"
  31909. },
  31910. "parentcode": {
  31911. "description": "上级资源代码",
  31912. "type": "string"
  31913. },
  31914. "remark": {
  31915. "description": "菜单备注",
  31916. "type": "string"
  31917. },
  31918. "resourcecode": {
  31919. "description": "菜单代码",
  31920. "type": "string"
  31921. },
  31922. "resourcelevel": {
  31923. "description": "级别",
  31924. "type": "integer"
  31925. },
  31926. "resourcename": {
  31927. "description": "菜单名称",
  31928. "type": "string"
  31929. },
  31930. "roleid": {
  31931. "description": "角色id",
  31932. "type": "integer"
  31933. },
  31934. "sort": {
  31935. "description": "排序",
  31936. "type": "integer"
  31937. },
  31938. "subMenu": {
  31939. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  31940. "type": "array",
  31941. "items": {
  31942. "$ref": "#/definitions/models.RoleMenu"
  31943. }
  31944. },
  31945. "url": {
  31946. "description": "URL",
  31947. "type": "string"
  31948. },
  31949. "userid": {
  31950. "description": "用户id",
  31951. "type": "integer"
  31952. }
  31953. }
  31954. },
  31955. "models.SearchGoods": {
  31956. "type": "object",
  31957. "required": [
  31958. "goodscode",
  31959. "goodsid",
  31960. "goodsname",
  31961. "marketid",
  31962. "trademode"
  31963. ],
  31964. "properties": {
  31965. "goodscode": {
  31966. "description": "商品代码(内部)",
  31967. "type": "string"
  31968. },
  31969. "goodsid": {
  31970. "description": "商品ID(自增ID SEQ_GOODS)",
  31971. "type": "integer"
  31972. },
  31973. "goodsname": {
  31974. "description": "商品名称",
  31975. "type": "string"
  31976. },
  31977. "marketid": {
  31978. "description": "所属市场ID",
  31979. "type": "integer"
  31980. },
  31981. "marketname": {
  31982. "description": "市场名称",
  31983. "type": "string"
  31984. },
  31985. "trademode": {
  31986. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31987. "type": "integer"
  31988. }
  31989. }
  31990. },
  31991. "models.Systemparam": {
  31992. "type": "object",
  31993. "required": [
  31994. "paramcode"
  31995. ],
  31996. "properties": {
  31997. "loginid": {
  31998. "description": "更新用户账号,登录账号",
  31999. "type": "string"
  32000. },
  32001. "modifyflag": {
  32002. "description": "修改标志0 不允许修改 1 允许修改",
  32003. "type": "integer"
  32004. },
  32005. "paramcode": {
  32006. "description": "参数代码",
  32007. "type": "string"
  32008. },
  32009. "paramname": {
  32010. "description": "参数名",
  32011. "type": "string"
  32012. },
  32013. "paramtype": {
  32014. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  32015. "type": "integer"
  32016. },
  32017. "paramvalue": {
  32018. "description": "参数值",
  32019. "type": "string"
  32020. },
  32021. "paramvalue2": {
  32022. "description": "参数值(CLOB)",
  32023. "type": "string"
  32024. },
  32025. "regexpress": {
  32026. "description": "正则表达式",
  32027. "type": "string"
  32028. },
  32029. "remark": {
  32030. "description": "备注",
  32031. "type": "string"
  32032. },
  32033. "serverip": {
  32034. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  32035. "type": "string"
  32036. },
  32037. "showflag": {
  32038. "description": "是否显示0 不显示 1 显示",
  32039. "type": "integer"
  32040. },
  32041. "updatetime": {
  32042. "description": "更新时间",
  32043. "type": "string"
  32044. },
  32045. "userid": {
  32046. "description": "更新用户ID",
  32047. "type": "integer"
  32048. }
  32049. }
  32050. },
  32051. "models.Szdz3convertconfig": {
  32052. "type": "object",
  32053. "required": [
  32054. "converttype",
  32055. "innergoodsid",
  32056. "outergoodscode"
  32057. ],
  32058. "properties": {
  32059. "canin": {
  32060. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  32061. "type": "integer"
  32062. },
  32063. "canout": {
  32064. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  32065. "type": "integer"
  32066. },
  32067. "converttype": {
  32068. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  32069. "type": "integer"
  32070. },
  32071. "createtime": {
  32072. "description": "创建时间",
  32073. "type": "string"
  32074. },
  32075. "creatorid": {
  32076. "description": "创建人",
  32077. "type": "integer"
  32078. },
  32079. "daymaxvalue": {
  32080. "description": "当日最大转入限制",
  32081. "type": "number"
  32082. },
  32083. "freezedays": {
  32084. "description": "冻结天数 [5:花生米转交易]",
  32085. "type": "integer"
  32086. },
  32087. "innergoodsid": {
  32088. "description": "内部商品ID[交易]",
  32089. "type": "integer"
  32090. },
  32091. "inratio": {
  32092. "description": "目标值",
  32093. "type": "integer"
  32094. },
  32095. "modifierid": {
  32096. "description": "修改人",
  32097. "type": "integer"
  32098. },
  32099. "modifytime": {
  32100. "description": "修改时间",
  32101. "type": "string"
  32102. },
  32103. "outergoodscode": {
  32104. "description": "外部商品代码[JD\\PD]",
  32105. "type": "string"
  32106. },
  32107. "outratio": {
  32108. "description": "源值",
  32109. "type": "integer"
  32110. },
  32111. "pddecimalplace": {
  32112. "description": "PD小数位",
  32113. "type": "integer"
  32114. },
  32115. "timemaxvalue": {
  32116. "description": "单次最大转入限制",
  32117. "type": "number"
  32118. },
  32119. "timeminvalue": {
  32120. "description": "单次最小转入限制",
  32121. "type": "number"
  32122. }
  32123. }
  32124. },
  32125. "models.Szdz3searchwhitelist": {
  32126. "type": "object",
  32127. "required": [
  32128. "userid"
  32129. ],
  32130. "properties": {
  32131. "createtime": {
  32132. "description": "创建时间",
  32133. "type": "string"
  32134. },
  32135. "creatorid": {
  32136. "description": "创建人",
  32137. "type": "integer"
  32138. },
  32139. "modifierid": {
  32140. "description": "修改人",
  32141. "type": "integer"
  32142. },
  32143. "modifytime": {
  32144. "description": "修改时间",
  32145. "type": "string"
  32146. },
  32147. "userid": {
  32148. "description": "用户ID",
  32149. "type": "integer"
  32150. }
  32151. }
  32152. },
  32153. "models.TBGoods": {
  32154. "type": "object",
  32155. "properties": {
  32156. "agreeunit": {
  32157. "description": "合约乘数",
  32158. "type": "number"
  32159. },
  32160. "enumdicname": {
  32161. "description": "单位名称",
  32162. "type": "string"
  32163. },
  32164. "goodscode": {
  32165. "description": "商品代码(内部)",
  32166. "type": "string"
  32167. },
  32168. "goodsid": {
  32169. "description": "商品ID(自增ID SEQ_GOODS)",
  32170. "type": "integer"
  32171. },
  32172. "goodsname": {
  32173. "description": "商品名称",
  32174. "type": "string"
  32175. }
  32176. }
  32177. },
  32178. "models.TBGoodsGroup": {
  32179. "type": "object",
  32180. "properties": {
  32181. "GDLST": {
  32182. "description": "商品列表",
  32183. "type": "array",
  32184. "items": {
  32185. "$ref": "#/definitions/models.TBGoods"
  32186. }
  32187. },
  32188. "convertratio": {
  32189. "description": "折算系数",
  32190. "type": "number"
  32191. },
  32192. "enumdicname": {
  32193. "description": "单位名称",
  32194. "type": "string"
  32195. },
  32196. "exexchangecode": {
  32197. "description": "交易所代码",
  32198. "type": "string"
  32199. },
  32200. "exexchangename": {
  32201. "description": "交易所名称",
  32202. "type": "string"
  32203. },
  32204. "goodsgroupid": {
  32205. "description": "商品组ID(自增ID)",
  32206. "type": "integer"
  32207. },
  32208. "goodsgroupname": {
  32209. "description": "商品组名称",
  32210. "type": "string"
  32211. },
  32212. "goodunitid": {
  32213. "description": "报价单位ID",
  32214. "type": "integer"
  32215. }
  32216. }
  32217. },
  32218. "models.TBMiddleGoods": {
  32219. "type": "object",
  32220. "properties": {
  32221. "GPLST": {
  32222. "description": "期货品种列表",
  32223. "type": "array",
  32224. "items": {
  32225. "$ref": "#/definitions/models.TBGoodsGroup"
  32226. }
  32227. },
  32228. "WDLST": {
  32229. "description": "商品信息列表(现货品类)",
  32230. "type": "array",
  32231. "items": {
  32232. "$ref": "#/definitions/models.TBWrstandard"
  32233. }
  32234. },
  32235. "areauserid": {
  32236. "description": "机构用户ID",
  32237. "type": "integer"
  32238. },
  32239. "enumdicname": {
  32240. "description": "单位名称",
  32241. "type": "string"
  32242. },
  32243. "goodsunitid": {
  32244. "description": "套保品种单位id",
  32245. "type": "integer"
  32246. },
  32247. "middlegoodscode": {
  32248. "description": "套保品种代码",
  32249. "type": "string"
  32250. },
  32251. "middlegoodsid": {
  32252. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  32253. "type": "integer"
  32254. },
  32255. "middlegoodsname": {
  32256. "description": "套保品种名称",
  32257. "type": "string"
  32258. },
  32259. "needarbitrageratio": {
  32260. "description": "套利比率",
  32261. "type": "number"
  32262. },
  32263. "needhedgeratio": {
  32264. "description": "套保比率",
  32265. "type": "number"
  32266. }
  32267. }
  32268. },
  32269. "models.TBWrstandard": {
  32270. "type": "object",
  32271. "properties": {
  32272. "convertratio": {
  32273. "description": "折算系数",
  32274. "type": "number"
  32275. },
  32276. "deliverygoodsname": {
  32277. "description": "品种名称",
  32278. "type": "string"
  32279. },
  32280. "enumdicname": {
  32281. "description": "单位名称",
  32282. "type": "string"
  32283. },
  32284. "vatrate": {
  32285. "description": "增值税率",
  32286. "type": "number"
  32287. },
  32288. "wrstandardcode": {
  32289. "description": "现货商品代码",
  32290. "type": "string"
  32291. },
  32292. "wrstandardid": {
  32293. "description": "现货商品ID(SEQ_WRSTANDARD)",
  32294. "type": "integer"
  32295. },
  32296. "wrstandardname": {
  32297. "description": "现货商品名称",
  32298. "type": "string"
  32299. }
  32300. }
  32301. },
  32302. "models.Taaccount": {
  32303. "type": "object",
  32304. "required": [
  32305. "accountid",
  32306. "userid"
  32307. ],
  32308. "properties": {
  32309. "accountflag": {
  32310. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  32311. "type": "integer"
  32312. },
  32313. "accountid": {
  32314. "description": "资金账户ID",
  32315. "type": "integer"
  32316. },
  32317. "accountname": {
  32318. "description": "账户名称",
  32319. "type": "string"
  32320. },
  32321. "balance": {
  32322. "description": "期初余额",
  32323. "type": "number"
  32324. },
  32325. "capitalbalance": {
  32326. "description": "本金余额[外部子账户实际出入金余额]",
  32327. "type": "number"
  32328. },
  32329. "changeflag": {
  32330. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  32331. "type": "integer"
  32332. },
  32333. "changetime": {
  32334. "description": "账户状态变更时间",
  32335. "type": "string"
  32336. },
  32337. "closepl": {
  32338. "description": "今日平仓盈亏",
  32339. "type": "number"
  32340. },
  32341. "creditdecrease": {
  32342. "description": "今日授信减少",
  32343. "type": "number"
  32344. },
  32345. "creditincrease": {
  32346. "description": "今日授信增加",
  32347. "type": "number"
  32348. },
  32349. "curamount": {
  32350. "description": "总市值(从持仓中统计)",
  32351. "type": "number"
  32352. },
  32353. "currencyid": {
  32354. "description": "货币ID",
  32355. "type": "integer"
  32356. },
  32357. "currentbalance": {
  32358. "description": "期末余额",
  32359. "type": "number"
  32360. },
  32361. "freezecharge": {
  32362. "description": "手续费冻结",
  32363. "type": "number"
  32364. },
  32365. "freezemargin": {
  32366. "description": "冻结保证金",
  32367. "type": "number"
  32368. },
  32369. "fromaccountid": {
  32370. "description": "所属上级账户",
  32371. "type": "integer"
  32372. },
  32373. "inamount": {
  32374. "description": "今日入金金额(包括三方入金)",
  32375. "type": "number"
  32376. },
  32377. "ismain": {
  32378. "description": "是否母账号 0:不是母账户 1:是母账户",
  32379. "type": "integer"
  32380. },
  32381. "ismarketaccount": {
  32382. "description": "是否机构接单账号 0:不是 1:是",
  32383. "type": "integer"
  32384. },
  32385. "isreckonaccount": {
  32386. "description": "是否机构分润账号 0:不是 1:是",
  32387. "type": "integer"
  32388. },
  32389. "mortgagecredit": {
  32390. "description": "授信金额",
  32391. "type": "number"
  32392. },
  32393. "orifreezecharge": {
  32394. "description": "期初手续费冻结",
  32395. "type": "number"
  32396. },
  32397. "orifreezemargin": {
  32398. "description": "期初冻结保证金",
  32399. "type": "number"
  32400. },
  32401. "orimortgagecredit": {
  32402. "description": "期初授信金额",
  32403. "type": "number"
  32404. },
  32405. "oriothercredit": {
  32406. "description": "期初其它授信金额",
  32407. "type": "number"
  32408. },
  32409. "oriotherfreezemargin": {
  32410. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  32411. "type": "number"
  32412. },
  32413. "orioutamountfreeze": {
  32414. "description": "期初出金冻结",
  32415. "type": "number"
  32416. },
  32417. "oriusedmargin": {
  32418. "description": "期初占用保证金",
  32419. "type": "number"
  32420. },
  32421. "othercredit": {
  32422. "description": "其它授信金额",
  32423. "type": "number"
  32424. },
  32425. "othercreditdecrease": {
  32426. "description": "今日其它授信减少",
  32427. "type": "number"
  32428. },
  32429. "othercreditincrease": {
  32430. "description": "今日其它授信增加",
  32431. "type": "number"
  32432. },
  32433. "otherfreezemargin": {
  32434. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  32435. "type": "number"
  32436. },
  32437. "otherincome": {
  32438. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  32439. "type": "number"
  32440. },
  32441. "otherpay": {
  32442. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  32443. "type": "number"
  32444. },
  32445. "outamount": {
  32446. "description": "今日出金金额(包括三方出金)",
  32447. "type": "number"
  32448. },
  32449. "outamountfreeze": {
  32450. "description": "出金冻结",
  32451. "type": "number"
  32452. },
  32453. "outthreshold": {
  32454. "description": "出金阈值",
  32455. "type": "number"
  32456. },
  32457. "parentaccountid": {
  32458. "description": "所属根账号",
  32459. "type": "integer"
  32460. },
  32461. "paycharge": {
  32462. "description": "今日手续费支出",
  32463. "type": "number"
  32464. },
  32465. "relatedaccountstatus": {
  32466. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  32467. "type": "integer"
  32468. },
  32469. "relateduserid": {
  32470. "description": "关联用户",
  32471. "type": "integer"
  32472. },
  32473. "remainamount": {
  32474. "description": "融资额(从融资合同中统计)",
  32475. "type": "number"
  32476. },
  32477. "serivcegroup": {
  32478. "description": "服务分组",
  32479. "type": "integer"
  32480. },
  32481. "signstatus": {
  32482. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  32483. "type": "integer"
  32484. },
  32485. "sublevelpath": {
  32486. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  32487. "type": "string"
  32488. },
  32489. "taaccounttype": {
  32490. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  32491. "type": "integer"
  32492. },
  32493. "thirdinamount": {
  32494. "description": "今日三方入金",
  32495. "type": "number"
  32496. },
  32497. "thirdoutamount": {
  32498. "description": "今日三方出金",
  32499. "type": "number"
  32500. },
  32501. "tradestatus": {
  32502. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  32503. "type": "integer"
  32504. },
  32505. "tradestatuschangetime": {
  32506. "description": "激活时间",
  32507. "type": "string"
  32508. },
  32509. "transferamount": {
  32510. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  32511. "type": "number"
  32512. },
  32513. "usedmargin": {
  32514. "description": "占用保证金",
  32515. "type": "number"
  32516. },
  32517. "userid": {
  32518. "description": "用户ID",
  32519. "type": "integer"
  32520. }
  32521. }
  32522. },
  32523. "models.Tablecolumnconfig": {
  32524. "type": "object",
  32525. "required": [
  32526. "autoid"
  32527. ],
  32528. "properties": {
  32529. "aligntype": {
  32530. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  32531. "type": "integer"
  32532. },
  32533. "autoid": {
  32534. "description": "AutoID",
  32535. "type": "integer"
  32536. },
  32537. "columnfield": {
  32538. "description": "列字段",
  32539. "type": "string"
  32540. },
  32541. "columntitle": {
  32542. "description": "列Title",
  32543. "type": "string"
  32544. },
  32545. "columnwidth": {
  32546. "description": "列宽",
  32547. "type": "string"
  32548. },
  32549. "formatterstring": {
  32550. "description": "格式化字符",
  32551. "type": "string"
  32552. },
  32553. "formattertype": {
  32554. "description": "格式化类型",
  32555. "type": "string"
  32556. },
  32557. "groupname": {
  32558. "description": "表头分组名称",
  32559. "type": "string"
  32560. },
  32561. "isshow": {
  32562. "description": "是否显示 - 0:不显示 1:显示",
  32563. "type": "integer"
  32564. },
  32565. "needsummary": {
  32566. "description": "是否需要汇总 - 0:不需要 1:需要",
  32567. "type": "integer"
  32568. },
  32569. "orderindex": {
  32570. "description": "顺序",
  32571. "type": "integer"
  32572. },
  32573. "remark": {
  32574. "description": "备注",
  32575. "type": "string"
  32576. },
  32577. "summarytype": {
  32578. "description": "汇总类型 - 1:加总 2:最后一个",
  32579. "type": "integer"
  32580. },
  32581. "tablekey": {
  32582. "description": "列表Key",
  32583. "type": "string"
  32584. }
  32585. }
  32586. },
  32587. "models.TjmdMarketSection": {
  32588. "type": "object",
  32589. "properties": {
  32590. "marketsectionid": {
  32591. "description": "市场版块ID(SEQ_MARKETSECTION)",
  32592. "type": "integer"
  32593. },
  32594. "marketsectionname": {
  32595. "description": "市场版块名称",
  32596. "type": "string"
  32597. },
  32598. "mlist": {
  32599. "description": "市场列表(板块下面有多少个市场)",
  32600. "type": "array",
  32601. "items": {
  32602. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  32603. }
  32604. },
  32605. "orderindex": {
  32606. "description": "排序",
  32607. "type": "integer"
  32608. },
  32609. "pictureurl": {
  32610. "description": "图片url, 规格(90*90)",
  32611. "type": "string"
  32612. },
  32613. "remark": {
  32614. "description": "备注",
  32615. "type": "string"
  32616. }
  32617. }
  32618. },
  32619. "models.TjmdMarketSectionConfig": {
  32620. "type": "object",
  32621. "properties": {
  32622. "auctionwrtype": {
  32623. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  32624. "type": "integer"
  32625. },
  32626. "canacceptquote": {
  32627. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  32628. "type": "integer"
  32629. },
  32630. "cangoodsexercise": {
  32631. "description": "[期权]是否可现货行权- 0:否 1:是",
  32632. "type": "integer"
  32633. },
  32634. "cangoodsexercisetype": {
  32635. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  32636. "type": "integer"
  32637. },
  32638. "canmanualquotestrike": {
  32639. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  32640. "type": "integer"
  32641. },
  32642. "canmutistage": {
  32643. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  32644. "type": "integer"
  32645. },
  32646. "canpreexercise": {
  32647. "description": "[期权]是否可预申报- 0:否 1:是",
  32648. "type": "integer"
  32649. },
  32650. "clearinterval": {
  32651. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  32652. "type": "integer"
  32653. },
  32654. "contracttmp": {
  32655. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  32656. "type": "string"
  32657. },
  32658. "exchareaid": {
  32659. "description": "所属交易所,可以没有",
  32660. "type": "integer"
  32661. },
  32662. "financemarketid": {
  32663. "description": "融资回购市场ID [仓单贸易]",
  32664. "type": "integer"
  32665. },
  32666. "goodstype": {
  32667. "description": "商品类型 - 1:交易商品 2:仓单商品",
  32668. "type": "integer"
  32669. },
  32670. "hasrebate": {
  32671. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  32672. "type": "integer"
  32673. },
  32674. "hastradecredit": {
  32675. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  32676. "type": "integer"
  32677. },
  32678. "haswr": {
  32679. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  32680. "type": "integer"
  32681. },
  32682. "isdeductmargin": {
  32683. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  32684. "type": "integer"
  32685. },
  32686. "isrecordsource": {
  32687. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  32688. "type": "integer"
  32689. },
  32690. "isreleasemargin": {
  32691. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  32692. "type": "integer"
  32693. },
  32694. "isupdatereckonprice": {
  32695. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  32696. "type": "integer"
  32697. },
  32698. "listingmode": {
  32699. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  32700. "type": "integer"
  32701. },
  32702. "marginformula": {
  32703. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32704. "type": "integer"
  32705. },
  32706. "marginformula2": {
  32707. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32708. "type": "integer"
  32709. },
  32710. "marketid": {
  32711. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  32712. "type": "integer"
  32713. },
  32714. "marketname": {
  32715. "description": "市场名称",
  32716. "type": "string"
  32717. },
  32718. "marketsectionid": {
  32719. "description": "市场版块ID(SEQ_MARKETSECTION)",
  32720. "type": "integer"
  32721. },
  32722. "marketserviceid": {
  32723. "description": "市场服务ID",
  32724. "type": "integer"
  32725. },
  32726. "marketstatus": {
  32727. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  32728. "type": "integer"
  32729. },
  32730. "markettype": {
  32731. "description": "市场类型- 1:非交易服务 2:交易服务",
  32732. "type": "integer"
  32733. },
  32734. "matchermode": {
  32735. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  32736. "type": "integer"
  32737. },
  32738. "nowrquotaflag": {
  32739. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  32740. "type": "integer"
  32741. },
  32742. "openmethod": {
  32743. "description": "开盘模式 - 0 自动 1手动",
  32744. "type": "integer"
  32745. },
  32746. "orderindex": {
  32747. "description": "排序",
  32748. "type": "integer"
  32749. },
  32750. "otcuserid": {
  32751. "description": "场外期权做市商[场外期权]",
  32752. "type": "integer"
  32753. },
  32754. "outersynctime": {
  32755. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  32756. "type": "string"
  32757. },
  32758. "paylaterflag": {
  32759. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  32760. "type": "integer"
  32761. },
  32762. "pendingflag": {
  32763. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  32764. "type": "integer"
  32765. },
  32766. "pendingtime": {
  32767. "description": "待开市时间[通道交易-对冲](HH:mm)",
  32768. "type": "string"
  32769. },
  32770. "performancetempid": {
  32771. "description": "履约计划模板ID - 作废",
  32772. "type": "integer"
  32773. },
  32774. "premiumquotemode": {
  32775. "description": "权利金报价方式 - 1:自动 2:手动",
  32776. "type": "integer"
  32777. },
  32778. "rebateratio": {
  32779. "description": "返利比率[竞价式]",
  32780. "type": "number"
  32781. },
  32782. "reckonorder": {
  32783. "description": "结算顺序",
  32784. "type": "integer"
  32785. },
  32786. "reckonpricealgorithm": {
  32787. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  32788. "type": "integer"
  32789. },
  32790. "reckonpriceparam": {
  32791. "description": "结算价参数",
  32792. "type": "integer"
  32793. },
  32794. "reckontime": {
  32795. "description": "结算时间[通道交易-对冲](HH:mm)",
  32796. "type": "string"
  32797. },
  32798. "roleprioritytype": {
  32799. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  32800. "type": "integer"
  32801. },
  32802. "selllistingauditflag": {
  32803. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  32804. "type": "integer"
  32805. },
  32806. "trademarkettype": {
  32807. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  32808. "type": "integer"
  32809. },
  32810. "trademode": {
  32811. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32812. "type": "integer"
  32813. },
  32814. "tradeproperty": {
  32815. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  32816. "type": "integer"
  32817. },
  32818. "tradetype": {
  32819. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  32820. "type": "integer"
  32821. },
  32822. "updatereckonpriceinterval": {
  32823. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  32824. "type": "integer"
  32825. }
  32826. }
  32827. },
  32828. "models.TjmdQuoteGoods": {
  32829. "type": "object",
  32830. "properties": {
  32831. "buyqty": {
  32832. "description": "买量(暂不做, 无值, 保留字段)",
  32833. "type": "number"
  32834. },
  32835. "goodscode": {
  32836. "description": "合约代码",
  32837. "type": "string"
  32838. },
  32839. "goodsgroupid": {
  32840. "description": "商品组ID(自增ID)",
  32841. "type": "integer"
  32842. },
  32843. "goodsgroupname": {
  32844. "description": "商品组名称",
  32845. "type": "string"
  32846. },
  32847. "goodsid": {
  32848. "description": "合约id",
  32849. "type": "integer"
  32850. },
  32851. "goodsname": {
  32852. "description": "合约名称",
  32853. "type": "string"
  32854. },
  32855. "refgoodscode": {
  32856. "description": "标的合约代码",
  32857. "type": "string"
  32858. },
  32859. "refgoodsid": {
  32860. "description": "标的合约id",
  32861. "type": "integer"
  32862. },
  32863. "refgoodsname": {
  32864. "description": "标的合约名称",
  32865. "type": "string"
  32866. },
  32867. "sellqty": {
  32868. "description": "卖量(暂不做, 无值, 保留字段)",
  32869. "type": "number"
  32870. }
  32871. }
  32872. },
  32873. "models.TjmdTodayAccountMargin": {
  32874. "type": "object",
  32875. "properties": {
  32876. "accountid": {
  32877. "description": "账号ID",
  32878. "type": "integer"
  32879. },
  32880. "goodsid": {
  32881. "description": "商品ID",
  32882. "type": "integer"
  32883. },
  32884. "infoc": {
  32885. "description": "配置参数",
  32886. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  32887. },
  32888. "marketid": {
  32889. "description": "市场ID",
  32890. "type": "integer"
  32891. }
  32892. }
  32893. },
  32894. "models.TjmdTradeOrderDetail": {
  32895. "type": "object",
  32896. "properties": {
  32897. "buyorsell": {
  32898. "description": "买卖方向 0-买 1-卖",
  32899. "type": "integer"
  32900. },
  32901. "goodsid": {
  32902. "description": "商品id",
  32903. "type": "integer"
  32904. },
  32905. "marketmaxsub": {
  32906. "description": "市价最大偏移范围 [浮动价 - 点差]",
  32907. "type": "number"
  32908. },
  32909. "orderid": {
  32910. "description": "委托单号",
  32911. "type": "string"
  32912. },
  32913. "orderprice": {
  32914. "description": "委托价格",
  32915. "type": "number"
  32916. },
  32917. "orderqty": {
  32918. "description": "委托数量",
  32919. "type": "integer"
  32920. },
  32921. "pricemode": {
  32922. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  32923. "type": "integer"
  32924. },
  32925. "userid": {
  32926. "description": "用户id",
  32927. "type": "integer"
  32928. },
  32929. "username": {
  32930. "description": "用户名称(已脱敏)",
  32931. "type": "string"
  32932. }
  32933. }
  32934. },
  32935. "models.TjmdTransferApply": {
  32936. "type": "object",
  32937. "properties": {
  32938. "applyid": {
  32939. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  32940. "type": "integer"
  32941. },
  32942. "applystatus": {
  32943. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  32944. "type": "integer"
  32945. },
  32946. "applytime": {
  32947. "description": "申请时间(时间)",
  32948. "type": "string"
  32949. },
  32950. "auditremark": {
  32951. "description": "审核备注(拒绝原因?)",
  32952. "type": "string"
  32953. },
  32954. "begindate": {
  32955. "description": "开始交易日(yyyymmdd)",
  32956. "type": "string"
  32957. },
  32958. "buyorsell": {
  32959. "description": "买卖 - 0:买 1:卖",
  32960. "type": "integer"
  32961. },
  32962. "enddate": {
  32963. "description": "结束交易日(yyyymmdd)",
  32964. "type": "string"
  32965. },
  32966. "goodscode": {
  32967. "description": "商品代码",
  32968. "type": "string"
  32969. },
  32970. "goodsid": {
  32971. "description": "商品ID",
  32972. "type": "integer"
  32973. },
  32974. "goodsname": {
  32975. "description": "商品名称",
  32976. "type": "string"
  32977. },
  32978. "marketid": {
  32979. "description": "市场ID",
  32980. "type": "integer"
  32981. },
  32982. "qty": {
  32983. "description": "转让数量(数量)",
  32984. "type": "number"
  32985. },
  32986. "tradeid": {
  32987. "description": "成交单号(关联持仓)",
  32988. "type": "string"
  32989. },
  32990. "transferamount": {
  32991. "description": "转让总金额(金额)",
  32992. "type": "number"
  32993. },
  32994. "transferprice": {
  32995. "description": "转让价格(协议价格)",
  32996. "type": "number"
  32997. }
  32998. }
  32999. },
  33000. "models.TradeHolderDetail": {
  33001. "type": "object",
  33002. "properties": {
  33003. "accountid": {
  33004. "description": "账号ID",
  33005. "type": "integer"
  33006. },
  33007. "agreeunit": {
  33008. "description": "合约乘数",
  33009. "type": "number"
  33010. },
  33011. "buyorsell": {
  33012. "description": "方向 - 0:买 1:卖",
  33013. "type": "integer"
  33014. },
  33015. "currencyid": {
  33016. "description": "商品币种id",
  33017. "type": "integer"
  33018. },
  33019. "currencyname": {
  33020. "description": "币种名称",
  33021. "type": "string"
  33022. },
  33023. "decimalplace": {
  33024. "description": "商品价格小数位",
  33025. "type": "integer"
  33026. },
  33027. "enumdicname": {
  33028. "description": "商品单位名称",
  33029. "type": "string"
  33030. },
  33031. "expirecycle": {
  33032. "description": "行权周期(天) - 1:滚动行权时填写",
  33033. "type": "integer"
  33034. },
  33035. "expiredate": {
  33036. "description": "行权日(yyyyMMdd) - 到期日",
  33037. "type": "string"
  33038. },
  33039. "expiretype": {
  33040. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  33041. "type": "integer"
  33042. },
  33043. "freezeqty": {
  33044. "description": "冻结数量",
  33045. "type": "number"
  33046. },
  33047. "goodscode": {
  33048. "description": "商品代码",
  33049. "type": "string"
  33050. },
  33051. "goodsid": {
  33052. "description": "商品ID",
  33053. "type": "integer"
  33054. },
  33055. "goodsname": {
  33056. "description": "商品名称",
  33057. "type": "string"
  33058. },
  33059. "goodunitid": {
  33060. "description": "商品单位id",
  33061. "type": "integer"
  33062. },
  33063. "holderamount": {
  33064. "description": "持仓金额",
  33065. "type": "number"
  33066. },
  33067. "holdercredit": {
  33068. "description": "持仓授信金额",
  33069. "type": "number"
  33070. },
  33071. "holderdays": {
  33072. "description": "剩余冻结天数",
  33073. "type": "integer"
  33074. },
  33075. "holderprice": {
  33076. "description": "持仓价格",
  33077. "type": "number"
  33078. },
  33079. "holderqty": {
  33080. "description": "持仓数量",
  33081. "type": "number"
  33082. },
  33083. "isconfirmexercise": {
  33084. "description": "是否确认行权- 0:否 1:是",
  33085. "type": "integer"
  33086. },
  33087. "ispreexercise": {
  33088. "description": "是否预申报- 0:否 1:是 2:不可行权",
  33089. "type": "integer"
  33090. },
  33091. "marketid": {
  33092. "description": "市场id",
  33093. "type": "integer"
  33094. },
  33095. "marketname": {
  33096. "description": "市场名称",
  33097. "type": "string"
  33098. },
  33099. "openprice": {
  33100. "description": "建仓价格",
  33101. "type": "number"
  33102. },
  33103. "openqty": {
  33104. "description": "建仓数量",
  33105. "type": "number"
  33106. },
  33107. "optiontype": {
  33108. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  33109. "type": "integer"
  33110. },
  33111. "preexerciseprice": {
  33112. "description": "预申报价格",
  33113. "type": "number"
  33114. },
  33115. "premium": {
  33116. "description": "权利金",
  33117. "type": "number"
  33118. },
  33119. "qtydecimalplace": {
  33120. "description": "商品成交量小数位",
  33121. "type": "integer"
  33122. },
  33123. "refgoodscode": {
  33124. "description": "标的合约代码",
  33125. "type": "string"
  33126. },
  33127. "refgoodsid": {
  33128. "description": "标的合约id",
  33129. "type": "integer"
  33130. },
  33131. "releaseamount": {
  33132. "description": "释放持仓金额",
  33133. "type": "number"
  33134. },
  33135. "releaseholdercredit": {
  33136. "description": "释放持仓授信金额",
  33137. "type": "number"
  33138. },
  33139. "taname": {
  33140. "description": "资金账号名称",
  33141. "type": "string"
  33142. },
  33143. "tradeamount": {
  33144. "description": "成交金额",
  33145. "type": "number"
  33146. },
  33147. "tradedate": {
  33148. "description": "交易日(yyyyMMdd)",
  33149. "type": "string"
  33150. },
  33151. "tradeid": {
  33152. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33153. "type": "string"
  33154. },
  33155. "trademode": {
  33156. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  33157. "type": "integer"
  33158. },
  33159. "tradeproperty": {
  33160. "description": "交易属性",
  33161. "type": "integer"
  33162. },
  33163. "tradetime": {
  33164. "description": "交易时间",
  33165. "type": "string"
  33166. },
  33167. "userid": {
  33168. "description": "用户id",
  33169. "type": "integer"
  33170. },
  33171. "username": {
  33172. "description": "用户名称",
  33173. "type": "string"
  33174. }
  33175. }
  33176. },
  33177. "models.UserCollectConfig": {
  33178. "type": "object",
  33179. "properties": {
  33180. "accountstatus": {
  33181. "description": "账户状态 - 1:正常 2:停用 3:注销",
  33182. "type": "integer"
  33183. },
  33184. "collectaccountname": {
  33185. "description": "收款人账户名称",
  33186. "type": "string"
  33187. },
  33188. "collectaccountno": {
  33189. "description": "收款人账户",
  33190. "type": "string"
  33191. },
  33192. "collectbankname": {
  33193. "description": "收款人开户行",
  33194. "type": "string"
  33195. },
  33196. "collectbranchbankname": {
  33197. "description": "收款人开户支行",
  33198. "type": "string"
  33199. },
  33200. "collectconfigid": {
  33201. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  33202. "type": "string"
  33203. },
  33204. "remark": {
  33205. "description": "备注",
  33206. "type": "string"
  33207. },
  33208. "userid": {
  33209. "description": "收款人用户ID",
  33210. "type": "integer"
  33211. }
  33212. }
  33213. },
  33214. "models.UserReceiveInfo": {
  33215. "type": "object",
  33216. "properties": {
  33217. "address": {
  33218. "description": "提货人详细地址",
  33219. "type": "string"
  33220. },
  33221. "autoid": {
  33222. "description": "AutoID",
  33223. "type": "integer"
  33224. },
  33225. "cardnum": {
  33226. "description": "证件号码(加密存储)",
  33227. "type": "string"
  33228. },
  33229. "cardtypeid": {
  33230. "description": "证件类型",
  33231. "type": "integer"
  33232. },
  33233. "cityid": {
  33234. "description": "市",
  33235. "type": "integer"
  33236. },
  33237. "cityname": {
  33238. "description": "城市名称",
  33239. "type": "string"
  33240. },
  33241. "countryid": {
  33242. "description": "国家",
  33243. "type": "integer"
  33244. },
  33245. "countryname": {
  33246. "description": "国家名称",
  33247. "type": "string"
  33248. },
  33249. "districtid": {
  33250. "description": "地区",
  33251. "type": "integer"
  33252. },
  33253. "districtname": {
  33254. "description": "地区名称",
  33255. "type": "string"
  33256. },
  33257. "hasencrypt": {
  33258. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33259. "type": "integer"
  33260. },
  33261. "isdefault": {
  33262. "description": "是否默认地址 - 0:否 1:是",
  33263. "type": "integer"
  33264. },
  33265. "phonenum": {
  33266. "description": "提货人联系方式(加密存储)",
  33267. "type": "string"
  33268. },
  33269. "provinceid": {
  33270. "description": "省",
  33271. "type": "integer"
  33272. },
  33273. "provincename": {
  33274. "description": "省名称",
  33275. "type": "string"
  33276. },
  33277. "receivername": {
  33278. "description": "提货人姓名",
  33279. "type": "string"
  33280. },
  33281. "takeremark": {
  33282. "description": "提货备注",
  33283. "type": "string"
  33284. },
  33285. "userid": {
  33286. "description": "用户ID",
  33287. "type": "integer"
  33288. }
  33289. }
  33290. },
  33291. "models.Useraccount": {
  33292. "type": "object",
  33293. "required": [
  33294. "userid"
  33295. ],
  33296. "properties": {
  33297. "accountname": {
  33298. "description": "账户名称(机构名称)",
  33299. "type": "string"
  33300. },
  33301. "accountstatus": {
  33302. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  33303. "type": "integer"
  33304. },
  33305. "applysrc": {
  33306. "description": "申请来源 - 1:管理端 2:终端",
  33307. "type": "integer"
  33308. },
  33309. "auditremark": {
  33310. "description": "审核备注",
  33311. "type": "string"
  33312. },
  33313. "auditsrc": {
  33314. "description": "审核来源 - 1:管理端 2:终端",
  33315. "type": "integer"
  33316. },
  33317. "audittime": {
  33318. "description": "审核时间",
  33319. "type": "string"
  33320. },
  33321. "audituserid": {
  33322. "description": "审核人",
  33323. "type": "integer"
  33324. },
  33325. "broker": {
  33326. "description": "所属经纪人ID",
  33327. "type": "integer"
  33328. },
  33329. "canceltime": {
  33330. "description": "销户时间",
  33331. "type": "string"
  33332. },
  33333. "canceluserid": {
  33334. "description": "销户人",
  33335. "type": "integer"
  33336. },
  33337. "canrecommend": {
  33338. "description": "是否可推荐 - 0:不可 1;可",
  33339. "type": "integer"
  33340. },
  33341. "createtime": {
  33342. "description": "创建时间",
  33343. "type": "string"
  33344. },
  33345. "creatorid": {
  33346. "description": "创建人",
  33347. "type": "integer"
  33348. },
  33349. "hasauth": {
  33350. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  33351. "type": "integer"
  33352. },
  33353. "isanonymous": {
  33354. "description": "是否匿名下单 - 0:否 1:是",
  33355. "type": "integer"
  33356. },
  33357. "maxinvestornum": {
  33358. "description": "最大用户数(经纪会员下投资者个数)",
  33359. "type": "integer"
  33360. },
  33361. "memberuserid": {
  33362. "description": "所属会员ID",
  33363. "type": "integer"
  33364. },
  33365. "modifierid": {
  33366. "description": "修改人",
  33367. "type": "integer"
  33368. },
  33369. "modifyremark": {
  33370. "description": "变更备注",
  33371. "type": "string"
  33372. },
  33373. "modifystatus": {
  33374. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  33375. "type": "integer"
  33376. },
  33377. "modifytime": {
  33378. "description": "修改时间",
  33379. "type": "string"
  33380. },
  33381. "parenttopuser": {
  33382. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  33383. "type": "string"
  33384. },
  33385. "parentuserid": {
  33386. "description": "所属机构ID",
  33387. "type": "integer"
  33388. },
  33389. "reckonaccountid": {
  33390. "description": "默认结算资金账号ID(机构分润使用) 作废",
  33391. "type": "integer"
  33392. },
  33393. "refercount": {
  33394. "description": "推荐总人数",
  33395. "type": "integer"
  33396. },
  33397. "refereeuserid": {
  33398. "description": "推荐人ID",
  33399. "type": "integer"
  33400. },
  33401. "refernum": {
  33402. "description": "推荐码",
  33403. "type": "string"
  33404. },
  33405. "rootuserid": {
  33406. "description": "根用户ID",
  33407. "type": "integer"
  33408. },
  33409. "subaccountlevel": {
  33410. "description": "子账户层数",
  33411. "type": "integer"
  33412. },
  33413. "subarealevelpath": {
  33414. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  33415. "type": "string"
  33416. },
  33417. "userid": {
  33418. "description": "用户ID",
  33419. "type": "integer"
  33420. },
  33421. "usertype": {
  33422. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  33423. "type": "integer"
  33424. }
  33425. }
  33426. },
  33427. "models.Userfavoritegoods": {
  33428. "type": "object",
  33429. "required": [
  33430. "goodsid"
  33431. ],
  33432. "properties": {
  33433. "goodsid": {
  33434. "description": "商品ID",
  33435. "type": "integer"
  33436. }
  33437. }
  33438. },
  33439. "models.Userinfo": {
  33440. "type": "object",
  33441. "required": [
  33442. "userid"
  33443. ],
  33444. "properties": {
  33445. "address": {
  33446. "description": "地址",
  33447. "type": "string"
  33448. },
  33449. "attachment1": {
  33450. "description": "附件1",
  33451. "type": "string"
  33452. },
  33453. "attachment2": {
  33454. "description": "附件2",
  33455. "type": "string"
  33456. },
  33457. "bankaccount": {
  33458. "description": "银行帐号 (加密存储)",
  33459. "type": "string"
  33460. },
  33461. "bankaccountname": {
  33462. "description": "收款人名称",
  33463. "type": "string"
  33464. },
  33465. "bankcardfrontphotourl": {
  33466. "description": "银行卡正面照地址",
  33467. "type": "string"
  33468. },
  33469. "bankid": {
  33470. "description": "银行编码",
  33471. "type": "string"
  33472. },
  33473. "bankname": {
  33474. "description": "银行名称",
  33475. "type": "string"
  33476. },
  33477. "biznature": {
  33478. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  33479. "type": "integer"
  33480. },
  33481. "bizscope": {
  33482. "description": "企业经营范围(企业)",
  33483. "type": "string"
  33484. },
  33485. "cardbackphotourl": {
  33486. "description": "证件背面图片地址",
  33487. "type": "string"
  33488. },
  33489. "cardfrontphotourl": {
  33490. "description": "证件正面图片地址",
  33491. "type": "string"
  33492. },
  33493. "cardnum": {
  33494. "description": "证件号码(加密存储)",
  33495. "type": "string"
  33496. },
  33497. "cardtypeid": {
  33498. "description": "证件类型ID",
  33499. "type": "integer"
  33500. },
  33501. "cityid": {
  33502. "description": "市",
  33503. "type": "integer"
  33504. },
  33505. "company": {
  33506. "description": "公司(个人)",
  33507. "type": "string"
  33508. },
  33509. "contactname": {
  33510. "description": "联系人",
  33511. "type": "string"
  33512. },
  33513. "countryid": {
  33514. "description": "国家",
  33515. "type": "integer"
  33516. },
  33517. "createtime": {
  33518. "description": "创建时间",
  33519. "type": "string"
  33520. },
  33521. "creatorid": {
  33522. "description": "创建人",
  33523. "type": "integer"
  33524. },
  33525. "customername": {
  33526. "description": "客户名称(企业名称)",
  33527. "type": "string"
  33528. },
  33529. "districtid": {
  33530. "description": "地区",
  33531. "type": "integer"
  33532. },
  33533. "email": {
  33534. "description": "邮件(加密存储)",
  33535. "type": "string"
  33536. },
  33537. "fax": {
  33538. "description": "传真(加密存储)",
  33539. "type": "string"
  33540. },
  33541. "halfbodyphotourl": {
  33542. "description": "半身照地址",
  33543. "type": "string"
  33544. },
  33545. "hasencrypt": {
  33546. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33547. "type": "integer"
  33548. },
  33549. "headurl": {
  33550. "description": "头像地址",
  33551. "type": "string"
  33552. },
  33553. "legalcardbackphotourl": {
  33554. "description": "法人身份证背面照地址",
  33555. "type": "string"
  33556. },
  33557. "legalcardfrontphotourl": {
  33558. "description": "法人身份证正面照地址",
  33559. "type": "string"
  33560. },
  33561. "legalpersonname": {
  33562. "description": "法人姓名(企业)",
  33563. "type": "string"
  33564. },
  33565. "mobile": {
  33566. "description": "手机号码(加密存储)",
  33567. "type": "string"
  33568. },
  33569. "mobile2": {
  33570. "description": "手机号码[明文-尚志]",
  33571. "type": "string"
  33572. },
  33573. "modifierid": {
  33574. "description": "修改人",
  33575. "type": "integer"
  33576. },
  33577. "modifiertime": {
  33578. "description": "修改时间",
  33579. "type": "string"
  33580. },
  33581. "needinvoice": {
  33582. "description": "是否需要发票 - 0:不需要 1:需要",
  33583. "type": "integer"
  33584. },
  33585. "nickname": {
  33586. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  33587. "type": "string"
  33588. },
  33589. "openmode": {
  33590. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  33591. "type": "integer"
  33592. },
  33593. "otherurl": {
  33594. "description": "其它图片地址[使用分号分隔]",
  33595. "type": "string"
  33596. },
  33597. "postalcode": {
  33598. "description": "邮政编码",
  33599. "type": "string"
  33600. },
  33601. "provinceid": {
  33602. "description": "省",
  33603. "type": "integer"
  33604. },
  33605. "qq": {
  33606. "description": "QQ(加密存储",
  33607. "type": "string"
  33608. },
  33609. "remark": {
  33610. "description": "备注",
  33611. "type": "string"
  33612. },
  33613. "sex": {
  33614. "description": "用户性别 0: 女 1: 男",
  33615. "type": "integer"
  33616. },
  33617. "signpdfurl": {
  33618. "description": "签约pdf文件",
  33619. "type": "string"
  33620. },
  33621. "telphone": {
  33622. "description": "联系电话(加密存储)",
  33623. "type": "string"
  33624. },
  33625. "userid": {
  33626. "description": "用户ID",
  33627. "type": "integer"
  33628. },
  33629. "userinfotype": {
  33630. "description": "用户信息类型 - 1:个人 2:企业",
  33631. "type": "integer"
  33632. },
  33633. "userstatus": {
  33634. "description": "用户状态 - 1:正常 2:注销",
  33635. "type": "integer"
  33636. },
  33637. "usertype": {
  33638. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  33639. "type": "integer"
  33640. },
  33641. "wechat": {
  33642. "description": "微信(加密存储)",
  33643. "type": "string"
  33644. },
  33645. "wskhinfo": {
  33646. "description": "开户申请信息(JSON)",
  33647. "type": "string"
  33648. }
  33649. }
  33650. },
  33651. "models.WRSConverTDetail": {
  33652. "type": "object",
  33653. "properties": {
  33654. "convertratio": {
  33655. "description": "套保系数",
  33656. "type": "number"
  33657. },
  33658. "deliverygoodscode": {
  33659. "description": "现货商品代码",
  33660. "type": "string"
  33661. },
  33662. "deliverygoodsid": {
  33663. "description": "现货品种ID",
  33664. "type": "integer"
  33665. },
  33666. "deliverygoodsname": {
  33667. "description": "现货商品名称",
  33668. "type": "string"
  33669. },
  33670. "enumdicname": {
  33671. "description": "单位名称",
  33672. "type": "string"
  33673. },
  33674. "goodsunitid": {
  33675. "description": "套保品种单位id",
  33676. "type": "integer"
  33677. },
  33678. "middlegoodscode": {
  33679. "description": "套保品种代码",
  33680. "type": "string"
  33681. },
  33682. "middlegoodsid": {
  33683. "description": "套保品种ID",
  33684. "type": "integer"
  33685. },
  33686. "middlegoodsname": {
  33687. "description": "套保品种名称",
  33688. "type": "string"
  33689. },
  33690. "modifytime": {
  33691. "description": "修改时间",
  33692. "type": "string"
  33693. },
  33694. "wrstandardid": {
  33695. "description": "品类ID",
  33696. "type": "integer"
  33697. }
  33698. }
  33699. },
  33700. "models.WRStandardInfo": {
  33701. "type": "object",
  33702. "required": [
  33703. "wrstandardid"
  33704. ],
  33705. "properties": {
  33706. "areauserid": {
  33707. "description": "所属机构",
  33708. "type": "integer"
  33709. },
  33710. "convertfactor": {
  33711. "description": "标仓系数",
  33712. "type": "number"
  33713. },
  33714. "createtime": {
  33715. "description": "创建时间",
  33716. "type": "string"
  33717. },
  33718. "creatorid": {
  33719. "description": "创建人",
  33720. "type": "integer"
  33721. },
  33722. "deliverygoodsid": {
  33723. "description": "品种ID",
  33724. "type": "integer"
  33725. },
  33726. "deliverygoodsname": {
  33727. "description": "交割商品名称",
  33728. "type": "string"
  33729. },
  33730. "factoryitemjson": {
  33731. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  33732. "type": "string"
  33733. },
  33734. "isvalid": {
  33735. "description": "是否有效 - 0:无效 1:有效",
  33736. "type": "integer"
  33737. },
  33738. "minivalue": {
  33739. "description": "最小变动值",
  33740. "type": "integer"
  33741. },
  33742. "minivaluedp": {
  33743. "description": "最小变动值小数位",
  33744. "type": "integer"
  33745. },
  33746. "realminivalue": {
  33747. "description": "实际最小变动值",
  33748. "type": "integer"
  33749. },
  33750. "realminivaluedp": {
  33751. "description": "实际最小变动值小数位",
  33752. "type": "integer"
  33753. },
  33754. "remark": {
  33755. "description": "备注",
  33756. "type": "string"
  33757. },
  33758. "unitid": {
  33759. "description": "单位ID",
  33760. "type": "integer"
  33761. },
  33762. "unitname": {
  33763. "description": "单位",
  33764. "type": "string"
  33765. },
  33766. "updatetime": {
  33767. "description": "更新时间",
  33768. "type": "string"
  33769. },
  33770. "updatorid": {
  33771. "description": "更新人",
  33772. "type": "integer"
  33773. },
  33774. "wrsstatus": {
  33775. "description": "状态 - 作废 - 0:未激活 1:正常",
  33776. "type": "integer"
  33777. },
  33778. "wrstandardcode": {
  33779. "description": "现货品类代码",
  33780. "type": "string"
  33781. },
  33782. "wrstandardid": {
  33783. "description": "现货品类ID(SEQ_WRSTANDARD)",
  33784. "type": "integer"
  33785. },
  33786. "wrstandardname": {
  33787. "description": "现货品类名称",
  33788. "type": "string"
  33789. }
  33790. }
  33791. },
  33792. "models.WRTradeBargainApply": {
  33793. "type": "object",
  33794. "properties": {
  33795. "accountid": {
  33796. "description": "摘牌资金账号",
  33797. "type": "integer"
  33798. },
  33799. "applyprice": {
  33800. "description": "申请价格(议价价格)",
  33801. "type": "string"
  33802. },
  33803. "applyqty": {
  33804. "description": "摘牌数量(议价数量)",
  33805. "type": "number"
  33806. },
  33807. "applyremark": {
  33808. "description": "申请备注",
  33809. "type": "string"
  33810. },
  33811. "applystatus": {
  33812. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  33813. "type": "integer"
  33814. },
  33815. "applytime": {
  33816. "description": "申请时间(议价时间)",
  33817. "type": "string"
  33818. },
  33819. "begindate": {
  33820. "description": "开始交易日(yyyymmdd)",
  33821. "type": "string"
  33822. },
  33823. "buyorsell": {
  33824. "description": "买卖(挂牌类型) - 0:买 1:卖",
  33825. "type": "integer"
  33826. },
  33827. "confirmremark": {
  33828. "description": "确认备注",
  33829. "type": "string"
  33830. },
  33831. "confirmtime": {
  33832. "description": "确认时间",
  33833. "type": "string"
  33834. },
  33835. "confirmuserid": {
  33836. "description": "确认人",
  33837. "type": "integer"
  33838. },
  33839. "deliverygoodscode": {
  33840. "description": "品种代码",
  33841. "type": "string"
  33842. },
  33843. "deliverygoodsid": {
  33844. "description": "品种ID",
  33845. "type": "integer"
  33846. },
  33847. "deliverygoodsname": {
  33848. "description": "品种名称",
  33849. "type": "string"
  33850. },
  33851. "deliverymonth": {
  33852. "description": "交收月",
  33853. "type": "string"
  33854. },
  33855. "enddate": {
  33856. "description": "结束交易日(yyyymmdd)",
  33857. "type": "string"
  33858. },
  33859. "enumdicname": {
  33860. "description": "单位名称",
  33861. "type": "string"
  33862. },
  33863. "fixedprice": {
  33864. "description": "挂牌价格",
  33865. "type": "number"
  33866. },
  33867. "handlestatus": {
  33868. "description": "处理状态",
  33869. "type": "integer"
  33870. },
  33871. "marginvalue": {
  33872. "description": "履约保证金比例",
  33873. "type": "number"
  33874. },
  33875. "marketid": {
  33876. "description": "市场ID",
  33877. "type": "integer"
  33878. },
  33879. "matchaccountid": {
  33880. "description": "挂牌方资金账号",
  33881. "type": "integer"
  33882. },
  33883. "matchuserid": {
  33884. "description": "挂牌方用户id",
  33885. "type": "integer"
  33886. },
  33887. "matchusername": {
  33888. "description": "挂牌方用户名称(已脱敏)",
  33889. "type": "string"
  33890. },
  33891. "minivalue": {
  33892. "description": "现货商品最小变动值",
  33893. "type": "integer"
  33894. },
  33895. "optioncompare": {
  33896. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33897. "type": "string"
  33898. },
  33899. "orderqty": {
  33900. "description": "挂牌数量",
  33901. "type": "integer"
  33902. },
  33903. "refprice": {
  33904. "description": "参考价格",
  33905. "type": "string"
  33906. },
  33907. "retcode": {
  33908. "description": "委托返回代码",
  33909. "type": "integer"
  33910. },
  33911. "templatename": {
  33912. "description": "履约方式(履约模板名称)",
  33913. "type": "string"
  33914. },
  33915. "tradedate": {
  33916. "description": "交易日(yyyyMMdd)",
  33917. "type": "string"
  33918. },
  33919. "userid": {
  33920. "description": "摘牌人用户ID(议价人ID)",
  33921. "type": "integer"
  33922. },
  33923. "username": {
  33924. "description": "议价人名字(已脱敏)",
  33925. "type": "string"
  33926. },
  33927. "validtime": {
  33928. "description": "有效期限",
  33929. "type": "string"
  33930. },
  33931. "warehouseid": {
  33932. "description": "仓库ID",
  33933. "type": "integer"
  33934. },
  33935. "warehousename": {
  33936. "description": "仓库名称",
  33937. "type": "string"
  33938. },
  33939. "wrbargainid": {
  33940. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  33941. "type": "string"
  33942. },
  33943. "wrfactortypeid": {
  33944. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33945. "type": "string"
  33946. },
  33947. "wrfactortypename": {
  33948. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33949. "type": "string"
  33950. },
  33951. "wrstandardcode": {
  33952. "description": "现货商品代码",
  33953. "type": "string"
  33954. },
  33955. "wrstandardid": {
  33956. "description": "现货商品ID",
  33957. "type": "integer"
  33958. },
  33959. "wrstandardname": {
  33960. "description": "商品名称",
  33961. "type": "string"
  33962. },
  33963. "wrtradeorderid": {
  33964. "description": "关联委托单ID",
  33965. "type": "string"
  33966. },
  33967. "wrtypename": {
  33968. "description": "商品",
  33969. "type": "string"
  33970. }
  33971. }
  33972. },
  33973. "models.Warehouseinfo": {
  33974. "type": "object",
  33975. "required": [
  33976. "autoid",
  33977. "warehousecode"
  33978. ],
  33979. "properties": {
  33980. "address": {
  33981. "description": "详细地址",
  33982. "type": "string"
  33983. },
  33984. "areauserid": {
  33985. "description": "所属机构",
  33986. "type": "integer"
  33987. },
  33988. "autoid": {
  33989. "description": "自增ID",
  33990. "type": "integer"
  33991. },
  33992. "cityid": {
  33993. "description": "市",
  33994. "type": "integer"
  33995. },
  33996. "contactname": {
  33997. "description": "联系人",
  33998. "type": "string"
  33999. },
  34000. "contactnum": {
  34001. "description": "联系电话",
  34002. "type": "string"
  34003. },
  34004. "countryid": {
  34005. "description": "国家",
  34006. "type": "integer"
  34007. },
  34008. "createtime": {
  34009. "description": "创建时间",
  34010. "type": "string"
  34011. },
  34012. "districtid": {
  34013. "description": "区",
  34014. "type": "integer"
  34015. },
  34016. "hasvideo": {
  34017. "description": "是否有视频 - 0:无 1:有",
  34018. "type": "integer"
  34019. },
  34020. "provinceid": {
  34021. "description": "省",
  34022. "type": "integer"
  34023. },
  34024. "remark": {
  34025. "description": "审核备注",
  34026. "type": "string"
  34027. },
  34028. "videourl": {
  34029. "description": "视频地址",
  34030. "type": "string"
  34031. },
  34032. "warehousecode": {
  34033. "description": "仓库代码",
  34034. "type": "string"
  34035. },
  34036. "warehousename": {
  34037. "description": "仓库名称",
  34038. "type": "string"
  34039. },
  34040. "warehousestatus": {
  34041. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  34042. "type": "integer"
  34043. },
  34044. "warehousetype": {
  34045. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  34046. "type": "integer"
  34047. }
  34048. }
  34049. },
  34050. "models.WrAverageTradePrice": {
  34051. "type": "object",
  34052. "properties": {
  34053. "averageprice": {
  34054. "description": "成交均价",
  34055. "type": "number"
  34056. },
  34057. "tradedate": {
  34058. "description": "交易日yyyymm",
  34059. "type": "string"
  34060. }
  34061. }
  34062. },
  34063. "models.WrBsGoodsInfo": {
  34064. "type": "object",
  34065. "properties": {
  34066. "buyorsell": {
  34067. "description": "买卖方向 0-买 1-卖",
  34068. "type": "integer"
  34069. },
  34070. "goodsid": {
  34071. "description": "交易合约ID",
  34072. "type": "integer"
  34073. },
  34074. "lstitem": {
  34075. "description": "商品信息项",
  34076. "type": "array",
  34077. "items": {
  34078. "$ref": "#/definitions/models.WrTypeItem"
  34079. }
  34080. },
  34081. "lststep": {
  34082. "description": "履约规则",
  34083. "type": "array",
  34084. "items": {
  34085. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34086. }
  34087. }
  34088. }
  34089. },
  34090. "models.WrBuybackDetail": {
  34091. "type": "object",
  34092. "properties": {
  34093. "buybackamount": {
  34094. "description": "回购金额",
  34095. "type": "number"
  34096. },
  34097. "buybackqty": {
  34098. "description": "回购数量",
  34099. "type": "number"
  34100. },
  34101. "buybackreleasemargin": {
  34102. "description": "回购释放保证金",
  34103. "type": "number"
  34104. },
  34105. "buybacktime": {
  34106. "description": "回购时间",
  34107. "type": "string"
  34108. },
  34109. "errordesc": {
  34110. "description": "错误描述",
  34111. "type": "string"
  34112. },
  34113. "handlestatus": {
  34114. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  34115. "type": "integer"
  34116. },
  34117. "relatedwrid": {
  34118. "description": "关联仓单ID",
  34119. "type": "integer"
  34120. },
  34121. "scfcontractid": {
  34122. "description": "SCF合同ID",
  34123. "type": "string"
  34124. },
  34125. "scfwrbuybackid": {
  34126. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  34127. "type": "integer"
  34128. },
  34129. "tradedate": {
  34130. "description": "交易日(yyyyMMdd)",
  34131. "type": "string"
  34132. }
  34133. }
  34134. },
  34135. "models.WrDeliveryAvalidHoldLB": {
  34136. "type": "object",
  34137. "properties": {
  34138. "accountid": {
  34139. "description": "资金账号",
  34140. "type": "integer"
  34141. },
  34142. "avalidqty": {
  34143. "description": "数量(可点选数量)",
  34144. "type": "number"
  34145. },
  34146. "deliverygoodsid": {
  34147. "description": "品种id",
  34148. "type": "integer"
  34149. },
  34150. "enumdicname": {
  34151. "description": "单位名称",
  34152. "type": "string"
  34153. },
  34154. "goodsid": {
  34155. "description": "x合约商品id",
  34156. "type": "integer"
  34157. },
  34158. "ladingbillid": {
  34159. "description": "提单id",
  34160. "type": "string"
  34161. },
  34162. "pgoodscode": {
  34163. "description": "p商品代码(点价合约)",
  34164. "type": "string"
  34165. },
  34166. "pgoodsid": {
  34167. "description": "p商品id(点价合约)",
  34168. "type": "integer"
  34169. },
  34170. "pgoodsname": {
  34171. "description": "p商品名称(点价合约)",
  34172. "type": "string"
  34173. },
  34174. "pricemove": {
  34175. "description": "升贴水",
  34176. "type": "number"
  34177. },
  34178. "subnum": {
  34179. "description": "提单子id",
  34180. "type": "integer"
  34181. },
  34182. "userid": {
  34183. "description": "用户id",
  34184. "type": "integer"
  34185. },
  34186. "username": {
  34187. "description": "仓单持有人",
  34188. "type": "string"
  34189. },
  34190. "warehousecode": {
  34191. "description": "仓库代码",
  34192. "type": "string"
  34193. },
  34194. "warehouseid": {
  34195. "description": "仓库id",
  34196. "type": "integer"
  34197. },
  34198. "warehousename": {
  34199. "description": "仓库名称",
  34200. "type": "string"
  34201. },
  34202. "wrfactortypeid": {
  34203. "description": "仓单要素id",
  34204. "type": "string"
  34205. },
  34206. "wrstandardcode": {
  34207. "description": "品代码",
  34208. "type": "string"
  34209. },
  34210. "wrstandardid": {
  34211. "description": "品类d",
  34212. "type": "integer"
  34213. },
  34214. "wrstandardname": {
  34215. "description": "品类名称",
  34216. "type": "string"
  34217. },
  34218. "wrtypename": {
  34219. "description": "商品",
  34220. "type": "string"
  34221. },
  34222. "xgoodscode": {
  34223. "description": "x合约代码",
  34224. "type": "string"
  34225. },
  34226. "xgoodsname": {
  34227. "description": "x合约名称",
  34228. "type": "string"
  34229. }
  34230. }
  34231. },
  34232. "models.WrDeliveryDetail": {
  34233. "type": "object",
  34234. "properties": {
  34235. "accountid": {
  34236. "description": "账号ID",
  34237. "type": "integer"
  34238. },
  34239. "averageprice": {
  34240. "description": "交割均价 = 交割金额 / 交割数量",
  34241. "type": "number"
  34242. },
  34243. "begindate": {
  34244. "description": "开始交易日(yyyymmdd)",
  34245. "type": "string"
  34246. },
  34247. "buyorsell": {
  34248. "description": "方向 - 0:买 1:卖",
  34249. "type": "integer"
  34250. },
  34251. "deliveryamount": {
  34252. "description": "货款金额(X总货款+P总货款)",
  34253. "type": "number"
  34254. },
  34255. "deliveryid": {
  34256. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  34257. "type": "string"
  34258. },
  34259. "deliveryorderid": {
  34260. "description": "申报单号",
  34261. "type": "string"
  34262. },
  34263. "deliverypricemove": {
  34264. "description": "升贴水(升贴水总额)",
  34265. "type": "number"
  34266. },
  34267. "deliveryqty": {
  34268. "description": "交收数量(点选数量)",
  34269. "type": "number"
  34270. },
  34271. "deliverystatus": {
  34272. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  34273. "type": "integer"
  34274. },
  34275. "deliverytime": {
  34276. "description": "交割时间",
  34277. "type": "string"
  34278. },
  34279. "deliverytotalamount": {
  34280. "description": "交收金额",
  34281. "type": "number"
  34282. },
  34283. "enddate": {
  34284. "description": "结束交易日(yyyymmdd)",
  34285. "type": "string"
  34286. },
  34287. "enumdicname": {
  34288. "description": "单位名称",
  34289. "type": "string"
  34290. },
  34291. "matchaccountid": {
  34292. "description": "对手账号ID",
  34293. "type": "integer"
  34294. },
  34295. "matchusername": {
  34296. "description": "对手方名称(仓单持有人)",
  34297. "type": "string"
  34298. },
  34299. "p1goodsremainamount": {
  34300. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  34301. "type": "number"
  34302. },
  34303. "pdeliverycloseqty": {
  34304. "description": "p合约平仓数量",
  34305. "type": "number"
  34306. },
  34307. "pdeliveryprice": {
  34308. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  34309. "type": "number"
  34310. },
  34311. "pgoodscode": {
  34312. "description": "商品代码",
  34313. "type": "string"
  34314. },
  34315. "pgoodsid": {
  34316. "description": "p点选合约id",
  34317. "type": "integer"
  34318. },
  34319. "pgoodsname": {
  34320. "description": "商品名称",
  34321. "type": "string"
  34322. },
  34323. "ppricemode": {
  34324. "description": "点价价格方式 - 1:商品价 2:固定值",
  34325. "type": "integer"
  34326. },
  34327. "tradedate": {
  34328. "description": "交易日(yyyymmdd)",
  34329. "type": "string"
  34330. },
  34331. "userid": {
  34332. "description": "用户id",
  34333. "type": "integer"
  34334. },
  34335. "username": {
  34336. "description": "用户名称",
  34337. "type": "string"
  34338. },
  34339. "warehousename": {
  34340. "description": "仓库名称",
  34341. "type": "string"
  34342. },
  34343. "wrfactortypeid": {
  34344. "description": "仓单要素类型ID",
  34345. "type": "string"
  34346. },
  34347. "wrtypename": {
  34348. "description": "商品",
  34349. "type": "string"
  34350. },
  34351. "xdeliverycloseqty": {
  34352. "description": "合约数量",
  34353. "type": "number"
  34354. },
  34355. "xgoodsamount": {
  34356. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  34357. "type": "number"
  34358. },
  34359. "xgoodscode": {
  34360. "description": "商品代码",
  34361. "type": "string"
  34362. },
  34363. "xgoodsid": {
  34364. "description": "x交易合约ID",
  34365. "type": "integer"
  34366. },
  34367. "xgoodsname": {
  34368. "description": "商品名称",
  34369. "type": "string"
  34370. }
  34371. }
  34372. },
  34373. "models.WrDeliveryGoodsSection": {
  34374. "type": "object",
  34375. "properties": {
  34376. "dglst": {
  34377. "description": "板块商品列表",
  34378. "type": "array",
  34379. "items": {
  34380. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  34381. }
  34382. },
  34383. "imagepath": {
  34384. "description": "图片地址",
  34385. "type": "string"
  34386. },
  34387. "orderindex": {
  34388. "description": "排序",
  34389. "type": "integer"
  34390. },
  34391. "sectionid": {
  34392. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  34393. "type": "integer"
  34394. },
  34395. "sectionname": {
  34396. "description": "版块名称",
  34397. "type": "string"
  34398. },
  34399. "sectiontype": {
  34400. "description": "版块类型 - 1:指数版块 2:普通版块",
  34401. "type": "integer"
  34402. }
  34403. }
  34404. },
  34405. "models.WrDeliveryGoodsSectionConfig": {
  34406. "type": "object",
  34407. "properties": {
  34408. "deliverygoodscode": {
  34409. "description": "现货商品代码",
  34410. "type": "string"
  34411. },
  34412. "deliverygoodsid": {
  34413. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  34414. "type": "integer"
  34415. },
  34416. "deliverygoodsname": {
  34417. "description": "现货商品名称",
  34418. "type": "string"
  34419. },
  34420. "orderindex": {
  34421. "description": "排序",
  34422. "type": "integer"
  34423. }
  34424. }
  34425. },
  34426. "models.WrFAProductDetail": {
  34427. "type": "object",
  34428. "properties": {
  34429. "accountid": {
  34430. "description": "资金账号",
  34431. "type": "integer"
  34432. },
  34433. "areauserid": {
  34434. "description": "金融机构ID",
  34435. "type": "integer"
  34436. },
  34437. "financingdays": {
  34438. "description": "天数(天)",
  34439. "type": "integer"
  34440. },
  34441. "interestminlen": {
  34442. "description": "最小起息天数",
  34443. "type": "integer"
  34444. },
  34445. "interestrate": {
  34446. "description": "利率",
  34447. "type": "number"
  34448. },
  34449. "interestratemode": {
  34450. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34451. "type": "integer"
  34452. },
  34453. "interestsettlemode": {
  34454. "description": "结息方式 - 1:按日结息 3:按月结息",
  34455. "type": "integer"
  34456. },
  34457. "interestsettlevalue": {
  34458. "description": "结息方式值",
  34459. "type": "integer"
  34460. },
  34461. "isautoloan": {
  34462. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  34463. "type": "integer"
  34464. },
  34465. "loantag": {
  34466. "description": "放款标识: \"放款快\" 或者为空",
  34467. "type": "string"
  34468. },
  34469. "marginratio": {
  34470. "description": "保证金比率质押率 - [仓单质押]",
  34471. "type": "number"
  34472. },
  34473. "productdetailid": {
  34474. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  34475. "type": "integer"
  34476. },
  34477. "productid": {
  34478. "description": "金融产品ID",
  34479. "type": "integer"
  34480. },
  34481. "productname": {
  34482. "description": "产品名称",
  34483. "type": "string"
  34484. },
  34485. "updatetime": {
  34486. "description": "更新时间",
  34487. "type": "string"
  34488. },
  34489. "username": {
  34490. "description": "融出方",
  34491. "type": "string"
  34492. }
  34493. }
  34494. },
  34495. "models.WrFactorTypeInfo": {
  34496. "type": "object",
  34497. "properties": {
  34498. "deliverygoodscode": {
  34499. "description": "品种代码",
  34500. "type": "string"
  34501. },
  34502. "deliverygoodsname": {
  34503. "description": "品种名称",
  34504. "type": "string"
  34505. },
  34506. "dgfactoryitemid": {
  34507. "description": "选择项id",
  34508. "type": "integer"
  34509. },
  34510. "dgfactoryitemtypeid": {
  34511. "description": "要素选择项ID (1-仓库 2-品牌)",
  34512. "type": "integer"
  34513. },
  34514. "dgfactoryitemvalue": {
  34515. "description": "要素项值",
  34516. "type": "string"
  34517. },
  34518. "itemtypename": {
  34519. "description": "要素项名称",
  34520. "type": "string"
  34521. },
  34522. "optioncompare": {
  34523. "description": "选择比较串",
  34524. "type": "string"
  34525. },
  34526. "warehouseid": {
  34527. "description": "仓库id",
  34528. "type": "integer"
  34529. },
  34530. "wrfactortypeid": {
  34531. "description": "仓单要素ID",
  34532. "type": "string"
  34533. },
  34534. "wrfactortypename": {
  34535. "description": "要素名称",
  34536. "type": "string"
  34537. },
  34538. "wrfactortypename2": {
  34539. "description": "要素名称(不含仓库)",
  34540. "type": "string"
  34541. },
  34542. "wrstandardcode": {
  34543. "description": "品类代码",
  34544. "type": "string"
  34545. },
  34546. "wrstandardid": {
  34547. "description": "品类id",
  34548. "type": "integer"
  34549. },
  34550. "wrstandardname": {
  34551. "description": "品类名称",
  34552. "type": "string"
  34553. }
  34554. }
  34555. },
  34556. "models.WrFilterItem": {
  34557. "type": "object",
  34558. "properties": {
  34559. "itemcode": {
  34560. "description": "代码",
  34561. "type": "string"
  34562. },
  34563. "itemid": {
  34564. "description": "项id",
  34565. "type": "integer"
  34566. },
  34567. "itemname": {
  34568. "description": "名称",
  34569. "type": "string"
  34570. },
  34571. "itemtype": {
  34572. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  34573. "type": "integer"
  34574. }
  34575. }
  34576. },
  34577. "models.WrFinanceBuyApply": {
  34578. "type": "object",
  34579. "properties": {
  34580. "applydate": {
  34581. "description": "申请时间",
  34582. "type": "string"
  34583. },
  34584. "applystatus": {
  34585. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  34586. "type": "integer"
  34587. },
  34588. "applyuserid": {
  34589. "description": "申请人",
  34590. "type": "integer"
  34591. },
  34592. "auditdate": {
  34593. "description": "审核时间",
  34594. "type": "string"
  34595. },
  34596. "auditremark": {
  34597. "description": "审核备注",
  34598. "type": "string"
  34599. },
  34600. "audituserid": {
  34601. "description": "审核人",
  34602. "type": "integer"
  34603. },
  34604. "buyaccountid": {
  34605. "description": "买方资金账号",
  34606. "type": "integer"
  34607. },
  34608. "buyorsell": {
  34609. "description": "买卖 - 0:买 1:卖",
  34610. "type": "integer"
  34611. },
  34612. "buyuserid": {
  34613. "description": "买方用户ID",
  34614. "type": "integer"
  34615. },
  34616. "buyusername": {
  34617. "description": "买方名称",
  34618. "type": "string"
  34619. },
  34620. "buywrtradeorderid": {
  34621. "description": "融资方买委托单ID",
  34622. "type": "string"
  34623. },
  34624. "deliverygoodscode": {
  34625. "description": "品种代码",
  34626. "type": "string"
  34627. },
  34628. "deliverygoodsid": {
  34629. "description": "品种ID",
  34630. "type": "integer"
  34631. },
  34632. "deliverygoodsname": {
  34633. "description": "品种名称",
  34634. "type": "string"
  34635. },
  34636. "deliverymonth": {
  34637. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  34638. "type": "string"
  34639. },
  34640. "enumdicname": {
  34641. "description": "单位名称",
  34642. "type": "string"
  34643. },
  34644. "financeaccountid": {
  34645. "description": "融资方资金帐户ID",
  34646. "type": "integer"
  34647. },
  34648. "financeapplyid": {
  34649. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34650. "type": "string"
  34651. },
  34652. "financeareauserid": {
  34653. "description": "融资方用户ID",
  34654. "type": "string"
  34655. },
  34656. "financename": {
  34657. "description": "融出方名称",
  34658. "type": "string"
  34659. },
  34660. "financetype": {
  34661. "description": "融资类型 1-融资回购",
  34662. "type": "integer"
  34663. },
  34664. "financingdays": {
  34665. "description": "天数(天)",
  34666. "type": "integer"
  34667. },
  34668. "freezebuymargin": {
  34669. "description": "冻结融资保证金(买方)",
  34670. "type": "number"
  34671. },
  34672. "handleremark": {
  34673. "description": "处理备注",
  34674. "type": "string"
  34675. },
  34676. "handlestatus": {
  34677. "description": "处理状态",
  34678. "type": "integer"
  34679. },
  34680. "interestminlen": {
  34681. "description": "最小起息天数",
  34682. "type": "integer"
  34683. },
  34684. "interestrate": {
  34685. "description": "利率",
  34686. "type": "number"
  34687. },
  34688. "interestratemode": {
  34689. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34690. "type": "integer"
  34691. },
  34692. "interestsettlemode": {
  34693. "description": "结息方式 - 1:按日结息 3:按月结息",
  34694. "type": "integer"
  34695. },
  34696. "interestsettlevalue": {
  34697. "description": "结息方式值",
  34698. "type": "integer"
  34699. },
  34700. "isautoloan": {
  34701. "description": "是否自动放款 - 0:手动 1:自动",
  34702. "type": "integer"
  34703. },
  34704. "marginratio": {
  34705. "description": "保证金比率质押率 - [仓单质押]",
  34706. "type": "number"
  34707. },
  34708. "marketid": {
  34709. "description": "市场ID",
  34710. "type": "integer"
  34711. },
  34712. "minivalue": {
  34713. "description": "现货商品最小变动值",
  34714. "type": "integer"
  34715. },
  34716. "optioncompare": {
  34717. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34718. "type": "string"
  34719. },
  34720. "orderqty": {
  34721. "description": "委托数量(商品数量)",
  34722. "type": "number"
  34723. },
  34724. "productdetailid": {
  34725. "description": "产品组合ID",
  34726. "type": "integer"
  34727. },
  34728. "productid": {
  34729. "description": "金融产品ID",
  34730. "type": "integer"
  34731. },
  34732. "productname": {
  34733. "description": "产品名称",
  34734. "type": "string"
  34735. },
  34736. "remark": {
  34737. "description": "备注",
  34738. "type": "string"
  34739. },
  34740. "scfcontractid": {
  34741. "description": "仓单回购合同ID",
  34742. "type": "string"
  34743. },
  34744. "sellaccountid": {
  34745. "description": "卖方资金账号",
  34746. "type": "integer"
  34747. },
  34748. "selluserid": {
  34749. "description": "卖方用户ID",
  34750. "type": "integer"
  34751. },
  34752. "sellwrtradeorderid": {
  34753. "description": "卖方委托单ID",
  34754. "type": "string"
  34755. },
  34756. "tradeamount": {
  34757. "description": "成交金额(借款金额)",
  34758. "type": "number"
  34759. },
  34760. "tradedate": {
  34761. "description": "交易日(yyyyMMdd)",
  34762. "type": "string"
  34763. },
  34764. "tradeprice": {
  34765. "description": "成交价格",
  34766. "type": "number"
  34767. },
  34768. "warehouseid": {
  34769. "description": "仓库ID",
  34770. "type": "integer"
  34771. },
  34772. "warehousename": {
  34773. "description": "仓库名称",
  34774. "type": "string"
  34775. },
  34776. "wrfactortypeid": {
  34777. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34778. "type": "string"
  34779. },
  34780. "wrfactortypename": {
  34781. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34782. "type": "string"
  34783. },
  34784. "wrpricetype": {
  34785. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  34786. "type": "integer"
  34787. },
  34788. "wrstandardcode": {
  34789. "description": "现货商品代码",
  34790. "type": "string"
  34791. },
  34792. "wrstandardid": {
  34793. "description": "现货商品ID",
  34794. "type": "integer"
  34795. },
  34796. "wrstandardname": {
  34797. "description": "商品名称",
  34798. "type": "string"
  34799. },
  34800. "wrtypename": {
  34801. "description": "商品",
  34802. "type": "string"
  34803. }
  34804. }
  34805. },
  34806. "models.WrFriendApply": {
  34807. "type": "object",
  34808. "properties": {
  34809. "applicantid": {
  34810. "description": "申请人",
  34811. "type": "integer"
  34812. },
  34813. "applyname": {
  34814. "description": "申请人名称",
  34815. "type": "string"
  34816. },
  34817. "applysrc": {
  34818. "description": "申请来源 - 1:管理端 2:终端",
  34819. "type": "integer"
  34820. },
  34821. "applystatus": {
  34822. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  34823. "type": "integer"
  34824. },
  34825. "applytime": {
  34826. "description": "申请时间",
  34827. "type": "string"
  34828. },
  34829. "auditname": {
  34830. "description": "审核人名称",
  34831. "type": "string"
  34832. },
  34833. "auditorid": {
  34834. "description": "审核人",
  34835. "type": "integer"
  34836. },
  34837. "auditremark": {
  34838. "description": "审核备注",
  34839. "type": "string"
  34840. },
  34841. "auditsrc": {
  34842. "description": "审核来源 - 1:管理端 2:终端",
  34843. "type": "integer"
  34844. },
  34845. "audittime": {
  34846. "description": "审核时间",
  34847. "type": "string"
  34848. },
  34849. "friendapplyid": {
  34850. "description": "申请ID(SEQ_FRIENDAPPLY)",
  34851. "type": "string"
  34852. },
  34853. "friendname": {
  34854. "description": "好友名字(已脱敏)",
  34855. "type": "string"
  34856. },
  34857. "frienduserid": {
  34858. "description": "好友用户ID",
  34859. "type": "string"
  34860. },
  34861. "remark": {
  34862. "description": "备注",
  34863. "type": "string"
  34864. },
  34865. "userid": {
  34866. "description": "申请人用户ID",
  34867. "type": "integer"
  34868. }
  34869. }
  34870. },
  34871. "models.WrFtDeliveryGoods": {
  34872. "type": "object",
  34873. "properties": {
  34874. "deliverygoodscode": {
  34875. "description": "品种代码",
  34876. "type": "string"
  34877. },
  34878. "deliverygoodsid": {
  34879. "description": "品种ID",
  34880. "type": "integer"
  34881. },
  34882. "deliverygoodsname": {
  34883. "description": "品种名称",
  34884. "type": "string"
  34885. },
  34886. "wdlst": {
  34887. "description": "商品列表",
  34888. "type": "array",
  34889. "items": {
  34890. "$ref": "#/definitions/models.WrFtWrstandard"
  34891. }
  34892. }
  34893. }
  34894. },
  34895. "models.WrFtWrstandard": {
  34896. "type": "object",
  34897. "properties": {
  34898. "enumdicname": {
  34899. "description": "单位名称",
  34900. "type": "string"
  34901. },
  34902. "minivalue": {
  34903. "description": "最小变动值",
  34904. "type": "integer"
  34905. },
  34906. "wrstandardcode": {
  34907. "description": "现货商品代码",
  34908. "type": "string"
  34909. },
  34910. "wrstandardid": {
  34911. "description": "现货商品ID",
  34912. "type": "integer"
  34913. },
  34914. "wrstandardname": {
  34915. "description": "商品名称",
  34916. "type": "string"
  34917. }
  34918. }
  34919. },
  34920. "models.WrGoodsInfo": {
  34921. "type": "object",
  34922. "properties": {
  34923. "haswr": {
  34924. "description": "0:仓单预售 1:仓单贸易",
  34925. "type": "integer"
  34926. },
  34927. "lstitem": {
  34928. "description": "商品信息项",
  34929. "type": "array",
  34930. "items": {
  34931. "$ref": "#/definitions/models.WrTypeItem"
  34932. }
  34933. },
  34934. "lststep": {
  34935. "description": "履约规则",
  34936. "type": "array",
  34937. "items": {
  34938. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34939. }
  34940. },
  34941. "marketid": {
  34942. "description": "市场id",
  34943. "type": "integer"
  34944. }
  34945. }
  34946. },
  34947. "models.WrGoodsPerformanceStep": {
  34948. "type": "object",
  34949. "properties": {
  34950. "autoid": {
  34951. "description": "AutoID",
  34952. "type": "integer"
  34953. },
  34954. "isauto": {
  34955. "description": "是否自动 - 0:不自动 1:自动",
  34956. "type": "integer"
  34957. },
  34958. "remark": {
  34959. "description": "备注",
  34960. "type": "string"
  34961. },
  34962. "stepdate": {
  34963. "description": "天数信息(T+N)",
  34964. "type": "string"
  34965. },
  34966. "stepdays": {
  34967. "description": "距离上一步天数",
  34968. "type": "integer"
  34969. },
  34970. "stepindex": {
  34971. "description": "步骤序号",
  34972. "type": "integer"
  34973. },
  34974. "stepinfo": {
  34975. "description": "步骤信息(步骤名称+步骤值)",
  34976. "type": "string"
  34977. },
  34978. "steptypeid": {
  34979. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34980. "type": "integer"
  34981. },
  34982. "steptypename": {
  34983. "description": "步骤名称",
  34984. "type": "string"
  34985. },
  34986. "stepvalue": {
  34987. "description": "步骤值",
  34988. "type": "number"
  34989. },
  34990. "templateid": {
  34991. "description": "履约计划模板ID",
  34992. "type": "integer"
  34993. }
  34994. }
  34995. },
  34996. "models.WrHoldLB": {
  34997. "type": "object",
  34998. "properties": {
  34999. "accountid": {
  35000. "description": "持有人帐户ID",
  35001. "type": "integer"
  35002. },
  35003. "createtime": {
  35004. "description": "创建时间(过户时间)",
  35005. "type": "string"
  35006. },
  35007. "deliverygoodscode": {
  35008. "description": "品种代码",
  35009. "type": "string"
  35010. },
  35011. "deliverygoodsid": {
  35012. "description": "品种ID",
  35013. "type": "integer"
  35014. },
  35015. "deliverygoodsname": {
  35016. "description": "品种名称",
  35017. "type": "string"
  35018. },
  35019. "enableqty": {
  35020. "description": "可用数量",
  35021. "type": "number"
  35022. },
  35023. "enumdicname": {
  35024. "description": "单位名称",
  35025. "type": "string"
  35026. },
  35027. "freezerqty": {
  35028. "description": "冻结数量",
  35029. "type": "number"
  35030. },
  35031. "ladingbillid": {
  35032. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  35033. "type": "string"
  35034. },
  35035. "minivalue": {
  35036. "description": "现货商品最小变动值",
  35037. "type": "integer"
  35038. },
  35039. "optioncompare": {
  35040. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35041. "type": "string"
  35042. },
  35043. "parentsubnum": {
  35044. "description": "拆分父子单号",
  35045. "type": "integer"
  35046. },
  35047. "pledgeqty": {
  35048. "description": "质押数量",
  35049. "type": "number"
  35050. },
  35051. "qty": {
  35052. "description": "数量",
  35053. "type": "number"
  35054. },
  35055. "subnum": {
  35056. "description": "提单子单号",
  35057. "type": "integer"
  35058. },
  35059. "tradedate": {
  35060. "description": "交易日(yyyyMMdd)",
  35061. "type": "string"
  35062. },
  35063. "userid": {
  35064. "description": "持有人ID",
  35065. "type": "integer"
  35066. },
  35067. "warehouseid": {
  35068. "description": "仓库ID",
  35069. "type": "integer"
  35070. },
  35071. "warehousename": {
  35072. "description": "仓库名称",
  35073. "type": "string"
  35074. },
  35075. "wrfactortypeid": {
  35076. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35077. "type": "string"
  35078. },
  35079. "wrfactortypename": {
  35080. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35081. "type": "string"
  35082. },
  35083. "wrholdeno": {
  35084. "description": "仓单编号",
  35085. "type": "string"
  35086. },
  35087. "wrid": {
  35088. "description": "仓单变更ID",
  35089. "type": "string"
  35090. },
  35091. "wrstandardcode": {
  35092. "description": "现货商品代码",
  35093. "type": "string"
  35094. },
  35095. "wrstandardid": {
  35096. "description": "现货商品ID",
  35097. "type": "integer"
  35098. },
  35099. "wrstandardname": {
  35100. "description": "商品名称",
  35101. "type": "string"
  35102. },
  35103. "wrtypename": {
  35104. "description": "商品",
  35105. "type": "string"
  35106. }
  35107. }
  35108. },
  35109. "models.WrMarketTradeConfig": {
  35110. "type": "object",
  35111. "properties": {
  35112. "basisdownratio": {
  35113. "description": "浮动价基差下限比例(仓单贸易)",
  35114. "type": "number"
  35115. },
  35116. "basisupratio": {
  35117. "description": "浮动价基差上限比例(仓单贸易)",
  35118. "type": "number"
  35119. },
  35120. "buychargealgorithm": {
  35121. "description": "买方手续费收取方式 1:比率 2:固定",
  35122. "type": "integer"
  35123. },
  35124. "buychargealgorithm2": {
  35125. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  35126. "type": "integer"
  35127. },
  35128. "buychargealgorithmvalue": {
  35129. "description": "买方手续费设置值(交易所部分)",
  35130. "type": "number"
  35131. },
  35132. "buychargealgorithmvalue2": {
  35133. "description": "买方手续费设置值(会员部分)",
  35134. "type": "number"
  35135. },
  35136. "buychargealgorithmvalue3": {
  35137. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  35138. "type": "number"
  35139. },
  35140. "buychargealgorithmvalue4": {
  35141. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  35142. "type": "number"
  35143. },
  35144. "buyfirstmarginalgorithm": {
  35145. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  35146. "type": "integer"
  35147. },
  35148. "buyfirstmarginvalue": {
  35149. "description": "买方出价保证金设置值 - [竞拍]",
  35150. "type": "number"
  35151. },
  35152. "buymarginalgorithm": {
  35153. "description": "买方保证金方式 - 1:比率 2:固定",
  35154. "type": "integer"
  35155. },
  35156. "buymarginvalue": {
  35157. "description": "买方保证金设置值",
  35158. "type": "number"
  35159. },
  35160. "buyreleaseratio": {
  35161. "description": "买方释放比率[2:分步履约]",
  35162. "type": "number"
  35163. },
  35164. "executemode": {
  35165. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  35166. "type": "integer"
  35167. },
  35168. "executeside": {
  35169. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  35170. "type": "integer"
  35171. },
  35172. "failedchargealgorithm": {
  35173. "description": "流拍手续费收取方式 1:比率 2:固定",
  35174. "type": "integer"
  35175. },
  35176. "failedchargevalue": {
  35177. "description": "流拍手续费设置值",
  35178. "type": "number"
  35179. },
  35180. "failedchargevalue2": {
  35181. "description": "流拍卖方手续费设置值",
  35182. "type": "number"
  35183. },
  35184. "holddays": {
  35185. "description": "合同期限[2:分步履约]",
  35186. "type": "integer"
  35187. },
  35188. "marketid": {
  35189. "description": "市场ID-仓单贸易、竞拍、预售",
  35190. "type": "integer"
  35191. },
  35192. "minqty": {
  35193. "description": "最小执行量[2:分步履约]",
  35194. "type": "number"
  35195. },
  35196. "modifierid": {
  35197. "description": "修改人",
  35198. "type": "integer"
  35199. },
  35200. "performancetempid": {
  35201. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  35202. "type": "integer"
  35203. },
  35204. "performancetempid2": {
  35205. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  35206. "type": "integer"
  35207. },
  35208. "performancetempid2s": {
  35209. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  35210. "type": "string"
  35211. },
  35212. "performancetempids": {
  35213. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  35214. "type": "string"
  35215. },
  35216. "performanceway": {
  35217. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  35218. "type": "integer"
  35219. },
  35220. "sellchargealgorithm": {
  35221. "description": "卖方手续费收取方式 1:比率 2:固定",
  35222. "type": "integer"
  35223. },
  35224. "sellchargealgorithm2": {
  35225. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  35226. "type": "integer"
  35227. },
  35228. "sellchargealgorithmvalue": {
  35229. "description": "卖方手续费设置值(交易所部分)",
  35230. "type": "number"
  35231. },
  35232. "sellchargealgorithmvalue2": {
  35233. "description": "卖方手续费设置值(会员部分)",
  35234. "type": "number"
  35235. },
  35236. "sellchargealgorithmvalue3": {
  35237. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  35238. "type": "number"
  35239. },
  35240. "sellchargealgorithmvalue4": {
  35241. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  35242. "type": "number"
  35243. },
  35244. "sellmarginalgorithm": {
  35245. "description": "卖方保证金方式 - 1:比率 2:固定",
  35246. "type": "integer"
  35247. },
  35248. "sellmarginvalue": {
  35249. "description": "卖方保证金设置值",
  35250. "type": "number"
  35251. },
  35252. "sellmarginvalue2": {
  35253. "description": "卖方保证金设置值(无仓单)",
  35254. "type": "number"
  35255. },
  35256. "sellreleaseratio": {
  35257. "description": "卖方释放比率[2:分步履约]",
  35258. "type": "number"
  35259. },
  35260. "updatetime": {
  35261. "description": "更新时间",
  35262. "type": "string"
  35263. }
  35264. }
  35265. },
  35266. "models.WrOrderDetail": {
  35267. "type": "object",
  35268. "properties": {
  35269. "accountid": {
  35270. "description": "交易账号(资金账号)",
  35271. "type": "integer"
  35272. },
  35273. "allfriendsflag": {
  35274. "description": "是否全好友可见 - 0:否 1:是",
  35275. "type": "integer"
  35276. },
  35277. "amount": {
  35278. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  35279. "type": "number"
  35280. },
  35281. "begindate": {
  35282. "description": "开始交易日(yyyymmdd)",
  35283. "type": "string"
  35284. },
  35285. "buyorsell": {
  35286. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  35287. "type": "integer"
  35288. },
  35289. "canbargain": {
  35290. "description": "是否可议价 - 0:不可 1:可",
  35291. "type": "integer"
  35292. },
  35293. "cancelqty": {
  35294. "description": "撤销数量",
  35295. "type": "number"
  35296. },
  35297. "canpart": {
  35298. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  35299. "type": "integer"
  35300. },
  35301. "delistminqty": {
  35302. "description": "起摘数量",
  35303. "type": "integer"
  35304. },
  35305. "deliverygoodscode": {
  35306. "description": "品种代码",
  35307. "type": "string"
  35308. },
  35309. "deliverygoodsid": {
  35310. "description": "品种ID",
  35311. "type": "integer"
  35312. },
  35313. "deliverygoodsname": {
  35314. "description": "品种名称",
  35315. "type": "string"
  35316. },
  35317. "deliverymonth": {
  35318. "description": "交收月",
  35319. "type": "string"
  35320. },
  35321. "enddate": {
  35322. "description": "结束交易日(yyyymmdd)",
  35323. "type": "string"
  35324. },
  35325. "enumdicname": {
  35326. "description": "单位名称",
  35327. "type": "string"
  35328. },
  35329. "fixedprice": {
  35330. "description": "固定价格 - [挂牌]",
  35331. "type": "number"
  35332. },
  35333. "freezecharge": {
  35334. "description": "冻结手续费",
  35335. "type": "number"
  35336. },
  35337. "freezemargin": {
  35338. "description": "冻结保证金(保证金)",
  35339. "type": "number"
  35340. },
  35341. "futupricemove": {
  35342. "description": "期货升贴水",
  35343. "type": "number"
  35344. },
  35345. "futushow": {
  35346. "description": "期货合约/升贴水",
  35347. "type": "string"
  35348. },
  35349. "goodscode": {
  35350. "description": "期货合约",
  35351. "type": "string"
  35352. },
  35353. "goodsid": {
  35354. "description": "期货商品id",
  35355. "type": "integer"
  35356. },
  35357. "goodsname": {
  35358. "description": "商品名称",
  35359. "type": "string"
  35360. },
  35361. "haswr": {
  35362. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35363. "type": "integer"
  35364. },
  35365. "isspecified": {
  35366. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  35367. "type": "integer"
  35368. },
  35369. "ladingbillid": {
  35370. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  35371. "type": "string"
  35372. },
  35373. "marginvalue": {
  35374. "description": "保证金设置值(履约保证金)",
  35375. "type": "number"
  35376. },
  35377. "marketid": {
  35378. "description": "市场ID",
  35379. "type": "integer"
  35380. },
  35381. "matchusername": {
  35382. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  35383. "type": "string"
  35384. },
  35385. "minivalue": {
  35386. "description": "现货商品最小变动值",
  35387. "type": "integer"
  35388. },
  35389. "optioncompare": {
  35390. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35391. "type": "string"
  35392. },
  35393. "orderqty": {
  35394. "description": "委托数量",
  35395. "type": "number"
  35396. },
  35397. "ordertime": {
  35398. "description": "委托时间(挂牌时间)",
  35399. "type": "string"
  35400. },
  35401. "performancetemplateid": {
  35402. "description": "履约模板id",
  35403. "type": "integer"
  35404. },
  35405. "pricemove": {
  35406. "description": "升贴水(浮动价时填写) - [挂牌]",
  35407. "type": "number"
  35408. },
  35409. "taname": {
  35410. "description": "交易用户名称(资金账号名称)",
  35411. "type": "string"
  35412. },
  35413. "tradedate": {
  35414. "description": "交易日(yyyyMMdd)",
  35415. "type": "string"
  35416. },
  35417. "tradeprice": {
  35418. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  35419. "type": "number"
  35420. },
  35421. "tradeqty": {
  35422. "description": "成交数量",
  35423. "type": "number"
  35424. },
  35425. "userid": {
  35426. "description": "用户ID",
  35427. "type": "integer"
  35428. },
  35429. "validtime": {
  35430. "description": "挂牌有效期",
  35431. "type": "string"
  35432. },
  35433. "validtype": {
  35434. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  35435. "type": "integer"
  35436. },
  35437. "warehouseid": {
  35438. "description": "仓库ID",
  35439. "type": "integer"
  35440. },
  35441. "warehousename": {
  35442. "description": "仓库名称",
  35443. "type": "string"
  35444. },
  35445. "wrfactortypeid": {
  35446. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35447. "type": "string"
  35448. },
  35449. "wrfactortypename": {
  35450. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35451. "type": "string"
  35452. },
  35453. "wrpricetype": {
  35454. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  35455. "type": "integer"
  35456. },
  35457. "wrstandardcode": {
  35458. "description": "现货商品代码",
  35459. "type": "string"
  35460. },
  35461. "wrstandardid": {
  35462. "description": "现货商品ID",
  35463. "type": "integer"
  35464. },
  35465. "wrstandardname": {
  35466. "description": "商品名称",
  35467. "type": "string"
  35468. },
  35469. "wrtradeorderid": {
  35470. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35471. "type": "string"
  35472. },
  35473. "wrtradeorderstatus": {
  35474. "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:撤单解冻贷款失败",
  35475. "type": "integer"
  35476. },
  35477. "wrtradetype": {
  35478. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  35479. "type": "integer"
  35480. },
  35481. "wrtypename": {
  35482. "description": "商品",
  35483. "type": "string"
  35484. }
  35485. }
  35486. },
  35487. "models.WrOrderQuote": {
  35488. "type": "object",
  35489. "properties": {
  35490. "buyprice": {
  35491. "description": "买价",
  35492. "type": "number"
  35493. },
  35494. "buypricemove": {
  35495. "description": "买升贴水(基差)",
  35496. "type": "number"
  35497. },
  35498. "buyqty": {
  35499. "description": "买量",
  35500. "type": "number"
  35501. },
  35502. "deliverygoodscode": {
  35503. "description": "品种代码",
  35504. "type": "string"
  35505. },
  35506. "deliverygoodsid": {
  35507. "description": "品种id",
  35508. "type": "integer"
  35509. },
  35510. "deliverygoodsname": {
  35511. "description": "品种名称",
  35512. "type": "string"
  35513. },
  35514. "deliverymonth": {
  35515. "description": "交收月",
  35516. "type": "string"
  35517. },
  35518. "enumdicname": {
  35519. "description": "单位名称",
  35520. "type": "string"
  35521. },
  35522. "goodscode": {
  35523. "description": "商品合约(浮动价列表才有)",
  35524. "type": "string"
  35525. },
  35526. "goodsid": {
  35527. "description": "商品id(浮动价列表才有)",
  35528. "type": "integer"
  35529. },
  35530. "minivalue": {
  35531. "description": "现货商品最小变动值",
  35532. "type": "integer"
  35533. },
  35534. "sellprice": {
  35535. "description": "卖价",
  35536. "type": "number"
  35537. },
  35538. "sellpricemove": {
  35539. "description": "卖升贴水(基差)",
  35540. "type": "number"
  35541. },
  35542. "sellqty": {
  35543. "description": "卖量",
  35544. "type": "number"
  35545. },
  35546. "warehousecode": {
  35547. "description": "仓库代码",
  35548. "type": "string"
  35549. },
  35550. "warehouseid": {
  35551. "description": "仓库id",
  35552. "type": "integer"
  35553. },
  35554. "warehousename": {
  35555. "description": "仓库名称",
  35556. "type": "string"
  35557. },
  35558. "wrfactortypeid": {
  35559. "description": "仓单要素id",
  35560. "type": "string"
  35561. },
  35562. "wrfactortypename": {
  35563. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35564. "type": "string"
  35565. },
  35566. "wrgoodsname": {
  35567. "description": "商品(商品名称+仓库要素名称 拼接)",
  35568. "type": "string"
  35569. },
  35570. "wrstandardcode": {
  35571. "description": "商品代码",
  35572. "type": "string"
  35573. },
  35574. "wrstandardid": {
  35575. "description": "商品id",
  35576. "type": "integer"
  35577. },
  35578. "wrstandardname": {
  35579. "description": "商品名称",
  35580. "type": "string"
  35581. }
  35582. }
  35583. },
  35584. "models.WrOrderQuoteDetail": {
  35585. "type": "object",
  35586. "properties": {
  35587. "buyorsell": {
  35588. "description": "买卖 - 0:买 1:卖",
  35589. "type": "integer"
  35590. },
  35591. "delistminqty": {
  35592. "description": "起摘数量",
  35593. "type": "number"
  35594. },
  35595. "deliverymonth": {
  35596. "description": "交收月",
  35597. "type": "string"
  35598. },
  35599. "enumdicname": {
  35600. "description": "单位名称",
  35601. "type": "string"
  35602. },
  35603. "fixedprice": {
  35604. "description": "买(卖)价",
  35605. "type": "number"
  35606. },
  35607. "marketid": {
  35608. "description": "市场id",
  35609. "type": "integer"
  35610. },
  35611. "minivalue": {
  35612. "description": "现货商品最小变动值",
  35613. "type": "integer"
  35614. },
  35615. "orderqty": {
  35616. "description": "买(卖)量(=委托量-成交量)",
  35617. "type": "number"
  35618. },
  35619. "ordertime": {
  35620. "description": "委托时间",
  35621. "type": "string"
  35622. },
  35623. "pricemove": {
  35624. "description": "买(卖)升贴水- 基差",
  35625. "type": "number"
  35626. },
  35627. "userid": {
  35628. "description": "购买方(销售方)用户ID",
  35629. "type": "integer"
  35630. },
  35631. "username": {
  35632. "description": "购买方(销售方)",
  35633. "type": "string"
  35634. },
  35635. "wrtradeorderid": {
  35636. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35637. "type": "string"
  35638. }
  35639. }
  35640. },
  35641. "models.WrOutInApply": {
  35642. "type": "object",
  35643. "properties": {
  35644. "applyid": {
  35645. "description": "申请单id",
  35646. "type": "string"
  35647. },
  35648. "applystatus": {
  35649. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  35650. "type": "integer"
  35651. },
  35652. "applytime": {
  35653. "description": "申请时间",
  35654. "type": "string"
  35655. },
  35656. "applytype": {
  35657. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  35658. "type": "integer"
  35659. },
  35660. "begindate": {
  35661. "description": "开始交易日(yyyymmdd)",
  35662. "type": "string"
  35663. },
  35664. "deliverygoodscode": {
  35665. "description": "品种代码",
  35666. "type": "string"
  35667. },
  35668. "deliverygoodsid": {
  35669. "description": "品种ID",
  35670. "type": "integer"
  35671. },
  35672. "deliverygoodsname": {
  35673. "description": "品种名称",
  35674. "type": "string"
  35675. },
  35676. "enddate": {
  35677. "description": "结束交易日(yyyymmdd)",
  35678. "type": "string"
  35679. },
  35680. "enumdicname": {
  35681. "description": "单位名称",
  35682. "type": "string"
  35683. },
  35684. "expresscompany": {
  35685. "description": "物流公司",
  35686. "type": "string"
  35687. },
  35688. "expressnum": {
  35689. "description": "物流单号",
  35690. "type": "string"
  35691. },
  35692. "minivalue": {
  35693. "description": "现货商品最小变动值",
  35694. "type": "integer"
  35695. },
  35696. "optioncompare": {
  35697. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35698. "type": "string"
  35699. },
  35700. "qty": {
  35701. "description": "数量",
  35702. "type": "integer"
  35703. },
  35704. "userid": {
  35705. "description": "用户id",
  35706. "type": "integer"
  35707. },
  35708. "warehouseid": {
  35709. "description": "仓库ID",
  35710. "type": "integer"
  35711. },
  35712. "warehousename": {
  35713. "description": "仓库名称",
  35714. "type": "string"
  35715. },
  35716. "wrfactortypeid": {
  35717. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35718. "type": "string"
  35719. },
  35720. "wrfactortypename": {
  35721. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35722. "type": "string"
  35723. },
  35724. "wrstandardcode": {
  35725. "description": "现货商品代码",
  35726. "type": "string"
  35727. },
  35728. "wrstandardid": {
  35729. "description": "现货商品ID",
  35730. "type": "integer"
  35731. },
  35732. "wrstandardname": {
  35733. "description": "商品名称",
  35734. "type": "string"
  35735. },
  35736. "wrtypename": {
  35737. "description": "商品",
  35738. "type": "string"
  35739. }
  35740. }
  35741. },
  35742. "models.WrPerformancePlan": {
  35743. "type": "object",
  35744. "required": [
  35745. "userid"
  35746. ],
  35747. "properties": {
  35748. "activatemonth": {
  35749. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  35750. "type": "string"
  35751. },
  35752. "amount": {
  35753. "description": "履约金额(总金额)",
  35754. "type": "number"
  35755. },
  35756. "begindate": {
  35757. "description": "开始交易日(yyyymmdd)",
  35758. "type": "string"
  35759. },
  35760. "buyaccountid": {
  35761. "description": "买方账号",
  35762. "type": "integer"
  35763. },
  35764. "buyerfreezeamount": {
  35765. "description": "履约冻结(买履约)",
  35766. "type": "number"
  35767. },
  35768. "buyerfreezeamountremain": {
  35769. "description": "履约冻结剩余(买履约)",
  35770. "type": "number"
  35771. },
  35772. "buyorsell": {
  35773. "description": "买卖方向 0-买 1-卖",
  35774. "type": "integer"
  35775. },
  35776. "buypaidamount": {
  35777. "description": "买方已冻/已扣金额 (已付金额)",
  35778. "type": "number"
  35779. },
  35780. "buyusername": {
  35781. "description": "买方名字",
  35782. "type": "string"
  35783. },
  35784. "contractid": {
  35785. "description": "合同ID",
  35786. "type": "integer"
  35787. },
  35788. "createtime": {
  35789. "description": "创建时间",
  35790. "type": "string"
  35791. },
  35792. "creatorid": {
  35793. "description": "创建人",
  35794. "type": "integer"
  35795. },
  35796. "curstepdeadline": {
  35797. "description": "当前步骤到期时间",
  35798. "type": "string"
  35799. },
  35800. "curstepid": {
  35801. "description": "当前步骤ID",
  35802. "type": "string"
  35803. },
  35804. "curstepname": {
  35805. "description": "当前步骤名称",
  35806. "type": "string"
  35807. },
  35808. "deliverygoodscode": {
  35809. "description": "品种代码",
  35810. "type": "string"
  35811. },
  35812. "deliverygoodsid": {
  35813. "description": "品种ID",
  35814. "type": "integer"
  35815. },
  35816. "deliverygoodsname": {
  35817. "description": "品种名称",
  35818. "type": "string"
  35819. },
  35820. "enddate": {
  35821. "description": "结束交易日(yyyymmdd)",
  35822. "type": "string"
  35823. },
  35824. "enumdicname": {
  35825. "description": "单位名称",
  35826. "type": "string"
  35827. },
  35828. "expressfee": {
  35829. "description": "运费",
  35830. "type": "number"
  35831. },
  35832. "expressfeeconfirmed": {
  35833. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  35834. "type": "integer"
  35835. },
  35836. "hasovershort": {
  35837. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  35838. "type": "integer"
  35839. },
  35840. "haswr": {
  35841. "description": "类型 0-仓单预售 1-仓单贸易",
  35842. "type": "integer"
  35843. },
  35844. "marketid": {
  35845. "description": "市场ID",
  35846. "type": "integer"
  35847. },
  35848. "middleaccountid": {
  35849. "description": "中间商资金账号ID",
  35850. "type": "integer"
  35851. },
  35852. "middleuserid": {
  35853. "description": "中间商用户ID",
  35854. "type": "integer"
  35855. },
  35856. "minivalue": {
  35857. "description": "现货商品最小变动值",
  35858. "type": "integer"
  35859. },
  35860. "optioncompare": {
  35861. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35862. "type": "string"
  35863. },
  35864. "overshortamount": {
  35865. "description": "溢短金额",
  35866. "type": "number"
  35867. },
  35868. "overshortqty": {
  35869. "description": "溢短数量",
  35870. "type": "number"
  35871. },
  35872. "paymenttype": {
  35873. "description": "付款方式 - 1:冻结 2:扣款",
  35874. "type": "integer"
  35875. },
  35876. "performanceplanid": {
  35877. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  35878. "type": "string"
  35879. },
  35880. "performancestatus": {
  35881. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  35882. "type": "integer"
  35883. },
  35884. "performancetype": {
  35885. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  35886. "type": "integer"
  35887. },
  35888. "qty": {
  35889. "description": "履约数量",
  35890. "type": "number"
  35891. },
  35892. "relatedorderid": {
  35893. "description": "关联单号(履约类型的关联单号)",
  35894. "type": "string"
  35895. },
  35896. "remark": {
  35897. "description": "备注",
  35898. "type": "string"
  35899. },
  35900. "sellaccountid": {
  35901. "description": "卖方账号",
  35902. "type": "integer"
  35903. },
  35904. "sellerfreezeamount": {
  35905. "description": "履约冻结(卖履约)",
  35906. "type": "number"
  35907. },
  35908. "sellerfreezeamountremain": {
  35909. "description": "履约冻结剩余(卖履约)",
  35910. "type": "number"
  35911. },
  35912. "sellreceivedamount": {
  35913. "description": "卖方已收金额",
  35914. "type": "number"
  35915. },
  35916. "sellusername": {
  35917. "description": "卖方名字",
  35918. "type": "string"
  35919. },
  35920. "shipremark": {
  35921. "description": "发货备注[物流单号]",
  35922. "type": "string"
  35923. },
  35924. "starttime": {
  35925. "description": "开始时间",
  35926. "type": "string"
  35927. },
  35928. "steptypeid": {
  35929. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35930. "type": "integer"
  35931. },
  35932. "typename": {
  35933. "description": "履约类型 名称",
  35934. "type": "string"
  35935. },
  35936. "unpaidamount": {
  35937. "description": "剩余款(待支付金额)",
  35938. "type": "number"
  35939. },
  35940. "userid": {
  35941. "description": "用户id",
  35942. "type": "integer"
  35943. },
  35944. "warehouseid": {
  35945. "description": "仓库ID",
  35946. "type": "integer"
  35947. },
  35948. "warehousename": {
  35949. "description": "仓库名称",
  35950. "type": "string"
  35951. },
  35952. "wrfactortypeid": {
  35953. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35954. "type": "string"
  35955. },
  35956. "wrfactortypename": {
  35957. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35958. "type": "string"
  35959. },
  35960. "wrstandardcode": {
  35961. "description": "现货商品代码",
  35962. "type": "string"
  35963. },
  35964. "wrstandardid": {
  35965. "description": "现货商品ID",
  35966. "type": "integer"
  35967. },
  35968. "wrstandardname": {
  35969. "description": "商品名称",
  35970. "type": "string"
  35971. },
  35972. "wrtransferuserid": {
  35973. "description": "仓单受让用户",
  35974. "type": "integer"
  35975. },
  35976. "wrtypename": {
  35977. "description": "商品",
  35978. "type": "string"
  35979. }
  35980. }
  35981. },
  35982. "models.WrPerformancePlanStep": {
  35983. "type": "object",
  35984. "properties": {
  35985. "delaydays": {
  35986. "description": "延期申请天数",
  35987. "type": "integer"
  35988. },
  35989. "deliverygoodscode": {
  35990. "description": "品种代码",
  35991. "type": "string"
  35992. },
  35993. "deliverygoodsid": {
  35994. "description": "品种ID",
  35995. "type": "integer"
  35996. },
  35997. "deliverygoodsname": {
  35998. "description": "品种名称",
  35999. "type": "string"
  36000. },
  36001. "endtime": {
  36002. "description": "结束日期",
  36003. "type": "string"
  36004. },
  36005. "enumdicname": {
  36006. "description": "单位名称",
  36007. "type": "string"
  36008. },
  36009. "executeside": {
  36010. "description": "步骤执行方 - 1:买方 2:卖方",
  36011. "type": "integer"
  36012. },
  36013. "handlestatus": {
  36014. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  36015. "type": "integer"
  36016. },
  36017. "isauto": {
  36018. "description": "是否自动 - 0:不自动 1:自动",
  36019. "type": "integer"
  36020. },
  36021. "islastreceivestep": {
  36022. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  36023. "type": "integer"
  36024. },
  36025. "minivalue": {
  36026. "description": "现货商品最小变动值",
  36027. "type": "integer"
  36028. },
  36029. "optioncompare": {
  36030. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36031. "type": "string"
  36032. },
  36033. "overdays": {
  36034. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  36035. "type": "integer"
  36036. },
  36037. "performancestepid": {
  36038. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  36039. "type": "string"
  36040. },
  36041. "planid": {
  36042. "description": "所属履约计划ID",
  36043. "type": "string"
  36044. },
  36045. "realamount": {
  36046. "description": "实际完成金额",
  36047. "type": "number"
  36048. },
  36049. "relatedorderid": {
  36050. "description": "关联单号",
  36051. "type": "string"
  36052. },
  36053. "remaindays": {
  36054. "description": "剩余天数",
  36055. "type": "integer"
  36056. },
  36057. "remark": {
  36058. "description": "错误备注",
  36059. "type": "string"
  36060. },
  36061. "starttime": {
  36062. "description": "开始日期",
  36063. "type": "string"
  36064. },
  36065. "stepamount": {
  36066. "description": "步骤金额",
  36067. "type": "number"
  36068. },
  36069. "stepdays": {
  36070. "description": "距离上一步天数(分钟)",
  36071. "type": "integer"
  36072. },
  36073. "stepindex": {
  36074. "description": "步骤序号",
  36075. "type": "integer"
  36076. },
  36077. "steplanchtype": {
  36078. "description": "步骤启动类型 - 1:系统自动 2:手动",
  36079. "type": "integer"
  36080. },
  36081. "stepremark": {
  36082. "description": "步骤备注",
  36083. "type": "string"
  36084. },
  36085. "stepstatus": {
  36086. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  36087. "type": "integer"
  36088. },
  36089. "steptypeid": {
  36090. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  36091. "type": "integer"
  36092. },
  36093. "steptypename": {
  36094. "description": "步骤名称",
  36095. "type": "string"
  36096. },
  36097. "stepvalue": {
  36098. "description": "步骤值",
  36099. "type": "number"
  36100. },
  36101. "warehouseid": {
  36102. "description": "仓库ID",
  36103. "type": "integer"
  36104. },
  36105. "warehousename": {
  36106. "description": "仓库名称",
  36107. "type": "string"
  36108. },
  36109. "wrfactortypeid": {
  36110. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36111. "type": "string"
  36112. },
  36113. "wrfactortypename": {
  36114. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36115. "type": "string"
  36116. },
  36117. "wrstandardcode": {
  36118. "description": "现货商品代码",
  36119. "type": "string"
  36120. },
  36121. "wrstandardid": {
  36122. "description": "现货商品ID",
  36123. "type": "integer"
  36124. },
  36125. "wrstandardname": {
  36126. "description": "商品名称",
  36127. "type": "string"
  36128. },
  36129. "wrtypename": {
  36130. "description": "商品",
  36131. "type": "string"
  36132. }
  36133. }
  36134. },
  36135. "models.WrPerformanceStepType": {
  36136. "type": "object",
  36137. "properties": {
  36138. "canauto": {
  36139. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  36140. "type": "integer"
  36141. },
  36142. "steptypeid": {
  36143. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  36144. "type": "integer"
  36145. },
  36146. "steptypename": {
  36147. "description": "步骤类型名称",
  36148. "type": "string"
  36149. }
  36150. }
  36151. },
  36152. "models.WrPerformanceTemplateEx": {
  36153. "type": "object",
  36154. "properties": {
  36155. "autoid": {
  36156. "description": "AutoID 模板id",
  36157. "type": "integer"
  36158. },
  36159. "createtime": {
  36160. "description": "创建时间",
  36161. "type": "string"
  36162. },
  36163. "creatorid": {
  36164. "description": "创建人",
  36165. "type": "integer"
  36166. },
  36167. "lstStep": {
  36168. "description": "步骤信息列表",
  36169. "type": "array",
  36170. "items": {
  36171. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  36172. }
  36173. },
  36174. "paymenttype": {
  36175. "description": "支付方式 - 1:冻结 2:扣款",
  36176. "type": "integer"
  36177. },
  36178. "takemode": {
  36179. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  36180. "type": "integer"
  36181. },
  36182. "templatename": {
  36183. "description": "模板名称",
  36184. "type": "string"
  36185. },
  36186. "templatetype": {
  36187. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  36188. "type": "integer"
  36189. },
  36190. "userid": {
  36191. "description": "所属用户",
  36192. "type": "integer"
  36193. }
  36194. }
  36195. },
  36196. "models.WrPosition": {
  36197. "type": "object",
  36198. "properties": {
  36199. "accountid": {
  36200. "description": "帐户ID",
  36201. "type": "integer"
  36202. },
  36203. "buyexcuteqty": {
  36204. "description": "采购履约中数量",
  36205. "type": "number"
  36206. },
  36207. "creditcurqty": {
  36208. "description": "授信当前数量(预售仓单:预售当前量)",
  36209. "type": "number"
  36210. },
  36211. "creditenableqty": {
  36212. "description": "授信可用数量(预售仓单: 可用数量)",
  36213. "type": "number"
  36214. },
  36215. "creditfreezeqty": {
  36216. "description": "授信冻结数量(预售仓单: 当前数量)",
  36217. "type": "number"
  36218. },
  36219. "credittotalqty": {
  36220. "description": "授信总数量(预售仓单:预售总量)",
  36221. "type": "number"
  36222. },
  36223. "credittradeqty": {
  36224. "description": "授信成交数量(预售仓单:成交总量)",
  36225. "type": "number"
  36226. },
  36227. "deliverygoodscode": {
  36228. "description": "品种代码",
  36229. "type": "string"
  36230. },
  36231. "deliverygoodsid": {
  36232. "description": "品种ID",
  36233. "type": "integer"
  36234. },
  36235. "deliverygoodsname": {
  36236. "description": "品种名称",
  36237. "type": "string"
  36238. },
  36239. "enalbeqty": {
  36240. "description": "可用数量",
  36241. "type": "number"
  36242. },
  36243. "enumdicname": {
  36244. "description": "单位名称",
  36245. "type": "string"
  36246. },
  36247. "freezeqty": {
  36248. "description": "总冻结数量",
  36249. "type": "number"
  36250. },
  36251. "haswr": {
  36252. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36253. "type": "integer"
  36254. },
  36255. "minivalue": {
  36256. "description": "现货商品最小变动值",
  36257. "type": "integer"
  36258. },
  36259. "modifytime": {
  36260. "description": "修改时间(过户时间)",
  36261. "type": "string"
  36262. },
  36263. "optioncompare": {
  36264. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36265. "type": "string"
  36266. },
  36267. "pledgeqty": {
  36268. "description": "质押数量",
  36269. "type": "number"
  36270. },
  36271. "querytype": {
  36272. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  36273. "type": "integer"
  36274. },
  36275. "sellexcuteqty": {
  36276. "description": "销售履约中数量",
  36277. "type": "number"
  36278. },
  36279. "totalqty": {
  36280. "description": "总数量(库存数量)",
  36281. "type": "number"
  36282. },
  36283. "warehouseid": {
  36284. "description": "仓库ID",
  36285. "type": "integer"
  36286. },
  36287. "warehousename": {
  36288. "description": "仓库名称",
  36289. "type": "string"
  36290. },
  36291. "wrfactortypeid": {
  36292. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36293. "type": "string"
  36294. },
  36295. "wrfactortypename": {
  36296. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36297. "type": "string"
  36298. },
  36299. "wrpositionid": {
  36300. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  36301. "type": "string"
  36302. },
  36303. "wrpositionno": {
  36304. "description": "仓单编号",
  36305. "type": "string"
  36306. },
  36307. "wrstandardcode": {
  36308. "description": "现货商品代码",
  36309. "type": "string"
  36310. },
  36311. "wrstandardid": {
  36312. "description": "现货商品ID",
  36313. "type": "integer"
  36314. },
  36315. "wrstandardname": {
  36316. "description": "商品名称",
  36317. "type": "string"
  36318. },
  36319. "wrtypename": {
  36320. "description": "商品",
  36321. "type": "string"
  36322. },
  36323. "wruserid": {
  36324. "description": "持有人ID",
  36325. "type": "integer"
  36326. }
  36327. }
  36328. },
  36329. "models.WrQuoteOrderMyq": {
  36330. "type": "object",
  36331. "properties": {
  36332. "buyorsell": {
  36333. "description": "买卖 - 0:买 1:卖",
  36334. "type": "integer"
  36335. },
  36336. "canbargain": {
  36337. "description": "是否可议价 - 0:不可 1:可",
  36338. "type": "integer"
  36339. },
  36340. "canpart": {
  36341. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  36342. "type": "integer"
  36343. },
  36344. "delistminqty": {
  36345. "description": "起摘数量",
  36346. "type": "number"
  36347. },
  36348. "deliverygoodscode": {
  36349. "description": "品种代码",
  36350. "type": "string"
  36351. },
  36352. "deliverygoodsid": {
  36353. "description": "品种ID",
  36354. "type": "integer"
  36355. },
  36356. "deliverygoodsname": {
  36357. "description": "品种名称",
  36358. "type": "string"
  36359. },
  36360. "deliverymonth": {
  36361. "description": "交收月",
  36362. "type": "string"
  36363. },
  36364. "enumdicname": {
  36365. "description": "单位名称",
  36366. "type": "string"
  36367. },
  36368. "fixedprice": {
  36369. "description": "买(卖)价",
  36370. "type": "number"
  36371. },
  36372. "goodscode": {
  36373. "description": "商品合约代码",
  36374. "type": "string"
  36375. },
  36376. "marginflag": {
  36377. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  36378. "type": "integer"
  36379. },
  36380. "marginvalue": {
  36381. "description": "保证金设置值",
  36382. "type": "number"
  36383. },
  36384. "minivalue": {
  36385. "description": "现货商品最小变动值",
  36386. "type": "integer"
  36387. },
  36388. "orderqty": {
  36389. "description": "买(卖)量(=委托量-成交量)",
  36390. "type": "number"
  36391. },
  36392. "ordertime": {
  36393. "description": "委托时间",
  36394. "type": "string"
  36395. },
  36396. "performancetemplateid": {
  36397. "description": "履约模板id",
  36398. "type": "integer"
  36399. },
  36400. "pricemove": {
  36401. "description": "买(卖)升贴水- 基差",
  36402. "type": "number"
  36403. },
  36404. "templatename": {
  36405. "description": "履约模板名称",
  36406. "type": "string"
  36407. },
  36408. "userid": {
  36409. "description": "购买方(销售方)用户ID",
  36410. "type": "integer"
  36411. },
  36412. "username": {
  36413. "description": "购买方(销售方)",
  36414. "type": "string"
  36415. },
  36416. "validtime": {
  36417. "description": "有效期限",
  36418. "type": "string"
  36419. },
  36420. "validtype": {
  36421. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  36422. "type": "integer"
  36423. },
  36424. "warehousename": {
  36425. "description": "仓库名称",
  36426. "type": "string"
  36427. },
  36428. "wrfactortypeid": {
  36429. "description": "仓单要素id",
  36430. "type": "string"
  36431. },
  36432. "wrstandardcode": {
  36433. "description": "现货商品代码",
  36434. "type": "string"
  36435. },
  36436. "wrstandardid": {
  36437. "description": "现货商品ID",
  36438. "type": "integer"
  36439. },
  36440. "wrstandardname": {
  36441. "description": "商品名称",
  36442. "type": "string"
  36443. },
  36444. "wrtradeorderid": {
  36445. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36446. "type": "string"
  36447. },
  36448. "wrtypename": {
  36449. "description": "商品",
  36450. "type": "string"
  36451. }
  36452. }
  36453. },
  36454. "models.WrScfContract": {
  36455. "type": "object",
  36456. "properties": {
  36457. "borroweruserid": {
  36458. "description": "借款用户ID",
  36459. "type": "integer"
  36460. },
  36461. "buybackwrpositionqty": {
  36462. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  36463. "type": "number"
  36464. },
  36465. "closeinterest": {
  36466. "description": "已结利息 -\u003e 已结费用",
  36467. "type": "number"
  36468. },
  36469. "currisklevel": {
  36470. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  36471. "type": "integer"
  36472. },
  36473. "deadline": {
  36474. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  36475. "type": "string"
  36476. },
  36477. "deliverygoodscode": {
  36478. "description": "品种代码",
  36479. "type": "string"
  36480. },
  36481. "deliverygoodsid": {
  36482. "description": "品种ID",
  36483. "type": "integer"
  36484. },
  36485. "deliverygoodsname": {
  36486. "description": "品种名称",
  36487. "type": "string"
  36488. },
  36489. "enumdicname": {
  36490. "description": "单位名称",
  36491. "type": "string"
  36492. },
  36493. "financingdays": {
  36494. "description": "天数(天)",
  36495. "type": "integer"
  36496. },
  36497. "initmargin": {
  36498. "description": "保证金 - [仓单回购]",
  36499. "type": "number"
  36500. },
  36501. "interestamount": {
  36502. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  36503. "type": "number"
  36504. },
  36505. "interestdebt": {
  36506. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  36507. "type": "number"
  36508. },
  36509. "interestminlen": {
  36510. "description": "最小起息天数",
  36511. "type": "integer"
  36512. },
  36513. "interestrate": {
  36514. "description": "利率",
  36515. "type": "number"
  36516. },
  36517. "interestratemode": {
  36518. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  36519. "type": "integer"
  36520. },
  36521. "interestsettlemode": {
  36522. "description": "结息方式 - 1:按日结息 3:按月结息",
  36523. "type": "integer"
  36524. },
  36525. "interestsettlevalue": {
  36526. "description": "结息方式值",
  36527. "type": "integer"
  36528. },
  36529. "isautoloan": {
  36530. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  36531. "type": "integer"
  36532. },
  36533. "lastcloseinterestday": {
  36534. "description": "最近结息日(yyyyMMdd)",
  36535. "type": "string"
  36536. },
  36537. "lenderamount": {
  36538. "description": "贷款金额 -\u003e 借款金额",
  36539. "type": "number"
  36540. },
  36541. "lenderuserid": {
  36542. "description": "贷款方用户ID -\u003e 融出方用户ID",
  36543. "type": "integer"
  36544. },
  36545. "lenderusername": {
  36546. "description": "融出方",
  36547. "type": "string"
  36548. },
  36549. "marginratio": {
  36550. "description": "保证金比率质押率 - [仓单质押]",
  36551. "type": "number"
  36552. },
  36553. "marketid": {
  36554. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  36555. "type": "integer"
  36556. },
  36557. "minivalue": {
  36558. "description": "现货商品最小变动值",
  36559. "type": "integer"
  36560. },
  36561. "optioncompare": {
  36562. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36563. "type": "string"
  36564. },
  36565. "pricemove": {
  36566. "description": "估值升贴水值",
  36567. "type": "number"
  36568. },
  36569. "productdetailid": {
  36570. "description": "产品组合ID",
  36571. "type": "integer"
  36572. },
  36573. "productid": {
  36574. "description": "金融产品ID",
  36575. "type": "integer"
  36576. },
  36577. "productname": {
  36578. "description": "产品名称",
  36579. "type": "string"
  36580. },
  36581. "remainamount": {
  36582. "description": "合同剩余金额 -\u003e 剩余金额",
  36583. "type": "number"
  36584. },
  36585. "remainwrpositionqty": {
  36586. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  36587. "type": "number"
  36588. },
  36589. "remark": {
  36590. "description": "备注",
  36591. "type": "string"
  36592. },
  36593. "scfcontractid": {
  36594. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  36595. "type": "string"
  36596. },
  36597. "scfcontractstatus": {
  36598. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  36599. "type": "integer"
  36600. },
  36601. "scfcontracttype": {
  36602. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  36603. "type": "integer"
  36604. },
  36605. "startinterestday": {
  36606. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  36607. "type": "string"
  36608. },
  36609. "totalinterest": {
  36610. "description": "已计利息 -\u003e 已计费用",
  36611. "type": "number"
  36612. },
  36613. "unpaidinterest": {
  36614. "description": "未结费用",
  36615. "type": "number"
  36616. },
  36617. "updatetime": {
  36618. "description": "更新时间",
  36619. "type": "string"
  36620. },
  36621. "warehouseid": {
  36622. "description": "仓库ID",
  36623. "type": "integer"
  36624. },
  36625. "warehousename": {
  36626. "description": "仓库名称",
  36627. "type": "string"
  36628. },
  36629. "wrfactortypeid": {
  36630. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36631. "type": "string"
  36632. },
  36633. "wrfactortypename": {
  36634. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36635. "type": "string"
  36636. },
  36637. "wrqty": {
  36638. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  36639. "type": "number"
  36640. },
  36641. "wrstandardcode": {
  36642. "description": "现货商品代码",
  36643. "type": "string"
  36644. },
  36645. "wrstandardid": {
  36646. "description": "现货商品ID",
  36647. "type": "integer"
  36648. },
  36649. "wrstandardname": {
  36650. "description": "商品名称",
  36651. "type": "string"
  36652. },
  36653. "wrtypename": {
  36654. "description": "商品",
  36655. "type": "string"
  36656. }
  36657. }
  36658. },
  36659. "models.WrScfContractInterest": {
  36660. "type": "object",
  36661. "properties": {
  36662. "closeinterest": {
  36663. "description": "已结利息",
  36664. "type": "number"
  36665. },
  36666. "closeintereststatus": {
  36667. "description": "结息状态 - 1:未结 2:已结",
  36668. "type": "integer"
  36669. },
  36670. "closetime": {
  36671. "description": "结息时间",
  36672. "type": "string"
  36673. },
  36674. "closetradedate": {
  36675. "description": "结息交易日",
  36676. "type": "string"
  36677. },
  36678. "creatorid": {
  36679. "description": "操作人ID",
  36680. "type": "integer"
  36681. },
  36682. "dayrate": {
  36683. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  36684. "type": "number"
  36685. },
  36686. "interest": {
  36687. "description": "利息",
  36688. "type": "number"
  36689. },
  36690. "interestamount": {
  36691. "description": "计息金额",
  36692. "type": "number"
  36693. },
  36694. "interestday": {
  36695. "description": "计息日(yyyyMMdd)",
  36696. "type": "string"
  36697. },
  36698. "scfcontractid": {
  36699. "description": "SCF合同ID",
  36700. "type": "string"
  36701. },
  36702. "scfcontractinterestid": {
  36703. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  36704. "type": "integer"
  36705. },
  36706. "updatetime": {
  36707. "description": "更新时间",
  36708. "type": "string"
  36709. }
  36710. }
  36711. },
  36712. "models.WrSiteColumnDetail": {
  36713. "type": "object",
  36714. "properties": {
  36715. "brief": {
  36716. "description": "简介",
  36717. "type": "string"
  36718. },
  36719. "context": {
  36720. "description": "内容",
  36721. "type": "string"
  36722. },
  36723. "coverimage": {
  36724. "description": "封面图片",
  36725. "type": "string"
  36726. },
  36727. "creaedate": {
  36728. "description": "创建时间",
  36729. "type": "string"
  36730. },
  36731. "id": {
  36732. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  36733. "type": "integer"
  36734. },
  36735. "istop": {
  36736. "description": "是否置顶 - 0:不置 1:置顶",
  36737. "type": "integer"
  36738. },
  36739. "publishdate": {
  36740. "description": "发布日期",
  36741. "type": "string"
  36742. },
  36743. "title": {
  36744. "description": "标题",
  36745. "type": "string"
  36746. },
  36747. "updatedate": {
  36748. "description": "修改时间",
  36749. "type": "string"
  36750. }
  36751. }
  36752. },
  36753. "models.WrSpecialMatchOrder": {
  36754. "type": "object",
  36755. "properties": {
  36756. "amount": {
  36757. "description": "金额 = 数量 * 价格",
  36758. "type": "number"
  36759. },
  36760. "buyorsell": {
  36761. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36762. "type": "integer"
  36763. },
  36764. "cancelqty": {
  36765. "description": "撤销数量",
  36766. "type": "number"
  36767. },
  36768. "deliverygoodscode": {
  36769. "description": "品种代码",
  36770. "type": "string"
  36771. },
  36772. "deliverygoodsid": {
  36773. "description": "品种ID",
  36774. "type": "integer"
  36775. },
  36776. "deliverygoodsname": {
  36777. "description": "品种名称",
  36778. "type": "string"
  36779. },
  36780. "enumdicname": {
  36781. "description": "单位名称",
  36782. "type": "string"
  36783. },
  36784. "fixedprice": {
  36785. "description": "固定价格(价格)",
  36786. "type": "number"
  36787. },
  36788. "haswr": {
  36789. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36790. "type": "integer"
  36791. },
  36792. "isspecified": {
  36793. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  36794. "type": "integer"
  36795. },
  36796. "marketid": {
  36797. "description": "市场ID",
  36798. "type": "integer"
  36799. },
  36800. "matchuserid": {
  36801. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  36802. "type": "integer"
  36803. },
  36804. "matchusername": {
  36805. "description": "指定方",
  36806. "type": "string"
  36807. },
  36808. "minivalue": {
  36809. "description": "现货商品最小变动值",
  36810. "type": "integer"
  36811. },
  36812. "optioncompare": {
  36813. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36814. "type": "string"
  36815. },
  36816. "orderqty": {
  36817. "description": "委托数量",
  36818. "type": "number"
  36819. },
  36820. "ordertime": {
  36821. "description": "委托时间",
  36822. "type": "string"
  36823. },
  36824. "pricemove": {
  36825. "description": "升贴水(浮动价时填写) - [挂牌]",
  36826. "type": "number"
  36827. },
  36828. "tradedate": {
  36829. "description": "交易日(yyyyMMdd)",
  36830. "type": "string"
  36831. },
  36832. "tradeprice": {
  36833. "description": "成交价格",
  36834. "type": "number"
  36835. },
  36836. "tradeqty": {
  36837. "description": "成交数量",
  36838. "type": "number"
  36839. },
  36840. "userid": {
  36841. "description": "用户ID",
  36842. "type": "integer"
  36843. },
  36844. "username": {
  36845. "description": "发起方",
  36846. "type": "string"
  36847. },
  36848. "warehouseid": {
  36849. "description": "仓库ID",
  36850. "type": "integer"
  36851. },
  36852. "warehousename": {
  36853. "description": "仓库名称",
  36854. "type": "string"
  36855. },
  36856. "wrfactortypeid": {
  36857. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36858. "type": "string"
  36859. },
  36860. "wrfactortypename": {
  36861. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36862. "type": "string"
  36863. },
  36864. "wrpricetype": {
  36865. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36866. "type": "integer"
  36867. },
  36868. "wrstandardcode": {
  36869. "description": "现货商品代码",
  36870. "type": "string"
  36871. },
  36872. "wrstandardid": {
  36873. "description": "现货商品ID",
  36874. "type": "integer"
  36875. },
  36876. "wrstandardname": {
  36877. "description": "商品名称",
  36878. "type": "string"
  36879. },
  36880. "wrtradeorderid": {
  36881. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36882. "type": "string"
  36883. },
  36884. "wrtradeorderstatus": {
  36885. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  36886. "type": "integer"
  36887. },
  36888. "wrtradetype": {
  36889. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36890. "type": "integer"
  36891. },
  36892. "wrtypename": {
  36893. "description": "商品",
  36894. "type": "string"
  36895. }
  36896. }
  36897. },
  36898. "models.WrSpotGroupTradeSum": {
  36899. "type": "object",
  36900. "properties": {
  36901. "deliverygoodscode": {
  36902. "description": "现货品种代码",
  36903. "type": "string"
  36904. },
  36905. "deliverygoodsid": {
  36906. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36907. "type": "integer"
  36908. },
  36909. "deliverygoodsname": {
  36910. "description": "现货品种名称",
  36911. "type": "string"
  36912. },
  36913. "lastavgprice": {
  36914. "description": "上上个交易日价格(前2天价格)",
  36915. "type": "string"
  36916. },
  36917. "lastreckondate": {
  36918. "description": "上上个交易日(前2天交易日)",
  36919. "type": "string"
  36920. },
  36921. "reckondate": {
  36922. "description": "上个交易日(前1天交易日)",
  36923. "type": "string"
  36924. },
  36925. "todayavgprice": {
  36926. "description": "上个交易日价格(前1天价格)",
  36927. "type": "string"
  36928. },
  36929. "updown": {
  36930. "description": "涨跌",
  36931. "type": "string"
  36932. },
  36933. "updownratio": {
  36934. "description": "涨幅(已格式化, 直接显示即可)",
  36935. "type": "string"
  36936. }
  36937. }
  36938. },
  36939. "models.WrSpotGroupTradeSumDetail": {
  36940. "type": "object",
  36941. "properties": {
  36942. "deliverygoodsid": {
  36943. "description": "现货商品id",
  36944. "type": "integer"
  36945. },
  36946. "price": {
  36947. "description": "价格",
  36948. "type": "number"
  36949. },
  36950. "reckondate": {
  36951. "description": "日期(yyymmdd, 如:20211031)",
  36952. "type": "string"
  36953. }
  36954. }
  36955. },
  36956. "models.WrSpotGroupTradeSumEx": {
  36957. "type": "object",
  36958. "properties": {
  36959. "lst": {
  36960. "description": "指数列表",
  36961. "type": "array",
  36962. "items": {
  36963. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  36964. }
  36965. },
  36966. "prereckondate": {
  36967. "description": "上上个交易日(yyymmdd)",
  36968. "type": "string"
  36969. },
  36970. "reckondate": {
  36971. "description": "上个交易日(yyyymmdd)",
  36972. "type": "string"
  36973. }
  36974. }
  36975. },
  36976. "models.WrStandardFactoryItem": {
  36977. "type": "object",
  36978. "properties": {
  36979. "dgfactoryitemid": {
  36980. "description": "选择项id",
  36981. "type": "integer"
  36982. },
  36983. "dgfactoryitemvalue": {
  36984. "description": "要素项值",
  36985. "type": "string"
  36986. },
  36987. "warehouseid": {
  36988. "description": "仓库id",
  36989. "type": "integer"
  36990. }
  36991. }
  36992. },
  36993. "models.WrStandardFactoryItemEx": {
  36994. "type": "object",
  36995. "properties": {
  36996. "dgfactoryitemtypeid": {
  36997. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  36998. "type": "integer"
  36999. },
  37000. "itemlst": {
  37001. "description": "要素项列表",
  37002. "type": "array",
  37003. "items": {
  37004. "$ref": "#/definitions/models.WrStandardFactoryItem"
  37005. }
  37006. },
  37007. "itemtypename": {
  37008. "description": "要素项类型名称",
  37009. "type": "string"
  37010. },
  37011. "wrstandardid": {
  37012. "description": "品类",
  37013. "type": "integer"
  37014. }
  37015. }
  37016. },
  37017. "models.WrTradeDetail": {
  37018. "type": "object",
  37019. "properties": {
  37020. "accountid": {
  37021. "description": "资金账号",
  37022. "type": "integer"
  37023. },
  37024. "begindate": {
  37025. "description": "开始交易日(yyyymmdd)",
  37026. "type": "string"
  37027. },
  37028. "buyorsell": {
  37029. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  37030. "type": "integer"
  37031. },
  37032. "chargevalue": {
  37033. "description": "手续费",
  37034. "type": "number"
  37035. },
  37036. "deliverygoodscode": {
  37037. "description": "品种代码",
  37038. "type": "string"
  37039. },
  37040. "deliverygoodsid": {
  37041. "description": "品种ID",
  37042. "type": "integer"
  37043. },
  37044. "deliverygoodsname": {
  37045. "description": "品种名称",
  37046. "type": "string"
  37047. },
  37048. "deliverymonth": {
  37049. "description": "交收月",
  37050. "type": "string"
  37051. },
  37052. "enddate": {
  37053. "description": "结束交易日(yyyymmdd)",
  37054. "type": "string"
  37055. },
  37056. "enumdicname": {
  37057. "description": "单位名称",
  37058. "type": "string"
  37059. },
  37060. "haswr": {
  37061. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  37062. "type": "integer"
  37063. },
  37064. "marketid": {
  37065. "description": "市场ID",
  37066. "type": "integer"
  37067. },
  37068. "matchaccountid": {
  37069. "description": "对手账号",
  37070. "type": "integer"
  37071. },
  37072. "matchusername": {
  37073. "description": "对手方",
  37074. "type": "string"
  37075. },
  37076. "minivalue": {
  37077. "description": "现货商品最小变动值",
  37078. "type": "integer"
  37079. },
  37080. "optioncompare": {
  37081. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37082. "type": "string"
  37083. },
  37084. "tradedate": {
  37085. "description": "交易日(yyyyMMdd)",
  37086. "type": "string"
  37087. },
  37088. "tradeprice": {
  37089. "description": "成交价格",
  37090. "type": "number"
  37091. },
  37092. "tradeqty": {
  37093. "description": "成交数量",
  37094. "type": "number"
  37095. },
  37096. "tradetime": {
  37097. "description": "成交时间",
  37098. "type": "string"
  37099. },
  37100. "userid": {
  37101. "description": "用户ID",
  37102. "type": "integer"
  37103. },
  37104. "warehouseid": {
  37105. "description": "仓库ID",
  37106. "type": "integer"
  37107. },
  37108. "warehousename": {
  37109. "description": "仓库名称",
  37110. "type": "string"
  37111. },
  37112. "wrfactortypeid": {
  37113. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37114. "type": "string"
  37115. },
  37116. "wrfactortypename": {
  37117. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37118. "type": "string"
  37119. },
  37120. "wrstandardcode": {
  37121. "description": "现货商品代码",
  37122. "type": "string"
  37123. },
  37124. "wrstandardid": {
  37125. "description": "现货商品ID",
  37126. "type": "integer"
  37127. },
  37128. "wrstandardname": {
  37129. "description": "商品名称",
  37130. "type": "string"
  37131. },
  37132. "wrtradedetailid": {
  37133. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  37134. "type": "string"
  37135. },
  37136. "wrtradetype": {
  37137. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  37138. "type": "integer"
  37139. },
  37140. "wrtypename": {
  37141. "description": "商品",
  37142. "type": "string"
  37143. }
  37144. }
  37145. },
  37146. "models.WrTradeOrderDetail": {
  37147. "type": "object",
  37148. "properties": {
  37149. "buyorsell": {
  37150. "description": "买卖方向 0-买 1-卖",
  37151. "type": "integer"
  37152. },
  37153. "goodsid": {
  37154. "description": "商品id",
  37155. "type": "integer"
  37156. },
  37157. "orderid": {
  37158. "description": "委托单号",
  37159. "type": "string"
  37160. },
  37161. "orderprice": {
  37162. "description": "委托价格",
  37163. "type": "number"
  37164. },
  37165. "orderqty": {
  37166. "description": "委托数量",
  37167. "type": "integer"
  37168. },
  37169. "userid": {
  37170. "description": "用户id",
  37171. "type": "integer"
  37172. },
  37173. "username": {
  37174. "description": "用户名称(已脱敏)",
  37175. "type": "string"
  37176. }
  37177. }
  37178. },
  37179. "models.WrTypeItem": {
  37180. "type": "object",
  37181. "properties": {
  37182. "name": {
  37183. "description": "名称",
  37184. "type": "string"
  37185. },
  37186. "value": {
  37187. "description": "值",
  37188. "type": "string"
  37189. }
  37190. }
  37191. },
  37192. "models.WrUserFriend": {
  37193. "type": "object",
  37194. "properties": {
  37195. "friendname": {
  37196. "description": "朋友名称(已脱敏)",
  37197. "type": "string"
  37198. },
  37199. "frienduserid": {
  37200. "description": "朋友id",
  37201. "type": "integer"
  37202. },
  37203. "isfriend": {
  37204. "description": "是否好友 0-不是 1-是",
  37205. "type": "integer"
  37206. },
  37207. "userid": {
  37208. "description": "用户id",
  37209. "type": "integer"
  37210. }
  37211. }
  37212. },
  37213. "models.WrUserReceiptInfo": {
  37214. "type": "object",
  37215. "properties": {
  37216. "address": {
  37217. "description": "地址[发票类型:企业]",
  37218. "type": "string"
  37219. },
  37220. "autoid": {
  37221. "description": "AutoID",
  37222. "type": "integer"
  37223. },
  37224. "contactinfo": {
  37225. "description": "联系方式",
  37226. "type": "string"
  37227. },
  37228. "idnum": {
  37229. "description": "身份证号码[发票类型:个人]",
  37230. "type": "string"
  37231. },
  37232. "isdefault": {
  37233. "description": "是否默认地址 - 0:否 1:是",
  37234. "type": "integer"
  37235. },
  37236. "receiptaccount": {
  37237. "description": "发票帐号[发票类型:企业]",
  37238. "type": "string"
  37239. },
  37240. "receiptbank": {
  37241. "description": "发票开户行[发票类型:企业]",
  37242. "type": "string"
  37243. },
  37244. "receipttype": {
  37245. "description": "发票类型 - 1:个人 2:企业",
  37246. "type": "integer"
  37247. },
  37248. "taxpayerid": {
  37249. "description": "纳税人识别号",
  37250. "type": "string"
  37251. },
  37252. "userid": {
  37253. "description": "用户ID",
  37254. "type": "integer"
  37255. },
  37256. "username": {
  37257. "description": "户名(个人姓名或企业名称)",
  37258. "type": "string"
  37259. }
  37260. }
  37261. },
  37262. "models.XHBRAND": {
  37263. "type": "object",
  37264. "properties": {
  37265. "brandid": {
  37266. "description": "品牌id",
  37267. "type": "integer"
  37268. },
  37269. "brandname": {
  37270. "description": "品牌名称",
  37271. "type": "string"
  37272. },
  37273. "isvalid": {
  37274. "description": "是否有效 0-无效 1-有效",
  37275. "type": "integer"
  37276. }
  37277. }
  37278. },
  37279. "models.XHDeliveryGoods": {
  37280. "type": "object",
  37281. "properties": {
  37282. "areauserid": {
  37283. "description": "所属机构",
  37284. "type": "integer"
  37285. },
  37286. "bdlst": {
  37287. "description": "品牌列表",
  37288. "type": "array",
  37289. "items": {
  37290. "$ref": "#/definitions/models.XHBRAND"
  37291. }
  37292. },
  37293. "deliverygoodscode": {
  37294. "description": "现货品种代码",
  37295. "type": "string"
  37296. },
  37297. "deliverygoodsid": {
  37298. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  37299. "type": "integer"
  37300. },
  37301. "deliverygoodsname": {
  37302. "description": "现货品种名称",
  37303. "type": "string"
  37304. },
  37305. "dgstatus": {
  37306. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  37307. "type": "integer"
  37308. },
  37309. "isvalid": {
  37310. "description": "是否有效 - 0:无效 1:有效",
  37311. "type": "integer"
  37312. },
  37313. "remark": {
  37314. "description": "备注",
  37315. "type": "string"
  37316. },
  37317. "unitid": {
  37318. "description": "单位id(目前看,数据库中是空值)",
  37319. "type": "integer"
  37320. },
  37321. "wdlst": {
  37322. "description": "品类(现货商品)列表",
  37323. "type": "array",
  37324. "items": {
  37325. "$ref": "#/definitions/models.XHWrstandard"
  37326. }
  37327. }
  37328. }
  37329. },
  37330. "models.XHMiddleGoods": {
  37331. "type": "object",
  37332. "properties": {
  37333. "GPLST": {
  37334. "description": "期货品种列表",
  37335. "type": "array",
  37336. "items": {
  37337. "$ref": "#/definitions/models.TBGoodsGroup"
  37338. }
  37339. },
  37340. "convertratio": {
  37341. "description": "拆算系数",
  37342. "type": "number"
  37343. },
  37344. "costratio": {
  37345. "description": "成本权重",
  37346. "type": "number"
  37347. },
  37348. "deliverygoodsid": {
  37349. "description": "现货商品id",
  37350. "type": "integer"
  37351. },
  37352. "enumdicname": {
  37353. "description": "单位名称",
  37354. "type": "string"
  37355. },
  37356. "middlegoodscode": {
  37357. "description": "套保品种代码",
  37358. "type": "string"
  37359. },
  37360. "middlegoodsid": {
  37361. "description": "套保品种id",
  37362. "type": "integer"
  37363. },
  37364. "middlegoodsname": {
  37365. "description": "套保品种名称",
  37366. "type": "string"
  37367. },
  37368. "unitid": {
  37369. "description": "单位id",
  37370. "type": "integer"
  37371. }
  37372. }
  37373. },
  37374. "models.XHWrstandard": {
  37375. "type": "object",
  37376. "properties": {
  37377. "deliverygoodsid": {
  37378. "description": "品种ID",
  37379. "type": "integer"
  37380. },
  37381. "enumdicname": {
  37382. "description": "单位名称",
  37383. "type": "string"
  37384. },
  37385. "mglst": {
  37386. "description": "套保品列表",
  37387. "type": "array",
  37388. "items": {
  37389. "$ref": "#/definitions/models.XHMiddleGoods"
  37390. }
  37391. },
  37392. "unitid": {
  37393. "description": "单位id",
  37394. "type": "integer"
  37395. },
  37396. "vatrate": {
  37397. "description": "增值税率",
  37398. "type": "number"
  37399. },
  37400. "wrstandardcode": {
  37401. "description": "现货商品代码",
  37402. "type": "string"
  37403. },
  37404. "wrstandardid": {
  37405. "description": "现货商品ID(SEQ_WRSTANDARD)",
  37406. "type": "integer"
  37407. },
  37408. "wrstandardname": {
  37409. "description": "现货商品名称",
  37410. "type": "string"
  37411. }
  37412. }
  37413. },
  37414. "order.QueryHisTradeDetailRsp": {
  37415. "type": "object",
  37416. "required": [
  37417. "accountid",
  37418. "buyorsell",
  37419. "goodsid",
  37420. "histradedate",
  37421. "marketid",
  37422. "memberuserid",
  37423. "orderid",
  37424. "tradeamount",
  37425. "tradedate",
  37426. "tradeid",
  37427. "tradeprice",
  37428. "tradeqty",
  37429. "tradetime"
  37430. ],
  37431. "properties": {
  37432. "accountid": {
  37433. "description": "账户ID[报价币种]",
  37434. "type": "integer"
  37435. },
  37436. "advanceratio": {
  37437. "description": "首付比率",
  37438. "type": "number"
  37439. },
  37440. "buildtype": {
  37441. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  37442. "type": "integer"
  37443. },
  37444. "buyorsell": {
  37445. "description": "方向 - 0:买 1:卖",
  37446. "type": "integer"
  37447. },
  37448. "charge": {
  37449. "description": "手续费",
  37450. "type": "number"
  37451. },
  37452. "closecharge": {
  37453. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37454. "type": "number"
  37455. },
  37456. "closeexchagechargevalue": {
  37457. "description": "平仓交易所手续费设置值",
  37458. "type": "number"
  37459. },
  37460. "closefeealgorithm": {
  37461. "description": "平仓手续费收取方式 1:比率 2:固定",
  37462. "type": "integer"
  37463. },
  37464. "closememberchargevalue": {
  37465. "description": "平仓会员手续费设置值",
  37466. "type": "number"
  37467. },
  37468. "closepl": {
  37469. "description": "平仓盈亏",
  37470. "type": "number"
  37471. },
  37472. "closepl2": {
  37473. "description": "平仓盈亏[逐笔]",
  37474. "type": "number"
  37475. },
  37476. "closeqty": {
  37477. "description": "平仓数量(先建后平操作 需要记录)",
  37478. "type": "number"
  37479. },
  37480. "creditamount": {
  37481. "description": "授信金额",
  37482. "type": "number"
  37483. },
  37484. "decimalplace": {
  37485. "description": "商品报价小数位",
  37486. "type": "integer"
  37487. },
  37488. "enumdicname": {
  37489. "description": "单位名称",
  37490. "type": "string"
  37491. },
  37492. "gcaccountid": {
  37493. "description": "账户ID[合约币种]",
  37494. "type": "integer"
  37495. },
  37496. "goodscode": {
  37497. "description": "商品代码",
  37498. "type": "string"
  37499. },
  37500. "goodsid": {
  37501. "description": "商品ID",
  37502. "type": "integer"
  37503. },
  37504. "goodsname": {
  37505. "description": "商品名称",
  37506. "type": "string"
  37507. },
  37508. "goodunitid": {
  37509. "description": "商品单位id",
  37510. "type": "integer"
  37511. },
  37512. "histradedate": {
  37513. "description": "历史交易日",
  37514. "type": "string"
  37515. },
  37516. "intclosepl": {
  37517. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  37518. "type": "integer"
  37519. },
  37520. "isconfirmexercise": {
  37521. "description": "是否确认行权- 0:否 1:是",
  37522. "type": "integer"
  37523. },
  37524. "ismain": {
  37525. "description": "是否主单 - 0:不是 1:是",
  37526. "type": "integer"
  37527. },
  37528. "ispreexercise": {
  37529. "description": "是否预申报- 0:否 1:是",
  37530. "type": "integer"
  37531. },
  37532. "isreckoned": {
  37533. "description": "是否结算 - 0:未结算 1:已结算",
  37534. "type": "integer"
  37535. },
  37536. "isvaliddata": {
  37537. "description": "是否有效 - 0:无效 1:有效",
  37538. "type": "integer"
  37539. },
  37540. "listingselecttype": {
  37541. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37542. "type": "integer"
  37543. },
  37544. "marketid": {
  37545. "description": "市场ID",
  37546. "type": "integer"
  37547. },
  37548. "marketname": {
  37549. "description": "市场名称",
  37550. "type": "string"
  37551. },
  37552. "matchaccountid": {
  37553. "description": "对手账号id",
  37554. "type": "integer"
  37555. },
  37556. "memberuserid": {
  37557. "description": "会员id 个人投资者 需要填写",
  37558. "type": "integer"
  37559. },
  37560. "opencharge": {
  37561. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37562. "type": "number"
  37563. },
  37564. "openexchagechargevalue": {
  37565. "description": "建仓交易所手续费设置值",
  37566. "type": "number"
  37567. },
  37568. "openfeealgorithm": {
  37569. "description": "建仓手续费收取方式 1:比率 2:固定",
  37570. "type": "integer"
  37571. },
  37572. "openmemberchargevalue": {
  37573. "description": "建仓会员手续费设置值",
  37574. "type": "number"
  37575. },
  37576. "openqty": {
  37577. "description": "开仓数量(先建后平操作 需要记录)",
  37578. "type": "number"
  37579. },
  37580. "optiontype": {
  37581. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37582. "type": "integer"
  37583. },
  37584. "orderid": {
  37585. "description": "委托单号",
  37586. "type": "string"
  37587. },
  37588. "payamount": {
  37589. "description": "支付金额(付款金额)",
  37590. "type": "number"
  37591. },
  37592. "performanceplanid": {
  37593. "description": "履约计划ID[期权]",
  37594. "type": "integer"
  37595. },
  37596. "performancestatus": {
  37597. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  37598. "type": "integer"
  37599. },
  37600. "preexerciseprice": {
  37601. "description": "预申报价格",
  37602. "type": "number"
  37603. },
  37604. "premium": {
  37605. "description": "权利金 - [持仓单的权利金]",
  37606. "type": "number"
  37607. },
  37608. "qtydecimalplace": {
  37609. "description": "商品报价小数位",
  37610. "type": "integer"
  37611. },
  37612. "recvamount": {
  37613. "description": "到账金额 = 成交金额 - 手续费",
  37614. "type": "number"
  37615. },
  37616. "relatedouttradeid": {
  37617. "description": "关联外部成交单ID",
  37618. "type": "integer"
  37619. },
  37620. "status": {
  37621. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  37622. "type": "integer"
  37623. },
  37624. "totalamount": {
  37625. "description": "订单总额 = 成交金额 + 手续费",
  37626. "type": "number"
  37627. },
  37628. "tradeamount": {
  37629. "description": "成交金额[账户币种,用于所有权]",
  37630. "type": "number"
  37631. },
  37632. "tradedate": {
  37633. "description": "交易日(yyyyMMdd)",
  37634. "type": "string"
  37635. },
  37636. "tradeid": {
  37637. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37638. "type": "string"
  37639. },
  37640. "trademode": {
  37641. "description": "交易模式",
  37642. "type": "integer"
  37643. },
  37644. "tradeprice": {
  37645. "description": "成交价格",
  37646. "type": "number"
  37647. },
  37648. "tradeproperty": {
  37649. "description": "交易属性",
  37650. "type": "integer"
  37651. },
  37652. "tradeqty": {
  37653. "description": "成交数量",
  37654. "type": "number"
  37655. },
  37656. "tradetime": {
  37657. "description": "成交时间",
  37658. "type": "string"
  37659. },
  37660. "tradetype": {
  37661. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37662. "type": "integer"
  37663. }
  37664. }
  37665. },
  37666. "order.QueryHisTradeOrderDetailRsp": {
  37667. "type": "object",
  37668. "required": [
  37669. "accountid",
  37670. "buildtype",
  37671. "buyorsell",
  37672. "goodsid",
  37673. "histradedate",
  37674. "marketid",
  37675. "memberuserid",
  37676. "operatetype",
  37677. "orderid",
  37678. "orderqty",
  37679. "ordertime",
  37680. "pricemode",
  37681. "tradedate",
  37682. "validtype"
  37683. ],
  37684. "properties": {
  37685. "accountid": {
  37686. "description": "账户ID[报价币种]",
  37687. "type": "integer"
  37688. },
  37689. "buildtype": {
  37690. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37691. "type": "integer"
  37692. },
  37693. "buyorsell": {
  37694. "description": "买卖 - 0:买 1:卖",
  37695. "type": "integer"
  37696. },
  37697. "cancelorderid": {
  37698. "description": "撤单单号(撤单时填写)",
  37699. "type": "string"
  37700. },
  37701. "cancelqty": {
  37702. "description": "撤单数量",
  37703. "type": "number"
  37704. },
  37705. "clientordertime": {
  37706. "description": "客户端委托时间",
  37707. "type": "string"
  37708. },
  37709. "clientticket": {
  37710. "description": "客户端流水号",
  37711. "type": "string"
  37712. },
  37713. "clienttype": {
  37714. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37715. "type": "integer"
  37716. },
  37717. "closeexchagechargevalue": {
  37718. "description": "平仓交易所手续费设置值",
  37719. "type": "number"
  37720. },
  37721. "closefeealgorithm": {
  37722. "description": "平仓手续费收取方式 1:比率 2:固定",
  37723. "type": "integer"
  37724. },
  37725. "closefreezecharge": {
  37726. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  37727. "type": "number"
  37728. },
  37729. "closememberchargevalue": {
  37730. "description": "平仓会员手续费设置值",
  37731. "type": "number"
  37732. },
  37733. "closeqty": {
  37734. "description": "平仓数量(先建后平操作 需要记录)",
  37735. "type": "number"
  37736. },
  37737. "closetradeqty": {
  37738. "description": "平仓成交数量(先建后平操作,需要记录)",
  37739. "type": "number"
  37740. },
  37741. "closeunfreezecharge": {
  37742. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  37743. "type": "number"
  37744. },
  37745. "decimalplace": {
  37746. "description": "商品报价小数位",
  37747. "type": "integer"
  37748. },
  37749. "delistingtype": {
  37750. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  37751. "type": "integer"
  37752. },
  37753. "enumdicname": {
  37754. "description": "单位名称",
  37755. "type": "string"
  37756. },
  37757. "freezecharge": {
  37758. "description": "冻结手续费",
  37759. "type": "number"
  37760. },
  37761. "freezemargin": {
  37762. "description": "冻结保证金(冻结交易金额)",
  37763. "type": "number"
  37764. },
  37765. "gcaccountid": {
  37766. "description": "账户ID[合约币种]",
  37767. "type": "integer"
  37768. },
  37769. "goodscode": {
  37770. "description": "商品代码",
  37771. "type": "string"
  37772. },
  37773. "goodsid": {
  37774. "description": "商品ID",
  37775. "type": "integer"
  37776. },
  37777. "goodsname": {
  37778. "description": "商品名称",
  37779. "type": "string"
  37780. },
  37781. "goodunitid": {
  37782. "description": "商品单位id",
  37783. "type": "integer"
  37784. },
  37785. "histradedate": {
  37786. "description": "历史交易日",
  37787. "type": "string"
  37788. },
  37789. "isconfirmexercise": {
  37790. "description": "是否确认行权- 0:否 1:是",
  37791. "type": "integer"
  37792. },
  37793. "ispreexercise": {
  37794. "description": "是否预申报- 0:否 1:是",
  37795. "type": "integer"
  37796. },
  37797. "isvaliddata": {
  37798. "description": "是否有效 - 0:无效 1:有效",
  37799. "type": "integer"
  37800. },
  37801. "listingselecttype": {
  37802. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37803. "type": "integer"
  37804. },
  37805. "marginalgorithm": {
  37806. "description": "保证金收取方式 1:比率 2:固定",
  37807. "type": "integer"
  37808. },
  37809. "marginvalue": {
  37810. "description": "即市保证金设置值",
  37811. "type": "number"
  37812. },
  37813. "marketid": {
  37814. "description": "市场ID",
  37815. "type": "integer"
  37816. },
  37817. "marketmaxsub": {
  37818. "description": "市价最大偏移范围",
  37819. "type": "number"
  37820. },
  37821. "marketname": {
  37822. "description": "市场名称",
  37823. "type": "string"
  37824. },
  37825. "memberuserid": {
  37826. "description": "所属会员UserID",
  37827. "type": "integer"
  37828. },
  37829. "openexchagechargevalue": {
  37830. "description": "建仓交易所手续费设置值",
  37831. "type": "number"
  37832. },
  37833. "openfeealgorithm": {
  37834. "description": "建仓手续费收取方式 1:比率 2:固定",
  37835. "type": "integer"
  37836. },
  37837. "openfreezecharge": {
  37838. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  37839. "type": "number"
  37840. },
  37841. "openmemberchargevalue": {
  37842. "description": "建仓会员手续费设置值",
  37843. "type": "number"
  37844. },
  37845. "openqty": {
  37846. "description": "开仓数量(先建后平操作,需要记录)",
  37847. "type": "number"
  37848. },
  37849. "opentradeqty": {
  37850. "description": "开仓成交数量(先建后平操作,需要记录)",
  37851. "type": "number"
  37852. },
  37853. "openunfreezecharge": {
  37854. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  37855. "type": "number"
  37856. },
  37857. "operatetype": {
  37858. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  37859. "type": "integer"
  37860. },
  37861. "operatorid": {
  37862. "description": "登录账号(LoginID)",
  37863. "type": "integer"
  37864. },
  37865. "optiontype": {
  37866. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37867. "type": "integer"
  37868. },
  37869. "orderid": {
  37870. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37871. "type": "string"
  37872. },
  37873. "orderprice": {
  37874. "description": "委托价格",
  37875. "type": "number"
  37876. },
  37877. "orderqty": {
  37878. "description": "委托数量",
  37879. "type": "number"
  37880. },
  37881. "ordersrc": {
  37882. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  37883. "type": "integer"
  37884. },
  37885. "orderstatus": {
  37886. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37887. "type": "integer"
  37888. },
  37889. "ordertime": {
  37890. "description": "委托时间",
  37891. "type": "string"
  37892. },
  37893. "preexerciseprice": {
  37894. "description": "预申报价格",
  37895. "type": "number"
  37896. },
  37897. "premium": {
  37898. "description": "权利金",
  37899. "type": "number"
  37900. },
  37901. "preorderid": {
  37902. "description": "关联预埋单号(止盈止损单时填写)",
  37903. "type": "string"
  37904. },
  37905. "pricemode": {
  37906. "description": "取价方式 - 1:市价 2: 限价",
  37907. "type": "integer"
  37908. },
  37909. "qtydecimalplace": {
  37910. "description": "成交量小数位",
  37911. "type": "integer"
  37912. },
  37913. "quoteid": {
  37914. "description": "报价单ID",
  37915. "type": "integer"
  37916. },
  37917. "relatedid": {
  37918. "description": "关联单号(交割单)",
  37919. "type": "string"
  37920. },
  37921. "retcode": {
  37922. "description": "错误代码",
  37923. "type": "integer"
  37924. },
  37925. "sessionid": {
  37926. "description": "会话ID",
  37927. "type": "integer"
  37928. },
  37929. "tradedate": {
  37930. "description": "交易日(yyyyMMdd)",
  37931. "type": "string"
  37932. },
  37933. "trademode": {
  37934. "description": "交易模式",
  37935. "type": "integer"
  37936. },
  37937. "tradeproperty": {
  37938. "description": "交易属性",
  37939. "type": "integer"
  37940. },
  37941. "tradeqty": {
  37942. "description": "成交数量",
  37943. "type": "number"
  37944. },
  37945. "unfreezecharge": {
  37946. "description": "解冻手续费",
  37947. "type": "number"
  37948. },
  37949. "unfreezemargin": {
  37950. "description": "解冻保证金",
  37951. "type": "number"
  37952. },
  37953. "updatetime": {
  37954. "description": "更新时间",
  37955. "type": "string"
  37956. },
  37957. "uuid": {
  37958. "description": "发起端唯一id",
  37959. "type": "string"
  37960. },
  37961. "validtime": {
  37962. "description": "有效期限",
  37963. "type": "string"
  37964. },
  37965. "validtype": {
  37966. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37967. "type": "integer"
  37968. },
  37969. "volumetype": {
  37970. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37971. "type": "integer"
  37972. }
  37973. }
  37974. },
  37975. "order.QueryTradeDetailRsp": {
  37976. "type": "object",
  37977. "required": [
  37978. "accountid",
  37979. "buyorsell",
  37980. "goodsid",
  37981. "marketid",
  37982. "memberuserid",
  37983. "orderid",
  37984. "tradeamount",
  37985. "tradedate",
  37986. "tradeid",
  37987. "tradeprice",
  37988. "tradeqty",
  37989. "tradetime"
  37990. ],
  37991. "properties": {
  37992. "accountid": {
  37993. "description": "账户ID[报价币种]",
  37994. "type": "integer"
  37995. },
  37996. "advanceratio": {
  37997. "description": "首付比率",
  37998. "type": "number"
  37999. },
  38000. "buildtype": {
  38001. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  38002. "type": "integer"
  38003. },
  38004. "buyorsell": {
  38005. "description": "方向 - 0:买 1:卖",
  38006. "type": "integer"
  38007. },
  38008. "charge": {
  38009. "description": "手续费",
  38010. "type": "number"
  38011. },
  38012. "closecharge": {
  38013. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  38014. "type": "number"
  38015. },
  38016. "closeexchagechargevalue": {
  38017. "description": "平仓交易所手续费设置值",
  38018. "type": "number"
  38019. },
  38020. "closefeealgorithm": {
  38021. "description": "平仓手续费收取方式 1:比率 2:固定",
  38022. "type": "integer"
  38023. },
  38024. "closememberchargevalue": {
  38025. "description": "平仓会员手续费设置值",
  38026. "type": "number"
  38027. },
  38028. "closepl": {
  38029. "description": "平仓盈亏",
  38030. "type": "number"
  38031. },
  38032. "closepl2": {
  38033. "description": "平仓盈亏[逐笔]",
  38034. "type": "number"
  38035. },
  38036. "closeqty": {
  38037. "description": "平仓数量(先建后平操作 需要记录)",
  38038. "type": "number"
  38039. },
  38040. "creditamount": {
  38041. "description": "授信金额",
  38042. "type": "number"
  38043. },
  38044. "decimalplace": {
  38045. "description": "商品报价小数位",
  38046. "type": "integer"
  38047. },
  38048. "enumdicname": {
  38049. "description": "单位名称",
  38050. "type": "string"
  38051. },
  38052. "gcaccountid": {
  38053. "description": "账户ID[合约币种]",
  38054. "type": "integer"
  38055. },
  38056. "goodscode": {
  38057. "description": "商品代码",
  38058. "type": "string"
  38059. },
  38060. "goodsid": {
  38061. "description": "商品ID",
  38062. "type": "integer"
  38063. },
  38064. "goodsname": {
  38065. "description": "商品名称",
  38066. "type": "string"
  38067. },
  38068. "goodunitid": {
  38069. "description": "商品单位id",
  38070. "type": "integer"
  38071. },
  38072. "intclosepl": {
  38073. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  38074. "type": "integer"
  38075. },
  38076. "isconfirmexercise": {
  38077. "description": "是否确认行权- 0:否 1:是",
  38078. "type": "integer"
  38079. },
  38080. "ismain": {
  38081. "description": "是否主单 - 0:不是 1:是",
  38082. "type": "integer"
  38083. },
  38084. "ispreexercise": {
  38085. "description": "是否预申报- 0:否 1:是",
  38086. "type": "integer"
  38087. },
  38088. "isreckoned": {
  38089. "description": "是否结算 - 0:未结算 1:已结算",
  38090. "type": "integer"
  38091. },
  38092. "listingselecttype": {
  38093. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38094. "type": "integer"
  38095. },
  38096. "marketid": {
  38097. "description": "市场ID",
  38098. "type": "integer"
  38099. },
  38100. "marketname": {
  38101. "description": "市场名称",
  38102. "type": "string"
  38103. },
  38104. "matchaccountid": {
  38105. "description": "对手账号id",
  38106. "type": "integer"
  38107. },
  38108. "memberuserid": {
  38109. "description": "会员id 个人投资者 需要填写",
  38110. "type": "integer"
  38111. },
  38112. "opencharge": {
  38113. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  38114. "type": "number"
  38115. },
  38116. "openexchagechargevalue": {
  38117. "description": "建仓交易所手续费设置值",
  38118. "type": "number"
  38119. },
  38120. "openfeealgorithm": {
  38121. "description": "建仓手续费收取方式 1:比率 2:固定",
  38122. "type": "integer"
  38123. },
  38124. "openmemberchargevalue": {
  38125. "description": "建仓会员手续费设置值",
  38126. "type": "number"
  38127. },
  38128. "openqty": {
  38129. "description": "开仓数量(先建后平操作 需要记录)",
  38130. "type": "number"
  38131. },
  38132. "optiontype": {
  38133. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  38134. "type": "integer"
  38135. },
  38136. "orderid": {
  38137. "description": "委托单号",
  38138. "type": "string"
  38139. },
  38140. "payamount": {
  38141. "description": "支付金额(付款金额)",
  38142. "type": "number"
  38143. },
  38144. "performanceplanid": {
  38145. "description": "履约计划ID[期权]",
  38146. "type": "integer"
  38147. },
  38148. "performancestatus": {
  38149. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  38150. "type": "integer"
  38151. },
  38152. "preexerciseprice": {
  38153. "description": "预申报价格",
  38154. "type": "number"
  38155. },
  38156. "premium": {
  38157. "description": "权利金 - [持仓单的权利金]",
  38158. "type": "number"
  38159. },
  38160. "qtydecimalplace": {
  38161. "description": "商品报价小数位",
  38162. "type": "integer"
  38163. },
  38164. "recvamount": {
  38165. "description": "到账金额 = 成交金额 - 手续费",
  38166. "type": "number"
  38167. },
  38168. "relatedouttradeid": {
  38169. "description": "关联外部成交单ID",
  38170. "type": "integer"
  38171. },
  38172. "status": {
  38173. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  38174. "type": "integer"
  38175. },
  38176. "totalamount": {
  38177. "description": "订单总额 = 成交金额 + 手续费",
  38178. "type": "number"
  38179. },
  38180. "tradeamount": {
  38181. "description": "成交金额[账户币种,用于所有权]",
  38182. "type": "number"
  38183. },
  38184. "tradedate": {
  38185. "description": "交易日(yyyyMMdd)",
  38186. "type": "string"
  38187. },
  38188. "tradeid": {
  38189. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38190. "type": "string"
  38191. },
  38192. "trademode": {
  38193. "description": "交易模式",
  38194. "type": "integer"
  38195. },
  38196. "tradeprice": {
  38197. "description": "成交价格",
  38198. "type": "number"
  38199. },
  38200. "tradeproperty": {
  38201. "description": "交易属性",
  38202. "type": "integer"
  38203. },
  38204. "tradeqty": {
  38205. "description": "成交数量",
  38206. "type": "number"
  38207. },
  38208. "tradetime": {
  38209. "description": "成交时间",
  38210. "type": "string"
  38211. },
  38212. "tradetype": {
  38213. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  38214. "type": "integer"
  38215. }
  38216. }
  38217. },
  38218. "order.QueryTradeOrderDetailRsp": {
  38219. "type": "object",
  38220. "required": [
  38221. "accountid",
  38222. "buildtype",
  38223. "buyorsell",
  38224. "goodsid",
  38225. "marketid",
  38226. "operatetype",
  38227. "orderqty",
  38228. "ordertime",
  38229. "pricemode",
  38230. "tradedate",
  38231. "validtype"
  38232. ],
  38233. "properties": {
  38234. "accountid": {
  38235. "description": "账户ID[报价币种]",
  38236. "type": "integer"
  38237. },
  38238. "buildtype": {
  38239. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  38240. "type": "integer"
  38241. },
  38242. "buyorsell": {
  38243. "description": "买卖 - 0:买 1:卖",
  38244. "type": "integer"
  38245. },
  38246. "cancelorderid": {
  38247. "description": "撤单单号(撤单时填写)",
  38248. "type": "string"
  38249. },
  38250. "cancelqty": {
  38251. "description": "撤单数量",
  38252. "type": "number"
  38253. },
  38254. "clienttype": {
  38255. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  38256. "type": "integer"
  38257. },
  38258. "closefreezecharge": {
  38259. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  38260. "type": "number"
  38261. },
  38262. "closeqty": {
  38263. "description": "平仓数量(先建后平操作 需要记录)",
  38264. "type": "number"
  38265. },
  38266. "closetradeqty": {
  38267. "description": "平仓成交数量(先建后平操作,需要记录)",
  38268. "type": "number"
  38269. },
  38270. "closeunfreezecharge": {
  38271. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  38272. "type": "number"
  38273. },
  38274. "decimalplace": {
  38275. "description": "商品报价小数位",
  38276. "type": "integer"
  38277. },
  38278. "delistingtype": {
  38279. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  38280. "type": "integer"
  38281. },
  38282. "enableqty": {
  38283. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  38284. "type": "number"
  38285. },
  38286. "enumdicname": {
  38287. "description": "单位名称",
  38288. "type": "string"
  38289. },
  38290. "freezecharge": {
  38291. "description": "冻结手续费",
  38292. "type": "number"
  38293. },
  38294. "freezemargin": {
  38295. "description": "冻结保证金(冻结交易金额)",
  38296. "type": "number"
  38297. },
  38298. "goodscode": {
  38299. "description": "商品代码",
  38300. "type": "string"
  38301. },
  38302. "goodsid": {
  38303. "description": "商品ID",
  38304. "type": "integer"
  38305. },
  38306. "goodsname": {
  38307. "description": "商品名称",
  38308. "type": "string"
  38309. },
  38310. "goodunitid": {
  38311. "description": "商品单位id",
  38312. "type": "integer"
  38313. },
  38314. "listingselecttype": {
  38315. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38316. "type": "integer"
  38317. },
  38318. "marketid": {
  38319. "description": "市场ID",
  38320. "type": "integer"
  38321. },
  38322. "marketname": {
  38323. "description": "市场名称",
  38324. "type": "string"
  38325. },
  38326. "openfreezecharge": {
  38327. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  38328. "type": "number"
  38329. },
  38330. "openqty": {
  38331. "description": "开仓数量(先建后平操作,需要记录)",
  38332. "type": "number"
  38333. },
  38334. "opentradeqty": {
  38335. "description": "开仓成交数量(先建后平操作,需要记录)",
  38336. "type": "number"
  38337. },
  38338. "openunfreezecharge": {
  38339. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  38340. "type": "number"
  38341. },
  38342. "operatetype": {
  38343. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  38344. "type": "integer"
  38345. },
  38346. "operatorid": {
  38347. "description": "登录账号(LoginID)",
  38348. "type": "integer"
  38349. },
  38350. "orderid": {
  38351. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38352. "type": "string"
  38353. },
  38354. "orderprice": {
  38355. "description": "委托价格",
  38356. "type": "number"
  38357. },
  38358. "orderqty": {
  38359. "description": "委托数量",
  38360. "type": "number"
  38361. },
  38362. "ordersrc": {
  38363. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  38364. "type": "integer"
  38365. },
  38366. "orderstatus": {
  38367. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  38368. "type": "integer"
  38369. },
  38370. "ordertime": {
  38371. "description": "委托时间",
  38372. "type": "string"
  38373. },
  38374. "preorderid": {
  38375. "description": "关联预埋单号(止盈止损单时填写)",
  38376. "type": "string"
  38377. },
  38378. "pricemode": {
  38379. "description": "取价方式 - 1:市价 2: 限价",
  38380. "type": "integer"
  38381. },
  38382. "qtydecimalplace": {
  38383. "description": "商品报价小数位",
  38384. "type": "integer"
  38385. },
  38386. "relatedid": {
  38387. "description": "关联单号(交割单)",
  38388. "type": "string"
  38389. },
  38390. "tradedate": {
  38391. "description": "交易日(yyyyMMdd)",
  38392. "type": "string"
  38393. },
  38394. "trademode": {
  38395. "description": "交易模式",
  38396. "type": "integer"
  38397. },
  38398. "tradeqty": {
  38399. "description": "成交数量",
  38400. "type": "number"
  38401. },
  38402. "unfreezecharge": {
  38403. "description": "解冻手续费",
  38404. "type": "number"
  38405. },
  38406. "unfreezemargin": {
  38407. "description": "解冻保证金",
  38408. "type": "number"
  38409. },
  38410. "validtime": {
  38411. "description": "有效期限",
  38412. "type": "string"
  38413. },
  38414. "validtype": {
  38415. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  38416. "type": "integer"
  38417. },
  38418. "volumetype": {
  38419. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  38420. "type": "integer"
  38421. }
  38422. }
  38423. },
  38424. "order.QueryTradePositionRsp": {
  38425. "type": "object",
  38426. "required": [
  38427. "goodsid"
  38428. ],
  38429. "properties": {
  38430. "accountid": {
  38431. "description": "资金账户",
  38432. "type": "integer"
  38433. },
  38434. "agreeunit": {
  38435. "description": "合约单位",
  38436. "type": "number"
  38437. },
  38438. "averageprice": {
  38439. "description": "持仓均价",
  38440. "type": "number"
  38441. },
  38442. "buyorsell": {
  38443. "description": "方向 - 0:买 1:卖",
  38444. "type": "integer"
  38445. },
  38446. "closetotalqty": {
  38447. "description": "平仓总数量",
  38448. "type": "number"
  38449. },
  38450. "curholderamount": {
  38451. "description": "当前持仓总金额[商品币种]",
  38452. "type": "number"
  38453. },
  38454. "curpositionqty": {
  38455. "description": "当前持仓总数量",
  38456. "type": "number"
  38457. },
  38458. "currencyid": {
  38459. "description": "报价货币ID",
  38460. "type": "integer"
  38461. },
  38462. "curtdposition": {
  38463. "description": "期末今日头寸",
  38464. "type": "number"
  38465. },
  38466. "decimalplace": {
  38467. "description": "报价小数位",
  38468. "type": "integer"
  38469. },
  38470. "enableqty": {
  38471. "description": "可用量",
  38472. "type": "number"
  38473. },
  38474. "fretdposition": {
  38475. "description": "冻结今日头寸",
  38476. "type": "number"
  38477. },
  38478. "frozenqty": {
  38479. "description": "持仓冻结数量",
  38480. "type": "number"
  38481. },
  38482. "goodscode": {
  38483. "description": "商品代码",
  38484. "type": "string"
  38485. },
  38486. "goodsid": {
  38487. "description": "商品Id",
  38488. "type": "integer"
  38489. },
  38490. "goodsname": {
  38491. "description": "商品名称",
  38492. "type": "string"
  38493. },
  38494. "goodunit": {
  38495. "description": "报价单位",
  38496. "type": "string"
  38497. },
  38498. "goodunitid": {
  38499. "description": "报价单位ID",
  38500. "type": "integer"
  38501. },
  38502. "holderamount": {
  38503. "description": "期初持仓总金额[商品币种]",
  38504. "type": "number"
  38505. },
  38506. "lastprice": {
  38507. "description": "最新价",
  38508. "type": "number"
  38509. },
  38510. "marketamount": {
  38511. "description": "市值",
  38512. "type": "number"
  38513. },
  38514. "marketid": {
  38515. "description": "所属市场ID",
  38516. "type": "integer"
  38517. },
  38518. "openreqqty": {
  38519. "description": "开仓申请数量(用于比较最大持仓数量)",
  38520. "type": "number"
  38521. },
  38522. "opentotalqty": {
  38523. "description": "开仓总数量",
  38524. "type": "number"
  38525. },
  38526. "otherfrozenqty": {
  38527. "description": "持仓其他冻结数量(交割冻结)",
  38528. "type": "number"
  38529. },
  38530. "positionpl": {
  38531. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  38532. "type": "number"
  38533. },
  38534. "positionplrate": {
  38535. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  38536. "type": "number"
  38537. },
  38538. "positionqty": {
  38539. "description": "期初持仓数量",
  38540. "type": "number"
  38541. },
  38542. "qtydecimalplace": {
  38543. "description": "成交量小数位",
  38544. "type": "integer"
  38545. },
  38546. "refgoodscode": {
  38547. "description": "参考商品代码",
  38548. "type": "string"
  38549. },
  38550. "refgoodsid": {
  38551. "description": "参考商品ID",
  38552. "type": "integer"
  38553. },
  38554. "tnqty": {
  38555. "description": "T+N冻结总量",
  38556. "type": "number"
  38557. },
  38558. "tnusedqty": {
  38559. "description": "T+N使用量(可以使用T+N的冻结数量)",
  38560. "type": "number"
  38561. },
  38562. "trademode": {
  38563. "description": "交易模式",
  38564. "type": "integer"
  38565. },
  38566. "tradeproperty": {
  38567. "description": "交易属性",
  38568. "type": "integer"
  38569. },
  38570. "usedmargin": {
  38571. "description": "占用保证金[商品币种]",
  38572. "type": "number"
  38573. }
  38574. }
  38575. },
  38576. "pb.GoodsMarginCfgStruct": {
  38577. "type": "object",
  38578. "properties": {
  38579. "CustomerTypeID": {
  38580. "description": "投资者客户类型",
  38581. "type": "integer"
  38582. },
  38583. "GoodsID": {
  38584. "description": "商品ID",
  38585. "type": "integer"
  38586. },
  38587. "IsDefault": {
  38588. "description": "是否默认标志位",
  38589. "type": "integer"
  38590. },
  38591. "LockMarginValue": {
  38592. "description": "锁仓保证金",
  38593. "type": "number"
  38594. },
  38595. "MarginAlgorithm": {
  38596. "description": "保证金计算方式",
  38597. "type": "integer"
  38598. },
  38599. "MarketMarginValue": {
  38600. "description": "即市保证金值",
  38601. "type": "number"
  38602. },
  38603. "RealMarginAlgorithm": {
  38604. "description": "实付保证金计算方式",
  38605. "type": "integer"
  38606. },
  38607. "RealMarginValue": {
  38608. "description": "实付比例",
  38609. "type": "number"
  38610. },
  38611. "ReckonMarginValue": {
  38612. "description": "结算保证金值",
  38613. "type": "number"
  38614. }
  38615. }
  38616. },
  38617. "quote.HistoryData": {
  38618. "type": "object",
  38619. "properties": {
  38620. "c": {
  38621. "description": "收盘价",
  38622. "type": "number"
  38623. },
  38624. "f": {
  38625. "description": "是否补充数据",
  38626. "type": "boolean"
  38627. },
  38628. "h": {
  38629. "description": "最高价",
  38630. "type": "number"
  38631. },
  38632. "hv": {
  38633. "description": "持仓量",
  38634. "type": "integer"
  38635. },
  38636. "l": {
  38637. "description": "最低价",
  38638. "type": "number"
  38639. },
  38640. "o": {
  38641. "description": "开盘价",
  38642. "type": "number"
  38643. },
  38644. "s": {
  38645. "description": "结算价,日线周期(包括)以上才有",
  38646. "type": "number"
  38647. },
  38648. "ts": {
  38649. "description": "时间",
  38650. "type": "string"
  38651. },
  38652. "tt": {
  38653. "description": "总金额",
  38654. "type": "number"
  38655. },
  38656. "tv": {
  38657. "description": "总量(成交量)",
  38658. "type": "integer"
  38659. }
  38660. }
  38661. },
  38662. "quote.HistoryTikData": {
  38663. "type": "object",
  38664. "properties": {
  38665. "AV": {
  38666. "description": "卖量",
  38667. "type": "integer"
  38668. },
  38669. "Ask": {
  38670. "description": "卖价",
  38671. "type": "number"
  38672. },
  38673. "BV": {
  38674. "description": "买量",
  38675. "type": "integer"
  38676. },
  38677. "Bid": {
  38678. "description": "买价",
  38679. "type": "number"
  38680. },
  38681. "HI": {
  38682. "description": "单笔持仓",
  38683. "type": "integer"
  38684. },
  38685. "HV": {
  38686. "description": "持仓量",
  38687. "type": "integer"
  38688. },
  38689. "PE": {
  38690. "description": "现价",
  38691. "type": "number"
  38692. },
  38693. "TDR": {
  38694. "description": "交易方向,0:买 1:卖",
  38695. "type": "integer"
  38696. },
  38697. "TK": {
  38698. "description": "交易类型",
  38699. "type": "integer"
  38700. },
  38701. "TS": {
  38702. "description": "行情时间文本",
  38703. "type": "string"
  38704. },
  38705. "TT": {
  38706. "description": "现金额",
  38707. "type": "number"
  38708. },
  38709. "Vol": {
  38710. "description": "现量",
  38711. "type": "integer"
  38712. }
  38713. }
  38714. },
  38715. "quote.QueryQuoteDayRsp": {
  38716. "type": "object",
  38717. "properties": {
  38718. "ask": {
  38719. "description": "卖1",
  38720. "type": "number"
  38721. },
  38722. "ask10": {
  38723. "description": "卖10",
  38724. "type": "number"
  38725. },
  38726. "ask2": {
  38727. "description": "卖2",
  38728. "type": "number"
  38729. },
  38730. "ask3": {
  38731. "description": "卖3",
  38732. "type": "number"
  38733. },
  38734. "ask4": {
  38735. "description": "卖4",
  38736. "type": "number"
  38737. },
  38738. "ask5": {
  38739. "description": "卖5",
  38740. "type": "number"
  38741. },
  38742. "ask6": {
  38743. "description": "卖6",
  38744. "type": "number"
  38745. },
  38746. "ask7": {
  38747. "description": "卖7",
  38748. "type": "number"
  38749. },
  38750. "ask8": {
  38751. "description": "卖8",
  38752. "type": "number"
  38753. },
  38754. "ask9": {
  38755. "description": "卖9",
  38756. "type": "number"
  38757. },
  38758. "askorderid": {
  38759. "description": "卖单号1",
  38760. "type": "integer"
  38761. },
  38762. "askorderid2": {
  38763. "description": "卖单号2",
  38764. "type": "integer"
  38765. },
  38766. "askorderid3": {
  38767. "description": "卖单号3",
  38768. "type": "integer"
  38769. },
  38770. "askorderid4": {
  38771. "description": "卖单号4",
  38772. "type": "integer"
  38773. },
  38774. "askorderid5": {
  38775. "description": "卖单号5",
  38776. "type": "integer"
  38777. },
  38778. "askordervolume": {
  38779. "description": "卖单量1",
  38780. "type": "integer"
  38781. },
  38782. "askordervolume10": {
  38783. "description": "卖单量10",
  38784. "type": "integer"
  38785. },
  38786. "askordervolume2": {
  38787. "description": "卖单量2",
  38788. "type": "integer"
  38789. },
  38790. "askordervolume3": {
  38791. "description": "卖单量3",
  38792. "type": "integer"
  38793. },
  38794. "askordervolume4": {
  38795. "description": "卖单量4",
  38796. "type": "integer"
  38797. },
  38798. "askordervolume5": {
  38799. "description": "卖单量5",
  38800. "type": "integer"
  38801. },
  38802. "askordervolume6": {
  38803. "description": "卖单量6",
  38804. "type": "integer"
  38805. },
  38806. "askordervolume7": {
  38807. "description": "卖单量7",
  38808. "type": "integer"
  38809. },
  38810. "askordervolume8": {
  38811. "description": "卖单量8",
  38812. "type": "integer"
  38813. },
  38814. "askordervolume9": {
  38815. "description": "卖单量9",
  38816. "type": "integer"
  38817. },
  38818. "askqueueinfo": {
  38819. "description": "大利市卖港股用",
  38820. "type": "string"
  38821. },
  38822. "askvolume": {
  38823. "description": "卖量1",
  38824. "type": "integer"
  38825. },
  38826. "askvolume10": {
  38827. "description": "卖量10",
  38828. "type": "integer"
  38829. },
  38830. "askvolume2": {
  38831. "description": "卖量2",
  38832. "type": "integer"
  38833. },
  38834. "askvolume3": {
  38835. "description": "卖量3",
  38836. "type": "integer"
  38837. },
  38838. "askvolume4": {
  38839. "description": "卖量4",
  38840. "type": "integer"
  38841. },
  38842. "askvolume5": {
  38843. "description": "卖量5",
  38844. "type": "integer"
  38845. },
  38846. "askvolume6": {
  38847. "description": "卖量6",
  38848. "type": "integer"
  38849. },
  38850. "askvolume7": {
  38851. "description": "卖量7",
  38852. "type": "integer"
  38853. },
  38854. "askvolume8": {
  38855. "description": "卖量8",
  38856. "type": "integer"
  38857. },
  38858. "askvolume9": {
  38859. "description": "卖量9",
  38860. "type": "integer"
  38861. },
  38862. "averageprice": {
  38863. "description": "均价",
  38864. "type": "number"
  38865. },
  38866. "bid": {
  38867. "description": "买1",
  38868. "type": "number"
  38869. },
  38870. "bid10": {
  38871. "description": "买10",
  38872. "type": "number"
  38873. },
  38874. "bid2": {
  38875. "description": "买2",
  38876. "type": "number"
  38877. },
  38878. "bid3": {
  38879. "description": "买3",
  38880. "type": "number"
  38881. },
  38882. "bid4": {
  38883. "description": "买4",
  38884. "type": "number"
  38885. },
  38886. "bid5": {
  38887. "description": "买5",
  38888. "type": "number"
  38889. },
  38890. "bid6": {
  38891. "description": "买6",
  38892. "type": "number"
  38893. },
  38894. "bid7": {
  38895. "description": "买7",
  38896. "type": "number"
  38897. },
  38898. "bid8": {
  38899. "description": "买8",
  38900. "type": "number"
  38901. },
  38902. "bid9": {
  38903. "description": "买9",
  38904. "type": "number"
  38905. },
  38906. "bidorderid": {
  38907. "description": "买单号1",
  38908. "type": "integer"
  38909. },
  38910. "bidorderid2": {
  38911. "description": "买单号2",
  38912. "type": "integer"
  38913. },
  38914. "bidorderid3": {
  38915. "description": "买单号3",
  38916. "type": "integer"
  38917. },
  38918. "bidorderid4": {
  38919. "description": "买单号4",
  38920. "type": "integer"
  38921. },
  38922. "bidorderid5": {
  38923. "description": "买单号5",
  38924. "type": "integer"
  38925. },
  38926. "bidordervolume": {
  38927. "description": "买单量1",
  38928. "type": "integer"
  38929. },
  38930. "bidordervolume10": {
  38931. "description": "买单量10",
  38932. "type": "integer"
  38933. },
  38934. "bidordervolume2": {
  38935. "description": "买单量2",
  38936. "type": "integer"
  38937. },
  38938. "bidordervolume3": {
  38939. "description": "买单量3",
  38940. "type": "integer"
  38941. },
  38942. "bidordervolume4": {
  38943. "description": "买单量4",
  38944. "type": "integer"
  38945. },
  38946. "bidordervolume5": {
  38947. "description": "买单量5",
  38948. "type": "integer"
  38949. },
  38950. "bidordervolume6": {
  38951. "description": "买单量6",
  38952. "type": "integer"
  38953. },
  38954. "bidordervolume7": {
  38955. "description": "买单量7",
  38956. "type": "integer"
  38957. },
  38958. "bidordervolume8": {
  38959. "description": "买单量8",
  38960. "type": "integer"
  38961. },
  38962. "bidordervolume9": {
  38963. "description": "买单量9",
  38964. "type": "integer"
  38965. },
  38966. "bidqueueinfo": {
  38967. "description": "大利市买港股用",
  38968. "type": "string"
  38969. },
  38970. "bidvolume": {
  38971. "description": "买量1",
  38972. "type": "integer"
  38973. },
  38974. "bidvolume10": {
  38975. "description": "买量10",
  38976. "type": "integer"
  38977. },
  38978. "bidvolume2": {
  38979. "description": "买量2",
  38980. "type": "integer"
  38981. },
  38982. "bidvolume3": {
  38983. "description": "买量3",
  38984. "type": "integer"
  38985. },
  38986. "bidvolume4": {
  38987. "description": "买量4",
  38988. "type": "integer"
  38989. },
  38990. "bidvolume5": {
  38991. "description": "买量5",
  38992. "type": "integer"
  38993. },
  38994. "bidvolume6": {
  38995. "description": "买量6",
  38996. "type": "integer"
  38997. },
  38998. "bidvolume7": {
  38999. "description": "买量7",
  39000. "type": "integer"
  39001. },
  39002. "bidvolume8": {
  39003. "description": "买量8",
  39004. "type": "integer"
  39005. },
  39006. "bidvolume9": {
  39007. "description": "买量9",
  39008. "type": "integer"
  39009. },
  39010. "calloptionpremiums": {
  39011. "description": "认购期权1",
  39012. "type": "integer"
  39013. },
  39014. "calloptionpremiums2": {
  39015. "description": "认购期权2",
  39016. "type": "integer"
  39017. },
  39018. "calloptionpremiums3": {
  39019. "description": "认购期权3",
  39020. "type": "integer"
  39021. },
  39022. "calloptionpremiums4": {
  39023. "description": "认购期权4",
  39024. "type": "integer"
  39025. },
  39026. "calloptionpremiums5": {
  39027. "description": "认购期权5",
  39028. "type": "integer"
  39029. },
  39030. "cleartime": {
  39031. "description": "清盘时间",
  39032. "type": "integer"
  39033. },
  39034. "exchangecode": {
  39035. "description": "交易所代码",
  39036. "type": "integer"
  39037. },
  39038. "exchangedate": {
  39039. "description": "交易日",
  39040. "type": "integer"
  39041. },
  39042. "goodscode": {
  39043. "description": "商品代码",
  39044. "type": "string"
  39045. },
  39046. "grepmarketprice": {
  39047. "description": "暗盘价 港股专用",
  39048. "type": "number"
  39049. },
  39050. "highest": {
  39051. "description": "最高价",
  39052. "type": "number"
  39053. },
  39054. "holdincrement": {
  39055. "description": "单笔持仓",
  39056. "type": "integer"
  39057. },
  39058. "holdvolume": {
  39059. "description": "持仓",
  39060. "type": "integer"
  39061. },
  39062. "iep": {
  39063. "description": "平衡价 港股专用",
  39064. "type": "number"
  39065. },
  39066. "iev": {
  39067. "description": "平衡量 港股专用",
  39068. "type": "number"
  39069. },
  39070. "inventory": {
  39071. "description": "库存",
  39072. "type": "integer"
  39073. },
  39074. "iscleared": {
  39075. "description": "是否清盘标志",
  39076. "type": "integer"
  39077. },
  39078. "issettled": {
  39079. "description": "是否结算标志",
  39080. "type": "integer"
  39081. },
  39082. "last": {
  39083. "description": "最新价",
  39084. "type": "number"
  39085. },
  39086. "lastlot": {
  39087. "description": "最新成交手数",
  39088. "type": "integer"
  39089. },
  39090. "lasttime": {
  39091. "description": "行情时间(只有现价变化行情时间才变化)",
  39092. "type": "string"
  39093. },
  39094. "lastturnover": {
  39095. "description": "最新成交金额",
  39096. "type": "number"
  39097. },
  39098. "lastvolume": {
  39099. "description": "最新成交量",
  39100. "type": "integer"
  39101. },
  39102. "limitdown": {
  39103. "description": "跌停价",
  39104. "type": "number"
  39105. },
  39106. "limitup": {
  39107. "description": "涨停价",
  39108. "type": "number"
  39109. },
  39110. "lowest": {
  39111. "description": "最低价",
  39112. "type": "number"
  39113. },
  39114. "nontotalholdervolume": {
  39115. "description": "非交易持仓量",
  39116. "type": "integer"
  39117. },
  39118. "nontotallot": {
  39119. "description": "非交易总手数",
  39120. "type": "integer"
  39121. },
  39122. "nontotalturnover": {
  39123. "description": "非交易总金额",
  39124. "type": "integer"
  39125. },
  39126. "nontotalvolume": {
  39127. "description": "非交易总量",
  39128. "type": "integer"
  39129. },
  39130. "opened": {
  39131. "description": "开盘价",
  39132. "type": "number"
  39133. },
  39134. "opentime": {
  39135. "description": "开盘时间",
  39136. "type": "string"
  39137. },
  39138. "orderid": {
  39139. "description": "序号",
  39140. "type": "integer"
  39141. },
  39142. "preclose": {
  39143. "description": "昨收",
  39144. "type": "number"
  39145. },
  39146. "preholdvolume": {
  39147. "description": "昨持仓",
  39148. "type": "integer"
  39149. },
  39150. "presettle": {
  39151. "description": "昨结价",
  39152. "type": "number"
  39153. },
  39154. "publictradetype": {
  39155. "description": "公共交易标志类型 港股专用",
  39156. "type": "string"
  39157. },
  39158. "putoptionpremiums": {
  39159. "description": "认沽期权1",
  39160. "type": "integer"
  39161. },
  39162. "putoptionpremiums2": {
  39163. "description": "认沽期权2",
  39164. "type": "integer"
  39165. },
  39166. "putoptionpremiums3": {
  39167. "description": "认沽期权3",
  39168. "type": "integer"
  39169. },
  39170. "putoptionpremiums4": {
  39171. "description": "认沽期权4",
  39172. "type": "integer"
  39173. },
  39174. "putoptionpremiums5": {
  39175. "description": "认沽期权5",
  39176. "type": "integer"
  39177. },
  39178. "settle": {
  39179. "description": "结算价",
  39180. "type": "number"
  39181. },
  39182. "strikeprice": {
  39183. "description": "发行价",
  39184. "type": "number"
  39185. },
  39186. "totalaskvolume": {
  39187. "description": "内盘",
  39188. "type": "integer"
  39189. },
  39190. "totalbidvolume": {
  39191. "description": "外盘",
  39192. "type": "integer"
  39193. },
  39194. "totallot": {
  39195. "description": "总手数",
  39196. "type": "integer"
  39197. },
  39198. "totalturnover": {
  39199. "description": "总金额",
  39200. "type": "number"
  39201. },
  39202. "totalvolume": {
  39203. "description": "总量",
  39204. "type": "integer"
  39205. },
  39206. "utclasttime": {
  39207. "description": "utc的行情时间",
  39208. "type": "string"
  39209. }
  39210. }
  39211. },
  39212. "quote.QueryTSDataRsp": {
  39213. "type": "object",
  39214. "properties": {
  39215. "Count": {
  39216. "description": "交易日应有数据个数",
  39217. "type": "integer"
  39218. },
  39219. "decimalPlace": {
  39220. "description": "小数位",
  39221. "type": "integer"
  39222. },
  39223. "endTime": {
  39224. "description": "结束时间",
  39225. "type": "string"
  39226. },
  39227. "goodsCode": {
  39228. "description": "商品代码",
  39229. "type": "string"
  39230. },
  39231. "historyDatas": {
  39232. "description": "历史数据",
  39233. "type": "array",
  39234. "items": {
  39235. "$ref": "#/definitions/quote.HistoryData"
  39236. }
  39237. },
  39238. "outGoodsCode": {
  39239. "description": "外部商品代码",
  39240. "type": "string"
  39241. },
  39242. "preSettle": {
  39243. "description": "昨结价",
  39244. "type": "number"
  39245. },
  39246. "runSteps": {
  39247. "description": "交易日开休市计划",
  39248. "type": "array",
  39249. "items": {
  39250. "$ref": "#/definitions/quote.TSDataRunStep"
  39251. }
  39252. },
  39253. "startTime": {
  39254. "description": "开始时间",
  39255. "type": "string"
  39256. },
  39257. "tradeDate": {
  39258. "description": "交易日",
  39259. "type": "string"
  39260. }
  39261. }
  39262. },
  39263. "quote.TSDataRunStep": {
  39264. "type": "object",
  39265. "properties": {
  39266. "end": {
  39267. "description": "真实结束时间",
  39268. "type": "string"
  39269. },
  39270. "endflag": {
  39271. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  39272. "type": "integer"
  39273. },
  39274. "endtime": {
  39275. "description": "结束时间(HH:mm)",
  39276. "type": "string"
  39277. },
  39278. "endweekday": {
  39279. "description": "结束周几",
  39280. "type": "integer"
  39281. },
  39282. "groupid": {
  39283. "description": "分组ID",
  39284. "type": "integer"
  39285. },
  39286. "runstep": {
  39287. "description": "运行阶段 - 2:连续交易",
  39288. "type": "integer"
  39289. },
  39290. "sectionid": {
  39291. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  39292. "type": "integer"
  39293. },
  39294. "start": {
  39295. "description": "真实开始时间",
  39296. "type": "string"
  39297. },
  39298. "startflag": {
  39299. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  39300. "type": "integer"
  39301. },
  39302. "starttime": {
  39303. "description": "起始时间(HH:mm)",
  39304. "type": "string"
  39305. },
  39306. "startweekday": {
  39307. "description": "起始周几",
  39308. "type": "integer"
  39309. },
  39310. "tradeweekday": {
  39311. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  39312. "type": "integer"
  39313. }
  39314. }
  39315. },
  39316. "szdz.QueryConvertLogRsp": {
  39317. "type": "object",
  39318. "required": [
  39319. "logid"
  39320. ],
  39321. "properties": {
  39322. "accountid": {
  39323. "description": "资金账户ID",
  39324. "type": "integer"
  39325. },
  39326. "clientticket": {
  39327. "description": "客户端流水号",
  39328. "type": "string"
  39329. },
  39330. "converttype": {
  39331. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  39332. "type": "integer"
  39333. },
  39334. "createtime": {
  39335. "description": "记账时间",
  39336. "type": "string"
  39337. },
  39338. "daymaxvalue": {
  39339. "description": "配置当日最大转入限制",
  39340. "type": "number"
  39341. },
  39342. "daymaxvalue2": {
  39343. "description": "配置当日最大转入限制(转入)",
  39344. "type": "number"
  39345. },
  39346. "goodscode": {
  39347. "description": "商品代码",
  39348. "type": "string"
  39349. },
  39350. "goodsname": {
  39351. "description": "商品名称",
  39352. "type": "string"
  39353. },
  39354. "handlestatus": {
  39355. "description": "处理状态",
  39356. "type": "integer"
  39357. },
  39358. "innergoodsid": {
  39359. "description": "内部商品ID",
  39360. "type": "integer"
  39361. },
  39362. "inratio": {
  39363. "description": "配置转入比值",
  39364. "type": "integer"
  39365. },
  39366. "invalue": {
  39367. "description": "目标值",
  39368. "type": "number"
  39369. },
  39370. "logid": {
  39371. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39372. "type": "integer"
  39373. },
  39374. "mobile": {
  39375. "description": "手机号码(加密存储)",
  39376. "type": "string"
  39377. },
  39378. "outergoodscode": {
  39379. "description": "外部商品代码[JD\\PD]",
  39380. "type": "string"
  39381. },
  39382. "outratio": {
  39383. "description": "配置转出比值",
  39384. "type": "integer"
  39385. },
  39386. "outvalue": {
  39387. "description": "源值",
  39388. "type": "number"
  39389. },
  39390. "pddecimalplace": {
  39391. "description": "PD小数位",
  39392. "type": "integer"
  39393. },
  39394. "qty": {
  39395. "description": "数量",
  39396. "type": "string"
  39397. },
  39398. "remark": {
  39399. "description": "备注",
  39400. "type": "string"
  39401. },
  39402. "sessionid": {
  39403. "description": "会话ID",
  39404. "type": "integer"
  39405. },
  39406. "timemaxvalue": {
  39407. "description": "配置单次最大转入限制",
  39408. "type": "number"
  39409. },
  39410. "timemaxvalue2": {
  39411. "description": "配置单次最大转入限制(转入)",
  39412. "type": "number"
  39413. },
  39414. "timeminvalue": {
  39415. "description": "配置单次最小数量限制",
  39416. "type": "number"
  39417. },
  39418. "timeminvalue2": {
  39419. "description": "配置单次最小数量限制(转入)",
  39420. "type": "number"
  39421. },
  39422. "tradedate": {
  39423. "description": "交易日(yyyyMMdd)",
  39424. "type": "string"
  39425. },
  39426. "userid": {
  39427. "description": "用户ID",
  39428. "type": "integer"
  39429. }
  39430. }
  39431. },
  39432. "szdz.QueryGoodsPickupRsp": {
  39433. "type": "object",
  39434. "required": [
  39435. "takeorderid"
  39436. ],
  39437. "properties": {
  39438. "accountid": {
  39439. "description": "账户ID",
  39440. "type": "integer"
  39441. },
  39442. "address": {
  39443. "description": "提货人详细地址",
  39444. "type": "string"
  39445. },
  39446. "auditer": {
  39447. "description": "审核人",
  39448. "type": "integer"
  39449. },
  39450. "audittime": {
  39451. "description": "审核时间",
  39452. "type": "string"
  39453. },
  39454. "cardnum": {
  39455. "description": "提货人证件号码",
  39456. "type": "string"
  39457. },
  39458. "cardtypeid": {
  39459. "description": "提货人证件类型",
  39460. "type": "integer"
  39461. },
  39462. "checkremark": {
  39463. "description": "审核备注",
  39464. "type": "string"
  39465. },
  39466. "goodscode": {
  39467. "description": "商品代码",
  39468. "type": "string"
  39469. },
  39470. "goodsid": {
  39471. "description": "商品ID",
  39472. "type": "integer"
  39473. },
  39474. "goodsname": {
  39475. "description": "商品名称",
  39476. "type": "string"
  39477. },
  39478. "handlestatus": {
  39479. "description": "处理状态",
  39480. "type": "integer"
  39481. },
  39482. "marketid": {
  39483. "description": "市场ID",
  39484. "type": "integer"
  39485. },
  39486. "phonenum": {
  39487. "description": "提货人联系方式",
  39488. "type": "string"
  39489. },
  39490. "qty": {
  39491. "description": "提货数量",
  39492. "type": "number"
  39493. },
  39494. "recivername": {
  39495. "description": "提货人姓名",
  39496. "type": "string"
  39497. },
  39498. "reqtime": {
  39499. "description": "更新时间",
  39500. "type": "string"
  39501. },
  39502. "takemode": {
  39503. "description": "提货方式 - 2:自提 3:配送",
  39504. "type": "integer"
  39505. },
  39506. "takeorderid": {
  39507. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  39508. "type": "string"
  39509. },
  39510. "takeorderstatus": {
  39511. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  39512. "type": "integer"
  39513. },
  39514. "takeremark": {
  39515. "description": "提货备注",
  39516. "type": "string"
  39517. },
  39518. "tradedate": {
  39519. "description": "交易日(yyyyMMdd)",
  39520. "type": "string"
  39521. },
  39522. "userid": {
  39523. "description": "用户ID",
  39524. "type": "integer"
  39525. }
  39526. }
  39527. },
  39528. "szdz.QueryRecieptOrderRsp": {
  39529. "type": "object",
  39530. "required": [
  39531. "ordertime"
  39532. ],
  39533. "properties": {
  39534. "accountName": {
  39535. "description": "所属账号名称(已脱敏)",
  39536. "type": "string"
  39537. },
  39538. "accountid": {
  39539. "description": "资金账号",
  39540. "type": "integer"
  39541. },
  39542. "buyorsell": {
  39543. "description": "方向 - 0:买 1:卖",
  39544. "type": "integer"
  39545. },
  39546. "enableqty": {
  39547. "description": "可摘数量",
  39548. "type": "integer"
  39549. },
  39550. "goodscode": {
  39551. "description": "商品代码",
  39552. "type": "string"
  39553. },
  39554. "goodsid": {
  39555. "description": "商品ID",
  39556. "type": "integer"
  39557. },
  39558. "goodsname": {
  39559. "description": "商品名称",
  39560. "type": "string"
  39561. },
  39562. "orderid": {
  39563. "description": "委托单号",
  39564. "type": "string"
  39565. },
  39566. "orderprice": {
  39567. "description": "委托价格",
  39568. "type": "number"
  39569. },
  39570. "ordertime": {
  39571. "description": "委托时间",
  39572. "type": "string"
  39573. },
  39574. "tradedate": {
  39575. "description": "交易日(yyyyMMdd)",
  39576. "type": "string"
  39577. }
  39578. }
  39579. },
  39580. "szdz.QuerySZDZTradePositionRsp": {
  39581. "type": "object",
  39582. "properties": {
  39583. "accountid": {
  39584. "description": "账号Id",
  39585. "type": "integer"
  39586. },
  39587. "agreeunit": {
  39588. "description": "合约单位",
  39589. "type": "number"
  39590. },
  39591. "averageprice": {
  39592. "description": "持仓均价",
  39593. "type": "number"
  39594. },
  39595. "buyorsell": {
  39596. "description": "方向 - 0:买 1:卖",
  39597. "type": "integer"
  39598. },
  39599. "closetotalqty": {
  39600. "description": "平仓总数量",
  39601. "type": "integer"
  39602. },
  39603. "curholderamount": {
  39604. "description": "当前持仓总金额",
  39605. "type": "number"
  39606. },
  39607. "curpositionqty": {
  39608. "description": "当前持仓总数量",
  39609. "type": "integer"
  39610. },
  39611. "currencyid": {
  39612. "description": "报价货币ID",
  39613. "type": "integer"
  39614. },
  39615. "curtdposition": {
  39616. "description": "期末今日头寸",
  39617. "type": "integer"
  39618. },
  39619. "decimalplace": {
  39620. "description": "报价小数位",
  39621. "type": "integer"
  39622. },
  39623. "enableqty": {
  39624. "description": "可用量",
  39625. "type": "integer"
  39626. },
  39627. "fretdposition": {
  39628. "description": "冻结今日头寸",
  39629. "type": "integer"
  39630. },
  39631. "frozenqty": {
  39632. "description": "持仓冻结数量",
  39633. "type": "integer"
  39634. },
  39635. "goodscode": {
  39636. "description": "商品代码(内部)",
  39637. "type": "string"
  39638. },
  39639. "goodsid": {
  39640. "description": "商品Id",
  39641. "type": "integer"
  39642. },
  39643. "goodsname": {
  39644. "description": "商品名称",
  39645. "type": "string"
  39646. },
  39647. "goodunit": {
  39648. "description": "报价单位",
  39649. "type": "string"
  39650. },
  39651. "goodunitid": {
  39652. "description": "报价单位ID",
  39653. "type": "integer"
  39654. },
  39655. "holderamount": {
  39656. "description": "期初持仓总金额",
  39657. "type": "number"
  39658. },
  39659. "marketid": {
  39660. "description": "市场ID",
  39661. "type": "integer"
  39662. },
  39663. "openreqqty": {
  39664. "description": "开仓申请数量",
  39665. "type": "integer"
  39666. },
  39667. "opentotalqty": {
  39668. "description": "开仓总数量",
  39669. "type": "integer"
  39670. },
  39671. "otherfrozenqty": {
  39672. "description": "持仓其他冻结数量(交割冻结)",
  39673. "type": "integer"
  39674. },
  39675. "positionqty": {
  39676. "description": "期初持仓数量",
  39677. "type": "integer"
  39678. },
  39679. "szdz3freezqty": {
  39680. "description": "尚志大宗转换冻结总数量",
  39681. "type": "integer"
  39682. },
  39683. "tnqty": {
  39684. "description": "T+N冻结总量",
  39685. "type": "integer"
  39686. },
  39687. "tnusedqty": {
  39688. "description": "T+N使用量",
  39689. "type": "integer"
  39690. },
  39691. "trademode": {
  39692. "description": "交易模式",
  39693. "type": "integer"
  39694. },
  39695. "usedmargin": {
  39696. "description": "占用保证金",
  39697. "type": "number"
  39698. }
  39699. }
  39700. },
  39701. "taaccount.QueryAmountLogRsp": {
  39702. "type": "object",
  39703. "required": [
  39704. "accountid",
  39705. "amount",
  39706. "amountadjusttype",
  39707. "autoid",
  39708. "balance",
  39709. "createtime",
  39710. "currentbalance",
  39711. "operatetype"
  39712. ],
  39713. "properties": {
  39714. "OPERATETYPENAME": {
  39715. "description": "资金操作类型名称",
  39716. "type": "string"
  39717. },
  39718. "accountid": {
  39719. "description": "资金账户ID",
  39720. "type": "integer"
  39721. },
  39722. "agoodscode": {
  39723. "description": "竞拍商品代码",
  39724. "type": "string"
  39725. },
  39726. "agoodsname": {
  39727. "description": "竞拍商品名称",
  39728. "type": "string"
  39729. },
  39730. "amount": {
  39731. "description": "资金金额",
  39732. "type": "number"
  39733. },
  39734. "amountadjusttype": {
  39735. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39736. "type": "integer"
  39737. },
  39738. "autoid": {
  39739. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39740. "type": "integer"
  39741. },
  39742. "balance": {
  39743. "description": "期初余额",
  39744. "type": "number"
  39745. },
  39746. "businesscode": {
  39747. "description": "业务编号",
  39748. "type": "integer"
  39749. },
  39750. "createtime": {
  39751. "description": "发生时间",
  39752. "type": "string"
  39753. },
  39754. "currencyid": {
  39755. "description": "币种ID",
  39756. "type": "integer"
  39757. },
  39758. "currentbalance": {
  39759. "description": "期末余额(变动后金额)",
  39760. "type": "number"
  39761. },
  39762. "dgoodscode": {
  39763. "description": "交割商品代码",
  39764. "type": "string"
  39765. },
  39766. "dgoodsname": {
  39767. "description": "交割商品名称",
  39768. "type": "string"
  39769. },
  39770. "goodscode": {
  39771. "description": "商品代码",
  39772. "type": "string"
  39773. },
  39774. "goodsid": {
  39775. "description": "商品ID",
  39776. "type": "integer"
  39777. },
  39778. "goodsname": {
  39779. "description": "商品名称",
  39780. "type": "string"
  39781. },
  39782. "marketid": {
  39783. "description": "市场ID",
  39784. "type": "integer"
  39785. },
  39786. "marketname": {
  39787. "description": "市场名称",
  39788. "type": "string"
  39789. },
  39790. "moneyticket": {
  39791. "description": "资金流水号:银行端流水号",
  39792. "type": "integer"
  39793. },
  39794. "operatetype": {
  39795. "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:营销收款",
  39796. "type": "integer"
  39797. },
  39798. "relationorderid": {
  39799. "description": "关联单号",
  39800. "type": "string"
  39801. },
  39802. "remark": {
  39803. "description": "备注",
  39804. "type": "string"
  39805. },
  39806. "trademode": {
  39807. "description": "交易模式",
  39808. "type": "integer"
  39809. }
  39810. }
  39811. },
  39812. "taaccount.QueryHisAmountLogRsp": {
  39813. "type": "object",
  39814. "required": [
  39815. "accountid",
  39816. "amount",
  39817. "amountadjusttype",
  39818. "autoid",
  39819. "balance",
  39820. "createtime",
  39821. "currentbalance",
  39822. "histradedate",
  39823. "operatetype"
  39824. ],
  39825. "properties": {
  39826. "OPERATETYPENAME": {
  39827. "description": "资金操作类型名称",
  39828. "type": "string"
  39829. },
  39830. "accountid": {
  39831. "description": "资金账户ID",
  39832. "type": "integer"
  39833. },
  39834. "agoodscode": {
  39835. "description": "竞拍商品代码",
  39836. "type": "string"
  39837. },
  39838. "agoodsname": {
  39839. "description": "竞拍商品名称",
  39840. "type": "string"
  39841. },
  39842. "amount": {
  39843. "description": "资金金额",
  39844. "type": "number"
  39845. },
  39846. "amountadjusttype": {
  39847. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39848. "type": "integer"
  39849. },
  39850. "autoid": {
  39851. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39852. "type": "integer"
  39853. },
  39854. "balance": {
  39855. "description": "期初余额",
  39856. "type": "number"
  39857. },
  39858. "businesscode": {
  39859. "description": "业务编号",
  39860. "type": "integer"
  39861. },
  39862. "createtime": {
  39863. "description": "发生时间",
  39864. "type": "string"
  39865. },
  39866. "currencyid": {
  39867. "description": "币种ID",
  39868. "type": "integer"
  39869. },
  39870. "currentbalance": {
  39871. "description": "期末余额(变动后金额)",
  39872. "type": "number"
  39873. },
  39874. "dgoodscode": {
  39875. "description": "交割商品代码",
  39876. "type": "string"
  39877. },
  39878. "dgoodsname": {
  39879. "description": "交割商品名称",
  39880. "type": "string"
  39881. },
  39882. "goodscode": {
  39883. "description": "商品代码",
  39884. "type": "string"
  39885. },
  39886. "goodsid": {
  39887. "description": "商品ID",
  39888. "type": "integer"
  39889. },
  39890. "goodsname": {
  39891. "description": "商品名称",
  39892. "type": "string"
  39893. },
  39894. "histradedate": {
  39895. "description": "历史交易日",
  39896. "type": "string"
  39897. },
  39898. "isvaliddata": {
  39899. "description": "是否有效 - 0:无效 1:有效",
  39900. "type": "integer"
  39901. },
  39902. "marketid": {
  39903. "description": "市场ID",
  39904. "type": "integer"
  39905. },
  39906. "marketname": {
  39907. "description": "市场名称",
  39908. "type": "string"
  39909. },
  39910. "moneyticket": {
  39911. "description": "资金流水号:银行端流水号",
  39912. "type": "integer"
  39913. },
  39914. "operatetype": {
  39915. "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:营销收款",
  39916. "type": "integer"
  39917. },
  39918. "relationorderid": {
  39919. "description": "关联单号",
  39920. "type": "string"
  39921. },
  39922. "remark": {
  39923. "description": "备注",
  39924. "type": "string"
  39925. },
  39926. "trademode": {
  39927. "description": "交易模式",
  39928. "type": "integer"
  39929. }
  39930. }
  39931. },
  39932. "trade.QueryRecieptOrderRsp": {
  39933. "type": "object",
  39934. "required": [
  39935. "ordertime"
  39936. ],
  39937. "properties": {
  39938. "accountName": {
  39939. "description": "所属账号名称(已脱敏)",
  39940. "type": "string"
  39941. },
  39942. "accountid": {
  39943. "description": "资金账号",
  39944. "type": "integer"
  39945. },
  39946. "buyorsell": {
  39947. "description": "方向 - 0:买 1:卖",
  39948. "type": "integer"
  39949. },
  39950. "enableqty": {
  39951. "description": "可摘数量",
  39952. "type": "integer"
  39953. },
  39954. "goodscode": {
  39955. "description": "商品代码",
  39956. "type": "string"
  39957. },
  39958. "goodsid": {
  39959. "description": "商品ID",
  39960. "type": "integer"
  39961. },
  39962. "goodsname": {
  39963. "description": "商品名称",
  39964. "type": "string"
  39965. },
  39966. "orderid": {
  39967. "description": "委托单号",
  39968. "type": "string"
  39969. },
  39970. "orderprice": {
  39971. "description": "委托价格",
  39972. "type": "number"
  39973. },
  39974. "ordertime": {
  39975. "description": "委托时间",
  39976. "type": "string"
  39977. },
  39978. "tradedate": {
  39979. "description": "交易日(yyyyMMdd)",
  39980. "type": "string"
  39981. }
  39982. }
  39983. },
  39984. "user.LoginQueryRsp": {
  39985. "type": "object",
  39986. "properties": {
  39987. "areaRoles": {
  39988. "description": "所属角色信息",
  39989. "type": "array",
  39990. "items": {
  39991. "$ref": "#/definitions/models.Arearole"
  39992. }
  39993. },
  39994. "externalExchanges": {
  39995. "description": "外部交易所",
  39996. "type": "array",
  39997. "items": {
  39998. "$ref": "#/definitions/models.Externalexchange"
  39999. }
  40000. },
  40001. "goodsgroups": {
  40002. "description": "商品组",
  40003. "type": "array",
  40004. "items": {
  40005. "$ref": "#/definitions/models.Goodsgroup"
  40006. }
  40007. },
  40008. "loginAccount": {
  40009. "description": "登录账号",
  40010. "$ref": "#/definitions/models.Loginaccount"
  40011. },
  40012. "markets": {
  40013. "description": "市场",
  40014. "type": "array",
  40015. "items": {
  40016. "$ref": "#/definitions/models.Market"
  40017. }
  40018. },
  40019. "systemParams": {
  40020. "description": "系统参数",
  40021. "type": "array",
  40022. "items": {
  40023. "$ref": "#/definitions/models.Systemparam"
  40024. }
  40025. },
  40026. "userAccount": {
  40027. "description": "用户账号",
  40028. "$ref": "#/definitions/models.Useraccount"
  40029. },
  40030. "userInfo": {
  40031. "description": "用户信息",
  40032. "$ref": "#/definitions/models.Userinfo"
  40033. },
  40034. "username": {
  40035. "description": "用户姓名",
  40036. "type": "string"
  40037. }
  40038. }
  40039. }
  40040. },
  40041. "securityDefinitions": {
  40042. "ApiKeyAuth": {
  40043. "type": "apiKey",
  40044. "name": "Authorization",
  40045. "in": "header"
  40046. }
  40047. }
  40048. }`
  40049. type swaggerInfo struct {
  40050. Version string
  40051. Host string
  40052. BasePath string
  40053. Schemes []string
  40054. Title string
  40055. Description string
  40056. }
  40057. // SwaggerInfo holds exported Swagger Info so clients can modify it
  40058. var SwaggerInfo = swaggerInfo{
  40059. Version: "1.0",
  40060. Host: "",
  40061. BasePath: "/api",
  40062. Schemes: []string{},
  40063. Title: "MTP2.0 查询服务 API",
  40064. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  40065. }
  40066. type s struct{}
  40067. func (s *s) ReadDoc() string {
  40068. sInfo := SwaggerInfo
  40069. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  40070. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  40071. "marshal": func(v interface{}) string {
  40072. a, _ := json.Marshal(v)
  40073. return string(a)
  40074. },
  40075. }).Parse(doc)
  40076. if err != nil {
  40077. return doc
  40078. }
  40079. var tpl bytes.Buffer
  40080. if err := t.Execute(&tpl, sInfo); err != nil {
  40081. return doc
  40082. }
  40083. return tpl.String()
  40084. }
  40085. func init() {
  40086. swag.Register(swag.Name, &s{})
  40087. }