docs.go 1.4 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077
  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": "string",
  914. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  915. "name": "lastUpdateTime",
  916. "in": "query"
  917. }
  918. ],
  919. "responses": {
  920. "200": {
  921. "description": "OK",
  922. "schema": {
  923. "$ref": "#/definitions/models.ErmcpGoods"
  924. }
  925. },
  926. "500": {
  927. "description": "Internal Server Error",
  928. "schema": {
  929. "$ref": "#/definitions/app.Response"
  930. }
  931. }
  932. }
  933. }
  934. },
  935. "/Ermcp/GetErmcpGoodsSortByPosition": {
  936. "get": {
  937. "security": [
  938. {
  939. "ApiKeyAuth": []
  940. }
  941. ],
  942. "produces": [
  943. "application/json"
  944. ],
  945. "tags": [
  946. "企业风险管理(app)"
  947. ],
  948. "summary": "查询企业风管期货主力、次主力商品信息",
  949. "parameters": [
  950. {
  951. "type": "string",
  952. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  953. "name": "sortIndex",
  954. "in": "query"
  955. }
  956. ],
  957. "responses": {
  958. "200": {
  959. "description": "OK",
  960. "schema": {
  961. "$ref": "#/definitions/models.Goodssortbypreposition"
  962. }
  963. },
  964. "500": {
  965. "description": "Internal Server Error",
  966. "schema": {
  967. "$ref": "#/definitions/app.Response"
  968. }
  969. }
  970. }
  971. }
  972. },
  973. "/Ermcp/GetErmcpOutAccountStatus": {
  974. "get": {
  975. "security": [
  976. {
  977. "ApiKeyAuth": []
  978. }
  979. ],
  980. "produces": [
  981. "application/json"
  982. ],
  983. "tags": [
  984. "企业风险管理(app)"
  985. ],
  986. "summary": "获取目标登录账号当前对冲账号在线状态",
  987. "parameters": [
  988. {
  989. "type": "integer",
  990. "description": "登录账号",
  991. "name": "loginID",
  992. "in": "query",
  993. "required": true
  994. }
  995. ],
  996. "responses": {
  997. "200": {
  998. "description": "OK",
  999. "schema": {
  1000. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1001. }
  1002. },
  1003. "500": {
  1004. "description": "Internal Server Error",
  1005. "schema": {
  1006. "$ref": "#/definitions/app.Response"
  1007. }
  1008. }
  1009. }
  1010. }
  1011. },
  1012. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1013. "get": {
  1014. "security": [
  1015. {
  1016. "ApiKeyAuth": []
  1017. }
  1018. ],
  1019. "produces": [
  1020. "application/json"
  1021. ],
  1022. "tags": [
  1023. "企业风险管理(app)"
  1024. ],
  1025. "summary": "获取企业风管终端权限",
  1026. "parameters": [
  1027. {
  1028. "type": "integer",
  1029. "description": "登录账号",
  1030. "name": "loginID",
  1031. "in": "query",
  1032. "required": true
  1033. }
  1034. ],
  1035. "responses": {
  1036. "200": {
  1037. "description": "OK",
  1038. "schema": {
  1039. "$ref": "#/definitions/models.Funcmenulist"
  1040. }
  1041. },
  1042. "500": {
  1043. "description": "Internal Server Error",
  1044. "schema": {
  1045. "$ref": "#/definitions/app.Response"
  1046. }
  1047. }
  1048. }
  1049. }
  1050. },
  1051. "/Ermcp/QueryAccMgrBizGroupSet": {
  1052. "get": {
  1053. "security": [
  1054. {
  1055. "ApiKeyAuth": []
  1056. }
  1057. ],
  1058. "produces": [
  1059. "application/json"
  1060. ],
  1061. "tags": [
  1062. "企业风险管理(app)"
  1063. ],
  1064. "summary": "查询业务类型分组(账户管理/账户设置)",
  1065. "parameters": [
  1066. {
  1067. "type": "integer",
  1068. "description": "用户ID",
  1069. "name": "userid",
  1070. "in": "query",
  1071. "required": true
  1072. },
  1073. {
  1074. "type": "integer",
  1075. "description": "现货商品id",
  1076. "name": "deliverygoodsid",
  1077. "in": "query"
  1078. }
  1079. ],
  1080. "responses": {
  1081. "200": {
  1082. "description": "OK",
  1083. "schema": {
  1084. "type": "array",
  1085. "items": {
  1086. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1087. }
  1088. }
  1089. },
  1090. "500": {
  1091. "description": "Internal Server Error",
  1092. "schema": {
  1093. "$ref": "#/definitions/app.Response"
  1094. }
  1095. }
  1096. }
  1097. }
  1098. },
  1099. "/Ermcp/QueryAccMgrLoginUser": {
  1100. "get": {
  1101. "security": [
  1102. {
  1103. "ApiKeyAuth": []
  1104. }
  1105. ],
  1106. "produces": [
  1107. "application/json"
  1108. ],
  1109. "tags": [
  1110. "企业风险管理(app)"
  1111. ],
  1112. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1113. "parameters": [
  1114. {
  1115. "type": "integer",
  1116. "description": "用户ID",
  1117. "name": "userid",
  1118. "in": "query",
  1119. "required": true
  1120. },
  1121. {
  1122. "type": "integer",
  1123. "description": "用户类型 2-机构 7-企业成员",
  1124. "name": "usertype",
  1125. "in": "query"
  1126. },
  1127. {
  1128. "type": "integer",
  1129. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1130. "name": "querytype",
  1131. "in": "query",
  1132. "required": true
  1133. }
  1134. ],
  1135. "responses": {
  1136. "200": {
  1137. "description": "OK",
  1138. "schema": {
  1139. "type": "array",
  1140. "items": {
  1141. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1142. }
  1143. }
  1144. },
  1145. "500": {
  1146. "description": "Internal Server Error",
  1147. "schema": {
  1148. "$ref": "#/definitions/app.Response"
  1149. }
  1150. }
  1151. }
  1152. }
  1153. },
  1154. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1155. "get": {
  1156. "security": [
  1157. {
  1158. "ApiKeyAuth": []
  1159. }
  1160. ],
  1161. "produces": [
  1162. "application/json"
  1163. ],
  1164. "tags": [
  1165. "企业风险管理(app)"
  1166. ],
  1167. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1168. "parameters": [
  1169. {
  1170. "type": "integer",
  1171. "description": "用户ID",
  1172. "name": "userid",
  1173. "in": "query"
  1174. },
  1175. {
  1176. "type": "integer",
  1177. "description": "主账号id",
  1178. "name": "accountid",
  1179. "in": "query"
  1180. }
  1181. ],
  1182. "responses": {
  1183. "200": {
  1184. "description": "OK",
  1185. "schema": {
  1186. "type": "array",
  1187. "items": {
  1188. "$ref": "#/definitions/models.MainAccountInfo"
  1189. }
  1190. }
  1191. },
  1192. "500": {
  1193. "description": "Internal Server Error",
  1194. "schema": {
  1195. "$ref": "#/definitions/app.Response"
  1196. }
  1197. }
  1198. }
  1199. }
  1200. },
  1201. "/Ermcp/QueryAccMgrRole": {
  1202. "get": {
  1203. "security": [
  1204. {
  1205. "ApiKeyAuth": []
  1206. }
  1207. ],
  1208. "produces": [
  1209. "application/json"
  1210. ],
  1211. "tags": [
  1212. "企业风险管理(app)"
  1213. ],
  1214. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1215. "parameters": [
  1216. {
  1217. "type": "integer",
  1218. "description": "用户ID",
  1219. "name": "userid",
  1220. "in": "query",
  1221. "required": true
  1222. }
  1223. ],
  1224. "responses": {
  1225. "200": {
  1226. "description": "OK",
  1227. "schema": {
  1228. "type": "array",
  1229. "items": {
  1230. "$ref": "#/definitions/models.ErmcpRole"
  1231. }
  1232. }
  1233. },
  1234. "500": {
  1235. "description": "Internal Server Error",
  1236. "schema": {
  1237. "$ref": "#/definitions/app.Response"
  1238. }
  1239. }
  1240. }
  1241. }
  1242. },
  1243. "/Ermcp/QueryAccMgrRoleMenu": {
  1244. "get": {
  1245. "security": [
  1246. {
  1247. "ApiKeyAuth": []
  1248. }
  1249. ],
  1250. "produces": [
  1251. "application/json"
  1252. ],
  1253. "tags": [
  1254. "企业风险管理(app)"
  1255. ],
  1256. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1257. "parameters": [
  1258. {
  1259. "type": "integer",
  1260. "description": "用户ID",
  1261. "name": "userid",
  1262. "in": "query",
  1263. "required": true
  1264. },
  1265. {
  1266. "type": "string",
  1267. "description": "角色id(可多个,逗号隔开)",
  1268. "name": "roleid",
  1269. "in": "query"
  1270. },
  1271. {
  1272. "type": "integer",
  1273. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1274. "name": "menutype",
  1275. "in": "query"
  1276. }
  1277. ],
  1278. "responses": {
  1279. "200": {
  1280. "description": "OK",
  1281. "schema": {
  1282. "type": "array",
  1283. "items": {
  1284. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1285. }
  1286. }
  1287. },
  1288. "500": {
  1289. "description": "Internal Server Error",
  1290. "schema": {
  1291. "$ref": "#/definitions/app.Response"
  1292. }
  1293. }
  1294. }
  1295. }
  1296. },
  1297. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1298. "get": {
  1299. "security": [
  1300. {
  1301. "ApiKeyAuth": []
  1302. }
  1303. ],
  1304. "produces": [
  1305. "application/json"
  1306. ],
  1307. "tags": [
  1308. "企业风险管理(app)"
  1309. ],
  1310. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1311. "parameters": [
  1312. {
  1313. "type": "integer",
  1314. "description": "用户ID",
  1315. "name": "userid",
  1316. "in": "query",
  1317. "required": true
  1318. },
  1319. {
  1320. "type": "integer",
  1321. "description": "账号id",
  1322. "name": "accountid",
  1323. "in": "query"
  1324. }
  1325. ],
  1326. "responses": {
  1327. "200": {
  1328. "description": "OK",
  1329. "schema": {
  1330. "type": "array",
  1331. "items": {
  1332. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1333. }
  1334. }
  1335. },
  1336. "500": {
  1337. "description": "Internal Server Error",
  1338. "schema": {
  1339. "$ref": "#/definitions/app.Response"
  1340. }
  1341. }
  1342. }
  1343. }
  1344. },
  1345. "/Ermcp/QueryAccMgrTaaccount": {
  1346. "get": {
  1347. "security": [
  1348. {
  1349. "ApiKeyAuth": []
  1350. }
  1351. ],
  1352. "produces": [
  1353. "application/json"
  1354. ],
  1355. "tags": [
  1356. "企业风险管理(app)"
  1357. ],
  1358. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1359. "parameters": [
  1360. {
  1361. "type": "integer",
  1362. "description": "用户ID",
  1363. "name": "userid",
  1364. "in": "query",
  1365. "required": true
  1366. }
  1367. ],
  1368. "responses": {
  1369. "200": {
  1370. "description": "OK",
  1371. "schema": {
  1372. "type": "array",
  1373. "items": {
  1374. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1375. }
  1376. }
  1377. },
  1378. "500": {
  1379. "description": "Internal Server Error",
  1380. "schema": {
  1381. "$ref": "#/definitions/app.Response"
  1382. }
  1383. }
  1384. }
  1385. }
  1386. },
  1387. "/Ermcp/QueryAvaildGoodsGroup": {
  1388. "get": {
  1389. "security": [
  1390. {
  1391. "ApiKeyAuth": []
  1392. }
  1393. ],
  1394. "produces": [
  1395. "application/json"
  1396. ],
  1397. "tags": [
  1398. "企业风险管理(app)"
  1399. ],
  1400. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1401. "parameters": [
  1402. {
  1403. "type": "integer",
  1404. "description": "所属机构ID",
  1405. "name": "userid",
  1406. "in": "query",
  1407. "required": true
  1408. }
  1409. ],
  1410. "responses": {
  1411. "200": {
  1412. "description": "OK",
  1413. "schema": {
  1414. "type": "array",
  1415. "items": {
  1416. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1417. }
  1418. }
  1419. },
  1420. "500": {
  1421. "description": "Internal Server Error",
  1422. "schema": {
  1423. "$ref": "#/definitions/app.Response"
  1424. }
  1425. }
  1426. }
  1427. }
  1428. },
  1429. "/Ermcp/QueryBusinessDj": {
  1430. "get": {
  1431. "security": [
  1432. {
  1433. "ApiKeyAuth": []
  1434. }
  1435. ],
  1436. "produces": [
  1437. "application/json"
  1438. ],
  1439. "tags": [
  1440. "企业风险管理(app)"
  1441. ],
  1442. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1443. "parameters": [
  1444. {
  1445. "type": "integer",
  1446. "description": "用户ID",
  1447. "name": "UserId",
  1448. "in": "query",
  1449. "required": true
  1450. },
  1451. {
  1452. "type": "integer",
  1453. "description": "用户类型 2-机构 7-企业成员",
  1454. "name": "usertype",
  1455. "in": "query"
  1456. },
  1457. {
  1458. "type": "string",
  1459. "description": "现货合同ID, 不填则查所有",
  1460. "name": "relatedid",
  1461. "in": "query"
  1462. },
  1463. {
  1464. "type": "string",
  1465. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1466. "name": "applystatus",
  1467. "in": "query"
  1468. }
  1469. ],
  1470. "responses": {
  1471. "200": {
  1472. "description": "OK",
  1473. "schema": {
  1474. "type": "array",
  1475. "items": {
  1476. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1477. }
  1478. }
  1479. },
  1480. "500": {
  1481. "description": "Internal Server Error",
  1482. "schema": {
  1483. "$ref": "#/definitions/app.Response"
  1484. }
  1485. }
  1486. }
  1487. }
  1488. },
  1489. "/Ermcp/QueryBusinessFp": {
  1490. "get": {
  1491. "security": [
  1492. {
  1493. "ApiKeyAuth": []
  1494. }
  1495. ],
  1496. "produces": [
  1497. "application/json"
  1498. ],
  1499. "tags": [
  1500. "企业风险管理(app)"
  1501. ],
  1502. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1503. "parameters": [
  1504. {
  1505. "type": "integer",
  1506. "description": "用户ID",
  1507. "name": "UserId",
  1508. "in": "query",
  1509. "required": true
  1510. },
  1511. {
  1512. "type": "integer",
  1513. "description": "用户类型 2-机构 7-企业成员",
  1514. "name": "usertype",
  1515. "in": "query"
  1516. },
  1517. {
  1518. "type": "string",
  1519. "description": "现货合同ID, 不填则查所有",
  1520. "name": "relatedid",
  1521. "in": "query"
  1522. },
  1523. {
  1524. "type": "string",
  1525. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1526. "name": "applystatus",
  1527. "in": "query"
  1528. }
  1529. ],
  1530. "responses": {
  1531. "200": {
  1532. "description": "OK",
  1533. "schema": {
  1534. "type": "array",
  1535. "items": {
  1536. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1537. }
  1538. }
  1539. },
  1540. "500": {
  1541. "description": "Internal Server Error",
  1542. "schema": {
  1543. "$ref": "#/definitions/app.Response"
  1544. }
  1545. }
  1546. }
  1547. }
  1548. },
  1549. "/Ermcp/QueryBusinessJs": {
  1550. "get": {
  1551. "security": [
  1552. {
  1553. "ApiKeyAuth": []
  1554. }
  1555. ],
  1556. "produces": [
  1557. "application/json"
  1558. ],
  1559. "tags": [
  1560. "企业风险管理(app)"
  1561. ],
  1562. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1563. "parameters": [
  1564. {
  1565. "type": "integer",
  1566. "description": "用户ID",
  1567. "name": "UserId",
  1568. "in": "query",
  1569. "required": true
  1570. },
  1571. {
  1572. "type": "integer",
  1573. "description": "用户类型 2-机构 7-企业成员",
  1574. "name": "usertype",
  1575. "in": "query"
  1576. },
  1577. {
  1578. "type": "string",
  1579. "description": "现货合同ID, 不填则查所有",
  1580. "name": "relatedid",
  1581. "in": "query"
  1582. },
  1583. {
  1584. "type": "string",
  1585. "description": "操作申请id",
  1586. "name": "operateapplyid",
  1587. "in": "query"
  1588. },
  1589. {
  1590. "type": "string",
  1591. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1592. "name": "applystatus",
  1593. "in": "query"
  1594. }
  1595. ],
  1596. "responses": {
  1597. "200": {
  1598. "description": "OK",
  1599. "schema": {
  1600. "type": "array",
  1601. "items": {
  1602. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1603. }
  1604. }
  1605. },
  1606. "500": {
  1607. "description": "Internal Server Error",
  1608. "schema": {
  1609. "$ref": "#/definitions/app.Response"
  1610. }
  1611. }
  1612. }
  1613. }
  1614. },
  1615. "/Ermcp/QueryBusinessJsEx": {
  1616. "get": {
  1617. "security": [
  1618. {
  1619. "ApiKeyAuth": []
  1620. }
  1621. ],
  1622. "produces": [
  1623. "application/json"
  1624. ],
  1625. "tags": [
  1626. "企业风险管理(app)"
  1627. ],
  1628. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1629. "parameters": [
  1630. {
  1631. "type": "integer",
  1632. "description": "用户ID",
  1633. "name": "UserId",
  1634. "in": "query",
  1635. "required": true
  1636. },
  1637. {
  1638. "type": "integer",
  1639. "description": "用户类型 2-机构 7-企业成员",
  1640. "name": "usertype",
  1641. "in": "query"
  1642. },
  1643. {
  1644. "type": "string",
  1645. "description": "现货合同ID, 不填则查所有",
  1646. "name": "relatedid",
  1647. "in": "query"
  1648. },
  1649. {
  1650. "type": "string",
  1651. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1652. "name": "applystatus",
  1653. "in": "query"
  1654. }
  1655. ],
  1656. "responses": {
  1657. "200": {
  1658. "description": "OK",
  1659. "schema": {
  1660. "type": "array",
  1661. "items": {
  1662. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1663. }
  1664. }
  1665. },
  1666. "500": {
  1667. "description": "Internal Server Error",
  1668. "schema": {
  1669. "$ref": "#/definitions/app.Response"
  1670. }
  1671. }
  1672. }
  1673. }
  1674. },
  1675. "/Ermcp/QueryBusinessKx": {
  1676. "get": {
  1677. "security": [
  1678. {
  1679. "ApiKeyAuth": []
  1680. }
  1681. ],
  1682. "produces": [
  1683. "application/json"
  1684. ],
  1685. "tags": [
  1686. "企业风险管理(app)"
  1687. ],
  1688. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1689. "parameters": [
  1690. {
  1691. "type": "integer",
  1692. "description": "用户ID",
  1693. "name": "UserId",
  1694. "in": "query",
  1695. "required": true
  1696. },
  1697. {
  1698. "type": "integer",
  1699. "description": "用户类型 2-机构 7-企业成员",
  1700. "name": "usertype",
  1701. "in": "query"
  1702. },
  1703. {
  1704. "type": "string",
  1705. "description": "现货合同ID, 不填则查所有",
  1706. "name": "relatedid",
  1707. "in": "query"
  1708. },
  1709. {
  1710. "type": "string",
  1711. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1712. "name": "applystatus",
  1713. "in": "query"
  1714. }
  1715. ],
  1716. "responses": {
  1717. "200": {
  1718. "description": "OK",
  1719. "schema": {
  1720. "type": "array",
  1721. "items": {
  1722. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1723. }
  1724. }
  1725. },
  1726. "500": {
  1727. "description": "Internal Server Error",
  1728. "schema": {
  1729. "$ref": "#/definitions/app.Response"
  1730. }
  1731. }
  1732. }
  1733. }
  1734. },
  1735. "/Ermcp/QueryChangeLog": {
  1736. "get": {
  1737. "security": [
  1738. {
  1739. "ApiKeyAuth": []
  1740. }
  1741. ],
  1742. "produces": [
  1743. "application/json"
  1744. ],
  1745. "tags": [
  1746. "企业风险管理(app)"
  1747. ],
  1748. "summary": "查询变更记录",
  1749. "parameters": [
  1750. {
  1751. "type": "string",
  1752. "description": "合同ID",
  1753. "name": "RelatedId",
  1754. "in": "query",
  1755. "required": true
  1756. }
  1757. ],
  1758. "responses": {
  1759. "200": {
  1760. "description": "OK",
  1761. "schema": {
  1762. "type": "array",
  1763. "items": {
  1764. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1765. }
  1766. }
  1767. },
  1768. "500": {
  1769. "description": "Internal Server Error",
  1770. "schema": {
  1771. "$ref": "#/definitions/app.Response"
  1772. }
  1773. }
  1774. }
  1775. }
  1776. },
  1777. "/Ermcp/QueryErmcpHisOrderDetails": {
  1778. "get": {
  1779. "security": [
  1780. {
  1781. "ApiKeyAuth": []
  1782. }
  1783. ],
  1784. "produces": [
  1785. "application/json"
  1786. ],
  1787. "tags": [
  1788. "企业风险管理(app)"
  1789. ],
  1790. "summary": "获取企业风管期货历史委托单信息",
  1791. "parameters": [
  1792. {
  1793. "type": "integer",
  1794. "description": "资金账户ID",
  1795. "name": "accountID",
  1796. "in": "query",
  1797. "required": true
  1798. },
  1799. {
  1800. "type": "string",
  1801. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1802. "name": "startDate",
  1803. "in": "query"
  1804. },
  1805. {
  1806. "type": "string",
  1807. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1808. "name": "endDate",
  1809. "in": "query"
  1810. }
  1811. ],
  1812. "responses": {
  1813. "200": {
  1814. "description": "OK",
  1815. "schema": {
  1816. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1817. }
  1818. },
  1819. "500": {
  1820. "description": "Internal Server Error",
  1821. "schema": {
  1822. "$ref": "#/definitions/app.Response"
  1823. }
  1824. }
  1825. }
  1826. }
  1827. },
  1828. "/Ermcp/QueryErmcpHisTradeDetails": {
  1829. "get": {
  1830. "security": [
  1831. {
  1832. "ApiKeyAuth": []
  1833. }
  1834. ],
  1835. "produces": [
  1836. "application/json"
  1837. ],
  1838. "tags": [
  1839. "企业风险管理(app)"
  1840. ],
  1841. "summary": "获取企业风管期货历史成交单信息",
  1842. "parameters": [
  1843. {
  1844. "type": "integer",
  1845. "description": "资金账户ID",
  1846. "name": "accountID",
  1847. "in": "query",
  1848. "required": true
  1849. },
  1850. {
  1851. "type": "integer",
  1852. "description": "商品ID",
  1853. "name": "goodsID",
  1854. "in": "query"
  1855. },
  1856. {
  1857. "type": "integer",
  1858. "description": "买卖方向,0:买 1:卖",
  1859. "name": "buyOrSell",
  1860. "in": "query"
  1861. },
  1862. {
  1863. "type": "integer",
  1864. "description": "关联委托单号",
  1865. "name": "orderID",
  1866. "in": "query"
  1867. },
  1868. {
  1869. "type": "string",
  1870. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1871. "name": "startDate",
  1872. "in": "query"
  1873. },
  1874. {
  1875. "type": "string",
  1876. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1877. "name": "endDate",
  1878. "in": "query"
  1879. }
  1880. ],
  1881. "responses": {
  1882. "200": {
  1883. "description": "OK",
  1884. "schema": {
  1885. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1886. }
  1887. },
  1888. "500": {
  1889. "description": "Internal Server Error",
  1890. "schema": {
  1891. "$ref": "#/definitions/app.Response"
  1892. }
  1893. }
  1894. }
  1895. }
  1896. },
  1897. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1898. "get": {
  1899. "security": [
  1900. {
  1901. "ApiKeyAuth": []
  1902. }
  1903. ],
  1904. "produces": [
  1905. "application/json"
  1906. ],
  1907. "tags": [
  1908. "企业风险管理(app)"
  1909. ],
  1910. "summary": "获取企业风管期货内部持仓单信息",
  1911. "parameters": [
  1912. {
  1913. "type": "integer",
  1914. "description": "资金账户ID",
  1915. "name": "accountID",
  1916. "in": "query",
  1917. "required": true
  1918. },
  1919. {
  1920. "type": "integer",
  1921. "description": "商品ID",
  1922. "name": "goodsID",
  1923. "in": "query"
  1924. },
  1925. {
  1926. "type": "integer",
  1927. "description": "买卖方向,0:买 1:卖",
  1928. "name": "buyOrSell",
  1929. "in": "query"
  1930. }
  1931. ],
  1932. "responses": {
  1933. "200": {
  1934. "description": "OK",
  1935. "schema": {
  1936. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1937. }
  1938. },
  1939. "500": {
  1940. "description": "Internal Server Error",
  1941. "schema": {
  1942. "$ref": "#/definitions/app.Response"
  1943. }
  1944. }
  1945. }
  1946. }
  1947. },
  1948. "/Ermcp/QueryErmcpOrderDetails": {
  1949. "get": {
  1950. "security": [
  1951. {
  1952. "ApiKeyAuth": []
  1953. }
  1954. ],
  1955. "produces": [
  1956. "application/json"
  1957. ],
  1958. "tags": [
  1959. "企业风险管理(app)"
  1960. ],
  1961. "summary": "获取企业风管期货委托单信息",
  1962. "parameters": [
  1963. {
  1964. "type": "integer",
  1965. "description": "资金账户ID",
  1966. "name": "accountID",
  1967. "in": "query",
  1968. "required": true
  1969. }
  1970. ],
  1971. "responses": {
  1972. "200": {
  1973. "description": "OK",
  1974. "schema": {
  1975. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1976. }
  1977. },
  1978. "500": {
  1979. "description": "Internal Server Error",
  1980. "schema": {
  1981. "$ref": "#/definitions/app.Response"
  1982. }
  1983. }
  1984. }
  1985. }
  1986. },
  1987. "/Ermcp/QueryErmcpTradeDetails": {
  1988. "get": {
  1989. "security": [
  1990. {
  1991. "ApiKeyAuth": []
  1992. }
  1993. ],
  1994. "produces": [
  1995. "application/json"
  1996. ],
  1997. "tags": [
  1998. "企业风险管理(app)"
  1999. ],
  2000. "summary": "获取企业风管期货成交单信息",
  2001. "parameters": [
  2002. {
  2003. "type": "integer",
  2004. "description": "资金账户ID",
  2005. "name": "accountID",
  2006. "in": "query",
  2007. "required": true
  2008. },
  2009. {
  2010. "type": "integer",
  2011. "description": "商品ID",
  2012. "name": "goodsID",
  2013. "in": "query"
  2014. },
  2015. {
  2016. "type": "integer",
  2017. "description": "买卖方向,0:买 1:卖",
  2018. "name": "buyOrSell",
  2019. "in": "query"
  2020. },
  2021. {
  2022. "type": "integer",
  2023. "description": "关联委托单号",
  2024. "name": "orderID",
  2025. "in": "query"
  2026. }
  2027. ],
  2028. "responses": {
  2029. "200": {
  2030. "description": "OK",
  2031. "schema": {
  2032. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2033. }
  2034. },
  2035. "500": {
  2036. "description": "Internal Server Error",
  2037. "schema": {
  2038. "$ref": "#/definitions/app.Response"
  2039. }
  2040. }
  2041. }
  2042. }
  2043. },
  2044. "/Ermcp/QueryErmcpTradePosition": {
  2045. "get": {
  2046. "security": [
  2047. {
  2048. "ApiKeyAuth": []
  2049. }
  2050. ],
  2051. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2052. "produces": [
  2053. "application/json"
  2054. ],
  2055. "tags": [
  2056. "企业风险管理(app)"
  2057. ],
  2058. "summary": "获取企业风管期货持仓头寸信息",
  2059. "parameters": [
  2060. {
  2061. "type": "integer",
  2062. "description": "资金账户ID",
  2063. "name": "accountID",
  2064. "in": "query",
  2065. "required": true
  2066. },
  2067. {
  2068. "type": "integer",
  2069. "description": "所属市场ID",
  2070. "name": "marketID",
  2071. "in": "query"
  2072. }
  2073. ],
  2074. "responses": {
  2075. "200": {
  2076. "description": "OK",
  2077. "schema": {
  2078. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2079. }
  2080. },
  2081. "500": {
  2082. "description": "Internal Server Error",
  2083. "schema": {
  2084. "$ref": "#/definitions/app.Response"
  2085. }
  2086. }
  2087. }
  2088. }
  2089. },
  2090. "/Ermcp/QueryExposureDetail": {
  2091. "get": {
  2092. "security": [
  2093. {
  2094. "ApiKeyAuth": []
  2095. }
  2096. ],
  2097. "produces": [
  2098. "application/json"
  2099. ],
  2100. "tags": [
  2101. "企业风险管理(app)"
  2102. ],
  2103. "summary": "查询敞口现货明细",
  2104. "parameters": [
  2105. {
  2106. "type": "integer",
  2107. "description": "所属机构ID",
  2108. "name": "areaUserId",
  2109. "in": "query",
  2110. "required": true
  2111. },
  2112. {
  2113. "type": "integer",
  2114. "description": "套保商品",
  2115. "name": "middleGoodsId",
  2116. "in": "query",
  2117. "required": true
  2118. }
  2119. ],
  2120. "responses": {
  2121. "200": {
  2122. "description": "OK",
  2123. "schema": {
  2124. "type": "array",
  2125. "items": {
  2126. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2127. }
  2128. }
  2129. },
  2130. "500": {
  2131. "description": "Internal Server Error",
  2132. "schema": {
  2133. "$ref": "#/definitions/app.Response"
  2134. }
  2135. }
  2136. }
  2137. }
  2138. },
  2139. "/Ermcp/QueryExposureGoods": {
  2140. "get": {
  2141. "security": [
  2142. {
  2143. "ApiKeyAuth": []
  2144. }
  2145. ],
  2146. "produces": [
  2147. "application/json"
  2148. ],
  2149. "tags": [
  2150. "企业风险管理(app)"
  2151. ],
  2152. "summary": "查询敞口主力合约",
  2153. "parameters": [
  2154. {
  2155. "type": "integer",
  2156. "description": "套保商品id",
  2157. "name": "middlegoodsid",
  2158. "in": "query",
  2159. "required": true
  2160. }
  2161. ],
  2162. "responses": {
  2163. "200": {
  2164. "description": "OK",
  2165. "schema": {
  2166. "type": "array",
  2167. "items": {
  2168. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2169. }
  2170. }
  2171. },
  2172. "500": {
  2173. "description": "Internal Server Error",
  2174. "schema": {
  2175. "$ref": "#/definitions/app.Response"
  2176. }
  2177. }
  2178. }
  2179. }
  2180. },
  2181. "/Ermcp/QueryExposureHedgePosition": {
  2182. "get": {
  2183. "security": [
  2184. {
  2185. "ApiKeyAuth": []
  2186. }
  2187. ],
  2188. "produces": [
  2189. "application/json"
  2190. ],
  2191. "tags": [
  2192. "企业风险管理(app)"
  2193. ],
  2194. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2195. "parameters": [
  2196. {
  2197. "type": "integer",
  2198. "description": "用户id",
  2199. "name": "userid",
  2200. "in": "query",
  2201. "required": true
  2202. }
  2203. ],
  2204. "responses": {
  2205. "200": {
  2206. "description": "OK",
  2207. "schema": {
  2208. "type": "array",
  2209. "items": {
  2210. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2211. }
  2212. }
  2213. },
  2214. "500": {
  2215. "description": "Internal Server Error",
  2216. "schema": {
  2217. "$ref": "#/definitions/app.Response"
  2218. }
  2219. }
  2220. }
  2221. }
  2222. },
  2223. "/Ermcp/QueryExposureHedgePositionDetail": {
  2224. "get": {
  2225. "security": [
  2226. {
  2227. "ApiKeyAuth": []
  2228. }
  2229. ],
  2230. "produces": [
  2231. "application/json"
  2232. ],
  2233. "tags": [
  2234. "企业风险管理(app)"
  2235. ],
  2236. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2237. "parameters": [
  2238. {
  2239. "type": "integer",
  2240. "description": "所属机构ID",
  2241. "name": "userid",
  2242. "in": "query",
  2243. "required": true
  2244. },
  2245. {
  2246. "type": "integer",
  2247. "description": "商品id",
  2248. "name": "goodsId",
  2249. "in": "query",
  2250. "required": true
  2251. }
  2252. ],
  2253. "responses": {
  2254. "200": {
  2255. "description": "OK",
  2256. "schema": {
  2257. "type": "array",
  2258. "items": {
  2259. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2260. }
  2261. }
  2262. },
  2263. "500": {
  2264. "description": "Internal Server Error",
  2265. "schema": {
  2266. "$ref": "#/definitions/app.Response"
  2267. }
  2268. }
  2269. }
  2270. }
  2271. },
  2272. "/Ermcp/QueryExposureSpot": {
  2273. "get": {
  2274. "security": [
  2275. {
  2276. "ApiKeyAuth": []
  2277. }
  2278. ],
  2279. "produces": [
  2280. "application/json"
  2281. ],
  2282. "tags": [
  2283. "企业风险管理(app)"
  2284. ],
  2285. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2286. "parameters": [
  2287. {
  2288. "type": "integer",
  2289. "description": "所属机构ID",
  2290. "name": "areaUserId",
  2291. "in": "query",
  2292. "required": true
  2293. }
  2294. ],
  2295. "responses": {
  2296. "200": {
  2297. "description": "OK",
  2298. "schema": {
  2299. "type": "array",
  2300. "items": {
  2301. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2302. }
  2303. }
  2304. },
  2305. "500": {
  2306. "description": "Internal Server Error",
  2307. "schema": {
  2308. "$ref": "#/definitions/app.Response"
  2309. }
  2310. }
  2311. }
  2312. }
  2313. },
  2314. "/Ermcp/QueryExposureSpotDetail": {
  2315. "get": {
  2316. "security": [
  2317. {
  2318. "ApiKeyAuth": []
  2319. }
  2320. ],
  2321. "produces": [
  2322. "application/json"
  2323. ],
  2324. "tags": [
  2325. "企业风险管理(app)"
  2326. ],
  2327. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2328. "parameters": [
  2329. {
  2330. "type": "integer",
  2331. "description": "所属机构ID",
  2332. "name": "areaUserId",
  2333. "in": "query",
  2334. "required": true
  2335. },
  2336. {
  2337. "type": "integer",
  2338. "description": "现货品种ID",
  2339. "name": "wrstandardId",
  2340. "in": "query",
  2341. "required": true
  2342. }
  2343. ],
  2344. "responses": {
  2345. "200": {
  2346. "description": "OK",
  2347. "schema": {
  2348. "type": "array",
  2349. "items": {
  2350. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2351. }
  2352. }
  2353. },
  2354. "500": {
  2355. "description": "Internal Server Error",
  2356. "schema": {
  2357. "$ref": "#/definitions/app.Response"
  2358. }
  2359. }
  2360. }
  2361. }
  2362. },
  2363. "/Ermcp/QueryFuturesCompany": {
  2364. "get": {
  2365. "security": [
  2366. {
  2367. "ApiKeyAuth": []
  2368. }
  2369. ],
  2370. "produces": [
  2371. "application/json"
  2372. ],
  2373. "tags": [
  2374. "企业风险管理(app)"
  2375. ],
  2376. "summary": "查询期货公司",
  2377. "responses": {
  2378. "200": {
  2379. "description": "OK",
  2380. "schema": {
  2381. "type": "array",
  2382. "items": {
  2383. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2384. }
  2385. }
  2386. },
  2387. "500": {
  2388. "description": "Internal Server Error",
  2389. "schema": {
  2390. "$ref": "#/definitions/app.Response"
  2391. }
  2392. }
  2393. }
  2394. }
  2395. },
  2396. "/Ermcp/QueryGGConvertConfig": {
  2397. "get": {
  2398. "security": [
  2399. {
  2400. "ApiKeyAuth": []
  2401. }
  2402. ],
  2403. "produces": [
  2404. "application/json"
  2405. ],
  2406. "tags": [
  2407. "企业风险管理(app)"
  2408. ],
  2409. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2410. "parameters": [
  2411. {
  2412. "type": "integer",
  2413. "description": "品种id(不填则查所有)",
  2414. "name": "goodsgroupid",
  2415. "in": "query"
  2416. }
  2417. ],
  2418. "responses": {
  2419. "200": {
  2420. "description": "OK",
  2421. "schema": {
  2422. "type": "array",
  2423. "items": {
  2424. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2425. }
  2426. }
  2427. },
  2428. "500": {
  2429. "description": "Internal Server Error",
  2430. "schema": {
  2431. "$ref": "#/definitions/app.Response"
  2432. }
  2433. }
  2434. }
  2435. }
  2436. },
  2437. "/Ermcp/QueryGoodsBrand": {
  2438. "get": {
  2439. "security": [
  2440. {
  2441. "ApiKeyAuth": []
  2442. }
  2443. ],
  2444. "produces": [
  2445. "application/json"
  2446. ],
  2447. "tags": [
  2448. "企业风险管理(app)"
  2449. ],
  2450. "summary": "查询商品品牌",
  2451. "parameters": [
  2452. {
  2453. "type": "integer",
  2454. "description": "用户ID",
  2455. "name": "userid",
  2456. "in": "query",
  2457. "required": true
  2458. },
  2459. {
  2460. "type": "integer",
  2461. "description": "现货商品ID",
  2462. "name": "wrstandardid",
  2463. "in": "query"
  2464. }
  2465. ],
  2466. "responses": {
  2467. "200": {
  2468. "description": "OK",
  2469. "schema": {
  2470. "type": "array",
  2471. "items": {
  2472. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2473. }
  2474. }
  2475. },
  2476. "500": {
  2477. "description": "Internal Server Error",
  2478. "schema": {
  2479. "$ref": "#/definitions/app.Response"
  2480. }
  2481. }
  2482. }
  2483. }
  2484. },
  2485. "/Ermcp/QueryGoodsModel": {
  2486. "get": {
  2487. "security": [
  2488. {
  2489. "ApiKeyAuth": []
  2490. }
  2491. ],
  2492. "produces": [
  2493. "application/json"
  2494. ],
  2495. "tags": [
  2496. "企业风险管理(app)"
  2497. ],
  2498. "summary": "查询商品型号",
  2499. "parameters": [
  2500. {
  2501. "type": "integer",
  2502. "description": "用户ID",
  2503. "name": "userid",
  2504. "in": "query",
  2505. "required": true
  2506. }
  2507. ],
  2508. "responses": {
  2509. "200": {
  2510. "description": "OK",
  2511. "schema": {
  2512. "type": "array",
  2513. "items": {
  2514. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2515. }
  2516. }
  2517. },
  2518. "500": {
  2519. "description": "Internal Server Error",
  2520. "schema": {
  2521. "$ref": "#/definitions/app.Response"
  2522. }
  2523. }
  2524. }
  2525. }
  2526. },
  2527. "/Ermcp/QueryHisExposure": {
  2528. "get": {
  2529. "security": [
  2530. {
  2531. "ApiKeyAuth": []
  2532. }
  2533. ],
  2534. "produces": [
  2535. "application/json"
  2536. ],
  2537. "tags": [
  2538. "企业风险管理(app)"
  2539. ],
  2540. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2541. "parameters": [
  2542. {
  2543. "type": "integer",
  2544. "description": "用户id",
  2545. "name": "userid",
  2546. "in": "query",
  2547. "required": true
  2548. },
  2549. {
  2550. "type": "integer",
  2551. "description": "每个品种记录数",
  2552. "name": "lastNum",
  2553. "in": "query",
  2554. "required": true
  2555. }
  2556. ],
  2557. "responses": {
  2558. "200": {
  2559. "description": "OK",
  2560. "schema": {
  2561. "type": "array",
  2562. "items": {
  2563. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2564. }
  2565. }
  2566. },
  2567. "500": {
  2568. "description": "Internal Server Error",
  2569. "schema": {
  2570. "$ref": "#/definitions/app.Response"
  2571. }
  2572. }
  2573. }
  2574. }
  2575. },
  2576. "/Ermcp/QueryMiddleGoods": {
  2577. "get": {
  2578. "security": [
  2579. {
  2580. "ApiKeyAuth": []
  2581. }
  2582. ],
  2583. "produces": [
  2584. "application/json"
  2585. ],
  2586. "tags": [
  2587. "企业风险管理(app)"
  2588. ],
  2589. "summary": "查询套保品种(菜单:套保品种)",
  2590. "parameters": [
  2591. {
  2592. "type": "integer",
  2593. "description": "所属机构ID",
  2594. "name": "userid",
  2595. "in": "query",
  2596. "required": true
  2597. },
  2598. {
  2599. "type": "integer",
  2600. "description": "状态 0-停用 1-正常",
  2601. "name": "status",
  2602. "in": "query",
  2603. "required": true
  2604. }
  2605. ],
  2606. "responses": {
  2607. "200": {
  2608. "description": "OK",
  2609. "schema": {
  2610. "type": "array",
  2611. "items": {
  2612. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2613. }
  2614. }
  2615. },
  2616. "500": {
  2617. "description": "Internal Server Error",
  2618. "schema": {
  2619. "$ref": "#/definitions/app.Response"
  2620. }
  2621. }
  2622. }
  2623. }
  2624. },
  2625. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2626. "get": {
  2627. "security": [
  2628. {
  2629. "ApiKeyAuth": []
  2630. }
  2631. ],
  2632. "produces": [
  2633. "application/json"
  2634. ],
  2635. "tags": [
  2636. "企业风险管理(app)"
  2637. ],
  2638. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2639. "parameters": [
  2640. {
  2641. "type": "integer",
  2642. "description": "所属机构ID",
  2643. "name": "userid",
  2644. "in": "query",
  2645. "required": true
  2646. },
  2647. {
  2648. "type": "integer",
  2649. "description": "套保品种id",
  2650. "name": "middlegoodsid",
  2651. "in": "query",
  2652. "required": true
  2653. }
  2654. ],
  2655. "responses": {
  2656. "200": {
  2657. "description": "OK",
  2658. "schema": {
  2659. "type": "array",
  2660. "items": {
  2661. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2662. }
  2663. }
  2664. },
  2665. "500": {
  2666. "description": "Internal Server Error",
  2667. "schema": {
  2668. "$ref": "#/definitions/app.Response"
  2669. }
  2670. }
  2671. }
  2672. }
  2673. },
  2674. "/Ermcp/QueryMiddleGoodsDetail": {
  2675. "get": {
  2676. "security": [
  2677. {
  2678. "ApiKeyAuth": []
  2679. }
  2680. ],
  2681. "produces": [
  2682. "application/json"
  2683. ],
  2684. "tags": [
  2685. "企业风险管理(app)"
  2686. ],
  2687. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2688. "parameters": [
  2689. {
  2690. "type": "integer",
  2691. "description": "所属机构ID",
  2692. "name": "userid",
  2693. "in": "query",
  2694. "required": true
  2695. },
  2696. {
  2697. "type": "integer",
  2698. "description": "套保品种id",
  2699. "name": "middlegoodsid",
  2700. "in": "query"
  2701. }
  2702. ],
  2703. "responses": {
  2704. "200": {
  2705. "description": "OK",
  2706. "schema": {
  2707. "type": "array",
  2708. "items": {
  2709. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2710. }
  2711. }
  2712. },
  2713. "500": {
  2714. "description": "Internal Server Error",
  2715. "schema": {
  2716. "$ref": "#/definitions/app.Response"
  2717. }
  2718. }
  2719. }
  2720. }
  2721. },
  2722. "/Ermcp/QueryPendingAuditInfo": {
  2723. "get": {
  2724. "security": [
  2725. {
  2726. "ApiKeyAuth": []
  2727. }
  2728. ],
  2729. "produces": [
  2730. "application/json"
  2731. ],
  2732. "tags": [
  2733. "企业风险管理(app)"
  2734. ],
  2735. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2736. "parameters": [
  2737. {
  2738. "type": "integer",
  2739. "description": "用户ID",
  2740. "name": "UserId",
  2741. "in": "query",
  2742. "required": true
  2743. }
  2744. ],
  2745. "responses": {
  2746. "200": {
  2747. "description": "OK",
  2748. "schema": {
  2749. "type": "array",
  2750. "items": {
  2751. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2752. }
  2753. }
  2754. },
  2755. "500": {
  2756. "description": "Internal Server Error",
  2757. "schema": {
  2758. "$ref": "#/definitions/app.Response"
  2759. }
  2760. }
  2761. }
  2762. }
  2763. },
  2764. "/Ermcp/QueryRealtimeExposure": {
  2765. "get": {
  2766. "security": [
  2767. {
  2768. "ApiKeyAuth": []
  2769. }
  2770. ],
  2771. "produces": [
  2772. "application/json"
  2773. ],
  2774. "tags": [
  2775. "企业风险管理(app)"
  2776. ],
  2777. "summary": "查询实时敞口",
  2778. "parameters": [
  2779. {
  2780. "type": "integer",
  2781. "description": "所属机构ID",
  2782. "name": "userid",
  2783. "in": "query",
  2784. "required": true
  2785. }
  2786. ],
  2787. "responses": {
  2788. "200": {
  2789. "description": "OK",
  2790. "schema": {
  2791. "type": "array",
  2792. "items": {
  2793. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2794. }
  2795. }
  2796. },
  2797. "500": {
  2798. "description": "Internal Server Error",
  2799. "schema": {
  2800. "$ref": "#/definitions/app.Response"
  2801. }
  2802. }
  2803. }
  2804. }
  2805. },
  2806. "/Ermcp/QueryRealtimeExposurePosition": {
  2807. "get": {
  2808. "security": [
  2809. {
  2810. "ApiKeyAuth": []
  2811. }
  2812. ],
  2813. "produces": [
  2814. "application/json"
  2815. ],
  2816. "tags": [
  2817. "企业风险管理(app)"
  2818. ],
  2819. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2820. "parameters": [
  2821. {
  2822. "type": "integer",
  2823. "description": "用户id",
  2824. "name": "userid",
  2825. "in": "query",
  2826. "required": true
  2827. },
  2828. {
  2829. "type": "integer",
  2830. "description": "套保商品ID",
  2831. "name": "middleGoodsId",
  2832. "in": "query",
  2833. "required": true
  2834. }
  2835. ],
  2836. "responses": {
  2837. "200": {
  2838. "description": "OK",
  2839. "schema": {
  2840. "type": "array",
  2841. "items": {
  2842. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2843. }
  2844. }
  2845. },
  2846. "500": {
  2847. "description": "Internal Server Error",
  2848. "schema": {
  2849. "$ref": "#/definitions/app.Response"
  2850. }
  2851. }
  2852. }
  2853. }
  2854. },
  2855. "/Ermcp/QueryRoleMenu": {
  2856. "get": {
  2857. "security": [
  2858. {
  2859. "ApiKeyAuth": []
  2860. }
  2861. ],
  2862. "produces": [
  2863. "application/json"
  2864. ],
  2865. "tags": [
  2866. "企业风险管理(app)"
  2867. ],
  2868. "summary": "查询角色菜单和权限",
  2869. "parameters": [
  2870. {
  2871. "type": "integer",
  2872. "description": "登录ID",
  2873. "name": "loginid",
  2874. "in": "query",
  2875. "required": true
  2876. },
  2877. {
  2878. "type": "integer",
  2879. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2880. "name": "menutype",
  2881. "in": "query"
  2882. }
  2883. ],
  2884. "responses": {
  2885. "200": {
  2886. "description": "OK",
  2887. "schema": {
  2888. "type": "array",
  2889. "items": {
  2890. "$ref": "#/definitions/models.RoleMenu"
  2891. }
  2892. }
  2893. },
  2894. "500": {
  2895. "description": "Internal Server Error",
  2896. "schema": {
  2897. "$ref": "#/definitions/app.Response"
  2898. }
  2899. }
  2900. }
  2901. }
  2902. },
  2903. "/Ermcp/QueryTradeConfigTMP": {
  2904. "get": {
  2905. "security": [
  2906. {
  2907. "ApiKeyAuth": []
  2908. }
  2909. ],
  2910. "produces": [
  2911. "application/json"
  2912. ],
  2913. "tags": [
  2914. "企业风险管理(app)"
  2915. ],
  2916. "summary": "查询交易模板配置",
  2917. "parameters": [
  2918. {
  2919. "type": "integer",
  2920. "description": "所属机构id",
  2921. "name": "areauserid",
  2922. "in": "query"
  2923. }
  2924. ],
  2925. "responses": {
  2926. "200": {
  2927. "description": "OK",
  2928. "schema": {
  2929. "type": "array",
  2930. "items": {
  2931. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2932. }
  2933. }
  2934. },
  2935. "500": {
  2936. "description": "Internal Server Error",
  2937. "schema": {
  2938. "$ref": "#/definitions/app.Response"
  2939. }
  2940. }
  2941. }
  2942. }
  2943. },
  2944. "/Ermcp/QueryUserInfo": {
  2945. "get": {
  2946. "security": [
  2947. {
  2948. "ApiKeyAuth": []
  2949. }
  2950. ],
  2951. "produces": [
  2952. "application/json"
  2953. ],
  2954. "tags": [
  2955. "企业风险管理(app)"
  2956. ],
  2957. "summary": "查询客户资料",
  2958. "parameters": [
  2959. {
  2960. "type": "integer",
  2961. "description": "所属机构用户ID",
  2962. "name": "MemberUserID",
  2963. "in": "query",
  2964. "required": true
  2965. },
  2966. {
  2967. "type": "integer",
  2968. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2969. "name": "queryType",
  2970. "in": "query",
  2971. "required": true
  2972. }
  2973. ],
  2974. "responses": {
  2975. "200": {
  2976. "description": "OK",
  2977. "schema": {
  2978. "type": "array",
  2979. "items": {
  2980. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2981. }
  2982. }
  2983. },
  2984. "500": {
  2985. "description": "Internal Server Error",
  2986. "schema": {
  2987. "$ref": "#/definitions/app.Response"
  2988. }
  2989. }
  2990. }
  2991. }
  2992. },
  2993. "/Ermcp/QueryWarehouseInfo": {
  2994. "get": {
  2995. "security": [
  2996. {
  2997. "ApiKeyAuth": []
  2998. }
  2999. ],
  3000. "produces": [
  3001. "application/json"
  3002. ],
  3003. "tags": [
  3004. "企业风险管理(app)"
  3005. ],
  3006. "summary": "查询仓库信息",
  3007. "parameters": [
  3008. {
  3009. "type": "integer",
  3010. "description": "用户ID",
  3011. "name": "userid",
  3012. "in": "query",
  3013. "required": true
  3014. },
  3015. {
  3016. "type": "string",
  3017. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3018. "name": "status",
  3019. "in": "query"
  3020. }
  3021. ],
  3022. "responses": {
  3023. "200": {
  3024. "description": "OK",
  3025. "schema": {
  3026. "type": "array",
  3027. "items": {
  3028. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3029. }
  3030. }
  3031. },
  3032. "500": {
  3033. "description": "Internal Server Error",
  3034. "schema": {
  3035. "$ref": "#/definitions/app.Response"
  3036. }
  3037. }
  3038. }
  3039. }
  3040. },
  3041. "/Ermcp3/QryAreaExpourseContractDetail": {
  3042. "get": {
  3043. "security": [
  3044. {
  3045. "ApiKeyAuth": []
  3046. }
  3047. ],
  3048. "produces": [
  3049. "application/json"
  3050. ],
  3051. "tags": [
  3052. "企业风险管理v3(app)"
  3053. ],
  3054. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3055. "parameters": [
  3056. {
  3057. "type": "integer",
  3058. "description": "用户ID",
  3059. "name": "userid",
  3060. "in": "query",
  3061. "required": true
  3062. },
  3063. {
  3064. "type": "integer",
  3065. "description": "套保商品id",
  3066. "name": "middlegoodsid",
  3067. "in": "query",
  3068. "required": true
  3069. },
  3070. {
  3071. "type": "integer",
  3072. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3073. "name": "cycletype",
  3074. "in": "query",
  3075. "required": true
  3076. },
  3077. {
  3078. "type": "string",
  3079. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3080. "name": "cycletime",
  3081. "in": "query",
  3082. "required": true
  3083. }
  3084. ],
  3085. "responses": {
  3086. "200": {
  3087. "description": "OK",
  3088. "schema": {
  3089. "type": "array",
  3090. "items": {
  3091. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3092. }
  3093. }
  3094. },
  3095. "500": {
  3096. "description": "Internal Server Error",
  3097. "schema": {
  3098. "$ref": "#/definitions/app.Response"
  3099. }
  3100. }
  3101. }
  3102. }
  3103. },
  3104. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3105. "get": {
  3106. "security": [
  3107. {
  3108. "ApiKeyAuth": []
  3109. }
  3110. ],
  3111. "produces": [
  3112. "application/json"
  3113. ],
  3114. "tags": [
  3115. "企业风险管理v3(app)"
  3116. ],
  3117. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3118. "parameters": [
  3119. {
  3120. "type": "integer",
  3121. "description": "用户ID",
  3122. "name": "userid",
  3123. "in": "query",
  3124. "required": true
  3125. },
  3126. {
  3127. "type": "integer",
  3128. "description": "套保商品id",
  3129. "name": "middlegoodsid",
  3130. "in": "query",
  3131. "required": true
  3132. },
  3133. {
  3134. "type": "integer",
  3135. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3136. "name": "cycletype",
  3137. "in": "query",
  3138. "required": true
  3139. },
  3140. {
  3141. "type": "string",
  3142. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3143. "name": "cycletime",
  3144. "in": "query",
  3145. "required": true
  3146. }
  3147. ],
  3148. "responses": {
  3149. "200": {
  3150. "description": "OK",
  3151. "schema": {
  3152. "type": "array",
  3153. "items": {
  3154. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3155. }
  3156. }
  3157. },
  3158. "500": {
  3159. "description": "Internal Server Error",
  3160. "schema": {
  3161. "$ref": "#/definitions/app.Response"
  3162. }
  3163. }
  3164. }
  3165. }
  3166. },
  3167. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3168. "get": {
  3169. "security": [
  3170. {
  3171. "ApiKeyAuth": []
  3172. }
  3173. ],
  3174. "produces": [
  3175. "application/json"
  3176. ],
  3177. "tags": [
  3178. "企业风险管理v3(app)"
  3179. ],
  3180. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3181. "parameters": [
  3182. {
  3183. "type": "integer",
  3184. "description": "用户ID",
  3185. "name": "userid",
  3186. "in": "query",
  3187. "required": true
  3188. },
  3189. {
  3190. "type": "integer",
  3191. "description": "套保商品id",
  3192. "name": "middlegoodsid",
  3193. "in": "query",
  3194. "required": true
  3195. },
  3196. {
  3197. "type": "integer",
  3198. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3199. "name": "cycletype",
  3200. "in": "query",
  3201. "required": true
  3202. },
  3203. {
  3204. "type": "string",
  3205. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3206. "name": "cycletime",
  3207. "in": "query",
  3208. "required": true
  3209. }
  3210. ],
  3211. "responses": {
  3212. "200": {
  3213. "description": "OK",
  3214. "schema": {
  3215. "type": "array",
  3216. "items": {
  3217. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3218. }
  3219. }
  3220. },
  3221. "500": {
  3222. "description": "Internal Server Error",
  3223. "schema": {
  3224. "$ref": "#/definitions/app.Response"
  3225. }
  3226. }
  3227. }
  3228. }
  3229. },
  3230. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3231. "get": {
  3232. "security": [
  3233. {
  3234. "ApiKeyAuth": []
  3235. }
  3236. ],
  3237. "produces": [
  3238. "application/json"
  3239. ],
  3240. "tags": [
  3241. "企业风险管理v3(app)"
  3242. ],
  3243. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3244. "parameters": [
  3245. {
  3246. "type": "integer",
  3247. "description": "用户ID",
  3248. "name": "userid",
  3249. "in": "query",
  3250. "required": true
  3251. },
  3252. {
  3253. "type": "integer",
  3254. "description": "套保商品id",
  3255. "name": "middlegoodsid",
  3256. "in": "query",
  3257. "required": true
  3258. },
  3259. {
  3260. "type": "integer",
  3261. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3262. "name": "cycletype",
  3263. "in": "query",
  3264. "required": true
  3265. },
  3266. {
  3267. "type": "string",
  3268. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3269. "name": "cycletime",
  3270. "in": "query",
  3271. "required": true
  3272. }
  3273. ],
  3274. "responses": {
  3275. "200": {
  3276. "description": "OK",
  3277. "schema": {
  3278. "type": "array",
  3279. "items": {
  3280. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3281. }
  3282. }
  3283. },
  3284. "500": {
  3285. "description": "Internal Server Error",
  3286. "schema": {
  3287. "$ref": "#/definitions/app.Response"
  3288. }
  3289. }
  3290. }
  3291. }
  3292. },
  3293. "/Ermcp3/QryAreaExpourseReport": {
  3294. "get": {
  3295. "security": [
  3296. {
  3297. "ApiKeyAuth": []
  3298. }
  3299. ],
  3300. "produces": [
  3301. "application/json"
  3302. ],
  3303. "tags": [
  3304. "企业风险管理v3(app)"
  3305. ],
  3306. "summary": "查询敞口报表",
  3307. "parameters": [
  3308. {
  3309. "type": "integer",
  3310. "description": "用户ID",
  3311. "name": "userid",
  3312. "in": "query",
  3313. "required": true
  3314. },
  3315. {
  3316. "type": "integer",
  3317. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3318. "name": "querytype",
  3319. "in": "query",
  3320. "required": true
  3321. },
  3322. {
  3323. "type": "integer",
  3324. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3325. "name": "cycletype",
  3326. "in": "query",
  3327. "required": true
  3328. },
  3329. {
  3330. "type": "string",
  3331. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3332. "name": "cycletime",
  3333. "in": "query",
  3334. "required": true
  3335. }
  3336. ],
  3337. "responses": {
  3338. "200": {
  3339. "description": "OK",
  3340. "schema": {
  3341. "type": "array",
  3342. "items": {
  3343. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3344. }
  3345. }
  3346. },
  3347. "500": {
  3348. "description": "Internal Server Error",
  3349. "schema": {
  3350. "$ref": "#/definitions/app.Response"
  3351. }
  3352. }
  3353. }
  3354. }
  3355. },
  3356. "/Ermcp3/QryAreaSpotplReport": {
  3357. "get": {
  3358. "security": [
  3359. {
  3360. "ApiKeyAuth": []
  3361. }
  3362. ],
  3363. "produces": [
  3364. "application/json"
  3365. ],
  3366. "tags": [
  3367. "企业风险管理v3(app)"
  3368. ],
  3369. "summary": "查询现货报表",
  3370. "parameters": [
  3371. {
  3372. "type": "integer",
  3373. "description": "用户ID",
  3374. "name": "userid",
  3375. "in": "query",
  3376. "required": true
  3377. },
  3378. {
  3379. "type": "integer",
  3380. "description": "查询类型 1-报表 2-报表明细",
  3381. "name": "querytype",
  3382. "in": "query",
  3383. "required": true
  3384. },
  3385. {
  3386. "type": "integer",
  3387. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3388. "name": "cycletype",
  3389. "in": "query",
  3390. "required": true
  3391. },
  3392. {
  3393. "type": "string",
  3394. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3395. "name": "cycletime",
  3396. "in": "query",
  3397. "required": true
  3398. },
  3399. {
  3400. "type": "integer",
  3401. "description": "现货品种id(明细必填)",
  3402. "name": "deliverygoodsid",
  3403. "in": "query"
  3404. },
  3405. {
  3406. "type": "integer",
  3407. "description": "币种id(明细必填)",
  3408. "name": "currencyid",
  3409. "in": "query"
  3410. }
  3411. ],
  3412. "responses": {
  3413. "200": {
  3414. "description": "OK",
  3415. "schema": {
  3416. "type": "array",
  3417. "items": {
  3418. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3419. }
  3420. }
  3421. },
  3422. "500": {
  3423. "description": "Internal Server Error",
  3424. "schema": {
  3425. "$ref": "#/definitions/app.Response"
  3426. }
  3427. }
  3428. }
  3429. }
  3430. },
  3431. "/Ermcp3/QryAreaStockReport": {
  3432. "get": {
  3433. "security": [
  3434. {
  3435. "ApiKeyAuth": []
  3436. }
  3437. ],
  3438. "produces": [
  3439. "application/json"
  3440. ],
  3441. "tags": [
  3442. "企业风险管理v3(app)"
  3443. ],
  3444. "summary": "查询库存报表",
  3445. "parameters": [
  3446. {
  3447. "type": "integer",
  3448. "description": "用户ID",
  3449. "name": "userid",
  3450. "in": "query",
  3451. "required": true
  3452. },
  3453. {
  3454. "type": "integer",
  3455. "description": "查询类型 1-报表 2-报表明细",
  3456. "name": "querytype",
  3457. "in": "query",
  3458. "required": true
  3459. },
  3460. {
  3461. "type": "integer",
  3462. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3463. "name": "cycletype",
  3464. "in": "query",
  3465. "required": true
  3466. },
  3467. {
  3468. "type": "string",
  3469. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3470. "name": "cycletime",
  3471. "in": "query",
  3472. "required": true
  3473. },
  3474. {
  3475. "type": "string",
  3476. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3477. "name": "sumfields",
  3478. "in": "query"
  3479. },
  3480. {
  3481. "type": "integer",
  3482. "description": "品种ID",
  3483. "name": "deliverygoodsid",
  3484. "in": "query"
  3485. },
  3486. {
  3487. "type": "integer",
  3488. "description": "品类ID",
  3489. "name": "wrstandardid",
  3490. "in": "query"
  3491. },
  3492. {
  3493. "type": "integer",
  3494. "description": "品牌ID",
  3495. "name": "spotgoodsbrandid",
  3496. "in": "query"
  3497. },
  3498. {
  3499. "type": "integer",
  3500. "description": "仓库ID",
  3501. "name": "warehouseinfoid",
  3502. "in": "query"
  3503. }
  3504. ],
  3505. "responses": {
  3506. "200": {
  3507. "description": "OK",
  3508. "schema": {
  3509. "type": "array",
  3510. "items": {
  3511. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3512. }
  3513. }
  3514. },
  3515. "500": {
  3516. "description": "Internal Server Error",
  3517. "schema": {
  3518. "$ref": "#/definitions/app.Response"
  3519. }
  3520. }
  3521. }
  3522. }
  3523. },
  3524. "/Ermcp3/QryAreaSumPL": {
  3525. "get": {
  3526. "security": [
  3527. {
  3528. "ApiKeyAuth": []
  3529. }
  3530. ],
  3531. "produces": [
  3532. "application/json"
  3533. ],
  3534. "tags": [
  3535. "企业风险管理v3(app)"
  3536. ],
  3537. "summary": "查询汇总损益表",
  3538. "parameters": [
  3539. {
  3540. "type": "integer",
  3541. "description": "用户ID",
  3542. "name": "userid",
  3543. "in": "query",
  3544. "required": true
  3545. },
  3546. {
  3547. "type": "integer",
  3548. "description": "查询类型 1-报表 2-报表明细",
  3549. "name": "querytype",
  3550. "in": "query",
  3551. "required": true
  3552. },
  3553. {
  3554. "type": "integer",
  3555. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3556. "name": "cycletype",
  3557. "in": "query",
  3558. "required": true
  3559. },
  3560. {
  3561. "type": "string",
  3562. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3563. "name": "cycletime",
  3564. "in": "query",
  3565. "required": true
  3566. },
  3567. {
  3568. "type": "integer",
  3569. "description": "币种id(明细必填)",
  3570. "name": "currencyid",
  3571. "in": "query"
  3572. }
  3573. ],
  3574. "responses": {
  3575. "200": {
  3576. "description": "OK",
  3577. "schema": {
  3578. "type": "array",
  3579. "items": {
  3580. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3581. }
  3582. }
  3583. },
  3584. "500": {
  3585. "description": "Internal Server Error",
  3586. "schema": {
  3587. "$ref": "#/definitions/app.Response"
  3588. }
  3589. }
  3590. }
  3591. }
  3592. },
  3593. "/Ermcp3/QryFinanceReport": {
  3594. "get": {
  3595. "security": [
  3596. {
  3597. "ApiKeyAuth": []
  3598. }
  3599. ],
  3600. "produces": [
  3601. "application/json"
  3602. ],
  3603. "tags": [
  3604. "企业风险管理v3(app)"
  3605. ],
  3606. "summary": "查询财务报表",
  3607. "parameters": [
  3608. {
  3609. "type": "integer",
  3610. "description": "用户ID",
  3611. "name": "userid",
  3612. "in": "query",
  3613. "required": true
  3614. },
  3615. {
  3616. "type": "integer",
  3617. "description": "查询类型 1-报表 2-报表明细",
  3618. "name": "querytype",
  3619. "in": "query",
  3620. "required": true
  3621. },
  3622. {
  3623. "type": "integer",
  3624. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3625. "name": "cycletype",
  3626. "in": "query",
  3627. "required": true
  3628. },
  3629. {
  3630. "type": "string",
  3631. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3632. "name": "cycletime",
  3633. "in": "query",
  3634. "required": true
  3635. },
  3636. {
  3637. "type": "integer",
  3638. "description": "币种id(报表明细必填)",
  3639. "name": "currencyid",
  3640. "in": "query"
  3641. },
  3642. {
  3643. "type": "string",
  3644. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3645. "name": "sumfields",
  3646. "in": "query"
  3647. }
  3648. ],
  3649. "responses": {
  3650. "200": {
  3651. "description": "OK",
  3652. "schema": {
  3653. "type": "array",
  3654. "items": {
  3655. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3656. }
  3657. }
  3658. },
  3659. "500": {
  3660. "description": "Internal Server Error",
  3661. "schema": {
  3662. "$ref": "#/definitions/app.Response"
  3663. }
  3664. }
  3665. }
  3666. }
  3667. },
  3668. "/Ermcp3/QrySCMiddleGoodsReport": {
  3669. "get": {
  3670. "security": [
  3671. {
  3672. "ApiKeyAuth": []
  3673. }
  3674. ],
  3675. "produces": [
  3676. "application/json"
  3677. ],
  3678. "tags": [
  3679. "企业风险管理v3(app)"
  3680. ],
  3681. "summary": "查询定价报表",
  3682. "parameters": [
  3683. {
  3684. "type": "integer",
  3685. "description": "用户ID",
  3686. "name": "userid",
  3687. "in": "query",
  3688. "required": true
  3689. },
  3690. {
  3691. "type": "integer",
  3692. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3693. "name": "cycletype",
  3694. "in": "query",
  3695. "required": true
  3696. },
  3697. {
  3698. "type": "string",
  3699. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3700. "name": "cycletime",
  3701. "in": "query",
  3702. "required": true
  3703. },
  3704. {
  3705. "type": "integer",
  3706. "description": "合同id",
  3707. "name": "spotcontractid",
  3708. "in": "query"
  3709. },
  3710. {
  3711. "type": "integer",
  3712. "description": "套保品种id",
  3713. "name": "middlegoodsid",
  3714. "in": "query"
  3715. },
  3716. {
  3717. "type": "integer",
  3718. "description": "现货品种id",
  3719. "name": "deliverygoodsid",
  3720. "in": "query"
  3721. },
  3722. {
  3723. "type": "integer",
  3724. "description": "现货商品id",
  3725. "name": "wrstandardid",
  3726. "in": "query"
  3727. },
  3728. {
  3729. "type": "string",
  3730. "description": "合同编号(模糊匹配)",
  3731. "name": "contractno",
  3732. "in": "query"
  3733. }
  3734. ],
  3735. "responses": {
  3736. "200": {
  3737. "description": "OK",
  3738. "schema": {
  3739. "type": "array",
  3740. "items": {
  3741. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3742. }
  3743. }
  3744. },
  3745. "500": {
  3746. "description": "Internal Server Error",
  3747. "schema": {
  3748. "$ref": "#/definitions/app.Response"
  3749. }
  3750. }
  3751. }
  3752. }
  3753. },
  3754. "/Ermcp3/QryTaFutureDataReport": {
  3755. "get": {
  3756. "security": [
  3757. {
  3758. "ApiKeyAuth": []
  3759. }
  3760. ],
  3761. "produces": [
  3762. "application/json"
  3763. ],
  3764. "tags": [
  3765. "企业风险管理v3(app)"
  3766. ],
  3767. "summary": "查询期货报表",
  3768. "parameters": [
  3769. {
  3770. "type": "integer",
  3771. "description": "用户ID",
  3772. "name": "userid",
  3773. "in": "query",
  3774. "required": true
  3775. },
  3776. {
  3777. "type": "integer",
  3778. "description": "查询类型 1-报表 2-报表明细",
  3779. "name": "querytype",
  3780. "in": "query",
  3781. "required": true
  3782. },
  3783. {
  3784. "type": "integer",
  3785. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3786. "name": "cycletype",
  3787. "in": "query",
  3788. "required": true
  3789. },
  3790. {
  3791. "type": "string",
  3792. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3793. "name": "cycletime",
  3794. "in": "query",
  3795. "required": true
  3796. },
  3797. {
  3798. "type": "integer",
  3799. "description": "币种id(查明细必填)",
  3800. "name": "currencyid",
  3801. "in": "query"
  3802. },
  3803. {
  3804. "type": "integer",
  3805. "description": "品种id(查明细必填)",
  3806. "name": "goodsgroupid",
  3807. "in": "query"
  3808. },
  3809. {
  3810. "type": "integer",
  3811. "description": "商品id(查明细必填)",
  3812. "name": "goodsid",
  3813. "in": "query"
  3814. },
  3815. {
  3816. "type": "integer",
  3817. "description": "买卖方向(查明细必填)",
  3818. "name": "buyorsell",
  3819. "in": "query"
  3820. }
  3821. ],
  3822. "responses": {
  3823. "200": {
  3824. "description": "OK",
  3825. "schema": {
  3826. "type": "array",
  3827. "items": {
  3828. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3829. }
  3830. }
  3831. },
  3832. "500": {
  3833. "description": "Internal Server Error",
  3834. "schema": {
  3835. "$ref": "#/definitions/app.Response"
  3836. }
  3837. }
  3838. }
  3839. }
  3840. },
  3841. "/Ermcp3/QueryAreaStock": {
  3842. "get": {
  3843. "security": [
  3844. {
  3845. "ApiKeyAuth": []
  3846. }
  3847. ],
  3848. "produces": [
  3849. "application/json"
  3850. ],
  3851. "tags": [
  3852. "企业风险管理v3(app)"
  3853. ],
  3854. "summary": "查询机构库存(库存管理/当前库存)",
  3855. "parameters": [
  3856. {
  3857. "type": "integer",
  3858. "description": "用户ID",
  3859. "name": "userid",
  3860. "in": "query",
  3861. "required": true
  3862. }
  3863. ],
  3864. "responses": {
  3865. "200": {
  3866. "description": "OK",
  3867. "schema": {
  3868. "type": "array",
  3869. "items": {
  3870. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3871. }
  3872. }
  3873. },
  3874. "500": {
  3875. "description": "Internal Server Error",
  3876. "schema": {
  3877. "$ref": "#/definitions/app.Response"
  3878. }
  3879. }
  3880. }
  3881. }
  3882. },
  3883. "/Ermcp3/QueryAreaStockApply": {
  3884. "get": {
  3885. "security": [
  3886. {
  3887. "ApiKeyAuth": []
  3888. }
  3889. ],
  3890. "produces": [
  3891. "application/json"
  3892. ],
  3893. "tags": [
  3894. "企业风险管理v3(app)"
  3895. ],
  3896. "summary": "查询库存申请(出入库记录|库存审核)",
  3897. "parameters": [
  3898. {
  3899. "type": "integer",
  3900. "description": "用户ID",
  3901. "name": "userid",
  3902. "in": "query",
  3903. "required": true
  3904. },
  3905. {
  3906. "type": "integer",
  3907. "description": "用户类型 2-机构 7-企业成员",
  3908. "name": "usertype",
  3909. "in": "query"
  3910. },
  3911. {
  3912. "type": "integer",
  3913. "description": "现货商品ID",
  3914. "name": "deliverygoodsid",
  3915. "in": "query"
  3916. },
  3917. {
  3918. "type": "string",
  3919. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3920. "name": "inouttype",
  3921. "in": "query"
  3922. },
  3923. {
  3924. "type": "integer",
  3925. "description": "合同ID",
  3926. "name": "spotcontractid",
  3927. "in": "query"
  3928. },
  3929. {
  3930. "type": "integer",
  3931. "description": "品类ID",
  3932. "name": "wrstandardid",
  3933. "in": "query"
  3934. },
  3935. {
  3936. "type": "integer",
  3937. "description": "品牌ID",
  3938. "name": "spotgoodsbrandid",
  3939. "in": "query"
  3940. },
  3941. {
  3942. "type": "integer",
  3943. "description": "仓库ID",
  3944. "name": "warehouseinfoid",
  3945. "in": "query"
  3946. },
  3947. {
  3948. "type": "string",
  3949. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3950. "name": "applystatus",
  3951. "in": "query"
  3952. }
  3953. ],
  3954. "responses": {
  3955. "200": {
  3956. "description": "OK",
  3957. "schema": {
  3958. "type": "array",
  3959. "items": {
  3960. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3961. }
  3962. }
  3963. },
  3964. "500": {
  3965. "description": "Internal Server Error",
  3966. "schema": {
  3967. "$ref": "#/definitions/app.Response"
  3968. }
  3969. }
  3970. }
  3971. }
  3972. },
  3973. "/Ermcp3/QueryAreaStockApplySum": {
  3974. "get": {
  3975. "security": [
  3976. {
  3977. "ApiKeyAuth": []
  3978. }
  3979. ],
  3980. "produces": [
  3981. "application/json"
  3982. ],
  3983. "tags": [
  3984. "企业风险管理v3(app)"
  3985. ],
  3986. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3987. "parameters": [
  3988. {
  3989. "type": "integer",
  3990. "description": "合同ID",
  3991. "name": "spotcontractid",
  3992. "in": "query",
  3993. "required": true
  3994. }
  3995. ],
  3996. "responses": {
  3997. "200": {
  3998. "description": "OK",
  3999. "schema": {
  4000. "type": "array",
  4001. "items": {
  4002. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4003. }
  4004. }
  4005. },
  4006. "500": {
  4007. "description": "Internal Server Error",
  4008. "schema": {
  4009. "$ref": "#/definitions/app.Response"
  4010. }
  4011. }
  4012. }
  4013. }
  4014. },
  4015. "/Ermcp3/QueryDGFactoryItem": {
  4016. "get": {
  4017. "security": [
  4018. {
  4019. "ApiKeyAuth": []
  4020. }
  4021. ],
  4022. "produces": [
  4023. "application/json"
  4024. ],
  4025. "tags": [
  4026. "企业风险管理v3(app)"
  4027. ],
  4028. "summary": "查询品种要素定义项",
  4029. "parameters": [
  4030. {
  4031. "type": "integer",
  4032. "description": "用户id",
  4033. "name": "userid",
  4034. "in": "query"
  4035. },
  4036. {
  4037. "type": "integer",
  4038. "description": "用户类型 2-机构 7-企业成员",
  4039. "name": "usertype",
  4040. "in": "query"
  4041. },
  4042. {
  4043. "type": "integer",
  4044. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4045. "name": "dgfactoryitemid",
  4046. "in": "query"
  4047. },
  4048. {
  4049. "type": "integer",
  4050. "description": "现货品种ID",
  4051. "name": "deliverygoodsid",
  4052. "in": "query"
  4053. },
  4054. {
  4055. "type": "integer",
  4056. "description": "要素项类型",
  4057. "name": "dgfactoryitemtypeid",
  4058. "in": "query"
  4059. },
  4060. {
  4061. "type": "integer",
  4062. "description": "顺序",
  4063. "name": "orderindex",
  4064. "in": "query"
  4065. }
  4066. ],
  4067. "responses": {
  4068. "200": {
  4069. "description": "OK",
  4070. "schema": {
  4071. "type": "array",
  4072. "items": {
  4073. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4074. }
  4075. }
  4076. },
  4077. "500": {
  4078. "description": "Internal Server Error",
  4079. "schema": {
  4080. "$ref": "#/definitions/app.Response"
  4081. }
  4082. }
  4083. }
  4084. }
  4085. },
  4086. "/Ermcp3/QueryDeliveryGoods": {
  4087. "get": {
  4088. "security": [
  4089. {
  4090. "ApiKeyAuth": []
  4091. }
  4092. ],
  4093. "produces": [
  4094. "application/json"
  4095. ],
  4096. "tags": [
  4097. "企业风险管理v3(app)"
  4098. ],
  4099. "summary": "查询现货商品",
  4100. "parameters": [
  4101. {
  4102. "type": "integer",
  4103. "description": "用户id",
  4104. "name": "userid",
  4105. "in": "query",
  4106. "required": true
  4107. },
  4108. {
  4109. "type": "integer",
  4110. "description": "用户类型 2-机构 7-企业成员",
  4111. "name": "usertype",
  4112. "in": "query"
  4113. },
  4114. {
  4115. "type": "integer",
  4116. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4117. "name": "excludecfg",
  4118. "in": "query"
  4119. }
  4120. ],
  4121. "responses": {
  4122. "200": {
  4123. "description": "OK",
  4124. "schema": {
  4125. "type": "array",
  4126. "items": {
  4127. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4128. }
  4129. }
  4130. },
  4131. "500": {
  4132. "description": "Internal Server Error",
  4133. "schema": {
  4134. "$ref": "#/definitions/app.Response"
  4135. }
  4136. }
  4137. }
  4138. }
  4139. },
  4140. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4141. "get": {
  4142. "security": [
  4143. {
  4144. "ApiKeyAuth": []
  4145. }
  4146. ],
  4147. "produces": [
  4148. "application/json"
  4149. ],
  4150. "tags": [
  4151. "企业风险管理v3(app)"
  4152. ],
  4153. "summary": "查询现货商品详情",
  4154. "parameters": [
  4155. {
  4156. "type": "integer",
  4157. "description": "用户id",
  4158. "name": "userid",
  4159. "in": "query",
  4160. "required": true
  4161. },
  4162. {
  4163. "type": "integer",
  4164. "description": "用户类型 2-机构 7-企业成员",
  4165. "name": "usertype",
  4166. "in": "query"
  4167. },
  4168. {
  4169. "type": "integer",
  4170. "description": "现货商品id",
  4171. "name": "deliverygoodsid",
  4172. "in": "query"
  4173. }
  4174. ],
  4175. "responses": {
  4176. "200": {
  4177. "description": "OK",
  4178. "schema": {
  4179. "type": "array",
  4180. "items": {
  4181. "$ref": "#/definitions/models.XHDeliveryGoods"
  4182. }
  4183. }
  4184. },
  4185. "500": {
  4186. "description": "Internal Server Error",
  4187. "schema": {
  4188. "$ref": "#/definitions/app.Response"
  4189. }
  4190. }
  4191. }
  4192. }
  4193. },
  4194. "/Ermcp3/QueryExposureDetail": {
  4195. "get": {
  4196. "security": [
  4197. {
  4198. "ApiKeyAuth": []
  4199. }
  4200. ],
  4201. "produces": [
  4202. "application/json"
  4203. ],
  4204. "tags": [
  4205. "企业风险管理v3(app)"
  4206. ],
  4207. "summary": "查询敞口现货明细",
  4208. "parameters": [
  4209. {
  4210. "type": "integer",
  4211. "description": "用户id",
  4212. "name": "userid",
  4213. "in": "query",
  4214. "required": true
  4215. },
  4216. {
  4217. "type": "integer",
  4218. "description": "用户类型 2-机构 7-企业成员",
  4219. "name": "usertype",
  4220. "in": "query"
  4221. },
  4222. {
  4223. "type": "integer",
  4224. "description": "套保商品",
  4225. "name": "middlegoodsid",
  4226. "in": "query",
  4227. "required": true
  4228. }
  4229. ],
  4230. "responses": {
  4231. "200": {
  4232. "description": "OK",
  4233. "schema": {
  4234. "type": "array",
  4235. "items": {
  4236. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4237. }
  4238. }
  4239. },
  4240. "500": {
  4241. "description": "Internal Server Error",
  4242. "schema": {
  4243. "$ref": "#/definitions/app.Response"
  4244. }
  4245. }
  4246. }
  4247. }
  4248. },
  4249. "/Ermcp3/QueryExposureSpot": {
  4250. "get": {
  4251. "security": [
  4252. {
  4253. "ApiKeyAuth": []
  4254. }
  4255. ],
  4256. "produces": [
  4257. "application/json"
  4258. ],
  4259. "tags": [
  4260. "企业风险管理v3(app)"
  4261. ],
  4262. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4263. "parameters": [
  4264. {
  4265. "type": "integer",
  4266. "description": "用户id",
  4267. "name": "userid",
  4268. "in": "query",
  4269. "required": true
  4270. },
  4271. {
  4272. "type": "integer",
  4273. "description": "用户类型 2-机构 7-企业成员",
  4274. "name": "usertype",
  4275. "in": "query"
  4276. }
  4277. ],
  4278. "responses": {
  4279. "200": {
  4280. "description": "OK",
  4281. "schema": {
  4282. "type": "array",
  4283. "items": {
  4284. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4285. }
  4286. }
  4287. },
  4288. "500": {
  4289. "description": "Internal Server Error",
  4290. "schema": {
  4291. "$ref": "#/definitions/app.Response"
  4292. }
  4293. }
  4294. }
  4295. }
  4296. },
  4297. "/Ermcp3/QueryExposureSpotDetail": {
  4298. "get": {
  4299. "security": [
  4300. {
  4301. "ApiKeyAuth": []
  4302. }
  4303. ],
  4304. "produces": [
  4305. "application/json"
  4306. ],
  4307. "tags": [
  4308. "企业风险管理v3(app)"
  4309. ],
  4310. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4311. "parameters": [
  4312. {
  4313. "type": "integer",
  4314. "description": "用户id",
  4315. "name": "userid",
  4316. "in": "query",
  4317. "required": true
  4318. },
  4319. {
  4320. "type": "integer",
  4321. "description": "用户类型 2-机构 7-企业成员",
  4322. "name": "usertype",
  4323. "in": "query"
  4324. },
  4325. {
  4326. "type": "integer",
  4327. "description": "现货商品ID",
  4328. "name": "wrstandardid",
  4329. "in": "query",
  4330. "required": true
  4331. }
  4332. ],
  4333. "responses": {
  4334. "200": {
  4335. "description": "OK",
  4336. "schema": {
  4337. "type": "array",
  4338. "items": {
  4339. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4340. }
  4341. }
  4342. },
  4343. "500": {
  4344. "description": "Internal Server Error",
  4345. "schema": {
  4346. "$ref": "#/definitions/app.Response"
  4347. }
  4348. }
  4349. }
  4350. }
  4351. },
  4352. "/Ermcp3/QueryGoodsGroup": {
  4353. "get": {
  4354. "security": [
  4355. {
  4356. "ApiKeyAuth": []
  4357. }
  4358. ],
  4359. "produces": [
  4360. "application/json"
  4361. ],
  4362. "tags": [
  4363. "企业风险管理v3(app)"
  4364. ],
  4365. "summary": "查询期货商品组",
  4366. "parameters": [
  4367. {
  4368. "type": "integer",
  4369. "description": "用户id",
  4370. "name": "userid",
  4371. "in": "query",
  4372. "required": true
  4373. },
  4374. {
  4375. "type": "integer",
  4376. "description": "用户类型 2-机构 7-企业成员",
  4377. "name": "usertype",
  4378. "in": "query"
  4379. },
  4380. {
  4381. "type": "integer",
  4382. "description": "排除套保品中已关联的商品组 1-排除",
  4383. "name": "excludecfg",
  4384. "in": "query"
  4385. }
  4386. ],
  4387. "responses": {
  4388. "200": {
  4389. "description": "OK",
  4390. "schema": {
  4391. "type": "array",
  4392. "items": {
  4393. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4394. }
  4395. }
  4396. },
  4397. "500": {
  4398. "description": "Internal Server Error",
  4399. "schema": {
  4400. "$ref": "#/definitions/app.Response"
  4401. }
  4402. }
  4403. }
  4404. }
  4405. },
  4406. "/Ermcp3/QueryGoodsWrstandard": {
  4407. "get": {
  4408. "security": [
  4409. {
  4410. "ApiKeyAuth": []
  4411. }
  4412. ],
  4413. "produces": [
  4414. "application/json"
  4415. ],
  4416. "tags": [
  4417. "企业风险管理v3(app)"
  4418. ],
  4419. "summary": "查询商品品类",
  4420. "parameters": [
  4421. {
  4422. "type": "integer",
  4423. "description": "用户id",
  4424. "name": "userid",
  4425. "in": "query",
  4426. "required": true
  4427. },
  4428. {
  4429. "type": "integer",
  4430. "description": "用户类型 2-机构 7-企业成员",
  4431. "name": "usertype",
  4432. "in": "query"
  4433. },
  4434. {
  4435. "type": "integer",
  4436. "description": "现货商品id",
  4437. "name": "deliverygoodsid",
  4438. "in": "query"
  4439. }
  4440. ],
  4441. "responses": {
  4442. "200": {
  4443. "description": "OK",
  4444. "schema": {
  4445. "type": "array",
  4446. "items": {
  4447. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4448. }
  4449. }
  4450. },
  4451. "500": {
  4452. "description": "Internal Server Error",
  4453. "schema": {
  4454. "$ref": "#/definitions/app.Response"
  4455. }
  4456. }
  4457. }
  4458. }
  4459. },
  4460. "/Ermcp3/QueryGoodsbrand": {
  4461. "get": {
  4462. "security": [
  4463. {
  4464. "ApiKeyAuth": []
  4465. }
  4466. ],
  4467. "produces": [
  4468. "application/json"
  4469. ],
  4470. "tags": [
  4471. "企业风险管理v3(app)"
  4472. ],
  4473. "summary": "查询商品品牌",
  4474. "parameters": [
  4475. {
  4476. "type": "integer",
  4477. "description": "用户id",
  4478. "name": "userid",
  4479. "in": "query",
  4480. "required": true
  4481. },
  4482. {
  4483. "type": "integer",
  4484. "description": "用户类型 2-机构 7-企业成员",
  4485. "name": "usertype",
  4486. "in": "query"
  4487. }
  4488. ],
  4489. "responses": {
  4490. "200": {
  4491. "description": "OK",
  4492. "schema": {
  4493. "type": "array",
  4494. "items": {
  4495. "$ref": "#/definitions/models.Ermcp3Brand"
  4496. }
  4497. }
  4498. },
  4499. "500": {
  4500. "description": "Internal Server Error",
  4501. "schema": {
  4502. "$ref": "#/definitions/app.Response"
  4503. }
  4504. }
  4505. }
  4506. }
  4507. },
  4508. "/Ermcp3/QueryHedgePlan": {
  4509. "get": {
  4510. "security": [
  4511. {
  4512. "ApiKeyAuth": []
  4513. }
  4514. ],
  4515. "produces": [
  4516. "application/json"
  4517. ],
  4518. "tags": [
  4519. "企业风险管理v3(app)"
  4520. ],
  4521. "summary": "查询套保计划",
  4522. "parameters": [
  4523. {
  4524. "type": "integer",
  4525. "description": "用户ID",
  4526. "name": "userid",
  4527. "in": "query",
  4528. "required": true
  4529. },
  4530. {
  4531. "type": "integer",
  4532. "description": "用户类型 2-机构 7-企业成员",
  4533. "name": "usertype",
  4534. "in": "query"
  4535. },
  4536. {
  4537. "type": "string",
  4538. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4539. "name": "hedgeplanstatus",
  4540. "in": "query",
  4541. "required": true
  4542. }
  4543. ],
  4544. "responses": {
  4545. "200": {
  4546. "description": "OK",
  4547. "schema": {
  4548. "type": "array",
  4549. "items": {
  4550. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4551. }
  4552. }
  4553. },
  4554. "500": {
  4555. "description": "Internal Server Error",
  4556. "schema": {
  4557. "$ref": "#/definitions/app.Response"
  4558. }
  4559. }
  4560. }
  4561. }
  4562. },
  4563. "/Ermcp3/QueryInnerTradeLink": {
  4564. "get": {
  4565. "security": [
  4566. {
  4567. "ApiKeyAuth": []
  4568. }
  4569. ],
  4570. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4571. "produces": [
  4572. "application/json"
  4573. ],
  4574. "tags": [
  4575. "企业风险管理v3(app)"
  4576. ],
  4577. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4578. "parameters": [
  4579. {
  4580. "type": "integer",
  4581. "description": "外部成交单号",
  4582. "name": "outtradeid",
  4583. "in": "query",
  4584. "required": true
  4585. }
  4586. ],
  4587. "responses": {
  4588. "200": {
  4589. "description": "OK",
  4590. "schema": {
  4591. "type": "array",
  4592. "items": {
  4593. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4594. }
  4595. }
  4596. },
  4597. "500": {
  4598. "description": "Internal Server Error",
  4599. "schema": {
  4600. "$ref": "#/definitions/app.Response"
  4601. }
  4602. }
  4603. }
  4604. }
  4605. },
  4606. "/Ermcp3/QueryMiddleGoodsDetail": {
  4607. "get": {
  4608. "security": [
  4609. {
  4610. "ApiKeyAuth": []
  4611. }
  4612. ],
  4613. "produces": [
  4614. "application/json"
  4615. ],
  4616. "tags": [
  4617. "企业风险管理v3(app)"
  4618. ],
  4619. "summary": "查询套保品种详情(套保品种/商品详情)",
  4620. "parameters": [
  4621. {
  4622. "type": "integer",
  4623. "description": "用户id",
  4624. "name": "userid",
  4625. "in": "query",
  4626. "required": true
  4627. },
  4628. {
  4629. "type": "integer",
  4630. "description": "用户类型 2-机构 7-企业成员",
  4631. "name": "usertype",
  4632. "in": "query"
  4633. },
  4634. {
  4635. "type": "integer",
  4636. "description": "套保品种id",
  4637. "name": "middlegoodsid",
  4638. "in": "query"
  4639. }
  4640. ],
  4641. "responses": {
  4642. "200": {
  4643. "description": "OK",
  4644. "schema": {
  4645. "type": "array",
  4646. "items": {
  4647. "$ref": "#/definitions/models.TBMiddleGoods"
  4648. }
  4649. }
  4650. },
  4651. "500": {
  4652. "description": "Internal Server Error",
  4653. "schema": {
  4654. "$ref": "#/definitions/app.Response"
  4655. }
  4656. }
  4657. }
  4658. }
  4659. },
  4660. "/Ermcp3/QueryOutTradeLink": {
  4661. "get": {
  4662. "security": [
  4663. {
  4664. "ApiKeyAuth": []
  4665. }
  4666. ],
  4667. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  4668. "produces": [
  4669. "application/json"
  4670. ],
  4671. "tags": [
  4672. "企业风险管理v3(app)"
  4673. ],
  4674. "summary": "查询外部成交单关联",
  4675. "parameters": [
  4676. {
  4677. "type": "integer",
  4678. "description": "用户ID(填登录用户的userid)",
  4679. "name": "userid",
  4680. "in": "query",
  4681. "required": true
  4682. },
  4683. {
  4684. "type": "string",
  4685. "description": "外部订单号(模糊匹配)",
  4686. "name": "outtradeid",
  4687. "in": "query"
  4688. },
  4689. {
  4690. "type": "string",
  4691. "description": "合约名称/代码(模糊匹配)",
  4692. "name": "goodsname",
  4693. "in": "query"
  4694. },
  4695. {
  4696. "type": "integer",
  4697. "description": "关联状态 0-未关联 1-已关联",
  4698. "name": "hasinnerorder",
  4699. "in": "query"
  4700. }
  4701. ],
  4702. "responses": {
  4703. "200": {
  4704. "description": "OK",
  4705. "schema": {
  4706. "type": "array",
  4707. "items": {
  4708. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  4709. }
  4710. }
  4711. },
  4712. "500": {
  4713. "description": "Internal Server Error",
  4714. "schema": {
  4715. "$ref": "#/definitions/app.Response"
  4716. }
  4717. }
  4718. }
  4719. }
  4720. },
  4721. "/Ermcp3/QueryPaAreaAuditCfg": {
  4722. "get": {
  4723. "security": [
  4724. {
  4725. "ApiKeyAuth": []
  4726. }
  4727. ],
  4728. "produces": [
  4729. "application/json"
  4730. ],
  4731. "tags": [
  4732. "企业风险管理v3(app)"
  4733. ],
  4734. "summary": "查询审核设置",
  4735. "parameters": [
  4736. {
  4737. "type": "integer",
  4738. "description": "用户id",
  4739. "name": "userid",
  4740. "in": "query",
  4741. "required": true
  4742. }
  4743. ],
  4744. "responses": {
  4745. "200": {
  4746. "description": "OK",
  4747. "schema": {
  4748. "type": "array",
  4749. "items": {
  4750. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4751. }
  4752. }
  4753. },
  4754. "500": {
  4755. "description": "Internal Server Error",
  4756. "schema": {
  4757. "$ref": "#/definitions/app.Response"
  4758. }
  4759. }
  4760. }
  4761. }
  4762. },
  4763. "/Ermcp3/QueryPaAreaSubject": {
  4764. "get": {
  4765. "security": [
  4766. {
  4767. "ApiKeyAuth": []
  4768. }
  4769. ],
  4770. "produces": [
  4771. "application/json"
  4772. ],
  4773. "tags": [
  4774. "企业风险管理v3(app)"
  4775. ],
  4776. "summary": "查询交易主体",
  4777. "parameters": [
  4778. {
  4779. "type": "integer",
  4780. "description": "用户id",
  4781. "name": "userid",
  4782. "in": "query",
  4783. "required": true
  4784. },
  4785. {
  4786. "type": "integer",
  4787. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4788. "name": "subjectid",
  4789. "in": "query"
  4790. },
  4791. {
  4792. "type": "integer",
  4793. "description": "主体类型 - 1:交易主体 2:业务部门",
  4794. "name": "subjecttype",
  4795. "in": "query"
  4796. },
  4797. {
  4798. "type": "integer",
  4799. "description": "主体状态 - 1:正常 2: 停用",
  4800. "name": "subjectstatus",
  4801. "in": "query"
  4802. }
  4803. ],
  4804. "responses": {
  4805. "200": {
  4806. "description": "OK",
  4807. "schema": {
  4808. "type": "array",
  4809. "items": {
  4810. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4811. }
  4812. }
  4813. },
  4814. "500": {
  4815. "description": "Internal Server Error",
  4816. "schema": {
  4817. "$ref": "#/definitions/app.Response"
  4818. }
  4819. }
  4820. }
  4821. }
  4822. },
  4823. "/Ermcp3/QueryPaTradeLink": {
  4824. "get": {
  4825. "security": [
  4826. {
  4827. "ApiKeyAuth": []
  4828. }
  4829. ],
  4830. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4831. "produces": [
  4832. "application/json"
  4833. ],
  4834. "tags": [
  4835. "企业风险管理v3(app)"
  4836. ],
  4837. "summary": "查询期现单据关联",
  4838. "parameters": [
  4839. {
  4840. "type": "integer",
  4841. "description": "用户ID",
  4842. "name": "userid",
  4843. "in": "query",
  4844. "required": true
  4845. }
  4846. ],
  4847. "responses": {
  4848. "200": {
  4849. "description": "OK",
  4850. "schema": {
  4851. "type": "array",
  4852. "items": {
  4853. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4854. }
  4855. }
  4856. },
  4857. "500": {
  4858. "description": "Internal Server Error",
  4859. "schema": {
  4860. "$ref": "#/definitions/app.Response"
  4861. }
  4862. }
  4863. }
  4864. }
  4865. },
  4866. "/Ermcp3/QueryPaTradeLinkDetail": {
  4867. "get": {
  4868. "security": [
  4869. {
  4870. "ApiKeyAuth": []
  4871. }
  4872. ],
  4873. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  4874. "produces": [
  4875. "application/json"
  4876. ],
  4877. "tags": [
  4878. "企业风险管理v3(app)"
  4879. ],
  4880. "summary": "查询期现关联记录",
  4881. "parameters": [
  4882. {
  4883. "type": "integer",
  4884. "description": "用户ID(填登录用户的userid)",
  4885. "name": "userid",
  4886. "in": "query",
  4887. "required": true
  4888. },
  4889. {
  4890. "type": "integer",
  4891. "description": "关联状态 1:成功 2:失败 3:解绑",
  4892. "name": "linkstatus",
  4893. "in": "query"
  4894. },
  4895. {
  4896. "type": "string",
  4897. "description": "期货订单号(模糊匹配)",
  4898. "name": "tradeid",
  4899. "in": "query"
  4900. },
  4901. {
  4902. "type": "string",
  4903. "description": "现货编号(模糊匹配)",
  4904. "name": "contractno",
  4905. "in": "query"
  4906. },
  4907. {
  4908. "type": "string",
  4909. "description": "期货账户(模糊匹配)",
  4910. "name": "taname",
  4911. "in": "query"
  4912. }
  4913. ],
  4914. "responses": {
  4915. "200": {
  4916. "description": "OK",
  4917. "schema": {
  4918. "type": "array",
  4919. "items": {
  4920. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  4921. }
  4922. }
  4923. },
  4924. "500": {
  4925. "description": "Internal Server Error",
  4926. "schema": {
  4927. "$ref": "#/definitions/app.Response"
  4928. }
  4929. }
  4930. }
  4931. }
  4932. },
  4933. "/Ermcp3/QueryParamChangeApp": {
  4934. "get": {
  4935. "security": [
  4936. {
  4937. "ApiKeyAuth": []
  4938. }
  4939. ],
  4940. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  4941. "produces": [
  4942. "application/json"
  4943. ],
  4944. "tags": [
  4945. "企业风险管理v3(app)"
  4946. ],
  4947. "summary": "查询现货商品参数变更申请(流水)",
  4948. "parameters": [
  4949. {
  4950. "type": "integer",
  4951. "description": "用户ID",
  4952. "name": "userid",
  4953. "in": "query",
  4954. "required": true
  4955. },
  4956. {
  4957. "type": "integer",
  4958. "description": "现货品种id",
  4959. "name": "deliverygoodsid",
  4960. "in": "query"
  4961. },
  4962. {
  4963. "type": "integer",
  4964. "description": "现货商品id",
  4965. "name": "wrstandardid",
  4966. "in": "query"
  4967. },
  4968. {
  4969. "type": "integer",
  4970. "description": "套保商品id",
  4971. "name": "middlegoodsid",
  4972. "in": "query"
  4973. },
  4974. {
  4975. "type": "integer",
  4976. "description": "操作类型 1:新增 2:修改",
  4977. "name": "operatetype",
  4978. "in": "query"
  4979. },
  4980. {
  4981. "type": "integer",
  4982. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  4983. "name": "paramchangetype",
  4984. "in": "query"
  4985. },
  4986. {
  4987. "type": "string",
  4988. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4989. "name": "ftstatus",
  4990. "in": "query"
  4991. }
  4992. ],
  4993. "responses": {
  4994. "200": {
  4995. "description": "OK",
  4996. "schema": {
  4997. "type": "array",
  4998. "items": {
  4999. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5000. }
  5001. }
  5002. },
  5003. "500": {
  5004. "description": "Internal Server Error",
  5005. "schema": {
  5006. "$ref": "#/definitions/app.Response"
  5007. }
  5008. }
  5009. }
  5010. }
  5011. },
  5012. "/Ermcp3/QueryRootUserAccount": {
  5013. "get": {
  5014. "security": [
  5015. {
  5016. "ApiKeyAuth": []
  5017. }
  5018. ],
  5019. "produces": [
  5020. "application/json"
  5021. ],
  5022. "tags": [
  5023. "企业风险管理v3(app)"
  5024. ],
  5025. "summary": "查询顶级用户信息",
  5026. "parameters": [
  5027. {
  5028. "type": "integer",
  5029. "description": "用户ID",
  5030. "name": "userid",
  5031. "in": "query",
  5032. "required": true
  5033. }
  5034. ],
  5035. "responses": {
  5036. "200": {
  5037. "description": "OK",
  5038. "schema": {
  5039. "type": "array",
  5040. "items": {
  5041. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5042. }
  5043. }
  5044. },
  5045. "500": {
  5046. "description": "Internal Server Error",
  5047. "schema": {
  5048. "$ref": "#/definitions/app.Response"
  5049. }
  5050. }
  5051. }
  5052. }
  5053. },
  5054. "/Ermcp3/QuerySCMiddleGoods": {
  5055. "get": {
  5056. "security": [
  5057. {
  5058. "ApiKeyAuth": []
  5059. }
  5060. ],
  5061. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5062. "produces": [
  5063. "application/json"
  5064. ],
  5065. "tags": [
  5066. "企业风险管理v3(app)"
  5067. ],
  5068. "summary": "查询现货订单",
  5069. "parameters": [
  5070. {
  5071. "type": "integer",
  5072. "description": "用户ID(填登录用户的userid)",
  5073. "name": "userid",
  5074. "in": "query",
  5075. "required": true
  5076. },
  5077. {
  5078. "type": "integer",
  5079. "description": "买卖方向 0-买 1-卖",
  5080. "name": "buyorsell",
  5081. "in": "query",
  5082. "required": true
  5083. },
  5084. {
  5085. "type": "integer",
  5086. "description": "商品组id",
  5087. "name": "goodsgroupid",
  5088. "in": "query",
  5089. "required": true
  5090. },
  5091. {
  5092. "type": "integer",
  5093. "description": "业务类型 1:套保 2:套利",
  5094. "name": "biztype",
  5095. "in": "query"
  5096. },
  5097. {
  5098. "type": "string",
  5099. "description": "现货编号(模糊匹配)",
  5100. "name": "contractno",
  5101. "in": "query"
  5102. },
  5103. {
  5104. "type": "string",
  5105. "description": "对手方(模糊匹配)",
  5106. "name": "customername",
  5107. "in": "query"
  5108. },
  5109. {
  5110. "type": "string",
  5111. "description": "现货商品名称(模糊匹配)",
  5112. "name": "wrstandardname",
  5113. "in": "query"
  5114. }
  5115. ],
  5116. "responses": {
  5117. "200": {
  5118. "description": "OK",
  5119. "schema": {
  5120. "type": "array",
  5121. "items": {
  5122. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5123. }
  5124. }
  5125. },
  5126. "500": {
  5127. "description": "Internal Server Error",
  5128. "schema": {
  5129. "$ref": "#/definitions/app.Response"
  5130. }
  5131. }
  5132. }
  5133. }
  5134. },
  5135. "/Ermcp3/QuerySpotContract": {
  5136. "get": {
  5137. "security": [
  5138. {
  5139. "ApiKeyAuth": []
  5140. }
  5141. ],
  5142. "produces": [
  5143. "application/json"
  5144. ],
  5145. "tags": [
  5146. "企业风险管理v3(app)"
  5147. ],
  5148. "summary": "查询现货合同",
  5149. "parameters": [
  5150. {
  5151. "type": "integer",
  5152. "description": "用户id(当指定contractid, userid可不填)",
  5153. "name": "userid",
  5154. "in": "query",
  5155. "required": true
  5156. },
  5157. {
  5158. "type": "integer",
  5159. "description": "用户类型 2-机构 7-企业成员",
  5160. "name": "usertype",
  5161. "in": "query"
  5162. },
  5163. {
  5164. "type": "integer",
  5165. "description": "合同类型 1-采购, -1-销售",
  5166. "name": "contracttype",
  5167. "in": "query"
  5168. },
  5169. {
  5170. "type": "string",
  5171. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5172. "name": "querytype",
  5173. "in": "query"
  5174. },
  5175. {
  5176. "type": "string",
  5177. "description": "合同ID(SpotContractId)",
  5178. "name": "contractid",
  5179. "in": "query"
  5180. },
  5181. {
  5182. "type": "string",
  5183. "description": "合同编号(模糊匹配)",
  5184. "name": "contractno",
  5185. "in": "query"
  5186. },
  5187. {
  5188. "type": "string",
  5189. "description": "商品名称(模糊匹配)",
  5190. "name": "wrstandardname",
  5191. "in": "query"
  5192. },
  5193. {
  5194. "type": "string",
  5195. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5196. "name": "status",
  5197. "in": "query"
  5198. },
  5199. {
  5200. "type": "integer",
  5201. "description": "是否只查今日的合同 1-查今日合同",
  5202. "name": "istoday",
  5203. "in": "query"
  5204. }
  5205. ],
  5206. "responses": {
  5207. "200": {
  5208. "description": "OK",
  5209. "schema": {
  5210. "type": "array",
  5211. "items": {
  5212. "$ref": "#/definitions/models.Ermcp3Contract"
  5213. }
  5214. }
  5215. },
  5216. "500": {
  5217. "description": "Internal Server Error",
  5218. "schema": {
  5219. "$ref": "#/definitions/app.Response"
  5220. }
  5221. }
  5222. }
  5223. }
  5224. },
  5225. "/Ermcp3/QuerySpotContractBS": {
  5226. "get": {
  5227. "security": [
  5228. {
  5229. "ApiKeyAuth": []
  5230. }
  5231. ],
  5232. "produces": [
  5233. "application/json"
  5234. ],
  5235. "tags": [
  5236. "企业风险管理v3(app)"
  5237. ],
  5238. "summary": "查询合同(采购/销售)",
  5239. "parameters": [
  5240. {
  5241. "type": "integer",
  5242. "description": "用户id",
  5243. "name": "userid",
  5244. "in": "query",
  5245. "required": true
  5246. },
  5247. {
  5248. "type": "integer",
  5249. "description": "用户类型 2-机构 7-企业成员",
  5250. "name": "usertype",
  5251. "in": "query"
  5252. },
  5253. {
  5254. "type": "integer",
  5255. "description": "合同类型 1-采购, -1-销售",
  5256. "name": "contracttype",
  5257. "in": "query",
  5258. "required": true
  5259. },
  5260. {
  5261. "type": "integer",
  5262. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5263. "name": "querytype",
  5264. "in": "query"
  5265. },
  5266. {
  5267. "type": "string",
  5268. "description": "合同ID(SpotContractId)",
  5269. "name": "contractid",
  5270. "in": "query"
  5271. },
  5272. {
  5273. "type": "string",
  5274. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5275. "name": "status",
  5276. "in": "query"
  5277. },
  5278. {
  5279. "type": "integer",
  5280. "description": "是否只查今日的合同 1-查今日合同",
  5281. "name": "istoday",
  5282. "in": "query"
  5283. }
  5284. ],
  5285. "responses": {
  5286. "200": {
  5287. "description": "OK",
  5288. "schema": {
  5289. "type": "array",
  5290. "items": {
  5291. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5292. }
  5293. }
  5294. },
  5295. "500": {
  5296. "description": "Internal Server Error",
  5297. "schema": {
  5298. "$ref": "#/definitions/app.Response"
  5299. }
  5300. }
  5301. }
  5302. }
  5303. },
  5304. "/Ermcp3/QuerySpotGoodsPrice": {
  5305. "get": {
  5306. "security": [
  5307. {
  5308. "ApiKeyAuth": []
  5309. }
  5310. ],
  5311. "produces": [
  5312. "application/json"
  5313. ],
  5314. "tags": [
  5315. "企业风险管理v3(app)"
  5316. ],
  5317. "summary": "查询现货市价(现货市价)",
  5318. "parameters": [
  5319. {
  5320. "type": "integer",
  5321. "description": "用户ID",
  5322. "name": "userid",
  5323. "in": "query",
  5324. "required": true
  5325. }
  5326. ],
  5327. "responses": {
  5328. "200": {
  5329. "description": "OK",
  5330. "schema": {
  5331. "type": "array",
  5332. "items": {
  5333. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5334. }
  5335. }
  5336. },
  5337. "500": {
  5338. "description": "Internal Server Error",
  5339. "schema": {
  5340. "$ref": "#/definitions/app.Response"
  5341. }
  5342. }
  5343. }
  5344. }
  5345. },
  5346. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5347. "get": {
  5348. "security": [
  5349. {
  5350. "ApiKeyAuth": []
  5351. }
  5352. ],
  5353. "produces": [
  5354. "application/json"
  5355. ],
  5356. "tags": [
  5357. "企业风险管理v3(app)"
  5358. ],
  5359. "summary": "查询现货市价详情(现货市价/详情)",
  5360. "parameters": [
  5361. {
  5362. "type": "integer",
  5363. "description": "用户ID",
  5364. "name": "userid",
  5365. "in": "query",
  5366. "required": true
  5367. },
  5368. {
  5369. "type": "integer",
  5370. "description": "现货商品ID",
  5371. "name": "deliverygoodsid",
  5372. "in": "query",
  5373. "required": true
  5374. },
  5375. {
  5376. "type": "integer",
  5377. "description": "品牌ID",
  5378. "name": "brandid",
  5379. "in": "query"
  5380. },
  5381. {
  5382. "type": "integer",
  5383. "description": "品类ID",
  5384. "name": "wrstandardid",
  5385. "in": "query"
  5386. }
  5387. ],
  5388. "responses": {
  5389. "200": {
  5390. "description": "OK",
  5391. "schema": {
  5392. "type": "array",
  5393. "items": {
  5394. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5395. }
  5396. }
  5397. },
  5398. "500": {
  5399. "description": "Internal Server Error",
  5400. "schema": {
  5401. "$ref": "#/definitions/app.Response"
  5402. }
  5403. }
  5404. }
  5405. }
  5406. },
  5407. "/Ermcp3/QuerySubTaaccount": {
  5408. "get": {
  5409. "security": [
  5410. {
  5411. "ApiKeyAuth": []
  5412. }
  5413. ],
  5414. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5415. "produces": [
  5416. "application/json"
  5417. ],
  5418. "tags": [
  5419. "企业风险管理v3(app)"
  5420. ],
  5421. "summary": "查询期货子账户",
  5422. "parameters": [
  5423. {
  5424. "type": "integer",
  5425. "description": "母账号id",
  5426. "name": "parentaccountid",
  5427. "in": "query"
  5428. },
  5429. {
  5430. "type": "string",
  5431. "description": "母账号代码",
  5432. "name": "parentaccountcode",
  5433. "in": "query"
  5434. }
  5435. ],
  5436. "responses": {
  5437. "200": {
  5438. "description": "OK",
  5439. "schema": {
  5440. "type": "array",
  5441. "items": {
  5442. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5443. }
  5444. }
  5445. },
  5446. "500": {
  5447. "description": "Internal Server Error",
  5448. "schema": {
  5449. "$ref": "#/definitions/app.Response"
  5450. }
  5451. }
  5452. }
  5453. }
  5454. },
  5455. "/Erms2/QueryArbitrageStrategy": {
  5456. "get": {
  5457. "security": [
  5458. {
  5459. "ApiKeyAuth": []
  5460. }
  5461. ],
  5462. "produces": [
  5463. "application/json"
  5464. ],
  5465. "tags": [
  5466. "风险管理"
  5467. ],
  5468. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5469. "parameters": [
  5470. {
  5471. "type": "integer",
  5472. "description": "账户ID",
  5473. "name": "userid",
  5474. "in": "query",
  5475. "required": true
  5476. },
  5477. {
  5478. "type": "string",
  5479. "description": "商品组ID(品种ID)",
  5480. "name": "goodsgroupid",
  5481. "in": "query"
  5482. }
  5483. ],
  5484. "responses": {
  5485. "200": {
  5486. "description": "OK",
  5487. "schema": {
  5488. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5489. }
  5490. },
  5491. "500": {
  5492. "description": "Internal Server Error",
  5493. "schema": {
  5494. "$ref": "#/definitions/app.Response"
  5495. }
  5496. }
  5497. }
  5498. }
  5499. },
  5500. "/Erms2/QueryInnerTradeDetail": {
  5501. "get": {
  5502. "security": [
  5503. {
  5504. "ApiKeyAuth": []
  5505. }
  5506. ],
  5507. "produces": [
  5508. "application/json"
  5509. ],
  5510. "tags": [
  5511. "风险管理"
  5512. ],
  5513. "summary": "查询内部成交单信息",
  5514. "parameters": [
  5515. {
  5516. "type": "integer",
  5517. "description": "资金账户",
  5518. "name": "accountid",
  5519. "in": "query",
  5520. "required": true
  5521. }
  5522. ],
  5523. "responses": {
  5524. "200": {
  5525. "description": "OK",
  5526. "schema": {
  5527. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5528. }
  5529. },
  5530. "500": {
  5531. "description": "Internal Server Error",
  5532. "schema": {
  5533. "$ref": "#/definitions/app.Response"
  5534. }
  5535. }
  5536. }
  5537. }
  5538. },
  5539. "/Erms2/QuerySpotContract": {
  5540. "get": {
  5541. "security": [
  5542. {
  5543. "ApiKeyAuth": []
  5544. }
  5545. ],
  5546. "produces": [
  5547. "application/json"
  5548. ],
  5549. "tags": [
  5550. "风险管理"
  5551. ],
  5552. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5553. "parameters": [
  5554. {
  5555. "type": "integer",
  5556. "description": "策略申请ID",
  5557. "name": "asapplyid",
  5558. "in": "query",
  5559. "required": true
  5560. },
  5561. {
  5562. "type": "integer",
  5563. "description": "现货合同ID",
  5564. "name": "spotcontractid",
  5565. "in": "query"
  5566. }
  5567. ],
  5568. "responses": {
  5569. "200": {
  5570. "description": "OK",
  5571. "schema": {
  5572. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5573. }
  5574. },
  5575. "500": {
  5576. "description": "Internal Server Error",
  5577. "schema": {
  5578. "$ref": "#/definitions/app.Response"
  5579. }
  5580. }
  5581. }
  5582. }
  5583. },
  5584. "/Erms3/AddErms2ASApply": {
  5585. "post": {
  5586. "security": [
  5587. {
  5588. "ApiKeyAuth": []
  5589. }
  5590. ],
  5591. "produces": [
  5592. "application/json"
  5593. ],
  5594. "tags": [
  5595. "风险管理v3"
  5596. ],
  5597. "summary": "新增期现套利业务申请",
  5598. "parameters": [
  5599. {
  5600. "description": "申请参数",
  5601. "name": "jsonBody",
  5602. "in": "body",
  5603. "required": true,
  5604. "schema": {
  5605. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5606. }
  5607. }
  5608. ],
  5609. "responses": {
  5610. "200": {
  5611. "description": "OK",
  5612. "schema": {
  5613. "$ref": "#/definitions/app.Response"
  5614. }
  5615. },
  5616. "500": {
  5617. "description": "Internal Server Error",
  5618. "schema": {
  5619. "$ref": "#/definitions/app.Response"
  5620. }
  5621. }
  5622. }
  5623. }
  5624. },
  5625. "/Erms3/AddErms2SpotTradeApply": {
  5626. "post": {
  5627. "security": [
  5628. {
  5629. "ApiKeyAuth": []
  5630. }
  5631. ],
  5632. "produces": [
  5633. "application/json"
  5634. ],
  5635. "tags": [
  5636. "风险管理v3"
  5637. ],
  5638. "summary": "新增现货贸易业务申请",
  5639. "parameters": [
  5640. {
  5641. "description": "申请参数",
  5642. "name": "jsonBody",
  5643. "in": "body",
  5644. "required": true,
  5645. "schema": {
  5646. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5647. }
  5648. }
  5649. ],
  5650. "responses": {
  5651. "200": {
  5652. "description": "OK",
  5653. "schema": {
  5654. "$ref": "#/definitions/app.Response"
  5655. }
  5656. },
  5657. "500": {
  5658. "description": "Internal Server Error",
  5659. "schema": {
  5660. "$ref": "#/definitions/app.Response"
  5661. }
  5662. }
  5663. }
  5664. }
  5665. },
  5666. "/Erms3/AddSpotContractApply": {
  5667. "post": {
  5668. "security": [
  5669. {
  5670. "ApiKeyAuth": []
  5671. }
  5672. ],
  5673. "produces": [
  5674. "application/json"
  5675. ],
  5676. "tags": [
  5677. "风险管理v3"
  5678. ],
  5679. "summary": "新增现货合同申请",
  5680. "parameters": [
  5681. {
  5682. "description": "申请参数",
  5683. "name": "jsonBody",
  5684. "in": "body",
  5685. "required": true,
  5686. "schema": {
  5687. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5688. }
  5689. }
  5690. ],
  5691. "responses": {
  5692. "200": {
  5693. "description": "OK",
  5694. "schema": {
  5695. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5696. }
  5697. },
  5698. "500": {
  5699. "description": "Internal Server Error",
  5700. "schema": {
  5701. "$ref": "#/definitions/app.Response"
  5702. }
  5703. }
  5704. }
  5705. }
  5706. },
  5707. "/Erms3/AddUserInfoApply": {
  5708. "post": {
  5709. "security": [
  5710. {
  5711. "ApiKeyAuth": []
  5712. }
  5713. ],
  5714. "produces": [
  5715. "application/json"
  5716. ],
  5717. "tags": [
  5718. "风险管理v3"
  5719. ],
  5720. "summary": "新增客户申请",
  5721. "parameters": [
  5722. {
  5723. "description": "用户信息",
  5724. "name": "jsonBody",
  5725. "in": "body",
  5726. "required": true,
  5727. "schema": {
  5728. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5729. }
  5730. }
  5731. ],
  5732. "responses": {
  5733. "200": {
  5734. "description": "OK",
  5735. "schema": {
  5736. "$ref": "#/definitions/app.Response"
  5737. }
  5738. },
  5739. "500": {
  5740. "description": "Internal Server Error",
  5741. "schema": {
  5742. "$ref": "#/definitions/app.Response"
  5743. }
  5744. }
  5745. }
  5746. }
  5747. },
  5748. "/Erms3/DeleteUserInfoApply": {
  5749. "get": {
  5750. "security": [
  5751. {
  5752. "ApiKeyAuth": []
  5753. }
  5754. ],
  5755. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5756. "produces": [
  5757. "application/json"
  5758. ],
  5759. "tags": [
  5760. "风险管理v3"
  5761. ],
  5762. "summary": "删除客户申请",
  5763. "parameters": [
  5764. {
  5765. "type": "integer",
  5766. "description": "用户ID",
  5767. "name": "userID",
  5768. "in": "query",
  5769. "required": true
  5770. }
  5771. ],
  5772. "responses": {
  5773. "200": {
  5774. "description": "OK",
  5775. "schema": {
  5776. "$ref": "#/definitions/app.Response"
  5777. }
  5778. },
  5779. "500": {
  5780. "description": "Internal Server Error",
  5781. "schema": {
  5782. "$ref": "#/definitions/app.Response"
  5783. }
  5784. }
  5785. }
  5786. }
  5787. },
  5788. "/Erms3/ModifyUserInfoApply": {
  5789. "post": {
  5790. "security": [
  5791. {
  5792. "ApiKeyAuth": []
  5793. }
  5794. ],
  5795. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5796. "produces": [
  5797. "application/json"
  5798. ],
  5799. "tags": [
  5800. "风险管理v3"
  5801. ],
  5802. "summary": "修改客户申请",
  5803. "parameters": [
  5804. {
  5805. "description": "用户信息",
  5806. "name": "jsonBody",
  5807. "in": "body",
  5808. "required": true,
  5809. "schema": {
  5810. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5811. }
  5812. }
  5813. ],
  5814. "responses": {
  5815. "200": {
  5816. "description": "OK",
  5817. "schema": {
  5818. "$ref": "#/definitions/app.Response"
  5819. }
  5820. },
  5821. "500": {
  5822. "description": "Internal Server Error",
  5823. "schema": {
  5824. "$ref": "#/definitions/app.Response"
  5825. }
  5826. }
  5827. }
  5828. }
  5829. },
  5830. "/Erms3/QueryBusinessInfo": {
  5831. "get": {
  5832. "security": [
  5833. {
  5834. "ApiKeyAuth": []
  5835. }
  5836. ],
  5837. "produces": [
  5838. "application/json"
  5839. ],
  5840. "tags": [
  5841. "风险管理v3"
  5842. ],
  5843. "summary": "查询业务表单数据",
  5844. "parameters": [
  5845. {
  5846. "type": "string",
  5847. "description": "资金账号ID列表,用逗号分隔",
  5848. "name": "accountids",
  5849. "in": "query",
  5850. "required": true
  5851. },
  5852. {
  5853. "type": "integer",
  5854. "description": "状态,0为未结束 1为已结束",
  5855. "name": "status",
  5856. "in": "query",
  5857. "required": true
  5858. }
  5859. ],
  5860. "responses": {
  5861. "200": {
  5862. "description": "OK",
  5863. "schema": {
  5864. "type": "array",
  5865. "items": {
  5866. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5867. }
  5868. }
  5869. },
  5870. "500": {
  5871. "description": "Internal Server Error",
  5872. "schema": {
  5873. "$ref": "#/definitions/app.Response"
  5874. }
  5875. }
  5876. }
  5877. }
  5878. },
  5879. "/Erms3/QueryPendingAuditContract": {
  5880. "get": {
  5881. "security": [
  5882. {
  5883. "ApiKeyAuth": []
  5884. }
  5885. ],
  5886. "produces": [
  5887. "application/json"
  5888. ],
  5889. "tags": [
  5890. "风险管理v3"
  5891. ],
  5892. "summary": "查询待审核合同",
  5893. "parameters": [
  5894. {
  5895. "type": "string",
  5896. "description": "资金账号ID列表,逗号隔开",
  5897. "name": "accountids",
  5898. "in": "query",
  5899. "required": true
  5900. },
  5901. {
  5902. "type": "integer",
  5903. "description": "合同类型 1-采购 -1-销售",
  5904. "name": "contracttype",
  5905. "in": "query",
  5906. "required": true
  5907. },
  5908. {
  5909. "type": "integer",
  5910. "description": "合同模式 1-普通 2-回购",
  5911. "name": "contractmode",
  5912. "in": "query",
  5913. "required": true
  5914. }
  5915. ],
  5916. "responses": {
  5917. "200": {
  5918. "description": "OK",
  5919. "schema": {
  5920. "type": "array",
  5921. "items": {
  5922. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5923. }
  5924. }
  5925. },
  5926. "500": {
  5927. "description": "Internal Server Error",
  5928. "schema": {
  5929. "$ref": "#/definitions/app.Response"
  5930. }
  5931. }
  5932. }
  5933. }
  5934. },
  5935. "/Erms3/QueryPendingBusiness": {
  5936. "get": {
  5937. "security": [
  5938. {
  5939. "ApiKeyAuth": []
  5940. }
  5941. ],
  5942. "produces": [
  5943. "application/json"
  5944. ],
  5945. "tags": [
  5946. "风险管理v3"
  5947. ],
  5948. "summary": "查询待审核基差贸易业务",
  5949. "parameters": [
  5950. {
  5951. "type": "string",
  5952. "description": "资金账号ID列表,逗号隔开",
  5953. "name": "accountids",
  5954. "in": "query",
  5955. "required": true
  5956. }
  5957. ],
  5958. "responses": {
  5959. "200": {
  5960. "description": "OK",
  5961. "schema": {
  5962. "type": "array",
  5963. "items": {
  5964. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5965. }
  5966. }
  5967. },
  5968. "500": {
  5969. "description": "Internal Server Error",
  5970. "schema": {
  5971. "$ref": "#/definitions/app.Response"
  5972. }
  5973. }
  5974. }
  5975. }
  5976. },
  5977. "/Erms3/QuerySpotContractAppleForm": {
  5978. "get": {
  5979. "security": [
  5980. {
  5981. "ApiKeyAuth": []
  5982. }
  5983. ],
  5984. "produces": [
  5985. "application/json"
  5986. ],
  5987. "tags": [
  5988. "风险管理v3"
  5989. ],
  5990. "summary": "查询合同申请表单数据",
  5991. "parameters": [
  5992. {
  5993. "type": "integer",
  5994. "description": "登录账号",
  5995. "name": "loginID",
  5996. "in": "query",
  5997. "required": true
  5998. }
  5999. ],
  6000. "responses": {
  6001. "200": {
  6002. "description": "OK",
  6003. "schema": {
  6004. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  6005. }
  6006. },
  6007. "500": {
  6008. "description": "Internal Server Error",
  6009. "schema": {
  6010. "$ref": "#/definitions/app.Response"
  6011. }
  6012. }
  6013. }
  6014. }
  6015. },
  6016. "/Erms3/QuerySpotContractDetail": {
  6017. "get": {
  6018. "security": [
  6019. {
  6020. "ApiKeyAuth": []
  6021. }
  6022. ],
  6023. "produces": [
  6024. "application/json"
  6025. ],
  6026. "tags": [
  6027. "风险管理v3"
  6028. ],
  6029. "summary": "查询合同详细信息",
  6030. "parameters": [
  6031. {
  6032. "type": "string",
  6033. "description": "资金账号ID列表,用逗号分隔",
  6034. "name": "accountids",
  6035. "in": "query",
  6036. "required": true
  6037. },
  6038. {
  6039. "type": "integer",
  6040. "description": "合同类型,1为采购合同 -1为销售合同",
  6041. "name": "contracttype",
  6042. "in": "query",
  6043. "required": true
  6044. },
  6045. {
  6046. "type": "integer",
  6047. "description": "合同模式,1为普通合同 2为回购销售合同",
  6048. "name": "contractmode",
  6049. "in": "query",
  6050. "required": true
  6051. },
  6052. {
  6053. "type": "integer",
  6054. "description": "状态,0为履约中 1为已完成",
  6055. "name": "status",
  6056. "in": "query",
  6057. "required": true
  6058. }
  6059. ],
  6060. "responses": {
  6061. "200": {
  6062. "description": "OK",
  6063. "schema": {
  6064. "type": "array",
  6065. "items": {
  6066. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6067. }
  6068. }
  6069. },
  6070. "500": {
  6071. "description": "Internal Server Error",
  6072. "schema": {
  6073. "$ref": "#/definitions/app.Response"
  6074. }
  6075. }
  6076. }
  6077. }
  6078. },
  6079. "/Erms3/QueryUserInfoApplies": {
  6080. "get": {
  6081. "security": [
  6082. {
  6083. "ApiKeyAuth": []
  6084. }
  6085. ],
  6086. "produces": [
  6087. "application/json"
  6088. ],
  6089. "tags": [
  6090. "风险管理v3"
  6091. ],
  6092. "summary": "客户申请信息查询",
  6093. "parameters": [
  6094. {
  6095. "type": "integer",
  6096. "description": "页码",
  6097. "name": "page",
  6098. "in": "query"
  6099. },
  6100. {
  6101. "type": "integer",
  6102. "description": "每页条数",
  6103. "name": "pagesize",
  6104. "in": "query"
  6105. },
  6106. {
  6107. "type": "string",
  6108. "description": "客户名称,支持模糊查询",
  6109. "name": "userName",
  6110. "in": "query"
  6111. }
  6112. ],
  6113. "responses": {
  6114. "200": {
  6115. "description": "OK",
  6116. "schema": {
  6117. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6118. }
  6119. },
  6120. "500": {
  6121. "description": "Internal Server Error",
  6122. "schema": {
  6123. "$ref": "#/definitions/app.Response"
  6124. }
  6125. }
  6126. }
  6127. }
  6128. },
  6129. "/Erms3/QueryUserInfos": {
  6130. "get": {
  6131. "security": [
  6132. {
  6133. "ApiKeyAuth": []
  6134. }
  6135. ],
  6136. "produces": [
  6137. "application/json"
  6138. ],
  6139. "tags": [
  6140. "风险管理v3"
  6141. ],
  6142. "summary": "客户信息查询",
  6143. "parameters": [
  6144. {
  6145. "type": "integer",
  6146. "description": "页码",
  6147. "name": "page",
  6148. "in": "query"
  6149. },
  6150. {
  6151. "type": "integer",
  6152. "description": "每页条数",
  6153. "name": "pagesize",
  6154. "in": "query"
  6155. },
  6156. {
  6157. "type": "string",
  6158. "description": "客户名称,支持模糊查询",
  6159. "name": "userName",
  6160. "in": "query"
  6161. }
  6162. ],
  6163. "responses": {
  6164. "200": {
  6165. "description": "OK",
  6166. "schema": {
  6167. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6168. }
  6169. },
  6170. "500": {
  6171. "description": "Internal Server Error",
  6172. "schema": {
  6173. "$ref": "#/definitions/app.Response"
  6174. }
  6175. }
  6176. }
  6177. }
  6178. },
  6179. "/HSBY/GetHsbyMyCount": {
  6180. "get": {
  6181. "security": [
  6182. {
  6183. "ApiKeyAuth": []
  6184. }
  6185. ],
  6186. "description": "说明: 不包括已完成的数量。",
  6187. "produces": [
  6188. "application/json"
  6189. ],
  6190. "tags": [
  6191. "定制【海商报业】"
  6192. ],
  6193. "summary": "获取我的订单与包裹数量",
  6194. "parameters": [
  6195. {
  6196. "type": "string",
  6197. "description": "资金账户列表,格式:1,2,3",
  6198. "name": "accountIDs",
  6199. "in": "query",
  6200. "required": true
  6201. }
  6202. ],
  6203. "responses": {
  6204. "200": {
  6205. "description": "OK",
  6206. "schema": {
  6207. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6208. }
  6209. },
  6210. "500": {
  6211. "description": "Internal Server Error",
  6212. "schema": {
  6213. "$ref": "#/definitions/app.Response"
  6214. }
  6215. }
  6216. }
  6217. }
  6218. },
  6219. "/HSBY/QueryClientFixedADConfigs": {
  6220. "get": {
  6221. "security": [
  6222. {
  6223. "ApiKeyAuth": []
  6224. }
  6225. ],
  6226. "produces": [
  6227. "application/json"
  6228. ],
  6229. "tags": [
  6230. "定制【海商报业】"
  6231. ],
  6232. "summary": "获取终端固定广告配置",
  6233. "responses": {
  6234. "200": {
  6235. "description": "OK",
  6236. "schema": {
  6237. "$ref": "#/definitions/models.Clientfixedadconfig"
  6238. }
  6239. },
  6240. "500": {
  6241. "description": "Internal Server Error",
  6242. "schema": {
  6243. "$ref": "#/definitions/app.Response"
  6244. }
  6245. }
  6246. }
  6247. }
  6248. },
  6249. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6250. "get": {
  6251. "security": [
  6252. {
  6253. "ApiKeyAuth": []
  6254. }
  6255. ],
  6256. "produces": [
  6257. "application/json"
  6258. ],
  6259. "tags": [
  6260. "定制【海商报业】"
  6261. ],
  6262. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6263. "parameters": [
  6264. {
  6265. "type": "integer",
  6266. "description": "页码",
  6267. "name": "page",
  6268. "in": "query"
  6269. },
  6270. {
  6271. "type": "integer",
  6272. "description": "每页条数",
  6273. "name": "pagesize",
  6274. "in": "query"
  6275. },
  6276. {
  6277. "type": "string",
  6278. "description": "资金账户列表,格式:1,2,3",
  6279. "name": "accountIDs",
  6280. "in": "query",
  6281. "required": true
  6282. }
  6283. ],
  6284. "responses": {
  6285. "200": {
  6286. "description": "OK",
  6287. "schema": {
  6288. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6289. }
  6290. },
  6291. "500": {
  6292. "description": "Internal Server Error",
  6293. "schema": {
  6294. "$ref": "#/definitions/app.Response"
  6295. }
  6296. }
  6297. }
  6298. }
  6299. },
  6300. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6301. "get": {
  6302. "security": [
  6303. {
  6304. "ApiKeyAuth": []
  6305. }
  6306. ],
  6307. "description": "说明:查询结果已按委托价格和委托时间排序",
  6308. "produces": [
  6309. "application/json"
  6310. ],
  6311. "tags": [
  6312. "定制【海商报业】"
  6313. ],
  6314. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6315. "parameters": [
  6316. {
  6317. "type": "integer",
  6318. "description": "商品ID",
  6319. "name": "goodsID",
  6320. "in": "query",
  6321. "required": true
  6322. },
  6323. {
  6324. "type": "string",
  6325. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6326. "name": "accountIDs",
  6327. "in": "query"
  6328. },
  6329. {
  6330. "type": "integer",
  6331. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6332. "name": "buyOrSell",
  6333. "in": "query"
  6334. },
  6335. {
  6336. "type": "number",
  6337. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6338. "name": "price",
  6339. "in": "query"
  6340. },
  6341. {
  6342. "type": "integer",
  6343. "description": "档位,不传则默认为3档",
  6344. "name": "speed",
  6345. "in": "query"
  6346. }
  6347. ],
  6348. "responses": {
  6349. "200": {
  6350. "description": "OK",
  6351. "schema": {
  6352. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6353. }
  6354. },
  6355. "500": {
  6356. "description": "Internal Server Error",
  6357. "schema": {
  6358. "$ref": "#/definitions/app.Response"
  6359. }
  6360. }
  6361. }
  6362. }
  6363. },
  6364. "/HSBY/QueryHsbyListingGoodsDetail": {
  6365. "get": {
  6366. "security": [
  6367. {
  6368. "ApiKeyAuth": []
  6369. }
  6370. ],
  6371. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6372. "produces": [
  6373. "application/json"
  6374. ],
  6375. "tags": [
  6376. "定制【海商报业】"
  6377. ],
  6378. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6379. "parameters": [
  6380. {
  6381. "type": "integer",
  6382. "description": "商品ID",
  6383. "name": "goodsID",
  6384. "in": "query",
  6385. "required": true
  6386. },
  6387. {
  6388. "type": "integer",
  6389. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6390. "name": "accountID",
  6391. "in": "query"
  6392. }
  6393. ],
  6394. "responses": {
  6395. "200": {
  6396. "description": "OK",
  6397. "schema": {
  6398. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6399. }
  6400. },
  6401. "500": {
  6402. "description": "Internal Server Error",
  6403. "schema": {
  6404. "$ref": "#/definitions/app.Response"
  6405. }
  6406. }
  6407. }
  6408. }
  6409. },
  6410. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6411. "get": {
  6412. "security": [
  6413. {
  6414. "ApiKeyAuth": []
  6415. }
  6416. ],
  6417. "produces": [
  6418. "application/json"
  6419. ],
  6420. "tags": [
  6421. "定制【海商报业】"
  6422. ],
  6423. "summary": "查询三级市场(商城)商品信息详情",
  6424. "parameters": [
  6425. {
  6426. "type": "integer",
  6427. "description": "委托单号",
  6428. "name": "orderID",
  6429. "in": "query",
  6430. "required": true
  6431. },
  6432. {
  6433. "type": "integer",
  6434. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6435. "name": "accountID",
  6436. "in": "query"
  6437. }
  6438. ],
  6439. "responses": {
  6440. "200": {
  6441. "description": "OK",
  6442. "schema": {
  6443. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6444. }
  6445. },
  6446. "500": {
  6447. "description": "Internal Server Error",
  6448. "schema": {
  6449. "$ref": "#/definitions/app.Response"
  6450. }
  6451. }
  6452. }
  6453. }
  6454. },
  6455. "/HSBY/QueryHsbyMarketGoodses": {
  6456. "get": {
  6457. "security": [
  6458. {
  6459. "ApiKeyAuth": []
  6460. }
  6461. ],
  6462. "produces": [
  6463. "application/json"
  6464. ],
  6465. "tags": [
  6466. "定制【海商报业】"
  6467. ],
  6468. "summary": "查询特卖商品列表(三级商城)",
  6469. "parameters": [
  6470. {
  6471. "type": "integer",
  6472. "description": "页码",
  6473. "name": "page",
  6474. "in": "query"
  6475. },
  6476. {
  6477. "type": "integer",
  6478. "description": "每页条数",
  6479. "name": "pagesize",
  6480. "in": "query"
  6481. },
  6482. {
  6483. "type": "string",
  6484. "description": "市场ID列表,格式:1,2,3",
  6485. "name": "marketIDs",
  6486. "in": "query",
  6487. "required": true
  6488. },
  6489. {
  6490. "type": "integer",
  6491. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6492. "name": "accountID",
  6493. "in": "query",
  6494. "required": true
  6495. },
  6496. {
  6497. "type": "integer",
  6498. "description": "类别ID",
  6499. "name": "categoryID",
  6500. "in": "query"
  6501. },
  6502. {
  6503. "type": "string",
  6504. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6505. "name": "goodsIDs",
  6506. "in": "query"
  6507. },
  6508. {
  6509. "type": "integer",
  6510. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6511. "name": "couponTypeID",
  6512. "in": "query"
  6513. }
  6514. ],
  6515. "responses": {
  6516. "200": {
  6517. "description": "OK",
  6518. "schema": {
  6519. "$ref": "#/definitions/models.HsbyMarketGoods"
  6520. }
  6521. },
  6522. "500": {
  6523. "description": "Internal Server Error",
  6524. "schema": {
  6525. "$ref": "#/definitions/app.Response"
  6526. }
  6527. }
  6528. }
  6529. }
  6530. },
  6531. "/HSBY/QueryHsbyMarkets": {
  6532. "get": {
  6533. "security": [
  6534. {
  6535. "ApiKeyAuth": []
  6536. }
  6537. ],
  6538. "produces": [
  6539. "application/json"
  6540. ],
  6541. "tags": [
  6542. "定制【海商报业】"
  6543. ],
  6544. "summary": "查询海商报业相关市场信息",
  6545. "responses": {
  6546. "200": {
  6547. "description": "OK",
  6548. "schema": {
  6549. "$ref": "#/definitions/models.HsbyMarketInfo"
  6550. }
  6551. },
  6552. "500": {
  6553. "description": "Internal Server Error",
  6554. "schema": {
  6555. "$ref": "#/definitions/app.Response"
  6556. }
  6557. }
  6558. }
  6559. }
  6560. },
  6561. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6562. "get": {
  6563. "security": [
  6564. {
  6565. "ApiKeyAuth": []
  6566. }
  6567. ],
  6568. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6569. "produces": [
  6570. "application/json"
  6571. ],
  6572. "tags": [
  6573. "定制【海商报业】"
  6574. ],
  6575. "summary": "查询“我的订单”信息",
  6576. "parameters": [
  6577. {
  6578. "type": "string",
  6579. "description": "资金账户列表,格式:1,2,3",
  6580. "name": "accountIDs",
  6581. "in": "query",
  6582. "required": true
  6583. }
  6584. ],
  6585. "responses": {
  6586. "200": {
  6587. "description": "OK",
  6588. "schema": {
  6589. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6590. }
  6591. },
  6592. "500": {
  6593. "description": "Internal Server Error",
  6594. "schema": {
  6595. "$ref": "#/definitions/app.Response"
  6596. }
  6597. }
  6598. }
  6599. }
  6600. },
  6601. "/HSBY/QueryHsbyMyGoods": {
  6602. "get": {
  6603. "security": [
  6604. {
  6605. "ApiKeyAuth": []
  6606. }
  6607. ],
  6608. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6609. "produces": [
  6610. "application/json"
  6611. ],
  6612. "tags": [
  6613. "定制【海商报业】"
  6614. ],
  6615. "summary": "查询“我的商品”信息",
  6616. "parameters": [
  6617. {
  6618. "type": "string",
  6619. "description": "资金账户列表,格式:1,2,3",
  6620. "name": "accountIDs",
  6621. "in": "query",
  6622. "required": true
  6623. }
  6624. ],
  6625. "responses": {
  6626. "200": {
  6627. "description": "OK",
  6628. "schema": {
  6629. "$ref": "#/definitions/models.HsbyMyGoods"
  6630. }
  6631. },
  6632. "500": {
  6633. "description": "Internal Server Error",
  6634. "schema": {
  6635. "$ref": "#/definitions/app.Response"
  6636. }
  6637. }
  6638. }
  6639. }
  6640. },
  6641. "/HSBY/QueryHsbyMyPackages": {
  6642. "get": {
  6643. "security": [
  6644. {
  6645. "ApiKeyAuth": []
  6646. }
  6647. ],
  6648. "produces": [
  6649. "application/json"
  6650. ],
  6651. "tags": [
  6652. "定制【海商报业】"
  6653. ],
  6654. "summary": "查询我的包裹信息",
  6655. "parameters": [
  6656. {
  6657. "type": "string",
  6658. "description": "资金账户列表,格式:1,2,3",
  6659. "name": "accountIDs",
  6660. "in": "query",
  6661. "required": true
  6662. },
  6663. {
  6664. "type": "integer",
  6665. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6666. "name": "takeOrderStatus",
  6667. "in": "query"
  6668. }
  6669. ],
  6670. "responses": {
  6671. "200": {
  6672. "description": "OK",
  6673. "schema": {
  6674. "$ref": "#/definitions/models.HsbyMyPackage"
  6675. }
  6676. },
  6677. "500": {
  6678. "description": "Internal Server Error",
  6679. "schema": {
  6680. "$ref": "#/definitions/app.Response"
  6681. }
  6682. }
  6683. }
  6684. }
  6685. },
  6686. "/HSBY/QueryHsbyPreGoodsDetail": {
  6687. "get": {
  6688. "security": [
  6689. {
  6690. "ApiKeyAuth": []
  6691. }
  6692. ],
  6693. "produces": [
  6694. "application/json"
  6695. ],
  6696. "tags": [
  6697. "定制【海商报业】"
  6698. ],
  6699. "summary": "查询一级市场(预售)商品信息详情",
  6700. "parameters": [
  6701. {
  6702. "type": "integer",
  6703. "description": "商品ID",
  6704. "name": "goodsID",
  6705. "in": "query",
  6706. "required": true
  6707. },
  6708. {
  6709. "type": "integer",
  6710. "description": "资金账户,主要用于获取预售商品购买上限",
  6711. "name": "accountID",
  6712. "in": "query"
  6713. }
  6714. ],
  6715. "responses": {
  6716. "200": {
  6717. "description": "OK",
  6718. "schema": {
  6719. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6720. }
  6721. },
  6722. "500": {
  6723. "description": "Internal Server Error",
  6724. "schema": {
  6725. "$ref": "#/definitions/app.Response"
  6726. }
  6727. }
  6728. }
  6729. }
  6730. },
  6731. "/HSBY/QueryHsbyPreGoodses": {
  6732. "get": {
  6733. "security": [
  6734. {
  6735. "ApiKeyAuth": []
  6736. }
  6737. ],
  6738. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6739. "produces": [
  6740. "application/json"
  6741. ],
  6742. "tags": [
  6743. "定制【海商报业】"
  6744. ],
  6745. "summary": "查询新品上市商品列表(一级市场预售)",
  6746. "parameters": [
  6747. {
  6748. "type": "integer",
  6749. "description": "页码",
  6750. "name": "page",
  6751. "in": "query"
  6752. },
  6753. {
  6754. "type": "integer",
  6755. "description": "每页条数",
  6756. "name": "pagesize",
  6757. "in": "query"
  6758. },
  6759. {
  6760. "type": "string",
  6761. "description": "市场ID列表,格式:1,2,3",
  6762. "name": "marketIDs",
  6763. "in": "query",
  6764. "required": true
  6765. },
  6766. {
  6767. "type": "integer",
  6768. "description": "目的地(省)ID",
  6769. "name": "descProvinceID",
  6770. "in": "query"
  6771. },
  6772. {
  6773. "type": "integer",
  6774. "description": "目的地(市)ID",
  6775. "name": "descCityID",
  6776. "in": "query"
  6777. }
  6778. ],
  6779. "responses": {
  6780. "200": {
  6781. "description": "OK",
  6782. "schema": {
  6783. "$ref": "#/definitions/models.HsbyPreGoods"
  6784. }
  6785. },
  6786. "500": {
  6787. "description": "Internal Server Error",
  6788. "schema": {
  6789. "$ref": "#/definitions/app.Response"
  6790. }
  6791. }
  6792. }
  6793. }
  6794. },
  6795. "/HSBY/QueryHsbySellMyDetails": {
  6796. "get": {
  6797. "security": [
  6798. {
  6799. "ApiKeyAuth": []
  6800. }
  6801. ],
  6802. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6803. "produces": [
  6804. "application/json"
  6805. ],
  6806. "tags": [
  6807. "定制【海商报业】"
  6808. ],
  6809. "summary": "查询\"我的闲置\"单据信息",
  6810. "parameters": [
  6811. {
  6812. "type": "integer",
  6813. "description": "页码",
  6814. "name": "page",
  6815. "in": "query"
  6816. },
  6817. {
  6818. "type": "integer",
  6819. "description": "每页条数",
  6820. "name": "pagesize",
  6821. "in": "query"
  6822. },
  6823. {
  6824. "type": "string",
  6825. "description": "资金账户列表,格式:1,2,3",
  6826. "name": "accountIDs",
  6827. "in": "query",
  6828. "required": true
  6829. },
  6830. {
  6831. "type": "integer",
  6832. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6833. "name": "orderType",
  6834. "in": "query"
  6835. }
  6836. ],
  6837. "responses": {
  6838. "200": {
  6839. "description": "OK",
  6840. "schema": {
  6841. "$ref": "#/definitions/models.HsbySellMyDetail"
  6842. }
  6843. },
  6844. "500": {
  6845. "description": "Internal Server Error",
  6846. "schema": {
  6847. "$ref": "#/definitions/app.Response"
  6848. }
  6849. }
  6850. }
  6851. }
  6852. },
  6853. "/HSBY/QueryHsbyTopGoodses": {
  6854. "get": {
  6855. "security": [
  6856. {
  6857. "ApiKeyAuth": []
  6858. }
  6859. ],
  6860. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6861. "produces": [
  6862. "application/json"
  6863. ],
  6864. "tags": [
  6865. "定制【海商报业】"
  6866. ],
  6867. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6868. "parameters": [
  6869. {
  6870. "type": "integer",
  6871. "description": "页码",
  6872. "name": "page",
  6873. "in": "query"
  6874. },
  6875. {
  6876. "type": "integer",
  6877. "description": "每页条数",
  6878. "name": "pagesize",
  6879. "in": "query"
  6880. },
  6881. {
  6882. "type": "string",
  6883. "description": "市场ID列表,格式:1,2,3",
  6884. "name": "marketIDs",
  6885. "in": "query",
  6886. "required": true
  6887. },
  6888. {
  6889. "type": "integer",
  6890. "description": "目的地(省)ID",
  6891. "name": "descProvinceID",
  6892. "in": "query"
  6893. },
  6894. {
  6895. "type": "integer",
  6896. "description": "目的地(市)ID",
  6897. "name": "descCityID",
  6898. "in": "query"
  6899. }
  6900. ],
  6901. "responses": {
  6902. "200": {
  6903. "description": "OK",
  6904. "schema": {
  6905. "$ref": "#/definitions/models.HsbyTopGoods"
  6906. }
  6907. },
  6908. "500": {
  6909. "description": "Internal Server Error",
  6910. "schema": {
  6911. "$ref": "#/definitions/app.Response"
  6912. }
  6913. }
  6914. }
  6915. }
  6916. },
  6917. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6918. "get": {
  6919. "security": [
  6920. {
  6921. "ApiKeyAuth": []
  6922. }
  6923. ],
  6924. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6925. "produces": [
  6926. "application/json"
  6927. ],
  6928. "tags": [
  6929. "定制【海商报业】"
  6930. ],
  6931. "summary": "查询游客三级市场(商城)商品信息详情",
  6932. "parameters": [
  6933. {
  6934. "type": "integer",
  6935. "description": "商品ID",
  6936. "name": "goodsID",
  6937. "in": "query",
  6938. "required": true
  6939. }
  6940. ],
  6941. "responses": {
  6942. "200": {
  6943. "description": "OK",
  6944. "schema": {
  6945. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6946. }
  6947. },
  6948. "500": {
  6949. "description": "Internal Server Error",
  6950. "schema": {
  6951. "$ref": "#/definitions/app.Response"
  6952. }
  6953. }
  6954. }
  6955. }
  6956. },
  6957. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6958. "get": {
  6959. "security": [
  6960. {
  6961. "ApiKeyAuth": []
  6962. }
  6963. ],
  6964. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6965. "produces": [
  6966. "application/json"
  6967. ],
  6968. "tags": [
  6969. "定制【海商报业】"
  6970. ],
  6971. "summary": "查询游客特卖商品列表(三级商城)",
  6972. "parameters": [
  6973. {
  6974. "type": "integer",
  6975. "description": "页码",
  6976. "name": "page",
  6977. "in": "query"
  6978. },
  6979. {
  6980. "type": "integer",
  6981. "description": "每页条数",
  6982. "name": "pagesize",
  6983. "in": "query"
  6984. },
  6985. {
  6986. "type": "string",
  6987. "description": "市场ID列表,格式:1,2,3",
  6988. "name": "marketIDs",
  6989. "in": "query",
  6990. "required": true
  6991. },
  6992. {
  6993. "type": "integer",
  6994. "description": "类别ID",
  6995. "name": "categoryID",
  6996. "in": "query"
  6997. },
  6998. {
  6999. "type": "string",
  7000. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7001. "name": "goodsIDs",
  7002. "in": "query"
  7003. }
  7004. ],
  7005. "responses": {
  7006. "200": {
  7007. "description": "OK",
  7008. "schema": {
  7009. "$ref": "#/definitions/models.HsbyMarketGoods"
  7010. }
  7011. },
  7012. "500": {
  7013. "description": "Internal Server Error",
  7014. "schema": {
  7015. "$ref": "#/definitions/app.Response"
  7016. }
  7017. }
  7018. }
  7019. }
  7020. },
  7021. "/HSBY/QueryMyCollectionOrders": {
  7022. "get": {
  7023. "security": [
  7024. {
  7025. "ApiKeyAuth": []
  7026. }
  7027. ],
  7028. "produces": [
  7029. "application/json"
  7030. ],
  7031. "tags": [
  7032. "定制【海商报业】"
  7033. ],
  7034. "summary": "我的闲置中收款信息查询",
  7035. "parameters": [
  7036. {
  7037. "type": "integer",
  7038. "description": "页码",
  7039. "name": "page",
  7040. "in": "query"
  7041. },
  7042. {
  7043. "type": "integer",
  7044. "description": "每页条数",
  7045. "name": "pagesize",
  7046. "in": "query"
  7047. },
  7048. {
  7049. "type": "string",
  7050. "description": "资金账户,格式:1,2,3",
  7051. "name": "accountIDs",
  7052. "in": "query",
  7053. "required": true
  7054. }
  7055. ],
  7056. "responses": {
  7057. "200": {
  7058. "description": "OK",
  7059. "schema": {
  7060. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7061. }
  7062. },
  7063. "500": {
  7064. "description": "Internal Server Error",
  7065. "schema": {
  7066. "$ref": "#/definitions/app.Response"
  7067. }
  7068. }
  7069. }
  7070. }
  7071. },
  7072. "/HSBY/QueryMyCouponHolds": {
  7073. "get": {
  7074. "security": [
  7075. {
  7076. "ApiKeyAuth": []
  7077. }
  7078. ],
  7079. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7080. "produces": [
  7081. "application/json"
  7082. ],
  7083. "tags": [
  7084. "定制【海商报业】"
  7085. ],
  7086. "summary": "我的优惠卷持仓查询",
  7087. "parameters": [
  7088. {
  7089. "type": "string",
  7090. "description": "资金账户列表,格式:1,2,3",
  7091. "name": "accountIDs",
  7092. "in": "query",
  7093. "required": true
  7094. },
  7095. {
  7096. "type": "string",
  7097. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7098. "name": "holdStatus",
  7099. "in": "query"
  7100. }
  7101. ],
  7102. "responses": {
  7103. "200": {
  7104. "description": "OK",
  7105. "schema": {
  7106. "$ref": "#/definitions/models.MyCouponHold"
  7107. }
  7108. },
  7109. "500": {
  7110. "description": "Internal Server Error",
  7111. "schema": {
  7112. "$ref": "#/definitions/app.Response"
  7113. }
  7114. }
  7115. }
  7116. }
  7117. },
  7118. "/HSBY/QueryMyCoupons": {
  7119. "get": {
  7120. "security": [
  7121. {
  7122. "ApiKeyAuth": []
  7123. }
  7124. ],
  7125. "produces": [
  7126. "application/json"
  7127. ],
  7128. "tags": [
  7129. "定制【海商报业】"
  7130. ],
  7131. "summary": "我的优惠卷查询",
  7132. "parameters": [
  7133. {
  7134. "type": "string",
  7135. "description": "资金账户列表,格式:1,2,3",
  7136. "name": "accountIDs",
  7137. "in": "query",
  7138. "required": true
  7139. },
  7140. {
  7141. "type": "integer",
  7142. "description": "商品ID, 一般与sellUserID配套传入",
  7143. "name": "goodsID",
  7144. "in": "query"
  7145. },
  7146. {
  7147. "type": "integer",
  7148. "description": "卖方UserID",
  7149. "name": "sellUserID",
  7150. "in": "query"
  7151. }
  7152. ],
  7153. "responses": {
  7154. "200": {
  7155. "description": "OK",
  7156. "schema": {
  7157. "$ref": "#/definitions/models.MyCoupon"
  7158. }
  7159. },
  7160. "500": {
  7161. "description": "Internal Server Error",
  7162. "schema": {
  7163. "$ref": "#/definitions/app.Response"
  7164. }
  7165. }
  7166. }
  7167. }
  7168. },
  7169. "/HSBY/QueryMyPayOrders": {
  7170. "get": {
  7171. "security": [
  7172. {
  7173. "ApiKeyAuth": []
  7174. }
  7175. ],
  7176. "produces": [
  7177. "application/json"
  7178. ],
  7179. "tags": [
  7180. "定制【海商报业】"
  7181. ],
  7182. "summary": "获取我的订单中待付款信息",
  7183. "parameters": [
  7184. {
  7185. "type": "integer",
  7186. "description": "页码",
  7187. "name": "page",
  7188. "in": "query"
  7189. },
  7190. {
  7191. "type": "integer",
  7192. "description": "每页条数",
  7193. "name": "pagesize",
  7194. "in": "query"
  7195. },
  7196. {
  7197. "type": "string",
  7198. "description": "资金账户列表,格式:1,2,3",
  7199. "name": "accountIDs",
  7200. "in": "query",
  7201. "required": true
  7202. },
  7203. {
  7204. "type": "integer",
  7205. "description": "买方委托单号",
  7206. "name": "buyOrderID",
  7207. "in": "query"
  7208. },
  7209. {
  7210. "type": "integer",
  7211. "description": "卖方委托单号",
  7212. "name": "sellOrderID",
  7213. "in": "query"
  7214. }
  7215. ],
  7216. "responses": {
  7217. "200": {
  7218. "description": "OK",
  7219. "schema": {
  7220. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7221. }
  7222. },
  7223. "500": {
  7224. "description": "Internal Server Error",
  7225. "schema": {
  7226. "$ref": "#/definitions/app.Response"
  7227. }
  7228. }
  7229. }
  7230. }
  7231. },
  7232. "/HSBY/QueryMyUsedCoupon": {
  7233. "get": {
  7234. "security": [
  7235. {
  7236. "ApiKeyAuth": []
  7237. }
  7238. ],
  7239. "produces": [
  7240. "application/json"
  7241. ],
  7242. "tags": [
  7243. "定制【海商报业】"
  7244. ],
  7245. "summary": "已使用优惠卷查询",
  7246. "parameters": [
  7247. {
  7248. "type": "string",
  7249. "description": "资金账户列表,格式:1,2,3",
  7250. "name": "accountIDs",
  7251. "in": "query",
  7252. "required": true
  7253. }
  7254. ],
  7255. "responses": {
  7256. "200": {
  7257. "description": "OK",
  7258. "schema": {
  7259. "$ref": "#/definitions/models.MyUsedCoupon"
  7260. }
  7261. },
  7262. "500": {
  7263. "description": "Internal Server Error",
  7264. "schema": {
  7265. "$ref": "#/definitions/app.Response"
  7266. }
  7267. }
  7268. }
  7269. }
  7270. },
  7271. "/HSBY/QueryProvincesAndCities": {
  7272. "get": {
  7273. "security": [
  7274. {
  7275. "ApiKeyAuth": []
  7276. }
  7277. ],
  7278. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7279. "produces": [
  7280. "application/json"
  7281. ],
  7282. "tags": [
  7283. "定制【海商报业】"
  7284. ],
  7285. "summary": "查询省市信息(不包括区)",
  7286. "parameters": [
  7287. {
  7288. "type": "integer",
  7289. "description": "省ID",
  7290. "name": "provinceID",
  7291. "in": "query"
  7292. }
  7293. ],
  7294. "responses": {
  7295. "200": {
  7296. "description": "OK",
  7297. "schema": {
  7298. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7299. }
  7300. },
  7301. "500": {
  7302. "description": "Internal Server Error",
  7303. "schema": {
  7304. "$ref": "#/definitions/app.Response"
  7305. }
  7306. }
  7307. }
  7308. }
  7309. },
  7310. "/HSBY/SetHsbyMyPackagesStatus": {
  7311. "post": {
  7312. "security": [
  7313. {
  7314. "ApiKeyAuth": []
  7315. }
  7316. ],
  7317. "produces": [
  7318. "application/json"
  7319. ],
  7320. "tags": [
  7321. "定制【海商报业】"
  7322. ],
  7323. "summary": "设置我的包裹已收货状态",
  7324. "parameters": [
  7325. {
  7326. "type": "string",
  7327. "description": "提货单号",
  7328. "name": "takeOrderID",
  7329. "in": "query",
  7330. "required": true
  7331. },
  7332. {
  7333. "type": "integer",
  7334. "description": "资金账号",
  7335. "name": "accountID",
  7336. "in": "query",
  7337. "required": true
  7338. }
  7339. ],
  7340. "responses": {
  7341. "200": {
  7342. "description": "OK",
  7343. "schema": {
  7344. "$ref": "#/definitions/app.Response"
  7345. }
  7346. },
  7347. "500": {
  7348. "description": "Internal Server Error",
  7349. "schema": {
  7350. "$ref": "#/definitions/app.Response"
  7351. }
  7352. }
  7353. }
  7354. }
  7355. },
  7356. "/Market/GetAllExExchanges": {
  7357. "get": {
  7358. "security": [
  7359. {
  7360. "ApiKeyAuth": []
  7361. }
  7362. ],
  7363. "produces": [
  7364. "application/json"
  7365. ],
  7366. "tags": [
  7367. "通用市场"
  7368. ],
  7369. "summary": "获取所有外部交易所信息",
  7370. "responses": {
  7371. "200": {
  7372. "description": "OK",
  7373. "schema": {
  7374. "$ref": "#/definitions/models.Goods"
  7375. }
  7376. },
  7377. "500": {
  7378. "description": "Internal Server Error",
  7379. "schema": {
  7380. "$ref": "#/definitions/app.Response"
  7381. }
  7382. }
  7383. }
  7384. }
  7385. },
  7386. "/Market/QueryGoodsesByLoginID": {
  7387. "get": {
  7388. "security": [
  7389. {
  7390. "ApiKeyAuth": []
  7391. }
  7392. ],
  7393. "produces": [
  7394. "application/json"
  7395. ],
  7396. "tags": [
  7397. "通用市场"
  7398. ],
  7399. "summary": "获取登录账号有权限的商品信息",
  7400. "parameters": [
  7401. {
  7402. "type": "integer",
  7403. "description": "登录账号",
  7404. "name": "loginID",
  7405. "in": "query",
  7406. "required": true
  7407. },
  7408. {
  7409. "type": "string",
  7410. "description": "市场ID列表,格式:1,2,3",
  7411. "name": "marketIDs",
  7412. "in": "query"
  7413. }
  7414. ],
  7415. "responses": {
  7416. "200": {
  7417. "description": "OK",
  7418. "schema": {
  7419. "$ref": "#/definitions/models.Goods"
  7420. }
  7421. },
  7422. "500": {
  7423. "description": "Internal Server Error",
  7424. "schema": {
  7425. "$ref": "#/definitions/app.Response"
  7426. }
  7427. }
  7428. }
  7429. }
  7430. },
  7431. "/Market/QueryMarketRun": {
  7432. "get": {
  7433. "security": [
  7434. {
  7435. "ApiKeyAuth": []
  7436. }
  7437. ],
  7438. "produces": [
  7439. "application/json"
  7440. ],
  7441. "tags": [
  7442. "通用市场"
  7443. ],
  7444. "summary": "查询市场运行信息",
  7445. "parameters": [
  7446. {
  7447. "type": "integer",
  7448. "description": "市场ID,不传返回所有",
  7449. "name": "marketID",
  7450. "in": "query"
  7451. }
  7452. ],
  7453. "responses": {
  7454. "200": {
  7455. "description": "OK",
  7456. "schema": {
  7457. "$ref": "#/definitions/models.Marketrun"
  7458. }
  7459. },
  7460. "500": {
  7461. "description": "Internal Server Error",
  7462. "schema": {
  7463. "$ref": "#/definitions/app.Response"
  7464. }
  7465. }
  7466. }
  7467. }
  7468. },
  7469. "/Market/QueryMarketsByLoginID": {
  7470. "get": {
  7471. "security": [
  7472. {
  7473. "ApiKeyAuth": []
  7474. }
  7475. ],
  7476. "produces": [
  7477. "application/json"
  7478. ],
  7479. "tags": [
  7480. "通用市场"
  7481. ],
  7482. "summary": "获取登录账号有权限的市场信息",
  7483. "parameters": [
  7484. {
  7485. "type": "integer",
  7486. "description": "登录账号",
  7487. "name": "loginID",
  7488. "in": "query",
  7489. "required": true
  7490. }
  7491. ],
  7492. "responses": {
  7493. "200": {
  7494. "description": "OK",
  7495. "schema": {
  7496. "$ref": "#/definitions/models.Market"
  7497. }
  7498. },
  7499. "500": {
  7500. "description": "Internal Server Error",
  7501. "schema": {
  7502. "$ref": "#/definitions/app.Response"
  7503. }
  7504. }
  7505. }
  7506. }
  7507. },
  7508. "/Order/QueryHisTradeDetail": {
  7509. "get": {
  7510. "security": [
  7511. {
  7512. "ApiKeyAuth": []
  7513. }
  7514. ],
  7515. "produces": [
  7516. "application/json"
  7517. ],
  7518. "tags": [
  7519. "通用单据"
  7520. ],
  7521. "summary": "历史成交单查询(合约市场)",
  7522. "parameters": [
  7523. {
  7524. "type": "string",
  7525. "description": "资金账户 - 格式:1,2,3",
  7526. "name": "accountID",
  7527. "in": "query",
  7528. "required": true
  7529. },
  7530. {
  7531. "type": "integer",
  7532. "description": "成交单号",
  7533. "name": "tradeID",
  7534. "in": "query"
  7535. },
  7536. {
  7537. "type": "integer",
  7538. "description": "委托单号",
  7539. "name": "orderID",
  7540. "in": "query"
  7541. },
  7542. {
  7543. "type": "integer",
  7544. "description": "商品ID",
  7545. "name": "goodsID",
  7546. "in": "query"
  7547. },
  7548. {
  7549. "type": "string",
  7550. "description": "交易模式 - 格式:1,2,3",
  7551. "name": "tradeMode",
  7552. "in": "query"
  7553. },
  7554. {
  7555. "type": "integer",
  7556. "description": "委托单据类型",
  7557. "name": "buildType",
  7558. "in": "query"
  7559. },
  7560. {
  7561. "type": "string",
  7562. "description": "成交类别 - 格式:1,2,3",
  7563. "name": "tradeType",
  7564. "in": "query"
  7565. },
  7566. {
  7567. "type": "string",
  7568. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7569. "name": "startDate",
  7570. "in": "query"
  7571. },
  7572. {
  7573. "type": "string",
  7574. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7575. "name": "endDate",
  7576. "in": "query"
  7577. }
  7578. ],
  7579. "responses": {
  7580. "200": {
  7581. "description": "OK",
  7582. "schema": {
  7583. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7584. }
  7585. },
  7586. "500": {
  7587. "description": "Internal Server Error",
  7588. "schema": {
  7589. "$ref": "#/definitions/app.Response"
  7590. }
  7591. }
  7592. }
  7593. }
  7594. },
  7595. "/Order/QueryHisTradeOrderDetail": {
  7596. "get": {
  7597. "security": [
  7598. {
  7599. "ApiKeyAuth": []
  7600. }
  7601. ],
  7602. "produces": [
  7603. "application/json"
  7604. ],
  7605. "tags": [
  7606. "通用单据"
  7607. ],
  7608. "summary": "历史委托单查询请求(合约市场)",
  7609. "parameters": [
  7610. {
  7611. "type": "string",
  7612. "description": "资金账户 - 格式:1,2,3",
  7613. "name": "accountID",
  7614. "in": "query",
  7615. "required": true
  7616. },
  7617. {
  7618. "type": "string",
  7619. "description": "交易模式 - 格式:1,2,3",
  7620. "name": "tradeMode",
  7621. "in": "query"
  7622. },
  7623. {
  7624. "type": "string",
  7625. "description": "委托状态 - 格式:1,2,3",
  7626. "name": "orderStatus",
  7627. "in": "query"
  7628. },
  7629. {
  7630. "type": "integer",
  7631. "description": "委托单号",
  7632. "name": "orderID",
  7633. "in": "query"
  7634. },
  7635. {
  7636. "type": "string",
  7637. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7638. "name": "startDate",
  7639. "in": "query"
  7640. },
  7641. {
  7642. "type": "string",
  7643. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7644. "name": "endDate",
  7645. "in": "query"
  7646. }
  7647. ],
  7648. "responses": {
  7649. "200": {
  7650. "description": "OK",
  7651. "schema": {
  7652. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7653. }
  7654. },
  7655. "500": {
  7656. "description": "Internal Server Error",
  7657. "schema": {
  7658. "$ref": "#/definitions/app.Response"
  7659. }
  7660. }
  7661. }
  7662. }
  7663. },
  7664. "/Order/QueryTradeDetail": {
  7665. "get": {
  7666. "security": [
  7667. {
  7668. "ApiKeyAuth": []
  7669. }
  7670. ],
  7671. "produces": [
  7672. "application/json"
  7673. ],
  7674. "tags": [
  7675. "通用单据"
  7676. ],
  7677. "summary": "成交单查询(合约市场)",
  7678. "parameters": [
  7679. {
  7680. "type": "string",
  7681. "description": "资金账户 - 格式:1,2,3",
  7682. "name": "accountID",
  7683. "in": "query",
  7684. "required": true
  7685. },
  7686. {
  7687. "type": "integer",
  7688. "description": "成交单号",
  7689. "name": "tradeID",
  7690. "in": "query"
  7691. },
  7692. {
  7693. "type": "integer",
  7694. "description": "委托单号",
  7695. "name": "orderID",
  7696. "in": "query"
  7697. },
  7698. {
  7699. "type": "string",
  7700. "description": "交易模式 - 格式:1,2,3",
  7701. "name": "tradeMode",
  7702. "in": "query"
  7703. },
  7704. {
  7705. "type": "integer",
  7706. "description": "委托单据类型",
  7707. "name": "buildType",
  7708. "in": "query"
  7709. },
  7710. {
  7711. "type": "string",
  7712. "description": "成交类别 - 格式:1,2,3",
  7713. "name": "tradeType",
  7714. "in": "query"
  7715. },
  7716. {
  7717. "type": "integer",
  7718. "description": "商品ID",
  7719. "name": "goodsID",
  7720. "in": "query"
  7721. }
  7722. ],
  7723. "responses": {
  7724. "200": {
  7725. "description": "OK",
  7726. "schema": {
  7727. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7728. }
  7729. },
  7730. "500": {
  7731. "description": "Internal Server Error",
  7732. "schema": {
  7733. "$ref": "#/definitions/app.Response"
  7734. }
  7735. }
  7736. }
  7737. }
  7738. },
  7739. "/Order/QueryTradeHolderDetail": {
  7740. "get": {
  7741. "security": [
  7742. {
  7743. "ApiKeyAuth": []
  7744. }
  7745. ],
  7746. "produces": [
  7747. "application/json"
  7748. ],
  7749. "tags": [
  7750. "通用单据"
  7751. ],
  7752. "summary": "查询持仓明细",
  7753. "parameters": [
  7754. {
  7755. "type": "integer",
  7756. "description": "用户id",
  7757. "name": "userid",
  7758. "in": "query"
  7759. },
  7760. {
  7761. "type": "string",
  7762. "description": "资金账号, 格式 1,2,3",
  7763. "name": "accids",
  7764. "in": "query"
  7765. },
  7766. {
  7767. "type": "string",
  7768. "description": "交易模式, 格式 1,2,3",
  7769. "name": "trademodes",
  7770. "in": "query"
  7771. },
  7772. {
  7773. "type": "string",
  7774. "description": "市场id, 格式 1,2,3",
  7775. "name": "marketids",
  7776. "in": "query"
  7777. },
  7778. {
  7779. "type": "integer",
  7780. "description": "商品id",
  7781. "name": "goodsid",
  7782. "in": "query"
  7783. },
  7784. {
  7785. "type": "integer",
  7786. "description": "买卖方向 0-买 1-卖",
  7787. "name": "buyorsell",
  7788. "in": "query"
  7789. }
  7790. ],
  7791. "responses": {
  7792. "200": {
  7793. "description": "OK",
  7794. "schema": {
  7795. "type": "array",
  7796. "items": {
  7797. "$ref": "#/definitions/models.TradeHolderDetail"
  7798. }
  7799. }
  7800. },
  7801. "500": {
  7802. "description": "Internal Server Error",
  7803. "schema": {
  7804. "$ref": "#/definitions/app.Response"
  7805. }
  7806. }
  7807. }
  7808. }
  7809. },
  7810. "/Order/QueryTradeOrderDetail": {
  7811. "get": {
  7812. "security": [
  7813. {
  7814. "ApiKeyAuth": []
  7815. }
  7816. ],
  7817. "produces": [
  7818. "application/json"
  7819. ],
  7820. "tags": [
  7821. "通用单据"
  7822. ],
  7823. "summary": "委托单查询请求(合约市场)",
  7824. "parameters": [
  7825. {
  7826. "type": "string",
  7827. "description": "资金账户 - 格式:1,2,3",
  7828. "name": "accountID",
  7829. "in": "query",
  7830. "required": true
  7831. },
  7832. {
  7833. "type": "string",
  7834. "description": "交易模式 - 格式:1,2,3",
  7835. "name": "tradeMode",
  7836. "in": "query"
  7837. },
  7838. {
  7839. "type": "string",
  7840. "description": "委托状态 - 格式:1,2,3",
  7841. "name": "orderStatus",
  7842. "in": "query"
  7843. },
  7844. {
  7845. "type": "integer",
  7846. "description": "委托单号",
  7847. "name": "orderID",
  7848. "in": "query"
  7849. }
  7850. ],
  7851. "responses": {
  7852. "200": {
  7853. "description": "OK",
  7854. "schema": {
  7855. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7856. }
  7857. },
  7858. "500": {
  7859. "description": "Internal Server Error",
  7860. "schema": {
  7861. "$ref": "#/definitions/app.Response"
  7862. }
  7863. }
  7864. }
  7865. }
  7866. },
  7867. "/Order/QueryTradePosition": {
  7868. "get": {
  7869. "security": [
  7870. {
  7871. "ApiKeyAuth": []
  7872. }
  7873. ],
  7874. "produces": [
  7875. "application/json"
  7876. ],
  7877. "tags": [
  7878. "通用单据"
  7879. ],
  7880. "summary": "持仓汇总查询(合约市场)",
  7881. "parameters": [
  7882. {
  7883. "type": "string",
  7884. "description": "资金账户 - 格式:1,2,3",
  7885. "name": "accountID",
  7886. "in": "query",
  7887. "required": true
  7888. },
  7889. {
  7890. "type": "string",
  7891. "description": "交易模式 - 格式:1,2,3",
  7892. "name": "tradeMode",
  7893. "in": "query"
  7894. }
  7895. ],
  7896. "responses": {
  7897. "200": {
  7898. "description": "OK",
  7899. "schema": {
  7900. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7901. }
  7902. },
  7903. "500": {
  7904. "description": "Internal Server Error",
  7905. "schema": {
  7906. "$ref": "#/definitions/app.Response"
  7907. }
  7908. }
  7909. }
  7910. }
  7911. },
  7912. "/Qhj/QueryAccountInOutApply": {
  7913. "get": {
  7914. "security": [
  7915. {
  7916. "ApiKeyAuth": []
  7917. }
  7918. ],
  7919. "produces": [
  7920. "application/json"
  7921. ],
  7922. "tags": [
  7923. "大连千海金"
  7924. ],
  7925. "summary": "查询充值提现",
  7926. "parameters": [
  7927. {
  7928. "type": "integer",
  7929. "description": "用户ID",
  7930. "name": "userid",
  7931. "in": "query",
  7932. "required": true
  7933. },
  7934. {
  7935. "type": "string",
  7936. "description": "申请起始日期(格式yyyymmdd)",
  7937. "name": "begindate",
  7938. "in": "query"
  7939. },
  7940. {
  7941. "type": "string",
  7942. "description": "申请截止日期(格式yyyymmdd)",
  7943. "name": "enddate",
  7944. "in": "query"
  7945. },
  7946. {
  7947. "type": "string",
  7948. "description": "模糊搜索名称",
  7949. "name": "likename",
  7950. "in": "query"
  7951. }
  7952. ],
  7953. "responses": {
  7954. "200": {
  7955. "description": "OK",
  7956. "schema": {
  7957. "type": "array",
  7958. "items": {
  7959. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7960. }
  7961. }
  7962. },
  7963. "500": {
  7964. "description": "Internal Server Error",
  7965. "schema": {
  7966. "$ref": "#/definitions/app.Response"
  7967. }
  7968. }
  7969. }
  7970. }
  7971. },
  7972. "/Qhj/QueryAreaFinanceConfig": {
  7973. "get": {
  7974. "security": [
  7975. {
  7976. "ApiKeyAuth": []
  7977. }
  7978. ],
  7979. "produces": [
  7980. "application/json"
  7981. ],
  7982. "tags": [
  7983. "大连千海金"
  7984. ],
  7985. "summary": "查询企业配置表",
  7986. "parameters": [
  7987. {
  7988. "type": "integer",
  7989. "description": "机构用户ID 其他做市关系,都设置为 1",
  7990. "name": "userid",
  7991. "in": "query"
  7992. }
  7993. ],
  7994. "responses": {
  7995. "200": {
  7996. "description": "OK",
  7997. "schema": {
  7998. "type": "array",
  7999. "items": {
  8000. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  8001. }
  8002. }
  8003. },
  8004. "500": {
  8005. "description": "Internal Server Error",
  8006. "schema": {
  8007. "$ref": "#/definitions/app.Response"
  8008. }
  8009. }
  8010. }
  8011. }
  8012. },
  8013. "/Qhj/QueryBankAccountSign": {
  8014. "get": {
  8015. "security": [
  8016. {
  8017. "ApiKeyAuth": []
  8018. }
  8019. ],
  8020. "produces": [
  8021. "application/json"
  8022. ],
  8023. "tags": [
  8024. "大连千海金"
  8025. ],
  8026. "summary": "查询签约银行信息(提现账户管理)",
  8027. "parameters": [
  8028. {
  8029. "type": "integer",
  8030. "description": "用户ID",
  8031. "name": "userid",
  8032. "in": "query",
  8033. "required": true
  8034. }
  8035. ],
  8036. "responses": {
  8037. "200": {
  8038. "description": "OK",
  8039. "schema": {
  8040. "type": "array",
  8041. "items": {
  8042. "$ref": "#/definitions/models.QhjBankAccountSign"
  8043. }
  8044. }
  8045. },
  8046. "500": {
  8047. "description": "Internal Server Error",
  8048. "schema": {
  8049. "$ref": "#/definitions/app.Response"
  8050. }
  8051. }
  8052. }
  8053. }
  8054. },
  8055. "/Qhj/QueryBankInfo": {
  8056. "get": {
  8057. "security": [
  8058. {
  8059. "ApiKeyAuth": []
  8060. }
  8061. ],
  8062. "produces": [
  8063. "application/json"
  8064. ],
  8065. "tags": [
  8066. "大连千海金"
  8067. ],
  8068. "summary": "查询开户行",
  8069. "responses": {
  8070. "200": {
  8071. "description": "OK",
  8072. "schema": {
  8073. "type": "array",
  8074. "items": {
  8075. "$ref": "#/definitions/models.QhjBankInfo"
  8076. }
  8077. }
  8078. },
  8079. "500": {
  8080. "description": "Internal Server Error",
  8081. "schema": {
  8082. "$ref": "#/definitions/app.Response"
  8083. }
  8084. }
  8085. }
  8086. }
  8087. },
  8088. "/Qhj/QueryBrokerApply": {
  8089. "get": {
  8090. "security": [
  8091. {
  8092. "ApiKeyAuth": []
  8093. }
  8094. ],
  8095. "produces": [
  8096. "application/json"
  8097. ],
  8098. "tags": [
  8099. "大连千海金"
  8100. ],
  8101. "summary": "查询经纪人申请",
  8102. "parameters": [
  8103. {
  8104. "type": "integer",
  8105. "description": "所属机构ID",
  8106. "name": "userid",
  8107. "in": "query"
  8108. },
  8109. {
  8110. "type": "string",
  8111. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8112. "name": "filterstatus",
  8113. "in": "query"
  8114. }
  8115. ],
  8116. "responses": {
  8117. "200": {
  8118. "description": "OK",
  8119. "schema": {
  8120. "type": "array",
  8121. "items": {
  8122. "$ref": "#/definitions/models.QhjBrokerApply"
  8123. }
  8124. }
  8125. },
  8126. "500": {
  8127. "description": "Internal Server Error",
  8128. "schema": {
  8129. "$ref": "#/definitions/app.Response"
  8130. }
  8131. }
  8132. }
  8133. }
  8134. },
  8135. "/Qhj/QueryBrokerApplyEx": {
  8136. "get": {
  8137. "security": [
  8138. {
  8139. "ApiKeyAuth": []
  8140. }
  8141. ],
  8142. "produces": [
  8143. "application/json"
  8144. ],
  8145. "tags": [
  8146. "大连千海金"
  8147. ],
  8148. "summary": "查询经纪人信息和申请记录",
  8149. "parameters": [
  8150. {
  8151. "type": "integer",
  8152. "description": "所属机构ID",
  8153. "name": "userid",
  8154. "in": "query"
  8155. }
  8156. ],
  8157. "responses": {
  8158. "200": {
  8159. "description": "OK",
  8160. "schema": {
  8161. "type": "array",
  8162. "items": {
  8163. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  8164. }
  8165. }
  8166. },
  8167. "500": {
  8168. "description": "Internal Server Error",
  8169. "schema": {
  8170. "$ref": "#/definitions/app.Response"
  8171. }
  8172. }
  8173. }
  8174. }
  8175. },
  8176. "/Qhj/QueryBrokerRewardLog": {
  8177. "get": {
  8178. "security": [
  8179. {
  8180. "ApiKeyAuth": []
  8181. }
  8182. ],
  8183. "produces": [
  8184. "application/json"
  8185. ],
  8186. "tags": [
  8187. "大连千海金"
  8188. ],
  8189. "summary": "查询奖励流水(我的奖励)",
  8190. "parameters": [
  8191. {
  8192. "type": "integer",
  8193. "description": "用户ID",
  8194. "name": "userid",
  8195. "in": "query",
  8196. "required": true
  8197. },
  8198. {
  8199. "type": "string",
  8200. "description": "开始交易日(yyyymmdd)",
  8201. "name": "begindate",
  8202. "in": "query"
  8203. },
  8204. {
  8205. "type": "string",
  8206. "description": "结束交易日(yyyymmdd)",
  8207. "name": "enddate",
  8208. "in": "query"
  8209. }
  8210. ],
  8211. "responses": {
  8212. "200": {
  8213. "description": "OK",
  8214. "schema": {
  8215. "type": "array",
  8216. "items": {
  8217. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  8218. }
  8219. }
  8220. },
  8221. "500": {
  8222. "description": "Internal Server Error",
  8223. "schema": {
  8224. "$ref": "#/definitions/app.Response"
  8225. }
  8226. }
  8227. }
  8228. }
  8229. },
  8230. "/Qhj/QueryContract": {
  8231. "get": {
  8232. "security": [
  8233. {
  8234. "ApiKeyAuth": []
  8235. }
  8236. ],
  8237. "produces": [
  8238. "application/json"
  8239. ],
  8240. "tags": [
  8241. "大连千海金"
  8242. ],
  8243. "summary": "查询融资明细(合同)",
  8244. "parameters": [
  8245. {
  8246. "type": "integer",
  8247. "description": "用户ID",
  8248. "name": "userid",
  8249. "in": "query"
  8250. },
  8251. {
  8252. "type": "integer",
  8253. "description": "scf合同id",
  8254. "name": "scfcontractid",
  8255. "in": "query"
  8256. }
  8257. ],
  8258. "responses": {
  8259. "200": {
  8260. "description": "OK",
  8261. "schema": {
  8262. "type": "array",
  8263. "items": {
  8264. "$ref": "#/definitions/models.QhjContract"
  8265. }
  8266. }
  8267. },
  8268. "500": {
  8269. "description": "Internal Server Error",
  8270. "schema": {
  8271. "$ref": "#/definitions/app.Response"
  8272. }
  8273. }
  8274. }
  8275. }
  8276. },
  8277. "/Qhj/QueryContractLog": {
  8278. "get": {
  8279. "security": [
  8280. {
  8281. "ApiKeyAuth": []
  8282. }
  8283. ],
  8284. "produces": [
  8285. "application/json"
  8286. ],
  8287. "tags": [
  8288. "大连千海金"
  8289. ],
  8290. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  8291. "parameters": [
  8292. {
  8293. "type": "integer",
  8294. "description": "scf合同id",
  8295. "name": "scfcontractid",
  8296. "in": "query",
  8297. "required": true
  8298. },
  8299. {
  8300. "type": "string",
  8301. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  8302. "name": "amounttype",
  8303. "in": "query"
  8304. }
  8305. ],
  8306. "responses": {
  8307. "200": {
  8308. "description": "OK",
  8309. "schema": {
  8310. "type": "array",
  8311. "items": {
  8312. "$ref": "#/definitions/models.QhjContractLog"
  8313. }
  8314. }
  8315. },
  8316. "500": {
  8317. "description": "Internal Server Error",
  8318. "schema": {
  8319. "$ref": "#/definitions/app.Response"
  8320. }
  8321. }
  8322. }
  8323. }
  8324. },
  8325. "/Qhj/QueryCusBankSignBank": {
  8326. "get": {
  8327. "security": [
  8328. {
  8329. "ApiKeyAuth": []
  8330. }
  8331. ],
  8332. "produces": [
  8333. "application/json"
  8334. ],
  8335. "tags": [
  8336. "大连千海金"
  8337. ],
  8338. "summary": "查询托管银行",
  8339. "responses": {
  8340. "200": {
  8341. "description": "OK",
  8342. "schema": {
  8343. "type": "array",
  8344. "items": {
  8345. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  8346. }
  8347. }
  8348. },
  8349. "500": {
  8350. "description": "Internal Server Error",
  8351. "schema": {
  8352. "$ref": "#/definitions/app.Response"
  8353. }
  8354. }
  8355. }
  8356. }
  8357. },
  8358. "/Qhj/QueryCustomerInfo": {
  8359. "get": {
  8360. "security": [
  8361. {
  8362. "ApiKeyAuth": []
  8363. }
  8364. ],
  8365. "produces": [
  8366. "application/json"
  8367. ],
  8368. "tags": [
  8369. "大连千海金"
  8370. ],
  8371. "summary": "查询客户资料",
  8372. "parameters": [
  8373. {
  8374. "type": "integer",
  8375. "description": "用户ID",
  8376. "name": "userid",
  8377. "in": "query",
  8378. "required": true
  8379. },
  8380. {
  8381. "type": "integer",
  8382. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8383. "name": "querytype",
  8384. "in": "query",
  8385. "required": true
  8386. },
  8387. {
  8388. "type": "integer",
  8389. "description": "客户类型 1-个人 2-企业",
  8390. "name": "userinfotype",
  8391. "in": "query"
  8392. },
  8393. {
  8394. "type": "string",
  8395. "description": "客户名称(模糊匹配)",
  8396. "name": "customername",
  8397. "in": "query"
  8398. },
  8399. {
  8400. "type": "string",
  8401. "description": "昵称(模糊匹配)",
  8402. "name": "nickname",
  8403. "in": "query"
  8404. },
  8405. {
  8406. "type": "integer",
  8407. "description": "是否包含子级 1-包含",
  8408. "name": "includesub",
  8409. "in": "query"
  8410. }
  8411. ],
  8412. "responses": {
  8413. "200": {
  8414. "description": "OK",
  8415. "schema": {
  8416. "type": "array",
  8417. "items": {
  8418. "$ref": "#/definitions/models.QhjCustomer"
  8419. }
  8420. }
  8421. },
  8422. "500": {
  8423. "description": "Internal Server Error",
  8424. "schema": {
  8425. "$ref": "#/definitions/app.Response"
  8426. }
  8427. }
  8428. }
  8429. }
  8430. },
  8431. "/Qhj/QueryGoodsEx": {
  8432. "get": {
  8433. "security": [
  8434. {
  8435. "ApiKeyAuth": []
  8436. }
  8437. ],
  8438. "produces": [
  8439. "application/json"
  8440. ],
  8441. "tags": [
  8442. "大连千海金"
  8443. ],
  8444. "summary": "交易商品扩展表",
  8445. "parameters": [
  8446. {
  8447. "type": "integer",
  8448. "description": "商品id",
  8449. "name": "goodsid",
  8450. "in": "query"
  8451. }
  8452. ],
  8453. "responses": {
  8454. "200": {
  8455. "description": "OK",
  8456. "schema": {
  8457. "type": "array",
  8458. "items": {
  8459. "$ref": "#/definitions/models.Qhjgoodsex"
  8460. }
  8461. }
  8462. },
  8463. "500": {
  8464. "description": "Internal Server Error",
  8465. "schema": {
  8466. "$ref": "#/definitions/app.Response"
  8467. }
  8468. }
  8469. }
  8470. }
  8471. },
  8472. "/Qhj/QueryMyTeam": {
  8473. "get": {
  8474. "security": [
  8475. {
  8476. "ApiKeyAuth": []
  8477. }
  8478. ],
  8479. "produces": [
  8480. "application/json"
  8481. ],
  8482. "tags": [
  8483. "大连千海金"
  8484. ],
  8485. "summary": "查询我的团队",
  8486. "parameters": [
  8487. {
  8488. "type": "integer",
  8489. "description": "用户ID",
  8490. "name": "userid",
  8491. "in": "query",
  8492. "required": true
  8493. }
  8494. ],
  8495. "responses": {
  8496. "200": {
  8497. "description": "OK",
  8498. "schema": {
  8499. "type": "array",
  8500. "items": {
  8501. "$ref": "#/definitions/models.QhjMyTeamEx"
  8502. }
  8503. }
  8504. },
  8505. "500": {
  8506. "description": "Internal Server Error",
  8507. "schema": {
  8508. "$ref": "#/definitions/app.Response"
  8509. }
  8510. }
  8511. }
  8512. }
  8513. },
  8514. "/Qhj/QueryMyTeamOrder": {
  8515. "get": {
  8516. "security": [
  8517. {
  8518. "ApiKeyAuth": []
  8519. }
  8520. ],
  8521. "produces": [
  8522. "application/json"
  8523. ],
  8524. "tags": [
  8525. "大连千海金"
  8526. ],
  8527. "summary": "查询团队订单(我的团队/团队订单)",
  8528. "parameters": [
  8529. {
  8530. "type": "integer",
  8531. "description": "页码",
  8532. "name": "page",
  8533. "in": "query"
  8534. },
  8535. {
  8536. "type": "integer",
  8537. "description": "每页条数",
  8538. "name": "pagesize",
  8539. "in": "query"
  8540. },
  8541. {
  8542. "type": "integer",
  8543. "description": "用户ID",
  8544. "name": "userid",
  8545. "in": "query",
  8546. "required": true
  8547. },
  8548. {
  8549. "type": "integer",
  8550. "description": "交易模式",
  8551. "name": "trademode",
  8552. "in": "query"
  8553. },
  8554. {
  8555. "type": "string",
  8556. "description": "名称(模糊搜索账户)",
  8557. "name": "filtername",
  8558. "in": "query"
  8559. }
  8560. ],
  8561. "responses": {
  8562. "200": {
  8563. "description": "OK",
  8564. "schema": {
  8565. "type": "array",
  8566. "items": {
  8567. "$ref": "#/definitions/models.QhjTeamOrder"
  8568. }
  8569. }
  8570. },
  8571. "500": {
  8572. "description": "Internal Server Error",
  8573. "schema": {
  8574. "$ref": "#/definitions/app.Response"
  8575. }
  8576. }
  8577. }
  8578. }
  8579. },
  8580. "/Qhj/QueryParentAreaList": {
  8581. "get": {
  8582. "security": [
  8583. {
  8584. "ApiKeyAuth": []
  8585. }
  8586. ],
  8587. "produces": [
  8588. "application/json"
  8589. ],
  8590. "tags": [
  8591. "大连千海金"
  8592. ],
  8593. "summary": "查询所属机构列表",
  8594. "parameters": [
  8595. {
  8596. "type": "integer",
  8597. "description": "用户ID",
  8598. "name": "userid",
  8599. "in": "query",
  8600. "required": true
  8601. }
  8602. ],
  8603. "responses": {
  8604. "200": {
  8605. "description": "OK",
  8606. "schema": {
  8607. "type": "array",
  8608. "items": {
  8609. "$ref": "#/definitions/models.QhjParentAreaList"
  8610. }
  8611. }
  8612. },
  8613. "500": {
  8614. "description": "Internal Server Error",
  8615. "schema": {
  8616. "$ref": "#/definitions/app.Response"
  8617. }
  8618. }
  8619. }
  8620. }
  8621. },
  8622. "/Qhj/QueryPayOrder": {
  8623. "get": {
  8624. "security": [
  8625. {
  8626. "ApiKeyAuth": []
  8627. }
  8628. ],
  8629. "produces": [
  8630. "application/json"
  8631. ],
  8632. "tags": [
  8633. "大连千海金"
  8634. ],
  8635. "summary": "查询待付款单据",
  8636. "parameters": [
  8637. {
  8638. "type": "integer",
  8639. "description": "资金账号id",
  8640. "name": "accountid",
  8641. "in": "query",
  8642. "required": true
  8643. },
  8644. {
  8645. "type": "integer",
  8646. "description": "成交单号",
  8647. "name": "tradeid",
  8648. "in": "query"
  8649. },
  8650. {
  8651. "type": "string",
  8652. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8653. "name": "payflag",
  8654. "in": "query"
  8655. }
  8656. ],
  8657. "responses": {
  8658. "200": {
  8659. "description": "OK",
  8660. "schema": {
  8661. "type": "array",
  8662. "items": {
  8663. "$ref": "#/definitions/models.QhjPayOrder"
  8664. }
  8665. }
  8666. },
  8667. "500": {
  8668. "description": "Internal Server Error",
  8669. "schema": {
  8670. "$ref": "#/definitions/app.Response"
  8671. }
  8672. }
  8673. }
  8674. }
  8675. },
  8676. "/Qhj/QueryPickArea": {
  8677. "get": {
  8678. "security": [
  8679. {
  8680. "ApiKeyAuth": []
  8681. }
  8682. ],
  8683. "produces": [
  8684. "application/json"
  8685. ],
  8686. "tags": [
  8687. "大连千海金"
  8688. ],
  8689. "summary": "查询提货门店",
  8690. "parameters": [
  8691. {
  8692. "type": "integer",
  8693. "description": "用户ID",
  8694. "name": "userid",
  8695. "in": "query"
  8696. }
  8697. ],
  8698. "responses": {
  8699. "200": {
  8700. "description": "OK",
  8701. "schema": {
  8702. "type": "array",
  8703. "items": {
  8704. "$ref": "#/definitions/models.QhjPickArea"
  8705. }
  8706. }
  8707. },
  8708. "500": {
  8709. "description": "Internal Server Error",
  8710. "schema": {
  8711. "$ref": "#/definitions/app.Response"
  8712. }
  8713. }
  8714. }
  8715. }
  8716. },
  8717. "/Qhj/QueryPickGoods": {
  8718. "get": {
  8719. "security": [
  8720. {
  8721. "ApiKeyAuth": []
  8722. }
  8723. ],
  8724. "produces": [
  8725. "application/json"
  8726. ],
  8727. "tags": [
  8728. "大连千海金"
  8729. ],
  8730. "summary": "查询提货商品",
  8731. "parameters": [
  8732. {
  8733. "type": "integer",
  8734. "description": "交易商品id",
  8735. "name": "goodsid",
  8736. "in": "query",
  8737. "required": true
  8738. },
  8739. {
  8740. "type": "string",
  8741. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8742. "name": "status",
  8743. "in": "query"
  8744. }
  8745. ],
  8746. "responses": {
  8747. "200": {
  8748. "description": "OK",
  8749. "schema": {
  8750. "type": "array",
  8751. "items": {
  8752. "$ref": "#/definitions/models.QhjPickGoods"
  8753. }
  8754. }
  8755. },
  8756. "500": {
  8757. "description": "Internal Server Error",
  8758. "schema": {
  8759. "$ref": "#/definitions/app.Response"
  8760. }
  8761. }
  8762. }
  8763. }
  8764. },
  8765. "/Qhj/QueryRSTriggerLog": {
  8766. "get": {
  8767. "security": [
  8768. {
  8769. "ApiKeyAuth": []
  8770. }
  8771. ],
  8772. "produces": [
  8773. "application/json"
  8774. ],
  8775. "tags": [
  8776. "大连千海金"
  8777. ],
  8778. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8779. "parameters": [
  8780. {
  8781. "type": "integer",
  8782. "description": "用户ID",
  8783. "name": "userid",
  8784. "in": "query"
  8785. },
  8786. {
  8787. "type": "integer",
  8788. "description": "定投策略id",
  8789. "name": "regularlystrategyid",
  8790. "in": "query"
  8791. },
  8792. {
  8793. "type": "integer",
  8794. "description": "商品id",
  8795. "name": "goodsid",
  8796. "in": "query"
  8797. },
  8798. {
  8799. "type": "string",
  8800. "description": "开始交易日(yyyymmdd)",
  8801. "name": "begindate",
  8802. "in": "query"
  8803. },
  8804. {
  8805. "type": "string",
  8806. "description": "结束交易日(yyyymmdd)",
  8807. "name": "enddate",
  8808. "in": "query"
  8809. },
  8810. {
  8811. "type": "string",
  8812. "description": "名称(模糊搜索账户)",
  8813. "name": "filtername",
  8814. "in": "query"
  8815. }
  8816. ],
  8817. "responses": {
  8818. "200": {
  8819. "description": "OK",
  8820. "schema": {
  8821. "type": "array",
  8822. "items": {
  8823. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8824. }
  8825. }
  8826. },
  8827. "500": {
  8828. "description": "Internal Server Error",
  8829. "schema": {
  8830. "$ref": "#/definitions/app.Response"
  8831. }
  8832. }
  8833. }
  8834. }
  8835. },
  8836. "/Qhj/QueryRStrategy": {
  8837. "get": {
  8838. "security": [
  8839. {
  8840. "ApiKeyAuth": []
  8841. }
  8842. ],
  8843. "produces": [
  8844. "application/json"
  8845. ],
  8846. "tags": [
  8847. "大连千海金"
  8848. ],
  8849. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8850. "parameters": [
  8851. {
  8852. "type": "integer",
  8853. "description": "用户ID",
  8854. "name": "userid",
  8855. "in": "query"
  8856. },
  8857. {
  8858. "type": "integer",
  8859. "description": "商品id",
  8860. "name": "goodsid",
  8861. "in": "query"
  8862. },
  8863. {
  8864. "type": "string",
  8865. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8866. "name": "status",
  8867. "in": "query"
  8868. },
  8869. {
  8870. "type": "string",
  8871. "description": "名称(模糊搜索账户)",
  8872. "name": "filtername",
  8873. "in": "query"
  8874. }
  8875. ],
  8876. "responses": {
  8877. "200": {
  8878. "description": "OK",
  8879. "schema": {
  8880. "type": "array",
  8881. "items": {
  8882. "$ref": "#/definitions/models.QhjRStrategy"
  8883. }
  8884. }
  8885. },
  8886. "500": {
  8887. "description": "Internal Server Error",
  8888. "schema": {
  8889. "$ref": "#/definitions/app.Response"
  8890. }
  8891. }
  8892. }
  8893. }
  8894. },
  8895. "/Qhj/QueryReckonPriceLog": {
  8896. "get": {
  8897. "security": [
  8898. {
  8899. "ApiKeyAuth": []
  8900. }
  8901. ],
  8902. "produces": [
  8903. "application/json"
  8904. ],
  8905. "tags": [
  8906. "大连千海金"
  8907. ],
  8908. "summary": "查询定投价(结算价)",
  8909. "parameters": [
  8910. {
  8911. "type": "integer",
  8912. "description": "商品ID",
  8913. "name": "goodsid",
  8914. "in": "query"
  8915. },
  8916. {
  8917. "type": "string",
  8918. "description": "交易日 格式(yyyymmdd)",
  8919. "name": "tradedate",
  8920. "in": "query"
  8921. }
  8922. ],
  8923. "responses": {
  8924. "200": {
  8925. "description": "OK",
  8926. "schema": {
  8927. "type": "array",
  8928. "items": {
  8929. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8930. }
  8931. }
  8932. },
  8933. "500": {
  8934. "description": "Internal Server Error",
  8935. "schema": {
  8936. "$ref": "#/definitions/app.Response"
  8937. }
  8938. }
  8939. }
  8940. }
  8941. },
  8942. "/Qhj/QueryScoreLog": {
  8943. "get": {
  8944. "security": [
  8945. {
  8946. "ApiKeyAuth": []
  8947. }
  8948. ],
  8949. "produces": [
  8950. "application/json"
  8951. ],
  8952. "tags": [
  8953. "大连千海金"
  8954. ],
  8955. "summary": "查询积分流水(我的积分)",
  8956. "parameters": [
  8957. {
  8958. "type": "integer",
  8959. "description": "用户ID",
  8960. "name": "userid",
  8961. "in": "query",
  8962. "required": true
  8963. },
  8964. {
  8965. "type": "string",
  8966. "description": "开始交易日(yyyymmdd)",
  8967. "name": "begindate",
  8968. "in": "query"
  8969. },
  8970. {
  8971. "type": "string",
  8972. "description": "结束交易日(yyyymmdd)",
  8973. "name": "enddate",
  8974. "in": "query"
  8975. },
  8976. {
  8977. "type": "integer",
  8978. "description": "最近多少条",
  8979. "name": "lastnum",
  8980. "in": "query"
  8981. }
  8982. ],
  8983. "responses": {
  8984. "200": {
  8985. "description": "OK",
  8986. "schema": {
  8987. "type": "array",
  8988. "items": {
  8989. "$ref": "#/definitions/models.QhjScoreLog"
  8990. }
  8991. }
  8992. },
  8993. "500": {
  8994. "description": "Internal Server Error",
  8995. "schema": {
  8996. "$ref": "#/definitions/app.Response"
  8997. }
  8998. }
  8999. }
  9000. }
  9001. },
  9002. "/Qhj/QuerySiteColumnDetail": {
  9003. "get": {
  9004. "security": [
  9005. {
  9006. "ApiKeyAuth": []
  9007. }
  9008. ],
  9009. "produces": [
  9010. "application/json"
  9011. ],
  9012. "tags": [
  9013. "大连千海金"
  9014. ],
  9015. "summary": "查询资讯",
  9016. "parameters": [
  9017. {
  9018. "type": "integer",
  9019. "description": "用户ID",
  9020. "name": "userid",
  9021. "in": "query",
  9022. "required": true
  9023. }
  9024. ],
  9025. "responses": {
  9026. "200": {
  9027. "description": "OK",
  9028. "schema": {
  9029. "type": "array",
  9030. "items": {
  9031. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  9032. }
  9033. }
  9034. },
  9035. "500": {
  9036. "description": "Internal Server Error",
  9037. "schema": {
  9038. "$ref": "#/definitions/app.Response"
  9039. }
  9040. }
  9041. }
  9042. }
  9043. },
  9044. "/Qhj/QueryTradeGoodsPickup": {
  9045. "get": {
  9046. "security": [
  9047. {
  9048. "ApiKeyAuth": []
  9049. }
  9050. ],
  9051. "produces": [
  9052. "application/json"
  9053. ],
  9054. "tags": [
  9055. "大连千海金"
  9056. ],
  9057. "summary": "查询提货",
  9058. "parameters": [
  9059. {
  9060. "type": "integer",
  9061. "description": "用户ID",
  9062. "name": "userid",
  9063. "in": "query",
  9064. "required": true
  9065. },
  9066. {
  9067. "type": "integer",
  9068. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  9069. "name": "takeorderstatus",
  9070. "in": "query"
  9071. }
  9072. ],
  9073. "responses": {
  9074. "200": {
  9075. "description": "OK",
  9076. "schema": {
  9077. "type": "array",
  9078. "items": {
  9079. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  9080. }
  9081. }
  9082. },
  9083. "500": {
  9084. "description": "Internal Server Error",
  9085. "schema": {
  9086. "$ref": "#/definitions/app.Response"
  9087. }
  9088. }
  9089. }
  9090. }
  9091. },
  9092. "/Qhj/QueryUserCollectConfig": {
  9093. "get": {
  9094. "security": [
  9095. {
  9096. "ApiKeyAuth": []
  9097. }
  9098. ],
  9099. "produces": [
  9100. "application/json"
  9101. ],
  9102. "tags": [
  9103. "大连千海金"
  9104. ],
  9105. "summary": "查询提现账户设置",
  9106. "parameters": [
  9107. {
  9108. "type": "integer",
  9109. "description": "用户ID",
  9110. "name": "userid",
  9111. "in": "query",
  9112. "required": true
  9113. }
  9114. ],
  9115. "responses": {
  9116. "200": {
  9117. "description": "OK",
  9118. "schema": {
  9119. "type": "array",
  9120. "items": {
  9121. "$ref": "#/definitions/models.UserCollectConfig"
  9122. }
  9123. }
  9124. },
  9125. "500": {
  9126. "description": "Internal Server Error",
  9127. "schema": {
  9128. "$ref": "#/definitions/app.Response"
  9129. }
  9130. }
  9131. }
  9132. }
  9133. },
  9134. "/Qhj/QueryUserReceiveInfo": {
  9135. "get": {
  9136. "security": [
  9137. {
  9138. "ApiKeyAuth": []
  9139. }
  9140. ],
  9141. "produces": [
  9142. "application/json"
  9143. ],
  9144. "tags": [
  9145. "大连千海金"
  9146. ],
  9147. "summary": "查询收货地址信息",
  9148. "parameters": [
  9149. {
  9150. "type": "integer",
  9151. "description": "用户ID",
  9152. "name": "userid",
  9153. "in": "query",
  9154. "required": true
  9155. }
  9156. ],
  9157. "responses": {
  9158. "200": {
  9159. "description": "OK",
  9160. "schema": {
  9161. "type": "array",
  9162. "items": {
  9163. "$ref": "#/definitions/models.UserReceiveInfo"
  9164. }
  9165. }
  9166. },
  9167. "500": {
  9168. "description": "Internal Server Error",
  9169. "schema": {
  9170. "$ref": "#/definitions/app.Response"
  9171. }
  9172. }
  9173. }
  9174. }
  9175. },
  9176. "/QhjMgr/QueryAccountInOutApply": {
  9177. "get": {
  9178. "security": [
  9179. {
  9180. "ApiKeyAuth": []
  9181. }
  9182. ],
  9183. "produces": [
  9184. "application/json"
  9185. ],
  9186. "tags": [
  9187. "大连千海金(PCWeb)"
  9188. ],
  9189. "summary": "查询充值提现",
  9190. "parameters": [
  9191. {
  9192. "type": "integer",
  9193. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9194. "name": "querytype",
  9195. "in": "query",
  9196. "required": true
  9197. },
  9198. {
  9199. "type": "integer",
  9200. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9201. "name": "applystatus",
  9202. "in": "query"
  9203. },
  9204. {
  9205. "type": "string",
  9206. "description": "申请起始日期(格式yyyymmdd)",
  9207. "name": "begindate",
  9208. "in": "query"
  9209. },
  9210. {
  9211. "type": "string",
  9212. "description": "申请截止日期(格式yyyymmdd)",
  9213. "name": "enddate",
  9214. "in": "query"
  9215. },
  9216. {
  9217. "type": "string",
  9218. "description": "模糊搜索名称",
  9219. "name": "likename",
  9220. "in": "query"
  9221. }
  9222. ],
  9223. "responses": {
  9224. "200": {
  9225. "description": "OK",
  9226. "schema": {
  9227. "type": "array",
  9228. "items": {
  9229. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  9230. }
  9231. }
  9232. },
  9233. "500": {
  9234. "description": "Internal Server Error",
  9235. "schema": {
  9236. "$ref": "#/definitions/app.Response"
  9237. }
  9238. }
  9239. }
  9240. }
  9241. },
  9242. "/QhjMgr/QueryBrokerApply": {
  9243. "get": {
  9244. "security": [
  9245. {
  9246. "ApiKeyAuth": []
  9247. }
  9248. ],
  9249. "produces": [
  9250. "application/json"
  9251. ],
  9252. "tags": [
  9253. "大连千海金(PCWeb)"
  9254. ],
  9255. "summary": "查询经纪人申请",
  9256. "parameters": [
  9257. {
  9258. "type": "integer",
  9259. "description": "所属机构ID",
  9260. "name": "userid",
  9261. "in": "query"
  9262. },
  9263. {
  9264. "type": "string",
  9265. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9266. "name": "filterstatus",
  9267. "in": "query"
  9268. },
  9269. {
  9270. "type": "string",
  9271. "description": "名称(模糊匹配)",
  9272. "name": "filtername",
  9273. "in": "query"
  9274. },
  9275. {
  9276. "type": "integer",
  9277. "description": "是否包含子级 1-包含",
  9278. "name": "includesub",
  9279. "in": "query"
  9280. }
  9281. ],
  9282. "responses": {
  9283. "200": {
  9284. "description": "OK",
  9285. "schema": {
  9286. "type": "array",
  9287. "items": {
  9288. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  9289. }
  9290. }
  9291. },
  9292. "500": {
  9293. "description": "Internal Server Error",
  9294. "schema": {
  9295. "$ref": "#/definitions/app.Response"
  9296. }
  9297. }
  9298. }
  9299. }
  9300. },
  9301. "/QhjMgr/QueryBrokerRewardReport": {
  9302. "get": {
  9303. "security": [
  9304. {
  9305. "ApiKeyAuth": []
  9306. }
  9307. ],
  9308. "produces": [
  9309. "application/json"
  9310. ],
  9311. "tags": [
  9312. "大连千海金(PCWeb)"
  9313. ],
  9314. "summary": "查询经纪人奖励报表(废弃)",
  9315. "parameters": [
  9316. {
  9317. "type": "integer",
  9318. "description": "所属机构ID",
  9319. "name": "userid",
  9320. "in": "query",
  9321. "required": true
  9322. },
  9323. {
  9324. "type": "integer",
  9325. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9326. "name": "cycletype",
  9327. "in": "query",
  9328. "required": true
  9329. },
  9330. {
  9331. "type": "string",
  9332. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  9333. "name": "cycletime",
  9334. "in": "query",
  9335. "required": true
  9336. },
  9337. {
  9338. "type": "string",
  9339. "description": "名称(模糊匹配)",
  9340. "name": "filtername",
  9341. "in": "query"
  9342. },
  9343. {
  9344. "type": "integer",
  9345. "description": "是否包含子级 1-包含",
  9346. "name": "includesub",
  9347. "in": "query"
  9348. }
  9349. ],
  9350. "responses": {
  9351. "200": {
  9352. "description": "OK",
  9353. "schema": {
  9354. "type": "array",
  9355. "items": {
  9356. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  9357. }
  9358. }
  9359. },
  9360. "500": {
  9361. "description": "Internal Server Error",
  9362. "schema": {
  9363. "$ref": "#/definitions/app.Response"
  9364. }
  9365. }
  9366. }
  9367. }
  9368. },
  9369. "/QhjMgr/QueryContract": {
  9370. "get": {
  9371. "security": [
  9372. {
  9373. "ApiKeyAuth": []
  9374. }
  9375. ],
  9376. "produces": [
  9377. "application/json"
  9378. ],
  9379. "tags": [
  9380. "大连千海金(PCWeb)"
  9381. ],
  9382. "summary": "查询融资信息(合同)",
  9383. "parameters": [
  9384. {
  9385. "type": "integer",
  9386. "description": "用户ID",
  9387. "name": "userid",
  9388. "in": "query"
  9389. },
  9390. {
  9391. "type": "integer",
  9392. "description": "商品id",
  9393. "name": "goodsid",
  9394. "in": "query"
  9395. },
  9396. {
  9397. "type": "string",
  9398. "description": "名称(模糊搜索账户)",
  9399. "name": "filtername",
  9400. "in": "query"
  9401. },
  9402. {
  9403. "type": "string",
  9404. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  9405. "name": "risklevel",
  9406. "in": "query"
  9407. },
  9408. {
  9409. "type": "string",
  9410. "description": "开始交易日(yyyymmdd)",
  9411. "name": "begindate",
  9412. "in": "query"
  9413. },
  9414. {
  9415. "type": "string",
  9416. "description": "结束交易日(yyyymmdd)",
  9417. "name": "enddate",
  9418. "in": "query"
  9419. }
  9420. ],
  9421. "responses": {
  9422. "200": {
  9423. "description": "OK",
  9424. "schema": {
  9425. "type": "array",
  9426. "items": {
  9427. "$ref": "#/definitions/models.QhjMgrContract"
  9428. }
  9429. }
  9430. },
  9431. "500": {
  9432. "description": "Internal Server Error",
  9433. "schema": {
  9434. "$ref": "#/definitions/app.Response"
  9435. }
  9436. }
  9437. }
  9438. }
  9439. },
  9440. "/QhjMgr/QueryCustomerInfo": {
  9441. "get": {
  9442. "security": [
  9443. {
  9444. "ApiKeyAuth": []
  9445. }
  9446. ],
  9447. "produces": [
  9448. "application/json"
  9449. ],
  9450. "tags": [
  9451. "大连千海金(PCWeb)"
  9452. ],
  9453. "summary": "查询客户资料",
  9454. "parameters": [
  9455. {
  9456. "type": "integer",
  9457. "description": "用户ID",
  9458. "name": "userid",
  9459. "in": "query",
  9460. "required": true
  9461. },
  9462. {
  9463. "type": "integer",
  9464. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9465. "name": "querytype",
  9466. "in": "query",
  9467. "required": true
  9468. },
  9469. {
  9470. "type": "integer",
  9471. "description": "客户类型 1-个人 2-企业",
  9472. "name": "userinfotype",
  9473. "in": "query"
  9474. },
  9475. {
  9476. "type": "string",
  9477. "description": "客户名称(模糊匹配)",
  9478. "name": "customername",
  9479. "in": "query"
  9480. },
  9481. {
  9482. "type": "string",
  9483. "description": "昵称(模糊匹配)",
  9484. "name": "nickname",
  9485. "in": "query"
  9486. },
  9487. {
  9488. "type": "string",
  9489. "description": "所属客户经理(模糊匹配)",
  9490. "name": "brokername",
  9491. "in": "query"
  9492. },
  9493. {
  9494. "type": "string",
  9495. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  9496. "name": "birthday",
  9497. "in": "query"
  9498. },
  9499. {
  9500. "type": "integer",
  9501. "description": "是否包含子级 1-包含",
  9502. "name": "includesub",
  9503. "in": "query"
  9504. }
  9505. ],
  9506. "responses": {
  9507. "200": {
  9508. "description": "OK",
  9509. "schema": {
  9510. "type": "array",
  9511. "items": {
  9512. "$ref": "#/definitions/models.QhjMgrCustomer"
  9513. }
  9514. }
  9515. },
  9516. "500": {
  9517. "description": "Internal Server Error",
  9518. "schema": {
  9519. "$ref": "#/definitions/app.Response"
  9520. }
  9521. }
  9522. }
  9523. }
  9524. },
  9525. "/QhjMgr/QueryPickGoods": {
  9526. "get": {
  9527. "security": [
  9528. {
  9529. "ApiKeyAuth": []
  9530. }
  9531. ],
  9532. "produces": [
  9533. "application/json"
  9534. ],
  9535. "tags": [
  9536. "大连千海金(PCWeb)"
  9537. ],
  9538. "summary": "查询提货商品",
  9539. "parameters": [
  9540. {
  9541. "type": "string",
  9542. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9543. "name": "status",
  9544. "in": "query"
  9545. }
  9546. ],
  9547. "responses": {
  9548. "200": {
  9549. "description": "OK",
  9550. "schema": {
  9551. "type": "array",
  9552. "items": {
  9553. "$ref": "#/definitions/models.QhjMgrPickGoods"
  9554. }
  9555. }
  9556. },
  9557. "500": {
  9558. "description": "Internal Server Error",
  9559. "schema": {
  9560. "$ref": "#/definitions/app.Response"
  9561. }
  9562. }
  9563. }
  9564. }
  9565. },
  9566. "/QhjMgr/QuerySubArea": {
  9567. "get": {
  9568. "security": [
  9569. {
  9570. "ApiKeyAuth": []
  9571. }
  9572. ],
  9573. "produces": [
  9574. "application/json"
  9575. ],
  9576. "tags": [
  9577. "大连千海金(PCWeb)"
  9578. ],
  9579. "summary": "查询子机构列表",
  9580. "parameters": [
  9581. {
  9582. "type": "integer",
  9583. "description": "用户ID",
  9584. "name": "userid",
  9585. "in": "query",
  9586. "required": true
  9587. }
  9588. ],
  9589. "responses": {
  9590. "200": {
  9591. "description": "OK",
  9592. "schema": {
  9593. "type": "array",
  9594. "items": {
  9595. "$ref": "#/definitions/models.QhjMgrSubArea"
  9596. }
  9597. }
  9598. },
  9599. "500": {
  9600. "description": "Internal Server Error",
  9601. "schema": {
  9602. "$ref": "#/definitions/app.Response"
  9603. }
  9604. }
  9605. }
  9606. }
  9607. },
  9608. "/QhjMgr/QueryTradeDetail": {
  9609. "get": {
  9610. "security": [
  9611. {
  9612. "ApiKeyAuth": []
  9613. }
  9614. ],
  9615. "produces": [
  9616. "application/json"
  9617. ],
  9618. "tags": [
  9619. "大连千海金(PCWeb)"
  9620. ],
  9621. "summary": "查询成交明细",
  9622. "parameters": [
  9623. {
  9624. "type": "integer",
  9625. "description": "用户ID",
  9626. "name": "userid",
  9627. "in": "query",
  9628. "required": true
  9629. },
  9630. {
  9631. "type": "integer",
  9632. "description": "用户类型 1-个人 2-企业",
  9633. "name": "userinfotype",
  9634. "in": "query"
  9635. },
  9636. {
  9637. "type": "integer",
  9638. "description": "交易模式",
  9639. "name": "trademode",
  9640. "in": "query"
  9641. },
  9642. {
  9643. "type": "integer",
  9644. "description": "商品id",
  9645. "name": "goodsid",
  9646. "in": "query"
  9647. },
  9648. {
  9649. "type": "string",
  9650. "description": "名称(模糊搜索账户)",
  9651. "name": "filtername",
  9652. "in": "query"
  9653. },
  9654. {
  9655. "type": "string",
  9656. "description": "开始交易日(yyyymmdd)",
  9657. "name": "begindate",
  9658. "in": "query"
  9659. },
  9660. {
  9661. "type": "string",
  9662. "description": "结束交易日(yyyymmdd)",
  9663. "name": "enddate",
  9664. "in": "query"
  9665. },
  9666. {
  9667. "type": "integer",
  9668. "description": "是否包含子级 1-包含",
  9669. "name": "includesub",
  9670. "in": "query"
  9671. }
  9672. ],
  9673. "responses": {
  9674. "200": {
  9675. "description": "OK",
  9676. "schema": {
  9677. "type": "array",
  9678. "items": {
  9679. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9680. }
  9681. }
  9682. },
  9683. "500": {
  9684. "description": "Internal Server Error",
  9685. "schema": {
  9686. "$ref": "#/definitions/app.Response"
  9687. }
  9688. }
  9689. }
  9690. }
  9691. },
  9692. "/QhjMgr/QueryTradeOrderDetail": {
  9693. "get": {
  9694. "security": [
  9695. {
  9696. "ApiKeyAuth": []
  9697. }
  9698. ],
  9699. "produces": [
  9700. "application/json"
  9701. ],
  9702. "tags": [
  9703. "大连千海金(PCWeb)"
  9704. ],
  9705. "summary": "查询委托明细",
  9706. "parameters": [
  9707. {
  9708. "type": "integer",
  9709. "description": "用户ID",
  9710. "name": "userid",
  9711. "in": "query",
  9712. "required": true
  9713. },
  9714. {
  9715. "type": "integer",
  9716. "description": "用户类型 1-个人 2-企业",
  9717. "name": "userinfotype",
  9718. "in": "query"
  9719. },
  9720. {
  9721. "type": "integer",
  9722. "description": "交易模式",
  9723. "name": "trademode",
  9724. "in": "query"
  9725. },
  9726. {
  9727. "type": "integer",
  9728. "description": "商品id",
  9729. "name": "goodsid",
  9730. "in": "query"
  9731. },
  9732. {
  9733. "type": "string",
  9734. "description": "名称(模糊搜索账户)",
  9735. "name": "filtername",
  9736. "in": "query"
  9737. },
  9738. {
  9739. "type": "string",
  9740. "description": "开始交易日(yyyymmdd)",
  9741. "name": "begindate",
  9742. "in": "query"
  9743. },
  9744. {
  9745. "type": "string",
  9746. "description": "结束交易日(yyyymmdd)",
  9747. "name": "enddate",
  9748. "in": "query"
  9749. },
  9750. {
  9751. "type": "integer",
  9752. "description": "是否包含子级 1-包含",
  9753. "name": "includesub",
  9754. "in": "query"
  9755. }
  9756. ],
  9757. "responses": {
  9758. "200": {
  9759. "description": "OK",
  9760. "schema": {
  9761. "type": "array",
  9762. "items": {
  9763. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9764. }
  9765. }
  9766. },
  9767. "500": {
  9768. "description": "Internal Server Error",
  9769. "schema": {
  9770. "$ref": "#/definitions/app.Response"
  9771. }
  9772. }
  9773. }
  9774. }
  9775. },
  9776. "/QhjMgr/QueryTradePayOrder": {
  9777. "get": {
  9778. "security": [
  9779. {
  9780. "ApiKeyAuth": []
  9781. }
  9782. ],
  9783. "produces": [
  9784. "application/json"
  9785. ],
  9786. "tags": [
  9787. "大连千海金(PCWeb)"
  9788. ],
  9789. "summary": "查询待付款单",
  9790. "parameters": [
  9791. {
  9792. "type": "integer",
  9793. "description": "用户ID",
  9794. "name": "userid",
  9795. "in": "query",
  9796. "required": true
  9797. },
  9798. {
  9799. "type": "string",
  9800. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9801. "name": "payflag",
  9802. "in": "query"
  9803. },
  9804. {
  9805. "type": "integer",
  9806. "description": "用户类型 1-个人 2-企业",
  9807. "name": "userinfotype",
  9808. "in": "query"
  9809. },
  9810. {
  9811. "type": "integer",
  9812. "description": "交易模式",
  9813. "name": "trademode",
  9814. "in": "query"
  9815. },
  9816. {
  9817. "type": "integer",
  9818. "description": "商品id",
  9819. "name": "goodsid",
  9820. "in": "query"
  9821. },
  9822. {
  9823. "type": "string",
  9824. "description": "名称(模糊搜索账户)",
  9825. "name": "filtername",
  9826. "in": "query"
  9827. },
  9828. {
  9829. "type": "string",
  9830. "description": "开始交易日(yyyymmdd)",
  9831. "name": "begindate",
  9832. "in": "query"
  9833. },
  9834. {
  9835. "type": "string",
  9836. "description": "结束交易日(yyyymmdd)",
  9837. "name": "enddate",
  9838. "in": "query"
  9839. },
  9840. {
  9841. "type": "integer",
  9842. "description": "是否包含子级 1-包含",
  9843. "name": "includesub",
  9844. "in": "query"
  9845. }
  9846. ],
  9847. "responses": {
  9848. "200": {
  9849. "description": "OK",
  9850. "schema": {
  9851. "type": "array",
  9852. "items": {
  9853. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9854. }
  9855. }
  9856. },
  9857. "500": {
  9858. "description": "Internal Server Error",
  9859. "schema": {
  9860. "$ref": "#/definitions/app.Response"
  9861. }
  9862. }
  9863. }
  9864. }
  9865. },
  9866. "/QhjMgr/QueryTradePosition": {
  9867. "get": {
  9868. "security": [
  9869. {
  9870. "ApiKeyAuth": []
  9871. }
  9872. ],
  9873. "produces": [
  9874. "application/json"
  9875. ],
  9876. "tags": [
  9877. "大连千海金(PCWeb)"
  9878. ],
  9879. "summary": "查询持仓汇总",
  9880. "parameters": [
  9881. {
  9882. "type": "integer",
  9883. "description": "用户ID",
  9884. "name": "userid",
  9885. "in": "query",
  9886. "required": true
  9887. },
  9888. {
  9889. "type": "integer",
  9890. "description": "用户类型 1-个人 2-企业",
  9891. "name": "userinfotype",
  9892. "in": "query"
  9893. },
  9894. {
  9895. "type": "integer",
  9896. "description": "交易模式",
  9897. "name": "trademode",
  9898. "in": "query"
  9899. },
  9900. {
  9901. "type": "integer",
  9902. "description": "商品id",
  9903. "name": "goodsid",
  9904. "in": "query"
  9905. },
  9906. {
  9907. "type": "string",
  9908. "description": "名称(模糊搜索账户)",
  9909. "name": "filtername",
  9910. "in": "query"
  9911. },
  9912. {
  9913. "type": "integer",
  9914. "description": "是否包含子级 1-包含",
  9915. "name": "includesub",
  9916. "in": "query"
  9917. }
  9918. ],
  9919. "responses": {
  9920. "200": {
  9921. "description": "OK",
  9922. "schema": {
  9923. "type": "array",
  9924. "items": {
  9925. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9926. }
  9927. }
  9928. },
  9929. "500": {
  9930. "description": "Internal Server Error",
  9931. "schema": {
  9932. "$ref": "#/definitions/app.Response"
  9933. }
  9934. }
  9935. }
  9936. }
  9937. },
  9938. "/QhjSys/QueryAgreementChangeLog": {
  9939. "get": {
  9940. "security": [
  9941. {
  9942. "ApiKeyAuth": []
  9943. }
  9944. ],
  9945. "produces": [
  9946. "application/json"
  9947. ],
  9948. "tags": [
  9949. "大连千海金(协议和签约信息)"
  9950. ],
  9951. "summary": "查询协议配置变更流水",
  9952. "parameters": [
  9953. {
  9954. "type": "integer",
  9955. "description": "协议ID",
  9956. "name": "agreementid",
  9957. "in": "query"
  9958. },
  9959. {
  9960. "type": "integer",
  9961. "description": "协议版本号",
  9962. "name": "agreementversion",
  9963. "in": "query"
  9964. },
  9965. {
  9966. "type": "integer",
  9967. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9968. "name": "agreementtype",
  9969. "in": "query"
  9970. },
  9971. {
  9972. "type": "string",
  9973. "description": "协议编号(模糊匹配)",
  9974. "name": "agreementno",
  9975. "in": "query"
  9976. },
  9977. {
  9978. "type": "string",
  9979. "description": "协议名称(模糊匹配)",
  9980. "name": "agreementname",
  9981. "in": "query"
  9982. }
  9983. ],
  9984. "responses": {
  9985. "200": {
  9986. "description": "OK",
  9987. "schema": {
  9988. "type": "array",
  9989. "items": {
  9990. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9991. }
  9992. }
  9993. },
  9994. "500": {
  9995. "description": "Internal Server Error",
  9996. "schema": {
  9997. "$ref": "#/definitions/app.Response"
  9998. }
  9999. }
  10000. }
  10001. }
  10002. },
  10003. "/QhjSys/QueryAgreementConfig": {
  10004. "get": {
  10005. "security": [
  10006. {
  10007. "ApiKeyAuth": []
  10008. }
  10009. ],
  10010. "produces": [
  10011. "application/json"
  10012. ],
  10013. "tags": [
  10014. "大连千海金(协议和签约信息)"
  10015. ],
  10016. "summary": "查询协议配置",
  10017. "parameters": [
  10018. {
  10019. "type": "integer",
  10020. "description": "协议ID",
  10021. "name": "agreementid",
  10022. "in": "query"
  10023. },
  10024. {
  10025. "type": "integer",
  10026. "description": "协议版本号",
  10027. "name": "agreementversion",
  10028. "in": "query"
  10029. },
  10030. {
  10031. "type": "integer",
  10032. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10033. "name": "agreementtype",
  10034. "in": "query"
  10035. },
  10036. {
  10037. "type": "integer",
  10038. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  10039. "name": "isvalid",
  10040. "in": "query"
  10041. },
  10042. {
  10043. "type": "string",
  10044. "description": "协议编号(模糊匹配)",
  10045. "name": "agreementno",
  10046. "in": "query"
  10047. },
  10048. {
  10049. "type": "string",
  10050. "description": "协议名称(模糊匹配)",
  10051. "name": "agreementname",
  10052. "in": "query"
  10053. }
  10054. ],
  10055. "responses": {
  10056. "200": {
  10057. "description": "OK",
  10058. "schema": {
  10059. "type": "array",
  10060. "items": {
  10061. "$ref": "#/definitions/models.QhjAgreementConfig"
  10062. }
  10063. }
  10064. },
  10065. "500": {
  10066. "description": "Internal Server Error",
  10067. "schema": {
  10068. "$ref": "#/definitions/app.Response"
  10069. }
  10070. }
  10071. }
  10072. }
  10073. },
  10074. "/QhjSys/QueryCustomerSignStatus": {
  10075. "get": {
  10076. "security": [
  10077. {
  10078. "ApiKeyAuth": []
  10079. }
  10080. ],
  10081. "produces": [
  10082. "application/json"
  10083. ],
  10084. "tags": [
  10085. "大连千海金(协议和签约信息)"
  10086. ],
  10087. "summary": "查询客户协议签约状态",
  10088. "parameters": [
  10089. {
  10090. "type": "integer",
  10091. "description": "客户ID",
  10092. "name": "userid",
  10093. "in": "query"
  10094. },
  10095. {
  10096. "type": "integer",
  10097. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  10098. "name": "nodetype",
  10099. "in": "query"
  10100. },
  10101. {
  10102. "type": "integer",
  10103. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10104. "name": "goodsid",
  10105. "in": "query"
  10106. },
  10107. {
  10108. "type": "string",
  10109. "description": "创建交易日(yyyyMMdd)",
  10110. "name": "tradedate",
  10111. "in": "query"
  10112. },
  10113. {
  10114. "type": "string",
  10115. "description": "用户名称(模糊匹配)",
  10116. "name": "username",
  10117. "in": "query"
  10118. }
  10119. ],
  10120. "responses": {
  10121. "200": {
  10122. "description": "OK",
  10123. "schema": {
  10124. "type": "array",
  10125. "items": {
  10126. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  10127. }
  10128. }
  10129. },
  10130. "500": {
  10131. "description": "Internal Server Error",
  10132. "schema": {
  10133. "$ref": "#/definitions/app.Response"
  10134. }
  10135. }
  10136. }
  10137. }
  10138. },
  10139. "/QhjSys/QueryNodeAgreementConfig": {
  10140. "get": {
  10141. "security": [
  10142. {
  10143. "ApiKeyAuth": []
  10144. }
  10145. ],
  10146. "produces": [
  10147. "application/json"
  10148. ],
  10149. "tags": [
  10150. "大连千海金(协议和签约信息)"
  10151. ],
  10152. "summary": "查询协议节点配置",
  10153. "parameters": [
  10154. {
  10155. "type": "integer",
  10156. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10157. "name": "configid",
  10158. "in": "query"
  10159. },
  10160. {
  10161. "type": "integer",
  10162. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10163. "name": "nodetype",
  10164. "in": "query"
  10165. },
  10166. {
  10167. "type": "integer",
  10168. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10169. "name": "goodsid",
  10170. "in": "query"
  10171. },
  10172. {
  10173. "type": "integer",
  10174. "description": "协议ID",
  10175. "name": "agreementid",
  10176. "in": "query"
  10177. },
  10178. {
  10179. "type": "integer",
  10180. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10181. "name": "agreementtype",
  10182. "in": "query"
  10183. },
  10184. {
  10185. "type": "integer",
  10186. "description": "协议版本号",
  10187. "name": "agreementversion",
  10188. "in": "query"
  10189. },
  10190. {
  10191. "type": "string",
  10192. "description": "协议编号(模糊匹配)",
  10193. "name": "agreementno",
  10194. "in": "query"
  10195. },
  10196. {
  10197. "type": "string",
  10198. "description": "协议名称(模糊匹配)",
  10199. "name": "agreementname",
  10200. "in": "query"
  10201. }
  10202. ],
  10203. "responses": {
  10204. "200": {
  10205. "description": "OK",
  10206. "schema": {
  10207. "type": "array",
  10208. "items": {
  10209. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  10210. }
  10211. }
  10212. },
  10213. "500": {
  10214. "description": "Internal Server Error",
  10215. "schema": {
  10216. "$ref": "#/definitions/app.Response"
  10217. }
  10218. }
  10219. }
  10220. }
  10221. },
  10222. "/QhjSys/QueryQhjCustomerSignLog": {
  10223. "get": {
  10224. "security": [
  10225. {
  10226. "ApiKeyAuth": []
  10227. }
  10228. ],
  10229. "produces": [
  10230. "application/json"
  10231. ],
  10232. "tags": [
  10233. "大连千海金(协议和签约信息)"
  10234. ],
  10235. "summary": "查询客户协议签约流水",
  10236. "parameters": [
  10237. {
  10238. "type": "integer",
  10239. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  10240. "name": "logid",
  10241. "in": "query"
  10242. },
  10243. {
  10244. "type": "integer",
  10245. "description": "客户ID",
  10246. "name": "userid",
  10247. "in": "query"
  10248. },
  10249. {
  10250. "type": "integer",
  10251. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10252. "name": "nodetype",
  10253. "in": "query"
  10254. },
  10255. {
  10256. "type": "integer",
  10257. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10258. "name": "goodsid",
  10259. "in": "query"
  10260. },
  10261. {
  10262. "type": "integer",
  10263. "description": "协议ID",
  10264. "name": "agreementid",
  10265. "in": "query"
  10266. },
  10267. {
  10268. "type": "string",
  10269. "description": "用户名称(模糊匹配)",
  10270. "name": "username",
  10271. "in": "query"
  10272. },
  10273. {
  10274. "type": "string",
  10275. "description": "协议编号(模糊匹配)",
  10276. "name": "agreementno",
  10277. "in": "query"
  10278. },
  10279. {
  10280. "type": "string",
  10281. "description": "协议名称(模糊匹配)",
  10282. "name": "agreementname",
  10283. "in": "query"
  10284. }
  10285. ],
  10286. "responses": {
  10287. "200": {
  10288. "description": "OK",
  10289. "schema": {
  10290. "type": "array",
  10291. "items": {
  10292. "$ref": "#/definitions/models.QhjCustomerSignLog"
  10293. }
  10294. }
  10295. },
  10296. "500": {
  10297. "description": "Internal Server Error",
  10298. "schema": {
  10299. "$ref": "#/definitions/app.Response"
  10300. }
  10301. }
  10302. }
  10303. }
  10304. },
  10305. "/QhjSys/QueryUserNodeCfgAndStatus": {
  10306. "get": {
  10307. "security": [
  10308. {
  10309. "ApiKeyAuth": []
  10310. }
  10311. ],
  10312. "produces": [
  10313. "application/json"
  10314. ],
  10315. "tags": [
  10316. "大连千海金(协议和签约信息)"
  10317. ],
  10318. "summary": "查询用户协议节点配置和状态",
  10319. "parameters": [
  10320. {
  10321. "type": "integer",
  10322. "description": "客户ID",
  10323. "name": "userid",
  10324. "in": "query"
  10325. },
  10326. {
  10327. "type": "integer",
  10328. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10329. "name": "configid",
  10330. "in": "query"
  10331. },
  10332. {
  10333. "type": "string",
  10334. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10335. "name": "nodetype",
  10336. "in": "query"
  10337. },
  10338. {
  10339. "type": "integer",
  10340. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10341. "name": "goodsid",
  10342. "in": "query"
  10343. },
  10344. {
  10345. "type": "integer",
  10346. "description": "协议ID",
  10347. "name": "agreementid",
  10348. "in": "query"
  10349. },
  10350. {
  10351. "type": "integer",
  10352. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10353. "name": "agreementtype",
  10354. "in": "query"
  10355. },
  10356. {
  10357. "type": "integer",
  10358. "description": "协议版本号",
  10359. "name": "agreementversion",
  10360. "in": "query"
  10361. },
  10362. {
  10363. "type": "string",
  10364. "description": "协议编号(模糊匹配)",
  10365. "name": "agreementno",
  10366. "in": "query"
  10367. },
  10368. {
  10369. "type": "string",
  10370. "description": "协议名称(模糊匹配)",
  10371. "name": "agreementname",
  10372. "in": "query"
  10373. }
  10374. ],
  10375. "responses": {
  10376. "200": {
  10377. "description": "OK",
  10378. "schema": {
  10379. "type": "array",
  10380. "items": {
  10381. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  10382. }
  10383. }
  10384. },
  10385. "500": {
  10386. "description": "Internal Server Error",
  10387. "schema": {
  10388. "$ref": "#/definitions/app.Response"
  10389. }
  10390. }
  10391. }
  10392. }
  10393. },
  10394. "/Quote/QueryHistoryDatas": {
  10395. "get": {
  10396. "security": [
  10397. {
  10398. "ApiKeyAuth": []
  10399. }
  10400. ],
  10401. "produces": [
  10402. "application/json"
  10403. ],
  10404. "tags": [
  10405. "行情服务"
  10406. ],
  10407. "summary": "查询行情历史数据",
  10408. "parameters": [
  10409. {
  10410. "type": "integer",
  10411. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  10412. "name": "cycleType",
  10413. "in": "query",
  10414. "required": true
  10415. },
  10416. {
  10417. "type": "string",
  10418. "description": "商品代码",
  10419. "name": "goodsCode",
  10420. "in": "query",
  10421. "required": true
  10422. },
  10423. {
  10424. "type": "string",
  10425. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10426. "name": "startTime",
  10427. "in": "query"
  10428. },
  10429. {
  10430. "type": "string",
  10431. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10432. "name": "endTime",
  10433. "in": "query"
  10434. },
  10435. {
  10436. "type": "integer",
  10437. "description": "条数",
  10438. "name": "count",
  10439. "in": "query"
  10440. },
  10441. {
  10442. "type": "boolean",
  10443. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10444. "name": "isAsc",
  10445. "in": "query"
  10446. }
  10447. ],
  10448. "responses": {
  10449. "200": {
  10450. "description": "OK",
  10451. "schema": {
  10452. "$ref": "#/definitions/quote.HistoryData"
  10453. }
  10454. },
  10455. "500": {
  10456. "description": "Internal Server Error",
  10457. "schema": {
  10458. "$ref": "#/definitions/app.Response"
  10459. }
  10460. }
  10461. }
  10462. }
  10463. },
  10464. "/Quote/QueryHistoryTikDatas": {
  10465. "get": {
  10466. "security": [
  10467. {
  10468. "ApiKeyAuth": []
  10469. }
  10470. ],
  10471. "produces": [
  10472. "application/json"
  10473. ],
  10474. "tags": [
  10475. "行情服务"
  10476. ],
  10477. "summary": "查询行情Tik数据",
  10478. "parameters": [
  10479. {
  10480. "type": "string",
  10481. "description": "商品代码",
  10482. "name": "goodsCode",
  10483. "in": "query",
  10484. "required": true
  10485. },
  10486. {
  10487. "type": "string",
  10488. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10489. "name": "startTime",
  10490. "in": "query"
  10491. },
  10492. {
  10493. "type": "string",
  10494. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10495. "name": "endTime",
  10496. "in": "query"
  10497. },
  10498. {
  10499. "type": "integer",
  10500. "description": "条数",
  10501. "name": "count",
  10502. "in": "query"
  10503. },
  10504. {
  10505. "type": "boolean",
  10506. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10507. "name": "isAsc",
  10508. "in": "query"
  10509. }
  10510. ],
  10511. "responses": {
  10512. "200": {
  10513. "description": "OK",
  10514. "schema": {
  10515. "$ref": "#/definitions/quote.HistoryTikData"
  10516. }
  10517. },
  10518. "500": {
  10519. "description": "Internal Server Error",
  10520. "schema": {
  10521. "$ref": "#/definitions/app.Response"
  10522. }
  10523. }
  10524. }
  10525. }
  10526. },
  10527. "/Quote/QueryQuoteDay": {
  10528. "get": {
  10529. "security": [
  10530. {
  10531. "ApiKeyAuth": []
  10532. }
  10533. ],
  10534. "produces": [
  10535. "application/json"
  10536. ],
  10537. "tags": [
  10538. "行情服务"
  10539. ],
  10540. "summary": "获取商品盘面信息",
  10541. "parameters": [
  10542. {
  10543. "type": "string",
  10544. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  10545. "name": "goodsCodes",
  10546. "in": "query"
  10547. }
  10548. ],
  10549. "responses": {
  10550. "200": {
  10551. "description": "OK",
  10552. "schema": {
  10553. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  10554. }
  10555. },
  10556. "500": {
  10557. "description": "Internal Server Error",
  10558. "schema": {
  10559. "$ref": "#/definitions/app.Response"
  10560. }
  10561. }
  10562. }
  10563. }
  10564. },
  10565. "/Quote/QueryTSData": {
  10566. "get": {
  10567. "security": [
  10568. {
  10569. "ApiKeyAuth": []
  10570. }
  10571. ],
  10572. "produces": [
  10573. "application/json"
  10574. ],
  10575. "tags": [
  10576. "行情服务"
  10577. ],
  10578. "summary": "分时图数据查询",
  10579. "parameters": [
  10580. {
  10581. "type": "string",
  10582. "description": "商品代码",
  10583. "name": "goodsCode",
  10584. "in": "query",
  10585. "required": true
  10586. }
  10587. ],
  10588. "responses": {
  10589. "200": {
  10590. "description": "OK",
  10591. "schema": {
  10592. "$ref": "#/definitions/quote.QueryTSDataRsp"
  10593. }
  10594. },
  10595. "500": {
  10596. "description": "Internal Server Error",
  10597. "schema": {
  10598. "$ref": "#/definitions/app.Response"
  10599. }
  10600. }
  10601. }
  10602. }
  10603. },
  10604. "/SZDZ/QueryConvertConfig": {
  10605. "get": {
  10606. "security": [
  10607. {
  10608. "ApiKeyAuth": []
  10609. }
  10610. ],
  10611. "produces": [
  10612. "application/json"
  10613. ],
  10614. "tags": [
  10615. "定制【尚志大宗】"
  10616. ],
  10617. "summary": "查询交易系统转换设置",
  10618. "parameters": [
  10619. {
  10620. "type": "integer",
  10621. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10622. "name": "convertType",
  10623. "in": "query"
  10624. },
  10625. {
  10626. "type": "string",
  10627. "description": "外部商品代码[JD\\PD]",
  10628. "name": "outerGoodsCode",
  10629. "in": "query"
  10630. },
  10631. {
  10632. "type": "string",
  10633. "description": "内部商品ID列表[交易],格式:1,2,3",
  10634. "name": "innerGoodsIDs",
  10635. "in": "query"
  10636. }
  10637. ],
  10638. "responses": {
  10639. "200": {
  10640. "description": "OK",
  10641. "schema": {
  10642. "$ref": "#/definitions/models.Szdz3convertconfig"
  10643. }
  10644. },
  10645. "500": {
  10646. "description": "Internal Server Error",
  10647. "schema": {
  10648. "$ref": "#/definitions/app.Response"
  10649. }
  10650. }
  10651. }
  10652. }
  10653. },
  10654. "/SZDZ/QueryConvertLog": {
  10655. "get": {
  10656. "security": [
  10657. {
  10658. "ApiKeyAuth": []
  10659. }
  10660. ],
  10661. "produces": [
  10662. "application/json"
  10663. ],
  10664. "tags": [
  10665. "定制【尚志大宗】"
  10666. ],
  10667. "summary": "交易系统转换流水查询",
  10668. "parameters": [
  10669. {
  10670. "type": "string",
  10671. "description": "资金账户 - 格式:1,2,3",
  10672. "name": "accountID",
  10673. "in": "query",
  10674. "required": true
  10675. },
  10676. {
  10677. "type": "string",
  10678. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10679. "name": "startDate",
  10680. "in": "query"
  10681. },
  10682. {
  10683. "type": "string",
  10684. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10685. "name": "endDate",
  10686. "in": "query"
  10687. }
  10688. ],
  10689. "responses": {
  10690. "200": {
  10691. "description": "OK",
  10692. "schema": {
  10693. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10694. }
  10695. },
  10696. "500": {
  10697. "description": "Internal Server Error",
  10698. "schema": {
  10699. "$ref": "#/definitions/app.Response"
  10700. }
  10701. }
  10702. }
  10703. }
  10704. },
  10705. "/SZDZ/QueryGoodsPickup": {
  10706. "get": {
  10707. "security": [
  10708. {
  10709. "ApiKeyAuth": []
  10710. }
  10711. ],
  10712. "produces": [
  10713. "application/json"
  10714. ],
  10715. "tags": [
  10716. "定制【尚志大宗】"
  10717. ],
  10718. "summary": "商品提货单查询",
  10719. "parameters": [
  10720. {
  10721. "type": "string",
  10722. "description": "资金账户 - 格式:1,2,3",
  10723. "name": "accountID",
  10724. "in": "query",
  10725. "required": true
  10726. },
  10727. {
  10728. "type": "integer",
  10729. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10730. "name": "takeOrderStatus",
  10731. "in": "query"
  10732. }
  10733. ],
  10734. "responses": {
  10735. "200": {
  10736. "description": "OK",
  10737. "schema": {
  10738. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10739. }
  10740. },
  10741. "500": {
  10742. "description": "Internal Server Error",
  10743. "schema": {
  10744. "$ref": "#/definitions/app.Response"
  10745. }
  10746. }
  10747. }
  10748. }
  10749. },
  10750. "/SZDZ/QueryRecieptOrder": {
  10751. "get": {
  10752. "security": [
  10753. {
  10754. "ApiKeyAuth": []
  10755. }
  10756. ],
  10757. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10758. "produces": [
  10759. "application/json"
  10760. ],
  10761. "tags": [
  10762. "定制【尚志大宗】"
  10763. ],
  10764. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10765. "parameters": [
  10766. {
  10767. "type": "integer",
  10768. "description": "页码",
  10769. "name": "page",
  10770. "in": "query"
  10771. },
  10772. {
  10773. "type": "integer",
  10774. "description": "每页条数",
  10775. "name": "pagesize",
  10776. "in": "query"
  10777. },
  10778. {
  10779. "type": "integer",
  10780. "description": "商品ID",
  10781. "name": "goodsID",
  10782. "in": "query",
  10783. "required": true
  10784. },
  10785. {
  10786. "type": "string",
  10787. "description": "所属账户名称",
  10788. "name": "accountName",
  10789. "in": "query"
  10790. },
  10791. {
  10792. "type": "integer",
  10793. "description": "市场ID",
  10794. "name": "marketID",
  10795. "in": "query"
  10796. },
  10797. {
  10798. "type": "integer",
  10799. "description": "方向 - 0:买 1:卖",
  10800. "name": "buyorsell",
  10801. "in": "query",
  10802. "required": true
  10803. }
  10804. ],
  10805. "responses": {
  10806. "200": {
  10807. "description": "OK",
  10808. "schema": {
  10809. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10810. }
  10811. },
  10812. "500": {
  10813. "description": "Internal Server Error",
  10814. "schema": {
  10815. "$ref": "#/definitions/app.Response"
  10816. }
  10817. }
  10818. }
  10819. }
  10820. },
  10821. "/SZDZ/QuerySZDZTradePosition": {
  10822. "get": {
  10823. "security": [
  10824. {
  10825. "ApiKeyAuth": []
  10826. }
  10827. ],
  10828. "produces": [
  10829. "application/json"
  10830. ],
  10831. "tags": [
  10832. "定制【尚志大宗】"
  10833. ],
  10834. "summary": "持仓汇总查询(尚志大宗)",
  10835. "parameters": [
  10836. {
  10837. "type": "integer",
  10838. "description": "资金账户",
  10839. "name": "accountID",
  10840. "in": "query",
  10841. "required": true
  10842. }
  10843. ],
  10844. "responses": {
  10845. "200": {
  10846. "description": "OK",
  10847. "schema": {
  10848. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10849. }
  10850. },
  10851. "500": {
  10852. "description": "Internal Server Error",
  10853. "schema": {
  10854. "$ref": "#/definitions/app.Response"
  10855. }
  10856. }
  10857. }
  10858. }
  10859. },
  10860. "/SZDZ/SearchWhite": {
  10861. "get": {
  10862. "security": [
  10863. {
  10864. "ApiKeyAuth": []
  10865. }
  10866. ],
  10867. "produces": [
  10868. "application/json"
  10869. ],
  10870. "tags": [
  10871. "定制【尚志大宗】"
  10872. ],
  10873. "summary": "搜索白名单",
  10874. "parameters": [
  10875. {
  10876. "type": "integer",
  10877. "description": "用户ID",
  10878. "name": "userID",
  10879. "in": "query",
  10880. "required": true
  10881. }
  10882. ],
  10883. "responses": {
  10884. "200": {
  10885. "description": "OK",
  10886. "schema": {
  10887. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10888. }
  10889. },
  10890. "500": {
  10891. "description": "Internal Server Error",
  10892. "schema": {
  10893. "$ref": "#/definitions/app.Response"
  10894. }
  10895. }
  10896. }
  10897. }
  10898. },
  10899. "/Search/SearchGoodses": {
  10900. "get": {
  10901. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10902. "produces": [
  10903. "application/json"
  10904. ],
  10905. "tags": [
  10906. "检索服务"
  10907. ],
  10908. "summary": "检索商品信息",
  10909. "parameters": [
  10910. {
  10911. "type": "string",
  10912. "description": "检索内容",
  10913. "name": "content",
  10914. "in": "query",
  10915. "required": true
  10916. },
  10917. {
  10918. "type": "string",
  10919. "description": "交易模式,格式:1,2,3",
  10920. "name": "tradeModes",
  10921. "in": "query"
  10922. }
  10923. ],
  10924. "responses": {
  10925. "200": {
  10926. "description": "OK",
  10927. "schema": {
  10928. "$ref": "#/definitions/models.SearchGoods"
  10929. }
  10930. },
  10931. "500": {
  10932. "description": "Internal Server Error",
  10933. "schema": {
  10934. "$ref": "#/definitions/app.Response"
  10935. }
  10936. }
  10937. }
  10938. }
  10939. },
  10940. "/TaAccount/GetTaAccounts": {
  10941. "get": {
  10942. "security": [
  10943. {
  10944. "ApiKeyAuth": []
  10945. }
  10946. ],
  10947. "produces": [
  10948. "application/json"
  10949. ],
  10950. "tags": [
  10951. "资金账户"
  10952. ],
  10953. "summary": "获取资金账户信息",
  10954. "parameters": [
  10955. {
  10956. "type": "integer",
  10957. "description": "登录账户",
  10958. "name": "loginID",
  10959. "in": "query",
  10960. "required": true
  10961. },
  10962. {
  10963. "type": "integer",
  10964. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10965. "name": "taAccountType",
  10966. "in": "query"
  10967. }
  10968. ],
  10969. "responses": {
  10970. "200": {
  10971. "description": "OK",
  10972. "schema": {
  10973. "$ref": "#/definitions/models.Taaccount"
  10974. }
  10975. },
  10976. "500": {
  10977. "description": "Internal Server Error",
  10978. "schema": {
  10979. "$ref": "#/definitions/app.Response"
  10980. }
  10981. }
  10982. }
  10983. }
  10984. },
  10985. "/TaAccount/QueryAmountLog": {
  10986. "get": {
  10987. "security": [
  10988. {
  10989. "ApiKeyAuth": []
  10990. }
  10991. ],
  10992. "produces": [
  10993. "application/json"
  10994. ],
  10995. "tags": [
  10996. "资金账户"
  10997. ],
  10998. "summary": "资金流水查询(当前)",
  10999. "parameters": [
  11000. {
  11001. "type": "integer",
  11002. "description": "页码",
  11003. "name": "page",
  11004. "in": "query"
  11005. },
  11006. {
  11007. "type": "integer",
  11008. "description": "每页条数",
  11009. "name": "pagesize",
  11010. "in": "query"
  11011. },
  11012. {
  11013. "type": "string",
  11014. "description": "资金账户 - 格式:1,2,3",
  11015. "name": "accountID",
  11016. "in": "query",
  11017. "required": true
  11018. },
  11019. {
  11020. "type": "string",
  11021. "description": "资金操作类型 - 格式:1,2,3",
  11022. "name": "OperateType",
  11023. "in": "query"
  11024. }
  11025. ],
  11026. "responses": {
  11027. "200": {
  11028. "description": "OK",
  11029. "schema": {
  11030. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  11031. }
  11032. },
  11033. "500": {
  11034. "description": "Internal Server Error",
  11035. "schema": {
  11036. "$ref": "#/definitions/app.Response"
  11037. }
  11038. }
  11039. }
  11040. }
  11041. },
  11042. "/TaAccount/QueryHisAmountLog": {
  11043. "get": {
  11044. "security": [
  11045. {
  11046. "ApiKeyAuth": []
  11047. }
  11048. ],
  11049. "produces": [
  11050. "application/json"
  11051. ],
  11052. "tags": [
  11053. "资金账户"
  11054. ],
  11055. "summary": "资金流水查询(历史)",
  11056. "parameters": [
  11057. {
  11058. "type": "integer",
  11059. "description": "页码",
  11060. "name": "page",
  11061. "in": "query"
  11062. },
  11063. {
  11064. "type": "integer",
  11065. "description": "每页条数",
  11066. "name": "pagesize",
  11067. "in": "query"
  11068. },
  11069. {
  11070. "type": "string",
  11071. "description": "资金账户 - 格式:1,2,3",
  11072. "name": "accountID",
  11073. "in": "query",
  11074. "required": true
  11075. },
  11076. {
  11077. "type": "string",
  11078. "description": "资金操作类型 - 格式:1,2,3",
  11079. "name": "OperateType",
  11080. "in": "query"
  11081. },
  11082. {
  11083. "type": "string",
  11084. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  11085. "name": "startDate",
  11086. "in": "query"
  11087. },
  11088. {
  11089. "type": "string",
  11090. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  11091. "name": "endDate",
  11092. "in": "query"
  11093. }
  11094. ],
  11095. "responses": {
  11096. "200": {
  11097. "description": "OK",
  11098. "schema": {
  11099. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  11100. }
  11101. },
  11102. "500": {
  11103. "description": "Internal Server Error",
  11104. "schema": {
  11105. "$ref": "#/definitions/app.Response"
  11106. }
  11107. }
  11108. }
  11109. }
  11110. },
  11111. "/Tjmd/QueryQuoteGoodsList": {
  11112. "get": {
  11113. "security": [
  11114. {
  11115. "ApiKeyAuth": []
  11116. }
  11117. ],
  11118. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  11119. "produces": [
  11120. "application/json"
  11121. ],
  11122. "tags": [
  11123. "天津麦顿"
  11124. ],
  11125. "summary": "查询掉期报价列表",
  11126. "parameters": [
  11127. {
  11128. "type": "integer",
  11129. "description": "用户类型",
  11130. "name": "usertype",
  11131. "in": "query",
  11132. "required": true
  11133. },
  11134. {
  11135. "type": "string",
  11136. "description": "市场id, 格式 1,2,3",
  11137. "name": "marketids",
  11138. "in": "query"
  11139. },
  11140. {
  11141. "type": "integer",
  11142. "description": "商品组id",
  11143. "name": "goodsgroupid",
  11144. "in": "query"
  11145. },
  11146. {
  11147. "type": "integer",
  11148. "description": "商品id",
  11149. "name": "goodsid",
  11150. "in": "query"
  11151. }
  11152. ],
  11153. "responses": {
  11154. "200": {
  11155. "description": "OK",
  11156. "schema": {
  11157. "type": "array",
  11158. "items": {
  11159. "$ref": "#/definitions/models.TjmdQuoteGoods"
  11160. }
  11161. }
  11162. },
  11163. "500": {
  11164. "description": "Internal Server Error",
  11165. "schema": {
  11166. "$ref": "#/definitions/app.Response"
  11167. }
  11168. }
  11169. }
  11170. }
  11171. },
  11172. "/Tjmd/QueryTjmdMarketSection": {
  11173. "get": {
  11174. "security": [
  11175. {
  11176. "ApiKeyAuth": []
  11177. }
  11178. ],
  11179. "produces": [
  11180. "application/json"
  11181. ],
  11182. "tags": [
  11183. "天津麦顿"
  11184. ],
  11185. "summary": "查询市场板块",
  11186. "responses": {
  11187. "200": {
  11188. "description": "OK",
  11189. "schema": {
  11190. "type": "array",
  11191. "items": {
  11192. "$ref": "#/definitions/models.TjmdMarketSection"
  11193. }
  11194. }
  11195. },
  11196. "500": {
  11197. "description": "Internal Server Error",
  11198. "schema": {
  11199. "$ref": "#/definitions/app.Response"
  11200. }
  11201. }
  11202. }
  11203. }
  11204. },
  11205. "/Tjmd/QueryTjmdTodayAccountMargin": {
  11206. "get": {
  11207. "security": [
  11208. {
  11209. "ApiKeyAuth": []
  11210. }
  11211. ],
  11212. "produces": [
  11213. "application/json"
  11214. ],
  11215. "tags": [
  11216. "天津麦顿"
  11217. ],
  11218. "summary": "查询今日账户保证金配置",
  11219. "parameters": [
  11220. {
  11221. "type": "string",
  11222. "description": "市场id",
  11223. "name": "marketid",
  11224. "in": "query"
  11225. },
  11226. {
  11227. "type": "string",
  11228. "description": "商品id",
  11229. "name": "goodsid",
  11230. "in": "query"
  11231. },
  11232. {
  11233. "type": "string",
  11234. "description": "资金账号",
  11235. "name": "accountid",
  11236. "in": "query"
  11237. }
  11238. ],
  11239. "responses": {
  11240. "200": {
  11241. "description": "OK",
  11242. "schema": {
  11243. "type": "array",
  11244. "items": {
  11245. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  11246. }
  11247. }
  11248. },
  11249. "500": {
  11250. "description": "Internal Server Error",
  11251. "schema": {
  11252. "$ref": "#/definitions/app.Response"
  11253. }
  11254. }
  11255. }
  11256. }
  11257. },
  11258. "/Tjmd/QueryTjmdTradeOrderDetail": {
  11259. "get": {
  11260. "security": [
  11261. {
  11262. "ApiKeyAuth": []
  11263. }
  11264. ],
  11265. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  11266. "produces": [
  11267. "application/json"
  11268. ],
  11269. "tags": [
  11270. "天津麦顿"
  11271. ],
  11272. "summary": "查询掉期买卖大厅",
  11273. "parameters": [
  11274. {
  11275. "type": "integer",
  11276. "description": "页码",
  11277. "name": "page",
  11278. "in": "query"
  11279. },
  11280. {
  11281. "type": "integer",
  11282. "description": "每页条数",
  11283. "name": "pagesize",
  11284. "in": "query"
  11285. },
  11286. {
  11287. "type": "integer",
  11288. "description": "用户id",
  11289. "name": "userid",
  11290. "in": "query",
  11291. "required": true
  11292. },
  11293. {
  11294. "type": "integer",
  11295. "description": "用户类型",
  11296. "name": "usertype",
  11297. "in": "query",
  11298. "required": true
  11299. },
  11300. {
  11301. "type": "string",
  11302. "description": "市场id, 格式 1,2,3",
  11303. "name": "marketids",
  11304. "in": "query"
  11305. },
  11306. {
  11307. "type": "integer",
  11308. "description": "商品id",
  11309. "name": "goodsid",
  11310. "in": "query",
  11311. "required": true
  11312. },
  11313. {
  11314. "type": "integer",
  11315. "description": "买卖方向 0-买 1-卖",
  11316. "name": "buyorsell",
  11317. "in": "query",
  11318. "required": true
  11319. }
  11320. ],
  11321. "responses": {
  11322. "200": {
  11323. "description": "OK",
  11324. "schema": {
  11325. "type": "array",
  11326. "items": {
  11327. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  11328. }
  11329. }
  11330. },
  11331. "500": {
  11332. "description": "Internal Server Error",
  11333. "schema": {
  11334. "$ref": "#/definitions/app.Response"
  11335. }
  11336. }
  11337. }
  11338. }
  11339. },
  11340. "/Tjmd/QueryTjmdTransferApply": {
  11341. "get": {
  11342. "security": [
  11343. {
  11344. "ApiKeyAuth": []
  11345. }
  11346. ],
  11347. "produces": [
  11348. "application/json"
  11349. ],
  11350. "tags": [
  11351. "天津麦顿"
  11352. ],
  11353. "summary": "查询掉期协议单",
  11354. "parameters": [
  11355. {
  11356. "type": "integer",
  11357. "description": "类型 1-我的申请 2-对方申请",
  11358. "name": "applytype",
  11359. "in": "query",
  11360. "required": true
  11361. },
  11362. {
  11363. "type": "string",
  11364. "description": "市场id, 格式 1,2,3",
  11365. "name": "marketids",
  11366. "in": "query"
  11367. },
  11368. {
  11369. "type": "string",
  11370. "description": "资金账号, 格式 25000000001,25000000003",
  11371. "name": "accountids",
  11372. "in": "query"
  11373. },
  11374. {
  11375. "type": "string",
  11376. "description": "开始交易日(yyyymmdd)",
  11377. "name": "begindate",
  11378. "in": "query"
  11379. },
  11380. {
  11381. "type": "string",
  11382. "description": "结束交易日(yyyymmdd)",
  11383. "name": "enddate",
  11384. "in": "query"
  11385. }
  11386. ],
  11387. "responses": {
  11388. "200": {
  11389. "description": "OK",
  11390. "schema": {
  11391. "type": "array",
  11392. "items": {
  11393. "$ref": "#/definitions/models.TjmdTransferApply"
  11394. }
  11395. }
  11396. },
  11397. "500": {
  11398. "description": "Internal Server Error",
  11399. "schema": {
  11400. "$ref": "#/definitions/app.Response"
  11401. }
  11402. }
  11403. }
  11404. }
  11405. },
  11406. "/Trade/QueryRecieptOrder": {
  11407. "get": {
  11408. "security": [
  11409. {
  11410. "ApiKeyAuth": []
  11411. }
  11412. ],
  11413. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11414. "produces": [
  11415. "application/json"
  11416. ],
  11417. "tags": [
  11418. "通用交易"
  11419. ],
  11420. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  11421. "parameters": [
  11422. {
  11423. "type": "integer",
  11424. "description": "页码",
  11425. "name": "page",
  11426. "in": "query"
  11427. },
  11428. {
  11429. "type": "integer",
  11430. "description": "每页条数",
  11431. "name": "pagesize",
  11432. "in": "query"
  11433. },
  11434. {
  11435. "type": "integer",
  11436. "description": "商品ID",
  11437. "name": "goodsID",
  11438. "in": "query",
  11439. "required": true
  11440. },
  11441. {
  11442. "type": "string",
  11443. "description": "所属账户名称",
  11444. "name": "accountName",
  11445. "in": "query"
  11446. },
  11447. {
  11448. "type": "integer",
  11449. "description": "市场ID",
  11450. "name": "marketID",
  11451. "in": "query"
  11452. },
  11453. {
  11454. "type": "integer",
  11455. "description": "方向 - 0:买 1:卖",
  11456. "name": "buyorsell",
  11457. "in": "query",
  11458. "required": true
  11459. }
  11460. ],
  11461. "responses": {
  11462. "200": {
  11463. "description": "OK",
  11464. "schema": {
  11465. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  11466. }
  11467. },
  11468. "500": {
  11469. "description": "Internal Server Error",
  11470. "schema": {
  11471. "$ref": "#/definitions/app.Response"
  11472. }
  11473. }
  11474. }
  11475. }
  11476. },
  11477. "/User/AddMessageBoard": {
  11478. "post": {
  11479. "security": [
  11480. {
  11481. "ApiKeyAuth": []
  11482. }
  11483. ],
  11484. "produces": [
  11485. "application/json"
  11486. ],
  11487. "tags": [
  11488. "用户信息"
  11489. ],
  11490. "summary": "添加用户留言板信息",
  11491. "parameters": [
  11492. {
  11493. "type": "integer",
  11494. "description": "用户ID",
  11495. "name": "userID",
  11496. "in": "query",
  11497. "required": true
  11498. },
  11499. {
  11500. "type": "string",
  11501. "description": "留言信息",
  11502. "name": "message",
  11503. "in": "query",
  11504. "required": true
  11505. },
  11506. {
  11507. "type": "string",
  11508. "description": "联系电话",
  11509. "name": "contactNum",
  11510. "in": "query",
  11511. "required": true
  11512. }
  11513. ],
  11514. "responses": {
  11515. "200": {
  11516. "description": "OK",
  11517. "schema": {
  11518. "$ref": "#/definitions/app.Response"
  11519. }
  11520. },
  11521. "500": {
  11522. "description": "Internal Server Error",
  11523. "schema": {
  11524. "$ref": "#/definitions/app.Response"
  11525. }
  11526. }
  11527. }
  11528. }
  11529. },
  11530. "/User/AddUserFavoriteGoods": {
  11531. "post": {
  11532. "security": [
  11533. {
  11534. "ApiKeyAuth": []
  11535. }
  11536. ],
  11537. "produces": [
  11538. "application/json"
  11539. ],
  11540. "tags": [
  11541. "用户信息"
  11542. ],
  11543. "summary": "添加用户商品收藏信息",
  11544. "parameters": [
  11545. {
  11546. "type": "integer",
  11547. "description": "用户ID",
  11548. "name": "userID",
  11549. "in": "query",
  11550. "required": true
  11551. },
  11552. {
  11553. "type": "integer",
  11554. "description": "商品ID",
  11555. "name": "goodsID",
  11556. "in": "query",
  11557. "required": true
  11558. }
  11559. ],
  11560. "responses": {
  11561. "200": {
  11562. "description": "OK",
  11563. "schema": {
  11564. "$ref": "#/definitions/app.Response"
  11565. }
  11566. },
  11567. "500": {
  11568. "description": "Internal Server Error",
  11569. "schema": {
  11570. "$ref": "#/definitions/app.Response"
  11571. }
  11572. }
  11573. }
  11574. }
  11575. },
  11576. "/User/GetLoginID": {
  11577. "get": {
  11578. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  11579. "produces": [
  11580. "application/json"
  11581. ],
  11582. "tags": [
  11583. "用户信息"
  11584. ],
  11585. "summary": "获取登录ID",
  11586. "parameters": [
  11587. {
  11588. "type": "string",
  11589. "description": "登录代码",
  11590. "name": "username",
  11591. "in": "query",
  11592. "required": true
  11593. }
  11594. ],
  11595. "responses": {
  11596. "200": {
  11597. "description": "OK",
  11598. "schema": {
  11599. "$ref": "#/definitions/app.Response"
  11600. }
  11601. },
  11602. "500": {
  11603. "description": "Internal Server Error",
  11604. "schema": {
  11605. "$ref": "#/definitions/app.Response"
  11606. }
  11607. }
  11608. }
  11609. }
  11610. },
  11611. "/User/GetUserAccount": {
  11612. "get": {
  11613. "security": [
  11614. {
  11615. "ApiKeyAuth": []
  11616. }
  11617. ],
  11618. "produces": [
  11619. "application/json"
  11620. ],
  11621. "tags": [
  11622. "用户信息"
  11623. ],
  11624. "summary": "获取用户账号信息",
  11625. "parameters": [
  11626. {
  11627. "type": "integer",
  11628. "description": "用户ID",
  11629. "name": "userID",
  11630. "in": "query",
  11631. "required": true
  11632. }
  11633. ],
  11634. "responses": {
  11635. "200": {
  11636. "description": "OK",
  11637. "schema": {
  11638. "$ref": "#/definitions/models.Useraccount"
  11639. }
  11640. },
  11641. "500": {
  11642. "description": "Internal Server Error",
  11643. "schema": {
  11644. "$ref": "#/definitions/app.Response"
  11645. }
  11646. }
  11647. }
  11648. }
  11649. },
  11650. "/User/GetUserAuthStatus": {
  11651. "get": {
  11652. "security": [
  11653. {
  11654. "ApiKeyAuth": []
  11655. }
  11656. ],
  11657. "produces": [
  11658. "application/json"
  11659. ],
  11660. "tags": [
  11661. "用户信息"
  11662. ],
  11663. "summary": "获取用户实名认证状态",
  11664. "parameters": [
  11665. {
  11666. "type": "integer",
  11667. "description": "用户ID",
  11668. "name": "userID",
  11669. "in": "query",
  11670. "required": true
  11671. }
  11672. ],
  11673. "responses": {
  11674. "200": {
  11675. "description": "OK",
  11676. "schema": {
  11677. "$ref": "#/definitions/app.Response"
  11678. }
  11679. },
  11680. "500": {
  11681. "description": "Internal Server Error",
  11682. "schema": {
  11683. "$ref": "#/definitions/app.Response"
  11684. }
  11685. }
  11686. }
  11687. }
  11688. },
  11689. "/User/LoginQuery": {
  11690. "get": {
  11691. "security": [
  11692. {
  11693. "ApiKeyAuth": []
  11694. }
  11695. ],
  11696. "produces": [
  11697. "application/json"
  11698. ],
  11699. "tags": [
  11700. "用户信息"
  11701. ],
  11702. "summary": "账户登录后信息查询",
  11703. "parameters": [
  11704. {
  11705. "type": "integer",
  11706. "description": "登录账号",
  11707. "name": "loginID",
  11708. "in": "query",
  11709. "required": true
  11710. }
  11711. ],
  11712. "responses": {
  11713. "200": {
  11714. "description": "OK",
  11715. "schema": {
  11716. "$ref": "#/definitions/user.LoginQueryRsp"
  11717. }
  11718. },
  11719. "500": {
  11720. "description": "Internal Server Error",
  11721. "schema": {
  11722. "$ref": "#/definitions/app.Response"
  11723. }
  11724. }
  11725. }
  11726. }
  11727. },
  11728. "/User/QueryMessageBoard": {
  11729. "get": {
  11730. "security": [
  11731. {
  11732. "ApiKeyAuth": []
  11733. }
  11734. ],
  11735. "produces": [
  11736. "application/json"
  11737. ],
  11738. "tags": [
  11739. "用户信息"
  11740. ],
  11741. "summary": "获取用户留言板信息",
  11742. "parameters": [
  11743. {
  11744. "type": "integer",
  11745. "description": "用户ID",
  11746. "name": "userID",
  11747. "in": "query",
  11748. "required": true
  11749. }
  11750. ],
  11751. "responses": {
  11752. "200": {
  11753. "description": "OK",
  11754. "schema": {
  11755. "$ref": "#/definitions/models.Messageboard"
  11756. }
  11757. },
  11758. "500": {
  11759. "description": "Internal Server Error",
  11760. "schema": {
  11761. "$ref": "#/definitions/app.Response"
  11762. }
  11763. }
  11764. }
  11765. }
  11766. },
  11767. "/User/QueryUserFavoriteGoodses": {
  11768. "get": {
  11769. "security": [
  11770. {
  11771. "ApiKeyAuth": []
  11772. }
  11773. ],
  11774. "produces": [
  11775. "application/json"
  11776. ],
  11777. "tags": [
  11778. "用户信息"
  11779. ],
  11780. "summary": "获取用户商品收藏信息",
  11781. "parameters": [
  11782. {
  11783. "type": "integer",
  11784. "description": "用户ID",
  11785. "name": "userID",
  11786. "in": "query",
  11787. "required": true
  11788. }
  11789. ],
  11790. "responses": {
  11791. "200": {
  11792. "description": "OK",
  11793. "schema": {
  11794. "$ref": "#/definitions/models.Userfavoritegoods"
  11795. }
  11796. },
  11797. "500": {
  11798. "description": "Internal Server Error",
  11799. "schema": {
  11800. "$ref": "#/definitions/app.Response"
  11801. }
  11802. }
  11803. }
  11804. }
  11805. },
  11806. "/User/QueryUserInfo": {
  11807. "get": {
  11808. "security": [
  11809. {
  11810. "ApiKeyAuth": []
  11811. }
  11812. ],
  11813. "produces": [
  11814. "application/json"
  11815. ],
  11816. "tags": [
  11817. "用户信息"
  11818. ],
  11819. "summary": "获取用户信息",
  11820. "parameters": [
  11821. {
  11822. "type": "integer",
  11823. "description": "用户ID",
  11824. "name": "userID",
  11825. "in": "query",
  11826. "required": true
  11827. },
  11828. {
  11829. "type": "boolean",
  11830. "description": "是否解密",
  11831. "name": "isDecrypt",
  11832. "in": "query"
  11833. }
  11834. ],
  11835. "responses": {
  11836. "200": {
  11837. "description": "OK",
  11838. "schema": {
  11839. "$ref": "#/definitions/models.Userinfo"
  11840. }
  11841. },
  11842. "500": {
  11843. "description": "Internal Server Error",
  11844. "schema": {
  11845. "$ref": "#/definitions/app.Response"
  11846. }
  11847. }
  11848. }
  11849. }
  11850. },
  11851. "/User/QueryUserReferNum": {
  11852. "get": {
  11853. "produces": [
  11854. "application/json"
  11855. ],
  11856. "tags": [
  11857. "用户信息"
  11858. ],
  11859. "summary": "获取用户邀请码",
  11860. "parameters": [
  11861. {
  11862. "type": "integer",
  11863. "description": "用户ID",
  11864. "name": "userID",
  11865. "in": "query",
  11866. "required": true
  11867. }
  11868. ],
  11869. "responses": {
  11870. "200": {
  11871. "description": "OK",
  11872. "schema": {
  11873. "$ref": "#/definitions/app.Response"
  11874. }
  11875. },
  11876. "500": {
  11877. "description": "Internal Server Error",
  11878. "schema": {
  11879. "$ref": "#/definitions/app.Response"
  11880. }
  11881. }
  11882. }
  11883. }
  11884. },
  11885. "/User/RemoveUserFavoriteGoods": {
  11886. "post": {
  11887. "security": [
  11888. {
  11889. "ApiKeyAuth": []
  11890. }
  11891. ],
  11892. "produces": [
  11893. "application/json"
  11894. ],
  11895. "tags": [
  11896. "用户信息"
  11897. ],
  11898. "summary": "移除用户商品收藏信息",
  11899. "parameters": [
  11900. {
  11901. "type": "integer",
  11902. "description": "用户ID",
  11903. "name": "userID",
  11904. "in": "query",
  11905. "required": true
  11906. },
  11907. {
  11908. "type": "integer",
  11909. "description": "商品ID",
  11910. "name": "goodsID",
  11911. "in": "query",
  11912. "required": true
  11913. }
  11914. ],
  11915. "responses": {
  11916. "200": {
  11917. "description": "OK",
  11918. "schema": {
  11919. "$ref": "#/definitions/app.Response"
  11920. }
  11921. },
  11922. "500": {
  11923. "description": "Internal Server Error",
  11924. "schema": {
  11925. "$ref": "#/definitions/app.Response"
  11926. }
  11927. }
  11928. }
  11929. }
  11930. },
  11931. "/User/UpdateUserAccountStatus": {
  11932. "post": {
  11933. "security": [
  11934. {
  11935. "ApiKeyAuth": []
  11936. }
  11937. ],
  11938. "produces": [
  11939. "application/json"
  11940. ],
  11941. "tags": [
  11942. "用户信息"
  11943. ],
  11944. "summary": "更新用户状态",
  11945. "parameters": [
  11946. {
  11947. "type": "integer",
  11948. "description": "用户ID",
  11949. "name": "userID",
  11950. "in": "query",
  11951. "required": true
  11952. },
  11953. {
  11954. "type": "integer",
  11955. "description": "账户状态 - 4:正常 6:注销(停用)",
  11956. "name": "accountStatus",
  11957. "in": "query",
  11958. "required": true
  11959. }
  11960. ],
  11961. "responses": {
  11962. "200": {
  11963. "description": "OK",
  11964. "schema": {
  11965. "$ref": "#/definitions/app.Response"
  11966. }
  11967. },
  11968. "500": {
  11969. "description": "Internal Server Error",
  11970. "schema": {
  11971. "$ref": "#/definitions/app.Response"
  11972. }
  11973. }
  11974. }
  11975. }
  11976. },
  11977. "/WRTrade/GetAllDeliveryGoods": {
  11978. "get": {
  11979. "security": [
  11980. {
  11981. "ApiKeyAuth": []
  11982. },
  11983. {
  11984. "ApiKeyAuth": []
  11985. }
  11986. ],
  11987. "produces": [
  11988. "application/json",
  11989. "application/json"
  11990. ],
  11991. "tags": [
  11992. "仓单贸易",
  11993. "仓单贸易"
  11994. ],
  11995. "summary": "获取带仓单分类的种类信息",
  11996. "responses": {
  11997. "200": {
  11998. "description": "OK",
  11999. "schema": {
  12000. "$ref": "#/definitions/app.Response"
  12001. }
  12002. },
  12003. "500": {
  12004. "description": "Internal Server Error",
  12005. "schema": {
  12006. "$ref": "#/definitions/app.Response"
  12007. }
  12008. }
  12009. }
  12010. }
  12011. },
  12012. "/WrTrade2/QueryDeliveryGoodsSection": {
  12013. "get": {
  12014. "security": [
  12015. {
  12016. "ApiKeyAuth": []
  12017. }
  12018. ],
  12019. "produces": [
  12020. "application/json"
  12021. ],
  12022. "tags": [
  12023. "仓单贸易v2"
  12024. ],
  12025. "summary": "查询板块(分类)",
  12026. "responses": {
  12027. "200": {
  12028. "description": "OK",
  12029. "schema": {
  12030. "type": "array",
  12031. "items": {
  12032. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  12033. }
  12034. }
  12035. },
  12036. "500": {
  12037. "description": "Internal Server Error",
  12038. "schema": {
  12039. "$ref": "#/definitions/app.Response"
  12040. }
  12041. }
  12042. }
  12043. }
  12044. },
  12045. "/WrTrade2/QueryFaProductDetail": {
  12046. "get": {
  12047. "security": [
  12048. {
  12049. "ApiKeyAuth": []
  12050. }
  12051. ],
  12052. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  12053. "produces": [
  12054. "application/json"
  12055. ],
  12056. "tags": [
  12057. "仓单贸易v2"
  12058. ],
  12059. "summary": "查询融资产品列表",
  12060. "parameters": [
  12061. {
  12062. "type": "integer",
  12063. "description": "仓单要素id",
  12064. "name": "wrfactortypeid",
  12065. "in": "query",
  12066. "required": true
  12067. }
  12068. ],
  12069. "responses": {
  12070. "200": {
  12071. "description": "OK",
  12072. "schema": {
  12073. "type": "array",
  12074. "items": {
  12075. "$ref": "#/definitions/models.WrFAProductDetail"
  12076. }
  12077. }
  12078. },
  12079. "500": {
  12080. "description": "Internal Server Error",
  12081. "schema": {
  12082. "$ref": "#/definitions/app.Response"
  12083. }
  12084. }
  12085. }
  12086. }
  12087. },
  12088. "/WrTrade2/QueryFilterItem": {
  12089. "get": {
  12090. "security": [
  12091. {
  12092. "ApiKeyAuth": []
  12093. }
  12094. ],
  12095. "produces": [
  12096. "application/json"
  12097. ],
  12098. "tags": [
  12099. "仓单贸易v2"
  12100. ],
  12101. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  12102. "parameters": [
  12103. {
  12104. "type": "string",
  12105. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  12106. "name": "itype",
  12107. "in": "query",
  12108. "required": true
  12109. }
  12110. ],
  12111. "responses": {
  12112. "200": {
  12113. "description": "OK",
  12114. "schema": {
  12115. "type": "array",
  12116. "items": {
  12117. "$ref": "#/definitions/models.WrFilterItem"
  12118. }
  12119. }
  12120. },
  12121. "500": {
  12122. "description": "Internal Server Error",
  12123. "schema": {
  12124. "$ref": "#/definitions/app.Response"
  12125. }
  12126. }
  12127. }
  12128. }
  12129. },
  12130. "/WrTrade2/QueryFtDeliveryGoods": {
  12131. "get": {
  12132. "security": [
  12133. {
  12134. "ApiKeyAuth": []
  12135. }
  12136. ],
  12137. "produces": [
  12138. "application/json"
  12139. ],
  12140. "tags": [
  12141. "仓单贸易v2"
  12142. ],
  12143. "summary": "查询品种品类筛选框列表",
  12144. "responses": {
  12145. "200": {
  12146. "description": "OK",
  12147. "schema": {
  12148. "type": "array",
  12149. "items": {
  12150. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  12151. }
  12152. }
  12153. },
  12154. "500": {
  12155. "description": "Internal Server Error",
  12156. "schema": {
  12157. "$ref": "#/definitions/app.Response"
  12158. }
  12159. }
  12160. }
  12161. }
  12162. },
  12163. "/WrTrade2/QueryHoldLB": {
  12164. "get": {
  12165. "security": [
  12166. {
  12167. "ApiKeyAuth": []
  12168. }
  12169. ],
  12170. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  12171. "produces": [
  12172. "application/json"
  12173. ],
  12174. "tags": [
  12175. "仓单贸易v2"
  12176. ],
  12177. "summary": "查询仓单持有记录",
  12178. "parameters": [
  12179. {
  12180. "type": "integer",
  12181. "description": "资金账号",
  12182. "name": "accountid",
  12183. "in": "query",
  12184. "required": true
  12185. },
  12186. {
  12187. "type": "integer",
  12188. "description": "仓库id",
  12189. "name": "warehouseid",
  12190. "in": "query"
  12191. },
  12192. {
  12193. "type": "integer",
  12194. "description": "品种id",
  12195. "name": "deliverygoodsid",
  12196. "in": "query"
  12197. },
  12198. {
  12199. "type": "integer",
  12200. "description": "品类id",
  12201. "name": "wrstandardid",
  12202. "in": "query"
  12203. },
  12204. {
  12205. "type": "integer",
  12206. "description": "仓单要素id",
  12207. "name": "wrfactortypeid",
  12208. "in": "query"
  12209. },
  12210. {
  12211. "type": "string",
  12212. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12213. "name": "dgitemname",
  12214. "in": "query"
  12215. }
  12216. ],
  12217. "responses": {
  12218. "200": {
  12219. "description": "OK",
  12220. "schema": {
  12221. "type": "array",
  12222. "items": {
  12223. "$ref": "#/definitions/models.WrHoldLB"
  12224. }
  12225. }
  12226. },
  12227. "500": {
  12228. "description": "Internal Server Error",
  12229. "schema": {
  12230. "$ref": "#/definitions/app.Response"
  12231. }
  12232. }
  12233. }
  12234. }
  12235. },
  12236. "/WrTrade2/QueryOrderQuote": {
  12237. "get": {
  12238. "security": [
  12239. {
  12240. "ApiKeyAuth": []
  12241. }
  12242. ],
  12243. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  12244. "produces": [
  12245. "application/json"
  12246. ],
  12247. "tags": [
  12248. "仓单贸易v2"
  12249. ],
  12250. "summary": "查询大厅行情列表",
  12251. "parameters": [
  12252. {
  12253. "type": "integer",
  12254. "description": "页码",
  12255. "name": "page",
  12256. "in": "query"
  12257. },
  12258. {
  12259. "type": "integer",
  12260. "description": "每页条数",
  12261. "name": "pagesize",
  12262. "in": "query"
  12263. },
  12264. {
  12265. "type": "integer",
  12266. "description": "仓单贸易市场id",
  12267. "name": "marketid",
  12268. "in": "query"
  12269. },
  12270. {
  12271. "type": "integer",
  12272. "description": "价格方式 - 1:固定价 2-浮动价",
  12273. "name": "wrpricetype",
  12274. "in": "query",
  12275. "required": true
  12276. },
  12277. {
  12278. "type": "integer",
  12279. "description": "0:仓单预售 1:仓单贸易",
  12280. "name": "haswr",
  12281. "in": "query"
  12282. },
  12283. {
  12284. "type": "string",
  12285. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12286. "name": "dgitemname",
  12287. "in": "query"
  12288. },
  12289. {
  12290. "type": "integer",
  12291. "description": "仓库id(筛选条件)",
  12292. "name": "warehouseid",
  12293. "in": "query"
  12294. },
  12295. {
  12296. "type": "integer",
  12297. "description": "品种id",
  12298. "name": "deliverygoodsid",
  12299. "in": "query"
  12300. },
  12301. {
  12302. "type": "integer",
  12303. "description": "品类id",
  12304. "name": "wrstandardid",
  12305. "in": "query"
  12306. },
  12307. {
  12308. "type": "integer",
  12309. "description": "仓单要素id",
  12310. "name": "wrfactortypeid",
  12311. "in": "query"
  12312. },
  12313. {
  12314. "type": "string",
  12315. "description": "交收月(yyyy-mm) 仓单预售填写",
  12316. "name": "deliverymonth",
  12317. "in": "query"
  12318. }
  12319. ],
  12320. "responses": {
  12321. "200": {
  12322. "description": "OK",
  12323. "schema": {
  12324. "type": "array",
  12325. "items": {
  12326. "$ref": "#/definitions/models.WrOrderQuote"
  12327. }
  12328. }
  12329. },
  12330. "500": {
  12331. "description": "Internal Server Error",
  12332. "schema": {
  12333. "$ref": "#/definitions/app.Response"
  12334. }
  12335. }
  12336. }
  12337. }
  12338. },
  12339. "/WrTrade2/QueryOrderQuoteDetail": {
  12340. "get": {
  12341. "security": [
  12342. {
  12343. "ApiKeyAuth": []
  12344. }
  12345. ],
  12346. "produces": [
  12347. "application/json"
  12348. ],
  12349. "tags": [
  12350. "仓单贸易v2"
  12351. ],
  12352. "summary": "查询买卖大厅",
  12353. "parameters": [
  12354. {
  12355. "type": "integer",
  12356. "description": "页码",
  12357. "name": "page",
  12358. "in": "query"
  12359. },
  12360. {
  12361. "type": "integer",
  12362. "description": "每页条数",
  12363. "name": "pagesize",
  12364. "in": "query"
  12365. },
  12366. {
  12367. "type": "integer",
  12368. "description": "仓单贸易市场id",
  12369. "name": "marketid",
  12370. "in": "query"
  12371. },
  12372. {
  12373. "type": "integer",
  12374. "description": "价格方式 - 1:固定价 2-浮动价",
  12375. "name": "wrpricetype",
  12376. "in": "query",
  12377. "required": true
  12378. },
  12379. {
  12380. "type": "integer",
  12381. "description": "0:仓单预售 1:仓单贸易",
  12382. "name": "haswr",
  12383. "in": "query"
  12384. },
  12385. {
  12386. "type": "integer",
  12387. "description": "仓单要素id",
  12388. "name": "wrfactortypeid",
  12389. "in": "query",
  12390. "required": true
  12391. },
  12392. {
  12393. "type": "integer",
  12394. "description": "期货商品id(浮动价方式时填)",
  12395. "name": "goodsid",
  12396. "in": "query"
  12397. },
  12398. {
  12399. "type": "integer",
  12400. "description": "买卖方向 0-买 1-卖",
  12401. "name": "buyorsell",
  12402. "in": "query",
  12403. "required": true
  12404. },
  12405. {
  12406. "type": "string",
  12407. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  12408. "name": "deliverymonth",
  12409. "in": "query"
  12410. }
  12411. ],
  12412. "responses": {
  12413. "200": {
  12414. "description": "OK",
  12415. "schema": {
  12416. "type": "array",
  12417. "items": {
  12418. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  12419. }
  12420. }
  12421. },
  12422. "500": {
  12423. "description": "Internal Server Error",
  12424. "schema": {
  12425. "$ref": "#/definitions/app.Response"
  12426. }
  12427. }
  12428. }
  12429. }
  12430. },
  12431. "/WrTrade2/QueryOrderQuoteMyq": {
  12432. "get": {
  12433. "security": [
  12434. {
  12435. "ApiKeyAuth": []
  12436. }
  12437. ],
  12438. "produces": [
  12439. "application/json"
  12440. ],
  12441. "tags": [
  12442. "仓单贸易v2"
  12443. ],
  12444. "summary": "查询贸易圈挂牌大厅",
  12445. "parameters": [
  12446. {
  12447. "type": "integer",
  12448. "description": "页码",
  12449. "name": "page",
  12450. "in": "query"
  12451. },
  12452. {
  12453. "type": "integer",
  12454. "description": "每页条数",
  12455. "name": "pagesize",
  12456. "in": "query"
  12457. },
  12458. {
  12459. "type": "integer",
  12460. "description": "用户id",
  12461. "name": "userid",
  12462. "in": "query",
  12463. "required": true
  12464. },
  12465. {
  12466. "type": "integer",
  12467. "description": "仓单贸易市场id",
  12468. "name": "marketid",
  12469. "in": "query"
  12470. },
  12471. {
  12472. "type": "integer",
  12473. "description": "0:仓单预售 1:仓单贸易",
  12474. "name": "haswr",
  12475. "in": "query"
  12476. },
  12477. {
  12478. "type": "integer",
  12479. "description": "买卖方向 0-买 1-卖",
  12480. "name": "buyorsell",
  12481. "in": "query",
  12482. "required": true
  12483. },
  12484. {
  12485. "type": "integer",
  12486. "description": "品种id",
  12487. "name": "deliverygoodsid",
  12488. "in": "query"
  12489. },
  12490. {
  12491. "type": "integer",
  12492. "description": "品类id",
  12493. "name": "wrstandardid",
  12494. "in": "query"
  12495. },
  12496. {
  12497. "type": "string",
  12498. "description": "交收月(yyyy-mm) 仓单预售填写",
  12499. "name": "deliverymonth",
  12500. "in": "query"
  12501. },
  12502. {
  12503. "type": "string",
  12504. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12505. "name": "dgitemname",
  12506. "in": "query"
  12507. }
  12508. ],
  12509. "responses": {
  12510. "200": {
  12511. "description": "OK",
  12512. "schema": {
  12513. "type": "array",
  12514. "items": {
  12515. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  12516. }
  12517. }
  12518. },
  12519. "500": {
  12520. "description": "Internal Server Error",
  12521. "schema": {
  12522. "$ref": "#/definitions/app.Response"
  12523. }
  12524. }
  12525. }
  12526. }
  12527. },
  12528. "/WrTrade2/QueryPerformancePlan": {
  12529. "get": {
  12530. "security": [
  12531. {
  12532. "ApiKeyAuth": []
  12533. }
  12534. ],
  12535. "produces": [
  12536. "application/json"
  12537. ],
  12538. "tags": [
  12539. "仓单贸易v2"
  12540. ],
  12541. "summary": "查询履约信息",
  12542. "parameters": [
  12543. {
  12544. "type": "integer",
  12545. "description": "用户id",
  12546. "name": "userid",
  12547. "in": "query",
  12548. "required": true
  12549. },
  12550. {
  12551. "type": "integer",
  12552. "description": "买卖方向 0-买 1-卖",
  12553. "name": "buyorsell",
  12554. "in": "query",
  12555. "required": true
  12556. },
  12557. {
  12558. "type": "string",
  12559. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  12560. "name": "status",
  12561. "in": "query"
  12562. },
  12563. {
  12564. "type": "string",
  12565. "description": "开始交易日(yyyymmdd)",
  12566. "name": "begindate",
  12567. "in": "query"
  12568. },
  12569. {
  12570. "type": "string",
  12571. "description": "结束交易日(yyyymmdd)",
  12572. "name": "enddate",
  12573. "in": "query"
  12574. }
  12575. ],
  12576. "responses": {
  12577. "200": {
  12578. "description": "OK",
  12579. "schema": {
  12580. "type": "array",
  12581. "items": {
  12582. "$ref": "#/definitions/models.WrPerformancePlan"
  12583. }
  12584. }
  12585. },
  12586. "500": {
  12587. "description": "Internal Server Error",
  12588. "schema": {
  12589. "$ref": "#/definitions/app.Response"
  12590. }
  12591. }
  12592. }
  12593. }
  12594. },
  12595. "/WrTrade2/QueryPermancePlanTmp": {
  12596. "get": {
  12597. "security": [
  12598. {
  12599. "ApiKeyAuth": []
  12600. }
  12601. ],
  12602. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  12603. "produces": [
  12604. "application/json"
  12605. ],
  12606. "tags": [
  12607. "仓单贸易v2"
  12608. ],
  12609. "summary": "查询履约模板",
  12610. "parameters": [
  12611. {
  12612. "type": "integer",
  12613. "description": "用户id",
  12614. "name": "userid",
  12615. "in": "query"
  12616. },
  12617. {
  12618. "type": "string",
  12619. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  12620. "name": "tmptype",
  12621. "in": "query"
  12622. },
  12623. {
  12624. "type": "integer",
  12625. "description": "是否包含公共模板(用户id为空的) 1-包含",
  12626. "name": "includepub",
  12627. "in": "query"
  12628. },
  12629. {
  12630. "type": "integer",
  12631. "description": "市场id(天津麦顿指定此参数,其它不用)",
  12632. "name": "marketid",
  12633. "in": "query"
  12634. }
  12635. ],
  12636. "responses": {
  12637. "200": {
  12638. "description": "OK",
  12639. "schema": {
  12640. "type": "array",
  12641. "items": {
  12642. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  12643. }
  12644. }
  12645. },
  12646. "500": {
  12647. "description": "Internal Server Error",
  12648. "schema": {
  12649. "$ref": "#/definitions/app.Response"
  12650. }
  12651. }
  12652. }
  12653. }
  12654. },
  12655. "/WrTrade2/QuerySiteColumnDetail": {
  12656. "get": {
  12657. "security": [
  12658. {
  12659. "ApiKeyAuth": []
  12660. }
  12661. ],
  12662. "produces": [
  12663. "application/json"
  12664. ],
  12665. "tags": [
  12666. "仓单贸易v2"
  12667. ],
  12668. "summary": "查询资讯",
  12669. "parameters": [
  12670. {
  12671. "type": "integer",
  12672. "description": "页码",
  12673. "name": "page",
  12674. "in": "query"
  12675. },
  12676. {
  12677. "type": "integer",
  12678. "description": "每页条数",
  12679. "name": "pagesize",
  12680. "in": "query"
  12681. }
  12682. ],
  12683. "responses": {
  12684. "200": {
  12685. "description": "OK",
  12686. "schema": {
  12687. "type": "array",
  12688. "items": {
  12689. "$ref": "#/definitions/models.WrSiteColumnDetail"
  12690. }
  12691. }
  12692. },
  12693. "500": {
  12694. "description": "Internal Server Error",
  12695. "schema": {
  12696. "$ref": "#/definitions/app.Response"
  12697. }
  12698. }
  12699. }
  12700. }
  12701. },
  12702. "/WrTrade2/QuerySpotGroupTradeSum": {
  12703. "get": {
  12704. "security": [
  12705. {
  12706. "ApiKeyAuth": []
  12707. }
  12708. ],
  12709. "produces": [
  12710. "application/json"
  12711. ],
  12712. "tags": [
  12713. "仓单贸易v2"
  12714. ],
  12715. "summary": "查询指数",
  12716. "responses": {
  12717. "200": {
  12718. "description": "OK",
  12719. "schema": {
  12720. "type": "array",
  12721. "items": {
  12722. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  12723. }
  12724. }
  12725. },
  12726. "500": {
  12727. "description": "Internal Server Error",
  12728. "schema": {
  12729. "$ref": "#/definitions/app.Response"
  12730. }
  12731. }
  12732. }
  12733. }
  12734. },
  12735. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  12736. "get": {
  12737. "security": [
  12738. {
  12739. "ApiKeyAuth": []
  12740. }
  12741. ],
  12742. "description": "查询的结果将会按日期 从小到大 排序",
  12743. "produces": [
  12744. "application/json"
  12745. ],
  12746. "tags": [
  12747. "仓单贸易v2"
  12748. ],
  12749. "summary": "查询指数详细(价格走势图)",
  12750. "parameters": [
  12751. {
  12752. "type": "integer",
  12753. "description": "现货商品id",
  12754. "name": "deliverygoodsid",
  12755. "in": "query",
  12756. "required": true
  12757. },
  12758. {
  12759. "type": "integer",
  12760. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  12761. "name": "lastnum",
  12762. "in": "query"
  12763. }
  12764. ],
  12765. "responses": {
  12766. "200": {
  12767. "description": "OK",
  12768. "schema": {
  12769. "type": "array",
  12770. "items": {
  12771. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  12772. }
  12773. }
  12774. },
  12775. "500": {
  12776. "description": "Internal Server Error",
  12777. "schema": {
  12778. "$ref": "#/definitions/app.Response"
  12779. }
  12780. }
  12781. }
  12782. }
  12783. },
  12784. "/WrTrade2/QueryWrAverageTradePrice": {
  12785. "get": {
  12786. "security": [
  12787. {
  12788. "ApiKeyAuth": []
  12789. }
  12790. ],
  12791. "produces": [
  12792. "application/json"
  12793. ],
  12794. "tags": [
  12795. "仓单贸易v2"
  12796. ],
  12797. "summary": "查询成交价(历史走势)",
  12798. "parameters": [
  12799. {
  12800. "type": "integer",
  12801. "description": "页码",
  12802. "name": "page",
  12803. "in": "query"
  12804. },
  12805. {
  12806. "type": "integer",
  12807. "description": "每页条数",
  12808. "name": "pagesize",
  12809. "in": "query"
  12810. },
  12811. {
  12812. "type": "integer",
  12813. "description": "0:仓单预售 1:仓单贸易",
  12814. "name": "haswr",
  12815. "in": "query",
  12816. "required": true
  12817. },
  12818. {
  12819. "type": "integer",
  12820. "description": "仓单要素id",
  12821. "name": "wrfactortypeid",
  12822. "in": "query",
  12823. "required": true
  12824. }
  12825. ],
  12826. "responses": {
  12827. "200": {
  12828. "description": "OK",
  12829. "schema": {
  12830. "type": "array",
  12831. "items": {
  12832. "$ref": "#/definitions/models.WrAverageTradePrice"
  12833. }
  12834. }
  12835. },
  12836. "500": {
  12837. "description": "Internal Server Error",
  12838. "schema": {
  12839. "$ref": "#/definitions/app.Response"
  12840. }
  12841. }
  12842. }
  12843. }
  12844. },
  12845. "/WrTrade2/QueryWrBsGoodsInfo": {
  12846. "get": {
  12847. "security": [
  12848. {
  12849. "ApiKeyAuth": []
  12850. }
  12851. ],
  12852. "description": "合约交易/买卖大厅/详情",
  12853. "produces": [
  12854. "application/json"
  12855. ],
  12856. "tags": [
  12857. "仓单贸易v2"
  12858. ],
  12859. "summary": "查询合约交易买卖大厅详情",
  12860. "parameters": [
  12861. {
  12862. "type": "integer",
  12863. "description": "商品id",
  12864. "name": "goodsid",
  12865. "in": "query",
  12866. "required": true
  12867. }
  12868. ],
  12869. "responses": {
  12870. "200": {
  12871. "description": "OK",
  12872. "schema": {
  12873. "type": "array",
  12874. "items": {
  12875. "$ref": "#/definitions/models.WrBsGoodsInfo"
  12876. }
  12877. }
  12878. },
  12879. "500": {
  12880. "description": "Internal Server Error",
  12881. "schema": {
  12882. "$ref": "#/definitions/app.Response"
  12883. }
  12884. }
  12885. }
  12886. }
  12887. },
  12888. "/WrTrade2/QueryWrBuybackDetail": {
  12889. "get": {
  12890. "security": [
  12891. {
  12892. "ApiKeyAuth": []
  12893. }
  12894. ],
  12895. "produces": [
  12896. "application/json"
  12897. ],
  12898. "tags": [
  12899. "仓单贸易v2"
  12900. ],
  12901. "summary": "查询仓单回购明细",
  12902. "parameters": [
  12903. {
  12904. "type": "integer",
  12905. "description": "融资合同id",
  12906. "name": "scfcontractid",
  12907. "in": "query"
  12908. }
  12909. ],
  12910. "responses": {
  12911. "200": {
  12912. "description": "OK",
  12913. "schema": {
  12914. "type": "array",
  12915. "items": {
  12916. "$ref": "#/definitions/models.WrBuybackDetail"
  12917. }
  12918. }
  12919. },
  12920. "500": {
  12921. "description": "Internal Server Error",
  12922. "schema": {
  12923. "$ref": "#/definitions/app.Response"
  12924. }
  12925. }
  12926. }
  12927. }
  12928. },
  12929. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12930. "get": {
  12931. "security": [
  12932. {
  12933. "ApiKeyAuth": []
  12934. }
  12935. ],
  12936. "produces": [
  12937. "application/json"
  12938. ],
  12939. "tags": [
  12940. "仓单贸易v2"
  12941. ],
  12942. "summary": "查询合约交收可点选仓单",
  12943. "parameters": [
  12944. {
  12945. "type": "integer",
  12946. "description": "资金账号",
  12947. "name": "accountid",
  12948. "in": "query",
  12949. "required": true
  12950. },
  12951. {
  12952. "type": "integer",
  12953. "description": "商品id",
  12954. "name": "goodsid",
  12955. "in": "query",
  12956. "required": true
  12957. }
  12958. ],
  12959. "responses": {
  12960. "200": {
  12961. "description": "OK",
  12962. "schema": {
  12963. "type": "array",
  12964. "items": {
  12965. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12966. }
  12967. }
  12968. },
  12969. "500": {
  12970. "description": "Internal Server Error",
  12971. "schema": {
  12972. "$ref": "#/definitions/app.Response"
  12973. }
  12974. }
  12975. }
  12976. }
  12977. },
  12978. "/WrTrade2/QueryWrDeliveryDetail": {
  12979. "get": {
  12980. "security": [
  12981. {
  12982. "ApiKeyAuth": []
  12983. }
  12984. ],
  12985. "produces": [
  12986. "application/json"
  12987. ],
  12988. "tags": [
  12989. "仓单贸易v2"
  12990. ],
  12991. "summary": "查询交收",
  12992. "parameters": [
  12993. {
  12994. "type": "integer",
  12995. "description": "用户id",
  12996. "name": "userid",
  12997. "in": "query",
  12998. "required": true
  12999. },
  13000. {
  13001. "type": "integer",
  13002. "description": "资金账号id",
  13003. "name": "accountid",
  13004. "in": "query"
  13005. },
  13006. {
  13007. "type": "string",
  13008. "description": "开始交易日(yyyymmdd)",
  13009. "name": "begindate",
  13010. "in": "query"
  13011. },
  13012. {
  13013. "type": "string",
  13014. "description": "结束交易日(yyyymmdd)",
  13015. "name": "enddate",
  13016. "in": "query"
  13017. }
  13018. ],
  13019. "responses": {
  13020. "200": {
  13021. "description": "OK",
  13022. "schema": {
  13023. "type": "array",
  13024. "items": {
  13025. "$ref": "#/definitions/models.WrDeliveryDetail"
  13026. }
  13027. }
  13028. },
  13029. "500": {
  13030. "description": "Internal Server Error",
  13031. "schema": {
  13032. "$ref": "#/definitions/app.Response"
  13033. }
  13034. }
  13035. }
  13036. }
  13037. },
  13038. "/WrTrade2/QueryWrFactorTypeInfo": {
  13039. "get": {
  13040. "security": [
  13041. {
  13042. "ApiKeyAuth": []
  13043. }
  13044. ],
  13045. "produces": [
  13046. "application/json"
  13047. ],
  13048. "tags": [
  13049. "仓单贸易v2"
  13050. ],
  13051. "summary": "查询仓单要素详细信息",
  13052. "parameters": [
  13053. {
  13054. "type": "integer",
  13055. "description": "仓单要素id",
  13056. "name": "wrfactortypeid",
  13057. "in": "query",
  13058. "required": true
  13059. }
  13060. ],
  13061. "responses": {
  13062. "200": {
  13063. "description": "OK",
  13064. "schema": {
  13065. "type": "array",
  13066. "items": {
  13067. "$ref": "#/definitions/models.WrFactorTypeInfo"
  13068. }
  13069. }
  13070. },
  13071. "500": {
  13072. "description": "Internal Server Error",
  13073. "schema": {
  13074. "$ref": "#/definitions/app.Response"
  13075. }
  13076. }
  13077. }
  13078. }
  13079. },
  13080. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  13081. "get": {
  13082. "security": [
  13083. {
  13084. "ApiKeyAuth": []
  13085. }
  13086. ],
  13087. "produces": [
  13088. "application/json"
  13089. ],
  13090. "tags": [
  13091. "仓单贸易v2"
  13092. ],
  13093. "summary": "查询仓单要素详细信息列表项",
  13094. "parameters": [
  13095. {
  13096. "type": "integer",
  13097. "description": "仓单要素id",
  13098. "name": "wrfactortypeid",
  13099. "in": "query",
  13100. "required": true
  13101. }
  13102. ],
  13103. "responses": {
  13104. "200": {
  13105. "description": "OK",
  13106. "schema": {
  13107. "type": "array",
  13108. "items": {
  13109. "$ref": "#/definitions/models.WrTypeItem"
  13110. }
  13111. }
  13112. },
  13113. "500": {
  13114. "description": "Internal Server Error",
  13115. "schema": {
  13116. "$ref": "#/definitions/app.Response"
  13117. }
  13118. }
  13119. }
  13120. }
  13121. },
  13122. "/WrTrade2/QueryWrFinanceBuyApply": {
  13123. "get": {
  13124. "security": [
  13125. {
  13126. "ApiKeyAuth": []
  13127. }
  13128. ],
  13129. "description": "页面 融资信息+ / 申请单",
  13130. "produces": [
  13131. "application/json"
  13132. ],
  13133. "tags": [
  13134. "仓单贸易v2"
  13135. ],
  13136. "summary": "查询融资购买申请",
  13137. "parameters": [
  13138. {
  13139. "type": "integer",
  13140. "description": "用户id",
  13141. "name": "userid",
  13142. "in": "query",
  13143. "required": true
  13144. }
  13145. ],
  13146. "responses": {
  13147. "200": {
  13148. "description": "OK",
  13149. "schema": {
  13150. "type": "array",
  13151. "items": {
  13152. "$ref": "#/definitions/models.WrFinanceBuyApply"
  13153. }
  13154. }
  13155. },
  13156. "500": {
  13157. "description": "Internal Server Error",
  13158. "schema": {
  13159. "$ref": "#/definitions/app.Response"
  13160. }
  13161. }
  13162. }
  13163. }
  13164. },
  13165. "/WrTrade2/QueryWrFriendApply": {
  13166. "get": {
  13167. "security": [
  13168. {
  13169. "ApiKeyAuth": []
  13170. }
  13171. ],
  13172. "produces": [
  13173. "application/json"
  13174. ],
  13175. "tags": [
  13176. "仓单贸易v2"
  13177. ],
  13178. "summary": "查询好友申请记录",
  13179. "parameters": [
  13180. {
  13181. "type": "integer",
  13182. "description": "用户id",
  13183. "name": "userid",
  13184. "in": "query",
  13185. "required": true
  13186. }
  13187. ],
  13188. "responses": {
  13189. "200": {
  13190. "description": "OK",
  13191. "schema": {
  13192. "type": "array",
  13193. "items": {
  13194. "$ref": "#/definitions/models.WrFriendApply"
  13195. }
  13196. }
  13197. },
  13198. "500": {
  13199. "description": "Internal Server Error",
  13200. "schema": {
  13201. "$ref": "#/definitions/app.Response"
  13202. }
  13203. }
  13204. }
  13205. }
  13206. },
  13207. "/WrTrade2/QueryWrGoodsInfo": {
  13208. "get": {
  13209. "security": [
  13210. {
  13211. "ApiKeyAuth": []
  13212. }
  13213. ],
  13214. "produces": [
  13215. "application/json"
  13216. ],
  13217. "tags": [
  13218. "仓单贸易v2"
  13219. ],
  13220. "summary": "查询仓单商品信息",
  13221. "parameters": [
  13222. {
  13223. "type": "integer",
  13224. "description": "仓单贸易市场id",
  13225. "name": "marketid",
  13226. "in": "query"
  13227. },
  13228. {
  13229. "type": "integer",
  13230. "description": "0:仓单预售 1:仓单贸易",
  13231. "name": "haswr",
  13232. "in": "query",
  13233. "required": true
  13234. },
  13235. {
  13236. "type": "integer",
  13237. "description": "仓单要素id",
  13238. "name": "wrfactortypeid",
  13239. "in": "query",
  13240. "required": true
  13241. },
  13242. {
  13243. "type": "integer",
  13244. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  13245. "name": "tmplateid",
  13246. "in": "query"
  13247. }
  13248. ],
  13249. "responses": {
  13250. "200": {
  13251. "description": "OK",
  13252. "schema": {
  13253. "type": "array",
  13254. "items": {
  13255. "$ref": "#/definitions/models.WrGoodsInfo"
  13256. }
  13257. }
  13258. },
  13259. "500": {
  13260. "description": "Internal Server Error",
  13261. "schema": {
  13262. "$ref": "#/definitions/app.Response"
  13263. }
  13264. }
  13265. }
  13266. }
  13267. },
  13268. "/WrTrade2/QueryWrMarketTradeConfig": {
  13269. "get": {
  13270. "security": [
  13271. {
  13272. "ApiKeyAuth": []
  13273. }
  13274. ],
  13275. "produces": [
  13276. "application/json"
  13277. ],
  13278. "tags": [
  13279. "仓单贸易v2"
  13280. ],
  13281. "summary": "查询市场交易参数配置",
  13282. "parameters": [
  13283. {
  13284. "type": "integer",
  13285. "description": "市场id",
  13286. "name": "marketid",
  13287. "in": "query"
  13288. }
  13289. ],
  13290. "responses": {
  13291. "200": {
  13292. "description": "OK",
  13293. "schema": {
  13294. "type": "array",
  13295. "items": {
  13296. "$ref": "#/definitions/models.WrMarketTradeConfig"
  13297. }
  13298. }
  13299. },
  13300. "500": {
  13301. "description": "Internal Server Error",
  13302. "schema": {
  13303. "$ref": "#/definitions/app.Response"
  13304. }
  13305. }
  13306. }
  13307. }
  13308. },
  13309. "/WrTrade2/QueryWrOrderDetail": {
  13310. "get": {
  13311. "security": [
  13312. {
  13313. "ApiKeyAuth": []
  13314. }
  13315. ],
  13316. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  13317. "produces": [
  13318. "application/json"
  13319. ],
  13320. "tags": [
  13321. "仓单贸易v2"
  13322. ],
  13323. "summary": "查询仓单委托单(挂单)",
  13324. "parameters": [
  13325. {
  13326. "type": "integer",
  13327. "description": "页码",
  13328. "name": "page",
  13329. "in": "query"
  13330. },
  13331. {
  13332. "type": "integer",
  13333. "description": "每页条数",
  13334. "name": "pagesize",
  13335. "in": "query"
  13336. },
  13337. {
  13338. "type": "integer",
  13339. "description": "用户id",
  13340. "name": "userid",
  13341. "in": "query",
  13342. "required": true
  13343. },
  13344. {
  13345. "type": "integer",
  13346. "description": "仓单贸易市场id",
  13347. "name": "marketid",
  13348. "in": "query"
  13349. },
  13350. {
  13351. "type": "integer",
  13352. "description": "0:仓单预售 1:仓单贸易",
  13353. "name": "haswr",
  13354. "in": "query",
  13355. "required": true
  13356. },
  13357. {
  13358. "type": "string",
  13359. "description": "开始交易日(yyyymmdd)",
  13360. "name": "begindate",
  13361. "in": "query"
  13362. },
  13363. {
  13364. "type": "string",
  13365. "description": "结束交易日(yyyymmdd)",
  13366. "name": "enddate",
  13367. "in": "query"
  13368. }
  13369. ],
  13370. "responses": {
  13371. "200": {
  13372. "description": "OK",
  13373. "schema": {
  13374. "type": "array",
  13375. "items": {
  13376. "$ref": "#/definitions/models.WrOrderDetail"
  13377. }
  13378. }
  13379. },
  13380. "500": {
  13381. "description": "Internal Server Error",
  13382. "schema": {
  13383. "$ref": "#/definitions/app.Response"
  13384. }
  13385. }
  13386. }
  13387. }
  13388. },
  13389. "/WrTrade2/QueryWrOutInApply": {
  13390. "get": {
  13391. "security": [
  13392. {
  13393. "ApiKeyAuth": []
  13394. }
  13395. ],
  13396. "produces": [
  13397. "application/json"
  13398. ],
  13399. "tags": [
  13400. "仓单贸易v2"
  13401. ],
  13402. "summary": "查询提货申请",
  13403. "parameters": [
  13404. {
  13405. "type": "integer",
  13406. "description": "用户id",
  13407. "name": "userid",
  13408. "in": "query",
  13409. "required": true
  13410. },
  13411. {
  13412. "type": "string",
  13413. "description": "开始交易日(yyyymmdd)",
  13414. "name": "begindate",
  13415. "in": "query"
  13416. },
  13417. {
  13418. "type": "string",
  13419. "description": "结束交易日(yyyymmdd)",
  13420. "name": "enddate",
  13421. "in": "query"
  13422. }
  13423. ],
  13424. "responses": {
  13425. "200": {
  13426. "description": "OK",
  13427. "schema": {
  13428. "type": "array",
  13429. "items": {
  13430. "$ref": "#/definitions/models.WrOutInApply"
  13431. }
  13432. }
  13433. },
  13434. "500": {
  13435. "description": "Internal Server Error",
  13436. "schema": {
  13437. "$ref": "#/definitions/app.Response"
  13438. }
  13439. }
  13440. }
  13441. }
  13442. },
  13443. "/WrTrade2/QueryWrPerformancePlanStep": {
  13444. "get": {
  13445. "security": [
  13446. {
  13447. "ApiKeyAuth": []
  13448. }
  13449. ],
  13450. "produces": [
  13451. "application/json"
  13452. ],
  13453. "tags": [
  13454. "仓单贸易v2"
  13455. ],
  13456. "summary": "查询履约信息详情",
  13457. "parameters": [
  13458. {
  13459. "type": "integer",
  13460. "description": "履约计划id(performanceplanid)",
  13461. "name": "planid",
  13462. "in": "query",
  13463. "required": true
  13464. },
  13465. {
  13466. "type": "integer",
  13467. "description": "当前步骤id",
  13468. "name": "curstepid",
  13469. "in": "query"
  13470. }
  13471. ],
  13472. "responses": {
  13473. "200": {
  13474. "description": "OK",
  13475. "schema": {
  13476. "type": "array",
  13477. "items": {
  13478. "$ref": "#/definitions/models.WrPerformancePlanStep"
  13479. }
  13480. }
  13481. },
  13482. "500": {
  13483. "description": "Internal Server Error",
  13484. "schema": {
  13485. "$ref": "#/definitions/app.Response"
  13486. }
  13487. }
  13488. }
  13489. }
  13490. },
  13491. "/WrTrade2/QueryWrPerformanceStepType": {
  13492. "get": {
  13493. "security": [
  13494. {
  13495. "ApiKeyAuth": []
  13496. }
  13497. ],
  13498. "produces": [
  13499. "application/json"
  13500. ],
  13501. "tags": [
  13502. "仓单贸易v2"
  13503. ],
  13504. "summary": "查询履约步骤枚举",
  13505. "responses": {
  13506. "200": {
  13507. "description": "OK",
  13508. "schema": {
  13509. "type": "array",
  13510. "items": {
  13511. "$ref": "#/definitions/models.WrPerformanceStepType"
  13512. }
  13513. }
  13514. },
  13515. "500": {
  13516. "description": "Internal Server Error",
  13517. "schema": {
  13518. "$ref": "#/definitions/app.Response"
  13519. }
  13520. }
  13521. }
  13522. }
  13523. },
  13524. "/WrTrade2/QueryWrPosition": {
  13525. "get": {
  13526. "security": [
  13527. {
  13528. "ApiKeyAuth": []
  13529. }
  13530. ],
  13531. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  13532. "produces": [
  13533. "application/json"
  13534. ],
  13535. "tags": [
  13536. "仓单贸易v2"
  13537. ],
  13538. "summary": "查询现货(预售)仓单持仓",
  13539. "parameters": [
  13540. {
  13541. "type": "integer",
  13542. "description": "用户id",
  13543. "name": "userid",
  13544. "in": "query",
  13545. "required": true
  13546. },
  13547. {
  13548. "type": "integer",
  13549. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  13550. "name": "querytype",
  13551. "in": "query",
  13552. "required": true
  13553. },
  13554. {
  13555. "type": "integer",
  13556. "description": "0:仓单预售 1:仓单贸易",
  13557. "name": "haswr",
  13558. "in": "query",
  13559. "required": true
  13560. },
  13561. {
  13562. "type": "string",
  13563. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13564. "name": "dgitemname",
  13565. "in": "query"
  13566. },
  13567. {
  13568. "type": "integer",
  13569. "description": "仓库id(筛选条件)",
  13570. "name": "warehouseid",
  13571. "in": "query"
  13572. },
  13573. {
  13574. "type": "integer",
  13575. "description": "品种id",
  13576. "name": "deliverygoodsid",
  13577. "in": "query"
  13578. },
  13579. {
  13580. "type": "integer",
  13581. "description": "品类id",
  13582. "name": "wrstandardid",
  13583. "in": "query"
  13584. }
  13585. ],
  13586. "responses": {
  13587. "200": {
  13588. "description": "OK",
  13589. "schema": {
  13590. "type": "array",
  13591. "items": {
  13592. "$ref": "#/definitions/models.WrPosition"
  13593. }
  13594. }
  13595. },
  13596. "500": {
  13597. "description": "Internal Server Error",
  13598. "schema": {
  13599. "$ref": "#/definitions/app.Response"
  13600. }
  13601. }
  13602. }
  13603. }
  13604. },
  13605. "/WrTrade2/QueryWrScfContract": {
  13606. "get": {
  13607. "security": [
  13608. {
  13609. "ApiKeyAuth": []
  13610. }
  13611. ],
  13612. "produces": [
  13613. "application/json"
  13614. ],
  13615. "tags": [
  13616. "仓单贸易v2"
  13617. ],
  13618. "summary": "查询仓单贸易融资合同",
  13619. "parameters": [
  13620. {
  13621. "type": "integer",
  13622. "description": "用户id",
  13623. "name": "userid",
  13624. "in": "query",
  13625. "required": true
  13626. },
  13627. {
  13628. "type": "integer",
  13629. "description": "融资合同id",
  13630. "name": "scfcontractid",
  13631. "in": "query"
  13632. }
  13633. ],
  13634. "responses": {
  13635. "200": {
  13636. "description": "OK",
  13637. "schema": {
  13638. "type": "array",
  13639. "items": {
  13640. "$ref": "#/definitions/models.WrScfContract"
  13641. }
  13642. }
  13643. },
  13644. "500": {
  13645. "description": "Internal Server Error",
  13646. "schema": {
  13647. "$ref": "#/definitions/app.Response"
  13648. }
  13649. }
  13650. }
  13651. }
  13652. },
  13653. "/WrTrade2/QueryWrScfContractInterest": {
  13654. "get": {
  13655. "security": [
  13656. {
  13657. "ApiKeyAuth": []
  13658. }
  13659. ],
  13660. "produces": [
  13661. "application/json"
  13662. ],
  13663. "tags": [
  13664. "仓单贸易v2"
  13665. ],
  13666. "summary": "查询融资合同费用明细",
  13667. "parameters": [
  13668. {
  13669. "type": "integer",
  13670. "description": "融资合同id",
  13671. "name": "scfcontractid",
  13672. "in": "query"
  13673. }
  13674. ],
  13675. "responses": {
  13676. "200": {
  13677. "description": "OK",
  13678. "schema": {
  13679. "type": "array",
  13680. "items": {
  13681. "$ref": "#/definitions/models.WrScfContractInterest"
  13682. }
  13683. }
  13684. },
  13685. "500": {
  13686. "description": "Internal Server Error",
  13687. "schema": {
  13688. "$ref": "#/definitions/app.Response"
  13689. }
  13690. }
  13691. }
  13692. }
  13693. },
  13694. "/WrTrade2/QueryWrSpecialMatchOrder": {
  13695. "get": {
  13696. "security": [
  13697. {
  13698. "ApiKeyAuth": []
  13699. }
  13700. ],
  13701. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  13702. "produces": [
  13703. "application/json"
  13704. ],
  13705. "tags": [
  13706. "仓单贸易v2"
  13707. ],
  13708. "summary": "查询指定成交",
  13709. "parameters": [
  13710. {
  13711. "type": "integer",
  13712. "description": "页码",
  13713. "name": "page",
  13714. "in": "query"
  13715. },
  13716. {
  13717. "type": "integer",
  13718. "description": "每页条数",
  13719. "name": "pagesize",
  13720. "in": "query"
  13721. },
  13722. {
  13723. "type": "integer",
  13724. "description": "用户id",
  13725. "name": "userid",
  13726. "in": "query",
  13727. "required": true
  13728. },
  13729. {
  13730. "type": "integer",
  13731. "description": "仓单贸易市场id",
  13732. "name": "marketid",
  13733. "in": "query"
  13734. },
  13735. {
  13736. "type": "integer",
  13737. "description": "0:仓单预售 1:仓单贸易",
  13738. "name": "haswr",
  13739. "in": "query",
  13740. "required": true
  13741. },
  13742. {
  13743. "type": "integer",
  13744. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  13745. "name": "isspecified",
  13746. "in": "query"
  13747. }
  13748. ],
  13749. "responses": {
  13750. "200": {
  13751. "description": "OK",
  13752. "schema": {
  13753. "type": "array",
  13754. "items": {
  13755. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  13756. }
  13757. }
  13758. },
  13759. "500": {
  13760. "description": "Internal Server Error",
  13761. "schema": {
  13762. "$ref": "#/definitions/app.Response"
  13763. }
  13764. }
  13765. }
  13766. }
  13767. },
  13768. "/WrTrade2/QueryWrStandardFactoryItem": {
  13769. "get": {
  13770. "security": [
  13771. {
  13772. "ApiKeyAuth": []
  13773. }
  13774. ],
  13775. "produces": [
  13776. "application/json"
  13777. ],
  13778. "tags": [
  13779. "仓单贸易v2"
  13780. ],
  13781. "summary": "查询品类要素定义项",
  13782. "parameters": [
  13783. {
  13784. "type": "integer",
  13785. "description": "品类id",
  13786. "name": "wrstandardid",
  13787. "in": "query",
  13788. "required": true
  13789. }
  13790. ],
  13791. "responses": {
  13792. "200": {
  13793. "description": "OK",
  13794. "schema": {
  13795. "type": "array",
  13796. "items": {
  13797. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  13798. }
  13799. }
  13800. },
  13801. "500": {
  13802. "description": "Internal Server Error",
  13803. "schema": {
  13804. "$ref": "#/definitions/app.Response"
  13805. }
  13806. }
  13807. }
  13808. }
  13809. },
  13810. "/WrTrade2/QueryWrTradeBargainApply": {
  13811. "get": {
  13812. "security": [
  13813. {
  13814. "ApiKeyAuth": []
  13815. }
  13816. ],
  13817. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  13818. "produces": [
  13819. "application/json"
  13820. ],
  13821. "tags": [
  13822. "仓单贸易v2"
  13823. ],
  13824. "summary": "查询议价单",
  13825. "parameters": [
  13826. {
  13827. "type": "integer",
  13828. "description": "议价人id(摘牌方)",
  13829. "name": "userid",
  13830. "in": "query"
  13831. },
  13832. {
  13833. "type": "integer",
  13834. "description": "挂牌方id(查对方议价时,填写此项)",
  13835. "name": "matchuserid",
  13836. "in": "query"
  13837. },
  13838. {
  13839. "type": "integer",
  13840. "description": "关联委托单id",
  13841. "name": "wrtradeorderid",
  13842. "in": "query"
  13843. },
  13844. {
  13845. "type": "integer",
  13846. "description": "0:仓单预售 1:仓单贸易",
  13847. "name": "haswr",
  13848. "in": "query",
  13849. "required": true
  13850. },
  13851. {
  13852. "type": "string",
  13853. "description": "开始交易日(yyyymmdd)",
  13854. "name": "begindate",
  13855. "in": "query"
  13856. },
  13857. {
  13858. "type": "string",
  13859. "description": "结束交易日(yyyymmdd)",
  13860. "name": "enddate",
  13861. "in": "query"
  13862. }
  13863. ],
  13864. "responses": {
  13865. "200": {
  13866. "description": "OK",
  13867. "schema": {
  13868. "type": "array",
  13869. "items": {
  13870. "$ref": "#/definitions/models.WRTradeBargainApply"
  13871. }
  13872. }
  13873. },
  13874. "500": {
  13875. "description": "Internal Server Error",
  13876. "schema": {
  13877. "$ref": "#/definitions/app.Response"
  13878. }
  13879. }
  13880. }
  13881. }
  13882. },
  13883. "/WrTrade2/QueryWrTradeDetail": {
  13884. "get": {
  13885. "security": [
  13886. {
  13887. "ApiKeyAuth": []
  13888. }
  13889. ],
  13890. "produces": [
  13891. "application/json"
  13892. ],
  13893. "tags": [
  13894. "仓单贸易v2"
  13895. ],
  13896. "summary": "查询仓单成交明细",
  13897. "parameters": [
  13898. {
  13899. "type": "integer",
  13900. "description": "页码",
  13901. "name": "page",
  13902. "in": "query"
  13903. },
  13904. {
  13905. "type": "integer",
  13906. "description": "每页条数",
  13907. "name": "pagesize",
  13908. "in": "query"
  13909. },
  13910. {
  13911. "type": "integer",
  13912. "description": "用户id",
  13913. "name": "userid",
  13914. "in": "query",
  13915. "required": true
  13916. },
  13917. {
  13918. "type": "integer",
  13919. "description": "仓单贸易市场id",
  13920. "name": "marketid",
  13921. "in": "query"
  13922. },
  13923. {
  13924. "type": "integer",
  13925. "description": "0:仓单预售 1:仓单贸易",
  13926. "name": "haswr",
  13927. "in": "query",
  13928. "required": true
  13929. },
  13930. {
  13931. "type": "string",
  13932. "description": "开始交易日(yyyymmdd)",
  13933. "name": "begindate",
  13934. "in": "query"
  13935. },
  13936. {
  13937. "type": "string",
  13938. "description": "结束交易日(yyyymmdd)",
  13939. "name": "enddate",
  13940. "in": "query"
  13941. }
  13942. ],
  13943. "responses": {
  13944. "200": {
  13945. "description": "OK",
  13946. "schema": {
  13947. "type": "array",
  13948. "items": {
  13949. "$ref": "#/definitions/models.WrTradeDetail"
  13950. }
  13951. }
  13952. },
  13953. "500": {
  13954. "description": "Internal Server Error",
  13955. "schema": {
  13956. "$ref": "#/definitions/app.Response"
  13957. }
  13958. }
  13959. }
  13960. }
  13961. },
  13962. "/WrTrade2/QueryWrTradeOrderDetail": {
  13963. "get": {
  13964. "security": [
  13965. {
  13966. "ApiKeyAuth": []
  13967. }
  13968. ],
  13969. "produces": [
  13970. "application/json"
  13971. ],
  13972. "tags": [
  13973. "仓单贸易v2"
  13974. ],
  13975. "summary": "查询合约交易买卖大厅",
  13976. "parameters": [
  13977. {
  13978. "type": "integer",
  13979. "description": "页码",
  13980. "name": "page",
  13981. "in": "query"
  13982. },
  13983. {
  13984. "type": "integer",
  13985. "description": "每页条数",
  13986. "name": "pagesize",
  13987. "in": "query"
  13988. },
  13989. {
  13990. "type": "integer",
  13991. "description": "商品id",
  13992. "name": "goodsid",
  13993. "in": "query",
  13994. "required": true
  13995. },
  13996. {
  13997. "type": "integer",
  13998. "description": "买卖方向 0-买 1-卖",
  13999. "name": "buyorsell",
  14000. "in": "query",
  14001. "required": true
  14002. }
  14003. ],
  14004. "responses": {
  14005. "200": {
  14006. "description": "OK",
  14007. "schema": {
  14008. "type": "array",
  14009. "items": {
  14010. "$ref": "#/definitions/models.WrTradeOrderDetail"
  14011. }
  14012. }
  14013. },
  14014. "500": {
  14015. "description": "Internal Server Error",
  14016. "schema": {
  14017. "$ref": "#/definitions/app.Response"
  14018. }
  14019. }
  14020. }
  14021. }
  14022. },
  14023. "/WrTrade2/QueryWrUserFriend": {
  14024. "get": {
  14025. "security": [
  14026. {
  14027. "ApiKeyAuth": []
  14028. }
  14029. ],
  14030. "produces": [
  14031. "application/json"
  14032. ],
  14033. "tags": [
  14034. "仓单贸易v2"
  14035. ],
  14036. "summary": "查询我的朋友",
  14037. "parameters": [
  14038. {
  14039. "type": "integer",
  14040. "description": "用户id",
  14041. "name": "userid",
  14042. "in": "query",
  14043. "required": true
  14044. },
  14045. {
  14046. "type": "integer",
  14047. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  14048. "name": "newuserid",
  14049. "in": "query"
  14050. }
  14051. ],
  14052. "responses": {
  14053. "200": {
  14054. "description": "OK",
  14055. "schema": {
  14056. "type": "array",
  14057. "items": {
  14058. "$ref": "#/definitions/models.WrUserFriend"
  14059. }
  14060. }
  14061. },
  14062. "500": {
  14063. "description": "Internal Server Error",
  14064. "schema": {
  14065. "$ref": "#/definitions/app.Response"
  14066. }
  14067. }
  14068. }
  14069. }
  14070. },
  14071. "/WrTrade2/QueryWrUserReceiptInfo": {
  14072. "get": {
  14073. "security": [
  14074. {
  14075. "ApiKeyAuth": []
  14076. }
  14077. ],
  14078. "produces": [
  14079. "application/json"
  14080. ],
  14081. "tags": [
  14082. "仓单贸易v2"
  14083. ],
  14084. "summary": "查询发票信息",
  14085. "parameters": [
  14086. {
  14087. "type": "integer",
  14088. "description": "用户id",
  14089. "name": "userid",
  14090. "in": "query"
  14091. },
  14092. {
  14093. "type": "integer",
  14094. "description": "发票类型 - 1:个人 2:企业",
  14095. "name": "receipttype",
  14096. "in": "query"
  14097. }
  14098. ],
  14099. "responses": {
  14100. "200": {
  14101. "description": "OK",
  14102. "schema": {
  14103. "type": "array",
  14104. "items": {
  14105. "$ref": "#/definitions/models.WrUserReceiptInfo"
  14106. }
  14107. }
  14108. },
  14109. "500": {
  14110. "description": "Internal Server Error",
  14111. "schema": {
  14112. "$ref": "#/definitions/app.Response"
  14113. }
  14114. }
  14115. }
  14116. }
  14117. },
  14118. "/ZJ/GetBankTip": {
  14119. "get": {
  14120. "produces": [
  14121. "application/json"
  14122. ],
  14123. "tags": [
  14124. "中江"
  14125. ],
  14126. "summary": "获取中江网银端出入金提示信息",
  14127. "responses": {
  14128. "200": {
  14129. "description": "OK",
  14130. "schema": {
  14131. "type": "string"
  14132. }
  14133. },
  14134. "500": {
  14135. "description": "Internal Server Error",
  14136. "schema": {
  14137. "$ref": "#/definitions/app.Response"
  14138. }
  14139. }
  14140. }
  14141. }
  14142. },
  14143. "/ZJ/GetCusBankChannels": {
  14144. "get": {
  14145. "produces": [
  14146. "application/json"
  14147. ],
  14148. "tags": [
  14149. "中江"
  14150. ],
  14151. "summary": "获取中江出入金渠道显示列表",
  14152. "responses": {
  14153. "200": {
  14154. "description": "OK",
  14155. "schema": {
  14156. "type": "array",
  14157. "items": {
  14158. "type": "string"
  14159. }
  14160. }
  14161. },
  14162. "500": {
  14163. "description": "Internal Server Error",
  14164. "schema": {
  14165. "$ref": "#/definitions/app.Response"
  14166. }
  14167. }
  14168. }
  14169. }
  14170. }
  14171. },
  14172. "definitions": {
  14173. "app.Response": {
  14174. "type": "object",
  14175. "properties": {
  14176. "code": {
  14177. "type": "integer"
  14178. },
  14179. "data": {
  14180. "type": "object"
  14181. },
  14182. "msg": {
  14183. "type": "string"
  14184. },
  14185. "page": {
  14186. "description": "页码",
  14187. "type": "integer"
  14188. },
  14189. "pagesize": {
  14190. "description": "每页条数",
  14191. "type": "integer"
  14192. },
  14193. "total": {
  14194. "description": "总条数",
  14195. "type": "integer"
  14196. }
  14197. }
  14198. },
  14199. "common.ClientMenu": {
  14200. "type": "object",
  14201. "properties": {
  14202. "children": {
  14203. "description": "子菜单列表",
  14204. "type": "array",
  14205. "items": {
  14206. "$ref": "#/definitions/common.ClientMenu"
  14207. }
  14208. },
  14209. "code": {
  14210. "description": "ID",
  14211. "type": "string"
  14212. },
  14213. "isshow": {
  14214. "description": "是否显示",
  14215. "type": "boolean"
  14216. },
  14217. "remark": {
  14218. "description": "备注",
  14219. "type": "string"
  14220. },
  14221. "rulekey": {
  14222. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  14223. "type": "string"
  14224. },
  14225. "sort": {
  14226. "description": "排序",
  14227. "type": "integer"
  14228. },
  14229. "title": {
  14230. "description": "标题",
  14231. "type": "string"
  14232. },
  14233. "type": {
  14234. "description": "类型,1:菜单 2:按钮",
  14235. "type": "integer"
  14236. },
  14237. "url": {
  14238. "description": "URL",
  14239. "type": "string"
  14240. }
  14241. }
  14242. },
  14243. "common.PCWebMenu": {
  14244. "type": "object",
  14245. "properties": {
  14246. "auth": {
  14247. "description": "页面权限列表",
  14248. "type": "array",
  14249. "items": {
  14250. "$ref": "#/definitions/common.PCWebMenuAuth"
  14251. }
  14252. },
  14253. "children": {
  14254. "description": "子菜单列表",
  14255. "type": "array",
  14256. "items": {
  14257. "$ref": "#/definitions/common.PCWebMenu"
  14258. }
  14259. },
  14260. "code": {
  14261. "description": "ID,新版本中权限KEY也是这个字段",
  14262. "type": "string"
  14263. },
  14264. "component": {
  14265. "description": "路由组件",
  14266. "type": "string"
  14267. },
  14268. "isshow": {
  14269. "description": "是否显示",
  14270. "type": "boolean"
  14271. },
  14272. "path": {
  14273. "description": "路由路径",
  14274. "type": "string"
  14275. },
  14276. "remark": {
  14277. "description": "备注",
  14278. "type": "string"
  14279. },
  14280. "rulekey": {
  14281. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14282. "type": "string"
  14283. },
  14284. "sort": {
  14285. "description": "排序",
  14286. "type": "integer"
  14287. },
  14288. "title": {
  14289. "description": "标题",
  14290. "type": "string"
  14291. },
  14292. "url": {
  14293. "description": "URL",
  14294. "type": "string"
  14295. }
  14296. }
  14297. },
  14298. "common.PCWebMenuAuth": {
  14299. "type": "object",
  14300. "properties": {
  14301. "code": {
  14302. "description": "ID,新版本中权限KEY也是这个字段",
  14303. "type": "string"
  14304. },
  14305. "isshow": {
  14306. "description": "是否显示",
  14307. "type": "boolean"
  14308. },
  14309. "label": {
  14310. "description": "标题",
  14311. "type": "string"
  14312. },
  14313. "remark": {
  14314. "description": "备注",
  14315. "type": "string"
  14316. },
  14317. "rulekey": {
  14318. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14319. "type": "string"
  14320. }
  14321. }
  14322. },
  14323. "common.QueryImageConfigsRsp": {
  14324. "type": "object",
  14325. "required": [
  14326. "configid"
  14327. ],
  14328. "properties": {
  14329. "areauserid": {
  14330. "description": "所属机构ID",
  14331. "type": "integer"
  14332. },
  14333. "configid": {
  14334. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14335. "type": "integer"
  14336. },
  14337. "createdate": {
  14338. "description": "创建时间",
  14339. "type": "string"
  14340. },
  14341. "creatorid": {
  14342. "description": "创建人",
  14343. "type": "integer"
  14344. },
  14345. "imagepath": {
  14346. "description": "图片",
  14347. "type": "string"
  14348. },
  14349. "imagetype": {
  14350. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  14351. "type": "integer"
  14352. },
  14353. "isshow": {
  14354. "description": "是否展示 - 0:不展示 1:展示",
  14355. "type": "integer"
  14356. },
  14357. "marketid": {
  14358. "description": "市场ID",
  14359. "type": "integer"
  14360. },
  14361. "modifierid": {
  14362. "description": "操作人",
  14363. "type": "integer"
  14364. },
  14365. "sort": {
  14366. "description": "排序",
  14367. "type": "integer"
  14368. },
  14369. "title": {
  14370. "description": "标题",
  14371. "type": "string"
  14372. },
  14373. "trademode": {
  14374. "description": "交易模式",
  14375. "type": "integer"
  14376. },
  14377. "updatedate": {
  14378. "description": "修改时间",
  14379. "type": "string"
  14380. },
  14381. "url": {
  14382. "description": "链接(地址或商品ID)",
  14383. "type": "string"
  14384. },
  14385. "urltype": {
  14386. "description": "链接类型 - 1:直接地址 2:商品ID",
  14387. "type": "integer"
  14388. }
  14389. }
  14390. },
  14391. "common.QueryNoticeRsp": {
  14392. "type": "object",
  14393. "required": [
  14394. "autoid"
  14395. ],
  14396. "properties": {
  14397. "auditoruserid": {
  14398. "description": "审核人",
  14399. "type": "integer"
  14400. },
  14401. "auditremark": {
  14402. "description": "审核备注",
  14403. "type": "string"
  14404. },
  14405. "audittime": {
  14406. "description": "审核日期",
  14407. "type": "string"
  14408. },
  14409. "autoid": {
  14410. "description": "自增ID",
  14411. "type": "integer"
  14412. },
  14413. "content": {
  14414. "description": "内容",
  14415. "type": "string"
  14416. },
  14417. "createtime": {
  14418. "description": "创建时间",
  14419. "type": "string"
  14420. },
  14421. "creatorid": {
  14422. "description": "建仓人",
  14423. "type": "integer"
  14424. },
  14425. "endtime": {
  14426. "description": "结束时间",
  14427. "type": "string"
  14428. },
  14429. "istop": {
  14430. "description": "是否置顶 - 0:不置顶 1:置顶",
  14431. "type": "integer"
  14432. },
  14433. "msgiconurl": {
  14434. "description": "消息图标Url",
  14435. "type": "string"
  14436. },
  14437. "msgtype": {
  14438. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  14439. "type": "integer"
  14440. },
  14441. "publisher": {
  14442. "description": "消息发布者",
  14443. "type": "string"
  14444. },
  14445. "readed": {
  14446. "description": "是否已读",
  14447. "type": "boolean"
  14448. },
  14449. "scheduletime": {
  14450. "description": "计划发送时间",
  14451. "type": "string"
  14452. },
  14453. "sendtype": {
  14454. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  14455. "type": "integer"
  14456. },
  14457. "sentstatus": {
  14458. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  14459. "type": "integer"
  14460. },
  14461. "title": {
  14462. "description": "标题",
  14463. "type": "string"
  14464. },
  14465. "userid": {
  14466. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  14467. "type": "integer"
  14468. }
  14469. }
  14470. },
  14471. "common.QueryProvincesAndCitiesRsp": {
  14472. "type": "object",
  14473. "properties": {
  14474. "cities": {
  14475. "description": "市",
  14476. "type": "array",
  14477. "items": {
  14478. "$ref": "#/definitions/models.Division"
  14479. }
  14480. },
  14481. "province": {
  14482. "description": "省",
  14483. "$ref": "#/definitions/models.Division"
  14484. }
  14485. }
  14486. },
  14487. "common.QueryTableDefineRsp": {
  14488. "type": "object",
  14489. "required": [
  14490. "tablekey"
  14491. ],
  14492. "properties": {
  14493. "columns": {
  14494. "description": "列头信息数组",
  14495. "type": "array",
  14496. "items": {
  14497. "$ref": "#/definitions/models.Tablecolumnconfig"
  14498. }
  14499. },
  14500. "remark": {
  14501. "description": "Remark",
  14502. "type": "string"
  14503. },
  14504. "tabelmenu": {
  14505. "description": "列表菜单",
  14506. "type": "string"
  14507. },
  14508. "tablekey": {
  14509. "description": "列表Key",
  14510. "type": "string"
  14511. },
  14512. "tablename": {
  14513. "description": "列表名称",
  14514. "type": "string"
  14515. },
  14516. "tabletype": {
  14517. "description": "列表类型 - 1:管理端 2:终端",
  14518. "type": "integer"
  14519. }
  14520. }
  14521. },
  14522. "common.QueryTraderMenuRsp": {
  14523. "type": "object",
  14524. "properties": {
  14525. "OperationMenu": {
  14526. "description": "功能菜单",
  14527. "type": "array",
  14528. "items": {
  14529. "$ref": "#/definitions/models.OperationPrimaryMenu"
  14530. }
  14531. },
  14532. "QuoteMenu": {
  14533. "description": "报价牌分类菜单",
  14534. "type": "array",
  14535. "items": {
  14536. "$ref": "#/definitions/models.QuotePrimaryMenu"
  14537. }
  14538. }
  14539. }
  14540. },
  14541. "cptrade.Cptradepositioncancel": {
  14542. "type": "object",
  14543. "required": [
  14544. "cancelid"
  14545. ],
  14546. "properties": {
  14547. "accountid": {
  14548. "description": "申请人账户ID",
  14549. "type": "integer"
  14550. },
  14551. "applystatus": {
  14552. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14553. "type": "integer"
  14554. },
  14555. "applytime": {
  14556. "description": "申请时间",
  14557. "type": "string"
  14558. },
  14559. "cancelid": {
  14560. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  14561. "type": "integer"
  14562. },
  14563. "cancelqty": {
  14564. "description": "注销数量",
  14565. "type": "integer"
  14566. },
  14567. "createtime": {
  14568. "description": "创建时间",
  14569. "type": "string"
  14570. },
  14571. "creatorid": {
  14572. "description": "创建人ID",
  14573. "type": "integer"
  14574. },
  14575. "creatorname": {
  14576. "description": "创建人",
  14577. "type": "string"
  14578. },
  14579. "goodscode": {
  14580. "description": "订单商品代码",
  14581. "type": "string"
  14582. },
  14583. "goodsid": {
  14584. "description": "商品ID",
  14585. "type": "integer"
  14586. },
  14587. "goodsname": {
  14588. "description": "订单商品名称",
  14589. "type": "string"
  14590. },
  14591. "goodunit": {
  14592. "description": "报价单位",
  14593. "type": "string"
  14594. },
  14595. "handlestatus": {
  14596. "description": "处理状态",
  14597. "type": "integer"
  14598. },
  14599. "marketid": {
  14600. "description": "市场ID",
  14601. "type": "integer"
  14602. },
  14603. "marketname": {
  14604. "description": "市场名称",
  14605. "type": "string"
  14606. },
  14607. "tradedate": {
  14608. "description": "交易日(yyyyMMdd)",
  14609. "type": "string"
  14610. },
  14611. "userid": {
  14612. "description": "申请人ID",
  14613. "type": "integer"
  14614. }
  14615. }
  14616. },
  14617. "cptrade.Cptradepresaleapply": {
  14618. "type": "object",
  14619. "required": [
  14620. "applyid"
  14621. ],
  14622. "properties": {
  14623. "accountid": {
  14624. "description": "申请人账户ID",
  14625. "type": "integer"
  14626. },
  14627. "applyid": {
  14628. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  14629. "type": "integer"
  14630. },
  14631. "applyremark": {
  14632. "description": "申请备注",
  14633. "type": "string"
  14634. },
  14635. "applystatus": {
  14636. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14637. "type": "integer"
  14638. },
  14639. "applytime": {
  14640. "description": "申请时间",
  14641. "type": "string"
  14642. },
  14643. "attachmenturl": {
  14644. "description": "附件地址",
  14645. "type": "string"
  14646. },
  14647. "endtime": {
  14648. "description": "预售结束时间",
  14649. "type": "string"
  14650. },
  14651. "goodscode": {
  14652. "description": "商品代码",
  14653. "type": "string"
  14654. },
  14655. "goodsid": {
  14656. "description": "商品ID",
  14657. "type": "integer"
  14658. },
  14659. "goodsname": {
  14660. "description": "商品名称",
  14661. "type": "string"
  14662. },
  14663. "goodunit": {
  14664. "description": "报价单位",
  14665. "type": "string"
  14666. },
  14667. "handlestatus": {
  14668. "description": "处理状态",
  14669. "type": "integer"
  14670. },
  14671. "marketid": {
  14672. "description": "预售市场ID",
  14673. "type": "integer"
  14674. },
  14675. "marketname": {
  14676. "description": "预售市场名称",
  14677. "type": "string"
  14678. },
  14679. "presaleqty": {
  14680. "description": "预售数量",
  14681. "type": "integer"
  14682. },
  14683. "relatedgoodscode": {
  14684. "description": "关联交易合约代码",
  14685. "type": "string"
  14686. },
  14687. "relatedgoodsid": {
  14688. "description": "关联交易合约ID",
  14689. "type": "integer"
  14690. },
  14691. "relatedgoodsname": {
  14692. "description": "关联交易合约名称",
  14693. "type": "string"
  14694. },
  14695. "starttime": {
  14696. "description": "预售开始时间",
  14697. "type": "string"
  14698. },
  14699. "tradedate": {
  14700. "description": "交易日(yyyyMMdd)",
  14701. "type": "string"
  14702. },
  14703. "trademode": {
  14704. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  14705. "type": "integer"
  14706. },
  14707. "userid": {
  14708. "description": "申请人ID",
  14709. "type": "integer"
  14710. }
  14711. }
  14712. },
  14713. "cptrade.Cptradeusergoodsdata": {
  14714. "type": "object",
  14715. "required": [
  14716. "accountid",
  14717. "goodsid"
  14718. ],
  14719. "properties": {
  14720. "EnabledQty": {
  14721. "description": "可用量",
  14722. "type": "integer"
  14723. },
  14724. "GoodsCode": {
  14725. "description": "订单商品代码",
  14726. "type": "string"
  14727. },
  14728. "GoodsName": {
  14729. "description": "订单商品名称",
  14730. "type": "string"
  14731. },
  14732. "WRStandardCode": {
  14733. "description": "仓单标准代码",
  14734. "type": "string"
  14735. },
  14736. "WRStandardName": {
  14737. "description": "仓单标准名称",
  14738. "type": "string"
  14739. },
  14740. "accountid": {
  14741. "description": "账户ID",
  14742. "type": "integer"
  14743. },
  14744. "cancelqty": {
  14745. "description": "注销量",
  14746. "type": "integer"
  14747. },
  14748. "curpresaleqty": {
  14749. "description": "当前预售量",
  14750. "type": "integer"
  14751. },
  14752. "deliveryqty": {
  14753. "description": "交割量",
  14754. "type": "integer"
  14755. },
  14756. "freezeamount": {
  14757. "description": "冻结金额",
  14758. "type": "number"
  14759. },
  14760. "goodsid": {
  14761. "description": "商品ID",
  14762. "type": "integer"
  14763. },
  14764. "goodunit": {
  14765. "description": "报价单位",
  14766. "type": "string"
  14767. },
  14768. "hasspotfreeze": {
  14769. "description": "是否有现货冻结 - 0:否 1:有",
  14770. "type": "integer"
  14771. },
  14772. "inqty": {
  14773. "description": "转入量(总数量)",
  14774. "type": "integer"
  14775. },
  14776. "marketid": {
  14777. "description": "市场ID",
  14778. "type": "integer"
  14779. },
  14780. "presaledamount": {
  14781. "description": "已预售总金额",
  14782. "type": "integer"
  14783. },
  14784. "presaledqty": {
  14785. "description": "已预售量",
  14786. "type": "integer"
  14787. },
  14788. "userid": {
  14789. "description": "用户ID",
  14790. "type": "integer"
  14791. },
  14792. "wrstandardid": {
  14793. "description": "仓单标准ID",
  14794. "type": "integer"
  14795. }
  14796. }
  14797. },
  14798. "cptrade.QueryCPTradeMyBidRsp": {
  14799. "type": "object",
  14800. "required": [
  14801. "accountid",
  14802. "goodsid",
  14803. "marketid",
  14804. "orderid",
  14805. "orderqty",
  14806. "ordertime",
  14807. "tradeprice",
  14808. "tradeqty"
  14809. ],
  14810. "properties": {
  14811. "accountid": {
  14812. "description": "账户ID[报价币种]",
  14813. "type": "integer"
  14814. },
  14815. "goodsid": {
  14816. "description": "商品ID",
  14817. "type": "integer"
  14818. },
  14819. "goodunit": {
  14820. "description": "报价单位",
  14821. "type": "string"
  14822. },
  14823. "marketid": {
  14824. "description": "市场ID",
  14825. "type": "integer"
  14826. },
  14827. "orderid": {
  14828. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14829. "type": "integer"
  14830. },
  14831. "orderprice": {
  14832. "description": "委托价格",
  14833. "type": "number"
  14834. },
  14835. "orderqty": {
  14836. "description": "委托数量",
  14837. "type": "integer"
  14838. },
  14839. "ordertime": {
  14840. "description": "委托时间",
  14841. "type": "string"
  14842. },
  14843. "ordertotalprice": {
  14844. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  14845. "type": "number"
  14846. },
  14847. "ordertotalweight": {
  14848. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  14849. "type": "integer"
  14850. },
  14851. "totaltotalprice": {
  14852. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  14853. "type": "number"
  14854. },
  14855. "tradeprice": {
  14856. "description": "成交价格",
  14857. "type": "number"
  14858. },
  14859. "tradeqty": {
  14860. "description": "成交数量",
  14861. "type": "integer"
  14862. }
  14863. }
  14864. },
  14865. "cptrade.QueryCPTradeOrderDetailRsq": {
  14866. "type": "object",
  14867. "required": [
  14868. "accountid",
  14869. "buildtype",
  14870. "buyorsell",
  14871. "goodsid",
  14872. "marketid",
  14873. "memberuserid",
  14874. "operatetype",
  14875. "orderqty",
  14876. "ordertime",
  14877. "pricemode",
  14878. "strorderid",
  14879. "tradedate",
  14880. "validtype"
  14881. ],
  14882. "properties": {
  14883. "accountid": {
  14884. "description": "账户ID[报价币种]",
  14885. "type": "integer"
  14886. },
  14887. "buildtype": {
  14888. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  14889. "type": "integer"
  14890. },
  14891. "buyorsell": {
  14892. "description": "买卖 - 0:买 1:卖",
  14893. "type": "integer"
  14894. },
  14895. "cancelorderid": {
  14896. "description": "撤单单号(撤单时填写)",
  14897. "type": "integer"
  14898. },
  14899. "cancelqty": {
  14900. "description": "撤单数量",
  14901. "type": "integer"
  14902. },
  14903. "clientordertime": {
  14904. "description": "客户端委托时间",
  14905. "type": "string"
  14906. },
  14907. "clientticket": {
  14908. "description": "客户端流水号",
  14909. "type": "string"
  14910. },
  14911. "clienttype": {
  14912. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14913. "type": "integer"
  14914. },
  14915. "closeexchagechargevalue": {
  14916. "description": "平仓交易所手续费设置值",
  14917. "type": "number"
  14918. },
  14919. "closefeealgorithm": {
  14920. "description": "平仓手续费收取方式 1:比率 2:固定",
  14921. "type": "integer"
  14922. },
  14923. "closefreezecharge": {
  14924. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  14925. "type": "number"
  14926. },
  14927. "closememberchargevalue": {
  14928. "description": "平仓会员手续费设置值",
  14929. "type": "number"
  14930. },
  14931. "closeqty": {
  14932. "description": "平仓数量(先建后平操作 需要记录)",
  14933. "type": "integer"
  14934. },
  14935. "closetradeqty": {
  14936. "description": "平仓成交数量(先建后平操作,需要记录)",
  14937. "type": "integer"
  14938. },
  14939. "closeunfreezecharge": {
  14940. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14941. "type": "number"
  14942. },
  14943. "delistingtype": {
  14944. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14945. "type": "integer"
  14946. },
  14947. "freezecharge": {
  14948. "description": "冻结手续费",
  14949. "type": "number"
  14950. },
  14951. "freezemargin": {
  14952. "description": "冻结保证金(冻结交易金额)",
  14953. "type": "number"
  14954. },
  14955. "gcaccountid": {
  14956. "description": "账户ID[合约币种]",
  14957. "type": "integer"
  14958. },
  14959. "goodsid": {
  14960. "description": "商品ID",
  14961. "type": "integer"
  14962. },
  14963. "isconfirmexercise": {
  14964. "description": "是否确认行权- 0:否 1:是",
  14965. "type": "integer"
  14966. },
  14967. "ispreexercise": {
  14968. "description": "是否预申报- 0:否 1:是",
  14969. "type": "integer"
  14970. },
  14971. "listingselecttype": {
  14972. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14973. "type": "integer"
  14974. },
  14975. "marginalgorithm": {
  14976. "description": "保证金收取方式 1:比率 2:固定",
  14977. "type": "integer"
  14978. },
  14979. "marginvalue": {
  14980. "description": "即市保证金设置值",
  14981. "type": "number"
  14982. },
  14983. "marketid": {
  14984. "description": "市场ID",
  14985. "type": "integer"
  14986. },
  14987. "marketmaxsub": {
  14988. "description": "市价最大偏移范围",
  14989. "type": "number"
  14990. },
  14991. "memberuserid": {
  14992. "description": "所属会员UserID",
  14993. "type": "integer"
  14994. },
  14995. "openexchagechargevalue": {
  14996. "description": "建仓交易所手续费设置值",
  14997. "type": "number"
  14998. },
  14999. "openfeealgorithm": {
  15000. "description": "建仓手续费收取方式 1:比率 2:固定",
  15001. "type": "integer"
  15002. },
  15003. "openfreezecharge": {
  15004. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15005. "type": "number"
  15006. },
  15007. "openmemberchargevalue": {
  15008. "description": "建仓会员手续费设置值",
  15009. "type": "number"
  15010. },
  15011. "openqty": {
  15012. "description": "开仓数量(先建后平操作,需要记录)",
  15013. "type": "integer"
  15014. },
  15015. "opentradeqty": {
  15016. "description": "开仓成交数量(先建后平操作,需要记录)",
  15017. "type": "integer"
  15018. },
  15019. "openunfreezecharge": {
  15020. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15021. "type": "number"
  15022. },
  15023. "operatetype": {
  15024. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15025. "type": "integer"
  15026. },
  15027. "operatorid": {
  15028. "description": "登录账号(LoginID)",
  15029. "type": "integer"
  15030. },
  15031. "optiontype": {
  15032. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15033. "type": "integer"
  15034. },
  15035. "orderprice": {
  15036. "description": "委托价格",
  15037. "type": "number"
  15038. },
  15039. "orderqty": {
  15040. "description": "委托数量",
  15041. "type": "integer"
  15042. },
  15043. "ordersrc": {
  15044. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15045. "type": "integer"
  15046. },
  15047. "orderstatus": {
  15048. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15049. "type": "integer"
  15050. },
  15051. "ordertime": {
  15052. "description": "委托时间",
  15053. "type": "string"
  15054. },
  15055. "preexerciseprice": {
  15056. "description": "预申报价格",
  15057. "type": "number"
  15058. },
  15059. "premium": {
  15060. "description": "权利金",
  15061. "type": "number"
  15062. },
  15063. "preorderid": {
  15064. "description": "关联预埋单号(止盈止损单时填写)",
  15065. "type": "integer"
  15066. },
  15067. "pricemode": {
  15068. "description": "取价方式 - 1:市价 2: 限价",
  15069. "type": "integer"
  15070. },
  15071. "quoteid": {
  15072. "description": "报价单ID",
  15073. "type": "integer"
  15074. },
  15075. "relatedid": {
  15076. "description": "关联单号(交割单)",
  15077. "type": "integer"
  15078. },
  15079. "retcode": {
  15080. "description": "错误代码",
  15081. "type": "integer"
  15082. },
  15083. "sessionid": {
  15084. "description": "会话ID",
  15085. "type": "integer"
  15086. },
  15087. "strorderid": {
  15088. "description": "委托单号",
  15089. "type": "string"
  15090. },
  15091. "tradedate": {
  15092. "description": "交易日(yyyyMMdd)",
  15093. "type": "string"
  15094. },
  15095. "tradeproperty": {
  15096. "description": "交易属性",
  15097. "type": "integer"
  15098. },
  15099. "tradeqty": {
  15100. "description": "成交数量",
  15101. "type": "integer"
  15102. },
  15103. "unfreezecharge": {
  15104. "description": "解冻手续费",
  15105. "type": "number"
  15106. },
  15107. "unfreezemargin": {
  15108. "description": "解冻保证金",
  15109. "type": "number"
  15110. },
  15111. "updatetime": {
  15112. "description": "更新时间",
  15113. "type": "string"
  15114. },
  15115. "uuid": {
  15116. "description": "发起端唯一id",
  15117. "type": "string"
  15118. },
  15119. "validtime": {
  15120. "description": "有效期限",
  15121. "type": "string"
  15122. },
  15123. "validtype": {
  15124. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  15125. "type": "integer"
  15126. },
  15127. "volumetype": {
  15128. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  15129. "type": "integer"
  15130. }
  15131. }
  15132. },
  15133. "cptrade.QueryMyCPTradeGoodsRsp": {
  15134. "type": "object",
  15135. "required": [
  15136. "goodscode",
  15137. "goodsid",
  15138. "goodsname",
  15139. "marketid",
  15140. "relatedgoodscode",
  15141. "relatedgoodsname"
  15142. ],
  15143. "properties": {
  15144. "accountid": {
  15145. "description": "卖方账户ID",
  15146. "type": "integer"
  15147. },
  15148. "agreeunit": {
  15149. "description": "合约单位",
  15150. "type": "number"
  15151. },
  15152. "applyid": {
  15153. "description": "关联申请ID",
  15154. "type": "integer"
  15155. },
  15156. "attachmenturl": {
  15157. "description": "附件地址",
  15158. "type": "string"
  15159. },
  15160. "createtime": {
  15161. "description": "创建时间",
  15162. "type": "string"
  15163. },
  15164. "currencyid": {
  15165. "description": "报价货币ID",
  15166. "type": "integer"
  15167. },
  15168. "decimalplace": {
  15169. "description": "报价小数位",
  15170. "type": "integer"
  15171. },
  15172. "endtime": {
  15173. "description": "预售结束时间",
  15174. "type": "string"
  15175. },
  15176. "floorprice": {
  15177. "description": "底价[大宗式竞拍]",
  15178. "type": "number"
  15179. },
  15180. "goodscode": {
  15181. "description": "商品代码(预售)",
  15182. "type": "string"
  15183. },
  15184. "goodsdetail": {
  15185. "description": "详情[大宗]",
  15186. "type": "string"
  15187. },
  15188. "goodsid": {
  15189. "description": "商品ID(自增ID SEQ_GOODS)",
  15190. "type": "integer"
  15191. },
  15192. "goodsname": {
  15193. "description": "商品名称(预售)",
  15194. "type": "string"
  15195. },
  15196. "goodunit": {
  15197. "description": "报价单位",
  15198. "type": "string"
  15199. },
  15200. "goodunitid": {
  15201. "description": "报价单位ID",
  15202. "type": "integer"
  15203. },
  15204. "marketid": {
  15205. "description": "所属市场ID",
  15206. "type": "integer"
  15207. },
  15208. "marketname": {
  15209. "description": "预售市场名称",
  15210. "type": "string"
  15211. },
  15212. "presaledamount": {
  15213. "description": "已预售总金额(预售结束时更新)",
  15214. "type": "number"
  15215. },
  15216. "presaledqty": {
  15217. "description": "已预售量(预售结束时更新)",
  15218. "type": "integer"
  15219. },
  15220. "presalemode": {
  15221. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15222. "type": "integer"
  15223. },
  15224. "presaleqty": {
  15225. "description": "预售数量",
  15226. "type": "integer"
  15227. },
  15228. "refprice": {
  15229. "description": "参考价格[一口价]",
  15230. "type": "number"
  15231. },
  15232. "relatedgoodscode": {
  15233. "description": "商品代码(订单)",
  15234. "type": "string"
  15235. },
  15236. "relatedgoodsid": {
  15237. "description": "关联交易合约ID",
  15238. "type": "integer"
  15239. },
  15240. "relatedgoodsname": {
  15241. "description": "商品名称(订单)",
  15242. "type": "string"
  15243. },
  15244. "relatedmarketid": {
  15245. "description": "关联交易合约市场ID",
  15246. "type": "integer"
  15247. },
  15248. "sellstatus": {
  15249. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15250. "type": "integer"
  15251. },
  15252. "startprice": {
  15253. "description": "起拍价[大宗式竞拍]",
  15254. "type": "number"
  15255. },
  15256. "starttime": {
  15257. "description": "预售开始时间",
  15258. "type": "string"
  15259. },
  15260. "tradedate": {
  15261. "description": "交易日(yyyyMMdd)",
  15262. "type": "string"
  15263. },
  15264. "tradeprice": {
  15265. "description": "成交价[大宗]",
  15266. "type": "number"
  15267. },
  15268. "userid": {
  15269. "description": "卖方用户ID",
  15270. "type": "integer"
  15271. }
  15272. }
  15273. },
  15274. "cptrade.QueryPresaleGoodsExRsp": {
  15275. "type": "object",
  15276. "required": [
  15277. "goodsid"
  15278. ],
  15279. "properties": {
  15280. "attachmenturl": {
  15281. "description": "附件地址",
  15282. "type": "string"
  15283. },
  15284. "createtime": {
  15285. "description": "创建时间",
  15286. "type": "string"
  15287. },
  15288. "endtime": {
  15289. "description": "预售结束时间",
  15290. "type": "string"
  15291. },
  15292. "floorprice": {
  15293. "description": "底价[大宗式竞拍]",
  15294. "type": "number"
  15295. },
  15296. "goodsdetail": {
  15297. "description": "详情[大宗]",
  15298. "type": "string"
  15299. },
  15300. "goodsid": {
  15301. "description": "商品ID(预售)",
  15302. "type": "integer"
  15303. },
  15304. "goodunit": {
  15305. "description": "报价单位",
  15306. "type": "string"
  15307. },
  15308. "marketid": {
  15309. "description": "预售市场ID - 根据预售模式选择市场",
  15310. "type": "integer"
  15311. },
  15312. "presaledamount": {
  15313. "description": "已预售总金额(预售结束时更新)",
  15314. "type": "number"
  15315. },
  15316. "presaledqty": {
  15317. "description": "已预售量(预售结束时更新)",
  15318. "type": "integer"
  15319. },
  15320. "presalemode": {
  15321. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15322. "type": "integer"
  15323. },
  15324. "presaleqty": {
  15325. "description": "预售数量",
  15326. "type": "integer"
  15327. },
  15328. "refprice": {
  15329. "description": "参考价格[一口价]",
  15330. "type": "number"
  15331. },
  15332. "relatedgoodsid": {
  15333. "description": "关联交易合约ID",
  15334. "type": "integer"
  15335. },
  15336. "relatedmarketid": {
  15337. "description": "关联交易合约市场ID",
  15338. "type": "integer"
  15339. },
  15340. "sellstatus": {
  15341. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15342. "type": "integer"
  15343. },
  15344. "startprice": {
  15345. "description": "起拍价[大宗式竞拍]",
  15346. "type": "number"
  15347. },
  15348. "starttime": {
  15349. "description": "预售开始时间",
  15350. "type": "string"
  15351. },
  15352. "tradedate": {
  15353. "description": "交易日(yyyyMMdd)",
  15354. "type": "string"
  15355. },
  15356. "tradeprice": {
  15357. "description": "成交价[大宗]",
  15358. "type": "number"
  15359. }
  15360. }
  15361. },
  15362. "delivery.QueryDeliveryRelationRsp": {
  15363. "type": "object",
  15364. "required": [
  15365. "begindate",
  15366. "enddate",
  15367. "goodsid",
  15368. "mindeliveryqty",
  15369. "xdeliveryratio"
  15370. ],
  15371. "properties": {
  15372. "begindate": {
  15373. "description": "起始日期(yyyyMMdd)",
  15374. "type": "string"
  15375. },
  15376. "buytemplateid": {
  15377. "description": "买履约计划模板ID",
  15378. "type": "integer"
  15379. },
  15380. "deliverygoodscode": {
  15381. "description": "品种代码",
  15382. "type": "string"
  15383. },
  15384. "deliverygoodsid": {
  15385. "description": "交割商品",
  15386. "type": "integer"
  15387. },
  15388. "deliverygoodsname": {
  15389. "description": "品种名称",
  15390. "type": "string"
  15391. },
  15392. "deliverymode": {
  15393. "description": "交割方式 - 1:点选式 2:申报式",
  15394. "type": "integer"
  15395. },
  15396. "deliverypricerule": {
  15397. "description": "交割价规则- 1:行情价 2:建仓价",
  15398. "type": "integer"
  15399. },
  15400. "deliverytype": {
  15401. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  15402. "type": "integer"
  15403. },
  15404. "enddate": {
  15405. "description": "结束日期(yyyyMMdd)",
  15406. "type": "string"
  15407. },
  15408. "enumdicname": {
  15409. "description": "品类单位名称",
  15410. "type": "string"
  15411. },
  15412. "goodscode": {
  15413. "description": "商品代码",
  15414. "type": "string"
  15415. },
  15416. "goodsid": {
  15417. "description": "交易合约ID",
  15418. "type": "integer"
  15419. },
  15420. "goodsname": {
  15421. "description": "商品名称",
  15422. "type": "string"
  15423. },
  15424. "marketid": {
  15425. "description": "市场ID",
  15426. "type": "integer"
  15427. },
  15428. "mindeliveryqty": {
  15429. "description": "最小交割系数(K)",
  15430. "type": "integer"
  15431. },
  15432. "p2deliveryprice": {
  15433. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  15434. "type": "number"
  15435. },
  15436. "p2deliveryratio": {
  15437. "description": "P2合约系数(p)",
  15438. "type": "integer"
  15439. },
  15440. "p2goodsid": {
  15441. "description": "P2合约ID",
  15442. "type": "integer"
  15443. },
  15444. "p2pricemode": {
  15445. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  15446. "type": "integer"
  15447. },
  15448. "pdeliveryprice": {
  15449. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  15450. "type": "number"
  15451. },
  15452. "pdeliveryratio": {
  15453. "description": "P合约系数(n)",
  15454. "type": "integer"
  15455. },
  15456. "pgoodscode": {
  15457. "description": "p合约代码",
  15458. "type": "string"
  15459. },
  15460. "pgoodsid": {
  15461. "description": "P合约ID",
  15462. "type": "integer"
  15463. },
  15464. "ppricemode": {
  15465. "description": "P合约价格方式 - 1:商品价 2:固定值",
  15466. "type": "integer"
  15467. },
  15468. "rratio": {
  15469. "description": "兑换系数(R)",
  15470. "type": "integer"
  15471. },
  15472. "rratio1": {
  15473. "description": "兑换系数(交易合约)(R1)",
  15474. "type": "integer"
  15475. },
  15476. "rratio2": {
  15477. "description": "兑换系数(仓单标准)(R2)",
  15478. "type": "integer"
  15479. },
  15480. "selltemplateid": {
  15481. "description": "卖履约计划模板ID",
  15482. "type": "integer"
  15483. },
  15484. "wrstandardid": {
  15485. "description": "仓单标准ID",
  15486. "type": "integer"
  15487. },
  15488. "xdeliveryratio": {
  15489. "description": "交易合约系数(m)",
  15490. "type": "integer"
  15491. }
  15492. }
  15493. },
  15494. "ermcp.ExposureDetailRsp": {
  15495. "type": "object",
  15496. "properties": {
  15497. "areauserid": {
  15498. "description": "机构ID",
  15499. "type": "integer"
  15500. },
  15501. "changeQty": {
  15502. "description": "套保变动量",
  15503. "type": "number"
  15504. },
  15505. "contracttype": {
  15506. "description": "现货合同类型 - 1:采购 -1:销售",
  15507. "type": "integer"
  15508. },
  15509. "convertfactor": {
  15510. "description": "标仓系数",
  15511. "type": "number"
  15512. },
  15513. "convertratio": {
  15514. "description": "套保系数",
  15515. "type": "number"
  15516. },
  15517. "createtime": {
  15518. "description": "时间",
  15519. "type": "string"
  15520. },
  15521. "enumdicname": {
  15522. "description": "现货商品单位名称",
  15523. "type": "string"
  15524. },
  15525. "logtype": {
  15526. "description": "类型 - 1:套保计划 2:现货合同",
  15527. "type": "integer"
  15528. },
  15529. "middlegoodsId": {
  15530. "description": "套保商品id",
  15531. "type": "integer"
  15532. },
  15533. "middlegoodscode": {
  15534. "description": "套保商品代码",
  15535. "type": "string"
  15536. },
  15537. "middlegoodsname": {
  15538. "description": "套保商品名称",
  15539. "type": "string"
  15540. },
  15541. "qty": {
  15542. "description": "数量",
  15543. "type": "number"
  15544. },
  15545. "relateNo": {
  15546. "description": "现货合同/套保计划编号",
  15547. "type": "string"
  15548. },
  15549. "wrstandardcode": {
  15550. "description": "现货商品代码",
  15551. "type": "string"
  15552. },
  15553. "wrstandardid": {
  15554. "description": "现货商品ID",
  15555. "type": "integer"
  15556. },
  15557. "wrstandardname": {
  15558. "description": "现货商品名称",
  15559. "type": "string"
  15560. }
  15561. }
  15562. },
  15563. "ermcp.ExposureHedgePosDetailRsp": {
  15564. "type": "object",
  15565. "properties": {
  15566. "buyorsell": {
  15567. "description": "买卖方向 0-买 1-卖",
  15568. "type": "integer"
  15569. },
  15570. "channelbuildtype": {
  15571. "description": "开平方向 1-建仓 2-平仓",
  15572. "type": "integer"
  15573. },
  15574. "goodscode": {
  15575. "description": "商品代码",
  15576. "type": "string"
  15577. },
  15578. "goodsname": {
  15579. "description": "商品名称",
  15580. "type": "string"
  15581. },
  15582. "hedgegoodsid": {
  15583. "description": "商品id",
  15584. "type": "integer"
  15585. },
  15586. "tradeqty": {
  15587. "description": "数量(成交数量)",
  15588. "type": "integer"
  15589. },
  15590. "tradetime": {
  15591. "description": "时间(成交时间)",
  15592. "type": "string"
  15593. }
  15594. }
  15595. },
  15596. "ermcp.ExposureHedgePositionRsp": {
  15597. "type": "object",
  15598. "properties": {
  15599. "accountid": {
  15600. "description": "资金账号[外部母账户]",
  15601. "type": "integer"
  15602. },
  15603. "curbuyposition": {
  15604. "description": "期末买头寸",
  15605. "type": "integer"
  15606. },
  15607. "cursellposition": {
  15608. "description": "期末卖头寸",
  15609. "type": "integer"
  15610. },
  15611. "curtdbuyposition": {
  15612. "description": "期末今日买头寸",
  15613. "type": "integer"
  15614. },
  15615. "curtdsellposition": {
  15616. "description": "期末今日卖头寸",
  15617. "type": "integer"
  15618. },
  15619. "curydbuyposition": {
  15620. "description": "期末上日买头寸",
  15621. "type": "integer"
  15622. },
  15623. "curydsellposition": {
  15624. "description": "期末上日卖头寸",
  15625. "type": "integer"
  15626. },
  15627. "decreaseqty": {
  15628. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15629. "type": "integer"
  15630. },
  15631. "fretdbuyposition": {
  15632. "description": "冻结今日买头寸",
  15633. "type": "integer"
  15634. },
  15635. "fretdsellposition": {
  15636. "description": "冻结今日卖头寸",
  15637. "type": "integer"
  15638. },
  15639. "freydbuyposition": {
  15640. "description": "冻结上日买头寸",
  15641. "type": "integer"
  15642. },
  15643. "freydsellposition": {
  15644. "description": "冻结上日卖头寸",
  15645. "type": "integer"
  15646. },
  15647. "goodscode": {
  15648. "description": "商品代码",
  15649. "type": "string"
  15650. },
  15651. "goodsid": {
  15652. "description": "商品id",
  15653. "type": "integer"
  15654. },
  15655. "goodsname": {
  15656. "description": "商品名称",
  15657. "type": "string"
  15658. },
  15659. "hedgeaccountcode": {
  15660. "description": "对冲账号",
  15661. "type": "string"
  15662. },
  15663. "hedgegoodsid": {
  15664. "description": "对冲合约ID",
  15665. "type": "integer"
  15666. },
  15667. "increaseqty": {
  15668. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15669. "type": "integer"
  15670. },
  15671. "marketid": {
  15672. "description": "市场ID",
  15673. "type": "integer"
  15674. },
  15675. "relateduserid": {
  15676. "description": "关联用户id",
  15677. "type": "integer"
  15678. },
  15679. "totalcurqty": {
  15680. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15681. "type": "integer"
  15682. },
  15683. "totalydqty": {
  15684. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15685. "type": "integer"
  15686. },
  15687. "tradedate": {
  15688. "description": "交易日(yyyyMMdd)",
  15689. "type": "string"
  15690. },
  15691. "ydbuyposition": {
  15692. "description": "期初买头寸",
  15693. "type": "integer"
  15694. },
  15695. "ydsellposition": {
  15696. "description": "期初卖头寸",
  15697. "type": "integer"
  15698. }
  15699. }
  15700. },
  15701. "ermcp.ExposureSpotDetailRsp": {
  15702. "type": "object",
  15703. "properties": {
  15704. "contracttype": {
  15705. "description": "合同类型 1-采购 -1-销售",
  15706. "type": "integer"
  15707. },
  15708. "createtime": {
  15709. "description": "创建时间",
  15710. "type": "string"
  15711. },
  15712. "enumdicname": {
  15713. "description": "现货商品单位名称",
  15714. "type": "string"
  15715. },
  15716. "logtype": {
  15717. "description": "记录类型 1-套保 2-现货合同",
  15718. "type": "integer"
  15719. },
  15720. "qty": {
  15721. "description": "数量",
  15722. "type": "number"
  15723. },
  15724. "recordname": {
  15725. "description": "类型名称",
  15726. "type": "string"
  15727. },
  15728. "relatedid": {
  15729. "description": "套保计划ID/现货合同ID",
  15730. "type": "string"
  15731. },
  15732. "relatedno": {
  15733. "description": "编号",
  15734. "type": "string"
  15735. },
  15736. "strtime": {
  15737. "description": "时间",
  15738. "type": "string"
  15739. },
  15740. "wrstandardcode": {
  15741. "description": "现货商品代码",
  15742. "type": "string"
  15743. },
  15744. "wrstandardname": {
  15745. "description": "现货商品名称",
  15746. "type": "string"
  15747. }
  15748. }
  15749. },
  15750. "ermcp.ExposureSpotRsp": {
  15751. "type": "object",
  15752. "properties": {
  15753. "areauserid": {
  15754. "description": "所属机构",
  15755. "type": "integer"
  15756. },
  15757. "decreaseqty": {
  15758. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15759. "type": "number"
  15760. },
  15761. "increaseqty": {
  15762. "description": "增加数量=销售计划数量+采购已定价数量",
  15763. "type": "number"
  15764. },
  15765. "oritoalspotqty": {
  15766. "description": "昨日数量",
  15767. "type": "number"
  15768. },
  15769. "totalspotqty": {
  15770. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15771. "type": "number"
  15772. },
  15773. "updatetime": {
  15774. "description": "更新时间",
  15775. "type": "string"
  15776. },
  15777. "wrstandardcode": {
  15778. "description": "现货品种代码",
  15779. "type": "string"
  15780. },
  15781. "wrstandardid": {
  15782. "description": "现货商品ID",
  15783. "type": "integer"
  15784. },
  15785. "wrstandardname": {
  15786. "description": "现货品种",
  15787. "type": "string"
  15788. }
  15789. }
  15790. },
  15791. "ermcp.HisExposureRsp": {
  15792. "type": "object",
  15793. "properties": {
  15794. "data": {
  15795. "description": "历史敞口",
  15796. "type": "array",
  15797. "items": {
  15798. "$ref": "#/definitions/models.ErmcpHisExposure"
  15799. }
  15800. },
  15801. "enumdicname": {
  15802. "description": "单位名称",
  15803. "type": "string"
  15804. },
  15805. "middlegoodscode": {
  15806. "description": "套保品种代码",
  15807. "type": "string"
  15808. },
  15809. "middlegoodsid": {
  15810. "description": "套保品种ID",
  15811. "type": "integer"
  15812. },
  15813. "middlegoodsname": {
  15814. "description": "套保品种名称",
  15815. "type": "string"
  15816. }
  15817. }
  15818. },
  15819. "ermcp.PendingAuditCntRsp": {
  15820. "type": "object",
  15821. "properties": {
  15822. "areastockqty": {
  15823. "description": "待审核数量: 库存申请",
  15824. "type": "integer"
  15825. },
  15826. "businessdjqty": {
  15827. "description": "待审核数量: 点价",
  15828. "type": "integer"
  15829. },
  15830. "businessfpqty": {
  15831. "description": "待审核数量: 发票",
  15832. "type": "integer"
  15833. },
  15834. "businessjsqty": {
  15835. "description": "待审核数量: 结算",
  15836. "type": "integer"
  15837. },
  15838. "businesskxqty": {
  15839. "description": "待审核数量: 款项",
  15840. "type": "integer"
  15841. },
  15842. "hedgeplanqty": {
  15843. "description": "待审核数量: 套保计划",
  15844. "type": "integer"
  15845. },
  15846. "spotcontractqty": {
  15847. "description": "待审核数量: 现货合同",
  15848. "type": "integer"
  15849. },
  15850. "userqty": {
  15851. "description": "待审核数量: 用户",
  15852. "type": "integer"
  15853. }
  15854. }
  15855. },
  15856. "ermcp.QryAvalidGPRsp": {
  15857. "type": "object",
  15858. "properties": {
  15859. "goodsgroupid": {
  15860. "description": "期货品种id",
  15861. "type": "integer"
  15862. },
  15863. "goodsgroupname": {
  15864. "description": "期货品种名称",
  15865. "type": "string"
  15866. },
  15867. "goodunitid": {
  15868. "description": "品种单位id",
  15869. "type": "integer"
  15870. },
  15871. "goodunitname": {
  15872. "description": "品种单位名称",
  15873. "type": "string"
  15874. },
  15875. "outergroupcode": {
  15876. "description": "期货品种代码",
  15877. "type": "string"
  15878. }
  15879. }
  15880. },
  15881. "ermcp.QryBusinessDjRsp": {
  15882. "type": "object",
  15883. "properties": {
  15884. "amount": {
  15885. "description": "点价金额=(点价价格+升贴水)*点价数量",
  15886. "type": "number"
  15887. },
  15888. "applyid": {
  15889. "description": "申请人",
  15890. "type": "string"
  15891. },
  15892. "applyname": {
  15893. "description": "申请人名称",
  15894. "type": "string"
  15895. },
  15896. "applystatus": {
  15897. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15898. "type": "integer"
  15899. },
  15900. "applytime": {
  15901. "description": "申请时间",
  15902. "type": "string"
  15903. },
  15904. "attachurl": {
  15905. "description": "附件",
  15906. "type": "string"
  15907. },
  15908. "auditid": {
  15909. "description": "审核人ID",
  15910. "type": "string"
  15911. },
  15912. "auditname": {
  15913. "description": "审核人名称",
  15914. "type": "string"
  15915. },
  15916. "auditremark": {
  15917. "description": "审核备注",
  15918. "type": "string"
  15919. },
  15920. "audittime": {
  15921. "description": "审核时间",
  15922. "type": "string"
  15923. },
  15924. "buyusername": {
  15925. "description": "采购方名称",
  15926. "type": "string"
  15927. },
  15928. "contractno": {
  15929. "description": "合同编号",
  15930. "type": "string"
  15931. },
  15932. "contractstatus": {
  15933. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15934. "type": "integer"
  15935. },
  15936. "contracttype": {
  15937. "description": "现货合同类型 - 1:采购 -1:销售",
  15938. "type": "integer"
  15939. },
  15940. "deliverygoodscode": {
  15941. "description": "现货品种代码",
  15942. "type": "string"
  15943. },
  15944. "deliverygoodsid": {
  15945. "description": "现货商品ID",
  15946. "type": "integer"
  15947. },
  15948. "deliverygoodsname": {
  15949. "description": "现货品种名称",
  15950. "type": "string"
  15951. },
  15952. "enumdicname": {
  15953. "description": "单位名称",
  15954. "type": "string"
  15955. },
  15956. "goodscode": {
  15957. "description": "点价合约",
  15958. "type": "string"
  15959. },
  15960. "goodsname": {
  15961. "description": "商品名称",
  15962. "type": "string"
  15963. },
  15964. "operateapplyid": {
  15965. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15966. "type": "string"
  15967. },
  15968. "operateapplytype": {
  15969. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15970. "type": "integer"
  15971. },
  15972. "pricedPrice": {
  15973. "description": "点价价格(非必填)",
  15974. "type": "number"
  15975. },
  15976. "pricedQty": {
  15977. "description": "点价数量(非必填)",
  15978. "type": "number"
  15979. },
  15980. "pricemove": {
  15981. "description": "升贴水",
  15982. "type": "number"
  15983. },
  15984. "pricetype": {
  15985. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15986. "type": "integer"
  15987. },
  15988. "relatedid": {
  15989. "description": "现货合同ID",
  15990. "type": "string"
  15991. },
  15992. "sellusername": {
  15993. "description": "销售方名字",
  15994. "type": "string"
  15995. },
  15996. "userid": {
  15997. "description": "用户ID",
  15998. "type": "integer"
  15999. },
  16000. "wrstandardcode": {
  16001. "description": "品类代码",
  16002. "type": "string"
  16003. },
  16004. "wrstandardid": {
  16005. "description": "品类id",
  16006. "type": "integer"
  16007. },
  16008. "wrstandardname": {
  16009. "description": "品类名称",
  16010. "type": "string"
  16011. }
  16012. }
  16013. },
  16014. "ermcp.QryBussinessFpRsp": {
  16015. "type": "object",
  16016. "properties": {
  16017. "applyid": {
  16018. "description": "申请人",
  16019. "type": "string"
  16020. },
  16021. "applyname": {
  16022. "description": "申请人名称",
  16023. "type": "string"
  16024. },
  16025. "applystatus": {
  16026. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16027. "type": "integer"
  16028. },
  16029. "applytime": {
  16030. "description": "申请时间",
  16031. "type": "string"
  16032. },
  16033. "attachurl": {
  16034. "description": "附件",
  16035. "type": "string"
  16036. },
  16037. "auditid": {
  16038. "description": "审核人ID",
  16039. "type": "string"
  16040. },
  16041. "auditname": {
  16042. "description": "审核人名称",
  16043. "type": "string"
  16044. },
  16045. "auditremark": {
  16046. "description": "审核备注",
  16047. "type": "string"
  16048. },
  16049. "audittime": {
  16050. "description": "审核时间",
  16051. "type": "string"
  16052. },
  16053. "buyusername": {
  16054. "description": "采购方名称",
  16055. "type": "string"
  16056. },
  16057. "contractno": {
  16058. "description": "合同编号",
  16059. "type": "string"
  16060. },
  16061. "contractstatus": {
  16062. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16063. "type": "integer"
  16064. },
  16065. "contracttype": {
  16066. "description": "现货合同类型 - 1:采购 -1:销售",
  16067. "type": "integer"
  16068. },
  16069. "deliverygoodscode": {
  16070. "description": "现货品种代码",
  16071. "type": "string"
  16072. },
  16073. "deliverygoodsid": {
  16074. "description": "现货商品ID",
  16075. "type": "integer"
  16076. },
  16077. "deliverygoodsname": {
  16078. "description": "现货品种名称",
  16079. "type": "string"
  16080. },
  16081. "enumdicname": {
  16082. "description": "单位名称",
  16083. "type": "string"
  16084. },
  16085. "goodscode": {
  16086. "description": "点价合约",
  16087. "type": "string"
  16088. },
  16089. "goodsname": {
  16090. "description": "商品名称",
  16091. "type": "string"
  16092. },
  16093. "invoiceamount": {
  16094. "description": "已开收票金额(销售为开票,采购为收票)",
  16095. "type": "number"
  16096. },
  16097. "operateapplyid": {
  16098. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16099. "type": "string"
  16100. },
  16101. "operateapplytype": {
  16102. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16103. "type": "integer"
  16104. },
  16105. "pricemove": {
  16106. "description": "升贴水",
  16107. "type": "number"
  16108. },
  16109. "pricetype": {
  16110. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16111. "type": "integer"
  16112. },
  16113. "relatedid": {
  16114. "description": "现货合同ID",
  16115. "type": "string"
  16116. },
  16117. "sellusername": {
  16118. "description": "销售方名字",
  16119. "type": "string"
  16120. },
  16121. "userid": {
  16122. "description": "用户ID",
  16123. "type": "integer"
  16124. },
  16125. "wrstandardcode": {
  16126. "description": "品类代码",
  16127. "type": "string"
  16128. },
  16129. "wrstandardid": {
  16130. "description": "品类id",
  16131. "type": "integer"
  16132. },
  16133. "wrstandardname": {
  16134. "description": "品类名称",
  16135. "type": "string"
  16136. }
  16137. }
  16138. },
  16139. "ermcp.QryBussinessJsExRsp": {
  16140. "type": "object",
  16141. "properties": {
  16142. "applyid": {
  16143. "description": "申请人",
  16144. "type": "string"
  16145. },
  16146. "applyname": {
  16147. "description": "申请人名称",
  16148. "type": "string"
  16149. },
  16150. "applystatus": {
  16151. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16152. "type": "integer"
  16153. },
  16154. "applytime": {
  16155. "description": "申请时间",
  16156. "type": "string"
  16157. },
  16158. "attachurl": {
  16159. "description": "附件",
  16160. "type": "string"
  16161. },
  16162. "auditid": {
  16163. "description": "审核人ID",
  16164. "type": "string"
  16165. },
  16166. "auditname": {
  16167. "description": "审核人名称",
  16168. "type": "string"
  16169. },
  16170. "auditremark": {
  16171. "description": "审核备注",
  16172. "type": "string"
  16173. },
  16174. "audittime": {
  16175. "description": "审核时间",
  16176. "type": "string"
  16177. },
  16178. "buyusername": {
  16179. "description": "采购方名称",
  16180. "type": "string"
  16181. },
  16182. "contractno": {
  16183. "description": "合同编号",
  16184. "type": "string"
  16185. },
  16186. "contractstatus": {
  16187. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16188. "type": "integer"
  16189. },
  16190. "contracttype": {
  16191. "description": "现货合同类型 - 1:采购 -1:销售",
  16192. "type": "integer"
  16193. },
  16194. "deliverygoodscode": {
  16195. "description": "现货品种代码",
  16196. "type": "string"
  16197. },
  16198. "deliverygoodsid": {
  16199. "description": "现货商品ID",
  16200. "type": "integer"
  16201. },
  16202. "deliverygoodsname": {
  16203. "description": "现货品种名称",
  16204. "type": "string"
  16205. },
  16206. "enumdicname": {
  16207. "description": "单位名称",
  16208. "type": "string"
  16209. },
  16210. "goodscode": {
  16211. "description": "点价合约",
  16212. "type": "string"
  16213. },
  16214. "goodsname": {
  16215. "description": "商品名称",
  16216. "type": "string"
  16217. },
  16218. "operateapplyid": {
  16219. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16220. "type": "string"
  16221. },
  16222. "operateapplytype": {
  16223. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16224. "type": "integer"
  16225. },
  16226. "pricemove": {
  16227. "description": "升贴水",
  16228. "type": "number"
  16229. },
  16230. "pricetype": {
  16231. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16232. "type": "integer"
  16233. },
  16234. "reckontype": {
  16235. "description": "结算类型",
  16236. "type": "string"
  16237. },
  16238. "reckonvalue": {
  16239. "description": "值",
  16240. "type": "number"
  16241. },
  16242. "relatedid": {
  16243. "description": "现货合同ID",
  16244. "type": "string"
  16245. },
  16246. "sellusername": {
  16247. "description": "销售方名字",
  16248. "type": "string"
  16249. },
  16250. "userid": {
  16251. "description": "用户ID",
  16252. "type": "integer"
  16253. },
  16254. "wrstandardcode": {
  16255. "description": "品类代码",
  16256. "type": "string"
  16257. },
  16258. "wrstandardid": {
  16259. "description": "品类id",
  16260. "type": "integer"
  16261. },
  16262. "wrstandardname": {
  16263. "description": "品类名称",
  16264. "type": "string"
  16265. }
  16266. }
  16267. },
  16268. "ermcp.QryBussinessJsRsp": {
  16269. "type": "object",
  16270. "properties": {
  16271. "addmargin": {
  16272. "description": "追加保证金(非必填)",
  16273. "type": "number"
  16274. },
  16275. "applyid": {
  16276. "description": "申请人",
  16277. "type": "string"
  16278. },
  16279. "applyname": {
  16280. "description": "申请人名称",
  16281. "type": "string"
  16282. },
  16283. "applystatus": {
  16284. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16285. "type": "integer"
  16286. },
  16287. "applytime": {
  16288. "description": "申请时间",
  16289. "type": "string"
  16290. },
  16291. "attachurl": {
  16292. "description": "附件",
  16293. "type": "string"
  16294. },
  16295. "auditid": {
  16296. "description": "审核人ID",
  16297. "type": "string"
  16298. },
  16299. "auditname": {
  16300. "description": "审核人名称",
  16301. "type": "string"
  16302. },
  16303. "auditremark": {
  16304. "description": "审核备注",
  16305. "type": "string"
  16306. },
  16307. "audittime": {
  16308. "description": "审核时间",
  16309. "type": "string"
  16310. },
  16311. "buyusername": {
  16312. "description": "采购方名称",
  16313. "type": "string"
  16314. },
  16315. "contractno": {
  16316. "description": "合同编号",
  16317. "type": "string"
  16318. },
  16319. "contractstatus": {
  16320. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16321. "type": "integer"
  16322. },
  16323. "contracttype": {
  16324. "description": "现货合同类型 - 1:采购 -1:销售",
  16325. "type": "integer"
  16326. },
  16327. "decmargin": {
  16328. "description": "减少保证金(非必填)",
  16329. "type": "number"
  16330. },
  16331. "deliverygoodscode": {
  16332. "description": "现货品种代码",
  16333. "type": "string"
  16334. },
  16335. "deliverygoodsid": {
  16336. "description": "现货商品ID",
  16337. "type": "integer"
  16338. },
  16339. "deliverygoodsname": {
  16340. "description": "现货品种名称",
  16341. "type": "string"
  16342. },
  16343. "enumdicname": {
  16344. "description": "单位名称",
  16345. "type": "string"
  16346. },
  16347. "goodscode": {
  16348. "description": "点价合约",
  16349. "type": "string"
  16350. },
  16351. "goodsname": {
  16352. "description": "商品名称",
  16353. "type": "string"
  16354. },
  16355. "operateapplyid": {
  16356. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16357. "type": "string"
  16358. },
  16359. "operateapplytype": {
  16360. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16361. "type": "integer"
  16362. },
  16363. "pricemove": {
  16364. "description": "升贴水",
  16365. "type": "number"
  16366. },
  16367. "pricetype": {
  16368. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16369. "type": "integer"
  16370. },
  16371. "reckonadjustamount": {
  16372. "description": "结算调整金额(非必填)",
  16373. "type": "number"
  16374. },
  16375. "reckonosamount": {
  16376. "description": "结算溢短金额(非必填)",
  16377. "type": "number"
  16378. },
  16379. "reckonotheramount": {
  16380. "description": "结算其他费用(非必填)",
  16381. "type": "number"
  16382. },
  16383. "reckonrealqty": {
  16384. "description": "结算实际数量(非必填)",
  16385. "type": "number"
  16386. },
  16387. "relatedid": {
  16388. "description": "现货合同ID",
  16389. "type": "string"
  16390. },
  16391. "sellusername": {
  16392. "description": "销售方名字",
  16393. "type": "string"
  16394. },
  16395. "userid": {
  16396. "description": "用户ID",
  16397. "type": "integer"
  16398. },
  16399. "wrstandardcode": {
  16400. "description": "品类代码",
  16401. "type": "string"
  16402. },
  16403. "wrstandardid": {
  16404. "description": "品类id",
  16405. "type": "integer"
  16406. },
  16407. "wrstandardname": {
  16408. "description": "品类名称",
  16409. "type": "string"
  16410. }
  16411. }
  16412. },
  16413. "ermcp.QryBussinessKxRsp": {
  16414. "type": "object",
  16415. "properties": {
  16416. "applyid": {
  16417. "description": "申请人",
  16418. "type": "string"
  16419. },
  16420. "applyname": {
  16421. "description": "申请人名称",
  16422. "type": "string"
  16423. },
  16424. "applystatus": {
  16425. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16426. "type": "integer"
  16427. },
  16428. "applytime": {
  16429. "description": "申请时间",
  16430. "type": "string"
  16431. },
  16432. "attachurl": {
  16433. "description": "附件",
  16434. "type": "string"
  16435. },
  16436. "auditid": {
  16437. "description": "审核人ID",
  16438. "type": "string"
  16439. },
  16440. "auditname": {
  16441. "description": "审核人名称",
  16442. "type": "string"
  16443. },
  16444. "auditremark": {
  16445. "description": "审核备注",
  16446. "type": "string"
  16447. },
  16448. "audittime": {
  16449. "description": "审核时间",
  16450. "type": "string"
  16451. },
  16452. "buyusername": {
  16453. "description": "采购方名称",
  16454. "type": "string"
  16455. },
  16456. "contractno": {
  16457. "description": "合同编号",
  16458. "type": "string"
  16459. },
  16460. "contractstatus": {
  16461. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16462. "type": "integer"
  16463. },
  16464. "contracttype": {
  16465. "description": "现货合同类型 - 1:采购 -1:销售",
  16466. "type": "integer"
  16467. },
  16468. "deductamount": {
  16469. "description": "退款(非必填)",
  16470. "type": "number"
  16471. },
  16472. "deliverygoodscode": {
  16473. "description": "现货品种代码",
  16474. "type": "string"
  16475. },
  16476. "deliverygoodsid": {
  16477. "description": "现货商品ID",
  16478. "type": "integer"
  16479. },
  16480. "deliverygoodsname": {
  16481. "description": "现货品种名称",
  16482. "type": "string"
  16483. },
  16484. "enumdicname": {
  16485. "description": "单位名称",
  16486. "type": "string"
  16487. },
  16488. "goodscode": {
  16489. "description": "点价合约",
  16490. "type": "string"
  16491. },
  16492. "goodsname": {
  16493. "description": "商品名称",
  16494. "type": "string"
  16495. },
  16496. "kxtype": {
  16497. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  16498. "type": "integer"
  16499. },
  16500. "operateapplyid": {
  16501. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16502. "type": "string"
  16503. },
  16504. "operateapplytype": {
  16505. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16506. "type": "integer"
  16507. },
  16508. "payamount": {
  16509. "description": "收付款(非必填)",
  16510. "type": "number"
  16511. },
  16512. "pricemove": {
  16513. "description": "升贴水",
  16514. "type": "number"
  16515. },
  16516. "pricetype": {
  16517. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16518. "type": "integer"
  16519. },
  16520. "relatedid": {
  16521. "description": "现货合同ID",
  16522. "type": "string"
  16523. },
  16524. "sellusername": {
  16525. "description": "销售方名字",
  16526. "type": "string"
  16527. },
  16528. "userid": {
  16529. "description": "用户ID",
  16530. "type": "integer"
  16531. },
  16532. "wrstandardcode": {
  16533. "description": "品类代码",
  16534. "type": "string"
  16535. },
  16536. "wrstandardid": {
  16537. "description": "品类id",
  16538. "type": "integer"
  16539. },
  16540. "wrstandardname": {
  16541. "description": "品类名称",
  16542. "type": "string"
  16543. }
  16544. }
  16545. },
  16546. "ermcp.QryGGCovertCfgRsp": {
  16547. "type": "object",
  16548. "properties": {
  16549. "convertratio": {
  16550. "description": "折算系数",
  16551. "type": "number"
  16552. },
  16553. "destgoodsgroupid": {
  16554. "description": "目标品种ID",
  16555. "type": "integer"
  16556. },
  16557. "dstcode": {
  16558. "description": "目录品种代码",
  16559. "type": "string"
  16560. },
  16561. "dstexchangecode": {
  16562. "description": "目标期货交易所",
  16563. "type": "string"
  16564. },
  16565. "dstname": {
  16566. "description": "目标品种名称",
  16567. "type": "string"
  16568. },
  16569. "dstunitid": {
  16570. "description": "目标品种单位ID",
  16571. "type": "integer"
  16572. },
  16573. "dstunitidname": {
  16574. "description": "目标品种单位名称",
  16575. "type": "string"
  16576. },
  16577. "modifytime": {
  16578. "description": "修改时间",
  16579. "type": "string"
  16580. },
  16581. "srccode": {
  16582. "description": "源品种代码",
  16583. "type": "string"
  16584. },
  16585. "srcexchangecode": {
  16586. "description": "源期货交易所",
  16587. "type": "string"
  16588. },
  16589. "srcgoodsgroupid": {
  16590. "description": "源品种ID",
  16591. "type": "integer"
  16592. },
  16593. "srcname": {
  16594. "description": "源品种名称",
  16595. "type": "string"
  16596. },
  16597. "srcunitid": {
  16598. "description": "源品种单位ID",
  16599. "type": "integer"
  16600. },
  16601. "srcunitidname": {
  16602. "description": "源品种单位名称",
  16603. "type": "string"
  16604. }
  16605. }
  16606. },
  16607. "ermcp.QryMGChangeLogRsp": {
  16608. "type": "object",
  16609. "properties": {
  16610. "aftervalue": {
  16611. "description": "变更后",
  16612. "type": "number"
  16613. },
  16614. "applyid": {
  16615. "description": "操作人",
  16616. "type": "integer"
  16617. },
  16618. "applyname": {
  16619. "description": "操作人名称",
  16620. "type": "string"
  16621. },
  16622. "applysrc": {
  16623. "description": "操作来源 - 1:管理端 2:终端",
  16624. "type": "integer"
  16625. },
  16626. "beforevalue": {
  16627. "description": "变更前",
  16628. "type": "number"
  16629. },
  16630. "changelogtype": {
  16631. "description": "变更流水类型 - 1:套保比率变更",
  16632. "type": "integer"
  16633. },
  16634. "handlestatus": {
  16635. "description": "处理状态",
  16636. "type": "integer"
  16637. },
  16638. "logdatetime": {
  16639. "description": "流水日期",
  16640. "type": "string"
  16641. },
  16642. "logid": {
  16643. "description": "流水ID",
  16644. "type": "integer"
  16645. },
  16646. "logremark": {
  16647. "description": "流水备注",
  16648. "type": "string"
  16649. },
  16650. "middlegoodsid": {
  16651. "description": "套保品种ID",
  16652. "type": "integer"
  16653. },
  16654. "tradedate": {
  16655. "description": "交易日(yyyyMMdd)",
  16656. "type": "string"
  16657. },
  16658. "updatetime": {
  16659. "description": "更新时间",
  16660. "type": "string"
  16661. }
  16662. }
  16663. },
  16664. "ermcp.QryMiddleGoodsDetailRsp": {
  16665. "type": "object",
  16666. "properties": {
  16667. "cvList": {
  16668. "description": "期货品种折算列表",
  16669. "type": "array",
  16670. "items": {
  16671. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16672. }
  16673. },
  16674. "mg": {
  16675. "description": "套保品种基本信息",
  16676. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16677. },
  16678. "wrcList": {
  16679. "description": "现货品种列表(现货商品折算配置)",
  16680. "type": "array",
  16681. "items": {
  16682. "$ref": "#/definitions/models.WRSConverTDetail"
  16683. }
  16684. }
  16685. }
  16686. },
  16687. "ermcp.QryMiddleGoodsRsp": {
  16688. "type": "object",
  16689. "properties": {
  16690. "areauserid": {
  16691. "description": "机构用户ID",
  16692. "type": "integer"
  16693. },
  16694. "createtime": {
  16695. "description": "修改时间",
  16696. "type": "string"
  16697. },
  16698. "enumdicname": {
  16699. "description": "单位名称",
  16700. "type": "string"
  16701. },
  16702. "evaluateratio": {
  16703. "description": "估价系数",
  16704. "type": "number"
  16705. },
  16706. "goodsgroupid": {
  16707. "description": "关联期货品种ID",
  16708. "type": "integer"
  16709. },
  16710. "goodsunitid": {
  16711. "description": "单位ID",
  16712. "type": "integer"
  16713. },
  16714. "isvalid": {
  16715. "description": "状态 0-无效(停用) 1-有效(正常)",
  16716. "type": "integer"
  16717. },
  16718. "middlegoodscode": {
  16719. "description": "套保品种代码",
  16720. "type": "string"
  16721. },
  16722. "middlegoodsid": {
  16723. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16724. "type": "integer"
  16725. },
  16726. "middlegoodsname": {
  16727. "description": "套保品种名称",
  16728. "type": "string"
  16729. },
  16730. "modifytime": {
  16731. "description": "修改时间",
  16732. "type": "string"
  16733. },
  16734. "needarbitrageratio": {
  16735. "description": "套利比例",
  16736. "type": "number"
  16737. },
  16738. "needhedgeratio": {
  16739. "description": "套保比率",
  16740. "type": "number"
  16741. },
  16742. "qtydecimalplace": {
  16743. "description": "数量小数位",
  16744. "type": "integer"
  16745. },
  16746. "relatedgoodsid": {
  16747. "description": "关联交易商品ID",
  16748. "type": "integer"
  16749. },
  16750. "relatedgoodstype": {
  16751. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16752. "type": "integer"
  16753. },
  16754. "remark": {
  16755. "description": "备注",
  16756. "type": "string"
  16757. }
  16758. }
  16759. },
  16760. "ermcp.QryOPLogRsp": {
  16761. "type": "object",
  16762. "properties": {
  16763. "aftervalue": {
  16764. "description": "变更后",
  16765. "type": "number"
  16766. },
  16767. "applyid": {
  16768. "description": "操作人ID",
  16769. "type": "string"
  16770. },
  16771. "applyname": {
  16772. "description": "操作人名称",
  16773. "type": "string"
  16774. },
  16775. "beforevalue": {
  16776. "description": "变更前",
  16777. "type": "number"
  16778. },
  16779. "biztype": {
  16780. "description": "业务类型 - 1:套保计划 2:现货合同",
  16781. "type": "integer"
  16782. },
  16783. "contracttype": {
  16784. "description": "现货合同类型 - 1:采购 -1:销售",
  16785. "type": "integer"
  16786. },
  16787. "logvalue": {
  16788. "description": "数值",
  16789. "type": "number"
  16790. },
  16791. "operatelogtype": {
  16792. "description": "操作流水类型",
  16793. "type": "integer"
  16794. },
  16795. "operatelogtypedesc": {
  16796. "description": "操作流水类型名称",
  16797. "type": "string"
  16798. },
  16799. "relatedid": {
  16800. "description": "现货合同ID\\套保计划",
  16801. "type": "string"
  16802. },
  16803. "updatetime": {
  16804. "description": "更新时间",
  16805. "type": "string"
  16806. }
  16807. }
  16808. },
  16809. "ermcp.QryUserInfoRsp": {
  16810. "type": "object",
  16811. "properties": {
  16812. "address": {
  16813. "description": "通讯地址",
  16814. "type": "string"
  16815. },
  16816. "attachment1": {
  16817. "description": "附件1",
  16818. "type": "string"
  16819. },
  16820. "audittime": {
  16821. "description": "审核时间",
  16822. "type": "string"
  16823. },
  16824. "cardbackphotourl": {
  16825. "description": "证件反面图片地址",
  16826. "type": "string"
  16827. },
  16828. "cardfrontphotourl": {
  16829. "description": "证件正面图片地址",
  16830. "type": "string"
  16831. },
  16832. "cardnum": {
  16833. "description": "证件号码",
  16834. "type": "string"
  16835. },
  16836. "cardtype": {
  16837. "description": "证件类型",
  16838. "type": "integer"
  16839. },
  16840. "cardtypename": {
  16841. "description": "证件类型名称",
  16842. "type": "string"
  16843. },
  16844. "cityid": {
  16845. "description": "市",
  16846. "type": "integer"
  16847. },
  16848. "contactname": {
  16849. "description": "联系人",
  16850. "type": "string"
  16851. },
  16852. "countryid": {
  16853. "description": "国家",
  16854. "type": "integer"
  16855. },
  16856. "createtime": {
  16857. "description": "创建时间",
  16858. "type": "string"
  16859. },
  16860. "customername": {
  16861. "description": "企业名称",
  16862. "type": "string"
  16863. },
  16864. "districtid": {
  16865. "description": "区域",
  16866. "type": "integer"
  16867. },
  16868. "email": {
  16869. "description": "邮件",
  16870. "type": "string"
  16871. },
  16872. "legalpersonname": {
  16873. "description": "法人姓名(企业)",
  16874. "type": "string"
  16875. },
  16876. "memberuserid": {
  16877. "description": "所属机构ID",
  16878. "type": "integer"
  16879. },
  16880. "mobile": {
  16881. "description": "手机号码",
  16882. "type": "string"
  16883. },
  16884. "modifytime": {
  16885. "description": "修改时间",
  16886. "type": "string"
  16887. },
  16888. "nickname": {
  16889. "description": "昵称",
  16890. "type": "string"
  16891. },
  16892. "provinceid": {
  16893. "description": "省",
  16894. "type": "integer"
  16895. },
  16896. "remark": {
  16897. "description": "备注",
  16898. "type": "string"
  16899. },
  16900. "status": {
  16901. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16902. "type": "integer"
  16903. },
  16904. "statusdesc": {
  16905. "description": "账户状态中文描述",
  16906. "type": "string"
  16907. },
  16908. "taxpayernum": {
  16909. "description": "纳税人识别号",
  16910. "type": "string"
  16911. },
  16912. "telphone": {
  16913. "description": "联系电话",
  16914. "type": "string"
  16915. },
  16916. "userid": {
  16917. "description": "用户ID",
  16918. "type": "integer"
  16919. },
  16920. "userinfotype": {
  16921. "description": "客户类型",
  16922. "type": "string"
  16923. }
  16924. }
  16925. },
  16926. "ermcp.QryWarehouseRsp": {
  16927. "type": "object",
  16928. "properties": {
  16929. "address": {
  16930. "description": "详细地址",
  16931. "type": "string"
  16932. },
  16933. "areauserid": {
  16934. "description": "所属机构",
  16935. "type": "integer"
  16936. },
  16937. "autoid": {
  16938. "description": "自增ID(仓库ID)",
  16939. "type": "integer"
  16940. },
  16941. "cityid": {
  16942. "description": "市",
  16943. "type": "integer"
  16944. },
  16945. "contactname": {
  16946. "description": "联系人",
  16947. "type": "string"
  16948. },
  16949. "contactnum": {
  16950. "description": "联系电话",
  16951. "type": "string"
  16952. },
  16953. "countryid": {
  16954. "description": "国家",
  16955. "type": "integer"
  16956. },
  16957. "createtime": {
  16958. "description": "创建时间",
  16959. "type": "string"
  16960. },
  16961. "districtid": {
  16962. "description": "区",
  16963. "type": "integer"
  16964. },
  16965. "hasvideo": {
  16966. "description": "是否有视频 - 0:无 1:有",
  16967. "type": "integer"
  16968. },
  16969. "provinceid": {
  16970. "description": "省",
  16971. "type": "integer"
  16972. },
  16973. "remark": {
  16974. "description": "审核备注",
  16975. "type": "string"
  16976. },
  16977. "videourl": {
  16978. "description": "视频地址",
  16979. "type": "string"
  16980. },
  16981. "warehousecode": {
  16982. "description": "仓库代码",
  16983. "type": "string"
  16984. },
  16985. "warehousename": {
  16986. "description": "仓库名称",
  16987. "type": "string"
  16988. },
  16989. "warehousestatus": {
  16990. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16991. "type": "integer"
  16992. },
  16993. "warehousetype": {
  16994. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16995. "type": "integer"
  16996. }
  16997. }
  16998. },
  16999. "ermcp.QueryErmcpTradePositionRsp": {
  17000. "type": "object",
  17001. "properties": {
  17002. "agreeunit": {
  17003. "description": "合约单位",
  17004. "type": "number"
  17005. },
  17006. "buyorsell": {
  17007. "description": "方向 - 0:买 1:卖",
  17008. "type": "integer"
  17009. },
  17010. "curpositionqty": {
  17011. "description": "持仓(总仓数量, 期末头寸)",
  17012. "type": "integer"
  17013. },
  17014. "curtdposition": {
  17015. "description": "今仓数量(期末今日头寸)",
  17016. "type": "integer"
  17017. },
  17018. "curtdpositionenabled": {
  17019. "description": "今仓可用",
  17020. "type": "integer"
  17021. },
  17022. "decimalplace": {
  17023. "description": "报价小数位",
  17024. "type": "integer"
  17025. },
  17026. "enableqty": {
  17027. "description": "可用(总仓可用)",
  17028. "type": "integer"
  17029. },
  17030. "exexchangename": {
  17031. "description": "外部交易所名称",
  17032. "type": "string"
  17033. },
  17034. "exexehangecode": {
  17035. "description": "外部交易所代码",
  17036. "type": "string"
  17037. },
  17038. "exexehangeid": {
  17039. "description": "外部交易所id",
  17040. "type": "integer"
  17041. },
  17042. "goodscode": {
  17043. "description": "商品代码(内部)",
  17044. "type": "string"
  17045. },
  17046. "goodsid": {
  17047. "description": "商品ID(自增ID SEQ_GOODS)",
  17048. "type": "integer"
  17049. },
  17050. "goodsname": {
  17051. "description": "商品名称",
  17052. "type": "string"
  17053. },
  17054. "last": {
  17055. "description": "现价",
  17056. "type": "number"
  17057. },
  17058. "marketid": {
  17059. "description": "所属市场ID",
  17060. "type": "integer"
  17061. },
  17062. "openaverageprice": {
  17063. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  17064. "type": "number"
  17065. },
  17066. "opencost": {
  17067. "description": "开仓成本",
  17068. "type": "number"
  17069. },
  17070. "openpl": {
  17071. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17072. "type": "number"
  17073. },
  17074. "outgoodscode": {
  17075. "description": "商品代码(外部)",
  17076. "type": "string"
  17077. },
  17078. "positionaverageprice": {
  17079. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  17080. "type": "number"
  17081. },
  17082. "positioncost": {
  17083. "description": "持仓成本",
  17084. "type": "number"
  17085. },
  17086. "positionpl": {
  17087. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17088. "type": "number"
  17089. },
  17090. "positionplrate": {
  17091. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  17092. "type": "number"
  17093. },
  17094. "usedmargin": {
  17095. "description": "占用保证金",
  17096. "type": "number"
  17097. }
  17098. }
  17099. },
  17100. "ermcp.RealtimeExposurePositionRsp": {
  17101. "type": "object",
  17102. "properties": {
  17103. "agreeunit": {
  17104. "description": "合约单位",
  17105. "type": "string"
  17106. },
  17107. "areauserid": {
  17108. "description": "所属机构id",
  17109. "type": "integer"
  17110. },
  17111. "convertratio": {
  17112. "description": "期货品种系数(折算系数)",
  17113. "type": "number"
  17114. },
  17115. "curqty": {
  17116. "description": "当前持仓",
  17117. "type": "integer"
  17118. },
  17119. "diffhedgeqty": {
  17120. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  17121. "type": "number"
  17122. },
  17123. "diffqty": {
  17124. "description": "持仓变动量=当前持仓-昨日持仓",
  17125. "type": "integer"
  17126. },
  17127. "goodscode": {
  17128. "description": "商品代码",
  17129. "type": "string"
  17130. },
  17131. "goodsid": {
  17132. "description": "商品id",
  17133. "type": "integer"
  17134. },
  17135. "goodsname": {
  17136. "description": "商品名称",
  17137. "type": "string"
  17138. },
  17139. "middlegoodsid": {
  17140. "description": "套保商品id",
  17141. "type": "integer"
  17142. },
  17143. "ydqty": {
  17144. "description": "昨日持仓",
  17145. "type": "integer"
  17146. }
  17147. }
  17148. },
  17149. "ermcp.RealtimeExposureRsp": {
  17150. "type": "object",
  17151. "properties": {
  17152. "AreaUserID": {
  17153. "description": "所属机构",
  17154. "type": "integer"
  17155. },
  17156. "BuyFutureQty": {
  17157. "description": "买入期货数量",
  17158. "type": "number"
  17159. },
  17160. "BuyPlanQty": {
  17161. "description": "采购计划数量",
  17162. "type": "number"
  17163. },
  17164. "BuyPricedQty": {
  17165. "description": "采购合同已定价数量",
  17166. "type": "number"
  17167. },
  17168. "MiddleGoodsCode": {
  17169. "description": "套保品种代码",
  17170. "type": "string"
  17171. },
  17172. "MiddleGoodsHedgeRatio": {
  17173. "description": "套保比例",
  17174. "type": "number"
  17175. },
  17176. "MiddleGoodsID": {
  17177. "description": "套保品种",
  17178. "type": "integer"
  17179. },
  17180. "MiddleGoodsName": {
  17181. "description": "套保品种名称",
  17182. "type": "string"
  17183. },
  17184. "NeedHedgeExposoure": {
  17185. "description": "应套保敞口(套保敞口)",
  17186. "type": "number"
  17187. },
  17188. "NeedHedgeRatio": {
  17189. "description": "应套保敞口比例",
  17190. "type": "number"
  17191. },
  17192. "OriBuyFutureQty": {
  17193. "description": "期初买入期货数量",
  17194. "type": "number"
  17195. },
  17196. "OriBuyPlanQty": {
  17197. "description": "期初采购计划数量",
  17198. "type": "number"
  17199. },
  17200. "OriBuyPricedQty": {
  17201. "description": "期初采购合同已定价数量",
  17202. "type": "number"
  17203. },
  17204. "OriSellFutureQty": {
  17205. "description": "期初卖出期货数量",
  17206. "type": "number"
  17207. },
  17208. "OriSellPlanQty": {
  17209. "description": "期初销售计划数量",
  17210. "type": "number"
  17211. },
  17212. "OriSellPricedQty": {
  17213. "description": "期初销售合同已定价数量",
  17214. "type": "number"
  17215. },
  17216. "OriTotalSpotQty": {
  17217. "description": "期初现货总量",
  17218. "type": "number"
  17219. },
  17220. "SellFutureQty": {
  17221. "description": "卖出期货数量",
  17222. "type": "number"
  17223. },
  17224. "SellPlanQty": {
  17225. "description": "销售计划数量",
  17226. "type": "number"
  17227. },
  17228. "SellPricedQty": {
  17229. "description": "销售合同已定价数量",
  17230. "type": "number"
  17231. },
  17232. "TotalExposure": {
  17233. "description": "总敞口 平安:净敞口",
  17234. "type": "number"
  17235. },
  17236. "TotalFutureQty": {
  17237. "description": "期货总量 平安:保值净持仓量",
  17238. "type": "number"
  17239. },
  17240. "TotalHedgeRatio": {
  17241. "description": "敞口比例",
  17242. "type": "number"
  17243. },
  17244. "TotalNeedHedgeQty": {
  17245. "description": "应套保总量(现货应套保总量)",
  17246. "type": "number"
  17247. },
  17248. "TotalSpotQty": {
  17249. "description": "现货总量 平安:采销定价净值",
  17250. "type": "number"
  17251. },
  17252. "arbitrageqty": {
  17253. "description": "套利量",
  17254. "type": "number"
  17255. },
  17256. "diffArbitrageQty": {
  17257. "description": "套利变动量",
  17258. "type": "number"
  17259. },
  17260. "diffExposoureQty": {
  17261. "description": "变动量(套保敞口)",
  17262. "type": "number"
  17263. },
  17264. "diffFutuQty": {
  17265. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  17266. "type": "number"
  17267. },
  17268. "diffHedgeQty": {
  17269. "description": "套保变动量",
  17270. "type": "number"
  17271. },
  17272. "diffQty": {
  17273. "description": "变动量(总敞口) 平安:净敞口今日变动",
  17274. "type": "number"
  17275. },
  17276. "diffSpotHedgeQty": {
  17277. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  17278. "type": "number"
  17279. },
  17280. "diffSpotQty": {
  17281. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  17282. "type": "number"
  17283. },
  17284. "enumdicname": {
  17285. "description": "单位名称",
  17286. "type": "string"
  17287. },
  17288. "hedgeqty": {
  17289. "description": "套保量",
  17290. "type": "number"
  17291. },
  17292. "needarbitrageqty": {
  17293. "description": "应套利量",
  17294. "type": "number"
  17295. },
  17296. "needarbitrageratio": {
  17297. "description": "套利比例",
  17298. "type": "number"
  17299. },
  17300. "needhedgeqty": {
  17301. "description": "应套保量",
  17302. "type": "number"
  17303. },
  17304. "oriarbitrageqty": {
  17305. "description": "期初套利量",
  17306. "type": "number"
  17307. },
  17308. "orihedgeqty": {
  17309. "description": "期初套保量",
  17310. "type": "number"
  17311. },
  17312. "orineedhedgeexposoure": {
  17313. "description": "期初套保敞口",
  17314. "type": "number"
  17315. },
  17316. "oritotalexposure": {
  17317. "description": "期初总敞口",
  17318. "type": "number"
  17319. },
  17320. "oritotalfutureqty": {
  17321. "description": "期初期货总量",
  17322. "type": "number"
  17323. },
  17324. "oritotalneedhedgeqty": {
  17325. "description": "期初现货应套保量",
  17326. "type": "number"
  17327. }
  17328. }
  17329. },
  17330. "erms2.QueryArbitrageStrategyRsp": {
  17331. "type": "object",
  17332. "required": [
  17333. "asapplyid"
  17334. ],
  17335. "properties": {
  17336. "applybasis": {
  17337. "description": "申请基差",
  17338. "type": "number"
  17339. },
  17340. "asapplyid": {
  17341. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  17342. "type": "string"
  17343. },
  17344. "asname": {
  17345. "description": "策略名称",
  17346. "type": "string"
  17347. },
  17348. "asno": {
  17349. "description": "策略编号",
  17350. "type": "string"
  17351. },
  17352. "basischangepl": {
  17353. "description": "基差变动损益[结算更新]",
  17354. "type": "number"
  17355. },
  17356. "biztype": {
  17357. "description": "业务类型 - 1:正向套利 -1:反向套利",
  17358. "type": "integer"
  17359. },
  17360. "closetradedate": {
  17361. "description": "完结交易日(yyyyMMdd)",
  17362. "type": "string"
  17363. },
  17364. "curbasis": {
  17365. "description": "当前基差[结算更新]",
  17366. "type": "number"
  17367. },
  17368. "deliverygoodsid": {
  17369. "description": "现货品种ID",
  17370. "type": "integer"
  17371. },
  17372. "futureavgprice": {
  17373. "description": "期货建仓均价",
  17374. "type": "number"
  17375. },
  17376. "futurecloseamount": {
  17377. "description": "期货平仓金额",
  17378. "type": "number"
  17379. },
  17380. "futurecloseqty": {
  17381. "description": "期货平仓数量",
  17382. "type": "number"
  17383. },
  17384. "futureopenamount": {
  17385. "description": "期货开仓金额",
  17386. "type": "number"
  17387. },
  17388. "futureopenqty": {
  17389. "description": "期货开仓数量",
  17390. "type": "number"
  17391. },
  17392. "futurepl": {
  17393. "description": "期货总盈亏[结算更新]",
  17394. "type": "number"
  17395. },
  17396. "futureqty": {
  17397. "description": "期货持仓数量",
  17398. "type": "number"
  17399. },
  17400. "futurequote": {
  17401. "description": "期货额度",
  17402. "type": "number"
  17403. },
  17404. "goodsgroupid": {
  17405. "description": "期货品种ID",
  17406. "type": "integer"
  17407. },
  17408. "marketid": {
  17409. "description": "市场ID",
  17410. "type": "integer"
  17411. },
  17412. "netexposure": {
  17413. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  17414. "type": "number"
  17415. },
  17416. "netexposurepl": {
  17417. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  17418. "type": "number"
  17419. },
  17420. "netexposurerate": {
  17421. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  17422. "type": "number"
  17423. },
  17424. "openbasis": {
  17425. "description": "建仓基差",
  17426. "type": "number"
  17427. },
  17428. "pricedspotqty": {
  17429. "description": "已定价现货数量",
  17430. "type": "number"
  17431. },
  17432. "pricedspotqtynotax": {
  17433. "description": "已定价现货不含税数量",
  17434. "type": "number"
  17435. },
  17436. "remark": {
  17437. "description": "备注",
  17438. "type": "string"
  17439. },
  17440. "spotavgprice": {
  17441. "description": "现货均价",
  17442. "type": "number"
  17443. },
  17444. "spotbuyamount": {
  17445. "description": "现货采购金额",
  17446. "type": "number"
  17447. },
  17448. "spotbuyqty": {
  17449. "description": "现货采购数量",
  17450. "type": "number"
  17451. },
  17452. "spotpl": {
  17453. "description": "现货总盈亏[结算更新]",
  17454. "type": "number"
  17455. },
  17456. "spotquota": {
  17457. "description": "现货额度",
  17458. "type": "number"
  17459. },
  17460. "spotsellamount": {
  17461. "description": "现货销售金额",
  17462. "type": "number"
  17463. },
  17464. "spotsellqty": {
  17465. "description": "现货销售数量",
  17466. "type": "number"
  17467. },
  17468. "spotusedquota": {
  17469. "description": "现货占用资金",
  17470. "type": "number"
  17471. },
  17472. "strategystatus": {
  17473. "description": "策略状态 - 0:未结束 1:已结束",
  17474. "type": "integer"
  17475. },
  17476. "totalpl": {
  17477. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  17478. "type": "number"
  17479. },
  17480. "tradedate": {
  17481. "description": "交易日(yyyyMMdd)",
  17482. "type": "string"
  17483. },
  17484. "updatetime": {
  17485. "description": "更新时间",
  17486. "type": "string"
  17487. },
  17488. "usedquota": {
  17489. "description": "已占用资金",
  17490. "type": "number"
  17491. },
  17492. "userid": {
  17493. "description": "所属机构",
  17494. "type": "integer"
  17495. }
  17496. }
  17497. },
  17498. "erms2.QueryInnerTradeDetailRsp": {
  17499. "type": "object",
  17500. "required": [
  17501. "asapplyid",
  17502. "buyorsell",
  17503. "goodscode",
  17504. "goodsgroupid",
  17505. "goodsgroupname",
  17506. "goodsname",
  17507. "tradeid"
  17508. ],
  17509. "properties": {
  17510. "accountid": {
  17511. "description": "账号ID",
  17512. "type": "integer"
  17513. },
  17514. "agreeunit": {
  17515. "description": "合约单位",
  17516. "type": "number"
  17517. },
  17518. "asapplyid": {
  17519. "description": "策略申请ID",
  17520. "type": "integer"
  17521. },
  17522. "asname": {
  17523. "description": "策略名称",
  17524. "type": "string"
  17525. },
  17526. "asno": {
  17527. "description": "策略编号",
  17528. "type": "string"
  17529. },
  17530. "buyorsell": {
  17531. "description": "方向 - 0:买 1:卖",
  17532. "type": "integer"
  17533. },
  17534. "channelbuildtype": {
  17535. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  17536. "type": "integer"
  17537. },
  17538. "closetype": {
  17539. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  17540. "type": "integer"
  17541. },
  17542. "decimalplace": {
  17543. "description": "报价小数位",
  17544. "type": "integer"
  17545. },
  17546. "detailtype": {
  17547. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  17548. "type": "integer"
  17549. },
  17550. "exexchangecode": {
  17551. "description": "外部交易所代码",
  17552. "type": "string"
  17553. },
  17554. "exexchangename": {
  17555. "description": "外部交易所名称",
  17556. "type": "string"
  17557. },
  17558. "goodscode": {
  17559. "description": "商品代码(合约)",
  17560. "type": "string"
  17561. },
  17562. "goodsgroupid": {
  17563. "description": "商品组ID(品种ID)",
  17564. "type": "integer"
  17565. },
  17566. "goodsgroupname": {
  17567. "description": "商品组名称(品种)",
  17568. "type": "string"
  17569. },
  17570. "goodsid": {
  17571. "description": "商品ID",
  17572. "type": "integer"
  17573. },
  17574. "goodsname": {
  17575. "description": "商品名称(合约)",
  17576. "type": "string"
  17577. },
  17578. "goodunit": {
  17579. "description": "报价单位",
  17580. "type": "string"
  17581. },
  17582. "marketid": {
  17583. "description": "市场ID",
  17584. "type": "integer"
  17585. },
  17586. "orderid": {
  17587. "description": "委托单号",
  17588. "type": "string"
  17589. },
  17590. "outgoodscode": {
  17591. "description": "商品代码(外部)",
  17592. "type": "string"
  17593. },
  17594. "relatedouttradeid": {
  17595. "description": "关联外部成交单ID",
  17596. "type": "string"
  17597. },
  17598. "remark": {
  17599. "description": "备注",
  17600. "type": "string"
  17601. },
  17602. "spotcontractid": {
  17603. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  17604. "type": "integer"
  17605. },
  17606. "spotcontractno": {
  17607. "description": "现货合同编号",
  17608. "type": "string"
  17609. },
  17610. "tradeid": {
  17611. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17612. "type": "string"
  17613. },
  17614. "tradeprice": {
  17615. "description": "成交价格",
  17616. "type": "number"
  17617. },
  17618. "tradeqty": {
  17619. "description": "成交数量",
  17620. "type": "integer"
  17621. },
  17622. "tradetime": {
  17623. "description": "成交时间",
  17624. "type": "string"
  17625. },
  17626. "updatetime": {
  17627. "description": "更新时间",
  17628. "type": "string"
  17629. }
  17630. }
  17631. },
  17632. "erms2.QuerySpotContractRsp": {
  17633. "type": "object",
  17634. "required": [
  17635. "spotcontractid"
  17636. ],
  17637. "properties": {
  17638. "accountid": {
  17639. "description": "资金账户ID",
  17640. "type": "integer"
  17641. },
  17642. "areauserid": {
  17643. "description": "所属机构",
  17644. "type": "integer"
  17645. },
  17646. "closedate": {
  17647. "description": "终止日期",
  17648. "type": "string"
  17649. },
  17650. "closeremark": {
  17651. "description": "结束备注",
  17652. "type": "string"
  17653. },
  17654. "closetradedate": {
  17655. "description": "完结交易日(yyyyMMdd)",
  17656. "type": "string"
  17657. },
  17658. "closetype": {
  17659. "description": "终止类型 - 1:违约 2:提前终止",
  17660. "type": "integer"
  17661. },
  17662. "contractamount": {
  17663. "description": "合同金额",
  17664. "type": "number"
  17665. },
  17666. "contractattachment": {
  17667. "description": "合同附件",
  17668. "type": "string"
  17669. },
  17670. "contractno": {
  17671. "description": "现货合同编号",
  17672. "type": "string"
  17673. },
  17674. "contractqty": {
  17675. "description": "合同数量(数值) (用于计算)",
  17676. "type": "number"
  17677. },
  17678. "contractqtychar": {
  17679. "description": "合同数量\\已订价数量 (用于显示)",
  17680. "type": "string"
  17681. },
  17682. "contractstatus": {
  17683. "description": "合同状态 - 0:未结束 1:已结束",
  17684. "type": "integer"
  17685. },
  17686. "contracttype": {
  17687. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  17688. "type": "integer"
  17689. },
  17690. "customeraccountid": {
  17691. "description": "客户资金账户ID",
  17692. "type": "integer"
  17693. },
  17694. "customeruserid": {
  17695. "description": "客户ID",
  17696. "type": "integer"
  17697. },
  17698. "deliverygoodsdesc": {
  17699. "description": "品种说明",
  17700. "type": "string"
  17701. },
  17702. "deliverygoodsid": {
  17703. "description": "现货品种ID",
  17704. "type": "integer"
  17705. },
  17706. "handlestatus": {
  17707. "description": "处理状态",
  17708. "type": "integer"
  17709. },
  17710. "invoiceatt": {
  17711. "description": "发票附件",
  17712. "type": "string"
  17713. },
  17714. "invoicedatetime": {
  17715. "description": "开收票更新时间",
  17716. "type": "string"
  17717. },
  17718. "invoiceopentime": {
  17719. "description": "开票时间",
  17720. "type": "string"
  17721. },
  17722. "invoiceremark": {
  17723. "description": "发票备注",
  17724. "type": "string"
  17725. },
  17726. "invoicestatus": {
  17727. "description": "开收票状态 - 0:未开票 1:已开票",
  17728. "type": "integer"
  17729. },
  17730. "lastdate": {
  17731. "description": "交货时间",
  17732. "type": "string"
  17733. },
  17734. "marketid": {
  17735. "description": "市场ID",
  17736. "type": "integer"
  17737. },
  17738. "paydatetime": {
  17739. "description": "收付款更新时间",
  17740. "type": "string"
  17741. },
  17742. "payremark": {
  17743. "description": "收付款备注",
  17744. "type": "string"
  17745. },
  17746. "paystatus": {
  17747. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  17748. "type": "integer"
  17749. },
  17750. "positionqty": {
  17751. "description": "头寸数量 - 合同数量去小数部分",
  17752. "type": "integer"
  17753. },
  17754. "producttype": {
  17755. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17756. "type": "integer"
  17757. },
  17758. "relatedqty": {
  17759. "description": "已关联数量",
  17760. "type": "number"
  17761. },
  17762. "relatedstatus": {
  17763. "description": "关联完结状态 - 0:未结束 1:已结束",
  17764. "type": "integer"
  17765. },
  17766. "remark": {
  17767. "description": "备注",
  17768. "type": "string"
  17769. },
  17770. "signdate": {
  17771. "description": "签订日期",
  17772. "type": "string"
  17773. },
  17774. "spotcontractid": {
  17775. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  17776. "type": "string"
  17777. },
  17778. "spotdatetime": {
  17779. "description": "收发货更新时间",
  17780. "type": "string"
  17781. },
  17782. "spotprice": {
  17783. "description": "价格",
  17784. "type": "number"
  17785. },
  17786. "spotremark": {
  17787. "description": "收发货备注",
  17788. "type": "string"
  17789. },
  17790. "spotstatus": {
  17791. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  17792. "type": "integer"
  17793. },
  17794. "tradedate": {
  17795. "description": "交易日(yyyyMMdd)",
  17796. "type": "string"
  17797. },
  17798. "userid": {
  17799. "description": "业务员用户ID",
  17800. "type": "integer"
  17801. },
  17802. "warehouseid": {
  17803. "description": "仓库ID",
  17804. "type": "integer"
  17805. },
  17806. "wrfactortypeid": {
  17807. "description": "仓单要素类型ID",
  17808. "type": "integer"
  17809. },
  17810. "wrstandardid": {
  17811. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17812. "type": "integer"
  17813. }
  17814. }
  17815. },
  17816. "erms3.AddErms2ASApplyReq": {
  17817. "type": "object",
  17818. "required": [
  17819. "asapplyid"
  17820. ],
  17821. "properties": {
  17822. "applybasis": {
  17823. "description": "申请基差",
  17824. "type": "number"
  17825. },
  17826. "applystatus": {
  17827. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17828. "type": "integer"
  17829. },
  17830. "asapplyid": {
  17831. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  17832. "type": "integer"
  17833. },
  17834. "asname": {
  17835. "description": "策略名称",
  17836. "type": "string"
  17837. },
  17838. "asno": {
  17839. "description": "策略编号",
  17840. "type": "string"
  17841. },
  17842. "auditid": {
  17843. "description": "审核人",
  17844. "type": "integer"
  17845. },
  17846. "auditremark": {
  17847. "description": "审核备注",
  17848. "type": "string"
  17849. },
  17850. "audittime": {
  17851. "description": "审核时间",
  17852. "type": "string"
  17853. },
  17854. "biztype": {
  17855. "description": "业务类型 - 1:正向套利 2:反向套利",
  17856. "type": "integer"
  17857. },
  17858. "createtime": {
  17859. "description": "创建时间",
  17860. "type": "string"
  17861. },
  17862. "creatorid": {
  17863. "description": "创建人",
  17864. "type": "integer"
  17865. },
  17866. "deliverygoodsid": {
  17867. "description": "现货品种ID",
  17868. "type": "integer"
  17869. },
  17870. "futurequote": {
  17871. "description": "期货额度",
  17872. "type": "number"
  17873. },
  17874. "goodsgroupid": {
  17875. "description": "期货品种ID",
  17876. "type": "integer"
  17877. },
  17878. "marketid": {
  17879. "description": "市场ID",
  17880. "type": "integer"
  17881. },
  17882. "remark": {
  17883. "description": "备注",
  17884. "type": "string"
  17885. },
  17886. "spotquota": {
  17887. "description": "现货额度",
  17888. "type": "number"
  17889. },
  17890. "tradedate": {
  17891. "description": "交易日(yyyyMMdd)",
  17892. "type": "string"
  17893. },
  17894. "userid": {
  17895. "description": "所属机构",
  17896. "type": "integer"
  17897. }
  17898. }
  17899. },
  17900. "erms3.AddErms2SpotTradeApplyReq": {
  17901. "type": "object",
  17902. "required": [
  17903. "spottradeid"
  17904. ],
  17905. "properties": {
  17906. "applyjsondetail": {
  17907. "description": "申请明细(JSON)",
  17908. "type": "string"
  17909. },
  17910. "applystatus": {
  17911. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17912. "type": "integer"
  17913. },
  17914. "areauserid": {
  17915. "description": "所属机构",
  17916. "type": "integer"
  17917. },
  17918. "auditid": {
  17919. "description": "审核人",
  17920. "type": "integer"
  17921. },
  17922. "auditremark": {
  17923. "description": "审核备注",
  17924. "type": "string"
  17925. },
  17926. "audittime": {
  17927. "description": "审核时间",
  17928. "type": "string"
  17929. },
  17930. "createtime": {
  17931. "description": "创建时间",
  17932. "type": "string"
  17933. },
  17934. "creatorid": {
  17935. "description": "创建人",
  17936. "type": "integer"
  17937. },
  17938. "deliverygoodsid": {
  17939. "description": "现货品种ID",
  17940. "type": "integer"
  17941. },
  17942. "futureaccountid": {
  17943. "description": "期货资金账户",
  17944. "type": "integer"
  17945. },
  17946. "goodsgroupid": {
  17947. "description": "期货品种",
  17948. "type": "integer"
  17949. },
  17950. "marketid": {
  17951. "description": "市场ID",
  17952. "type": "integer"
  17953. },
  17954. "remark": {
  17955. "description": "备注",
  17956. "type": "string"
  17957. },
  17958. "spotaccountid": {
  17959. "description": "现货资金账户",
  17960. "type": "integer"
  17961. },
  17962. "spottradeid": {
  17963. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  17964. "type": "integer"
  17965. },
  17966. "spottradename": {
  17967. "description": "业务名称",
  17968. "type": "string"
  17969. },
  17970. "spottradeno": {
  17971. "description": "业务编号",
  17972. "type": "string"
  17973. },
  17974. "tradedate": {
  17975. "description": "交易日(yyyyMMdd)",
  17976. "type": "string"
  17977. },
  17978. "wrstandardid": {
  17979. "description": "仓单标准ID",
  17980. "type": "integer"
  17981. }
  17982. }
  17983. },
  17984. "erms3.AddSpotContractApplyReq": {
  17985. "type": "object",
  17986. "required": [
  17987. "accountid",
  17988. "areauserid",
  17989. "contractno",
  17990. "contracttype",
  17991. "customeraccountid",
  17992. "customeruserid",
  17993. "details",
  17994. "orimargin",
  17995. "signdate"
  17996. ],
  17997. "properties": {
  17998. "accountid": {
  17999. "description": "资金账户ID",
  18000. "type": "integer"
  18001. },
  18002. "areauserid": {
  18003. "description": "所属机构",
  18004. "type": "integer"
  18005. },
  18006. "contractattachment": {
  18007. "description": "合同附件",
  18008. "type": "string"
  18009. },
  18010. "contractno": {
  18011. "description": "现货合同编号",
  18012. "type": "string"
  18013. },
  18014. "contracttype": {
  18015. "description": "现货合同类型 - 1:采购 -1:销售",
  18016. "type": "integer"
  18017. },
  18018. "creatorid": {
  18019. "description": "申请人",
  18020. "type": "integer"
  18021. },
  18022. "customeraccountid": {
  18023. "description": "客户资金账户ID",
  18024. "type": "integer"
  18025. },
  18026. "customeruserid": {
  18027. "description": "客户ID",
  18028. "type": "integer"
  18029. },
  18030. "details": {
  18031. "description": "明细",
  18032. "type": "array",
  18033. "items": {
  18034. "$ref": "#/definitions/erms3.SoptContractDetail"
  18035. }
  18036. },
  18037. "orimargin": {
  18038. "description": "初始保证金",
  18039. "type": "number"
  18040. },
  18041. "remark": {
  18042. "description": "备注",
  18043. "type": "string"
  18044. },
  18045. "signdate": {
  18046. "description": "签订日期",
  18047. "type": "string"
  18048. }
  18049. }
  18050. },
  18051. "erms3.AddSpotContractApplyRsp": {
  18052. "type": "object",
  18053. "required": [
  18054. "contractno"
  18055. ],
  18056. "properties": {
  18057. "contractno": {
  18058. "description": "现货合同编号",
  18059. "type": "string"
  18060. },
  18061. "spotcontractid": {
  18062. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  18063. "type": "integer"
  18064. }
  18065. }
  18066. },
  18067. "erms3.AddUserInfoApplyReq": {
  18068. "type": "object",
  18069. "required": [
  18070. "userid"
  18071. ],
  18072. "properties": {
  18073. "accountid": {
  18074. "description": "交易系统帐号Id (加密存储)",
  18075. "type": "integer"
  18076. },
  18077. "areacode": {
  18078. "description": "机构代码",
  18079. "type": "string"
  18080. },
  18081. "areaid": {
  18082. "description": "机构Id",
  18083. "type": "integer"
  18084. },
  18085. "attachment1": {
  18086. "description": "附件1",
  18087. "type": "string"
  18088. },
  18089. "attachment2": {
  18090. "description": "附件2",
  18091. "type": "string"
  18092. },
  18093. "attachment3": {
  18094. "description": "附件3",
  18095. "type": "string"
  18096. },
  18097. "attachment4": {
  18098. "description": "附件4",
  18099. "type": "string"
  18100. },
  18101. "attachment5": {
  18102. "description": "附件5",
  18103. "type": "string"
  18104. },
  18105. "auditedby": {
  18106. "description": "审核人",
  18107. "type": "string"
  18108. },
  18109. "auditime": {
  18110. "description": "审核时间",
  18111. "type": "string"
  18112. },
  18113. "auditsrc": {
  18114. "description": "审核来源 - 1:管理端 2:终端",
  18115. "type": "integer"
  18116. },
  18117. "bankaccount": {
  18118. "description": "银行帐号 (加密存储)",
  18119. "type": "string"
  18120. },
  18121. "bankaccountname": {
  18122. "description": "收款人名称",
  18123. "type": "string"
  18124. },
  18125. "bankcardbackphotourl": {
  18126. "description": "银行卡背面照地址",
  18127. "type": "string"
  18128. },
  18129. "bankcardfrontphotourl": {
  18130. "description": "银行卡正面照地址",
  18131. "type": "string"
  18132. },
  18133. "bankid": {
  18134. "description": "银行编码",
  18135. "type": "string"
  18136. },
  18137. "bankname": {
  18138. "description": "银行名称",
  18139. "type": "string"
  18140. },
  18141. "bankpictureurl": {
  18142. "description": "银行卡正面地址",
  18143. "type": "string"
  18144. },
  18145. "biznature": {
  18146. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18147. "type": "integer"
  18148. },
  18149. "bizscope": {
  18150. "description": "企业经营范围(企业)",
  18151. "type": "string"
  18152. },
  18153. "biztype": {
  18154. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18155. "type": "integer"
  18156. },
  18157. "brokerid": {
  18158. "description": "经纪人ID(加密存储)",
  18159. "type": "string"
  18160. },
  18161. "cardaddress": {
  18162. "description": "证件地址 (加密存储)",
  18163. "type": "string"
  18164. },
  18165. "cardbackphotourl": {
  18166. "description": "背面证件照地址",
  18167. "type": "string"
  18168. },
  18169. "cardfrontphotourl": {
  18170. "description": "正面证件照地址",
  18171. "type": "string"
  18172. },
  18173. "cardnum": {
  18174. "description": "证件号码 (加密存储)",
  18175. "type": "string"
  18176. },
  18177. "cardtype": {
  18178. "description": "证件类型",
  18179. "type": "integer"
  18180. },
  18181. "cityid": {
  18182. "description": "市",
  18183. "type": "integer"
  18184. },
  18185. "company": {
  18186. "description": "公司(个人)",
  18187. "type": "string"
  18188. },
  18189. "contactcardbackphotourl": {
  18190. "description": "联系人证件背面图片地址",
  18191. "type": "string"
  18192. },
  18193. "contactcardfrontphotourl": {
  18194. "description": "联系人证件正面图片地址",
  18195. "type": "string"
  18196. },
  18197. "contactname": {
  18198. "description": "联系人",
  18199. "type": "string"
  18200. },
  18201. "countryid": {
  18202. "description": "国家",
  18203. "type": "integer"
  18204. },
  18205. "createtime": {
  18206. "description": "开户申请时间",
  18207. "type": "string"
  18208. },
  18209. "cusbankid": {
  18210. "description": "签约类型",
  18211. "type": "string"
  18212. },
  18213. "cusbankname": {
  18214. "description": "签约类型名称",
  18215. "type": "string"
  18216. },
  18217. "customername": {
  18218. "description": "客户名称(企业名称)",
  18219. "type": "string"
  18220. },
  18221. "districtid": {
  18222. "description": "地区",
  18223. "type": "integer"
  18224. },
  18225. "email": {
  18226. "description": "Email地址(加密存储)",
  18227. "type": "string"
  18228. },
  18229. "halfbodyphotourl": {
  18230. "description": "半身照地址",
  18231. "type": "string"
  18232. },
  18233. "headurl": {
  18234. "description": "头像地址",
  18235. "type": "string"
  18236. },
  18237. "ipaddress": {
  18238. "description": "IP地址",
  18239. "type": "string"
  18240. },
  18241. "isvalidate": {
  18242. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18243. "type": "string"
  18244. },
  18245. "legalcardbackphotourl": {
  18246. "description": "法人身份证背面照地址",
  18247. "type": "string"
  18248. },
  18249. "legalcardfrontphotourl": {
  18250. "description": "法人身份证正面照地址",
  18251. "type": "string"
  18252. },
  18253. "legalpersonname": {
  18254. "description": "法人姓名(企业)",
  18255. "type": "string"
  18256. },
  18257. "logincode": {
  18258. "description": "登录帐号 (加密存储)",
  18259. "type": "string"
  18260. },
  18261. "memberareaid": {
  18262. "description": "所属会员ID",
  18263. "type": "integer"
  18264. },
  18265. "mobile2": {
  18266. "description": "手机号码[明文-尚志]",
  18267. "type": "string"
  18268. },
  18269. "mobilephone": {
  18270. "description": "手机号码 (加密存储)",
  18271. "type": "string"
  18272. },
  18273. "modifiedby": {
  18274. "description": "修改人帐号",
  18275. "type": "integer"
  18276. },
  18277. "modifiedtime": {
  18278. "description": "修改时间",
  18279. "type": "string"
  18280. },
  18281. "nickname": {
  18282. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18283. "type": "string"
  18284. },
  18285. "openmode": {
  18286. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18287. "type": "integer"
  18288. },
  18289. "otherurl": {
  18290. "description": "其它图片地址[使用分号分隔]",
  18291. "type": "string"
  18292. },
  18293. "postalcode": {
  18294. "description": "邮政编码",
  18295. "type": "string"
  18296. },
  18297. "provinceid": {
  18298. "description": "省",
  18299. "type": "integer"
  18300. },
  18301. "proxystatementurl": {
  18302. "description": "授权委托书",
  18303. "type": "string"
  18304. },
  18305. "qq": {
  18306. "description": "QQ(加密存储",
  18307. "type": "string"
  18308. },
  18309. "referral": {
  18310. "description": "推荐人编码",
  18311. "type": "string"
  18312. },
  18313. "remark": {
  18314. "description": "备注",
  18315. "type": "string"
  18316. },
  18317. "removebeforestatus": {
  18318. "description": "REMOVEBEFORESTATUS",
  18319. "type": "integer"
  18320. },
  18321. "sex": {
  18322. "description": "性别 - 0:女 1:男",
  18323. "type": "integer"
  18324. },
  18325. "signedstatus": {
  18326. "description": "账户一号签签约状态",
  18327. "type": "integer"
  18328. },
  18329. "signpdfurl": {
  18330. "description": "签约pdf文件",
  18331. "type": "string"
  18332. },
  18333. "subbranch": {
  18334. "description": "开户支行",
  18335. "type": "string"
  18336. },
  18337. "taxpayernum": {
  18338. "description": "纳税人识别号",
  18339. "type": "string"
  18340. },
  18341. "telphone": {
  18342. "description": "联系电话(加密存储)",
  18343. "type": "string"
  18344. },
  18345. "userid": {
  18346. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18347. "type": "integer"
  18348. },
  18349. "userinfotype": {
  18350. "description": "用户信息类型 - 1:个人 2:企业",
  18351. "type": "integer"
  18352. },
  18353. "username": {
  18354. "description": "用户姓名",
  18355. "type": "string"
  18356. },
  18357. "userstate": {
  18358. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18359. "type": "integer"
  18360. },
  18361. "usertype": {
  18362. "description": "用户类型 - 1:投资者 2:机构",
  18363. "type": "integer"
  18364. },
  18365. "videourl": {
  18366. "description": "视频地址",
  18367. "type": "string"
  18368. },
  18369. "wechat": {
  18370. "description": "微信号 (加密存储)",
  18371. "type": "string"
  18372. }
  18373. }
  18374. },
  18375. "erms3.CustomerInfo": {
  18376. "type": "object",
  18377. "required": [
  18378. "userid"
  18379. ],
  18380. "properties": {
  18381. "accountids": {
  18382. "description": "资金账户ID列表",
  18383. "type": "array",
  18384. "items": {
  18385. "type": "integer"
  18386. }
  18387. },
  18388. "customername": {
  18389. "description": "名称(企业名称)",
  18390. "type": "string"
  18391. },
  18392. "mobile": {
  18393. "description": "手机号码",
  18394. "type": "string"
  18395. },
  18396. "userid": {
  18397. "description": "用户ID",
  18398. "type": "integer"
  18399. }
  18400. }
  18401. },
  18402. "erms3.ModifyUserInfoApplyReq": {
  18403. "type": "object",
  18404. "required": [
  18405. "userid"
  18406. ],
  18407. "properties": {
  18408. "accountid": {
  18409. "description": "交易系统帐号Id (加密存储)",
  18410. "type": "integer"
  18411. },
  18412. "areacode": {
  18413. "description": "机构代码",
  18414. "type": "string"
  18415. },
  18416. "areaid": {
  18417. "description": "机构Id",
  18418. "type": "integer"
  18419. },
  18420. "attachment1": {
  18421. "description": "附件1",
  18422. "type": "string"
  18423. },
  18424. "attachment2": {
  18425. "description": "附件2",
  18426. "type": "string"
  18427. },
  18428. "attachment3": {
  18429. "description": "附件3",
  18430. "type": "string"
  18431. },
  18432. "attachment4": {
  18433. "description": "附件4",
  18434. "type": "string"
  18435. },
  18436. "attachment5": {
  18437. "description": "附件5",
  18438. "type": "string"
  18439. },
  18440. "auditedby": {
  18441. "description": "审核人",
  18442. "type": "string"
  18443. },
  18444. "auditime": {
  18445. "description": "审核时间",
  18446. "type": "string"
  18447. },
  18448. "auditsrc": {
  18449. "description": "审核来源 - 1:管理端 2:终端",
  18450. "type": "integer"
  18451. },
  18452. "bankaccount": {
  18453. "description": "银行帐号 (加密存储)",
  18454. "type": "string"
  18455. },
  18456. "bankaccountname": {
  18457. "description": "收款人名称",
  18458. "type": "string"
  18459. },
  18460. "bankcardbackphotourl": {
  18461. "description": "银行卡背面照地址",
  18462. "type": "string"
  18463. },
  18464. "bankcardfrontphotourl": {
  18465. "description": "银行卡正面照地址",
  18466. "type": "string"
  18467. },
  18468. "bankid": {
  18469. "description": "银行编码",
  18470. "type": "string"
  18471. },
  18472. "bankname": {
  18473. "description": "银行名称",
  18474. "type": "string"
  18475. },
  18476. "bankpictureurl": {
  18477. "description": "银行卡正面地址",
  18478. "type": "string"
  18479. },
  18480. "biznature": {
  18481. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18482. "type": "integer"
  18483. },
  18484. "bizscope": {
  18485. "description": "企业经营范围(企业)",
  18486. "type": "string"
  18487. },
  18488. "biztype": {
  18489. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18490. "type": "integer"
  18491. },
  18492. "brokerid": {
  18493. "description": "经纪人ID(加密存储)",
  18494. "type": "string"
  18495. },
  18496. "cardaddress": {
  18497. "description": "证件地址 (加密存储)",
  18498. "type": "string"
  18499. },
  18500. "cardbackphotourl": {
  18501. "description": "背面证件照地址",
  18502. "type": "string"
  18503. },
  18504. "cardfrontphotourl": {
  18505. "description": "正面证件照地址",
  18506. "type": "string"
  18507. },
  18508. "cardnum": {
  18509. "description": "证件号码 (加密存储)",
  18510. "type": "string"
  18511. },
  18512. "cardtype": {
  18513. "description": "证件类型",
  18514. "type": "integer"
  18515. },
  18516. "cityid": {
  18517. "description": "市",
  18518. "type": "integer"
  18519. },
  18520. "company": {
  18521. "description": "公司(个人)",
  18522. "type": "string"
  18523. },
  18524. "contactcardbackphotourl": {
  18525. "description": "联系人证件背面图片地址",
  18526. "type": "string"
  18527. },
  18528. "contactcardfrontphotourl": {
  18529. "description": "联系人证件正面图片地址",
  18530. "type": "string"
  18531. },
  18532. "contactname": {
  18533. "description": "联系人",
  18534. "type": "string"
  18535. },
  18536. "countryid": {
  18537. "description": "国家",
  18538. "type": "integer"
  18539. },
  18540. "createtime": {
  18541. "description": "开户申请时间",
  18542. "type": "string"
  18543. },
  18544. "cusbankid": {
  18545. "description": "签约类型",
  18546. "type": "string"
  18547. },
  18548. "cusbankname": {
  18549. "description": "签约类型名称",
  18550. "type": "string"
  18551. },
  18552. "customername": {
  18553. "description": "客户名称(企业名称)",
  18554. "type": "string"
  18555. },
  18556. "districtid": {
  18557. "description": "地区",
  18558. "type": "integer"
  18559. },
  18560. "email": {
  18561. "description": "Email地址(加密存储)",
  18562. "type": "string"
  18563. },
  18564. "halfbodyphotourl": {
  18565. "description": "半身照地址",
  18566. "type": "string"
  18567. },
  18568. "headurl": {
  18569. "description": "头像地址",
  18570. "type": "string"
  18571. },
  18572. "ipaddress": {
  18573. "description": "IP地址",
  18574. "type": "string"
  18575. },
  18576. "isvalidate": {
  18577. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18578. "type": "string"
  18579. },
  18580. "legalcardbackphotourl": {
  18581. "description": "法人身份证背面照地址",
  18582. "type": "string"
  18583. },
  18584. "legalcardfrontphotourl": {
  18585. "description": "法人身份证正面照地址",
  18586. "type": "string"
  18587. },
  18588. "legalpersonname": {
  18589. "description": "法人姓名(企业)",
  18590. "type": "string"
  18591. },
  18592. "logincode": {
  18593. "description": "登录帐号 (加密存储)",
  18594. "type": "string"
  18595. },
  18596. "memberareaid": {
  18597. "description": "所属会员ID",
  18598. "type": "integer"
  18599. },
  18600. "mobile2": {
  18601. "description": "手机号码[明文-尚志]",
  18602. "type": "string"
  18603. },
  18604. "mobilephone": {
  18605. "description": "手机号码 (加密存储)",
  18606. "type": "string"
  18607. },
  18608. "modifiedby": {
  18609. "description": "修改人帐号",
  18610. "type": "integer"
  18611. },
  18612. "modifiedtime": {
  18613. "description": "修改时间",
  18614. "type": "string"
  18615. },
  18616. "nickname": {
  18617. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18618. "type": "string"
  18619. },
  18620. "openmode": {
  18621. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18622. "type": "integer"
  18623. },
  18624. "otherurl": {
  18625. "description": "其它图片地址[使用分号分隔]",
  18626. "type": "string"
  18627. },
  18628. "postalcode": {
  18629. "description": "邮政编码",
  18630. "type": "string"
  18631. },
  18632. "provinceid": {
  18633. "description": "省",
  18634. "type": "integer"
  18635. },
  18636. "proxystatementurl": {
  18637. "description": "授权委托书",
  18638. "type": "string"
  18639. },
  18640. "qq": {
  18641. "description": "QQ(加密存储",
  18642. "type": "string"
  18643. },
  18644. "referral": {
  18645. "description": "推荐人编码",
  18646. "type": "string"
  18647. },
  18648. "remark": {
  18649. "description": "备注",
  18650. "type": "string"
  18651. },
  18652. "removebeforestatus": {
  18653. "description": "REMOVEBEFORESTATUS",
  18654. "type": "integer"
  18655. },
  18656. "sex": {
  18657. "description": "性别 - 0:女 1:男",
  18658. "type": "integer"
  18659. },
  18660. "signedstatus": {
  18661. "description": "账户一号签签约状态",
  18662. "type": "integer"
  18663. },
  18664. "signpdfurl": {
  18665. "description": "签约pdf文件",
  18666. "type": "string"
  18667. },
  18668. "subbranch": {
  18669. "description": "开户支行",
  18670. "type": "string"
  18671. },
  18672. "taxpayernum": {
  18673. "description": "纳税人识别号",
  18674. "type": "string"
  18675. },
  18676. "telphone": {
  18677. "description": "联系电话(加密存储)",
  18678. "type": "string"
  18679. },
  18680. "userid": {
  18681. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18682. "type": "integer"
  18683. },
  18684. "userinfotype": {
  18685. "description": "用户信息类型 - 1:个人 2:企业",
  18686. "type": "integer"
  18687. },
  18688. "username": {
  18689. "description": "用户姓名",
  18690. "type": "string"
  18691. },
  18692. "userstate": {
  18693. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18694. "type": "integer"
  18695. },
  18696. "usertype": {
  18697. "description": "用户类型 - 1:投资者 2:机构",
  18698. "type": "integer"
  18699. },
  18700. "videourl": {
  18701. "description": "视频地址",
  18702. "type": "string"
  18703. },
  18704. "wechat": {
  18705. "description": "微信号 (加密存储)",
  18706. "type": "string"
  18707. }
  18708. }
  18709. },
  18710. "erms3.QryAuditContractRsp": {
  18711. "type": "object",
  18712. "required": [
  18713. "matchcustomername",
  18714. "spotcontractid"
  18715. ],
  18716. "properties": {
  18717. "accountid": {
  18718. "description": "交易员ID",
  18719. "type": "string"
  18720. },
  18721. "applystatus": {
  18722. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18723. "type": "integer"
  18724. },
  18725. "curdeliveryqty": {
  18726. "description": "未交收量",
  18727. "type": "integer"
  18728. },
  18729. "customername": {
  18730. "description": "采购方ID",
  18731. "type": "string"
  18732. },
  18733. "deliverygoodsid": {
  18734. "description": "品种ID",
  18735. "type": "string"
  18736. },
  18737. "deliveryqty": {
  18738. "description": "交收量",
  18739. "type": "integer"
  18740. },
  18741. "enumdicname": {
  18742. "description": "单位名称",
  18743. "type": "string"
  18744. },
  18745. "matchaccountid": {
  18746. "description": "业务员ID",
  18747. "type": "string"
  18748. },
  18749. "matchcustomername": {
  18750. "description": "销售方ID",
  18751. "type": "string"
  18752. },
  18753. "pricedqty": {
  18754. "description": "定价量",
  18755. "type": "number"
  18756. },
  18757. "signdate": {
  18758. "description": "签订日期",
  18759. "type": "string"
  18760. },
  18761. "spotcontractid": {
  18762. "description": "合同ID",
  18763. "type": "string"
  18764. },
  18765. "totaldqty": {
  18766. "description": "合同量",
  18767. "type": "number"
  18768. },
  18769. "unpricedqty": {
  18770. "description": "未定价量",
  18771. "type": "number"
  18772. },
  18773. "wrstandardname": {
  18774. "description": "商品名称",
  18775. "type": "string"
  18776. }
  18777. }
  18778. },
  18779. "erms3.QryPendingBizRsp": {
  18780. "type": "object",
  18781. "properties": {
  18782. "accountid": {
  18783. "description": "现货账户",
  18784. "type": "string"
  18785. },
  18786. "areaname": {
  18787. "description": "所属部门",
  18788. "type": "string"
  18789. },
  18790. "bizid": {
  18791. "description": "业务ID",
  18792. "type": "string"
  18793. },
  18794. "bizname": {
  18795. "description": "业务名称",
  18796. "type": "string"
  18797. },
  18798. "status": {
  18799. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18800. "type": "integer"
  18801. },
  18802. "type": {
  18803. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18804. "type": "integer"
  18805. }
  18806. }
  18807. },
  18808. "erms3.QueryBusinessInfoRsp": {
  18809. "type": "object",
  18810. "properties": {
  18811. "businessid": {
  18812. "description": "业务ID.",
  18813. "type": "integer"
  18814. },
  18815. "buyamount": {
  18816. "description": "采购额.",
  18817. "type": "number"
  18818. },
  18819. "buyqty": {
  18820. "description": "采购量.",
  18821. "type": "string"
  18822. },
  18823. "futurepl": {
  18824. "description": "期货盈亏.",
  18825. "type": "number"
  18826. },
  18827. "futureqty": {
  18828. "description": "期货敞口.",
  18829. "type": "string"
  18830. },
  18831. "goodsid": {
  18832. "description": "商品名称/商品代码.",
  18833. "type": "string"
  18834. },
  18835. "hedgingqty": {
  18836. "description": "套保量.",
  18837. "type": "string"
  18838. },
  18839. "sellamount": {
  18840. "description": "销售额.",
  18841. "type": "number"
  18842. },
  18843. "sellqty": {
  18844. "description": "销售量.",
  18845. "type": "string"
  18846. },
  18847. "spotmarketvalue": {
  18848. "description": "现货市值.",
  18849. "type": "number"
  18850. },
  18851. "spotpl": {
  18852. "description": "浮动权益.",
  18853. "type": "number"
  18854. },
  18855. "spotqty": {
  18856. "description": "现货量.",
  18857. "type": "string"
  18858. },
  18859. "statu": {
  18860. "description": "状态,0-未结束 1-已结束.",
  18861. "type": "integer"
  18862. },
  18863. "totalpl": {
  18864. "description": "总盈亏.",
  18865. "type": "number"
  18866. },
  18867. "totalqty": {
  18868. "description": "总敞口.",
  18869. "type": "string"
  18870. },
  18871. "type": {
  18872. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  18873. "type": "integer"
  18874. }
  18875. }
  18876. },
  18877. "erms3.QuerySpotContractAppleFormRsp": {
  18878. "type": "object",
  18879. "properties": {
  18880. "goodses": {
  18881. "description": "合约列表",
  18882. "type": "array",
  18883. "items": {
  18884. "$ref": "#/definitions/models.GoodsIDAndName"
  18885. }
  18886. },
  18887. "oppositeusers": {
  18888. "description": "对方账号列表",
  18889. "type": "array",
  18890. "items": {
  18891. "$ref": "#/definitions/erms3.CustomerInfo"
  18892. }
  18893. },
  18894. "ouruser": {
  18895. "description": "我方账号",
  18896. "$ref": "#/definitions/erms3.CustomerInfo"
  18897. },
  18898. "warehouseinfos": {
  18899. "description": "仓库信息列表",
  18900. "type": "array",
  18901. "items": {
  18902. "$ref": "#/definitions/models.Warehouseinfo"
  18903. }
  18904. },
  18905. "wrstandards": {
  18906. "description": "仓单标准列表",
  18907. "type": "array",
  18908. "items": {
  18909. "$ref": "#/definitions/models.WRStandardInfo"
  18910. }
  18911. }
  18912. }
  18913. },
  18914. "erms3.QuerySpotContractInfoRsp": {
  18915. "type": "object",
  18916. "properties": {
  18917. "accountid": {
  18918. "description": "表示交易员ID.",
  18919. "type": "integer"
  18920. },
  18921. "curdeliveryqty": {
  18922. "description": "表示未交收量.",
  18923. "type": "number"
  18924. },
  18925. "customername": {
  18926. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  18927. "type": "string"
  18928. },
  18929. "deliverygoodsid": {
  18930. "description": "表示品种ID.",
  18931. "type": "string"
  18932. },
  18933. "deliveryqty": {
  18934. "description": "表示交收量.",
  18935. "type": "number"
  18936. },
  18937. "matchaccountid": {
  18938. "description": "表示业务员ID.",
  18939. "type": "integer"
  18940. },
  18941. "matchcustomername": {
  18942. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  18943. "type": "string"
  18944. },
  18945. "priceqty": {
  18946. "description": "表示定价量.",
  18947. "type": "number"
  18948. },
  18949. "relatedbizid": {
  18950. "description": "表示业务ID.",
  18951. "type": "string"
  18952. },
  18953. "signdate": {
  18954. "description": "表示签订日期.",
  18955. "type": "string"
  18956. },
  18957. "spotcontractid": {
  18958. "description": "合同ID",
  18959. "type": "string"
  18960. },
  18961. "status": {
  18962. "description": "表示状态,0-履约中 1-已完成.",
  18963. "type": "integer"
  18964. },
  18965. "totalqty": {
  18966. "description": "表示合同量.",
  18967. "type": "number"
  18968. },
  18969. "unpricedqty": {
  18970. "description": "表示未定价量.",
  18971. "type": "number"
  18972. },
  18973. "wrstandardname": {
  18974. "description": "表示商品ID.",
  18975. "type": "string"
  18976. }
  18977. }
  18978. },
  18979. "erms3.QueryUserInfoAppliesRsp": {
  18980. "type": "object",
  18981. "required": [
  18982. "userid"
  18983. ],
  18984. "properties": {
  18985. "biznature": {
  18986. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18987. "type": "integer"
  18988. },
  18989. "contactname": {
  18990. "description": "联系人",
  18991. "type": "string"
  18992. },
  18993. "createtime": {
  18994. "description": "开户申请时间",
  18995. "type": "string"
  18996. },
  18997. "userid": {
  18998. "description": "用户ID(自增ID)",
  18999. "type": "integer"
  19000. },
  19001. "userinfotype": {
  19002. "description": "用户信息类型 - 1:个人 2:企业",
  19003. "type": "integer"
  19004. },
  19005. "username": {
  19006. "description": "用户姓名",
  19007. "type": "string"
  19008. },
  19009. "userstate": {
  19010. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19011. "type": "integer"
  19012. }
  19013. }
  19014. },
  19015. "erms3.QueryUserInfosRsp": {
  19016. "type": "object",
  19017. "required": [
  19018. "userid"
  19019. ],
  19020. "properties": {
  19021. "biznature": {
  19022. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19023. "type": "integer"
  19024. },
  19025. "contactname": {
  19026. "description": "联系人",
  19027. "type": "string"
  19028. },
  19029. "customername": {
  19030. "description": "客户名称(企业名称)",
  19031. "type": "string"
  19032. },
  19033. "userid": {
  19034. "description": "用户ID",
  19035. "type": "integer"
  19036. },
  19037. "userinfotype": {
  19038. "description": "用户信息类型 - 1:个人 2:企业",
  19039. "type": "integer"
  19040. },
  19041. "userstatus": {
  19042. "description": "用户状态 - 1:正常 2:注销",
  19043. "type": "integer"
  19044. }
  19045. }
  19046. },
  19047. "erms3.SoptContractDetail": {
  19048. "type": "object",
  19049. "required": [
  19050. "deliverygoodsid",
  19051. "producttype",
  19052. "unitname",
  19053. "warehouseid",
  19054. "wrstandardid",
  19055. "wrstandardname"
  19056. ],
  19057. "properties": {
  19058. "deliverygoodsdesc": {
  19059. "description": "现货品种说明",
  19060. "type": "string"
  19061. },
  19062. "deliverygoodsid": {
  19063. "description": "现货品种ID",
  19064. "type": "integer"
  19065. },
  19066. "deliverygoodsname": {
  19067. "description": "现货品种名称",
  19068. "type": "string"
  19069. },
  19070. "pointdesc": {
  19071. "description": "点价描述",
  19072. "type": "string"
  19073. },
  19074. "producttype": {
  19075. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  19076. "type": "integer"
  19077. },
  19078. "producttypename": {
  19079. "description": "产品类型名称",
  19080. "type": "string"
  19081. },
  19082. "spotPointOrderVoList": {
  19083. "description": "点价列表",
  19084. "type": "array",
  19085. "items": {
  19086. "$ref": "#/definitions/erms3.SpotPointOrder"
  19087. }
  19088. },
  19089. "spotPriceOrderList": {
  19090. "description": "定价列表",
  19091. "type": "array",
  19092. "items": {
  19093. "$ref": "#/definitions/erms3.SpotPriceOrder"
  19094. }
  19095. },
  19096. "unitname": {
  19097. "description": "单位名称",
  19098. "type": "string"
  19099. },
  19100. "warehouseid": {
  19101. "description": "仓库ID",
  19102. "type": "integer"
  19103. },
  19104. "warehousename": {
  19105. "description": "仓库名称",
  19106. "type": "string"
  19107. },
  19108. "wrstandardid": {
  19109. "description": "交易标的ID",
  19110. "type": "integer"
  19111. },
  19112. "wrstandardname": {
  19113. "description": "交易标的名称",
  19114. "type": "string"
  19115. }
  19116. }
  19117. },
  19118. "erms3.SpotPointOrder": {
  19119. "type": "object",
  19120. "required": [
  19121. "basic",
  19122. "goodsid",
  19123. "qty"
  19124. ],
  19125. "properties": {
  19126. "basic": {
  19127. "description": "基差",
  19128. "type": "number"
  19129. },
  19130. "deliveryenddate": {
  19131. "description": "交收结束日期",
  19132. "type": "string"
  19133. },
  19134. "deliverystartdate": {
  19135. "description": "交收开始日期",
  19136. "type": "string"
  19137. },
  19138. "enddate": {
  19139. "description": "点价结束日期",
  19140. "type": "string"
  19141. },
  19142. "goodsid": {
  19143. "description": "商品ID",
  19144. "type": "integer"
  19145. },
  19146. "goodsname": {
  19147. "description": "商品名称",
  19148. "type": "string"
  19149. },
  19150. "qty": {
  19151. "description": "数量",
  19152. "type": "number"
  19153. },
  19154. "startdate": {
  19155. "description": "点价开始日期",
  19156. "type": "string"
  19157. }
  19158. }
  19159. },
  19160. "erms3.SpotPriceOrder": {
  19161. "type": "object",
  19162. "required": [
  19163. "amount",
  19164. "price",
  19165. "qty"
  19166. ],
  19167. "properties": {
  19168. "amount": {
  19169. "description": "金额",
  19170. "type": "number"
  19171. },
  19172. "deliveryenddate": {
  19173. "description": "交收结束日期",
  19174. "type": "string"
  19175. },
  19176. "deliverystartdate": {
  19177. "description": "交收开始日期",
  19178. "type": "string"
  19179. },
  19180. "price": {
  19181. "description": "价格",
  19182. "type": "number"
  19183. },
  19184. "qty": {
  19185. "description": "数量",
  19186. "type": "number"
  19187. }
  19188. }
  19189. },
  19190. "hsby.GetHsbyMyCountRsp": {
  19191. "type": "object",
  19192. "properties": {
  19193. "myCouponCount": {
  19194. "description": "我的优惠卷数量",
  19195. "type": "integer"
  19196. },
  19197. "myOrderDetailListingCount": {
  19198. "description": "我的订单求购中数量",
  19199. "type": "integer"
  19200. },
  19201. "myOrderDetailPreCount": {
  19202. "description": "我的订单抢购中数量",
  19203. "type": "integer"
  19204. },
  19205. "myPackageUnReceiveCount": {
  19206. "description": "我的包裹待收货数量",
  19207. "type": "integer"
  19208. },
  19209. "myPackageUnSendCount": {
  19210. "description": "我的包裹待发货数量",
  19211. "type": "integer"
  19212. },
  19213. "myPayOrderCount": {
  19214. "description": "我的订单待付款数量",
  19215. "type": "integer"
  19216. }
  19217. }
  19218. },
  19219. "hsby.QueryProvincesAndCitiesRsp": {
  19220. "type": "object",
  19221. "properties": {
  19222. "cities": {
  19223. "description": "市",
  19224. "type": "array",
  19225. "items": {
  19226. "$ref": "#/definitions/models.Division"
  19227. }
  19228. },
  19229. "province": {
  19230. "description": "省",
  19231. "$ref": "#/definitions/models.Division"
  19232. }
  19233. }
  19234. },
  19235. "models.Arearole": {
  19236. "type": "object",
  19237. "required": [
  19238. "roletype",
  19239. "userid"
  19240. ],
  19241. "properties": {
  19242. "createtime": {
  19243. "description": "创建时间",
  19244. "type": "string"
  19245. },
  19246. "creatorid": {
  19247. "description": "创建人ID",
  19248. "type": "integer"
  19249. },
  19250. "fromuserid": {
  19251. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  19252. "type": "integer"
  19253. },
  19254. "isreturnscore": {
  19255. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  19256. "type": "integer"
  19257. },
  19258. "modifierid": {
  19259. "description": "修改人ID",
  19260. "type": "integer"
  19261. },
  19262. "modifytime": {
  19263. "description": "修改时间",
  19264. "type": "string"
  19265. },
  19266. "orgtype": {
  19267. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  19268. "type": "integer"
  19269. },
  19270. "outuserid": {
  19271. "description": "外部账户[场外期权做市商]",
  19272. "type": "string"
  19273. },
  19274. "parentuserid": {
  19275. "description": "上级组织机构(组织机构)",
  19276. "type": "integer"
  19277. },
  19278. "roletype": {
  19279. "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:门店",
  19280. "type": "integer"
  19281. },
  19282. "rootuserid": {
  19283. "description": "顶级组织机构用户ID(组织机构)",
  19284. "type": "integer"
  19285. },
  19286. "shoppassword": {
  19287. "description": "商城店铺登陆密码(商城店铺角色使用)",
  19288. "type": "string"
  19289. },
  19290. "sublevelpath": {
  19291. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  19292. "type": "string"
  19293. },
  19294. "suborgtype": {
  19295. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  19296. "type": "integer"
  19297. },
  19298. "tradeaccountid": {
  19299. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  19300. "type": "integer"
  19301. },
  19302. "transurl": {
  19303. "description": "物流地址(物流机构)",
  19304. "type": "string"
  19305. },
  19306. "userid": {
  19307. "description": "机构用户ID其他做市关系,都设置为 1",
  19308. "type": "integer"
  19309. }
  19310. }
  19311. },
  19312. "models.Clientfixedadconfig": {
  19313. "type": "object",
  19314. "required": [
  19315. "adsort",
  19316. "adtype"
  19317. ],
  19318. "properties": {
  19319. "adsort": {
  19320. "description": "排序",
  19321. "type": "integer"
  19322. },
  19323. "adtype": {
  19324. "description": "广告位类型 - 1:新品抢购(HSBY)",
  19325. "type": "integer"
  19326. },
  19327. "areauserid": {
  19328. "description": "所属机构ID",
  19329. "type": "integer"
  19330. },
  19331. "createdate": {
  19332. "description": "创建时间",
  19333. "type": "string"
  19334. },
  19335. "creatorid": {
  19336. "description": "创建人",
  19337. "type": "integer"
  19338. },
  19339. "imagepath": {
  19340. "description": "图片",
  19341. "type": "string"
  19342. },
  19343. "isshow": {
  19344. "description": "是否展示 - 0:不展示 1:展示",
  19345. "type": "integer"
  19346. },
  19347. "modifierid": {
  19348. "description": "操作人",
  19349. "type": "integer"
  19350. },
  19351. "recsize": {
  19352. "description": "推荐尺寸",
  19353. "type": "string"
  19354. },
  19355. "title": {
  19356. "description": "标题",
  19357. "type": "string"
  19358. },
  19359. "updatedate": {
  19360. "description": "更新时间",
  19361. "type": "string"
  19362. },
  19363. "urlcontent": {
  19364. "description": "链接(地址或商品ID)",
  19365. "type": "string"
  19366. },
  19367. "urltype": {
  19368. "description": "链接类型 - 1:直接地址 2:商品ID",
  19369. "type": "integer"
  19370. }
  19371. }
  19372. },
  19373. "models.Division": {
  19374. "type": "object",
  19375. "required": [
  19376. "autoid",
  19377. "divisioncode"
  19378. ],
  19379. "properties": {
  19380. "autoid": {
  19381. "description": "自增ID",
  19382. "type": "integer"
  19383. },
  19384. "divisioncode": {
  19385. "description": "行政代码",
  19386. "type": "string"
  19387. },
  19388. "divisionlevel": {
  19389. "description": "行政级别",
  19390. "type": "string"
  19391. },
  19392. "divisionname": {
  19393. "description": "行政名称",
  19394. "type": "string"
  19395. },
  19396. "modifierid": {
  19397. "description": "修改人",
  19398. "type": "integer"
  19399. },
  19400. "modifytime": {
  19401. "description": "修改时间",
  19402. "type": "string"
  19403. },
  19404. "parentcode": {
  19405. "description": "上级行政代码",
  19406. "type": "string"
  19407. },
  19408. "pathname": {
  19409. "description": "路径名称",
  19410. "type": "string"
  19411. },
  19412. "postcode": {
  19413. "description": "邮政编码",
  19414. "type": "string"
  19415. },
  19416. "separablename": {
  19417. "description": "可拆分的全称",
  19418. "type": "string"
  19419. },
  19420. "shortcode": {
  19421. "description": "地区简码",
  19422. "type": "string"
  19423. }
  19424. }
  19425. },
  19426. "models.Enumdicitem": {
  19427. "type": "object",
  19428. "required": [
  19429. "autoid",
  19430. "enumdiccode",
  19431. "enumdicid",
  19432. "enumitemname"
  19433. ],
  19434. "properties": {
  19435. "autoid": {
  19436. "description": "自增ID",
  19437. "type": "integer"
  19438. },
  19439. "bankmappedvalue": {
  19440. "description": "银行服务对应值",
  19441. "type": "string"
  19442. },
  19443. "enumdiccode": {
  19444. "description": "所属枚举代码",
  19445. "type": "string"
  19446. },
  19447. "enumdicid": {
  19448. "description": "所属枚举ID",
  19449. "type": "integer"
  19450. },
  19451. "enumdicname": {
  19452. "description": "枚举项名称",
  19453. "type": "string"
  19454. },
  19455. "enumitemname": {
  19456. "description": "枚举项值",
  19457. "type": "integer"
  19458. },
  19459. "enumitemstatus": {
  19460. "description": "枚举项状态 - 1.启用 2.不启用",
  19461. "type": "integer"
  19462. },
  19463. "enumitemvalue": {
  19464. "description": "通用值 - [币种通用简写]",
  19465. "type": "string"
  19466. },
  19467. "param1": {
  19468. "description": "参数1[币种:币种小数位]",
  19469. "type": "string"
  19470. },
  19471. "param2": {
  19472. "description": "参数1[币种:币种显示单位]",
  19473. "type": "string"
  19474. },
  19475. "remark": {
  19476. "description": "备注",
  19477. "type": "string"
  19478. }
  19479. }
  19480. },
  19481. "models.Ermcp3AreaSpot": {
  19482. "type": "object",
  19483. "properties": {
  19484. "areauserid": {
  19485. "description": "所属机构",
  19486. "type": "integer"
  19487. },
  19488. "convertratio": {
  19489. "description": "套保系数",
  19490. "type": "number"
  19491. },
  19492. "decreaseqty": {
  19493. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19494. "type": "number"
  19495. },
  19496. "enumdicname": {
  19497. "description": "单位名称",
  19498. "type": "string"
  19499. },
  19500. "increaseqty": {
  19501. "description": "增加数量=销售计划数量+采购已定价数量",
  19502. "type": "number"
  19503. },
  19504. "oritoalspotqty": {
  19505. "description": "昨日数量",
  19506. "type": "number"
  19507. },
  19508. "totalspotqty": {
  19509. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  19510. "type": "number"
  19511. },
  19512. "unitid": {
  19513. "description": "现货商品单位id",
  19514. "type": "integer"
  19515. },
  19516. "updatetime": {
  19517. "description": "更新时间",
  19518. "type": "string"
  19519. },
  19520. "wrstandardcode": {
  19521. "description": "现货商品代码",
  19522. "type": "string"
  19523. },
  19524. "wrstandardid": {
  19525. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19526. "type": "integer"
  19527. },
  19528. "wrstandardname": {
  19529. "description": "现货商品名称",
  19530. "type": "string"
  19531. }
  19532. }
  19533. },
  19534. "models.Ermcp3AreaSpotDetail": {
  19535. "type": "object",
  19536. "properties": {
  19537. "contracttype": {
  19538. "description": "合同类型 1-采购 -1-销售",
  19539. "type": "integer"
  19540. },
  19541. "createtime": {
  19542. "description": "创建时间",
  19543. "type": "string"
  19544. },
  19545. "enumdicname": {
  19546. "description": "现货商品单位名称",
  19547. "type": "string"
  19548. },
  19549. "logtype": {
  19550. "description": "记录类型 1-套保 2-现货合同",
  19551. "type": "integer"
  19552. },
  19553. "qty": {
  19554. "description": "数量",
  19555. "type": "number"
  19556. },
  19557. "recordname": {
  19558. "description": "类型名称",
  19559. "type": "string"
  19560. },
  19561. "relatedid": {
  19562. "description": "套保计划ID/现货合同ID",
  19563. "type": "string"
  19564. },
  19565. "relatedno": {
  19566. "description": "编号",
  19567. "type": "string"
  19568. },
  19569. "strtime": {
  19570. "description": "时间",
  19571. "type": "string"
  19572. },
  19573. "wrstandardcode": {
  19574. "description": "现货商品代码",
  19575. "type": "string"
  19576. },
  19577. "wrstandardid": {
  19578. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19579. "type": "integer"
  19580. },
  19581. "wrstandardname": {
  19582. "description": "现货商品名称",
  19583. "type": "string"
  19584. }
  19585. }
  19586. },
  19587. "models.Ermcp3AreaSpotPLReport": {
  19588. "type": "object",
  19589. "properties": {
  19590. "accountid": {
  19591. "description": "期货账户ID (作废, 默认为0)",
  19592. "type": "integer"
  19593. },
  19594. "accountname": {
  19595. "description": "机构名称",
  19596. "type": "string"
  19597. },
  19598. "actualpl": {
  19599. "description": "现货损益",
  19600. "type": "number"
  19601. },
  19602. "areauserid": {
  19603. "description": "所属机构\\交易用户ID",
  19604. "type": "integer"
  19605. },
  19606. "begindate": {
  19607. "description": "开始交易日",
  19608. "type": "string"
  19609. },
  19610. "biztype": {
  19611. "description": "业务类型 - 1:套保 2:套利",
  19612. "type": "integer"
  19613. },
  19614. "brandname": {
  19615. "description": "品牌名称",
  19616. "type": "string"
  19617. },
  19618. "curamount": {
  19619. "description": "期末额",
  19620. "type": "number"
  19621. },
  19622. "curaverageprice": {
  19623. "description": "期末均价",
  19624. "type": "number"
  19625. },
  19626. "curbuyamount": {
  19627. "description": "期末采购总额",
  19628. "type": "number"
  19629. },
  19630. "curbuyqty": {
  19631. "description": "期末采购总量",
  19632. "type": "number"
  19633. },
  19634. "curmarketvalue": {
  19635. "description": "参考市值(期末市值)",
  19636. "type": "number"
  19637. },
  19638. "curqty": {
  19639. "description": "期末量",
  19640. "type": "number"
  19641. },
  19642. "currencyid": {
  19643. "description": "结算币种ID【原值】",
  19644. "type": "integer"
  19645. },
  19646. "currencyname": {
  19647. "description": "币种名称",
  19648. "type": "string"
  19649. },
  19650. "cursellamount": {
  19651. "description": "期末销售总额",
  19652. "type": "number"
  19653. },
  19654. "cursellqty": {
  19655. "description": "期末销售总量",
  19656. "type": "number"
  19657. },
  19658. "curspotprice": {
  19659. "description": "参考市价(最新价)",
  19660. "type": "number"
  19661. },
  19662. "cycletime": {
  19663. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19664. "type": "string"
  19665. },
  19666. "cycletype": {
  19667. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19668. "type": "integer"
  19669. },
  19670. "deliverygoodscode": {
  19671. "description": "现货商品代码",
  19672. "type": "string"
  19673. },
  19674. "deliverygoodsid": {
  19675. "description": "现货品种ID",
  19676. "type": "integer"
  19677. },
  19678. "deliverygoodsname": {
  19679. "description": "现货商品名称",
  19680. "type": "string"
  19681. },
  19682. "enddate": {
  19683. "description": "结束交易日",
  19684. "type": "string"
  19685. },
  19686. "enumdicname": {
  19687. "description": "现货商品单位名称",
  19688. "type": "string"
  19689. },
  19690. "floatpl": {
  19691. "description": "浮动损益",
  19692. "type": "number"
  19693. },
  19694. "goodsunitid": {
  19695. "description": "现货商品单位id",
  19696. "type": "integer"
  19697. },
  19698. "oriamount": {
  19699. "description": "期初额",
  19700. "type": "number"
  19701. },
  19702. "oriaverageprice": {
  19703. "description": "期初均价",
  19704. "type": "number"
  19705. },
  19706. "oribuyamount": {
  19707. "description": "期初采购总额",
  19708. "type": "number"
  19709. },
  19710. "oribuyqty": {
  19711. "description": "期初采购总量",
  19712. "type": "number"
  19713. },
  19714. "oriqty": {
  19715. "description": "期初量",
  19716. "type": "number"
  19717. },
  19718. "orisellamount": {
  19719. "description": "期初销售总额",
  19720. "type": "number"
  19721. },
  19722. "orisellqty": {
  19723. "description": "期初销售总量",
  19724. "type": "number"
  19725. },
  19726. "reckondate": {
  19727. "description": "日照时期(yyyyMMdd)",
  19728. "type": "string"
  19729. },
  19730. "spotgoodsbrandid": {
  19731. "description": "现货品牌ID",
  19732. "type": "integer"
  19733. },
  19734. "todaybuyamount": {
  19735. "description": "今日采购额(今采购额)",
  19736. "type": "number"
  19737. },
  19738. "todaybuyaverageprice": {
  19739. "description": "今日采购均价",
  19740. "type": "number"
  19741. },
  19742. "todaybuyqty": {
  19743. "description": "今日采购量(今采购量)",
  19744. "type": "number"
  19745. },
  19746. "todayinqty": {
  19747. "description": "今日入库量(今入库量)",
  19748. "type": "number"
  19749. },
  19750. "todayoutqty": {
  19751. "description": "今日出库量(今出库量)",
  19752. "type": "number"
  19753. },
  19754. "todaysellamount": {
  19755. "description": "今日销售额(今销售额)",
  19756. "type": "number"
  19757. },
  19758. "todaysellaverageprice": {
  19759. "description": "今日销售均价",
  19760. "type": "number"
  19761. },
  19762. "todaysellqty": {
  19763. "description": "今日销售量(今销售量)",
  19764. "type": "number"
  19765. },
  19766. "unitid": {
  19767. "description": "品类单位id",
  19768. "type": "integer"
  19769. },
  19770. "unitidname": {
  19771. "description": "品类单位名称",
  19772. "type": "string"
  19773. },
  19774. "updatetime": {
  19775. "description": "更新时间",
  19776. "type": "string"
  19777. },
  19778. "wrfactortypeid": {
  19779. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19780. "type": "integer"
  19781. },
  19782. "wrstandardcode": {
  19783. "description": "品类代码",
  19784. "type": "string"
  19785. },
  19786. "wrstandardid": {
  19787. "description": "现货品类ID",
  19788. "type": "integer"
  19789. },
  19790. "wrstandardname": {
  19791. "description": "品类名称",
  19792. "type": "string"
  19793. }
  19794. }
  19795. },
  19796. "models.Ermcp3AreaStock": {
  19797. "type": "object",
  19798. "required": [
  19799. "userid"
  19800. ],
  19801. "properties": {
  19802. "brandname": {
  19803. "description": "品牌名称",
  19804. "type": "string"
  19805. },
  19806. "curstock": {
  19807. "description": "期末库存量(今日量)",
  19808. "type": "number"
  19809. },
  19810. "deliverygoodscode": {
  19811. "description": "现货品种代码",
  19812. "type": "string"
  19813. },
  19814. "deliverygoodsid": {
  19815. "description": "现货品种id",
  19816. "type": "integer"
  19817. },
  19818. "deliverygoodsname": {
  19819. "description": "现货品种名称",
  19820. "type": "string"
  19821. },
  19822. "enumdicname": {
  19823. "description": "单位名称",
  19824. "type": "string"
  19825. },
  19826. "goodsunitid": {
  19827. "description": "现货商品单位id",
  19828. "type": "integer"
  19829. },
  19830. "oristock": {
  19831. "description": "期初库存量(昨日量)",
  19832. "type": "number"
  19833. },
  19834. "spotgoodsbrandid": {
  19835. "description": "现货品牌ID",
  19836. "type": "integer"
  19837. },
  19838. "todaybuyinqty": {
  19839. "description": "今日采购入库量",
  19840. "type": "number"
  19841. },
  19842. "todayproduceinqty": {
  19843. "description": "今日生产入库量",
  19844. "type": "number"
  19845. },
  19846. "todayproduceoutqty": {
  19847. "description": "今日生产出库量",
  19848. "type": "number"
  19849. },
  19850. "todayselloutqty": {
  19851. "description": "今日销售出库量",
  19852. "type": "number"
  19853. },
  19854. "unitid": {
  19855. "description": "单位id",
  19856. "type": "integer"
  19857. },
  19858. "updatetime": {
  19859. "description": "更新时间",
  19860. "type": "string"
  19861. },
  19862. "userid": {
  19863. "description": "机构ID",
  19864. "type": "integer"
  19865. },
  19866. "username": {
  19867. "description": "机构名称",
  19868. "type": "string"
  19869. },
  19870. "warehousecode": {
  19871. "description": "仓库代码",
  19872. "type": "string"
  19873. },
  19874. "warehouseinfoid": {
  19875. "description": "仓库ID",
  19876. "type": "string"
  19877. },
  19878. "warehousename": {
  19879. "description": "仓库名称",
  19880. "type": "string"
  19881. },
  19882. "warehousetype": {
  19883. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19884. "type": "integer"
  19885. },
  19886. "wrstandardcode": {
  19887. "description": "品类代码",
  19888. "type": "string"
  19889. },
  19890. "wrstandardid": {
  19891. "description": "品类ID",
  19892. "type": "string"
  19893. },
  19894. "wrstandardname": {
  19895. "description": "品类名称",
  19896. "type": "string"
  19897. }
  19898. }
  19899. },
  19900. "models.Ermcp3AreaStockApply": {
  19901. "type": "object",
  19902. "properties": {
  19903. "applyid": {
  19904. "description": "申请人",
  19905. "type": "integer"
  19906. },
  19907. "applyname": {
  19908. "description": "申请人名称",
  19909. "type": "string"
  19910. },
  19911. "applyremark": {
  19912. "description": "申请备注",
  19913. "type": "string"
  19914. },
  19915. "applysrc": {
  19916. "description": "申请来源 - 1:管理端 2:终端",
  19917. "type": "integer"
  19918. },
  19919. "applystatus": {
  19920. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19921. "type": "integer"
  19922. },
  19923. "applytime": {
  19924. "description": "申请时间",
  19925. "type": "string"
  19926. },
  19927. "auditid": {
  19928. "description": "审核人",
  19929. "type": "integer"
  19930. },
  19931. "auditname": {
  19932. "description": "审核人名称",
  19933. "type": "string"
  19934. },
  19935. "auditremark": {
  19936. "description": "审核备注",
  19937. "type": "string"
  19938. },
  19939. "auditsrc": {
  19940. "description": "审核来源 - 1:管理端 2:终端",
  19941. "type": "integer"
  19942. },
  19943. "audittime": {
  19944. "description": "审核时间",
  19945. "type": "string"
  19946. },
  19947. "audittradedate": {
  19948. "description": "审核交易日(yyyyMMdd)",
  19949. "type": "string"
  19950. },
  19951. "brandname": {
  19952. "description": "品牌名称",
  19953. "type": "string"
  19954. },
  19955. "buynickname": {
  19956. "description": "采购方昵称",
  19957. "type": "string"
  19958. },
  19959. "buyuserid": {
  19960. "description": "采购方userid",
  19961. "type": "integer"
  19962. },
  19963. "buyusername": {
  19964. "description": "采购方名称",
  19965. "type": "string"
  19966. },
  19967. "contractno": {
  19968. "description": "合同编号",
  19969. "type": "string"
  19970. },
  19971. "contractqty": {
  19972. "description": "合同量",
  19973. "type": "number"
  19974. },
  19975. "contracttype": {
  19976. "description": "现货合同类型 - 1:采购 -1:销售",
  19977. "type": "integer"
  19978. },
  19979. "deliverygoodscode": {
  19980. "description": "现货品种代码",
  19981. "type": "string"
  19982. },
  19983. "deliverygoodsid": {
  19984. "description": "现货品种id",
  19985. "type": "integer"
  19986. },
  19987. "deliverygoodsname": {
  19988. "description": "现货品种名称",
  19989. "type": "string"
  19990. },
  19991. "detailjson": {
  19992. "description": "明细数据",
  19993. "type": "string"
  19994. },
  19995. "enumdicname": {
  19996. "description": "现货商品单位名称",
  19997. "type": "string"
  19998. },
  19999. "inoutapplyid": {
  20000. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  20001. "type": "string"
  20002. },
  20003. "inouttype": {
  20004. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20005. "type": "integer"
  20006. },
  20007. "pricetype": {
  20008. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20009. "type": "integer"
  20010. },
  20011. "qty": {
  20012. "description": "数量",
  20013. "type": "number"
  20014. },
  20015. "sellnickname": {
  20016. "description": "销售方昵称",
  20017. "type": "string"
  20018. },
  20019. "selluserid": {
  20020. "description": "销售方userid",
  20021. "type": "integer"
  20022. },
  20023. "sellusername": {
  20024. "description": "销售方名称",
  20025. "type": "string"
  20026. },
  20027. "spotcontractid": {
  20028. "description": "关联现货合同ID",
  20029. "type": "string"
  20030. },
  20031. "spotgoodsbrandid": {
  20032. "description": "现货品牌ID",
  20033. "type": "integer"
  20034. },
  20035. "unitid": {
  20036. "description": "单位id",
  20037. "type": "integer"
  20038. },
  20039. "userid": {
  20040. "description": "机构ID",
  20041. "type": "integer"
  20042. },
  20043. "warehousecode": {
  20044. "description": "仓库代码",
  20045. "type": "string"
  20046. },
  20047. "warehouseinfoid": {
  20048. "description": "现货仓库ID",
  20049. "type": "string"
  20050. },
  20051. "warehousename": {
  20052. "description": "仓库名称",
  20053. "type": "string"
  20054. },
  20055. "warehousetype": {
  20056. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20057. "type": "integer"
  20058. },
  20059. "wrstandardcode": {
  20060. "description": "品类代码",
  20061. "type": "string"
  20062. },
  20063. "wrstandardid": {
  20064. "description": "品类ID",
  20065. "type": "integer"
  20066. },
  20067. "wrstandardname": {
  20068. "description": "品类名称",
  20069. "type": "string"
  20070. }
  20071. }
  20072. },
  20073. "models.Ermcp3AreaStockApplySum": {
  20074. "type": "object",
  20075. "properties": {
  20076. "brandname": {
  20077. "description": "品牌名称",
  20078. "type": "string"
  20079. },
  20080. "inouttype": {
  20081. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20082. "type": "integer"
  20083. },
  20084. "spotcontractid": {
  20085. "description": "关联现货合同ID",
  20086. "type": "string"
  20087. },
  20088. "spotgoodsbrandid": {
  20089. "description": "品牌id",
  20090. "type": "integer"
  20091. },
  20092. "totalqty": {
  20093. "description": "总数量",
  20094. "type": "number"
  20095. },
  20096. "wrstandardid": {
  20097. "description": "品类id",
  20098. "type": "integer"
  20099. },
  20100. "wrstandardname": {
  20101. "description": "品类名称",
  20102. "type": "string"
  20103. }
  20104. }
  20105. },
  20106. "models.Ermcp3AreaStockReportEx": {
  20107. "type": "object",
  20108. "properties": {
  20109. "begindate": {
  20110. "description": "开始交易日",
  20111. "type": "string"
  20112. },
  20113. "brandname": {
  20114. "description": "品牌名称",
  20115. "type": "string"
  20116. },
  20117. "curstock": {
  20118. "description": "期末库存量",
  20119. "type": "number"
  20120. },
  20121. "cycletime": {
  20122. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20123. "type": "string"
  20124. },
  20125. "cycletype": {
  20126. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20127. "type": "integer"
  20128. },
  20129. "deliverygoodscode": {
  20130. "description": "现货品种代码",
  20131. "type": "string"
  20132. },
  20133. "deliverygoodsid": {
  20134. "description": "现货品种id",
  20135. "type": "integer"
  20136. },
  20137. "deliverygoodsname": {
  20138. "description": "现货品种名称",
  20139. "type": "string"
  20140. },
  20141. "diffqty": {
  20142. "description": "库存变化量 = 期末 - 期初",
  20143. "type": "number"
  20144. },
  20145. "enddate": {
  20146. "description": "结束交易日",
  20147. "type": "string"
  20148. },
  20149. "enumdicname": {
  20150. "description": "单位名称",
  20151. "type": "string"
  20152. },
  20153. "goodsunitid": {
  20154. "description": "现货单位id",
  20155. "type": "integer"
  20156. },
  20157. "oristock": {
  20158. "description": "期初库存量",
  20159. "type": "number"
  20160. },
  20161. "reckondate": {
  20162. "description": "日照时期(yyyyMMdd)",
  20163. "type": "string"
  20164. },
  20165. "spotgoodsbrandid": {
  20166. "description": "现货品牌ID",
  20167. "type": "integer"
  20168. },
  20169. "todaybuyinqty": {
  20170. "description": "今采购入库量",
  20171. "type": "number"
  20172. },
  20173. "todayproduceinqty": {
  20174. "description": "今内部入库量",
  20175. "type": "number"
  20176. },
  20177. "todayproduceoutqty": {
  20178. "description": "今内部出库量",
  20179. "type": "number"
  20180. },
  20181. "todayselloutqty": {
  20182. "description": "今销售出库量",
  20183. "type": "number"
  20184. },
  20185. "unbuyinqty": {
  20186. "description": "采购未入库量(数据库未找到相关字段?)",
  20187. "type": "number"
  20188. },
  20189. "unitid": {
  20190. "description": "品类单位id",
  20191. "type": "integer"
  20192. },
  20193. "unselloutqty": {
  20194. "description": "销售未出库量(数据库未找到相关字段?)",
  20195. "type": "number"
  20196. },
  20197. "updatetime": {
  20198. "description": "更新时间",
  20199. "type": "string"
  20200. },
  20201. "userid": {
  20202. "description": "机构ID",
  20203. "type": "integer"
  20204. },
  20205. "username": {
  20206. "description": "机构名称",
  20207. "type": "string"
  20208. },
  20209. "warehousecode": {
  20210. "description": "仓库代码",
  20211. "type": "string"
  20212. },
  20213. "warehouseinfoid": {
  20214. "description": "仓库ID",
  20215. "type": "string"
  20216. },
  20217. "warehousename": {
  20218. "description": "仓库名称",
  20219. "type": "string"
  20220. },
  20221. "warehousetype": {
  20222. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20223. "type": "integer"
  20224. },
  20225. "wrstandardcode": {
  20226. "description": "品类代码",
  20227. "type": "string"
  20228. },
  20229. "wrstandardid": {
  20230. "description": "品类ID",
  20231. "type": "integer"
  20232. },
  20233. "wrstandardname": {
  20234. "description": "品类名称",
  20235. "type": "string"
  20236. }
  20237. }
  20238. },
  20239. "models.Ermcp3ArealSumPL": {
  20240. "type": "object",
  20241. "properties": {
  20242. "accountname": {
  20243. "description": "机构名称",
  20244. "type": "string"
  20245. },
  20246. "areauserid": {
  20247. "description": "所属机构\\交易用户ID",
  20248. "type": "integer"
  20249. },
  20250. "begindate": {
  20251. "description": "开始交易日",
  20252. "type": "string"
  20253. },
  20254. "currencyid": {
  20255. "description": "结算币种ID",
  20256. "type": "integer"
  20257. },
  20258. "currencyname": {
  20259. "description": "币种名称",
  20260. "type": "string"
  20261. },
  20262. "cycletime": {
  20263. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20264. "type": "string"
  20265. },
  20266. "cycletype": {
  20267. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20268. "type": "integer"
  20269. },
  20270. "enddate": {
  20271. "description": "结束交易日",
  20272. "type": "string"
  20273. },
  20274. "enumdicname": {
  20275. "description": "单位名称(套保品种)",
  20276. "type": "string"
  20277. },
  20278. "futureactualpl": {
  20279. "description": "期货损益",
  20280. "type": "number"
  20281. },
  20282. "futurefloatpl": {
  20283. "description": "期货浮动损益",
  20284. "type": "number"
  20285. },
  20286. "futurespotratio": {
  20287. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  20288. "type": "number"
  20289. },
  20290. "goodsunitid": {
  20291. "description": "套保品种单位id",
  20292. "type": "integer"
  20293. },
  20294. "hedgeexposurepl": {
  20295. "description": "套保敞口损益",
  20296. "type": "number"
  20297. },
  20298. "middlegoodscode": {
  20299. "description": "套保品种代码",
  20300. "type": "string"
  20301. },
  20302. "middlegoodsid": {
  20303. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20304. "type": "integer"
  20305. },
  20306. "middlegoodsname": {
  20307. "description": "套保品种名称",
  20308. "type": "string"
  20309. },
  20310. "reckondate": {
  20311. "description": "日照时期(yyyyMMdd)",
  20312. "type": "string"
  20313. },
  20314. "spotactualpl": {
  20315. "description": "现货损益",
  20316. "type": "number"
  20317. },
  20318. "spotfloatpl": {
  20319. "description": "现货浮动损益",
  20320. "type": "number"
  20321. },
  20322. "sumactualpl": {
  20323. "description": "实际损益 = (ActualPL + FutureActualPL)",
  20324. "type": "number"
  20325. },
  20326. "sumpl": {
  20327. "description": "总敞口损益 | 汇总损益",
  20328. "type": "number"
  20329. },
  20330. "totalfutureqty": {
  20331. "description": "期货头寸总量",
  20332. "type": "number"
  20333. },
  20334. "totalneedhedgeqty": {
  20335. "description": "应套保总量",
  20336. "type": "number"
  20337. },
  20338. "totalspotqty": {
  20339. "description": "现货头寸总量",
  20340. "type": "number"
  20341. },
  20342. "updatetime": {
  20343. "description": "更新时间",
  20344. "type": "string"
  20345. }
  20346. }
  20347. },
  20348. "models.Ermcp3Brand": {
  20349. "type": "object",
  20350. "properties": {
  20351. "areauserid": {
  20352. "description": "用户id",
  20353. "type": "integer"
  20354. },
  20355. "brandid": {
  20356. "description": "品牌id",
  20357. "type": "integer"
  20358. },
  20359. "brandname": {
  20360. "description": "品牌名称",
  20361. "type": "string"
  20362. },
  20363. "deliverygoodsid": {
  20364. "description": "品种ID",
  20365. "type": "integer"
  20366. },
  20367. "isvalid": {
  20368. "description": "是否有效",
  20369. "type": "integer"
  20370. }
  20371. }
  20372. },
  20373. "models.Ermcp3Contract": {
  20374. "type": "object",
  20375. "properties": {
  20376. "accountid": {
  20377. "description": "期货账户id",
  20378. "type": "string"
  20379. },
  20380. "amount": {
  20381. "description": "金额 [1:一口价、3:暂定价]",
  20382. "type": "number"
  20383. },
  20384. "attachment": {
  20385. "description": "附件",
  20386. "type": "string"
  20387. },
  20388. "auditremark": {
  20389. "description": "审核意见",
  20390. "type": "string"
  20391. },
  20392. "audittime": {
  20393. "description": "审核时间",
  20394. "type": "string"
  20395. },
  20396. "biztype": {
  20397. "description": "业务类型 1-套保 2-套利",
  20398. "type": "integer"
  20399. },
  20400. "brandname": {
  20401. "description": "品牌名称",
  20402. "type": "string"
  20403. },
  20404. "buynickname": {
  20405. "description": "销售方昵称",
  20406. "type": "string"
  20407. },
  20408. "buyuserid": {
  20409. "description": "采购方ID",
  20410. "type": "integer"
  20411. },
  20412. "buyusername": {
  20413. "description": "采购方名称",
  20414. "type": "string"
  20415. },
  20416. "contracctstatus": {
  20417. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20418. "type": "integer"
  20419. },
  20420. "contractmargin": {
  20421. "description": "合同保证金",
  20422. "type": "number"
  20423. },
  20424. "contractno": {
  20425. "description": "现货合同编号",
  20426. "type": "string"
  20427. },
  20428. "contracttype": {
  20429. "description": "现货合同类型 - 1:采购 -1:销售",
  20430. "type": "integer"
  20431. },
  20432. "convertfactor": {
  20433. "description": "标仓系数(品类)",
  20434. "type": "number"
  20435. },
  20436. "createtime": {
  20437. "description": "创建时间",
  20438. "type": "string"
  20439. },
  20440. "currencyid": {
  20441. "description": "币种id",
  20442. "type": "integer"
  20443. },
  20444. "currencyname": {
  20445. "description": "币种名称",
  20446. "type": "string"
  20447. },
  20448. "deliveryenddate": {
  20449. "description": "交收期(结束)",
  20450. "type": "string"
  20451. },
  20452. "deliverygoodscode": {
  20453. "description": "现货品种代码",
  20454. "type": "string"
  20455. },
  20456. "deliverygoodsid": {
  20457. "description": "现货品种ID",
  20458. "type": "integer"
  20459. },
  20460. "deliverygoodsname": {
  20461. "description": "现货品种名称",
  20462. "type": "string"
  20463. },
  20464. "deliverystartdate": {
  20465. "description": "交收期(开始)",
  20466. "type": "string"
  20467. },
  20468. "enddate": {
  20469. "description": "点价结束日期 [2:点价 3:暂定价]",
  20470. "type": "string"
  20471. },
  20472. "enumdicname": {
  20473. "description": "单位名称",
  20474. "type": "string"
  20475. },
  20476. "goodscode": {
  20477. "description": "点价合约代码",
  20478. "type": "string"
  20479. },
  20480. "goodsid": {
  20481. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20482. "type": "integer"
  20483. },
  20484. "goodsname": {
  20485. "description": "点价商品名称",
  20486. "type": "string"
  20487. },
  20488. "margin": {
  20489. "description": "当前保证金",
  20490. "type": "number"
  20491. },
  20492. "meruserid": {
  20493. "description": "跟单员id",
  20494. "type": "integer"
  20495. },
  20496. "meruserlogincode": {
  20497. "description": "跟单员登录代码",
  20498. "type": "string"
  20499. },
  20500. "merusername": {
  20501. "description": "跟单员名称",
  20502. "type": "string"
  20503. },
  20504. "price": {
  20505. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  20506. "type": "number"
  20507. },
  20508. "pricemove": {
  20509. "description": "升贴水 [2:点价 3:暂定价]",
  20510. "type": "number"
  20511. },
  20512. "pricetype": {
  20513. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20514. "type": "integer"
  20515. },
  20516. "producttype": {
  20517. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20518. "type": "integer"
  20519. },
  20520. "qty": {
  20521. "description": "数量",
  20522. "type": "number"
  20523. },
  20524. "remark": {
  20525. "description": "备注",
  20526. "type": "string"
  20527. },
  20528. "saleuserid": {
  20529. "description": "业务员id",
  20530. "type": "integer"
  20531. },
  20532. "saleuserlogincode": {
  20533. "description": "业务员登录代码",
  20534. "type": "string"
  20535. },
  20536. "saleusername": {
  20537. "description": "业务员名称",
  20538. "type": "string"
  20539. },
  20540. "sellnickname": {
  20541. "description": "采购方昵称",
  20542. "type": "string"
  20543. },
  20544. "selluserid": {
  20545. "description": "销售方ID",
  20546. "type": "integer"
  20547. },
  20548. "sellusername": {
  20549. "description": "销售方名称",
  20550. "type": "string"
  20551. },
  20552. "spotcontractid": {
  20553. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20554. "type": "string"
  20555. },
  20556. "spotgoodsbrandid": {
  20557. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20558. "type": "integer"
  20559. },
  20560. "spotgoodsdesc": {
  20561. "description": "商品型号",
  20562. "type": "string"
  20563. },
  20564. "startdate": {
  20565. "description": "点价开始日期 [2:点价 3:暂定价]",
  20566. "type": "string"
  20567. },
  20568. "subjectid": {
  20569. "description": "交易主体ID",
  20570. "type": "integer"
  20571. },
  20572. "subjectname": {
  20573. "description": "交易主体名称",
  20574. "type": "string"
  20575. },
  20576. "tradeuserid": {
  20577. "description": "交易员id",
  20578. "type": "integer"
  20579. },
  20580. "tradeuserlogincode": {
  20581. "description": "交易员登录代码",
  20582. "type": "string"
  20583. },
  20584. "tradeusername": {
  20585. "description": "交易员名称",
  20586. "type": "string"
  20587. },
  20588. "unitid": {
  20589. "description": "单位id(取品类上的单位id)",
  20590. "type": "integer"
  20591. },
  20592. "updatetime": {
  20593. "description": "更新时间",
  20594. "type": "string"
  20595. },
  20596. "userid": {
  20597. "description": "所属机构ID",
  20598. "type": "integer"
  20599. },
  20600. "vatrate": {
  20601. "description": "增值税率",
  20602. "type": "number"
  20603. },
  20604. "wrstandardcode": {
  20605. "description": "品类代码",
  20606. "type": "string"
  20607. },
  20608. "wrstandardid": {
  20609. "description": "品类ID",
  20610. "type": "integer"
  20611. },
  20612. "wrstandardname": {
  20613. "description": "品类名称",
  20614. "type": "string"
  20615. }
  20616. }
  20617. },
  20618. "models.Ermcp3ExposureContractDetail": {
  20619. "type": "object",
  20620. "properties": {
  20621. "biztype": {
  20622. "description": "业务类型 1-套保 2-套利",
  20623. "type": "integer"
  20624. },
  20625. "brandname": {
  20626. "description": "品牌名称",
  20627. "type": "string"
  20628. },
  20629. "buyuserid": {
  20630. "description": "采购方id",
  20631. "type": "integer"
  20632. },
  20633. "buyusername": {
  20634. "description": "采购方名称",
  20635. "type": "string"
  20636. },
  20637. "contractno": {
  20638. "description": "合同编号",
  20639. "type": "string"
  20640. },
  20641. "contracttype": {
  20642. "description": "现货合同类型 - 1:采购 -1:销售",
  20643. "type": "integer"
  20644. },
  20645. "convertfactor": {
  20646. "description": "标仓系数",
  20647. "type": "number"
  20648. },
  20649. "convertratio": {
  20650. "description": "折算系数(套保品种)",
  20651. "type": "number"
  20652. },
  20653. "curqty": {
  20654. "description": "今定价量",
  20655. "type": "number"
  20656. },
  20657. "deliverygoodscode": {
  20658. "description": "现货品种代码",
  20659. "type": "string"
  20660. },
  20661. "deliverygoodsid": {
  20662. "description": "现货品种id",
  20663. "type": "integer"
  20664. },
  20665. "deliverygoodsname": {
  20666. "description": "现货品种名称",
  20667. "type": "string"
  20668. },
  20669. "diffhedgeqty": {
  20670. "description": "套保变动量",
  20671. "type": "number"
  20672. },
  20673. "diffneedhedgeqty": {
  20674. "description": "应套保变动量",
  20675. "type": "number"
  20676. },
  20677. "diffqty": {
  20678. "description": "套保品种今变动量",
  20679. "type": "number"
  20680. },
  20681. "enumdicname": {
  20682. "description": "单位名称",
  20683. "type": "string"
  20684. },
  20685. "mgunitname": {
  20686. "description": "套保品种单位名称",
  20687. "type": "string"
  20688. },
  20689. "middlegoodscode": {
  20690. "description": "套保品种代码",
  20691. "type": "string"
  20692. },
  20693. "middlegoodsid": {
  20694. "description": "套保品种id",
  20695. "type": "integer"
  20696. },
  20697. "middlegoodsname": {
  20698. "description": "套保品种名称",
  20699. "type": "string"
  20700. },
  20701. "needarbitrageratio": {
  20702. "description": "应套利比例",
  20703. "type": "number"
  20704. },
  20705. "needhedgeratio": {
  20706. "description": "应套保比例",
  20707. "type": "number"
  20708. },
  20709. "pricedqty": {
  20710. "description": "已定价量",
  20711. "type": "number"
  20712. },
  20713. "qty": {
  20714. "description": "合同量",
  20715. "type": "number"
  20716. },
  20717. "selluserid": {
  20718. "description": "销售方id",
  20719. "type": "integer"
  20720. },
  20721. "sellusername": {
  20722. "description": "销售方名称",
  20723. "type": "string"
  20724. },
  20725. "spotcontractid": {
  20726. "description": "合同id",
  20727. "type": "string"
  20728. },
  20729. "todaypricedqty": {
  20730. "description": "今定价量",
  20731. "type": "number"
  20732. },
  20733. "tradedate": {
  20734. "description": "交易日",
  20735. "type": "string"
  20736. },
  20737. "unitid": {
  20738. "description": "品类单位id",
  20739. "type": "integer"
  20740. },
  20741. "userid": {
  20742. "description": "机构id",
  20743. "type": "integer"
  20744. },
  20745. "username": {
  20746. "description": "交易用户",
  20747. "type": "string"
  20748. },
  20749. "wrstandardcode": {
  20750. "description": "现货商品代码",
  20751. "type": "string"
  20752. },
  20753. "wrstandardid": {
  20754. "description": "现货商品id",
  20755. "type": "integer"
  20756. },
  20757. "wrstandardname": {
  20758. "description": "现货商品名称",
  20759. "type": "string"
  20760. }
  20761. }
  20762. },
  20763. "models.Ermcp3ExposureDetail": {
  20764. "type": "object",
  20765. "properties": {
  20766. "areauserid": {
  20767. "description": "机构ID",
  20768. "type": "integer"
  20769. },
  20770. "changeQty": {
  20771. "description": "套保变动量",
  20772. "type": "number"
  20773. },
  20774. "contracttype": {
  20775. "description": "现货合同类型 - 1:采购 -1:销售",
  20776. "type": "integer"
  20777. },
  20778. "convertfactor": {
  20779. "description": "标仓系数",
  20780. "type": "number"
  20781. },
  20782. "convertratio": {
  20783. "description": "折算系数",
  20784. "type": "number"
  20785. },
  20786. "createtime": {
  20787. "description": "时间",
  20788. "type": "string"
  20789. },
  20790. "enumdicname": {
  20791. "description": "现货商品单位名称",
  20792. "type": "string"
  20793. },
  20794. "logtype": {
  20795. "description": "类型 - 1:套保计划 2:现货合同",
  20796. "type": "integer"
  20797. },
  20798. "mgunitid": {
  20799. "description": "套保品种单位id",
  20800. "type": "integer"
  20801. },
  20802. "mgunitidname": {
  20803. "description": "套保品种单位名称",
  20804. "type": "string"
  20805. },
  20806. "middlegoodsId": {
  20807. "description": "套保商品id",
  20808. "type": "integer"
  20809. },
  20810. "middlegoodscode": {
  20811. "description": "套保商品代码",
  20812. "type": "string"
  20813. },
  20814. "middlegoodsname": {
  20815. "description": "套保商品名称",
  20816. "type": "string"
  20817. },
  20818. "qty": {
  20819. "description": "数量",
  20820. "type": "number"
  20821. },
  20822. "relateNo": {
  20823. "description": "现货合同/套保计划编号",
  20824. "type": "string"
  20825. },
  20826. "unitid": {
  20827. "description": "现货商品单位id",
  20828. "type": "integer"
  20829. },
  20830. "wrstandardcode": {
  20831. "description": "现货商品代码",
  20832. "type": "string"
  20833. },
  20834. "wrstandardid": {
  20835. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20836. "type": "integer"
  20837. },
  20838. "wrstandardname": {
  20839. "description": "现货商品名称",
  20840. "type": "string"
  20841. }
  20842. }
  20843. },
  20844. "models.Ermcp3ExposureFutuDetail": {
  20845. "type": "object",
  20846. "properties": {
  20847. "accountid": {
  20848. "description": "交易账户id",
  20849. "type": "integer"
  20850. },
  20851. "accountname": {
  20852. "description": "交易账户",
  20853. "type": "string"
  20854. },
  20855. "begindate": {
  20856. "description": "开始交易日",
  20857. "type": "string"
  20858. },
  20859. "buyorsell": {
  20860. "description": "方向 0-买 1-卖",
  20861. "type": "integer"
  20862. },
  20863. "diffmgqty": {
  20864. "description": "套保品种今变化量",
  20865. "type": "number"
  20866. },
  20867. "diffneedqty": {
  20868. "description": "应套保总量变化量",
  20869. "type": "number"
  20870. },
  20871. "difftradeqty": {
  20872. "description": "交易品种今变化量",
  20873. "type": "number"
  20874. },
  20875. "enddate": {
  20876. "description": "结束交易日",
  20877. "type": "string"
  20878. },
  20879. "enumdicname": {
  20880. "description": "单位名称",
  20881. "type": "string"
  20882. },
  20883. "goodscode": {
  20884. "description": "商品代码",
  20885. "type": "string"
  20886. },
  20887. "goodsid": {
  20888. "description": "商品id",
  20889. "type": "integer"
  20890. },
  20891. "goodsname": {
  20892. "description": "商品名称",
  20893. "type": "string"
  20894. },
  20895. "holdqty": {
  20896. "description": "期末持仓量",
  20897. "type": "number"
  20898. },
  20899. "middlegoodscode": {
  20900. "description": "套保商品代码",
  20901. "type": "string"
  20902. },
  20903. "middlegoodsid": {
  20904. "description": "套保商品id",
  20905. "type": "integer"
  20906. },
  20907. "middlegoodsname": {
  20908. "description": "套保商品名称",
  20909. "type": "string"
  20910. },
  20911. "oriholdqty": {
  20912. "description": "期初持仓量",
  20913. "type": "number"
  20914. },
  20915. "todaycloseqty": {
  20916. "description": "今平仓量",
  20917. "type": "number"
  20918. },
  20919. "todayopenqty": {
  20920. "description": "今开仓量",
  20921. "type": "number"
  20922. },
  20923. "tradedate": {
  20924. "description": "交易日",
  20925. "type": "string"
  20926. },
  20927. "username": {
  20928. "description": "用户名称(交易用户)",
  20929. "type": "string"
  20930. }
  20931. }
  20932. },
  20933. "models.Ermcp3ExposureHedgeplanDetail": {
  20934. "type": "object",
  20935. "properties": {
  20936. "biztype": {
  20937. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  20938. "type": "integer"
  20939. },
  20940. "changqty": {
  20941. "description": "应套保总量变化量",
  20942. "type": "number"
  20943. },
  20944. "contracttype": {
  20945. "description": "计划类型 - 1:采购 -1:销售",
  20946. "type": "integer"
  20947. },
  20948. "convertratio": {
  20949. "description": "折算系数(套保品种)",
  20950. "type": "number"
  20951. },
  20952. "deliverygoodscode": {
  20953. "description": "现货商品代码",
  20954. "type": "string"
  20955. },
  20956. "deliverygoodsid": {
  20957. "description": "现货商品id",
  20958. "type": "integer"
  20959. },
  20960. "deliverygoodsname": {
  20961. "description": "现货商吕名称",
  20962. "type": "string"
  20963. },
  20964. "dgunitid": {
  20965. "description": "现货商品单位id",
  20966. "type": "integer"
  20967. },
  20968. "dgunitidname": {
  20969. "description": "单位名称(现货商品)",
  20970. "type": "string"
  20971. },
  20972. "diffqty": {
  20973. "description": "套保品种今变动量",
  20974. "type": "number"
  20975. },
  20976. "enumdicname": {
  20977. "description": "单位名称(品类)",
  20978. "type": "string"
  20979. },
  20980. "hedgeplanid": {
  20981. "description": "套保计划id",
  20982. "type": "string"
  20983. },
  20984. "hedgeplanno": {
  20985. "description": "套保计划名称",
  20986. "type": "string"
  20987. },
  20988. "hedgeplanstatus": {
  20989. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20990. "type": "integer"
  20991. },
  20992. "mgunitidname": {
  20993. "description": "单位名称(套保商品)",
  20994. "type": "string"
  20995. },
  20996. "middlegoodscode": {
  20997. "description": "套保品种代码",
  20998. "type": "string"
  20999. },
  21000. "middlegoodsid": {
  21001. "description": "套保品种id",
  21002. "type": "integer"
  21003. },
  21004. "middlegoodsname": {
  21005. "description": "套保品种名称",
  21006. "type": "string"
  21007. },
  21008. "needarbitrageratio": {
  21009. "description": "应套利比例",
  21010. "type": "number"
  21011. },
  21012. "needhedgeratio": {
  21013. "description": "应套保比例",
  21014. "type": "number"
  21015. },
  21016. "pricedqty": {
  21017. "description": "已定价量",
  21018. "type": "number"
  21019. },
  21020. "qty": {
  21021. "description": "合同量",
  21022. "type": "number"
  21023. },
  21024. "tradedate": {
  21025. "description": "交易日(登记日)",
  21026. "type": "string"
  21027. },
  21028. "unitid": {
  21029. "description": "品类单位id",
  21030. "type": "integer"
  21031. },
  21032. "userid": {
  21033. "description": "机构id",
  21034. "type": "integer"
  21035. },
  21036. "wrstandardcode": {
  21037. "description": "品类代码",
  21038. "type": "string"
  21039. },
  21040. "wrstandardid": {
  21041. "description": "品类id",
  21042. "type": "integer"
  21043. },
  21044. "wrstandardname": {
  21045. "description": "品类名称",
  21046. "type": "string"
  21047. }
  21048. }
  21049. },
  21050. "models.Ermcp3ExposureParamChLog": {
  21051. "type": "object",
  21052. "properties": {
  21053. "accountid": {
  21054. "description": "期货账户ID (作废, 默认为0)",
  21055. "type": "integer"
  21056. },
  21057. "aftervalue": {
  21058. "description": "应套保\\套利量变更后(调整后应套保总量)",
  21059. "type": "number"
  21060. },
  21061. "areauserid": {
  21062. "description": "所属机构\\交易用户ID",
  21063. "type": "integer"
  21064. },
  21065. "beforevalue": {
  21066. "description": "应套保\\套利量变更前(调整前应套保总量)",
  21067. "type": "number"
  21068. },
  21069. "begindate": {
  21070. "description": "开始交易日",
  21071. "type": "string"
  21072. },
  21073. "changelogtype": {
  21074. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  21075. "type": "integer"
  21076. },
  21077. "curvalue": {
  21078. "description": "当前套保\\套利量(套保总量|套利总量)",
  21079. "type": "number"
  21080. },
  21081. "diffvalue": {
  21082. "description": "应套保总量变化量",
  21083. "type": "number"
  21084. },
  21085. "enddate": {
  21086. "description": "结束交易日",
  21087. "type": "string"
  21088. },
  21089. "logdatetime": {
  21090. "description": "流水日期",
  21091. "type": "string"
  21092. },
  21093. "logid": {
  21094. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  21095. "type": "string"
  21096. },
  21097. "middlegoodscode": {
  21098. "description": "套保品种代码",
  21099. "type": "string"
  21100. },
  21101. "middlegoodsid": {
  21102. "description": "套保品种",
  21103. "type": "integer"
  21104. },
  21105. "middlegoodsname": {
  21106. "description": "套保品种名称",
  21107. "type": "string"
  21108. },
  21109. "paramaftervalue": {
  21110. "description": "参数变更后(调整后参数值)",
  21111. "type": "number"
  21112. },
  21113. "parambeforevalue": {
  21114. "description": "参数变更前(调整前参数值)",
  21115. "type": "number"
  21116. },
  21117. "tradedate": {
  21118. "description": "交易日(yyyyMMdd)",
  21119. "type": "string"
  21120. }
  21121. }
  21122. },
  21123. "models.Ermcp3ExpourseReport": {
  21124. "type": "object",
  21125. "properties": {
  21126. "accountid": {
  21127. "description": "期货账户ID (作废, 默认为0)",
  21128. "type": "integer"
  21129. },
  21130. "accountname": {
  21131. "description": "机构名称",
  21132. "type": "string"
  21133. },
  21134. "arbitrageqty": {
  21135. "description": "套利量",
  21136. "type": "number"
  21137. },
  21138. "areauserid": {
  21139. "description": "所属机构\\交易用户ID",
  21140. "type": "integer"
  21141. },
  21142. "begindate": {
  21143. "description": "开始交易日",
  21144. "type": "string"
  21145. },
  21146. "buyfutureqty": {
  21147. "description": "买入期货数量",
  21148. "type": "number"
  21149. },
  21150. "buyplanqty": {
  21151. "description": "采购计划数量",
  21152. "type": "number"
  21153. },
  21154. "buypricedqty": {
  21155. "description": "采购合同已定价数量",
  21156. "type": "number"
  21157. },
  21158. "cycletime": {
  21159. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21160. "type": "string"
  21161. },
  21162. "cycletype": {
  21163. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21164. "type": "integer"
  21165. },
  21166. "diffexposure": {
  21167. "description": "变动量(套保敞口)",
  21168. "type": "number"
  21169. },
  21170. "difffutuqty": {
  21171. "description": "变动量(期货)",
  21172. "type": "number"
  21173. },
  21174. "diffhedgeqty": {
  21175. "description": "变动量(现货应套保总量)",
  21176. "type": "number"
  21177. },
  21178. "diffmgqtya": {
  21179. "description": "套保变动量",
  21180. "type": "number"
  21181. },
  21182. "diffmgqtyb": {
  21183. "description": "套利变动量",
  21184. "type": "number"
  21185. },
  21186. "diffqty": {
  21187. "description": "变动量(总敞口)",
  21188. "type": "number"
  21189. },
  21190. "diffspotqty": {
  21191. "description": "变动量(现货)",
  21192. "type": "number"
  21193. },
  21194. "enddate": {
  21195. "description": "结束交易日",
  21196. "type": "string"
  21197. },
  21198. "enumdicname": {
  21199. "description": "单位名称",
  21200. "type": "string"
  21201. },
  21202. "hedgeqty": {
  21203. "description": "套保量",
  21204. "type": "number"
  21205. },
  21206. "mgneedhedgeratio": {
  21207. "description": "套保比例(套保品的)",
  21208. "type": "number"
  21209. },
  21210. "middlegoodsid": {
  21211. "description": "套保品种ID",
  21212. "type": "integer"
  21213. },
  21214. "middlegoodsname": {
  21215. "description": "套保商品名称",
  21216. "type": "string"
  21217. },
  21218. "middlgoodscode": {
  21219. "description": "套保商品代码",
  21220. "type": "string"
  21221. },
  21222. "needarbitrageqty": {
  21223. "description": "应套利量",
  21224. "type": "number"
  21225. },
  21226. "needarbitrageratio": {
  21227. "description": "套利比例(套保品的)",
  21228. "type": "number"
  21229. },
  21230. "needhedgeexposoure": {
  21231. "description": "应套保敞口(套保敞口)",
  21232. "type": "number"
  21233. },
  21234. "needhedgeqty": {
  21235. "description": "应套保量",
  21236. "type": "number"
  21237. },
  21238. "needhedgeratio": {
  21239. "description": "应套保敞口比例",
  21240. "type": "number"
  21241. },
  21242. "oriarbitrageqty": {
  21243. "description": "期初套利量",
  21244. "type": "number"
  21245. },
  21246. "oribuyfutureqty": {
  21247. "description": "期初买入期货数量",
  21248. "type": "number"
  21249. },
  21250. "oribuyplanqty": {
  21251. "description": "期初采购计划数量",
  21252. "type": "number"
  21253. },
  21254. "oribuypricedqty": {
  21255. "description": "期初采购合同已定价数量",
  21256. "type": "number"
  21257. },
  21258. "orihedgeqty": {
  21259. "description": "期初套保量",
  21260. "type": "number"
  21261. },
  21262. "orineedarbitrageqty": {
  21263. "description": "期初应套利量",
  21264. "type": "number"
  21265. },
  21266. "orineedhedgeexposoure": {
  21267. "description": "期初应套保敞口",
  21268. "type": "number"
  21269. },
  21270. "orineedhedgeqty": {
  21271. "description": "期初应套保量",
  21272. "type": "number"
  21273. },
  21274. "orisellfutureqty": {
  21275. "description": "期初卖出期货数量",
  21276. "type": "number"
  21277. },
  21278. "orisellplanqty": {
  21279. "description": "期初销售计划数量",
  21280. "type": "number"
  21281. },
  21282. "orisellpricedqty": {
  21283. "description": "期初销售合同已定价数量",
  21284. "type": "number"
  21285. },
  21286. "oritotalexposure": {
  21287. "description": "期初实时总敞口",
  21288. "type": "number"
  21289. },
  21290. "oritotalfutureqty": {
  21291. "description": "期初期货头寸总量",
  21292. "type": "number"
  21293. },
  21294. "oritotalneedhedgeqty": {
  21295. "description": "期初应套保总量",
  21296. "type": "number"
  21297. },
  21298. "oritotalspotqty": {
  21299. "description": "期初现货头寸总量",
  21300. "type": "number"
  21301. },
  21302. "reckondate": {
  21303. "description": "日照时期(yyyyMMdd)",
  21304. "type": "string"
  21305. },
  21306. "sellfutureqty": {
  21307. "description": "卖出期货数量",
  21308. "type": "number"
  21309. },
  21310. "sellplanqty": {
  21311. "description": "销售计划数量",
  21312. "type": "number"
  21313. },
  21314. "sellpricedqty": {
  21315. "description": "销售合同已定价数量",
  21316. "type": "number"
  21317. },
  21318. "totalexposure": {
  21319. "description": "实时总敞口(总敞口)",
  21320. "type": "number"
  21321. },
  21322. "totalfutureqty": {
  21323. "description": "期货头寸总量(期货总量)",
  21324. "type": "number"
  21325. },
  21326. "totalhedgeratio": {
  21327. "description": "敞口比例",
  21328. "type": "number"
  21329. },
  21330. "totalneedhedgeqty": {
  21331. "description": "应套保总量(现货应套保总量)",
  21332. "type": "number"
  21333. },
  21334. "totalspotqty": {
  21335. "description": "现货头寸总量",
  21336. "type": "number"
  21337. },
  21338. "unitid": {
  21339. "description": "单位id",
  21340. "type": "integer"
  21341. },
  21342. "updatetime": {
  21343. "description": "更新时间",
  21344. "type": "string"
  21345. }
  21346. }
  21347. },
  21348. "models.Ermcp3FinanceReport": {
  21349. "type": "object",
  21350. "properties": {
  21351. "accountname": {
  21352. "description": "机构名称",
  21353. "type": "string"
  21354. },
  21355. "areauserid": {
  21356. "description": "所属机构\\交易用户ID",
  21357. "type": "integer"
  21358. },
  21359. "begindate": {
  21360. "description": "开始交易日",
  21361. "type": "string"
  21362. },
  21363. "biztype": {
  21364. "description": "业务类型 - 1:套保 2:套利",
  21365. "type": "integer"
  21366. },
  21367. "brandname": {
  21368. "description": "品牌名称",
  21369. "type": "string"
  21370. },
  21371. "buypreinvoicedamount": {
  21372. "description": "采购预收票额(预收票额)",
  21373. "type": "number"
  21374. },
  21375. "buyprepaidamount": {
  21376. "description": "采购预付款额(预付货款额)",
  21377. "type": "number"
  21378. },
  21379. "buytodayinvoiceamount": {
  21380. "description": "采购今收票额(今收票额)",
  21381. "type": "number"
  21382. },
  21383. "buytodayrefundamount": {
  21384. "description": "采购今收退款额(今收退款额)",
  21385. "type": "number"
  21386. },
  21387. "buytodaysettleamount": {
  21388. "description": "采购今付款额(今付货款额)",
  21389. "type": "number"
  21390. },
  21391. "buyuninvoicedamount": {
  21392. "description": "采购应收票额(应收票额)",
  21393. "type": "number"
  21394. },
  21395. "buyunpaidamount": {
  21396. "description": "采购应付款额(应付货款额)",
  21397. "type": "number"
  21398. },
  21399. "currencyid": {
  21400. "description": "结算币种ID",
  21401. "type": "integer"
  21402. },
  21403. "currencyname": {
  21404. "description": "币种名称",
  21405. "type": "string"
  21406. },
  21407. "cycletime": {
  21408. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21409. "type": "string"
  21410. },
  21411. "cycletype": {
  21412. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21413. "type": "integer"
  21414. },
  21415. "deliverygoodscode": {
  21416. "description": "现货品种代码",
  21417. "type": "string"
  21418. },
  21419. "deliverygoodsid": {
  21420. "description": "现货品种ID",
  21421. "type": "integer"
  21422. },
  21423. "deliverygoodsname": {
  21424. "description": "现货品种名称",
  21425. "type": "string"
  21426. },
  21427. "enddate": {
  21428. "description": "结束交易日",
  21429. "type": "string"
  21430. },
  21431. "reckondate": {
  21432. "description": "日照时期(yyyyMMdd)",
  21433. "type": "string"
  21434. },
  21435. "sellpreinvoicedamount": {
  21436. "description": "销售预开票额(预开票额)",
  21437. "type": "number"
  21438. },
  21439. "sellprepaidamount": {
  21440. "description": "销售预收款额(预收货款额)",
  21441. "type": "number"
  21442. },
  21443. "selltodayinvoiceamount": {
  21444. "description": "销售今开票额(今开票额)",
  21445. "type": "number"
  21446. },
  21447. "selltodayrefundamount": {
  21448. "description": "销售今付退款额(今付退款额)",
  21449. "type": "number"
  21450. },
  21451. "selltodaysettleamount": {
  21452. "description": "销售今收款额(今收货款额)",
  21453. "type": "number"
  21454. },
  21455. "selluninvoicedamount": {
  21456. "description": "销售应开票额(应开票额)",
  21457. "type": "number"
  21458. },
  21459. "sellunpaidamount": {
  21460. "description": "销售应收款额(应收货款额)",
  21461. "type": "number"
  21462. },
  21463. "spotgoodsbrandid": {
  21464. "description": "现货品牌ID",
  21465. "type": "integer"
  21466. },
  21467. "todaypaysum": {
  21468. "description": "今付款合计",
  21469. "type": "number"
  21470. },
  21471. "todayreceivesum": {
  21472. "description": "今收款合计",
  21473. "type": "number"
  21474. },
  21475. "updatetime": {
  21476. "description": "更新时间",
  21477. "type": "string"
  21478. },
  21479. "wrfactortypeid": {
  21480. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21481. "type": "integer"
  21482. },
  21483. "wrstandardcode": {
  21484. "description": "品类代码",
  21485. "type": "string"
  21486. },
  21487. "wrstandardid": {
  21488. "description": "现货商品ID",
  21489. "type": "integer"
  21490. },
  21491. "wrstandardname": {
  21492. "description": "品类名称",
  21493. "type": "string"
  21494. }
  21495. }
  21496. },
  21497. "models.Ermcp3GoodsGroup": {
  21498. "type": "object",
  21499. "required": [
  21500. "areauserid"
  21501. ],
  21502. "properties": {
  21503. "agreeunit": {
  21504. "description": "合约单位",
  21505. "type": "number"
  21506. },
  21507. "areauserid": {
  21508. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  21509. "type": "integer"
  21510. },
  21511. "canshort": {
  21512. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21513. "type": "integer"
  21514. },
  21515. "closepricemode": {
  21516. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21517. "type": "integer"
  21518. },
  21519. "createtime": {
  21520. "description": "创建时间",
  21521. "type": "string"
  21522. },
  21523. "creatorid": {
  21524. "description": "创建人",
  21525. "type": "integer"
  21526. },
  21527. "currencyid": {
  21528. "description": "报价货币ID",
  21529. "type": "integer"
  21530. },
  21531. "decimalplace": {
  21532. "description": "报价小数位",
  21533. "type": "integer"
  21534. },
  21535. "enumdicname": {
  21536. "description": "单位名称",
  21537. "type": "string"
  21538. },
  21539. "exchangefullname": {
  21540. "description": "交易所全称",
  21541. "type": "string"
  21542. },
  21543. "excludecfg": {
  21544. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  21545. "type": "integer"
  21546. },
  21547. "exexchangecode": {
  21548. "description": "交易所代码",
  21549. "type": "string"
  21550. },
  21551. "exexchangeid": {
  21552. "description": "外部交易所ID[通道交易]",
  21553. "type": "integer"
  21554. },
  21555. "exexchangename": {
  21556. "description": "交易所名称",
  21557. "type": "string"
  21558. },
  21559. "goodsgroupid": {
  21560. "description": "商品组ID(自增ID)",
  21561. "type": "integer"
  21562. },
  21563. "goodsgroupname": {
  21564. "description": "商品组名称",
  21565. "type": "string"
  21566. },
  21567. "goodsgroupstatus": {
  21568. "description": "商品组状态 - 1:正常 2:注销",
  21569. "type": "integer"
  21570. },
  21571. "goodunitid": {
  21572. "description": "报价单位ID",
  21573. "type": "integer"
  21574. },
  21575. "groupcategroyid": {
  21576. "description": "品种分类ID",
  21577. "type": "integer"
  21578. },
  21579. "innerdealmode": {
  21580. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21581. "type": "integer"
  21582. },
  21583. "marketid": {
  21584. "description": "所属市场ID",
  21585. "type": "integer"
  21586. },
  21587. "modifierid": {
  21588. "description": "修改人",
  21589. "type": "integer"
  21590. },
  21591. "modifytime": {
  21592. "description": "修改时间",
  21593. "type": "string"
  21594. },
  21595. "outerdealmode": {
  21596. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21597. "type": "integer"
  21598. },
  21599. "outergroupcode": {
  21600. "description": "外部商品组代码[通道交易]",
  21601. "type": "string"
  21602. },
  21603. "quoteminunit": {
  21604. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21605. "type": "integer"
  21606. },
  21607. "quotesourcegroupid": {
  21608. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21609. "type": "integer"
  21610. },
  21611. "syncgoodsqty": {
  21612. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21613. "type": "integer"
  21614. }
  21615. }
  21616. },
  21617. "models.Ermcp3HedgePlan": {
  21618. "type": "object",
  21619. "properties": {
  21620. "accountid": {
  21621. "description": "资金账号",
  21622. "type": "integer"
  21623. },
  21624. "areauserid": {
  21625. "description": "用户ID",
  21626. "type": "integer"
  21627. },
  21628. "auditid": {
  21629. "description": "审核id",
  21630. "type": "integer"
  21631. },
  21632. "auditname": {
  21633. "description": "审核人名称",
  21634. "type": "string"
  21635. },
  21636. "auditremark": {
  21637. "description": "审核备注",
  21638. "type": "string"
  21639. },
  21640. "auditsrc": {
  21641. "description": "审核来源 1-管理端 2-终端",
  21642. "type": "integer"
  21643. },
  21644. "audittime": {
  21645. "description": "审核时间",
  21646. "type": "string"
  21647. },
  21648. "contracttype": {
  21649. "description": "计划类型 - 1:采购 -1:销售",
  21650. "type": "integer"
  21651. },
  21652. "convertfactor": {
  21653. "description": "标仓系数",
  21654. "type": "number"
  21655. },
  21656. "createtime": {
  21657. "description": "创建时间",
  21658. "type": "string"
  21659. },
  21660. "currencyid": {
  21661. "description": "币种id",
  21662. "type": "integer"
  21663. },
  21664. "currencyname": {
  21665. "description": "币种名称",
  21666. "type": "string"
  21667. },
  21668. "deliverygoodscode": {
  21669. "description": "现货品种代码",
  21670. "type": "string"
  21671. },
  21672. "deliverygoodsid": {
  21673. "description": "现货品种ID",
  21674. "type": "integer"
  21675. },
  21676. "deliverygoodsname": {
  21677. "description": "现货品种名称",
  21678. "type": "string"
  21679. },
  21680. "enumdicname": {
  21681. "description": "单位名称(现货商品)",
  21682. "type": "string"
  21683. },
  21684. "hedgeplanid": {
  21685. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  21686. "type": "string"
  21687. },
  21688. "hedgeplanno": {
  21689. "description": "套保计划编号(名称)",
  21690. "type": "string"
  21691. },
  21692. "hedgeplanstatus": {
  21693. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21694. "type": "integer"
  21695. },
  21696. "planqty": {
  21697. "description": "计划数量",
  21698. "type": "number"
  21699. },
  21700. "plantime": {
  21701. "description": "计划时间",
  21702. "type": "string"
  21703. },
  21704. "producttype": {
  21705. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21706. "type": "integer"
  21707. },
  21708. "remark": {
  21709. "description": "备注",
  21710. "type": "string"
  21711. },
  21712. "spotgoodsdesc": {
  21713. "description": "商品型号",
  21714. "type": "string"
  21715. },
  21716. "taaccountname": {
  21717. "description": "资金账号名称",
  21718. "type": "string"
  21719. },
  21720. "tradeuserid": {
  21721. "description": "交易用户id",
  21722. "type": "integer"
  21723. },
  21724. "tradeusername": {
  21725. "description": "交易用户名称",
  21726. "type": "string"
  21727. },
  21728. "unitid": {
  21729. "description": "单位id(现货商品)",
  21730. "type": "integer"
  21731. },
  21732. "updatetime": {
  21733. "description": "更新时间",
  21734. "type": "string"
  21735. },
  21736. "vatrate": {
  21737. "description": "增值税率",
  21738. "type": "number"
  21739. },
  21740. "wrstandardcode": {
  21741. "description": "品类代码",
  21742. "type": "string"
  21743. },
  21744. "wrstandardid": {
  21745. "description": "品类id",
  21746. "type": "integer"
  21747. },
  21748. "wrstandardname": {
  21749. "description": "品类名称",
  21750. "type": "string"
  21751. },
  21752. "wrunitid": {
  21753. "description": "品类单位id",
  21754. "type": "integer"
  21755. },
  21756. "wrunitidame": {
  21757. "description": "品类单位名称",
  21758. "type": "string"
  21759. }
  21760. }
  21761. },
  21762. "models.Ermcp3InnerTradeLink": {
  21763. "type": "object",
  21764. "properties": {
  21765. "accountid": {
  21766. "description": "期货账号代码 | 资金账号ID",
  21767. "type": "integer"
  21768. },
  21769. "buyorsell": {
  21770. "description": "方向 - 0:买 1:卖",
  21771. "type": "integer"
  21772. },
  21773. "channelbuildtype": {
  21774. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21775. "type": "integer"
  21776. },
  21777. "currencyid": {
  21778. "description": "币种id",
  21779. "type": "integer"
  21780. },
  21781. "currencyname": {
  21782. "description": "结算币种 名称",
  21783. "type": "string"
  21784. },
  21785. "goodscode": {
  21786. "description": "商品代码",
  21787. "type": "string"
  21788. },
  21789. "goodsid": {
  21790. "description": "商品ID",
  21791. "type": "integer"
  21792. },
  21793. "goodsname": {
  21794. "description": "商品名称",
  21795. "type": "string"
  21796. },
  21797. "outtradeid": {
  21798. "description": "外部成交单号",
  21799. "type": "string"
  21800. },
  21801. "taname": {
  21802. "description": "期货账户名称",
  21803. "type": "string"
  21804. },
  21805. "tradeid": {
  21806. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21807. "type": "string"
  21808. },
  21809. "tradeprice": {
  21810. "description": "成交价格",
  21811. "type": "number"
  21812. },
  21813. "tradeqty": {
  21814. "description": "期货成交数量",
  21815. "type": "integer"
  21816. },
  21817. "tradetime": {
  21818. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  21819. "type": "string"
  21820. },
  21821. "username": {
  21822. "description": "用户名称",
  21823. "type": "string"
  21824. }
  21825. }
  21826. },
  21827. "models.Ermcp3OutTradeLink": {
  21828. "type": "object",
  21829. "properties": {
  21830. "buyorsell": {
  21831. "description": "买卖方向 - 0:买 1:卖",
  21832. "type": "integer"
  21833. },
  21834. "channelbuildtype": {
  21835. "description": "开平标志- 0:无 1:建仓 2:平仓",
  21836. "type": "integer"
  21837. },
  21838. "currencyname": {
  21839. "description": "币种名称",
  21840. "type": "string"
  21841. },
  21842. "exexchangecode": {
  21843. "description": "交易所代码",
  21844. "type": "string"
  21845. },
  21846. "exexchangename": {
  21847. "description": "交易所名称",
  21848. "type": "string"
  21849. },
  21850. "goodscode": {
  21851. "description": "合约代码",
  21852. "type": "string"
  21853. },
  21854. "goodsid": {
  21855. "description": "合约id",
  21856. "type": "integer"
  21857. },
  21858. "goodsname": {
  21859. "description": "合约名称",
  21860. "type": "string"
  21861. },
  21862. "hasinnerorder": {
  21863. "description": "是否有内部单关联 - 0:无 1:有",
  21864. "type": "integer"
  21865. },
  21866. "hedgeaccountcode": {
  21867. "description": "外部账号 | 对冲账号",
  21868. "type": "string"
  21869. },
  21870. "outtradeid": {
  21871. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21872. "type": "string"
  21873. },
  21874. "tradeprice": {
  21875. "description": "成交价格",
  21876. "type": "number"
  21877. },
  21878. "tradeqty": {
  21879. "description": "成交数量",
  21880. "type": "integer"
  21881. },
  21882. "tradetime": {
  21883. "description": "成交时间",
  21884. "type": "string"
  21885. }
  21886. }
  21887. },
  21888. "models.Ermcp3PaAreaAuditCfg": {
  21889. "type": "object",
  21890. "properties": {
  21891. "areauserid": {
  21892. "description": "用户ID",
  21893. "type": "integer"
  21894. },
  21895. "buyinauditflag": {
  21896. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  21897. "type": "integer"
  21898. },
  21899. "costratioauditflag": {
  21900. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  21901. "type": "integer"
  21902. },
  21903. "customerauditflag": {
  21904. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  21905. "type": "integer"
  21906. },
  21907. "deliveryauditflag": {
  21908. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  21909. "type": "integer"
  21910. },
  21911. "invoiceauditflag": {
  21912. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  21913. "type": "integer"
  21914. },
  21915. "mgneedhedgeratioauditflag": {
  21916. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  21917. "type": "integer"
  21918. },
  21919. "moneyauditflag": {
  21920. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  21921. "type": "integer"
  21922. },
  21923. "operatorid": {
  21924. "description": "操作人",
  21925. "type": "integer"
  21926. },
  21927. "operatorsrc": {
  21928. "description": "操作来源 - 1:管理端 2:终端",
  21929. "type": "integer"
  21930. },
  21931. "pointpriceauditflag": {
  21932. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  21933. "type": "integer"
  21934. },
  21935. "produceinauditflag": {
  21936. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  21937. "type": "integer"
  21938. },
  21939. "produceoutauditflag": {
  21940. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  21941. "type": "integer"
  21942. },
  21943. "selloutauditflag": {
  21944. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  21945. "type": "integer"
  21946. },
  21947. "sgconvertratioauditflag": {
  21948. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  21949. "type": "integer"
  21950. },
  21951. "sgvtaratioauditflag": {
  21952. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  21953. "type": "integer"
  21954. },
  21955. "spotcontractauditflag": {
  21956. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  21957. "type": "integer"
  21958. },
  21959. "updatetime": {
  21960. "description": "更新时间",
  21961. "type": "string"
  21962. }
  21963. }
  21964. },
  21965. "models.Ermcp3PaAreaSubject": {
  21966. "type": "object",
  21967. "properties": {
  21968. "areauserid": {
  21969. "description": "所属机构",
  21970. "type": "integer"
  21971. },
  21972. "canmodify": {
  21973. "description": "是否可修改 - 0:否 1:是",
  21974. "type": "integer"
  21975. },
  21976. "createtime": {
  21977. "description": "创建时间",
  21978. "type": "string"
  21979. },
  21980. "creatorid": {
  21981. "description": "创建人ID",
  21982. "type": "string"
  21983. },
  21984. "creatorsrc": {
  21985. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  21986. "type": "integer"
  21987. },
  21988. "modifierid": {
  21989. "description": "修改人",
  21990. "type": "string"
  21991. },
  21992. "modifiersrc": {
  21993. "description": "修改人来源 - 1:管理端 2:终端",
  21994. "type": "integer"
  21995. },
  21996. "modifytime": {
  21997. "description": "修改时间",
  21998. "type": "string"
  21999. },
  22000. "parentsubjectid": {
  22001. "description": "上级主体ID",
  22002. "type": "string"
  22003. },
  22004. "remark": {
  22005. "description": "备注",
  22006. "type": "string"
  22007. },
  22008. "subjectid": {
  22009. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  22010. "type": "integer"
  22011. },
  22012. "subjectname": {
  22013. "description": "主体名称",
  22014. "type": "string"
  22015. },
  22016. "subjectstatus": {
  22017. "description": "主体状态 - 1:正常 2: 停用",
  22018. "type": "integer"
  22019. },
  22020. "subjecttype": {
  22021. "description": "主体类型 - 1:交易主体 2:业务部门",
  22022. "type": "integer"
  22023. }
  22024. }
  22025. },
  22026. "models.Ermcp3PaTradeLink": {
  22027. "type": "object",
  22028. "properties": {
  22029. "accountid": {
  22030. "description": "期货账户代码 | 账号ID",
  22031. "type": "integer"
  22032. },
  22033. "agreeunit": {
  22034. "description": "合约乘数",
  22035. "type": "number"
  22036. },
  22037. "buyorsell": {
  22038. "description": "方向 - 0:买 1:卖",
  22039. "type": "integer"
  22040. },
  22041. "channelbuildtype": {
  22042. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22043. "type": "integer"
  22044. },
  22045. "charge": {
  22046. "description": "手续费",
  22047. "type": "number"
  22048. },
  22049. "closepl": {
  22050. "description": "平仓盈亏",
  22051. "type": "number"
  22052. },
  22053. "closetype": {
  22054. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22055. "type": "integer"
  22056. },
  22057. "convertratio": {
  22058. "description": "折算系数",
  22059. "type": "number"
  22060. },
  22061. "enumdicname": {
  22062. "description": "单位名称",
  22063. "type": "string"
  22064. },
  22065. "executeprice": {
  22066. "description": "执行价 [期权]",
  22067. "type": "integer"
  22068. },
  22069. "goodscode": {
  22070. "description": "合约代码",
  22071. "type": "string"
  22072. },
  22073. "goodsgroupid": {
  22074. "description": "对冲品种ID[期货合约商品组ID]",
  22075. "type": "integer"
  22076. },
  22077. "goodsid": {
  22078. "description": "商品ID",
  22079. "type": "integer"
  22080. },
  22081. "goodsname": {
  22082. "description": "合约名称",
  22083. "type": "string"
  22084. },
  22085. "goodunitid": {
  22086. "description": "单位id",
  22087. "type": "integer"
  22088. },
  22089. "hedgeflag": {
  22090. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  22091. "type": "integer"
  22092. },
  22093. "marketid": {
  22094. "description": "市场ID",
  22095. "type": "integer"
  22096. },
  22097. "middlegoodsid": {
  22098. "description": "套保品种ID",
  22099. "type": "integer"
  22100. },
  22101. "middlegoodsqty": {
  22102. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  22103. "type": "number"
  22104. },
  22105. "optioncode": {
  22106. "description": "期权代码 [期权]",
  22107. "type": "string"
  22108. },
  22109. "ordertype": {
  22110. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  22111. "type": "integer"
  22112. },
  22113. "ordertypename": {
  22114. "description": "订单类型",
  22115. "type": "string"
  22116. },
  22117. "parentaccountid": {
  22118. "description": "所属母账户",
  22119. "type": "integer"
  22120. },
  22121. "premium": {
  22122. "description": "权利金 [期权]",
  22123. "type": "number"
  22124. },
  22125. "relatedlot": {
  22126. "description": "已关联数量(已关联数量手) | db:关联手数",
  22127. "type": "number"
  22128. },
  22129. "relatedouttradeid": {
  22130. "description": "关联外部成交单ID",
  22131. "type": "string"
  22132. },
  22133. "relatedqty": {
  22134. "description": "关联数量",
  22135. "type": "number"
  22136. },
  22137. "spotcontractid": {
  22138. "description": "现货合同ID [4:套期保值\\10\\11]",
  22139. "type": "string"
  22140. },
  22141. "taname": {
  22142. "description": "期货账户名称",
  22143. "type": "string"
  22144. },
  22145. "tradeamount": {
  22146. "description": "成交金额(账户)",
  22147. "type": "number"
  22148. },
  22149. "tradedate": {
  22150. "description": "交易日(yyyyMMdd)",
  22151. "type": "string"
  22152. },
  22153. "tradeid": {
  22154. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22155. "type": "string"
  22156. },
  22157. "tradelot": {
  22158. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  22159. "type": "integer"
  22160. },
  22161. "tradeprice": {
  22162. "description": "成交价格",
  22163. "type": "number"
  22164. },
  22165. "tradetime": {
  22166. "description": "时间 | db:成交时间",
  22167. "type": "string"
  22168. },
  22169. "tradetype": {
  22170. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22171. "type": "integer"
  22172. },
  22173. "userid": {
  22174. "description": "所属机构 - 所属母账户的UserID",
  22175. "type": "string"
  22176. },
  22177. "username": {
  22178. "description": "用户名称",
  22179. "type": "string"
  22180. }
  22181. }
  22182. },
  22183. "models.Ermcp3ParamChangeApp": {
  22184. "type": "object",
  22185. "properties": {
  22186. "aftervalue": {
  22187. "description": "变更后",
  22188. "type": "number"
  22189. },
  22190. "applicationid": {
  22191. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  22192. "type": "string"
  22193. },
  22194. "applyid": {
  22195. "description": "申请人",
  22196. "type": "string"
  22197. },
  22198. "applyname": {
  22199. "description": "申请人名称(代码)",
  22200. "type": "string"
  22201. },
  22202. "applyremark": {
  22203. "description": "申请备注",
  22204. "type": "string"
  22205. },
  22206. "applysrc": {
  22207. "description": "申请来源 - 1:管理端 2:终端",
  22208. "type": "integer"
  22209. },
  22210. "applystatus": {
  22211. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22212. "type": "integer"
  22213. },
  22214. "applytime": {
  22215. "description": "申请时间",
  22216. "type": "string"
  22217. },
  22218. "areauserid": {
  22219. "description": "所属机构用户ID",
  22220. "type": "integer"
  22221. },
  22222. "auditid": {
  22223. "description": "审核人",
  22224. "type": "string"
  22225. },
  22226. "auditname": {
  22227. "description": "审核人名称(代码)",
  22228. "type": "string"
  22229. },
  22230. "auditremark": {
  22231. "description": "审核备注",
  22232. "type": "string"
  22233. },
  22234. "auditsrc": {
  22235. "description": "审核来源 - 1:管理端 2:终端",
  22236. "type": "integer"
  22237. },
  22238. "audittime": {
  22239. "description": "审核时间",
  22240. "type": "string"
  22241. },
  22242. "audittradedate": {
  22243. "description": "审核交易日(yyyyMMdd)",
  22244. "type": "string"
  22245. },
  22246. "beforevalue": {
  22247. "description": "变更前",
  22248. "type": "number"
  22249. },
  22250. "deliverygoodscode": {
  22251. "description": "品种代码",
  22252. "type": "string"
  22253. },
  22254. "deliverygoodsid": {
  22255. "description": "品种id",
  22256. "type": "integer"
  22257. },
  22258. "deliverygoodsname": {
  22259. "description": "品种名称",
  22260. "type": "string"
  22261. },
  22262. "middlegoodscode": {
  22263. "description": "套保品种代码",
  22264. "type": "string"
  22265. },
  22266. "middlegoodsid": {
  22267. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  22268. "type": "integer"
  22269. },
  22270. "middlegoodsname": {
  22271. "description": "套保品种名称",
  22272. "type": "string"
  22273. },
  22274. "operatetype": {
  22275. "description": "操作类型 - 1:新增 2:修改",
  22276. "type": "integer"
  22277. },
  22278. "paramchangetype": {
  22279. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  22280. "type": "integer"
  22281. },
  22282. "wrstandardcode": {
  22283. "description": "现货商品代码",
  22284. "type": "string"
  22285. },
  22286. "wrstandardid": {
  22287. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  22288. "type": "integer"
  22289. },
  22290. "wrstandardname": {
  22291. "description": "现货商品名称",
  22292. "type": "string"
  22293. }
  22294. }
  22295. },
  22296. "models.Ermcp3RootUserAccount": {
  22297. "type": "object",
  22298. "properties": {
  22299. "accountname": {
  22300. "description": "账户名称(机构名称)",
  22301. "type": "string"
  22302. },
  22303. "accountstatus": {
  22304. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22305. "type": "integer"
  22306. },
  22307. "applysrc": {
  22308. "description": "申请来源 - 1:管理端 2:终端",
  22309. "type": "integer"
  22310. },
  22311. "auditremark": {
  22312. "description": "审核备注",
  22313. "type": "string"
  22314. },
  22315. "auditsrc": {
  22316. "description": "审核来源 - 1:管理端 2:终端",
  22317. "type": "integer"
  22318. },
  22319. "audittime": {
  22320. "description": "审核时间",
  22321. "type": "string"
  22322. },
  22323. "audituserid": {
  22324. "description": "审核人",
  22325. "type": "integer"
  22326. },
  22327. "broker": {
  22328. "description": "所属经纪人ID",
  22329. "type": "integer"
  22330. },
  22331. "canceltime": {
  22332. "description": "销户时间",
  22333. "type": "string"
  22334. },
  22335. "canceluserid": {
  22336. "description": "销户人",
  22337. "type": "integer"
  22338. },
  22339. "canrecommend": {
  22340. "description": "是否可推荐 - 0:不可 1;可",
  22341. "type": "integer"
  22342. },
  22343. "createtime": {
  22344. "description": "创建时间",
  22345. "type": "string"
  22346. },
  22347. "creatorid": {
  22348. "description": "创建人",
  22349. "type": "integer"
  22350. },
  22351. "hasauth": {
  22352. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22353. "type": "integer"
  22354. },
  22355. "isanonymous": {
  22356. "description": "是否匿名下单 - 0:否 1:是",
  22357. "type": "integer"
  22358. },
  22359. "maxinvestornum": {
  22360. "description": "最大用户数(经纪会员下投资者个数)",
  22361. "type": "integer"
  22362. },
  22363. "memberuserid": {
  22364. "description": "所属会员ID",
  22365. "type": "integer"
  22366. },
  22367. "modifierid": {
  22368. "description": "修改人",
  22369. "type": "integer"
  22370. },
  22371. "modifyremark": {
  22372. "description": "变更备注",
  22373. "type": "string"
  22374. },
  22375. "modifystatus": {
  22376. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22377. "type": "integer"
  22378. },
  22379. "modifytime": {
  22380. "description": "修改时间",
  22381. "type": "string"
  22382. },
  22383. "nickname": {
  22384. "description": "昵称",
  22385. "type": "string"
  22386. },
  22387. "parenttopuser": {
  22388. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22389. "type": "string"
  22390. },
  22391. "parentuserid": {
  22392. "description": "所属机构ID",
  22393. "type": "integer"
  22394. },
  22395. "reckonaccountid": {
  22396. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22397. "type": "integer"
  22398. },
  22399. "refercount": {
  22400. "description": "推荐总人数",
  22401. "type": "integer"
  22402. },
  22403. "refereeuserid": {
  22404. "description": "推荐人ID",
  22405. "type": "integer"
  22406. },
  22407. "refernum": {
  22408. "description": "推荐码",
  22409. "type": "string"
  22410. },
  22411. "rootuserid": {
  22412. "description": "根用户ID",
  22413. "type": "integer"
  22414. },
  22415. "subaccountlevel": {
  22416. "description": "子账户层数",
  22417. "type": "integer"
  22418. },
  22419. "subarealevelpath": {
  22420. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22421. "type": "string"
  22422. },
  22423. "userid": {
  22424. "description": "用户ID",
  22425. "type": "integer"
  22426. },
  22427. "usertype": {
  22428. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22429. "type": "integer"
  22430. }
  22431. }
  22432. },
  22433. "models.Ermcp3SCMiddleGoods": {
  22434. "type": "object",
  22435. "properties": {
  22436. "biztype": {
  22437. "description": "业务类型 1:套保 2:套利",
  22438. "type": "integer"
  22439. },
  22440. "contractno": {
  22441. "description": "合同编号",
  22442. "type": "string"
  22443. },
  22444. "contracttype": {
  22445. "description": "合同类型 1:采购 -1:销售",
  22446. "type": "integer"
  22447. },
  22448. "convertratio": {
  22449. "description": "折算系数",
  22450. "type": "number"
  22451. },
  22452. "customername": {
  22453. "description": "对手手名称",
  22454. "type": "string"
  22455. },
  22456. "customeruserid": {
  22457. "description": "对手id",
  22458. "type": "integer"
  22459. },
  22460. "deliverygoodscode": {
  22461. "description": "现货品种代码",
  22462. "type": "string"
  22463. },
  22464. "deliverygoodsid": {
  22465. "description": "现货品种ID",
  22466. "type": "integer"
  22467. },
  22468. "deliverygoodsname": {
  22469. "description": "现货品种名称",
  22470. "type": "string"
  22471. },
  22472. "enumdicname": {
  22473. "description": "现货单位名称",
  22474. "type": "string"
  22475. },
  22476. "middlegoodsid": {
  22477. "description": "套保品种ID",
  22478. "type": "integer"
  22479. },
  22480. "middlegoodspricedqty3": {
  22481. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  22482. "type": "number"
  22483. },
  22484. "needhedgeratio": {
  22485. "description": "套保比例",
  22486. "type": "number"
  22487. },
  22488. "pricedqty": {
  22489. "description": "已定价量",
  22490. "type": "number"
  22491. },
  22492. "relatedmiddlegoodsqty": {
  22493. "description": "已关联量(套保品种)(期货)",
  22494. "type": "number"
  22495. },
  22496. "spotcontractid": {
  22497. "description": "合同编号",
  22498. "type": "string"
  22499. },
  22500. "unitid": {
  22501. "description": "现货单位id",
  22502. "type": "integer"
  22503. },
  22504. "userid": {
  22505. "description": "用户id",
  22506. "type": "integer"
  22507. },
  22508. "vatrate": {
  22509. "description": "增值税率",
  22510. "type": "number"
  22511. },
  22512. "wrstandardcode": {
  22513. "description": "现货商品代码",
  22514. "type": "string"
  22515. },
  22516. "wrstandardid": {
  22517. "description": "现货商品id",
  22518. "type": "integer"
  22519. },
  22520. "wrstandardname": {
  22521. "description": "现货商品名称",
  22522. "type": "string"
  22523. }
  22524. }
  22525. },
  22526. "models.Ermcp3SCMiddleGoodsReport": {
  22527. "type": "object",
  22528. "properties": {
  22529. "begindate": {
  22530. "description": "开始交易日",
  22531. "type": "string"
  22532. },
  22533. "contractno": {
  22534. "description": "合同编号",
  22535. "type": "string"
  22536. },
  22537. "contracttype": {
  22538. "description": "合同类型 1:采购 -1:销售",
  22539. "type": "integer"
  22540. },
  22541. "convertratio": {
  22542. "description": "折算系数",
  22543. "type": "number"
  22544. },
  22545. "cycletime": {
  22546. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22547. "type": "string"
  22548. },
  22549. "cycletype": {
  22550. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22551. "type": "integer"
  22552. },
  22553. "deliverygoodscode": {
  22554. "description": "品种代码",
  22555. "type": "string"
  22556. },
  22557. "deliverygoodsid": {
  22558. "description": "现货品种ID",
  22559. "type": "integer"
  22560. },
  22561. "deliverygoodsname": {
  22562. "description": "品种名称",
  22563. "type": "string"
  22564. },
  22565. "diffprice": {
  22566. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  22567. "type": "number"
  22568. },
  22569. "diffqty": {
  22570. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  22571. "type": "number"
  22572. },
  22573. "enddate": {
  22574. "description": "结束交易日",
  22575. "type": "string"
  22576. },
  22577. "hedgeplanqty": {
  22578. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  22579. "type": "number"
  22580. },
  22581. "matchname": {
  22582. "description": "交易对手方(个人:用户名称 企业:简称)",
  22583. "type": "string"
  22584. },
  22585. "middlegoodscode": {
  22586. "description": "套保品种代码",
  22587. "type": "string"
  22588. },
  22589. "middlegoodsid": {
  22590. "description": "套保品种ID",
  22591. "type": "integer"
  22592. },
  22593. "middlegoodsname": {
  22594. "description": "套保品种名称",
  22595. "type": "string"
  22596. },
  22597. "middlegoodspricedqty": {
  22598. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  22599. "type": "number"
  22600. },
  22601. "middlegoodspricedqty2": {
  22602. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  22603. "type": "number"
  22604. },
  22605. "middlegoodspricedqty3": {
  22606. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22607. "type": "number"
  22608. },
  22609. "needhedgeratio": {
  22610. "description": "套保系数",
  22611. "type": "number"
  22612. },
  22613. "pricedamount": {
  22614. "description": "已定价额(现货)",
  22615. "type": "number"
  22616. },
  22617. "pricedamount2": {
  22618. "description": "已定价额(现货-基价额)",
  22619. "type": "number"
  22620. },
  22621. "pricedqty": {
  22622. "description": "已定价量(现货)",
  22623. "type": "number"
  22624. },
  22625. "reckondate": {
  22626. "description": "日照时期(yyyyMMdd)",
  22627. "type": "string"
  22628. },
  22629. "relatedmiddlegoodsamount": {
  22630. "description": "已关联额(期货)",
  22631. "type": "number"
  22632. },
  22633. "relatedmiddlegoodsqty": {
  22634. "description": "已关联量(套保品种)(期货)",
  22635. "type": "number"
  22636. },
  22637. "spotcontractid": {
  22638. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22639. "type": "string"
  22640. },
  22641. "todayavgfutuprice": {
  22642. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  22643. "type": "number"
  22644. },
  22645. "todayavgprice": {
  22646. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  22647. "type": "number"
  22648. },
  22649. "todayavgprice2": {
  22650. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  22651. "type": "number"
  22652. },
  22653. "todaypricedamount": {
  22654. "description": "今日定价额(现货)",
  22655. "type": "number"
  22656. },
  22657. "todaypricedamount2": {
  22658. "description": "今日定价额(现货-基价额)",
  22659. "type": "number"
  22660. },
  22661. "todaypricedqty": {
  22662. "description": "今日定价量(现货)",
  22663. "type": "number"
  22664. },
  22665. "todayrelatedfutureqty": {
  22666. "description": "今日关联量(期货)",
  22667. "type": "number"
  22668. },
  22669. "todayrelatedmiddlegoodsamount": {
  22670. "description": "今日关联额(期货)",
  22671. "type": "number"
  22672. },
  22673. "todayrelatedmiddlegoodsqty": {
  22674. "description": "今日关联量(套保品-期货)",
  22675. "type": "number"
  22676. },
  22677. "updatetime": {
  22678. "description": "更新时间",
  22679. "type": "string"
  22680. },
  22681. "userid": {
  22682. "description": "合同所属用户id",
  22683. "type": "integer"
  22684. },
  22685. "vatrate": {
  22686. "description": "增值税率",
  22687. "type": "number"
  22688. },
  22689. "wrstandardcode": {
  22690. "description": "商品(品类) 代码",
  22691. "type": "string"
  22692. },
  22693. "wrstandardid": {
  22694. "description": "现货商品ID",
  22695. "type": "integer"
  22696. },
  22697. "wrstandardname": {
  22698. "description": "商品(品类) 名称",
  22699. "type": "string"
  22700. }
  22701. }
  22702. },
  22703. "models.Ermcp3SellBuyContract": {
  22704. "type": "object",
  22705. "properties": {
  22706. "accountid": {
  22707. "description": "期货账户id",
  22708. "type": "string"
  22709. },
  22710. "accountname": {
  22711. "description": "账户名称",
  22712. "type": "string"
  22713. },
  22714. "attachment": {
  22715. "description": "附件",
  22716. "type": "string"
  22717. },
  22718. "audittime": {
  22719. "description": "审核时间",
  22720. "type": "string"
  22721. },
  22722. "bizsubjectid": {
  22723. "description": "归属业务部门ID - SubjectID",
  22724. "type": "integer"
  22725. },
  22726. "biztype": {
  22727. "description": "业务类型 1-套保 2-套利",
  22728. "type": "integer"
  22729. },
  22730. "brandname": {
  22731. "description": "品牌名称",
  22732. "type": "string"
  22733. },
  22734. "contracctstatus": {
  22735. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22736. "type": "integer"
  22737. },
  22738. "contractmargin": {
  22739. "description": "合同保证金",
  22740. "type": "number"
  22741. },
  22742. "contractno": {
  22743. "description": "合同编号",
  22744. "type": "string"
  22745. },
  22746. "contracttype": {
  22747. "description": "合同类型 1-采购, -1-销售",
  22748. "type": "integer"
  22749. },
  22750. "convertfactor": {
  22751. "description": "标仓系数(品类)",
  22752. "type": "number"
  22753. },
  22754. "createtime": {
  22755. "description": "创建时间",
  22756. "type": "string"
  22757. },
  22758. "currencyid": {
  22759. "description": "币种id",
  22760. "type": "integer"
  22761. },
  22762. "currencyname": {
  22763. "description": "币种名称",
  22764. "type": "string"
  22765. },
  22766. "daikaiamount": {
  22767. "description": "应收(开)票额",
  22768. "type": "number"
  22769. },
  22770. "deliveryenddate": {
  22771. "description": "交割结束日",
  22772. "type": "string"
  22773. },
  22774. "deliverygoodscode": {
  22775. "description": "现货品种代码",
  22776. "type": "string"
  22777. },
  22778. "deliverygoodsid": {
  22779. "description": "现货商品ID",
  22780. "type": "integer"
  22781. },
  22782. "deliverygoodsname": {
  22783. "description": "现货品种名称",
  22784. "type": "string"
  22785. },
  22786. "deliverystartdate": {
  22787. "description": "交割开始日",
  22788. "type": "string"
  22789. },
  22790. "enddate": {
  22791. "description": "点价结束日",
  22792. "type": "string"
  22793. },
  22794. "enumdicname": {
  22795. "description": "单位名称",
  22796. "type": "string"
  22797. },
  22798. "goodscode": {
  22799. "description": "点价商品代码",
  22800. "type": "string"
  22801. },
  22802. "goodsid": {
  22803. "description": "点价商品ID",
  22804. "type": "integer"
  22805. },
  22806. "goodsname": {
  22807. "description": "点价商品名称",
  22808. "type": "string"
  22809. },
  22810. "invoiceamount": {
  22811. "description": "已开票额",
  22812. "type": "number"
  22813. },
  22814. "loanamount": {
  22815. "description": "贷款总额=已定价额+调整金额",
  22816. "type": "number"
  22817. },
  22818. "margin": {
  22819. "description": "保证金",
  22820. "type": "number"
  22821. },
  22822. "meruserid": {
  22823. "description": "跟单员id",
  22824. "type": "integer"
  22825. },
  22826. "meruserlogincode": {
  22827. "description": "跟单员登录代码",
  22828. "type": "string"
  22829. },
  22830. "merusername": {
  22831. "description": "跟单员名称",
  22832. "type": "string"
  22833. },
  22834. "nickname": {
  22835. "description": "账户昵称",
  22836. "type": "string"
  22837. },
  22838. "payamount": {
  22839. "description": "已收付额(收款或付款)",
  22840. "type": "number"
  22841. },
  22842. "preinvoiceamount": {
  22843. "description": "预收(开)票额",
  22844. "type": "number"
  22845. },
  22846. "prepayamount": {
  22847. "description": "预收付额",
  22848. "type": "number"
  22849. },
  22850. "price": {
  22851. "description": "价格",
  22852. "type": "number"
  22853. },
  22854. "pricedamount": {
  22855. "description": "已定价额",
  22856. "type": "number"
  22857. },
  22858. "pricedavg": {
  22859. "description": "已点均价",
  22860. "type": "number"
  22861. },
  22862. "pricedqty": {
  22863. "description": "已定价量",
  22864. "type": "number"
  22865. },
  22866. "pricemove": {
  22867. "description": "升贴水",
  22868. "type": "number"
  22869. },
  22870. "pricetype": {
  22871. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22872. "type": "integer"
  22873. },
  22874. "producttype": {
  22875. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22876. "type": "integer"
  22877. },
  22878. "qty": {
  22879. "description": "合同量",
  22880. "type": "number"
  22881. },
  22882. "reckonadjustamount": {
  22883. "description": "调整金额",
  22884. "type": "number"
  22885. },
  22886. "reckonedamount": {
  22887. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  22888. "type": "number"
  22889. },
  22890. "reckonotheramount": {
  22891. "description": "其它费用",
  22892. "type": "number"
  22893. },
  22894. "reckonrealqty": {
  22895. "description": "已确定量",
  22896. "type": "number"
  22897. },
  22898. "remark": {
  22899. "description": "备注",
  22900. "type": "string"
  22901. },
  22902. "saleuserid": {
  22903. "description": "业务员id",
  22904. "type": "integer"
  22905. },
  22906. "saleuserlogincode": {
  22907. "description": "业务员登录代码",
  22908. "type": "string"
  22909. },
  22910. "saleusername": {
  22911. "description": "业务员名称",
  22912. "type": "string"
  22913. },
  22914. "spotcontractid": {
  22915. "description": "合同ID",
  22916. "type": "string"
  22917. },
  22918. "spotgoodsbrandid": {
  22919. "description": "现货品牌ID(DGFactoryItem表的ID)",
  22920. "type": "integer"
  22921. },
  22922. "spotgoodsdesc": {
  22923. "description": "商品型号(商品规格)",
  22924. "type": "string"
  22925. },
  22926. "startdate": {
  22927. "description": "点价开始日",
  22928. "type": "string"
  22929. },
  22930. "subjectid": {
  22931. "description": "交易主体ID",
  22932. "type": "integer"
  22933. },
  22934. "subjectname": {
  22935. "description": "交易主体名称",
  22936. "type": "string"
  22937. },
  22938. "totalamount": {
  22939. "description": "合计总额",
  22940. "type": "number"
  22941. },
  22942. "tradeuserid": {
  22943. "description": "交易员id",
  22944. "type": "integer"
  22945. },
  22946. "tradeuserlogincode": {
  22947. "description": "交易员登录代码",
  22948. "type": "string"
  22949. },
  22950. "tradeusername": {
  22951. "description": "交易员名称",
  22952. "type": "string"
  22953. },
  22954. "unpayamount": {
  22955. "description": "应收付款额(应支付或应收款)",
  22956. "type": "number"
  22957. },
  22958. "unpricedqty": {
  22959. "description": "未定价量",
  22960. "type": "number"
  22961. },
  22962. "unsureqty": {
  22963. "description": "未确定量",
  22964. "type": "number"
  22965. },
  22966. "userid": {
  22967. "description": "机构ID",
  22968. "type": "integer"
  22969. },
  22970. "vatrate": {
  22971. "description": "增值税率",
  22972. "type": "number"
  22973. },
  22974. "wrstandardcode": {
  22975. "description": "品类代码",
  22976. "type": "string"
  22977. },
  22978. "wrstandardid": {
  22979. "description": "品类ID",
  22980. "type": "integer"
  22981. },
  22982. "wrstandardname": {
  22983. "description": "品类名称",
  22984. "type": "string"
  22985. }
  22986. }
  22987. },
  22988. "models.Ermcp3SpotGoodsPrice": {
  22989. "type": "object",
  22990. "properties": {
  22991. "areauserid": {
  22992. "description": "所属机构id",
  22993. "type": "integer"
  22994. },
  22995. "brandname": {
  22996. "description": "品牌名称",
  22997. "type": "string"
  22998. },
  22999. "currencyid": {
  23000. "description": "报价货币ID",
  23001. "type": "integer"
  23002. },
  23003. "currencyname": {
  23004. "description": "币种名称",
  23005. "type": "string"
  23006. },
  23007. "deliverygoodscode": {
  23008. "description": "现货商品代码",
  23009. "type": "string"
  23010. },
  23011. "deliverygoodsid": {
  23012. "description": "现货商品id",
  23013. "type": "integer"
  23014. },
  23015. "deliverygoodsname": {
  23016. "description": "现货商品名称",
  23017. "type": "string"
  23018. },
  23019. "enumdicname": {
  23020. "description": "现货商品单位名称",
  23021. "type": "string"
  23022. },
  23023. "gbenumdicname": {
  23024. "description": "品类单位名称",
  23025. "type": "string"
  23026. },
  23027. "gmunitid": {
  23028. "description": "品类单位id",
  23029. "type": "integer"
  23030. },
  23031. "isvalid": {
  23032. "description": "是否有效 - 0:无效 1:有效",
  23033. "type": "integer"
  23034. },
  23035. "operateid": {
  23036. "description": "最后操作人",
  23037. "type": "integer"
  23038. },
  23039. "operatesrc": {
  23040. "description": "最后操作来源 - 1:管理端 2:终端",
  23041. "type": "integer"
  23042. },
  23043. "operatetime": {
  23044. "description": "最后操作时间",
  23045. "type": "string"
  23046. },
  23047. "operatorname": {
  23048. "description": "操作人名称",
  23049. "type": "string"
  23050. },
  23051. "spotgoodsbrandid": {
  23052. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23053. "type": "integer"
  23054. },
  23055. "spotgoodsprice": {
  23056. "description": "现货价格",
  23057. "type": "number"
  23058. },
  23059. "tradedate": {
  23060. "description": "交易日(yyyyMMdd)",
  23061. "type": "string"
  23062. },
  23063. "unitid": {
  23064. "description": "现货商品单位id",
  23065. "type": "integer"
  23066. },
  23067. "wrstandardcode": {
  23068. "description": "品类代码",
  23069. "type": "string"
  23070. },
  23071. "wrstandardid": {
  23072. "description": "现货品类ID(通用则为0)",
  23073. "type": "integer"
  23074. },
  23075. "wrstandardname": {
  23076. "description": "品类名称",
  23077. "type": "string"
  23078. }
  23079. }
  23080. },
  23081. "models.Ermcp3SpotGoodsPriceLog": {
  23082. "type": "object",
  23083. "properties": {
  23084. "areauserid": {
  23085. "description": "所属机构id",
  23086. "type": "integer"
  23087. },
  23088. "brandname": {
  23089. "description": "品牌名称",
  23090. "type": "string"
  23091. },
  23092. "currencyid": {
  23093. "description": "报价货币ID",
  23094. "type": "integer"
  23095. },
  23096. "deliverygoodscode": {
  23097. "description": "现货商品代码",
  23098. "type": "string"
  23099. },
  23100. "deliverygoodsid": {
  23101. "description": "现货商品id",
  23102. "type": "integer"
  23103. },
  23104. "deliverygoodsname": {
  23105. "description": "现货商品名称",
  23106. "type": "string"
  23107. },
  23108. "enumdicname": {
  23109. "description": "现货商品单位名称",
  23110. "type": "string"
  23111. },
  23112. "gbenumdicname": {
  23113. "description": "品类单位名称",
  23114. "type": "string"
  23115. },
  23116. "gmunitid": {
  23117. "description": "品类单位id",
  23118. "type": "integer"
  23119. },
  23120. "logid": {
  23121. "description": "日志id",
  23122. "type": "integer"
  23123. },
  23124. "operateid": {
  23125. "description": "最后操作人",
  23126. "type": "integer"
  23127. },
  23128. "operatesrc": {
  23129. "description": "最后操作来源 - 1:管理端 2:终端",
  23130. "type": "integer"
  23131. },
  23132. "operatetime": {
  23133. "description": "最后操作时间",
  23134. "type": "string"
  23135. },
  23136. "operatorname": {
  23137. "description": "操作人名称",
  23138. "type": "string"
  23139. },
  23140. "spotgoodsbrandid": {
  23141. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23142. "type": "integer"
  23143. },
  23144. "spotgoodsprice": {
  23145. "description": "现货价格",
  23146. "type": "number"
  23147. },
  23148. "tradedate": {
  23149. "description": "交易日(yyyyMMdd)",
  23150. "type": "string"
  23151. },
  23152. "unitid": {
  23153. "description": "现货商品单位id",
  23154. "type": "integer"
  23155. },
  23156. "wrstandardcode": {
  23157. "description": "品类代码",
  23158. "type": "string"
  23159. },
  23160. "wrstandardid": {
  23161. "description": "现货品类ID(通用则为0)",
  23162. "type": "integer"
  23163. },
  23164. "wrstandardname": {
  23165. "description": "品类名称",
  23166. "type": "string"
  23167. }
  23168. }
  23169. },
  23170. "models.Ermcp3SubTaaccount": {
  23171. "type": "object",
  23172. "properties": {
  23173. "accountid": {
  23174. "description": "资金账户ID",
  23175. "type": "integer"
  23176. },
  23177. "parentaccountcode": {
  23178. "description": "所属根账号代码(母账号代码)",
  23179. "type": "string"
  23180. },
  23181. "parentaccountid": {
  23182. "description": "所属根账号(母账号)",
  23183. "type": "integer"
  23184. },
  23185. "taname": {
  23186. "description": "资金账号名称",
  23187. "type": "string"
  23188. },
  23189. "tradestatus": {
  23190. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  23191. "type": "integer"
  23192. },
  23193. "username": {
  23194. "description": "交易用户",
  23195. "type": "string"
  23196. }
  23197. }
  23198. },
  23199. "models.Ermcp3TaFutuReDataReport": {
  23200. "type": "object",
  23201. "properties": {
  23202. "accountid": {
  23203. "description": "交易账户",
  23204. "type": "integer"
  23205. },
  23206. "accountname": {
  23207. "description": "交易账号名称",
  23208. "type": "string"
  23209. },
  23210. "agreeunit": {
  23211. "description": "商品合约单位",
  23212. "type": "number"
  23213. },
  23214. "begindate": {
  23215. "description": "开始交易日",
  23216. "type": "string"
  23217. },
  23218. "buyorsell": {
  23219. "description": "持仓方向",
  23220. "type": "integer"
  23221. },
  23222. "charge": {
  23223. "description": "手续费",
  23224. "type": "number"
  23225. },
  23226. "closeavgprice": {
  23227. "description": "平仓均价",
  23228. "type": "number"
  23229. },
  23230. "closepl": {
  23231. "description": "平仓损益",
  23232. "type": "number"
  23233. },
  23234. "currencyid": {
  23235. "description": "结算币种ID",
  23236. "type": "integer"
  23237. },
  23238. "currencyname": {
  23239. "description": "币种名称",
  23240. "type": "string"
  23241. },
  23242. "cycletime": {
  23243. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23244. "type": "string"
  23245. },
  23246. "cycletype": {
  23247. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23248. "type": "integer"
  23249. },
  23250. "enddate": {
  23251. "description": "结束交易日",
  23252. "type": "string"
  23253. },
  23254. "enumdicname": {
  23255. "description": "单位名称",
  23256. "type": "string"
  23257. },
  23258. "floatpl": {
  23259. "description": "浮动损益",
  23260. "type": "number"
  23261. },
  23262. "goodscode": {
  23263. "description": "交易合约代码",
  23264. "type": "string"
  23265. },
  23266. "goodsgroupid": {
  23267. "description": "交易品种",
  23268. "type": "integer"
  23269. },
  23270. "goodsgroupname": {
  23271. "description": "交易品种名称",
  23272. "type": "string"
  23273. },
  23274. "goodsgroupspotqty": {
  23275. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  23276. "type": "number"
  23277. },
  23278. "goodsid": {
  23279. "description": "交易合约",
  23280. "type": "integer"
  23281. },
  23282. "goodsname": {
  23283. "description": "交易合约名称",
  23284. "type": "string"
  23285. },
  23286. "goodunitid": {
  23287. "description": "交易合约单位id",
  23288. "type": "integer"
  23289. },
  23290. "holdamount": {
  23291. "description": "期末持仓额",
  23292. "type": "number"
  23293. },
  23294. "holdqty": {
  23295. "description": "期末持仓量",
  23296. "type": "number"
  23297. },
  23298. "lastholdamount": {
  23299. "description": "当前持仓额",
  23300. "type": "number"
  23301. },
  23302. "lastprice": {
  23303. "description": "最新价",
  23304. "type": "number"
  23305. },
  23306. "middlegoodsid": {
  23307. "description": "套保品种id",
  23308. "type": "integer"
  23309. },
  23310. "middlegoodsname": {
  23311. "description": "套保商品名称",
  23312. "type": "string"
  23313. },
  23314. "middlegoodsqty": {
  23315. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  23316. "type": "number"
  23317. },
  23318. "middlgoodscode": {
  23319. "description": "套保商品代码",
  23320. "type": "string"
  23321. },
  23322. "openamount": {
  23323. "description": "期末开仓额",
  23324. "type": "number"
  23325. },
  23326. "openavgprice": {
  23327. "description": "开仓均价",
  23328. "type": "number"
  23329. },
  23330. "oriholdamount": {
  23331. "description": "期初持仓额",
  23332. "type": "number"
  23333. },
  23334. "oriholdqty": {
  23335. "description": "期初持仓量",
  23336. "type": "number"
  23337. },
  23338. "oriopenamount": {
  23339. "description": "期初开仓额",
  23340. "type": "number"
  23341. },
  23342. "outergroupcode": {
  23343. "description": "交易品种代码",
  23344. "type": "string"
  23345. },
  23346. "qtydecimalplace": {
  23347. "description": "成交量小数位",
  23348. "type": "integer"
  23349. },
  23350. "reckondate": {
  23351. "description": "日照时期(yyyyMMdd)",
  23352. "type": "string"
  23353. },
  23354. "reckonholdamount": {
  23355. "description": "结算持仓额",
  23356. "type": "number"
  23357. },
  23358. "reckonpl": {
  23359. "description": "结算损益",
  23360. "type": "number"
  23361. },
  23362. "reckonpl2": {
  23363. "description": "结算逐笔盈亏",
  23364. "type": "number"
  23365. },
  23366. "reckonprice": {
  23367. "description": "结算价",
  23368. "type": "number"
  23369. },
  23370. "relateduserid": {
  23371. "description": "账户关联用户ID",
  23372. "type": "integer"
  23373. },
  23374. "todaycloseamount": {
  23375. "description": "今平仓额",
  23376. "type": "number"
  23377. },
  23378. "todaycloseqty": {
  23379. "description": "今平仓量",
  23380. "type": "number"
  23381. },
  23382. "todaygoodsgroupspotqty": {
  23383. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  23384. "type": "number"
  23385. },
  23386. "todaymiddlegoodsqty": {
  23387. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  23388. "type": "number"
  23389. },
  23390. "todayopenamount": {
  23391. "description": "今开仓额",
  23392. "type": "number"
  23393. },
  23394. "todayopenqty": {
  23395. "description": "今开仓量",
  23396. "type": "number"
  23397. },
  23398. "userid": {
  23399. "description": "账户所属用户ID",
  23400. "type": "integer"
  23401. }
  23402. }
  23403. },
  23404. "models.Ermcp3TradeLinkDetail": {
  23405. "type": "object",
  23406. "properties": {
  23407. "accountid": {
  23408. "description": "资金账号",
  23409. "type": "integer"
  23410. },
  23411. "agreeunit": {
  23412. "description": "合约乘数",
  23413. "type": "number"
  23414. },
  23415. "areauserid": {
  23416. "description": "所属机构",
  23417. "type": "string"
  23418. },
  23419. "bizsubjectid": {
  23420. "description": "归属业务部门ID - SubjectID",
  23421. "type": "string"
  23422. },
  23423. "buyorsell": {
  23424. "description": "方向 - 0:买 1:卖",
  23425. "type": "integer"
  23426. },
  23427. "channelbuildtype": {
  23428. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23429. "type": "integer"
  23430. },
  23431. "contractno": {
  23432. "description": "现货编号 (合同编号)",
  23433. "type": "string"
  23434. },
  23435. "convertratio": {
  23436. "description": "折算系数",
  23437. "type": "number"
  23438. },
  23439. "createtime": {
  23440. "description": "关联时间 | 创建时间",
  23441. "type": "string"
  23442. },
  23443. "creatorid": {
  23444. "description": "创建人ID",
  23445. "type": "string"
  23446. },
  23447. "creatorsrc": {
  23448. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23449. "type": "integer"
  23450. },
  23451. "enumdicname": {
  23452. "description": "单位名称",
  23453. "type": "string"
  23454. },
  23455. "goodscode": {
  23456. "description": "合约代码",
  23457. "type": "string"
  23458. },
  23459. "goodsgroupid": {
  23460. "description": "对冲品种ID[期货合约商品组ID]",
  23461. "type": "integer"
  23462. },
  23463. "goodsid": {
  23464. "description": "商品ID",
  23465. "type": "integer"
  23466. },
  23467. "goodsname": {
  23468. "description": "合约名称",
  23469. "type": "string"
  23470. },
  23471. "hedgeflag": {
  23472. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23473. "type": "integer"
  23474. },
  23475. "linkdetailid": {
  23476. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  23477. "type": "string"
  23478. },
  23479. "linkstatus": {
  23480. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  23481. "type": "integer"
  23482. },
  23483. "middlegoodscode": {
  23484. "description": "套保品种代码",
  23485. "type": "string"
  23486. },
  23487. "middlegoodsid": {
  23488. "description": "套保品种ID",
  23489. "type": "integer"
  23490. },
  23491. "middlegoodsname": {
  23492. "description": "套保品种名称",
  23493. "type": "string"
  23494. },
  23495. "relatedlot": {
  23496. "description": "关联手数",
  23497. "type": "number"
  23498. },
  23499. "relatedmode": {
  23500. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  23501. "type": "integer"
  23502. },
  23503. "relatedqty": {
  23504. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  23505. "type": "number"
  23506. },
  23507. "retcode": {
  23508. "description": "返回码",
  23509. "type": "integer"
  23510. },
  23511. "saleuserid": {
  23512. "description": "业务员ID",
  23513. "type": "string"
  23514. },
  23515. "spotcontractid": {
  23516. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  23517. "type": "string"
  23518. },
  23519. "taname": {
  23520. "description": "期货账户",
  23521. "type": "string"
  23522. },
  23523. "tradedate": {
  23524. "description": "关联交易日(yyyyMMdd)",
  23525. "type": "string"
  23526. },
  23527. "tradeid": {
  23528. "description": "期货订单号 | 内部成交单ID",
  23529. "type": "string"
  23530. },
  23531. "tradelot": {
  23532. "description": "成交数量 | 成交手数",
  23533. "type": "integer"
  23534. },
  23535. "tradeprice": {
  23536. "description": "成交价格",
  23537. "type": "number"
  23538. },
  23539. "tradetime": {
  23540. "description": "期货成交时间",
  23541. "type": "string"
  23542. },
  23543. "tradetradedate": {
  23544. "description": "成交交易日(yyyyMMdd)",
  23545. "type": "string"
  23546. },
  23547. "username": {
  23548. "description": "用户名称",
  23549. "type": "string"
  23550. }
  23551. }
  23552. },
  23553. "models.Ermcp3Wrstandard": {
  23554. "type": "object",
  23555. "properties": {
  23556. "areauserid": {
  23557. "description": "所属机构",
  23558. "type": "integer"
  23559. },
  23560. "cantrade": {
  23561. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  23562. "type": "integer"
  23563. },
  23564. "convertfactor": {
  23565. "description": "标仓系数",
  23566. "type": "number"
  23567. },
  23568. "createtime": {
  23569. "description": "创建时间",
  23570. "type": "string"
  23571. },
  23572. "creatorid": {
  23573. "description": "创建人",
  23574. "type": "integer"
  23575. },
  23576. "deliverygoodsid": {
  23577. "description": "现货品种ID",
  23578. "type": "integer"
  23579. },
  23580. "enumdicname": {
  23581. "description": "品类单位名称",
  23582. "type": "string"
  23583. },
  23584. "isvalid": {
  23585. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  23586. "type": "integer"
  23587. },
  23588. "minivalue": {
  23589. "description": "最小变动值",
  23590. "type": "integer"
  23591. },
  23592. "minivaluedp": {
  23593. "description": "最小变动值小数位",
  23594. "type": "integer"
  23595. },
  23596. "realminivalue": {
  23597. "description": "实际最小变动值",
  23598. "type": "integer"
  23599. },
  23600. "realminivaluedp": {
  23601. "description": "实际最小变动值小数位",
  23602. "type": "integer"
  23603. },
  23604. "remark": {
  23605. "description": "备注",
  23606. "type": "string"
  23607. },
  23608. "unitid": {
  23609. "description": "品类单位ID",
  23610. "type": "integer"
  23611. },
  23612. "updatetime": {
  23613. "description": "更新时间",
  23614. "type": "string"
  23615. },
  23616. "wrstandardcode": {
  23617. "description": "品类代码",
  23618. "type": "string"
  23619. },
  23620. "wrstandardid": {
  23621. "description": "品类ID(SEQ_WRSTANDARD)",
  23622. "type": "integer"
  23623. },
  23624. "wrstandardname": {
  23625. "description": "品类名称",
  23626. "type": "string"
  23627. }
  23628. }
  23629. },
  23630. "models.ErmcpBizGroupEx": {
  23631. "type": "object",
  23632. "properties": {
  23633. "acclist": {
  23634. "description": "账号列表",
  23635. "type": "array",
  23636. "items": {
  23637. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  23638. }
  23639. },
  23640. "bizgroupid": {
  23641. "description": "业务分组id",
  23642. "type": "integer"
  23643. },
  23644. "biztype": {
  23645. "description": "业务类型 1-套保 2-套利",
  23646. "type": "integer"
  23647. },
  23648. "wrlist": {
  23649. "description": "现货商品表",
  23650. "type": "array",
  23651. "items": {
  23652. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  23653. }
  23654. }
  23655. }
  23656. },
  23657. "models.ErmcpBizGroupSpotGoods": {
  23658. "type": "object",
  23659. "properties": {
  23660. "areauserid": {
  23661. "description": "所属机构id",
  23662. "type": "integer"
  23663. },
  23664. "bizgroupid": {
  23665. "description": "分组id",
  23666. "type": "integer"
  23667. },
  23668. "biztype": {
  23669. "description": "业务类型 1-套保 2-套利",
  23670. "type": "integer"
  23671. },
  23672. "deliverygoodscode": {
  23673. "description": "现货商品代码",
  23674. "type": "string"
  23675. },
  23676. "deliverygoodsid": {
  23677. "description": "现货商品id",
  23678. "type": "integer"
  23679. },
  23680. "deliverygoodsname": {
  23681. "description": "现货商品名称",
  23682. "type": "string"
  23683. },
  23684. "unitid": {
  23685. "description": "现货商品单位id",
  23686. "type": "integer"
  23687. }
  23688. }
  23689. },
  23690. "models.ErmcpBizGroupTaAccount": {
  23691. "type": "object",
  23692. "properties": {
  23693. "accountid": {
  23694. "description": "账号id",
  23695. "type": "integer"
  23696. },
  23697. "accountname": {
  23698. "description": "账号名称",
  23699. "type": "string"
  23700. },
  23701. "areauserid": {
  23702. "description": "所属机构id",
  23703. "type": "integer"
  23704. },
  23705. "bizgroupid": {
  23706. "description": "业务分组id",
  23707. "type": "integer"
  23708. },
  23709. "ismain": {
  23710. "description": "是否主账号 1-是 0-否",
  23711. "type": "integer"
  23712. }
  23713. }
  23714. },
  23715. "models.ErmcpDGFactoryItem": {
  23716. "type": "object",
  23717. "properties": {
  23718. "areauserid": {
  23719. "description": "用户id",
  23720. "type": "integer"
  23721. },
  23722. "deliverygoodsid": {
  23723. "description": "现货品种ID",
  23724. "type": "integer"
  23725. },
  23726. "dgfactoryitemid": {
  23727. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  23728. "type": "integer"
  23729. },
  23730. "dgfactoryitemtypeid": {
  23731. "description": "要素项类型",
  23732. "type": "integer"
  23733. },
  23734. "dgfactoryitemvalue": {
  23735. "description": "要素项值(类型为仓库时填写仓库名称)",
  23736. "type": "string"
  23737. },
  23738. "isvalid": {
  23739. "description": "是否有效 - 0:无效 1:有效",
  23740. "type": "integer"
  23741. },
  23742. "orderindex": {
  23743. "description": "顺序",
  23744. "type": "integer"
  23745. },
  23746. "warehouseid": {
  23747. "description": "仓库ID(类型为仓库时填写)",
  23748. "type": "integer"
  23749. }
  23750. }
  23751. },
  23752. "models.ErmcpDeliveryGoods": {
  23753. "type": "object",
  23754. "properties": {
  23755. "agreeunit": {
  23756. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  23757. "type": "integer"
  23758. },
  23759. "areauserid": {
  23760. "description": "所属机构",
  23761. "type": "integer"
  23762. },
  23763. "auditflag": {
  23764. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  23765. "type": "integer"
  23766. },
  23767. "categoryid": {
  23768. "description": "类别ID(SEQ_WRCATEGORY)",
  23769. "type": "integer"
  23770. },
  23771. "deliverygoodscode": {
  23772. "description": "现货品种代码",
  23773. "type": "string"
  23774. },
  23775. "deliverygoodsid": {
  23776. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  23777. "type": "integer"
  23778. },
  23779. "deliverygoodsname": {
  23780. "description": "现货品种名称",
  23781. "type": "string"
  23782. },
  23783. "deliverygoodstype": {
  23784. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  23785. "type": "integer"
  23786. },
  23787. "dgstatus": {
  23788. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  23789. "type": "integer"
  23790. },
  23791. "enumdicname": {
  23792. "description": "现货品种单位名称",
  23793. "type": "string"
  23794. },
  23795. "goodsunitid": {
  23796. "description": "现货品种单位ID",
  23797. "type": "integer"
  23798. },
  23799. "isvalid": {
  23800. "description": "是否有效 - 0:无效 1:有效",
  23801. "type": "integer"
  23802. },
  23803. "qtydecimalplace": {
  23804. "description": "成交量小数位",
  23805. "type": "integer"
  23806. },
  23807. "remark": {
  23808. "description": "备注",
  23809. "type": "string"
  23810. },
  23811. "standardqty": {
  23812. "description": "标准数量(库位数量) [标准品特有]",
  23813. "type": "integer"
  23814. },
  23815. "standardqtyrange": {
  23816. "description": "标准数量偏差范围 [标准品特有]",
  23817. "type": "integer"
  23818. }
  23819. }
  23820. },
  23821. "models.ErmcpFuturesCompany": {
  23822. "type": "object",
  23823. "properties": {
  23824. "brokerid": {
  23825. "description": "经纪公司代码",
  23826. "type": "string"
  23827. },
  23828. "channeladdress": {
  23829. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  23830. "type": "string"
  23831. },
  23832. "channelid": {
  23833. "description": "对冲渠道ID",
  23834. "type": "string"
  23835. },
  23836. "createtime": {
  23837. "description": "创建时间",
  23838. "type": "string"
  23839. },
  23840. "creatorid": {
  23841. "description": "创建人",
  23842. "type": "string"
  23843. },
  23844. "fcid": {
  23845. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  23846. "type": "integer"
  23847. },
  23848. "fcname": {
  23849. "description": "期货公司名称",
  23850. "type": "string"
  23851. },
  23852. "isvalid": {
  23853. "description": "是否有效 - 0:无效 1:有效",
  23854. "type": "integer"
  23855. },
  23856. "mhpaddress": {
  23857. "description": "MHP服务地址(IP:Port)",
  23858. "type": "string"
  23859. },
  23860. "riskrulegroupid": {
  23861. "description": "风控规则组ID",
  23862. "type": "string"
  23863. },
  23864. "tradefeetmpid": {
  23865. "description": "手续费模板ID[TradeConfigTmpType为2]",
  23866. "type": "string"
  23867. },
  23868. "trademargintmpid": {
  23869. "description": "保证金模板ID [TradeConfigTmpType为1]",
  23870. "type": "string"
  23871. },
  23872. "traderatetmpid": {
  23873. "description": "汇率模板ID[TradeConfigTmpType为3]",
  23874. "type": "string"
  23875. },
  23876. "updatetime": {
  23877. "description": "更新时间",
  23878. "type": "string"
  23879. },
  23880. "updatorid": {
  23881. "description": "更新人",
  23882. "type": "string"
  23883. }
  23884. }
  23885. },
  23886. "models.ErmcpGGConvertCfg": {
  23887. "type": "object",
  23888. "properties": {
  23889. "convertratio": {
  23890. "description": "折算系数",
  23891. "type": "number"
  23892. },
  23893. "destgoodsgroupid": {
  23894. "description": "目标品种ID",
  23895. "type": "integer"
  23896. },
  23897. "dstcode": {
  23898. "description": "目录品种代码",
  23899. "type": "string"
  23900. },
  23901. "dstexchangecode": {
  23902. "description": "目标期货交易所",
  23903. "type": "string"
  23904. },
  23905. "dstname": {
  23906. "description": "目标品种名称",
  23907. "type": "string"
  23908. },
  23909. "dstunitid": {
  23910. "description": "目标品种单位ID",
  23911. "type": "integer"
  23912. },
  23913. "dstunitidname": {
  23914. "description": "目标品种单位名称",
  23915. "type": "string"
  23916. },
  23917. "modifytime": {
  23918. "description": "修改时间",
  23919. "type": "string"
  23920. },
  23921. "srccode": {
  23922. "description": "源品种代码",
  23923. "type": "string"
  23924. },
  23925. "srcexchangecode": {
  23926. "description": "源期货交易所",
  23927. "type": "string"
  23928. },
  23929. "srcgoodsgroupid": {
  23930. "description": "源品种ID",
  23931. "type": "integer"
  23932. },
  23933. "srcname": {
  23934. "description": "源品种名称",
  23935. "type": "string"
  23936. },
  23937. "srcunitid": {
  23938. "description": "源品种单位ID",
  23939. "type": "integer"
  23940. },
  23941. "srcunitidname": {
  23942. "description": "源品种单位名称",
  23943. "type": "string"
  23944. }
  23945. }
  23946. },
  23947. "models.ErmcpGoods": {
  23948. "type": "object",
  23949. "required": [
  23950. "goodscode",
  23951. "goodsid",
  23952. "goodsname",
  23953. "marketid"
  23954. ],
  23955. "properties": {
  23956. "agreeunit": {
  23957. "description": "合约单位",
  23958. "type": "number"
  23959. },
  23960. "areauserid": {
  23961. "description": "所属机构",
  23962. "type": "integer"
  23963. },
  23964. "auditaccountid": {
  23965. "description": "审核操作员账号",
  23966. "type": "integer"
  23967. },
  23968. "audittime": {
  23969. "description": "审核时间",
  23970. "type": "string"
  23971. },
  23972. "cancelaccountid": {
  23973. "description": "注销操作员账号",
  23974. "type": "integer"
  23975. },
  23976. "canceltime": {
  23977. "description": "注销时间",
  23978. "type": "string"
  23979. },
  23980. "closepricemode": {
  23981. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  23982. "type": "integer"
  23983. },
  23984. "closepriceparam": {
  23985. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  23986. "type": "number"
  23987. },
  23988. "createtime": {
  23989. "description": "创建时间",
  23990. "type": "string"
  23991. },
  23992. "creatorid": {
  23993. "description": "创建人",
  23994. "type": "integer"
  23995. },
  23996. "currencyid": {
  23997. "description": "报价货币ID",
  23998. "type": "integer"
  23999. },
  24000. "cutmode": {
  24001. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  24002. "type": "integer"
  24003. },
  24004. "decimalplace": {
  24005. "description": "报价小数位",
  24006. "type": "integer"
  24007. },
  24008. "delistingdate": {
  24009. "description": "商品退市时间(状态:退市) -- 已作废",
  24010. "type": "string"
  24011. },
  24012. "delistingmode": {
  24013. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  24014. "type": "integer"
  24015. },
  24016. "deliveryflag": {
  24017. "description": "交割标志 - 0:不可交割 1:可交割",
  24018. "type": "integer"
  24019. },
  24020. "enumdicname": {
  24021. "description": "单位名称",
  24022. "type": "string"
  24023. },
  24024. "forceclosemode": {
  24025. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  24026. "type": "integer"
  24027. },
  24028. "forceclosevalue": {
  24029. "description": "定期强平参数 [收益权]",
  24030. "type": "integer"
  24031. },
  24032. "goodscode": {
  24033. "description": "商品代码(内部)",
  24034. "type": "string"
  24035. },
  24036. "goodscurrencyid": {
  24037. "description": "合约货币ID",
  24038. "type": "integer"
  24039. },
  24040. "goodsgroupid": {
  24041. "description": "所属商品组ID",
  24042. "type": "integer"
  24043. },
  24044. "goodsid": {
  24045. "description": "商品ID(自增ID SEQ_GOODS)",
  24046. "type": "integer"
  24047. },
  24048. "goodsname": {
  24049. "description": "商品名称",
  24050. "type": "string"
  24051. },
  24052. "goodsquotetype": {
  24053. "description": "合约报价类型: 1-直接报价 2-间接报价",
  24054. "type": "integer"
  24055. },
  24056. "goodsstatus": {
  24057. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24058. "type": "integer"
  24059. },
  24060. "goodstradetype": {
  24061. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  24062. "type": "integer"
  24063. },
  24064. "goodunitid": {
  24065. "description": "报价单位ID",
  24066. "type": "integer"
  24067. },
  24068. "hasquoter": {
  24069. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  24070. "type": "integer"
  24071. },
  24072. "hqprotecttime": {
  24073. "description": "行情保护时间(秒)",
  24074. "type": "integer"
  24075. },
  24076. "innerdealmode": {
  24077. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24078. "type": "integer"
  24079. },
  24080. "isbuylimited": {
  24081. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24082. "type": "integer"
  24083. },
  24084. "isvisible": {
  24085. "description": "游客是否可见 - 0:不可见 1:可见",
  24086. "type": "integer"
  24087. },
  24088. "lasttradedate": {
  24089. "description": "最后交易日期(状态:待退市)",
  24090. "type": "string"
  24091. },
  24092. "listingdate": {
  24093. "description": "交易开始日期",
  24094. "type": "string"
  24095. },
  24096. "marketid": {
  24097. "description": "所属市场ID",
  24098. "type": "integer"
  24099. },
  24100. "modifierid": {
  24101. "description": "修改人",
  24102. "type": "integer"
  24103. },
  24104. "modifystatus": {
  24105. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  24106. "type": "integer"
  24107. },
  24108. "modifytime": {
  24109. "description": "修改时间",
  24110. "type": "string"
  24111. },
  24112. "outerdealmode": {
  24113. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24114. "type": "integer"
  24115. },
  24116. "outgoodscode": {
  24117. "description": "商品代码(外部)",
  24118. "type": "string"
  24119. },
  24120. "pictureurl": {
  24121. "description": "商品图片",
  24122. "type": "string"
  24123. },
  24124. "qtydecimalplace": {
  24125. "description": "成交量小数位",
  24126. "type": "integer"
  24127. },
  24128. "quotegear": {
  24129. "description": "行情档位(1-10)",
  24130. "type": "integer"
  24131. },
  24132. "quoteminunit": {
  24133. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24134. "type": "integer"
  24135. },
  24136. "quoteshowtype": {
  24137. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  24138. "type": "integer"
  24139. },
  24140. "quoteshowtypeinterval": {
  24141. "description": "行情报价间隔时间(秒)(成交价时为0)",
  24142. "type": "integer"
  24143. },
  24144. "relatedgoodsid": {
  24145. "description": "关联参考商品ID",
  24146. "type": "integer"
  24147. },
  24148. "remark": {
  24149. "description": "备注",
  24150. "type": "string"
  24151. },
  24152. "trademode": {
  24153. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24154. "type": "integer"
  24155. }
  24156. }
  24157. },
  24158. "models.ErmcpGoodsBrand": {
  24159. "type": "object",
  24160. "properties": {
  24161. "areauserid": {
  24162. "description": "所属机构",
  24163. "type": "integer"
  24164. },
  24165. "brandid": {
  24166. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  24167. "type": "integer"
  24168. },
  24169. "brandname": {
  24170. "description": "品牌名称",
  24171. "type": "string"
  24172. },
  24173. "createtime": {
  24174. "description": "创建时间",
  24175. "type": "string"
  24176. },
  24177. "creatorid": {
  24178. "description": "创建人",
  24179. "type": "integer"
  24180. },
  24181. "creatorsrc": {
  24182. "description": "创建人来源 - 1:管理端 2:终端",
  24183. "type": "integer"
  24184. },
  24185. "deliverygoodsid": {
  24186. "description": "现货品种ID",
  24187. "type": "integer"
  24188. },
  24189. "isvalid": {
  24190. "description": "是否有效 - 0:无效 1:有效",
  24191. "type": "integer"
  24192. },
  24193. "updatetime": {
  24194. "description": "更新时间",
  24195. "type": "string"
  24196. },
  24197. "updatorid": {
  24198. "description": "更新人",
  24199. "type": "integer"
  24200. },
  24201. "updatorsrc": {
  24202. "description": "更新人来源 - 1:管理端 2:终端",
  24203. "type": "integer"
  24204. },
  24205. "wrstandardid": {
  24206. "description": "现货商品ID",
  24207. "type": "integer"
  24208. }
  24209. }
  24210. },
  24211. "models.ErmcpGoodsModel": {
  24212. "type": "object",
  24213. "properties": {
  24214. "areauserid": {
  24215. "description": "所属机构",
  24216. "type": "integer"
  24217. },
  24218. "convertfactor": {
  24219. "description": "标仓系数",
  24220. "type": "number"
  24221. },
  24222. "createtime": {
  24223. "description": "创建时间",
  24224. "type": "string"
  24225. },
  24226. "creatorid": {
  24227. "description": "创建人",
  24228. "type": "integer"
  24229. },
  24230. "creatorsrc": {
  24231. "description": "创建人来源 - 1:管理端 2:终端",
  24232. "type": "integer"
  24233. },
  24234. "deliverygoodsid": {
  24235. "description": "现货品种ID",
  24236. "type": "integer"
  24237. },
  24238. "isvalid": {
  24239. "description": "是否有效 - 0:无效 1:有效",
  24240. "type": "integer"
  24241. },
  24242. "modelid": {
  24243. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  24244. "type": "integer"
  24245. },
  24246. "modelname": {
  24247. "description": "型号名称",
  24248. "type": "string"
  24249. },
  24250. "updatetime": {
  24251. "description": "更新时间",
  24252. "type": "string"
  24253. },
  24254. "updatorid": {
  24255. "description": "更新人",
  24256. "type": "integer"
  24257. },
  24258. "updatorsrc": {
  24259. "description": "更新人来源 - 1:管理端 2:终端",
  24260. "type": "integer"
  24261. },
  24262. "wrstandardid": {
  24263. "description": "现货商品ID",
  24264. "type": "integer"
  24265. }
  24266. }
  24267. },
  24268. "models.ErmcpHisExposure": {
  24269. "type": "object",
  24270. "properties": {
  24271. "needhedgeexposoure": {
  24272. "description": "应套保敞口",
  24273. "type": "number"
  24274. },
  24275. "reckondate": {
  24276. "description": "日照时期(yyyyMMdd)",
  24277. "type": "string"
  24278. },
  24279. "totalexposure": {
  24280. "description": "总敞口",
  24281. "type": "number"
  24282. }
  24283. }
  24284. },
  24285. "models.ErmcpLoginTaAccount": {
  24286. "type": "object",
  24287. "properties": {
  24288. "accountid": {
  24289. "description": "账号id",
  24290. "type": "integer"
  24291. },
  24292. "accountname": {
  24293. "description": "账号名称",
  24294. "type": "string"
  24295. }
  24296. }
  24297. },
  24298. "models.ErmcpLoginUser": {
  24299. "type": "object",
  24300. "properties": {
  24301. "acclist": {
  24302. "description": "关联资金账号",
  24303. "type": "array",
  24304. "items": {
  24305. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  24306. }
  24307. },
  24308. "accountname": {
  24309. "description": "用户名称",
  24310. "type": "string"
  24311. },
  24312. "clientroleid": {
  24313. "description": "角色id(usertype=2)",
  24314. "type": "integer"
  24315. },
  24316. "createtime": {
  24317. "description": "创建时间",
  24318. "type": "string"
  24319. },
  24320. "logincode": {
  24321. "description": "登录代码",
  24322. "type": "string"
  24323. },
  24324. "loginid": {
  24325. "description": "登录id(LOGINID)",
  24326. "type": "integer"
  24327. },
  24328. "loginname": {
  24329. "description": "登录名称(loginaccount表中的accountname字段)",
  24330. "type": "string"
  24331. },
  24332. "loginstatus": {
  24333. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  24334. "type": "integer"
  24335. },
  24336. "memberuserid": {
  24337. "description": "所属会员id",
  24338. "type": "integer"
  24339. },
  24340. "mobile": {
  24341. "description": "手机号",
  24342. "type": "string"
  24343. },
  24344. "modifytime": {
  24345. "description": "修改时间",
  24346. "type": "string"
  24347. },
  24348. "password": {
  24349. "description": "密码(不可解密)",
  24350. "type": "string"
  24351. },
  24352. "rolename": {
  24353. "description": "角色名称",
  24354. "type": "string"
  24355. },
  24356. "rolestatus": {
  24357. "description": "角色状态 1-启用 2-停用",
  24358. "type": "integer"
  24359. },
  24360. "roletype": {
  24361. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  24362. "type": "string"
  24363. },
  24364. "userid": {
  24365. "description": "用户id",
  24366. "type": "integer"
  24367. },
  24368. "usertype": {
  24369. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24370. "type": "integer"
  24371. }
  24372. }
  24373. },
  24374. "models.ErmcpLoginUserEx": {
  24375. "type": "object",
  24376. "properties": {
  24377. "accountstatus": {
  24378. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24379. "type": "integer"
  24380. },
  24381. "mobile": {
  24382. "description": "手机号",
  24383. "type": "string"
  24384. },
  24385. "querytype": {
  24386. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  24387. "type": "integer"
  24388. },
  24389. "roleid": {
  24390. "description": "角色id(交易账户-\u003e用户id)",
  24391. "type": "integer"
  24392. },
  24393. "rolename": {
  24394. "description": "角色名称(交易账户-\u003e用户名称)",
  24395. "type": "string"
  24396. },
  24397. "userlist": {
  24398. "description": "用户列表",
  24399. "type": "array",
  24400. "items": {
  24401. "$ref": "#/definitions/models.ErmcpLoginUser"
  24402. }
  24403. },
  24404. "usertype": {
  24405. "description": "用户类型 2-机构 7-企业成员(云平台)",
  24406. "type": "integer"
  24407. }
  24408. }
  24409. },
  24410. "models.ErmcpMiddleGoodsModel": {
  24411. "type": "object",
  24412. "properties": {
  24413. "areauserid": {
  24414. "description": "机构用户ID",
  24415. "type": "integer"
  24416. },
  24417. "createtime": {
  24418. "description": "修改时间",
  24419. "type": "string"
  24420. },
  24421. "enumdicname": {
  24422. "description": "单位名称",
  24423. "type": "string"
  24424. },
  24425. "evaluateratio": {
  24426. "description": "估价系数",
  24427. "type": "number"
  24428. },
  24429. "goodsgroupid": {
  24430. "description": "关联期货品种ID",
  24431. "type": "integer"
  24432. },
  24433. "goodsunitid": {
  24434. "description": "单位ID",
  24435. "type": "integer"
  24436. },
  24437. "isvalid": {
  24438. "description": "状态 0-无效(停用) 1-有效(正常)",
  24439. "type": "integer"
  24440. },
  24441. "middlegoodscode": {
  24442. "description": "套保品种代码",
  24443. "type": "string"
  24444. },
  24445. "middlegoodsid": {
  24446. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24447. "type": "integer"
  24448. },
  24449. "middlegoodsname": {
  24450. "description": "套保品种名称",
  24451. "type": "string"
  24452. },
  24453. "modifytime": {
  24454. "description": "修改时间",
  24455. "type": "string"
  24456. },
  24457. "needarbitrageratio": {
  24458. "description": "套利比例",
  24459. "type": "number"
  24460. },
  24461. "needhedgeratio": {
  24462. "description": "套保比率",
  24463. "type": "number"
  24464. },
  24465. "qtydecimalplace": {
  24466. "description": "数量小数位",
  24467. "type": "integer"
  24468. },
  24469. "relatedgoodsid": {
  24470. "description": "关联交易商品ID",
  24471. "type": "integer"
  24472. },
  24473. "relatedgoodstype": {
  24474. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  24475. "type": "integer"
  24476. },
  24477. "remark": {
  24478. "description": "备注",
  24479. "type": "string"
  24480. }
  24481. }
  24482. },
  24483. "models.ErmcpMiddlegoodsRelateGoods": {
  24484. "type": "object",
  24485. "properties": {
  24486. "agreeunit": {
  24487. "description": "合约乘数",
  24488. "type": "number"
  24489. },
  24490. "convertratio": {
  24491. "description": "折算系数",
  24492. "type": "number"
  24493. },
  24494. "enumdicname": {
  24495. "description": "单位名称(交易商品)",
  24496. "type": "string"
  24497. },
  24498. "goodscode": {
  24499. "description": "交易商品代码",
  24500. "type": "string"
  24501. },
  24502. "goodsgroupid": {
  24503. "description": "交易品种id",
  24504. "type": "integer"
  24505. },
  24506. "goodsid": {
  24507. "description": "商品Id",
  24508. "type": "integer"
  24509. },
  24510. "goodsname": {
  24511. "description": "交易商品名称",
  24512. "type": "string"
  24513. },
  24514. "goodunitid": {
  24515. "description": "交易商品单位id",
  24516. "type": "integer"
  24517. },
  24518. "middlegoodsid": {
  24519. "description": "套保商品id",
  24520. "type": "integer"
  24521. },
  24522. "middlegoodsname": {
  24523. "description": "套保商品名称",
  24524. "type": "string"
  24525. },
  24526. "middlegoodsswcode": {
  24527. "description": "套保商品代码",
  24528. "type": "string"
  24529. },
  24530. "needarbitrageratio": {
  24531. "description": "应套利比例",
  24532. "type": "number"
  24533. },
  24534. "needhedgeratio": {
  24535. "description": "应套保比例",
  24536. "type": "number"
  24537. }
  24538. }
  24539. },
  24540. "models.ErmcpRole": {
  24541. "type": "object",
  24542. "properties": {
  24543. "areauserid": {
  24544. "description": "所属机构",
  24545. "type": "integer"
  24546. },
  24547. "autoid": {
  24548. "description": "角色ID(自增ID)",
  24549. "type": "integer"
  24550. },
  24551. "modifierid": {
  24552. "description": "修改人(创建人)",
  24553. "type": "integer"
  24554. },
  24555. "modifiername": {
  24556. "description": "修改人名称",
  24557. "type": "string"
  24558. },
  24559. "modifytime": {
  24560. "description": "修改时间(创建时间)",
  24561. "type": "string"
  24562. },
  24563. "rolename": {
  24564. "description": "角色名称",
  24565. "type": "string"
  24566. },
  24567. "rolestatus": {
  24568. "description": "角色状态 - 1:启用 2:停用",
  24569. "type": "integer"
  24570. },
  24571. "roletype": {
  24572. "description": "角色类型 - 1- 管理端 2- 交易端",
  24573. "type": "integer"
  24574. }
  24575. }
  24576. },
  24577. "models.ErmcpRoleMenu": {
  24578. "type": "object",
  24579. "properties": {
  24580. "iconame": {
  24581. "description": "菜单图标",
  24582. "type": "string"
  24583. },
  24584. "ishadrole": {
  24585. "description": "是否有权限",
  24586. "type": "boolean"
  24587. },
  24588. "menutype": {
  24589. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  24590. "type": "integer"
  24591. },
  24592. "parentcode": {
  24593. "description": "上级资源代码",
  24594. "type": "string"
  24595. },
  24596. "remark": {
  24597. "description": "菜单备注",
  24598. "type": "string"
  24599. },
  24600. "resourcecode": {
  24601. "description": "菜单代码",
  24602. "type": "string"
  24603. },
  24604. "resourcelevel": {
  24605. "description": "级别",
  24606. "type": "integer"
  24607. },
  24608. "resourcename": {
  24609. "description": "菜单名称",
  24610. "type": "string"
  24611. },
  24612. "roleid": {
  24613. "description": "角色id",
  24614. "type": "integer"
  24615. },
  24616. "sort": {
  24617. "description": "排序",
  24618. "type": "integer"
  24619. },
  24620. "url": {
  24621. "description": "URL",
  24622. "type": "string"
  24623. },
  24624. "userid": {
  24625. "description": "用户id",
  24626. "type": "integer"
  24627. }
  24628. }
  24629. },
  24630. "models.ErmcpRoleMenuEx": {
  24631. "type": "object",
  24632. "properties": {
  24633. "menu": {
  24634. "description": "父级菜单",
  24635. "$ref": "#/definitions/models.ErmcpRoleMenu"
  24636. },
  24637. "subMenu": {
  24638. "description": "子级菜单",
  24639. "type": "array",
  24640. "items": {
  24641. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  24642. }
  24643. }
  24644. }
  24645. },
  24646. "models.ErmcpTaAccount": {
  24647. "type": "object",
  24648. "properties": {
  24649. "accountid": {
  24650. "description": "账户id",
  24651. "type": "integer"
  24652. },
  24653. "accountname": {
  24654. "description": "账户名称",
  24655. "type": "string"
  24656. },
  24657. "currencyid": {
  24658. "description": "币种id",
  24659. "type": "integer"
  24660. },
  24661. "hedgeaccountcode": {
  24662. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24663. "type": "string"
  24664. },
  24665. "ismain": {
  24666. "description": "是否主账户 0-否 1-是",
  24667. "type": "integer"
  24668. },
  24669. "parentaccountid": {
  24670. "description": "父账户id",
  24671. "type": "integer"
  24672. },
  24673. "relateduserid": {
  24674. "description": "关联userid",
  24675. "type": "integer"
  24676. },
  24677. "tradefeetmpid": {
  24678. "description": "手续费模板id",
  24679. "type": "integer"
  24680. },
  24681. "tradefeetmpname": {
  24682. "description": "手续费模板名称",
  24683. "type": "string"
  24684. },
  24685. "trademargintmpid": {
  24686. "description": "保证金模板id",
  24687. "type": "integer"
  24688. },
  24689. "trademargintmpname": {
  24690. "description": "保证金模板名称",
  24691. "type": "string"
  24692. },
  24693. "traderatetmpid": {
  24694. "description": "汇率模板id",
  24695. "type": "integer"
  24696. },
  24697. "traderatetmpname": {
  24698. "description": "汇率模板名称",
  24699. "type": "string"
  24700. },
  24701. "tradestatus": {
  24702. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24703. "type": "integer"
  24704. },
  24705. "userid": {
  24706. "description": "用户id",
  24707. "type": "integer"
  24708. }
  24709. }
  24710. },
  24711. "models.ErmcpTaAccountEx": {
  24712. "type": "object",
  24713. "properties": {
  24714. "mainAcc": {
  24715. "description": "主账号",
  24716. "$ref": "#/definitions/models.ErmcpTaAccountM"
  24717. },
  24718. "subacclist": {
  24719. "description": "子账号列表",
  24720. "type": "array",
  24721. "items": {
  24722. "$ref": "#/definitions/models.ErmcpTaAccount"
  24723. }
  24724. }
  24725. }
  24726. },
  24727. "models.ErmcpTaAccountInfo": {
  24728. "type": "object",
  24729. "properties": {
  24730. "accountid": {
  24731. "description": "资金账户ID",
  24732. "type": "integer"
  24733. },
  24734. "accountname": {
  24735. "description": "账户名称",
  24736. "type": "string"
  24737. },
  24738. "balance": {
  24739. "description": "期初余额",
  24740. "type": "number"
  24741. },
  24742. "capitalbalance": {
  24743. "description": "本金余额[外部子账户实际出入金余额]",
  24744. "type": "number"
  24745. },
  24746. "closepl": {
  24747. "description": "今日平仓盈亏",
  24748. "type": "number"
  24749. },
  24750. "creditdecrease": {
  24751. "description": "今日授信减少",
  24752. "type": "number"
  24753. },
  24754. "creditincrease": {
  24755. "description": "今日授信增加",
  24756. "type": "number"
  24757. },
  24758. "curdebt": {
  24759. "description": "期末欠款",
  24760. "type": "number"
  24761. },
  24762. "currencyid": {
  24763. "description": "货币ID",
  24764. "type": "integer"
  24765. },
  24766. "currentbalance": {
  24767. "description": "期末余额",
  24768. "type": "number"
  24769. },
  24770. "freezecharge": {
  24771. "description": "手续费冻结",
  24772. "type": "number"
  24773. },
  24774. "freezemargin": {
  24775. "description": "冻结保证金",
  24776. "type": "number"
  24777. },
  24778. "fromaccountid": {
  24779. "description": "所属上级账户",
  24780. "type": "integer"
  24781. },
  24782. "inamount": {
  24783. "description": "今日入金金额(包括三方入金)",
  24784. "type": "number"
  24785. },
  24786. "ismain": {
  24787. "description": "是否母账号 0:不是母账户 1:是母账户",
  24788. "type": "integer"
  24789. },
  24790. "mortgagecredit": {
  24791. "description": "授信金额",
  24792. "type": "number"
  24793. },
  24794. "oridebt": {
  24795. "description": "期初欠款",
  24796. "type": "number"
  24797. },
  24798. "orifreezecharge": {
  24799. "description": "期初手续费冻结",
  24800. "type": "number"
  24801. },
  24802. "orifreezemargin": {
  24803. "description": "期初冻结保证金",
  24804. "type": "number"
  24805. },
  24806. "orimortgagecredit": {
  24807. "description": "期初授信金额",
  24808. "type": "number"
  24809. },
  24810. "oriothercredit": {
  24811. "description": "期初其它授信金额",
  24812. "type": "number"
  24813. },
  24814. "oriotherfreezemargin": {
  24815. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  24816. "type": "number"
  24817. },
  24818. "orioutamountfreeze": {
  24819. "description": "期初出金冻结",
  24820. "type": "number"
  24821. },
  24822. "oriusedmargin": {
  24823. "description": "期初占用保证金",
  24824. "type": "number"
  24825. },
  24826. "othercredit": {
  24827. "description": "其它授信金额",
  24828. "type": "number"
  24829. },
  24830. "othercreditdecrease": {
  24831. "description": "今日其它授信减少",
  24832. "type": "number"
  24833. },
  24834. "othercreditincrease": {
  24835. "description": "今日其它授信增加",
  24836. "type": "number"
  24837. },
  24838. "otherfreezemargin": {
  24839. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  24840. "type": "number"
  24841. },
  24842. "outamount": {
  24843. "description": "今日出金金额(包括三方出金)",
  24844. "type": "number"
  24845. },
  24846. "outamountfreeze": {
  24847. "description": "出金冻结",
  24848. "type": "number"
  24849. },
  24850. "outthreshold": {
  24851. "description": "出金阈值",
  24852. "type": "number"
  24853. },
  24854. "parentaccountid": {
  24855. "description": "所属根账号",
  24856. "type": "integer"
  24857. },
  24858. "paycharge": {
  24859. "description": "今日手续费支出",
  24860. "type": "number"
  24861. },
  24862. "relateduserid": {
  24863. "description": "关联用户",
  24864. "type": "integer"
  24865. },
  24866. "signstatus": {
  24867. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  24868. "type": "integer"
  24869. },
  24870. "sublevelpath": {
  24871. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  24872. "type": "string"
  24873. },
  24874. "taaccounttype": {
  24875. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  24876. "type": "integer"
  24877. },
  24878. "thirdinamount": {
  24879. "description": "今日三方入金",
  24880. "type": "number"
  24881. },
  24882. "thirdoutamount": {
  24883. "description": "今日三方出金",
  24884. "type": "number"
  24885. },
  24886. "tradestatus": {
  24887. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24888. "type": "integer"
  24889. },
  24890. "transferamount": {
  24891. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  24892. "type": "number"
  24893. },
  24894. "usedmargin": {
  24895. "description": "占用保证金",
  24896. "type": "number"
  24897. },
  24898. "userid": {
  24899. "description": "用户ID",
  24900. "type": "integer"
  24901. }
  24902. }
  24903. },
  24904. "models.ErmcpTaAccountM": {
  24905. "type": "object",
  24906. "properties": {
  24907. "accountid": {
  24908. "description": "账户id",
  24909. "type": "integer"
  24910. },
  24911. "accountname": {
  24912. "description": "账户名称",
  24913. "type": "string"
  24914. },
  24915. "currencyid": {
  24916. "description": "币种id",
  24917. "type": "integer"
  24918. },
  24919. "fcid": {
  24920. "description": "期货公司id",
  24921. "type": "integer"
  24922. },
  24923. "fcname": {
  24924. "description": "期货公司代码",
  24925. "type": "string"
  24926. },
  24927. "hedgeaccountcode": {
  24928. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24929. "type": "string"
  24930. },
  24931. "ismain": {
  24932. "description": "是否主账户 0-否 1-是",
  24933. "type": "integer"
  24934. },
  24935. "parentaccountid": {
  24936. "description": "父账户id",
  24937. "type": "integer"
  24938. },
  24939. "relateduserid": {
  24940. "description": "关联userid",
  24941. "type": "integer"
  24942. },
  24943. "tradefeetmpid": {
  24944. "description": "手续费模板id",
  24945. "type": "integer"
  24946. },
  24947. "tradefeetmpname": {
  24948. "description": "手续费模板名称",
  24949. "type": "string"
  24950. },
  24951. "trademargintmpid": {
  24952. "description": "保证金模板id",
  24953. "type": "integer"
  24954. },
  24955. "trademargintmpname": {
  24956. "description": "保证金模板名称",
  24957. "type": "string"
  24958. },
  24959. "traderatetmpid": {
  24960. "description": "汇率模板id",
  24961. "type": "integer"
  24962. },
  24963. "traderatetmpname": {
  24964. "description": "汇率模板名称",
  24965. "type": "string"
  24966. },
  24967. "tradestatus": {
  24968. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24969. "type": "integer"
  24970. },
  24971. "userid": {
  24972. "description": "用户id",
  24973. "type": "integer"
  24974. }
  24975. }
  24976. },
  24977. "models.ErmcpTradeConfigTMP": {
  24978. "type": "object",
  24979. "properties": {
  24980. "areauserid": {
  24981. "description": "所属机构",
  24982. "type": "integer"
  24983. },
  24984. "basiccurrencyid": {
  24985. "description": "基本币种ID[汇率] - 目标币种",
  24986. "type": "integer"
  24987. },
  24988. "mainaccountid": {
  24989. "description": "主账户ID",
  24990. "type": "integer"
  24991. },
  24992. "modifierid": {
  24993. "description": "修改人",
  24994. "type": "integer"
  24995. },
  24996. "remark": {
  24997. "description": "备注",
  24998. "type": "string"
  24999. },
  25000. "tradeconfigtmpid": {
  25001. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  25002. "type": "integer"
  25003. },
  25004. "tradeconfigtmpname": {
  25005. "description": "交易配置模板名称",
  25006. "type": "string"
  25007. },
  25008. "tradeconfigtmptype": {
  25009. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  25010. "type": "integer"
  25011. },
  25012. "updatetime": {
  25013. "description": "更新时间",
  25014. "type": "string"
  25015. }
  25016. }
  25017. },
  25018. "models.Externalexchange": {
  25019. "type": "object",
  25020. "required": [
  25021. "autoid"
  25022. ],
  25023. "properties": {
  25024. "autoid": {
  25025. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  25026. "type": "integer"
  25027. },
  25028. "exchangefullname": {
  25029. "description": "外部交易所全称",
  25030. "type": "string"
  25031. },
  25032. "exexchangecode": {
  25033. "description": "外部交易所代码",
  25034. "type": "string"
  25035. },
  25036. "exexchangename": {
  25037. "description": "外部交易所名称(简称)",
  25038. "type": "string"
  25039. },
  25040. "ismarketprice": {
  25041. "description": "是否支持市价 - 0:不支持 1:支持",
  25042. "type": "integer"
  25043. },
  25044. "quotegear": {
  25045. "description": "行情档位(1-10)",
  25046. "type": "integer"
  25047. },
  25048. "showbrokerflag": {
  25049. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  25050. "type": "integer"
  25051. },
  25052. "updatetime": {
  25053. "description": "更新时间",
  25054. "type": "string"
  25055. }
  25056. }
  25057. },
  25058. "models.Funcmenulist": {
  25059. "type": "object",
  25060. "required": [
  25061. "resourcecode"
  25062. ],
  25063. "properties": {
  25064. "iconame": {
  25065. "description": "菜单图标",
  25066. "type": "string"
  25067. },
  25068. "menutype": {
  25069. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  25070. "type": "integer"
  25071. },
  25072. "parentcode": {
  25073. "description": "上级资源代码",
  25074. "type": "string"
  25075. },
  25076. "remark": {
  25077. "description": "备注",
  25078. "type": "string"
  25079. },
  25080. "resourcecode": {
  25081. "description": "资源代码",
  25082. "type": "string"
  25083. },
  25084. "resourcelevel": {
  25085. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  25086. "type": "integer"
  25087. },
  25088. "resourcename": {
  25089. "description": "资源名",
  25090. "type": "string"
  25091. },
  25092. "sort": {
  25093. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  25094. "type": "integer"
  25095. },
  25096. "url": {
  25097. "description": "URL",
  25098. "type": "string"
  25099. }
  25100. }
  25101. },
  25102. "models.Goods": {
  25103. "type": "object",
  25104. "required": [
  25105. "goodscode",
  25106. "goodsid",
  25107. "goodsname",
  25108. "marketid"
  25109. ],
  25110. "properties": {
  25111. "agreeunit": {
  25112. "description": "合约单位",
  25113. "type": "number"
  25114. },
  25115. "areauserid": {
  25116. "description": "所属机构",
  25117. "type": "integer"
  25118. },
  25119. "auditaccountid": {
  25120. "description": "审核操作员账号",
  25121. "type": "integer"
  25122. },
  25123. "audittime": {
  25124. "description": "审核时间",
  25125. "type": "string"
  25126. },
  25127. "cancelaccountid": {
  25128. "description": "注销操作员账号",
  25129. "type": "integer"
  25130. },
  25131. "canceltime": {
  25132. "description": "注销时间",
  25133. "type": "string"
  25134. },
  25135. "closepricemode": {
  25136. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25137. "type": "integer"
  25138. },
  25139. "closepriceparam": {
  25140. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  25141. "type": "number"
  25142. },
  25143. "createtime": {
  25144. "description": "创建时间",
  25145. "type": "string"
  25146. },
  25147. "creatorid": {
  25148. "description": "创建人",
  25149. "type": "integer"
  25150. },
  25151. "currencyid": {
  25152. "description": "报价货币ID",
  25153. "type": "integer"
  25154. },
  25155. "cutmode": {
  25156. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  25157. "type": "integer"
  25158. },
  25159. "decimalplace": {
  25160. "description": "报价小数位",
  25161. "type": "integer"
  25162. },
  25163. "delistingdate": {
  25164. "description": "商品退市时间(状态:退市) -- 已作废",
  25165. "type": "string"
  25166. },
  25167. "delistingmode": {
  25168. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  25169. "type": "integer"
  25170. },
  25171. "deliveryflag": {
  25172. "description": "交割标志 - 0:不可交割 1:可交割",
  25173. "type": "integer"
  25174. },
  25175. "forceclosemode": {
  25176. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  25177. "type": "integer"
  25178. },
  25179. "forceclosevalue": {
  25180. "description": "定期强平参数 [收益权]",
  25181. "type": "integer"
  25182. },
  25183. "goodscode": {
  25184. "description": "商品代码(内部)",
  25185. "type": "string"
  25186. },
  25187. "goodscurrencyid": {
  25188. "description": "合约货币ID",
  25189. "type": "integer"
  25190. },
  25191. "goodsgroupid": {
  25192. "description": "所属商品组ID",
  25193. "type": "integer"
  25194. },
  25195. "goodsid": {
  25196. "description": "商品ID(自增ID SEQ_GOODS)",
  25197. "type": "integer"
  25198. },
  25199. "goodsname": {
  25200. "description": "商品名称",
  25201. "type": "string"
  25202. },
  25203. "goodsquotetype": {
  25204. "description": "合约报价类型: 1-直接报价 2-间接报价",
  25205. "type": "integer"
  25206. },
  25207. "goodsstatus": {
  25208. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25209. "type": "integer"
  25210. },
  25211. "goodstradetype": {
  25212. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  25213. "type": "integer"
  25214. },
  25215. "goodunitid": {
  25216. "description": "报价单位ID",
  25217. "type": "integer"
  25218. },
  25219. "hasquoter": {
  25220. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  25221. "type": "integer"
  25222. },
  25223. "hqprotecttime": {
  25224. "description": "行情保护时间(秒)",
  25225. "type": "integer"
  25226. },
  25227. "innerdealmode": {
  25228. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25229. "type": "integer"
  25230. },
  25231. "isbuylimited": {
  25232. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25233. "type": "integer"
  25234. },
  25235. "isvisible": {
  25236. "description": "游客是否可见 - 0:不可见 1:可见",
  25237. "type": "integer"
  25238. },
  25239. "lasttradedate": {
  25240. "description": "最后交易日期(状态:待退市)",
  25241. "type": "string"
  25242. },
  25243. "listingdate": {
  25244. "description": "交易开始日期",
  25245. "type": "string"
  25246. },
  25247. "marketid": {
  25248. "description": "所属市场ID",
  25249. "type": "integer"
  25250. },
  25251. "modifierid": {
  25252. "description": "修改人",
  25253. "type": "integer"
  25254. },
  25255. "modifystatus": {
  25256. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  25257. "type": "integer"
  25258. },
  25259. "modifytime": {
  25260. "description": "修改时间",
  25261. "type": "string"
  25262. },
  25263. "outerdealmode": {
  25264. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25265. "type": "integer"
  25266. },
  25267. "outgoodscode": {
  25268. "description": "商品代码(外部)",
  25269. "type": "string"
  25270. },
  25271. "pictureurl": {
  25272. "description": "商品图片",
  25273. "type": "string"
  25274. },
  25275. "qtydecimalplace": {
  25276. "description": "成交量小数位",
  25277. "type": "integer"
  25278. },
  25279. "quotegear": {
  25280. "description": "行情档位(1-10)",
  25281. "type": "integer"
  25282. },
  25283. "quoteminunit": {
  25284. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25285. "type": "integer"
  25286. },
  25287. "quoteshowtype": {
  25288. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  25289. "type": "integer"
  25290. },
  25291. "quoteshowtypeinterval": {
  25292. "description": "行情报价间隔时间(秒)(成交价时为0)",
  25293. "type": "integer"
  25294. },
  25295. "remark": {
  25296. "description": "备注",
  25297. "type": "string"
  25298. }
  25299. }
  25300. },
  25301. "models.GoodsIDAndName": {
  25302. "type": "object",
  25303. "required": [
  25304. "goodscode",
  25305. "goodsid",
  25306. "goodsname",
  25307. "marketid"
  25308. ],
  25309. "properties": {
  25310. "goodscode": {
  25311. "description": "商品代码(内部)",
  25312. "type": "string"
  25313. },
  25314. "goodsid": {
  25315. "description": "商品ID(自增ID SEQ_GOODS)",
  25316. "type": "integer"
  25317. },
  25318. "goodsname": {
  25319. "description": "商品名称",
  25320. "type": "string"
  25321. },
  25322. "marketid": {
  25323. "description": "所属市场ID",
  25324. "type": "integer"
  25325. }
  25326. }
  25327. },
  25328. "models.Goodsgroup": {
  25329. "type": "object",
  25330. "required": [
  25331. "goodsgroupid",
  25332. "goodsgroupname",
  25333. "goodsgroupstatus",
  25334. "marketid"
  25335. ],
  25336. "properties": {
  25337. "agreeunit": {
  25338. "description": "合约单位",
  25339. "type": "number"
  25340. },
  25341. "canshort": {
  25342. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  25343. "type": "integer"
  25344. },
  25345. "closepricemode": {
  25346. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25347. "type": "integer"
  25348. },
  25349. "closepriceparam": {
  25350. "description": "强平最新价浮动比例 - 方式为2时使用",
  25351. "type": "number"
  25352. },
  25353. "createtime": {
  25354. "description": "创建时间",
  25355. "type": "string"
  25356. },
  25357. "creatorid": {
  25358. "description": "创建人",
  25359. "type": "integer"
  25360. },
  25361. "currencyid": {
  25362. "description": "报价货币ID",
  25363. "type": "integer"
  25364. },
  25365. "decimalplace": {
  25366. "description": "报价小数位",
  25367. "type": "integer"
  25368. },
  25369. "exercisetype": {
  25370. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  25371. "type": "integer"
  25372. },
  25373. "exexchangeid": {
  25374. "description": "外部交易所ID[通道交易]",
  25375. "type": "integer"
  25376. },
  25377. "goodsgroupid": {
  25378. "description": "商品组ID(自增ID)",
  25379. "type": "integer"
  25380. },
  25381. "goodsgroupname": {
  25382. "description": "商品组名称",
  25383. "type": "string"
  25384. },
  25385. "goodsgroupstatus": {
  25386. "description": "商品组状态 - 1:正常 2:注销",
  25387. "type": "integer"
  25388. },
  25389. "goodunitid": {
  25390. "description": "报价单位ID",
  25391. "type": "integer"
  25392. },
  25393. "innerdealmode": {
  25394. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25395. "type": "integer"
  25396. },
  25397. "isbuylimited": {
  25398. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25399. "type": "integer"
  25400. },
  25401. "marketid": {
  25402. "description": "所属市场ID",
  25403. "type": "integer"
  25404. },
  25405. "modifierid": {
  25406. "description": "修改人",
  25407. "type": "integer"
  25408. },
  25409. "modifytime": {
  25410. "description": "修改时间",
  25411. "type": "string"
  25412. },
  25413. "outerdealmode": {
  25414. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25415. "type": "integer"
  25416. },
  25417. "outergroupcode": {
  25418. "description": "外部商品组代码[通道交易]",
  25419. "type": "string"
  25420. },
  25421. "premiumdecimalplace": {
  25422. "description": "权利金小数位[场外期权]",
  25423. "type": "integer"
  25424. },
  25425. "premiumspreadalgorithm": {
  25426. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  25427. "type": "integer"
  25428. },
  25429. "premiumspreadvalue": {
  25430. "description": "权利金点差值[场外期权]",
  25431. "type": "number"
  25432. },
  25433. "qtydecimalplace": {
  25434. "description": "成交量小数位",
  25435. "type": "integer"
  25436. },
  25437. "quotegear": {
  25438. "description": "行情档位(1-10)",
  25439. "type": "integer"
  25440. },
  25441. "quoteminunit": {
  25442. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25443. "type": "integer"
  25444. },
  25445. "quoterid": {
  25446. "description": "报价商ID[场外期权]",
  25447. "type": "integer"
  25448. },
  25449. "quotesourcegroupid": {
  25450. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25451. "type": "integer"
  25452. },
  25453. "syncgoodsqty": {
  25454. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25455. "type": "integer"
  25456. }
  25457. }
  25458. },
  25459. "models.Goodssortbypreposition": {
  25460. "type": "object",
  25461. "required": [
  25462. "goodscode",
  25463. "tradedate"
  25464. ],
  25465. "properties": {
  25466. "goodscode": {
  25467. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  25468. "type": "string"
  25469. },
  25470. "goodsgroupcode": {
  25471. "description": "品种代码",
  25472. "type": "string"
  25473. },
  25474. "prepositionqty": {
  25475. "description": "昨持仓量",
  25476. "type": "integer"
  25477. },
  25478. "sortindex": {
  25479. "description": "排序",
  25480. "type": "integer"
  25481. },
  25482. "tradedate": {
  25483. "description": "交易日",
  25484. "type": "string"
  25485. },
  25486. "updatetime": {
  25487. "description": "更新时间",
  25488. "type": "string"
  25489. }
  25490. }
  25491. },
  25492. "models.Hedgeinnerholderdetail": {
  25493. "type": "object",
  25494. "required": [
  25495. "buyorsell",
  25496. "tradeid"
  25497. ],
  25498. "properties": {
  25499. "accountid": {
  25500. "description": "账号ID",
  25501. "type": "integer"
  25502. },
  25503. "buyorsell": {
  25504. "description": "方向 - 0:买 1:卖",
  25505. "type": "integer"
  25506. },
  25507. "freezeqty": {
  25508. "description": "冻结数量 - 按单平使用",
  25509. "type": "integer"
  25510. },
  25511. "goodsid": {
  25512. "description": "商品ID",
  25513. "type": "integer"
  25514. },
  25515. "holderamount": {
  25516. "description": "持仓金额 [商品币种]",
  25517. "type": "number"
  25518. },
  25519. "holderdays": {
  25520. "description": "剩余冻结天数",
  25521. "type": "integer"
  25522. },
  25523. "holderprice": {
  25524. "description": "持仓价格",
  25525. "type": "number"
  25526. },
  25527. "holderqty": {
  25528. "description": "持仓数量",
  25529. "type": "integer"
  25530. },
  25531. "marketid": {
  25532. "description": "市场ID",
  25533. "type": "integer"
  25534. },
  25535. "openprice": {
  25536. "description": "建仓价格",
  25537. "type": "number"
  25538. },
  25539. "openqty": {
  25540. "description": "建仓数量",
  25541. "type": "integer"
  25542. },
  25543. "parentaccountid": {
  25544. "description": "所属母账户",
  25545. "type": "integer"
  25546. },
  25547. "releaseamount": {
  25548. "description": "释放持仓金额[商品币种]",
  25549. "type": "number"
  25550. },
  25551. "tradeamount": {
  25552. "description": "成交金额[账户]",
  25553. "type": "number"
  25554. },
  25555. "tradedate": {
  25556. "description": "交易日(yyyyMMdd)",
  25557. "type": "string"
  25558. },
  25559. "tradeid": {
  25560. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25561. "type": "string"
  25562. },
  25563. "tradetime": {
  25564. "description": "交易时间",
  25565. "type": "string"
  25566. }
  25567. }
  25568. },
  25569. "models.Hedgemarketopenlog": {
  25570. "type": "object",
  25571. "required": [
  25572. "accountid"
  25573. ],
  25574. "properties": {
  25575. "accountid": {
  25576. "description": "资金账号[外部母账户]",
  25577. "type": "integer"
  25578. },
  25579. "fcname": {
  25580. "description": "期货公司名称",
  25581. "type": "string"
  25582. },
  25583. "handlestatus": {
  25584. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  25585. "type": "integer"
  25586. },
  25587. "marketid": {
  25588. "description": "市场ID",
  25589. "type": "integer"
  25590. },
  25591. "status": {
  25592. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  25593. "type": "integer"
  25594. },
  25595. "tradedate": {
  25596. "description": "交易日(yyyyMMdd)",
  25597. "type": "string"
  25598. },
  25599. "updatetime": {
  25600. "description": "更新时间",
  25601. "type": "string"
  25602. }
  25603. }
  25604. },
  25605. "models.HsbyBuyMyPayOrder": {
  25606. "type": "object",
  25607. "required": [
  25608. "goodscode",
  25609. "goodsname",
  25610. "tradeid",
  25611. "trademode"
  25612. ],
  25613. "properties": {
  25614. "agreeunit": {
  25615. "description": "合约单位",
  25616. "type": "number"
  25617. },
  25618. "buyaccountid": {
  25619. "description": "买方账号ID[报价币种]",
  25620. "type": "integer"
  25621. },
  25622. "buyorderid": {
  25623. "description": "买方委托单号",
  25624. "type": "string"
  25625. },
  25626. "createtime": {
  25627. "description": "创建时间",
  25628. "type": "string"
  25629. },
  25630. "currencysign": {
  25631. "description": "货币符号",
  25632. "type": "string"
  25633. },
  25634. "decimalplace": {
  25635. "description": "报价小数位",
  25636. "type": "integer"
  25637. },
  25638. "goodscode": {
  25639. "description": "商品代码(内部)",
  25640. "type": "string"
  25641. },
  25642. "goodsid": {
  25643. "description": "商品ID",
  25644. "type": "integer"
  25645. },
  25646. "goodsname": {
  25647. "description": "商品名称",
  25648. "type": "string"
  25649. },
  25650. "marketid": {
  25651. "description": "市场ID",
  25652. "type": "integer"
  25653. },
  25654. "offamount": {
  25655. "description": "优惠金额",
  25656. "type": "number"
  25657. },
  25658. "originalamount": {
  25659. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  25660. "type": "number"
  25661. },
  25662. "payamount": {
  25663. "description": "支付金额 = TradeAmount + TradeCharge",
  25664. "type": "number"
  25665. },
  25666. "payflag": {
  25667. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25668. "type": "integer"
  25669. },
  25670. "paylimitedtime": {
  25671. "description": "支付期限",
  25672. "type": "string"
  25673. },
  25674. "paytime": {
  25675. "description": "付款时间",
  25676. "type": "string"
  25677. },
  25678. "picurls1": {
  25679. "description": "预售商品介绍图片[多张用逗号分隔]",
  25680. "type": "string"
  25681. },
  25682. "picurls2": {
  25683. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25684. "type": "string"
  25685. },
  25686. "sellaccountid": {
  25687. "description": "卖方账号ID[报价币种]",
  25688. "type": "integer"
  25689. },
  25690. "sellorderid": {
  25691. "description": "卖方委托单号",
  25692. "type": "string"
  25693. },
  25694. "tradeamount": {
  25695. "description": "成交金额",
  25696. "type": "number"
  25697. },
  25698. "tradecharge": {
  25699. "description": "成交手续费(买方)",
  25700. "type": "number"
  25701. },
  25702. "tradedate": {
  25703. "description": "交易日(yyyyMMdd)",
  25704. "type": "string"
  25705. },
  25706. "tradeid": {
  25707. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25708. "type": "string"
  25709. },
  25710. "trademode": {
  25711. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25712. "type": "integer"
  25713. },
  25714. "tradeprice": {
  25715. "description": "成交价格",
  25716. "type": "number"
  25717. },
  25718. "tradeqty": {
  25719. "description": "成交数量",
  25720. "type": "integer"
  25721. },
  25722. "vendorname1": {
  25723. "description": "预售商品供应商名称",
  25724. "type": "string"
  25725. },
  25726. "vendorname2": {
  25727. "description": "挂牌商品供应商名称",
  25728. "type": "string"
  25729. }
  25730. }
  25731. },
  25732. "models.HsbyBuyMyTradeDetail": {
  25733. "type": "object",
  25734. "required": [
  25735. "accountid",
  25736. "buyorsell",
  25737. "goodscode",
  25738. "goodsid",
  25739. "goodsname",
  25740. "marketid",
  25741. "orderid",
  25742. "qty",
  25743. "time",
  25744. "trademode"
  25745. ],
  25746. "properties": {
  25747. "accountid": {
  25748. "description": "账户ID[报价币种]",
  25749. "type": "integer"
  25750. },
  25751. "agreeunit": {
  25752. "description": "合约单位",
  25753. "type": "number"
  25754. },
  25755. "amount": {
  25756. "description": "金额 = 价格 * 数量 * 合约单位",
  25757. "type": "number"
  25758. },
  25759. "buyorsell": {
  25760. "description": "买卖 - 0:买 1:卖",
  25761. "type": "integer"
  25762. },
  25763. "currencysign": {
  25764. "description": "货币符号",
  25765. "type": "string"
  25766. },
  25767. "decimalplace": {
  25768. "description": "报价小数位",
  25769. "type": "integer"
  25770. },
  25771. "goodscode": {
  25772. "description": "商品代码(内部)",
  25773. "type": "string"
  25774. },
  25775. "goodsid": {
  25776. "description": "商品ID",
  25777. "type": "integer"
  25778. },
  25779. "goodsname": {
  25780. "description": "商品名称",
  25781. "type": "string"
  25782. },
  25783. "marketid": {
  25784. "description": "市场ID",
  25785. "type": "integer"
  25786. },
  25787. "orderamount": {
  25788. "description": "委托金额",
  25789. "type": "number"
  25790. },
  25791. "orderid": {
  25792. "description": "单号(成交单号)",
  25793. "type": "string"
  25794. },
  25795. "picurls1": {
  25796. "description": "预售商品介绍图片[多张用逗号分隔]",
  25797. "type": "string"
  25798. },
  25799. "picurls2": {
  25800. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25801. "type": "string"
  25802. },
  25803. "price": {
  25804. "description": "价格",
  25805. "type": "number"
  25806. },
  25807. "qty": {
  25808. "description": "数量",
  25809. "type": "integer"
  25810. },
  25811. "time": {
  25812. "description": "时间",
  25813. "type": "string"
  25814. },
  25815. "trademode": {
  25816. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25817. "type": "integer"
  25818. },
  25819. "vendorname1": {
  25820. "description": "预售商品供应商名称",
  25821. "type": "string"
  25822. },
  25823. "vendorname2": {
  25824. "description": "挂牌商品供应商名称",
  25825. "type": "string"
  25826. }
  25827. }
  25828. },
  25829. "models.HsbyGoodsOrderDetail": {
  25830. "type": "object",
  25831. "required": [
  25832. "buyorsell",
  25833. "orderid",
  25834. "ordertime"
  25835. ],
  25836. "properties": {
  25837. "buyorsell": {
  25838. "description": "买卖 - 0:买 1:卖",
  25839. "type": "integer"
  25840. },
  25841. "currencysign": {
  25842. "description": "货币符号",
  25843. "type": "string"
  25844. },
  25845. "customername": {
  25846. "description": "客户名称(企业名称),已脱敏",
  25847. "type": "string"
  25848. },
  25849. "enableqty": {
  25850. "description": "可用数量",
  25851. "type": "integer"
  25852. },
  25853. "goodunit": {
  25854. "description": "报价单位",
  25855. "type": "string"
  25856. },
  25857. "orderid": {
  25858. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25859. "type": "string"
  25860. },
  25861. "orderprice": {
  25862. "description": "委托价格",
  25863. "type": "number"
  25864. },
  25865. "ordertime": {
  25866. "description": "委托时间",
  25867. "type": "string"
  25868. }
  25869. }
  25870. },
  25871. "models.HsbyListingGoodsDetail": {
  25872. "type": "object",
  25873. "required": [
  25874. "goodscode",
  25875. "goodsid",
  25876. "goodsname",
  25877. "marketid",
  25878. "trademode"
  25879. ],
  25880. "properties": {
  25881. "agreeunit": {
  25882. "description": "合约单位",
  25883. "type": "number"
  25884. },
  25885. "buymaxqty": {
  25886. "description": "购买上限 [71] - 0为不限",
  25887. "type": "integer"
  25888. },
  25889. "currency": {
  25890. "description": "货币",
  25891. "type": "string"
  25892. },
  25893. "currencysign": {
  25894. "description": "货币符号",
  25895. "type": "string"
  25896. },
  25897. "decimalplace": {
  25898. "description": "报价小数位",
  25899. "type": "integer"
  25900. },
  25901. "desccityid": {
  25902. "description": "目的地(市)ID",
  25903. "type": "integer"
  25904. },
  25905. "descprovinceid": {
  25906. "description": "目的地(省)ID",
  25907. "type": "integer"
  25908. },
  25909. "goodscode": {
  25910. "description": "商品代码(内部)",
  25911. "type": "string"
  25912. },
  25913. "goodsdesc": {
  25914. "description": "商品详情",
  25915. "type": "string"
  25916. },
  25917. "goodsid": {
  25918. "description": "商品ID(自增ID SEQ_GOODS)",
  25919. "type": "integer"
  25920. },
  25921. "goodsname": {
  25922. "description": "商品名称",
  25923. "type": "string"
  25924. },
  25925. "goodsprice": {
  25926. "description": "商品价格",
  25927. "type": "number"
  25928. },
  25929. "hotindex": {
  25930. "description": "景点热度",
  25931. "type": "integer"
  25932. },
  25933. "last": {
  25934. "description": "现价",
  25935. "type": "number"
  25936. },
  25937. "limitdown": {
  25938. "description": "跌停价",
  25939. "type": "number"
  25940. },
  25941. "limitup": {
  25942. "description": "涨停价",
  25943. "type": "number"
  25944. },
  25945. "lotsize": {
  25946. "description": "手数最小变动单位",
  25947. "type": "integer"
  25948. },
  25949. "marketid": {
  25950. "description": "所属市场ID",
  25951. "type": "integer"
  25952. },
  25953. "picurls": {
  25954. "description": "介绍图片[多张用逗号分隔]",
  25955. "type": "string"
  25956. },
  25957. "quoteminunit": {
  25958. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25959. "type": "integer"
  25960. },
  25961. "stepvalue": {
  25962. "description": "价格最小变动单位",
  25963. "type": "number"
  25964. },
  25965. "trademode": {
  25966. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25967. "type": "integer"
  25968. },
  25969. "vendorattr": {
  25970. "description": "供应商附件(多张,逗号分隔)",
  25971. "type": "string"
  25972. },
  25973. "vendorname": {
  25974. "description": "供应商名称",
  25975. "type": "string"
  25976. },
  25977. "vendorphone": {
  25978. "description": "供应商客服电话",
  25979. "type": "string"
  25980. },
  25981. "videourls": {
  25982. "description": "介绍视频[多张用逗号分隔]",
  25983. "type": "string"
  25984. }
  25985. }
  25986. },
  25987. "models.HsbyMarketGoods": {
  25988. "type": "object",
  25989. "required": [
  25990. "accountid",
  25991. "buyorsell",
  25992. "goodscode",
  25993. "goodsid",
  25994. "goodsname",
  25995. "marketid",
  25996. "orderid",
  25997. "trademode"
  25998. ],
  25999. "properties": {
  26000. "accountid": {
  26001. "description": "账户ID[报价币种]",
  26002. "type": "integer"
  26003. },
  26004. "agreeunit": {
  26005. "description": "合约单位",
  26006. "type": "number"
  26007. },
  26008. "buyorsell": {
  26009. "description": "买卖 - 0:买 1:卖",
  26010. "type": "integer"
  26011. },
  26012. "categoryid": {
  26013. "description": "类别ID(WRCATEGORY)",
  26014. "type": "integer"
  26015. },
  26016. "currency": {
  26017. "description": "货币",
  26018. "type": "string"
  26019. },
  26020. "currencysign": {
  26021. "description": "货币符号",
  26022. "type": "string"
  26023. },
  26024. "customername": {
  26025. "description": "卖家名称",
  26026. "type": "string"
  26027. },
  26028. "decimalplace": {
  26029. "description": "报价小数位",
  26030. "type": "integer"
  26031. },
  26032. "goodscode": {
  26033. "description": "商品代码(内部)",
  26034. "type": "string"
  26035. },
  26036. "goodsid": {
  26037. "description": "商品ID",
  26038. "type": "integer"
  26039. },
  26040. "goodsname": {
  26041. "description": "商品名称",
  26042. "type": "string"
  26043. },
  26044. "goodsprice": {
  26045. "description": "商品价格",
  26046. "type": "number"
  26047. },
  26048. "hascoupon": {
  26049. "description": "是否可用优惠卷",
  26050. "type": "boolean"
  26051. },
  26052. "hotindex": {
  26053. "description": "景点热度",
  26054. "type": "integer"
  26055. },
  26056. "marketid": {
  26057. "description": "市场ID",
  26058. "type": "integer"
  26059. },
  26060. "orderid": {
  26061. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26062. "type": "string"
  26063. },
  26064. "orderprice": {
  26065. "description": "委托价格",
  26066. "type": "number"
  26067. },
  26068. "orderstatus": {
  26069. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26070. "type": "integer"
  26071. },
  26072. "picurls": {
  26073. "description": "介绍图片[多张用逗号分隔]",
  26074. "type": "string"
  26075. },
  26076. "quoteminunit": {
  26077. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26078. "type": "integer"
  26079. },
  26080. "sellUserID": {
  26081. "description": "卖方UserID",
  26082. "type": "integer"
  26083. },
  26084. "trademode": {
  26085. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26086. "type": "integer"
  26087. },
  26088. "videourls": {
  26089. "description": "介绍视频[多张用逗号分隔]",
  26090. "type": "string"
  26091. }
  26092. }
  26093. },
  26094. "models.HsbyMarketGoodsDetail": {
  26095. "type": "object",
  26096. "required": [
  26097. "accountid",
  26098. "buyorsell",
  26099. "goodscode",
  26100. "goodsid",
  26101. "goodsname",
  26102. "marketid",
  26103. "orderid",
  26104. "orderqty",
  26105. "trademode"
  26106. ],
  26107. "properties": {
  26108. "accountid": {
  26109. "description": "账户ID[报价币种]",
  26110. "type": "integer"
  26111. },
  26112. "agreeunit": {
  26113. "description": "合约单位",
  26114. "type": "number"
  26115. },
  26116. "buymaxqty": {
  26117. "description": "购买上限 [71] - 0为不限",
  26118. "type": "integer"
  26119. },
  26120. "buyorsell": {
  26121. "description": "买卖 - 0:买 1:卖",
  26122. "type": "integer"
  26123. },
  26124. "cancelqty": {
  26125. "description": "撤单数量",
  26126. "type": "integer"
  26127. },
  26128. "categoryid": {
  26129. "description": "类别ID(WRCATEGORY)",
  26130. "type": "integer"
  26131. },
  26132. "currency": {
  26133. "description": "货币",
  26134. "type": "string"
  26135. },
  26136. "currencysign": {
  26137. "description": "货币符号",
  26138. "type": "string"
  26139. },
  26140. "customername": {
  26141. "description": "卖家名称",
  26142. "type": "string"
  26143. },
  26144. "decimalplace": {
  26145. "description": "报价小数位",
  26146. "type": "integer"
  26147. },
  26148. "goodscode": {
  26149. "description": "商品代码(内部)",
  26150. "type": "string"
  26151. },
  26152. "goodsdesc": {
  26153. "description": "商品详情",
  26154. "type": "string"
  26155. },
  26156. "goodsid": {
  26157. "description": "商品ID",
  26158. "type": "integer"
  26159. },
  26160. "goodsname": {
  26161. "description": "商品名称",
  26162. "type": "string"
  26163. },
  26164. "goodsprice": {
  26165. "description": "商品价格",
  26166. "type": "number"
  26167. },
  26168. "hotindex": {
  26169. "description": "景点热度",
  26170. "type": "integer"
  26171. },
  26172. "lotsize": {
  26173. "description": "手数最小变动单位",
  26174. "type": "integer"
  26175. },
  26176. "marketid": {
  26177. "description": "市场ID",
  26178. "type": "integer"
  26179. },
  26180. "orderid": {
  26181. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26182. "type": "string"
  26183. },
  26184. "orderprice": {
  26185. "description": "委托价格",
  26186. "type": "number"
  26187. },
  26188. "orderqty": {
  26189. "description": "委托数量",
  26190. "type": "integer"
  26191. },
  26192. "orderstatus": {
  26193. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26194. "type": "integer"
  26195. },
  26196. "picurls": {
  26197. "description": "介绍图片[多张用逗号分隔]",
  26198. "type": "string"
  26199. },
  26200. "quoteminunit": {
  26201. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26202. "type": "integer"
  26203. },
  26204. "sellUserID": {
  26205. "description": "卖方UserID",
  26206. "type": "integer"
  26207. },
  26208. "trademode": {
  26209. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26210. "type": "integer"
  26211. },
  26212. "tradeqty": {
  26213. "description": "成交数量",
  26214. "type": "integer"
  26215. },
  26216. "vendorattr": {
  26217. "description": "供应商附件(多张,逗号分隔)",
  26218. "type": "string"
  26219. },
  26220. "vendorname": {
  26221. "description": "供应商名称",
  26222. "type": "string"
  26223. },
  26224. "vendorphone": {
  26225. "description": "供应商客服电话",
  26226. "type": "string"
  26227. },
  26228. "videourls": {
  26229. "description": "介绍视频[多张用逗号分隔]",
  26230. "type": "string"
  26231. }
  26232. }
  26233. },
  26234. "models.HsbyMarketInfo": {
  26235. "type": "object",
  26236. "required": [
  26237. "marketid",
  26238. "marketstatus",
  26239. "trademode"
  26240. ],
  26241. "properties": {
  26242. "marketid": {
  26243. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  26244. "type": "integer"
  26245. },
  26246. "marketname": {
  26247. "description": "市场名称",
  26248. "type": "string"
  26249. },
  26250. "marketstatus": {
  26251. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  26252. "type": "integer"
  26253. },
  26254. "trademode": {
  26255. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26256. "type": "integer"
  26257. }
  26258. }
  26259. },
  26260. "models.HsbyMyGoods": {
  26261. "type": "object",
  26262. "required": [
  26263. "accountid",
  26264. "goodscode",
  26265. "goodsid",
  26266. "goodsname",
  26267. "marketid",
  26268. "trademode"
  26269. ],
  26270. "properties": {
  26271. "accountid": {
  26272. "description": "账号Id",
  26273. "type": "integer"
  26274. },
  26275. "agreeunit": {
  26276. "description": "合约单位",
  26277. "type": "number"
  26278. },
  26279. "buyaverageprice": {
  26280. "description": "持仓均价",
  26281. "type": "number"
  26282. },
  26283. "buycurholderamount": {
  26284. "description": "买当前持仓总金额[商品币种]",
  26285. "type": "number"
  26286. },
  26287. "buycurpositionqty": {
  26288. "description": "买当前持仓总数量",
  26289. "type": "integer"
  26290. },
  26291. "buymaxqty": {
  26292. "description": "购买上限 [71] - 0为不限",
  26293. "type": "integer"
  26294. },
  26295. "currencysign": {
  26296. "description": "货币符号",
  26297. "type": "string"
  26298. },
  26299. "decimalplace": {
  26300. "description": "报价小数位",
  26301. "type": "integer"
  26302. },
  26303. "enableqty": {
  26304. "description": "可用数量",
  26305. "type": "integer"
  26306. },
  26307. "goodscode": {
  26308. "description": "商品代码(内部)",
  26309. "type": "string"
  26310. },
  26311. "goodsid": {
  26312. "description": "商品Id",
  26313. "type": "integer"
  26314. },
  26315. "goodsname": {
  26316. "description": "商品名称",
  26317. "type": "string"
  26318. },
  26319. "goodsprice": {
  26320. "description": "商品价格",
  26321. "type": "number"
  26322. },
  26323. "goodsstatus": {
  26324. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26325. "type": "integer"
  26326. },
  26327. "last": {
  26328. "description": "现价(仅使用于挂牌点选)",
  26329. "type": "number"
  26330. },
  26331. "limitdown": {
  26332. "description": "跌停价(仅使用于挂牌点选)",
  26333. "type": "number"
  26334. },
  26335. "limitup": {
  26336. "description": "涨停价(仅使用于挂牌点选)",
  26337. "type": "number"
  26338. },
  26339. "lotsize": {
  26340. "description": "手数最小变动单位",
  26341. "type": "integer"
  26342. },
  26343. "marketid": {
  26344. "description": "所属市场ID",
  26345. "type": "integer"
  26346. },
  26347. "picurls": {
  26348. "description": "介绍图片[多张用逗号分隔]",
  26349. "type": "string"
  26350. },
  26351. "quoteminunit": {
  26352. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26353. "type": "integer"
  26354. },
  26355. "stepvalue": {
  26356. "description": "价格最小变动单位",
  26357. "type": "number"
  26358. },
  26359. "trademode": {
  26360. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26361. "type": "integer"
  26362. }
  26363. }
  26364. },
  26365. "models.HsbyMyPackage": {
  26366. "type": "object",
  26367. "required": [
  26368. "goodscode",
  26369. "goodsname",
  26370. "takeorderid",
  26371. "trademode"
  26372. ],
  26373. "properties": {
  26374. "accountid": {
  26375. "description": "账户ID",
  26376. "type": "integer"
  26377. },
  26378. "address": {
  26379. "description": "提货人详细地址",
  26380. "type": "string"
  26381. },
  26382. "agreeunit": {
  26383. "description": "合约单位",
  26384. "type": "number"
  26385. },
  26386. "amount": {
  26387. "description": "提货金额",
  26388. "type": "number"
  26389. },
  26390. "auditer": {
  26391. "description": "审核人",
  26392. "type": "integer"
  26393. },
  26394. "audittime": {
  26395. "description": "审核时间",
  26396. "type": "string"
  26397. },
  26398. "averageprice": {
  26399. "description": "均价",
  26400. "type": "number"
  26401. },
  26402. "cardnum": {
  26403. "description": "提货人证件号码",
  26404. "type": "string"
  26405. },
  26406. "cardtypeid": {
  26407. "description": "提货人证件类型",
  26408. "type": "integer"
  26409. },
  26410. "checkremark": {
  26411. "description": "审核备注",
  26412. "type": "string"
  26413. },
  26414. "currencysign": {
  26415. "description": "货币符号",
  26416. "type": "string"
  26417. },
  26418. "decimalplace": {
  26419. "description": "报价小数位",
  26420. "type": "integer"
  26421. },
  26422. "goodscode": {
  26423. "description": "商品代码(内部)",
  26424. "type": "string"
  26425. },
  26426. "goodsid": {
  26427. "description": "商品ID",
  26428. "type": "integer"
  26429. },
  26430. "goodsname": {
  26431. "description": "商品名称",
  26432. "type": "string"
  26433. },
  26434. "handlestatus": {
  26435. "description": "处理状态",
  26436. "type": "integer"
  26437. },
  26438. "marketid": {
  26439. "description": "市场ID",
  26440. "type": "integer"
  26441. },
  26442. "phonenum": {
  26443. "description": "提货人联系方式",
  26444. "type": "string"
  26445. },
  26446. "picurls": {
  26447. "description": "介绍图片[多张用逗号分隔]",
  26448. "type": "string"
  26449. },
  26450. "qty": {
  26451. "description": "提货数量",
  26452. "type": "number"
  26453. },
  26454. "recivername": {
  26455. "description": "提货人姓名",
  26456. "type": "string"
  26457. },
  26458. "reqtime": {
  26459. "description": "更新时间",
  26460. "type": "string"
  26461. },
  26462. "takemode": {
  26463. "description": "提货方式 - 2:自提 3:配送",
  26464. "type": "integer"
  26465. },
  26466. "takeorderid": {
  26467. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26468. "type": "string"
  26469. },
  26470. "takeorderstatus": {
  26471. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  26472. "type": "integer"
  26473. },
  26474. "takeremark": {
  26475. "description": "提货备注",
  26476. "type": "string"
  26477. },
  26478. "tradedate": {
  26479. "description": "交易日(yyyyMMdd)",
  26480. "type": "string"
  26481. },
  26482. "trademode": {
  26483. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26484. "type": "integer"
  26485. },
  26486. "userid": {
  26487. "description": "用户ID",
  26488. "type": "integer"
  26489. },
  26490. "vendorname": {
  26491. "description": "供应商名称",
  26492. "type": "string"
  26493. }
  26494. }
  26495. },
  26496. "models.HsbyPreGoods": {
  26497. "type": "object",
  26498. "required": [
  26499. "goodscode",
  26500. "goodsid",
  26501. "goodsname",
  26502. "marketid",
  26503. "trademode"
  26504. ],
  26505. "properties": {
  26506. "agreeunit": {
  26507. "description": "合约单位",
  26508. "type": "number"
  26509. },
  26510. "currency": {
  26511. "description": "货币",
  26512. "type": "string"
  26513. },
  26514. "currencysign": {
  26515. "description": "货币符号",
  26516. "type": "string"
  26517. },
  26518. "decimalplace": {
  26519. "description": "报价小数位",
  26520. "type": "integer"
  26521. },
  26522. "desccityid": {
  26523. "description": "目的地(市)",
  26524. "type": "integer"
  26525. },
  26526. "descprovinceid": {
  26527. "description": "目的地(省)",
  26528. "type": "integer"
  26529. },
  26530. "enableqty": {
  26531. "description": "剩余数量",
  26532. "type": "integer"
  26533. },
  26534. "goodscode": {
  26535. "description": "商品代码(内部)",
  26536. "type": "string"
  26537. },
  26538. "goodsid": {
  26539. "description": "商品ID(自增ID SEQ_GOODS)",
  26540. "type": "integer"
  26541. },
  26542. "goodsname": {
  26543. "description": "商品名称",
  26544. "type": "string"
  26545. },
  26546. "goodsstatus": {
  26547. "description": "商品状态- 2:未上市 3:上市",
  26548. "type": "integer"
  26549. },
  26550. "lasttradedate": {
  26551. "description": "最后交易日期(状态:待退市)",
  26552. "type": "string"
  26553. },
  26554. "listingdate": {
  26555. "description": "交易开始日期",
  26556. "type": "string"
  26557. },
  26558. "marketid": {
  26559. "description": "所属市场ID",
  26560. "type": "integer"
  26561. },
  26562. "picurls": {
  26563. "description": "介绍图片[多张用逗号分隔]",
  26564. "type": "string"
  26565. },
  26566. "presaledqty": {
  26567. "description": "已预售量(预售结束时更新)",
  26568. "type": "integer"
  26569. },
  26570. "presaleqty": {
  26571. "description": "预售数量",
  26572. "type": "integer"
  26573. },
  26574. "quoteminunit": {
  26575. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26576. "type": "integer"
  26577. },
  26578. "refprice": {
  26579. "description": "参考价格[一口价]",
  26580. "type": "number"
  26581. },
  26582. "relatedgoodsid": {
  26583. "description": "关联交易合约ID",
  26584. "type": "integer"
  26585. },
  26586. "trademode": {
  26587. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26588. "type": "integer"
  26589. },
  26590. "videourls": {
  26591. "description": "介绍视频[多张用逗号分隔]",
  26592. "type": "string"
  26593. }
  26594. }
  26595. },
  26596. "models.HsbyPreGoodsDetail": {
  26597. "type": "object",
  26598. "required": [
  26599. "goodscode",
  26600. "goodsid",
  26601. "goodsname",
  26602. "marketid",
  26603. "trademode"
  26604. ],
  26605. "properties": {
  26606. "agreeunit": {
  26607. "description": "合约单位",
  26608. "type": "number"
  26609. },
  26610. "buymaxqty": {
  26611. "description": "购买上限 [71] - 0为不限",
  26612. "type": "integer"
  26613. },
  26614. "currency": {
  26615. "description": "货币",
  26616. "type": "string"
  26617. },
  26618. "currencysign": {
  26619. "description": "货币符号",
  26620. "type": "string"
  26621. },
  26622. "customername": {
  26623. "description": "发行单位",
  26624. "type": "string"
  26625. },
  26626. "decimalplace": {
  26627. "description": "报价小数位",
  26628. "type": "integer"
  26629. },
  26630. "desccityid": {
  26631. "description": "目的地(市)ID",
  26632. "type": "integer"
  26633. },
  26634. "descprovinceid": {
  26635. "description": "目的地(省)ID",
  26636. "type": "integer"
  26637. },
  26638. "enableqty": {
  26639. "description": "剩余数量",
  26640. "type": "integer"
  26641. },
  26642. "goodscode": {
  26643. "description": "商品代码(内部)",
  26644. "type": "string"
  26645. },
  26646. "goodsdesc": {
  26647. "description": "商品详情",
  26648. "type": "string"
  26649. },
  26650. "goodsid": {
  26651. "description": "商品ID(自增ID SEQ_GOODS)",
  26652. "type": "integer"
  26653. },
  26654. "goodsname": {
  26655. "description": "商品名称",
  26656. "type": "string"
  26657. },
  26658. "goodsstatus": {
  26659. "description": "商品状态- 2:未上市 3:上市",
  26660. "type": "integer"
  26661. },
  26662. "goodunit": {
  26663. "description": "报价单位",
  26664. "type": "string"
  26665. },
  26666. "lasttradedate": {
  26667. "description": "最后交易日期(状态:待退市)",
  26668. "type": "string"
  26669. },
  26670. "listingdate": {
  26671. "description": "交易开始日期",
  26672. "type": "string"
  26673. },
  26674. "lotsize": {
  26675. "description": "手数最小变动单位",
  26676. "type": "integer"
  26677. },
  26678. "marketid": {
  26679. "description": "所属市场ID",
  26680. "type": "integer"
  26681. },
  26682. "picurls": {
  26683. "description": "介绍图片[多张用逗号分隔]",
  26684. "type": "string"
  26685. },
  26686. "presaledqty": {
  26687. "description": "已预售量(预售结束时更新)",
  26688. "type": "integer"
  26689. },
  26690. "presaleqty": {
  26691. "description": "预售数量",
  26692. "type": "integer"
  26693. },
  26694. "quoteminunit": {
  26695. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26696. "type": "integer"
  26697. },
  26698. "refprice": {
  26699. "description": "参考价格[一口价]",
  26700. "type": "number"
  26701. },
  26702. "relatedgoodsid": {
  26703. "description": "关联交易合约ID",
  26704. "type": "integer"
  26705. },
  26706. "stepvalue": {
  26707. "description": "价格最小变动单位",
  26708. "type": "number"
  26709. },
  26710. "trademode": {
  26711. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26712. "type": "integer"
  26713. },
  26714. "vendorattr": {
  26715. "description": "供应商附件(多张,逗号分隔)",
  26716. "type": "string"
  26717. },
  26718. "vendorname": {
  26719. "description": "供应商名称",
  26720. "type": "string"
  26721. },
  26722. "vendorphone": {
  26723. "description": "供应商客服电话",
  26724. "type": "string"
  26725. },
  26726. "videourls": {
  26727. "description": "介绍视频[多张用逗号分隔]",
  26728. "type": "string"
  26729. }
  26730. }
  26731. },
  26732. "models.HsbySellCollectionOrder": {
  26733. "type": "object",
  26734. "required": [
  26735. "goodscode",
  26736. "goodsname",
  26737. "tradeid",
  26738. "trademode"
  26739. ],
  26740. "properties": {
  26741. "agreeunit": {
  26742. "description": "合约单位",
  26743. "type": "number"
  26744. },
  26745. "buyaccountid": {
  26746. "description": "买方账号ID[报价币种]",
  26747. "type": "integer"
  26748. },
  26749. "buyorderid": {
  26750. "description": "买方委托单号",
  26751. "type": "string"
  26752. },
  26753. "createtime": {
  26754. "description": "创建时间",
  26755. "type": "string"
  26756. },
  26757. "currencysign": {
  26758. "description": "货币符号",
  26759. "type": "string"
  26760. },
  26761. "decimalplace": {
  26762. "description": "报价小数位",
  26763. "type": "integer"
  26764. },
  26765. "goodscode": {
  26766. "description": "商品代码(内部)",
  26767. "type": "string"
  26768. },
  26769. "goodsid": {
  26770. "description": "商品ID",
  26771. "type": "integer"
  26772. },
  26773. "goodsname": {
  26774. "description": "商品名称",
  26775. "type": "string"
  26776. },
  26777. "marketid": {
  26778. "description": "市场ID",
  26779. "type": "integer"
  26780. },
  26781. "offamount": {
  26782. "description": "优惠金额",
  26783. "type": "number"
  26784. },
  26785. "payamount": {
  26786. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  26787. "type": "number"
  26788. },
  26789. "payflag": {
  26790. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26791. "type": "integer"
  26792. },
  26793. "paylimitedtime": {
  26794. "description": "支付期限",
  26795. "type": "string"
  26796. },
  26797. "paytime": {
  26798. "description": "付款时间",
  26799. "type": "string"
  26800. },
  26801. "picurls": {
  26802. "description": "商品介绍图片[多张用逗号分隔]",
  26803. "type": "string"
  26804. },
  26805. "sellaccountid": {
  26806. "description": "卖方账号ID[报价币种]",
  26807. "type": "integer"
  26808. },
  26809. "sellorderid": {
  26810. "description": "卖方委托单号",
  26811. "type": "string"
  26812. },
  26813. "tradeamount": {
  26814. "description": "成交金额",
  26815. "type": "number"
  26816. },
  26817. "tradecharge": {
  26818. "description": "成交手续费(买方)",
  26819. "type": "number"
  26820. },
  26821. "tradedate": {
  26822. "description": "交易日(yyyyMMdd)",
  26823. "type": "string"
  26824. },
  26825. "tradeid": {
  26826. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26827. "type": "string"
  26828. },
  26829. "trademode": {
  26830. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26831. "type": "integer"
  26832. },
  26833. "tradeprice": {
  26834. "description": "成交价格",
  26835. "type": "number"
  26836. },
  26837. "tradeqty": {
  26838. "description": "成交数量",
  26839. "type": "integer"
  26840. }
  26841. }
  26842. },
  26843. "models.HsbySellMyDetail": {
  26844. "type": "object",
  26845. "required": [
  26846. "accountid",
  26847. "buyorsell",
  26848. "goodscode",
  26849. "goodsid",
  26850. "goodsname",
  26851. "marketid",
  26852. "orderid",
  26853. "time",
  26854. "trademode"
  26855. ],
  26856. "properties": {
  26857. "accountid": {
  26858. "description": "账户ID[报价币种]",
  26859. "type": "integer"
  26860. },
  26861. "agreeunit": {
  26862. "description": "合约单位",
  26863. "type": "number"
  26864. },
  26865. "buyorsell": {
  26866. "description": "买卖 - 0:买 1:卖",
  26867. "type": "integer"
  26868. },
  26869. "currencysign": {
  26870. "description": "货币符号",
  26871. "type": "string"
  26872. },
  26873. "decimalplace": {
  26874. "description": "报价小数位",
  26875. "type": "integer"
  26876. },
  26877. "goodscode": {
  26878. "description": "商品代码(内部)",
  26879. "type": "string"
  26880. },
  26881. "goodsid": {
  26882. "description": "商品ID",
  26883. "type": "integer"
  26884. },
  26885. "goodsname": {
  26886. "description": "商品名称",
  26887. "type": "string"
  26888. },
  26889. "marketid": {
  26890. "description": "市场ID",
  26891. "type": "integer"
  26892. },
  26893. "orderid": {
  26894. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  26895. "type": "string"
  26896. },
  26897. "ordertype": {
  26898. "description": "单据类型:0 - 发布中, 1 - 已完成",
  26899. "type": "integer"
  26900. },
  26901. "picurls": {
  26902. "description": "介绍图片[多张用逗号分隔]",
  26903. "type": "string"
  26904. },
  26905. "price": {
  26906. "description": "价格",
  26907. "type": "number"
  26908. },
  26909. "qty": {
  26910. "description": "数量",
  26911. "type": "integer"
  26912. },
  26913. "time": {
  26914. "description": "时间",
  26915. "type": "string"
  26916. },
  26917. "trademode": {
  26918. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26919. "type": "integer"
  26920. },
  26921. "vendorname": {
  26922. "description": "供应商名称",
  26923. "type": "string"
  26924. }
  26925. }
  26926. },
  26927. "models.HsbyTopGoods": {
  26928. "type": "object",
  26929. "required": [
  26930. "goodscode",
  26931. "goodsid",
  26932. "goodsname",
  26933. "marketid",
  26934. "trademode"
  26935. ],
  26936. "properties": {
  26937. "agreeunit": {
  26938. "description": "合约单位",
  26939. "type": "number"
  26940. },
  26941. "currency": {
  26942. "description": "货币",
  26943. "type": "string"
  26944. },
  26945. "currencysign": {
  26946. "description": "货币符号",
  26947. "type": "string"
  26948. },
  26949. "decimalplace": {
  26950. "description": "报价小数位",
  26951. "type": "integer"
  26952. },
  26953. "desccityid": {
  26954. "description": "目的地(市)",
  26955. "type": "integer"
  26956. },
  26957. "descprovinceid": {
  26958. "description": "目的地(省)",
  26959. "type": "integer"
  26960. },
  26961. "goodscode": {
  26962. "description": "商品代码(内部)",
  26963. "type": "string"
  26964. },
  26965. "goodsid": {
  26966. "description": "商品ID(自增ID SEQ_GOODS)",
  26967. "type": "integer"
  26968. },
  26969. "goodsname": {
  26970. "description": "商品名称",
  26971. "type": "string"
  26972. },
  26973. "hotindex": {
  26974. "description": "景点热度",
  26975. "type": "integer"
  26976. },
  26977. "last": {
  26978. "description": "现价",
  26979. "type": "number"
  26980. },
  26981. "marketid": {
  26982. "description": "所属市场ID",
  26983. "type": "integer"
  26984. },
  26985. "picurls": {
  26986. "description": "介绍图片[多张用逗号分隔]",
  26987. "type": "string"
  26988. },
  26989. "quoteminunit": {
  26990. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26991. "type": "integer"
  26992. },
  26993. "trademode": {
  26994. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26995. "type": "integer"
  26996. },
  26997. "videourls": {
  26998. "description": "介绍视频[多张用逗号分隔]",
  26999. "type": "string"
  27000. }
  27001. }
  27002. },
  27003. "models.HybsMyBuyOrderDetail": {
  27004. "type": "object",
  27005. "required": [
  27006. "accountid",
  27007. "buyorsell",
  27008. "goodscode",
  27009. "goodsid",
  27010. "goodsname",
  27011. "marketid",
  27012. "orderid",
  27013. "orderqty",
  27014. "ordertime",
  27015. "trademode"
  27016. ],
  27017. "properties": {
  27018. "accountid": {
  27019. "description": "账户ID[报价币种]",
  27020. "type": "integer"
  27021. },
  27022. "agreeunit": {
  27023. "description": "合约单位",
  27024. "type": "number"
  27025. },
  27026. "buyorsell": {
  27027. "description": "买卖 - 0:买 1:卖",
  27028. "type": "integer"
  27029. },
  27030. "cancelqty": {
  27031. "description": "撤单数量",
  27032. "type": "integer"
  27033. },
  27034. "currencysign": {
  27035. "description": "货币符号",
  27036. "type": "string"
  27037. },
  27038. "decimalplace": {
  27039. "description": "报价小数位",
  27040. "type": "integer"
  27041. },
  27042. "goodscode": {
  27043. "description": "商品代码(内部)",
  27044. "type": "string"
  27045. },
  27046. "goodsid": {
  27047. "description": "商品ID",
  27048. "type": "integer"
  27049. },
  27050. "goodsname": {
  27051. "description": "商品名称",
  27052. "type": "string"
  27053. },
  27054. "listingselecttype": {
  27055. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  27056. "type": "integer"
  27057. },
  27058. "marketid": {
  27059. "description": "市场ID",
  27060. "type": "integer"
  27061. },
  27062. "mybuystatus": {
  27063. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  27064. "type": "integer"
  27065. },
  27066. "orderamount": {
  27067. "description": "委托金额",
  27068. "type": "number"
  27069. },
  27070. "orderid": {
  27071. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27072. "type": "string"
  27073. },
  27074. "orderprice": {
  27075. "description": "委托价格",
  27076. "type": "number"
  27077. },
  27078. "orderqty": {
  27079. "description": "委托数量",
  27080. "type": "integer"
  27081. },
  27082. "orderstatus": {
  27083. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27084. "type": "integer"
  27085. },
  27086. "ordertime": {
  27087. "description": "委托时间",
  27088. "type": "string"
  27089. },
  27090. "picurls1": {
  27091. "description": "预售商品介绍图片[多张用逗号分隔]",
  27092. "type": "string"
  27093. },
  27094. "picurls2": {
  27095. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  27096. "type": "string"
  27097. },
  27098. "trademode": {
  27099. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27100. "type": "integer"
  27101. },
  27102. "tradeqty": {
  27103. "description": "成交数量",
  27104. "type": "integer"
  27105. },
  27106. "vendorname1": {
  27107. "description": "预售商品供应商名称",
  27108. "type": "string"
  27109. },
  27110. "vendorname2": {
  27111. "description": "挂牌商品供应商名称",
  27112. "type": "string"
  27113. }
  27114. }
  27115. },
  27116. "models.Loginaccount": {
  27117. "type": "object",
  27118. "required": [
  27119. "loginid"
  27120. ],
  27121. "properties": {
  27122. "accountname": {
  27123. "description": "账户名称",
  27124. "type": "string"
  27125. },
  27126. "canoutin": {
  27127. "description": "是否可出入金 - 0:不可 1:可",
  27128. "type": "integer"
  27129. },
  27130. "clientroleid": {
  27131. "description": "终端角色ID",
  27132. "type": "integer"
  27133. },
  27134. "haslogined": {
  27135. "description": "是否已登录 - 0:未登录 1:已登录",
  27136. "type": "integer"
  27137. },
  27138. "hasupdatedpwd": {
  27139. "description": "是否已更改密码 - 0:未修改 1:已修改",
  27140. "type": "integer"
  27141. },
  27142. "lastloginip": {
  27143. "description": "最新登录地址",
  27144. "type": "string"
  27145. },
  27146. "lastloginmode": {
  27147. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  27148. "type": "integer"
  27149. },
  27150. "lastloginremark": {
  27151. "description": "最新登录描述",
  27152. "type": "string"
  27153. },
  27154. "lastlogintime": {
  27155. "description": "最新登录时间",
  27156. "type": "string"
  27157. },
  27158. "logincode": {
  27159. "description": "登录代码",
  27160. "type": "string"
  27161. },
  27162. "loginfailnum": {
  27163. "description": "连续登录失败次数(登录成功时清零)",
  27164. "type": "integer"
  27165. },
  27166. "loginid": {
  27167. "description": "登陆账号",
  27168. "type": "integer"
  27169. },
  27170. "loginport": {
  27171. "description": "最新登录端口",
  27172. "type": "integer"
  27173. },
  27174. "loginstatus": {
  27175. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  27176. "type": "integer"
  27177. },
  27178. "loginusertype": {
  27179. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  27180. "type": "integer"
  27181. },
  27182. "mobile": {
  27183. "description": "手机号码(加密存储)",
  27184. "type": "string"
  27185. },
  27186. "modifierid": {
  27187. "description": "修改人",
  27188. "type": "integer"
  27189. },
  27190. "modifysrc": {
  27191. "description": "审核来源 - 1:管理端 2:终端",
  27192. "type": "integer"
  27193. },
  27194. "modifytime": {
  27195. "description": "修改时间",
  27196. "type": "string"
  27197. },
  27198. "password": {
  27199. "description": "登陆密码",
  27200. "type": "string"
  27201. },
  27202. "pwdwrongcount": {
  27203. "description": "密码错误次数",
  27204. "type": "integer"
  27205. },
  27206. "relateduserid": {
  27207. "description": "关联用户ID(机构)",
  27208. "type": "integer"
  27209. },
  27210. "taaccountrighttype": {
  27211. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  27212. "type": "integer"
  27213. },
  27214. "unfreezetime": {
  27215. "description": "账户解冻时间",
  27216. "type": "string"
  27217. },
  27218. "userid": {
  27219. "description": "用户ID",
  27220. "type": "integer"
  27221. }
  27222. }
  27223. },
  27224. "models.MainAccountInfo": {
  27225. "type": "object",
  27226. "properties": {
  27227. "accountid": {
  27228. "description": "账号id",
  27229. "type": "integer"
  27230. },
  27231. "accountname": {
  27232. "description": "账号名称(taaccount表中的名称)",
  27233. "type": "string"
  27234. },
  27235. "appid": {
  27236. "description": "AppID",
  27237. "type": "string"
  27238. },
  27239. "authcode": {
  27240. "description": "授权码",
  27241. "type": "string"
  27242. },
  27243. "brokerid": {
  27244. "description": "经纪商id",
  27245. "type": "string"
  27246. },
  27247. "fcid": {
  27248. "description": "期货公司id",
  27249. "type": "integer"
  27250. },
  27251. "fcname": {
  27252. "description": "期货公司代码",
  27253. "type": "string"
  27254. },
  27255. "hedgeaccountcode": {
  27256. "description": "外部账号代码(主账号登录代码)",
  27257. "type": "string"
  27258. },
  27259. "hedgeaccountpwd": {
  27260. "description": "密码",
  27261. "type": "string"
  27262. },
  27263. "ismain": {
  27264. "description": "是否主账号",
  27265. "type": "integer"
  27266. },
  27267. "relateduserid": {
  27268. "description": "关联用户id",
  27269. "type": "integer"
  27270. },
  27271. "userid": {
  27272. "description": "关联用户id",
  27273. "type": "integer"
  27274. }
  27275. }
  27276. },
  27277. "models.Market": {
  27278. "type": "object",
  27279. "required": [
  27280. "marketid",
  27281. "marketstatus",
  27282. "openmethod",
  27283. "reckonpricealgorithm",
  27284. "trademode",
  27285. "tradeproperty"
  27286. ],
  27287. "properties": {
  27288. "auctionwrtype": {
  27289. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  27290. "type": "integer"
  27291. },
  27292. "canacceptquote": {
  27293. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  27294. "type": "integer"
  27295. },
  27296. "cangoodsexercise": {
  27297. "description": "[期权]是否可现货行权- 0:否 1:是",
  27298. "type": "integer"
  27299. },
  27300. "cangoodsexercisetype": {
  27301. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  27302. "type": "integer"
  27303. },
  27304. "canmanualquotestrike": {
  27305. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  27306. "type": "integer"
  27307. },
  27308. "canmutistage": {
  27309. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  27310. "type": "integer"
  27311. },
  27312. "canpreexercise": {
  27313. "description": "[期权]是否可预申报- 0:否 1:是",
  27314. "type": "integer"
  27315. },
  27316. "clearinterval": {
  27317. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  27318. "type": "integer"
  27319. },
  27320. "contracttmp": {
  27321. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  27322. "type": "string"
  27323. },
  27324. "exchareaid": {
  27325. "description": "所属交易所,可以没有",
  27326. "type": "integer"
  27327. },
  27328. "goodstype": {
  27329. "description": "商品类型 - 1:交易商品 2:仓单商品",
  27330. "type": "integer"
  27331. },
  27332. "hasrebate": {
  27333. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  27334. "type": "integer"
  27335. },
  27336. "hastradecredit": {
  27337. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  27338. "type": "integer"
  27339. },
  27340. "haswr": {
  27341. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  27342. "type": "integer"
  27343. },
  27344. "isdeductmargin": {
  27345. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  27346. "type": "integer"
  27347. },
  27348. "isrecordsource": {
  27349. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  27350. "type": "integer"
  27351. },
  27352. "isreleasemargin": {
  27353. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  27354. "type": "integer"
  27355. },
  27356. "marginformula": {
  27357. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27358. "type": "integer"
  27359. },
  27360. "marginformula2": {
  27361. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27362. "type": "integer"
  27363. },
  27364. "marketid": {
  27365. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  27366. "type": "integer"
  27367. },
  27368. "marketname": {
  27369. "description": "市场名称",
  27370. "type": "string"
  27371. },
  27372. "marketserviceid": {
  27373. "description": "市场服务ID",
  27374. "type": "integer"
  27375. },
  27376. "marketstatus": {
  27377. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  27378. "type": "integer"
  27379. },
  27380. "markettype": {
  27381. "description": "市场类型- 1:非交易服务 2:交易服务",
  27382. "type": "integer"
  27383. },
  27384. "matchermode": {
  27385. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  27386. "type": "integer"
  27387. },
  27388. "openmethod": {
  27389. "description": "开盘模式 - 0 自动 1手动",
  27390. "type": "integer"
  27391. },
  27392. "otcuserid": {
  27393. "description": "场外期权做市商[场外期权]",
  27394. "type": "integer"
  27395. },
  27396. "outersynctime": {
  27397. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  27398. "type": "string"
  27399. },
  27400. "pendingflag": {
  27401. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  27402. "type": "integer"
  27403. },
  27404. "pendingtime": {
  27405. "description": "待开市时间[通道交易-对冲](HH:mm)",
  27406. "type": "string"
  27407. },
  27408. "performancetempid": {
  27409. "description": "履约计划模板ID - 作废",
  27410. "type": "integer"
  27411. },
  27412. "premiumquotemode": {
  27413. "description": "权利金报价方式 - 1:自动 2:手动",
  27414. "type": "integer"
  27415. },
  27416. "rebateratio": {
  27417. "description": "返利比率[竞价式]",
  27418. "type": "number"
  27419. },
  27420. "reckonorder": {
  27421. "description": "结算顺序",
  27422. "type": "integer"
  27423. },
  27424. "reckonpricealgorithm": {
  27425. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  27426. "type": "integer"
  27427. },
  27428. "reckonpriceparam": {
  27429. "description": "结算价参数",
  27430. "type": "integer"
  27431. },
  27432. "reckontime": {
  27433. "description": "结算时间[通道交易-对冲](HH:mm)",
  27434. "type": "string"
  27435. },
  27436. "roleprioritytype": {
  27437. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  27438. "type": "integer"
  27439. },
  27440. "selllistingauditflag": {
  27441. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  27442. "type": "integer"
  27443. },
  27444. "trademarkettype": {
  27445. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  27446. "type": "integer"
  27447. },
  27448. "trademode": {
  27449. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27450. "type": "integer"
  27451. },
  27452. "tradeproperty": {
  27453. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  27454. "type": "integer"
  27455. },
  27456. "tradetype": {
  27457. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  27458. "type": "integer"
  27459. }
  27460. }
  27461. },
  27462. "models.Marketrun": {
  27463. "type": "object",
  27464. "required": [
  27465. "marketid",
  27466. "nexttradedate",
  27467. "reckonflag",
  27468. "runstatus",
  27469. "tradedate",
  27470. "tradedate2"
  27471. ],
  27472. "properties": {
  27473. "afternexttradedate": {
  27474. "description": "下下交易日",
  27475. "type": "string"
  27476. },
  27477. "clearquoteflag": {
  27478. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  27479. "type": "integer"
  27480. },
  27481. "lastreckondate": {
  27482. "description": "最新交易日(结算成功)",
  27483. "type": "string"
  27484. },
  27485. "machinedate": {
  27486. "description": "机器时间",
  27487. "type": "string"
  27488. },
  27489. "manualflag": {
  27490. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  27491. "type": "integer"
  27492. },
  27493. "marketid": {
  27494. "description": "市场ID",
  27495. "type": "integer"
  27496. },
  27497. "nexttradedate": {
  27498. "description": "下一交易日",
  27499. "type": "string"
  27500. },
  27501. "pretradedate": {
  27502. "description": "上一交易日",
  27503. "type": "string"
  27504. },
  27505. "reckonflag": {
  27506. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  27507. "type": "integer"
  27508. },
  27509. "runstatus": {
  27510. "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.今日免清算",
  27511. "type": "integer"
  27512. },
  27513. "sectionid": {
  27514. "description": "时间段号[多时段时用]",
  27515. "type": "integer"
  27516. },
  27517. "tradedate": {
  27518. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  27519. "type": "string"
  27520. },
  27521. "tradedate2": {
  27522. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  27523. "type": "string"
  27524. },
  27525. "updatetime": {
  27526. "description": "更新时间",
  27527. "type": "string"
  27528. }
  27529. }
  27530. },
  27531. "models.Messageboard": {
  27532. "type": "object",
  27533. "required": [
  27534. "messageboardid"
  27535. ],
  27536. "properties": {
  27537. "contactnum": {
  27538. "description": "联系电话",
  27539. "type": "string"
  27540. },
  27541. "createtime": {
  27542. "description": "创建时间",
  27543. "type": "string"
  27544. },
  27545. "message": {
  27546. "description": "留言信息",
  27547. "type": "string"
  27548. },
  27549. "messageboardid": {
  27550. "description": "留言簿ID(SEQ_MessageBoard)",
  27551. "type": "integer"
  27552. },
  27553. "userid": {
  27554. "description": "用户ID",
  27555. "type": "integer"
  27556. }
  27557. }
  27558. },
  27559. "models.MyCoupon": {
  27560. "type": "object",
  27561. "required": [
  27562. "accountid",
  27563. "coupontypeid"
  27564. ],
  27565. "properties": {
  27566. "accountid": {
  27567. "description": "资金账户ID",
  27568. "type": "integer"
  27569. },
  27570. "areauserid": {
  27571. "description": "所属机构",
  27572. "type": "integer"
  27573. },
  27574. "conditionvalue": {
  27575. "description": "条件阈值(可为0)",
  27576. "type": "number"
  27577. },
  27578. "couponcategroy": {
  27579. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  27580. "type": "integer"
  27581. },
  27582. "couponname": {
  27583. "description": "优惠券名称",
  27584. "type": "string"
  27585. },
  27586. "coupontypeid": {
  27587. "description": "优惠券类型ID",
  27588. "type": "string"
  27589. },
  27590. "couponvalue": {
  27591. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27592. "type": "number"
  27593. },
  27594. "curfreezeqty": {
  27595. "description": "期末冻结数量",
  27596. "type": "integer"
  27597. },
  27598. "curqty": {
  27599. "description": "期末数量",
  27600. "type": "integer"
  27601. },
  27602. "isgeneral": {
  27603. "description": "是否通用券 - 0:否 1:是",
  27604. "type": "integer"
  27605. },
  27606. "isunusable": {
  27607. "description": "是否不可用",
  27608. "type": "boolean"
  27609. },
  27610. "limitedflag": {
  27611. "description": "是否指定商品 - 0:不限 1:限制",
  27612. "type": "integer"
  27613. },
  27614. "limitedgoodsids": {
  27615. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  27616. "type": "string"
  27617. },
  27618. "orifreezeqty": {
  27619. "description": "期初冻结数量",
  27620. "type": "integer"
  27621. },
  27622. "oriqty": {
  27623. "description": "期初数量",
  27624. "type": "integer"
  27625. },
  27626. "reasontype": {
  27627. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  27628. "type": "integer"
  27629. },
  27630. "todaydecrease": {
  27631. "description": "今日减少",
  27632. "type": "integer"
  27633. },
  27634. "todayincrease": {
  27635. "description": "今日增加",
  27636. "type": "integer"
  27637. },
  27638. "userid": {
  27639. "description": "用户ID",
  27640. "type": "integer"
  27641. },
  27642. "userscope": {
  27643. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  27644. "type": "string"
  27645. }
  27646. }
  27647. },
  27648. "models.MyCouponHold": {
  27649. "type": "object",
  27650. "required": [
  27651. "couponholdid"
  27652. ],
  27653. "properties": {
  27654. "accountid": {
  27655. "description": "资金账户ID",
  27656. "type": "integer"
  27657. },
  27658. "conditionvalue": {
  27659. "description": "条件阈值(可为0)",
  27660. "type": "number"
  27661. },
  27662. "couponcategroy": {
  27663. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  27664. "type": "integer"
  27665. },
  27666. "couponholdid": {
  27667. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  27668. "type": "string"
  27669. },
  27670. "couponname": {
  27671. "description": "优惠券名称",
  27672. "type": "string"
  27673. },
  27674. "coupontypeid": {
  27675. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  27676. "type": "string"
  27677. },
  27678. "couponvalue": {
  27679. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27680. "type": "number"
  27681. },
  27682. "createtime": {
  27683. "description": "创建时间",
  27684. "type": "string"
  27685. },
  27686. "enddate": {
  27687. "description": "结束日期",
  27688. "type": "string"
  27689. },
  27690. "giveapplyid": {
  27691. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  27692. "type": "integer"
  27693. },
  27694. "holdstatus": {
  27695. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  27696. "type": "integer"
  27697. },
  27698. "isgeneral": {
  27699. "description": "是否通用券 - 0:否 1:是",
  27700. "type": "integer"
  27701. },
  27702. "limitedflag": {
  27703. "description": "是否指定商品 - 0:不限 1:限制",
  27704. "type": "integer"
  27705. },
  27706. "limitedgoodsids": {
  27707. "description": "指定商品IDs[逗号分隔]",
  27708. "type": "string"
  27709. },
  27710. "qty": {
  27711. "description": "数量(按1平铺)",
  27712. "type": "integer"
  27713. },
  27714. "startdate": {
  27715. "description": "开始日期",
  27716. "type": "string"
  27717. },
  27718. "userid": {
  27719. "description": "用户ID",
  27720. "type": "integer"
  27721. },
  27722. "userscope": {
  27723. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  27724. "type": "string"
  27725. }
  27726. }
  27727. },
  27728. "models.MyUsedCoupon": {
  27729. "type": "object",
  27730. "required": [
  27731. "coupontypeid",
  27732. "orderid"
  27733. ],
  27734. "properties": {
  27735. "accountid": {
  27736. "description": "资金账户ID(买方)",
  27737. "type": "integer"
  27738. },
  27739. "conditionvalue": {
  27740. "description": "条件阈值(可为0)",
  27741. "type": "number"
  27742. },
  27743. "couponcategroy": {
  27744. "description": "种类 - 1:现金券 2:折扣券",
  27745. "type": "integer"
  27746. },
  27747. "couponname": {
  27748. "description": "优惠券名称",
  27749. "type": "string"
  27750. },
  27751. "coupontypeid": {
  27752. "description": "优惠券类型ID(买方)",
  27753. "type": "string"
  27754. },
  27755. "couponvalue": {
  27756. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  27757. "type": "number"
  27758. },
  27759. "createtime": {
  27760. "description": "创建时间",
  27761. "type": "string"
  27762. },
  27763. "goodsid": {
  27764. "description": "商品ID",
  27765. "type": "integer"
  27766. },
  27767. "handlestatus": {
  27768. "description": "处理状态",
  27769. "type": "integer"
  27770. },
  27771. "marketid": {
  27772. "description": "市场ID",
  27773. "type": "integer"
  27774. },
  27775. "offamount": {
  27776. "description": "优惠金额",
  27777. "type": "number"
  27778. },
  27779. "orderid": {
  27780. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27781. "type": "string"
  27782. },
  27783. "sellaccountid": {
  27784. "description": "资金账户ID(卖方)",
  27785. "type": "integer"
  27786. },
  27787. "tradeamount": {
  27788. "description": "成交金额",
  27789. "type": "number"
  27790. },
  27791. "tradeid": {
  27792. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27793. "type": "string"
  27794. },
  27795. "usedqty": {
  27796. "description": "使用数量",
  27797. "type": "integer"
  27798. }
  27799. }
  27800. },
  27801. "models.OperationPrimaryMenu": {
  27802. "type": "object",
  27803. "properties": {
  27804. "Children": {
  27805. "description": "二级功能菜单",
  27806. "type": "array",
  27807. "items": {
  27808. "$ref": "#/definitions/models.OperationSecondaryMenu"
  27809. }
  27810. },
  27811. "Key": {
  27812. "description": "菜单KEY",
  27813. "type": "string"
  27814. },
  27815. "Label": {
  27816. "description": "菜单标题",
  27817. "type": "string"
  27818. }
  27819. }
  27820. },
  27821. "models.OperationSecondaryMenu": {
  27822. "type": "object",
  27823. "properties": {
  27824. "Key": {
  27825. "description": "菜单KEY",
  27826. "type": "string"
  27827. },
  27828. "Label": {
  27829. "description": "菜单标题",
  27830. "type": "string"
  27831. },
  27832. "TabList": {
  27833. "description": "三级功能菜单",
  27834. "type": "array",
  27835. "items": {
  27836. "$ref": "#/definitions/models.OperationTabMenu"
  27837. }
  27838. }
  27839. }
  27840. },
  27841. "models.OperationTabMenu": {
  27842. "type": "object",
  27843. "properties": {
  27844. "Key": {
  27845. "description": "菜单KEY",
  27846. "type": "string"
  27847. },
  27848. "Label": {
  27849. "description": "菜单标题",
  27850. "type": "string"
  27851. }
  27852. }
  27853. },
  27854. "models.QhjAccountOutInApply": {
  27855. "type": "object",
  27856. "properties": {
  27857. "accountcode": {
  27858. "description": "资金账号",
  27859. "type": "string"
  27860. },
  27861. "accountname": {
  27862. "description": "用户名称(名称)",
  27863. "type": "string"
  27864. },
  27865. "accountpwd": {
  27866. "description": "资金密码",
  27867. "type": "string"
  27868. },
  27869. "accountticket": {
  27870. "description": "最新账户服务流水号",
  27871. "type": "string"
  27872. },
  27873. "amount": {
  27874. "description": "金额",
  27875. "type": "number"
  27876. },
  27877. "applyremark": {
  27878. "description": "申请备注",
  27879. "type": "string"
  27880. },
  27881. "applystatus": {
  27882. "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: 复审通过,账户冻结金额检查中;",
  27883. "type": "integer"
  27884. },
  27885. "auditid": {
  27886. "description": "审核人",
  27887. "type": "integer"
  27888. },
  27889. "audittime": {
  27890. "description": "审核时间",
  27891. "type": "string"
  27892. },
  27893. "bank_apply_ticket": {
  27894. "description": "银行申请流水",
  27895. "type": "string"
  27896. },
  27897. "bankaccountname": {
  27898. "description": "银行账户名",
  27899. "type": "string"
  27900. },
  27901. "bankaccountno": {
  27902. "description": "银行卡号",
  27903. "type": "string"
  27904. },
  27905. "bankid": {
  27906. "description": "银行编号",
  27907. "type": "string"
  27908. },
  27909. "bankticket": {
  27910. "description": "银行流水",
  27911. "type": "string"
  27912. },
  27913. "branchbankid": {
  27914. "description": "银行支行号",
  27915. "type": "string"
  27916. },
  27917. "branchbankname": {
  27918. "description": "银行支行名称",
  27919. "type": "string"
  27920. },
  27921. "capamountout": {
  27922. "description": "出金(劣后本金) - 外部子账户",
  27923. "type": "number"
  27924. },
  27925. "certificatephotourl": {
  27926. "description": "凭证地址",
  27927. "type": "string"
  27928. },
  27929. "charge": {
  27930. "description": "手续费",
  27931. "type": "number"
  27932. },
  27933. "checkerrorflag": {
  27934. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27935. "type": "integer"
  27936. },
  27937. "currency": {
  27938. "description": "币种",
  27939. "type": "string"
  27940. },
  27941. "cusbankid": {
  27942. "description": "托管银行编号",
  27943. "type": "string"
  27944. },
  27945. "exchticket": {
  27946. "description": "银行服务流水号",
  27947. "type": "string"
  27948. },
  27949. "executetype": {
  27950. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27951. "type": "integer"
  27952. },
  27953. "extendinfo": {
  27954. "description": "扩展信息",
  27955. "type": "string"
  27956. },
  27957. "extoperateid": {
  27958. "description": "交易服务流水号",
  27959. "type": "integer"
  27960. },
  27961. "infamount": {
  27962. "description": "劣后金额(自有)",
  27963. "type": "number"
  27964. },
  27965. "logincode": {
  27966. "description": "登录账号(账号)",
  27967. "type": "string"
  27968. },
  27969. "netaddr": {
  27970. "description": "调转网址",
  27971. "type": "string"
  27972. },
  27973. "priamount": {
  27974. "description": "优先金额(授信)",
  27975. "type": "number"
  27976. },
  27977. "reauditid": {
  27978. "description": "复审人",
  27979. "type": "integer"
  27980. },
  27981. "reauditremark": {
  27982. "description": "复审备注",
  27983. "type": "string"
  27984. },
  27985. "reaudittime": {
  27986. "description": "复审时间",
  27987. "type": "string"
  27988. },
  27989. "relatedorderid": {
  27990. "description": "三方关联ID",
  27991. "type": "string"
  27992. },
  27993. "remark": {
  27994. "description": "备注",
  27995. "type": "string"
  27996. },
  27997. "remark2": {
  27998. "description": "备注(失败原因)",
  27999. "type": "string"
  28000. },
  28001. "soucreamount": {
  28002. "description": "原始出入金金额",
  28003. "type": "number"
  28004. },
  28005. "soucrecurrencyid": {
  28006. "description": "原始出入金币种",
  28007. "type": "integer"
  28008. },
  28009. "tradedate": {
  28010. "description": "交易日(yyyyMMdd)",
  28011. "type": "string"
  28012. },
  28013. "updatetime": {
  28014. "description": "更新时间(申请时间)",
  28015. "type": "string"
  28016. },
  28017. "userid": {
  28018. "description": "用户id",
  28019. "type": "integer"
  28020. },
  28021. "userinfotype": {
  28022. "description": "账户类型 1-个人 2-企业",
  28023. "type": "integer"
  28024. }
  28025. }
  28026. },
  28027. "models.QhjAgreementChangeLog": {
  28028. "type": "object",
  28029. "properties": {
  28030. "agreementcontent": {
  28031. "description": "协议内容",
  28032. "type": "string"
  28033. },
  28034. "agreementfrequency": {
  28035. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28036. "type": "integer"
  28037. },
  28038. "agreementid": {
  28039. "description": "协议ID",
  28040. "type": "integer"
  28041. },
  28042. "agreementname": {
  28043. "description": "协议名称",
  28044. "type": "string"
  28045. },
  28046. "agreementno": {
  28047. "description": "协议编号",
  28048. "type": "string"
  28049. },
  28050. "agreementtype": {
  28051. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28052. "type": "integer"
  28053. },
  28054. "agreementversion": {
  28055. "description": "协议版本号",
  28056. "type": "integer"
  28057. },
  28058. "logid": {
  28059. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  28060. "type": "integer"
  28061. },
  28062. "reviserid": {
  28063. "description": "修改人",
  28064. "type": "integer"
  28065. },
  28066. "revisersrc": {
  28067. "description": "修改来源 - 1:管理端 2:终端",
  28068. "type": "integer"
  28069. },
  28070. "updatetime": {
  28071. "description": "更新时间",
  28072. "type": "string"
  28073. }
  28074. }
  28075. },
  28076. "models.QhjAgreementConfig": {
  28077. "type": "object",
  28078. "properties": {
  28079. "agreementcontent": {
  28080. "description": "协议内容",
  28081. "type": "string"
  28082. },
  28083. "agreementfrequency": {
  28084. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28085. "type": "integer"
  28086. },
  28087. "agreementid": {
  28088. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  28089. "type": "integer"
  28090. },
  28091. "agreementname": {
  28092. "description": "协议名称",
  28093. "type": "string"
  28094. },
  28095. "agreementno": {
  28096. "description": "协议编号",
  28097. "type": "string"
  28098. },
  28099. "agreementtype": {
  28100. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28101. "type": "integer"
  28102. },
  28103. "agreementversion": {
  28104. "description": "协议版本号(从1开始每次修改加1)",
  28105. "type": "integer"
  28106. },
  28107. "createtime": {
  28108. "description": "创建时间",
  28109. "type": "string"
  28110. },
  28111. "creatorid": {
  28112. "description": "创建人",
  28113. "type": "integer"
  28114. },
  28115. "creatorsrc": {
  28116. "description": "创建来源 - 1:管理端 2:终端",
  28117. "type": "integer"
  28118. },
  28119. "isvalid": {
  28120. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  28121. "type": "integer"
  28122. },
  28123. "reviserid": {
  28124. "description": "修改人",
  28125. "type": "integer"
  28126. },
  28127. "revisersrc": {
  28128. "description": "修改来源 - 1:管理端 2:终端",
  28129. "type": "integer"
  28130. },
  28131. "updatetime": {
  28132. "description": "更新时间",
  28133. "type": "string"
  28134. }
  28135. }
  28136. },
  28137. "models.QhjAreaFinanceConfig": {
  28138. "type": "object",
  28139. "properties": {
  28140. "additionalratio": {
  28141. "description": "追加款比例",
  28142. "type": "number"
  28143. },
  28144. "advanceratio": {
  28145. "description": "预付款比例",
  28146. "type": "number"
  28147. },
  28148. "alarmratio": {
  28149. "description": "告警比例",
  28150. "type": "number"
  28151. },
  28152. "consumptiondirectreward": {
  28153. "description": "消费直推奖励值",
  28154. "type": "number"
  28155. },
  28156. "consumptionenabled": {
  28157. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  28158. "type": "integer"
  28159. },
  28160. "consumptionindirectreward": {
  28161. "description": "消费间推奖励值",
  28162. "type": "number"
  28163. },
  28164. "consumptionmodel": {
  28165. "description": "消费奖励方式 - 1:比率 2:固定",
  28166. "type": "integer"
  28167. },
  28168. "customerservicenum": {
  28169. "description": "客服电话",
  28170. "type": "string"
  28171. },
  28172. "dayinterestrate": {
  28173. "description": "日利率",
  28174. "type": "number"
  28175. },
  28176. "disableconsumptiontips": {
  28177. "description": "关闭消费奖励提示",
  28178. "type": "string"
  28179. },
  28180. "modifierid": {
  28181. "description": "修改人ID",
  28182. "type": "integer"
  28183. },
  28184. "modifysrc": {
  28185. "description": "审核来源 - 1:管理端 2:终端",
  28186. "type": "integer"
  28187. },
  28188. "modifytime": {
  28189. "description": "修改时间",
  28190. "type": "string"
  28191. },
  28192. "promotionvalue": {
  28193. "description": "推广奖励值(固定)",
  28194. "type": "number"
  28195. },
  28196. "scoreconfigvalue1": {
  28197. "description": "提货积分配置1",
  28198. "type": "integer"
  28199. },
  28200. "scoreconfigvalue2": {
  28201. "description": "提货积分配置2",
  28202. "type": "integer"
  28203. },
  28204. "userid": {
  28205. "description": "机构用户ID其他做市关系,都设置为 1",
  28206. "type": "integer"
  28207. },
  28208. "username": {
  28209. "description": "用户名称",
  28210. "type": "string"
  28211. }
  28212. }
  28213. },
  28214. "models.QhjBankAccountSign": {
  28215. "type": "object",
  28216. "properties": {
  28217. "accountcode": {
  28218. "description": "资金账号",
  28219. "type": "string"
  28220. },
  28221. "accountname": {
  28222. "description": "资金账号对应的账号名(UserName)",
  28223. "type": "string"
  28224. },
  28225. "accountname2": {
  28226. "description": "资金账号对应的账号名(UserName) - 密文",
  28227. "type": "string"
  28228. },
  28229. "accounttype": {
  28230. "description": "账户类型(UserType)",
  28231. "type": "integer"
  28232. },
  28233. "applicationtime": {
  28234. "description": "最后一次更新的时间",
  28235. "type": "string"
  28236. },
  28237. "applyexchticket": {
  28238. "description": "申请流水",
  28239. "type": "string"
  28240. },
  28241. "auditid": {
  28242. "description": "审核人",
  28243. "type": "integer"
  28244. },
  28245. "audittime": {
  28246. "description": "审核时间",
  28247. "type": "string"
  28248. },
  28249. "bankaccountname": {
  28250. "description": "签约银行卡账号名",
  28251. "type": "string"
  28252. },
  28253. "bankaccountname2": {
  28254. "description": "签约银行卡账号名 - 密文",
  28255. "type": "string"
  28256. },
  28257. "bankaccountno": {
  28258. "description": "银行卡号",
  28259. "type": "string"
  28260. },
  28261. "bankaccountno2": {
  28262. "description": "银行卡号 - 密文",
  28263. "type": "string"
  28264. },
  28265. "bankaccounttype": {
  28266. "description": "银行账户类型 - 1-对私; 2-对公",
  28267. "type": "integer"
  28268. },
  28269. "bankcardtype": {
  28270. "description": "银行卡类型",
  28271. "type": "integer"
  28272. },
  28273. "bankchildaccount": {
  28274. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  28275. "type": "string"
  28276. },
  28277. "bankcity": {
  28278. "description": "开户行城市",
  28279. "type": "string"
  28280. },
  28281. "bankid": {
  28282. "description": "签约银行ID",
  28283. "type": "string"
  28284. },
  28285. "bankname": {
  28286. "description": "签约银行名称",
  28287. "type": "string"
  28288. },
  28289. "bankprovince": {
  28290. "description": "开户行省份",
  28291. "type": "string"
  28292. },
  28293. "branchbankid": {
  28294. "description": "签约银行支行号",
  28295. "type": "string"
  28296. },
  28297. "branchbankname": {
  28298. "description": "签约银行支行名称",
  28299. "type": "string"
  28300. },
  28301. "cardno": {
  28302. "description": "证件号码",
  28303. "type": "string"
  28304. },
  28305. "cardno2": {
  28306. "description": "证件号码 - 密文",
  28307. "type": "string"
  28308. },
  28309. "cardtype": {
  28310. "description": "证件类型",
  28311. "type": "string"
  28312. },
  28313. "currency": {
  28314. "description": "币种",
  28315. "type": "string"
  28316. },
  28317. "cusbankid": {
  28318. "description": "托管银行编号",
  28319. "type": "string"
  28320. },
  28321. "direct": {
  28322. "description": "方向(可以判断那方先发起的签约)",
  28323. "type": "integer"
  28324. },
  28325. "exchticket": {
  28326. "description": "最后一次签约成功的流水号",
  28327. "type": "string"
  28328. },
  28329. "extendinfo": {
  28330. "description": "扩展信息(JSON字符串)",
  28331. "type": "string"
  28332. },
  28333. "mobilephone": {
  28334. "description": "手机号",
  28335. "type": "string"
  28336. },
  28337. "mobilephone2": {
  28338. "description": "手机号 - 密文",
  28339. "type": "string"
  28340. },
  28341. "netaddr": {
  28342. "description": "调转网址",
  28343. "type": "string"
  28344. },
  28345. "relateduserid": {
  28346. "description": "关联使用者userid",
  28347. "type": "integer"
  28348. },
  28349. "signstatus": {
  28350. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  28351. "type": "integer"
  28352. },
  28353. "updatetime": {
  28354. "description": "更新时间(签解约更新时间)",
  28355. "type": "string"
  28356. }
  28357. }
  28358. },
  28359. "models.QhjBankInfo": {
  28360. "type": "object",
  28361. "properties": {
  28362. "bankid": {
  28363. "description": "银行ID",
  28364. "type": "string"
  28365. },
  28366. "bankname": {
  28367. "description": "银行名称",
  28368. "type": "string"
  28369. },
  28370. "clearbankno": {
  28371. "description": "清算系统银行编号",
  28372. "type": "string"
  28373. },
  28374. "orderindex": {
  28375. "description": "排序顺序",
  28376. "type": "integer"
  28377. },
  28378. "status": {
  28379. "description": "状态 - 0:正常 1:注销",
  28380. "type": "integer"
  28381. }
  28382. }
  28383. },
  28384. "models.QhjBrokerApply": {
  28385. "type": "object",
  28386. "properties": {
  28387. "applicantid": {
  28388. "description": "申请人",
  28389. "type": "integer"
  28390. },
  28391. "applysrc": {
  28392. "description": "申请来源 - 1:管理端 2:终端",
  28393. "type": "integer"
  28394. },
  28395. "applystatus": {
  28396. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  28397. "type": "integer"
  28398. },
  28399. "applytime": {
  28400. "description": "申请时间",
  28401. "type": "string"
  28402. },
  28403. "auditorid": {
  28404. "description": "审核人",
  28405. "type": "integer"
  28406. },
  28407. "auditremark": {
  28408. "description": "审核备注",
  28409. "type": "string"
  28410. },
  28411. "auditsrc": {
  28412. "description": "审核来源 - 1:管理端 2:终端",
  28413. "type": "integer"
  28414. },
  28415. "audittime": {
  28416. "description": "审核时间",
  28417. "type": "string"
  28418. },
  28419. "audittradedate": {
  28420. "description": "审核交易日(yyyyMMdd)",
  28421. "type": "string"
  28422. },
  28423. "brokerapplyid": {
  28424. "description": "申请ID(SEQ_BROKERAPPLY)",
  28425. "type": "integer"
  28426. },
  28427. "cardbackphotourl": {
  28428. "description": "证件背面图片地址",
  28429. "type": "string"
  28430. },
  28431. "cardfrontphotourl": {
  28432. "description": "证件正面图片地址",
  28433. "type": "string"
  28434. },
  28435. "cardnum": {
  28436. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  28437. "type": "string"
  28438. },
  28439. "customername": {
  28440. "description": "姓名",
  28441. "type": "string"
  28442. },
  28443. "logincode": {
  28444. "description": "登录代码",
  28445. "type": "string"
  28446. },
  28447. "mobile": {
  28448. "description": "手机号码",
  28449. "type": "string"
  28450. },
  28451. "parentuserid": {
  28452. "description": "所属机构id",
  28453. "type": "integer"
  28454. },
  28455. "parentusername": {
  28456. "description": "所属机构名称",
  28457. "type": "string"
  28458. },
  28459. "refereeuserid": {
  28460. "description": "推荐人id(经纪人)",
  28461. "type": "integer"
  28462. },
  28463. "refernum": {
  28464. "description": "推荐码",
  28465. "type": "string"
  28466. },
  28467. "remark": {
  28468. "description": "备注",
  28469. "type": "string"
  28470. },
  28471. "subarealevelpath": {
  28472. "description": "层级路径",
  28473. "type": "string"
  28474. },
  28475. "tradedate": {
  28476. "description": "交易日(yyyyMMdd)",
  28477. "type": "string"
  28478. },
  28479. "userid": {
  28480. "description": "申请人用户ID",
  28481. "type": "integer"
  28482. },
  28483. "userinfotype": {
  28484. "description": "用户类型 1-个人 2-企业",
  28485. "type": "integer"
  28486. },
  28487. "username": {
  28488. "description": "用户名称",
  28489. "type": "string"
  28490. }
  28491. }
  28492. },
  28493. "models.QhjBrokerApplyEx": {
  28494. "type": "object",
  28495. "properties": {
  28496. "applylist": {
  28497. "description": "经纪人申请记录(只返回最新一条)",
  28498. "type": "array",
  28499. "items": {
  28500. "$ref": "#/definitions/models.QhjBrokerApply"
  28501. }
  28502. },
  28503. "canrecommend": {
  28504. "description": "是否经纪人 0-不是 1-是",
  28505. "type": "integer"
  28506. },
  28507. "refernum": {
  28508. "description": "推荐码",
  28509. "type": "string"
  28510. },
  28511. "userid": {
  28512. "description": "用户id",
  28513. "type": "integer"
  28514. },
  28515. "userinfotype": {
  28516. "description": "用户类型 1-个人 2-企业",
  28517. "type": "integer"
  28518. }
  28519. }
  28520. },
  28521. "models.QhjBrokerRewardLog": {
  28522. "type": "object",
  28523. "properties": {
  28524. "accountid": {
  28525. "description": "资金账号ID",
  28526. "type": "integer"
  28527. },
  28528. "createtime": {
  28529. "description": "创建时间(时间)",
  28530. "type": "string"
  28531. },
  28532. "handlestatus": {
  28533. "description": "处理状态",
  28534. "type": "integer"
  28535. },
  28536. "logid": {
  28537. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28538. "type": "string"
  28539. },
  28540. "marketid": {
  28541. "description": "市场ID",
  28542. "type": "integer"
  28543. },
  28544. "mmaccountid": {
  28545. "description": "做市商资金账号ID",
  28546. "type": "string"
  28547. },
  28548. "mmuserid": {
  28549. "description": "做市商用户ID",
  28550. "type": "string"
  28551. },
  28552. "rewardamount": {
  28553. "description": "奖励金额",
  28554. "type": "number"
  28555. },
  28556. "rewardmodel": {
  28557. "description": "消费奖励方式 - 1:比率 2:固定",
  28558. "type": "integer"
  28559. },
  28560. "rewardtype": {
  28561. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  28562. "type": "integer"
  28563. },
  28564. "rewardvalue": {
  28565. "description": "配置奖励值",
  28566. "type": "number"
  28567. },
  28568. "srcamount": {
  28569. "description": "成交金额 [消费奖励] (金额)",
  28570. "type": "number"
  28571. },
  28572. "srcgoodsid": {
  28573. "description": "来源商品ID [消费奖励]",
  28574. "type": "string"
  28575. },
  28576. "srctime": {
  28577. "description": "来源时间 (成交时间) [消费奖励]",
  28578. "type": "string"
  28579. },
  28580. "srctradeid": {
  28581. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  28582. "type": "string"
  28583. },
  28584. "srcuserid": {
  28585. "description": "来源用户ID(推广账户)",
  28586. "type": "string"
  28587. },
  28588. "srcusername": {
  28589. "description": "推广账户名称",
  28590. "type": "string"
  28591. },
  28592. "tradedate": {
  28593. "description": "交易日(yyyyMMdd)",
  28594. "type": "string"
  28595. },
  28596. "userid": {
  28597. "description": "经纪人用户ID",
  28598. "type": "integer"
  28599. }
  28600. }
  28601. },
  28602. "models.QhjContract": {
  28603. "type": "object",
  28604. "properties": {
  28605. "contractconfirmtime": {
  28606. "description": "合同确认时间(时间)",
  28607. "type": "string"
  28608. },
  28609. "currisklevel": {
  28610. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  28611. "type": "integer"
  28612. },
  28613. "decimalplace": {
  28614. "description": "商品报价小数位",
  28615. "type": "integer"
  28616. },
  28617. "enumdicname": {
  28618. "description": "单位名称",
  28619. "type": "string"
  28620. },
  28621. "goodscode": {
  28622. "description": "商品代码",
  28623. "type": "string"
  28624. },
  28625. "goodsid": {
  28626. "description": "商品ID [5:融资单]",
  28627. "type": "integer"
  28628. },
  28629. "goodsname": {
  28630. "description": "商品名称",
  28631. "type": "string"
  28632. },
  28633. "goodunitid": {
  28634. "description": "商品单位id",
  28635. "type": "integer"
  28636. },
  28637. "initmargin": {
  28638. "description": "初始保证金(首付款)",
  28639. "type": "number"
  28640. },
  28641. "lenderamount": {
  28642. "description": "贷款金额(总额|订单总额)",
  28643. "type": "number"
  28644. },
  28645. "marginratio": {
  28646. "description": "保证金比率(首付比例)",
  28647. "type": "number"
  28648. },
  28649. "payamount": {
  28650. "description": "已付(已付货款)",
  28651. "type": "number"
  28652. },
  28653. "reckonrecovermargin": {
  28654. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  28655. "type": "number"
  28656. },
  28657. "recoveredmargin": {
  28658. "description": "已追缴保证金",
  28659. "type": "number"
  28660. },
  28661. "remainamount": {
  28662. "description": "合同剩余金额(融资额)",
  28663. "type": "number"
  28664. },
  28665. "scfcontractid": {
  28666. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28667. "type": "string"
  28668. },
  28669. "scfcontractstatus": {
  28670. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  28671. "type": "integer"
  28672. },
  28673. "scfcontracttype": {
  28674. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  28675. "type": "integer"
  28676. },
  28677. "totalinterest": {
  28678. "description": "已计总利息(利息)",
  28679. "type": "number"
  28680. },
  28681. "tradeprice": {
  28682. "description": "成交价格(成本价格)",
  28683. "type": "number"
  28684. },
  28685. "userid": {
  28686. "description": "用户ID",
  28687. "type": "integer"
  28688. },
  28689. "username": {
  28690. "description": "用户名称",
  28691. "type": "string"
  28692. },
  28693. "wrqty": {
  28694. "description": "仓单数量(数量)",
  28695. "type": "number"
  28696. }
  28697. }
  28698. },
  28699. "models.QhjContractLog": {
  28700. "type": "object",
  28701. "properties": {
  28702. "amount": {
  28703. "description": "支付金额",
  28704. "type": "number"
  28705. },
  28706. "amounttype": {
  28707. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  28708. "type": "integer"
  28709. },
  28710. "logid": {
  28711. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28712. "type": "string"
  28713. },
  28714. "remainamount": {
  28715. "description": "剩余货款",
  28716. "type": "number"
  28717. },
  28718. "scfcontractid": {
  28719. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28720. "type": "integer"
  28721. },
  28722. "updatetime": {
  28723. "description": "更新时间",
  28724. "type": "string"
  28725. }
  28726. }
  28727. },
  28728. "models.QhjCusBankSignBankEx": {
  28729. "type": "object",
  28730. "properties": {
  28731. "banklst": {
  28732. "description": "银行列表",
  28733. "type": "array",
  28734. "items": {
  28735. "$ref": "#/definitions/models.QhjBankInfo"
  28736. }
  28737. },
  28738. "canallot": {
  28739. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  28740. "type": "integer"
  28741. },
  28742. "canallotquery": {
  28743. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  28744. "type": "integer"
  28745. },
  28746. "canbindcard": {
  28747. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  28748. "type": "integer"
  28749. },
  28750. "caninamount": {
  28751. "description": "是否可入金 - 0:不可 1:可以",
  28752. "type": "integer"
  28753. },
  28754. "caninamount2": {
  28755. "description": "是否可入金(网银端) - 0:不可 1:可以",
  28756. "type": "integer"
  28757. },
  28758. "canmodifybankcard": {
  28759. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  28760. "type": "integer"
  28761. },
  28762. "canmodifyphone": {
  28763. "description": "是否可修改手机号 - 0:不可 1:可以",
  28764. "type": "integer"
  28765. },
  28766. "canmodifysigninfo": {
  28767. "description": "是否可修改签约信息 - 0:不可 1:可以",
  28768. "type": "integer"
  28769. },
  28770. "canoutamount": {
  28771. "description": "是否可出金 - 0:不可 1:可以",
  28772. "type": "integer"
  28773. },
  28774. "canoutamount2": {
  28775. "description": "是否可出金(网银端) - 0:不可 1:可以",
  28776. "type": "integer"
  28777. },
  28778. "canrelease": {
  28779. "description": "是否可解约 - 0:不可 1:可以",
  28780. "type": "integer"
  28781. },
  28782. "canrelease2": {
  28783. "description": "是否可解约(网银端) - 0:不可 1:可以",
  28784. "type": "integer"
  28785. },
  28786. "cansign": {
  28787. "description": "是否可签约 - 0:不可 1:可以",
  28788. "type": "integer"
  28789. },
  28790. "cansign2": {
  28791. "description": "是否可签约(网银端) - 0:不可 1:可以",
  28792. "type": "integer"
  28793. },
  28794. "currency": {
  28795. "description": "币种",
  28796. "type": "string"
  28797. },
  28798. "cusbankid": {
  28799. "description": "托管银行编号(对应清算中心TRAN_NO)",
  28800. "type": "string"
  28801. },
  28802. "cusbankname": {
  28803. "description": "银行业务名称",
  28804. "type": "string"
  28805. },
  28806. "cusbankshortname": {
  28807. "description": "银行业务简称",
  28808. "type": "string"
  28809. },
  28810. "exchbankid": {
  28811. "description": "交易所开户银行ID",
  28812. "type": "string"
  28813. },
  28814. "exchpaybankaccname": {
  28815. "description": "交易所支出结算账户户名",
  28816. "type": "string"
  28817. },
  28818. "exchpaybankaccno": {
  28819. "description": "交易所支出结算账户",
  28820. "type": "string"
  28821. },
  28822. "isneedcheck": {
  28823. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  28824. "type": "integer"
  28825. },
  28826. "isneedclear": {
  28827. "description": "是否需要清算 - 0:不需要 1:需要",
  28828. "type": "integer"
  28829. },
  28830. "lastcheckstatus": {
  28831. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  28832. "type": "integer"
  28833. },
  28834. "lastchecktime": {
  28835. "description": "最后对账时间",
  28836. "type": "string"
  28837. },
  28838. "lastclearstatus": {
  28839. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  28840. "type": "integer"
  28841. },
  28842. "lastcleartime": {
  28843. "description": "最后清算时间",
  28844. "type": "string"
  28845. },
  28846. "lastsignintime": {
  28847. "description": "最后签到时间",
  28848. "type": "string"
  28849. },
  28850. "lastsignouttime": {
  28851. "description": "最后签退时间",
  28852. "type": "string"
  28853. },
  28854. "riskinfo": {
  28855. "description": "签约风险提示书",
  28856. "type": "string"
  28857. },
  28858. "signstatus": {
  28859. "description": "当前签到/签退状态 - 1:签到 2:签退",
  28860. "type": "integer"
  28861. },
  28862. "tradedate": {
  28863. "description": "交易日(yyyyMMdd)",
  28864. "type": "string"
  28865. },
  28866. "updatetime": {
  28867. "description": "当前签到/签退更新时间",
  28868. "type": "string"
  28869. }
  28870. }
  28871. },
  28872. "models.QhjCustomer": {
  28873. "type": "object",
  28874. "properties": {
  28875. "address": {
  28876. "description": "通讯地址",
  28877. "type": "string"
  28878. },
  28879. "attachment1": {
  28880. "description": "附件1",
  28881. "type": "string"
  28882. },
  28883. "attachment2": {
  28884. "description": "附件2",
  28885. "type": "string"
  28886. },
  28887. "audittime": {
  28888. "description": "审核时间",
  28889. "type": "string"
  28890. },
  28891. "cardbackphotourl": {
  28892. "description": "证件反面图片地址",
  28893. "type": "string"
  28894. },
  28895. "cardfrontphotourl": {
  28896. "description": "证件正面图片地址",
  28897. "type": "string"
  28898. },
  28899. "cardnum": {
  28900. "description": "证件号码",
  28901. "type": "string"
  28902. },
  28903. "cardtype": {
  28904. "description": "证件类型",
  28905. "type": "integer"
  28906. },
  28907. "cardtypename": {
  28908. "description": "证件类型名称",
  28909. "type": "string"
  28910. },
  28911. "cityid": {
  28912. "description": "市",
  28913. "type": "integer"
  28914. },
  28915. "cityname": {
  28916. "description": "城市名称",
  28917. "type": "string"
  28918. },
  28919. "contactname": {
  28920. "description": "联系人",
  28921. "type": "string"
  28922. },
  28923. "countryid": {
  28924. "description": "国家",
  28925. "type": "integer"
  28926. },
  28927. "countryname": {
  28928. "description": "国家名称",
  28929. "type": "string"
  28930. },
  28931. "createtime": {
  28932. "description": "创建时间",
  28933. "type": "string"
  28934. },
  28935. "customername": {
  28936. "description": "客户名称",
  28937. "type": "string"
  28938. },
  28939. "districtid": {
  28940. "description": "区域",
  28941. "type": "integer"
  28942. },
  28943. "districtname": {
  28944. "description": "地区名称",
  28945. "type": "string"
  28946. },
  28947. "email": {
  28948. "description": "邮件",
  28949. "type": "string"
  28950. },
  28951. "legalpersonname": {
  28952. "description": "法人姓名(企业)",
  28953. "type": "string"
  28954. },
  28955. "logincode": {
  28956. "description": "登录账号(代码)",
  28957. "type": "string"
  28958. },
  28959. "memberuserid": {
  28960. "description": "所属机构ID(所属会员)",
  28961. "type": "integer"
  28962. },
  28963. "memberusername": {
  28964. "description": "所属会员名称",
  28965. "type": "string"
  28966. },
  28967. "mobile": {
  28968. "description": "手机号码",
  28969. "type": "string"
  28970. },
  28971. "modifytime": {
  28972. "description": "修改时间",
  28973. "type": "string"
  28974. },
  28975. "nickname": {
  28976. "description": "昵称",
  28977. "type": "string"
  28978. },
  28979. "parentuserid": {
  28980. "description": "上级机构(所属机构)",
  28981. "type": "integer"
  28982. },
  28983. "parentusername": {
  28984. "description": "所属机构名称",
  28985. "type": "string"
  28986. },
  28987. "provinceid": {
  28988. "description": "省",
  28989. "type": "integer"
  28990. },
  28991. "provincename": {
  28992. "description": "省名称",
  28993. "type": "string"
  28994. },
  28995. "proxystatementurl": {
  28996. "description": "授权委托书",
  28997. "type": "string"
  28998. },
  28999. "remark": {
  29000. "description": "备注",
  29001. "type": "string"
  29002. },
  29003. "status": {
  29004. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  29005. "type": "integer"
  29006. },
  29007. "statusdesc": {
  29008. "description": "账户状态中文描述",
  29009. "type": "string"
  29010. },
  29011. "taxpayernum": {
  29012. "description": "纳税人识别号",
  29013. "type": "string"
  29014. },
  29015. "telphone": {
  29016. "description": "联系电话",
  29017. "type": "string"
  29018. },
  29019. "userid": {
  29020. "description": "用户ID",
  29021. "type": "integer"
  29022. },
  29023. "userinfotype": {
  29024. "description": "客户类型 1-个人 2-企业",
  29025. "type": "integer"
  29026. },
  29027. "username": {
  29028. "description": "用户名称",
  29029. "type": "string"
  29030. }
  29031. }
  29032. },
  29033. "models.QhjCustomerSignLog": {
  29034. "type": "object",
  29035. "properties": {
  29036. "agreementcontent": {
  29037. "description": "协议内容",
  29038. "type": "string"
  29039. },
  29040. "agreementid": {
  29041. "description": "协议ID",
  29042. "type": "integer"
  29043. },
  29044. "agreementname": {
  29045. "description": "协议名称",
  29046. "type": "string"
  29047. },
  29048. "agreementno": {
  29049. "description": "协议编号",
  29050. "type": "string"
  29051. },
  29052. "agreementtype": {
  29053. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29054. "type": "integer"
  29055. },
  29056. "agreementversion": {
  29057. "description": "协议版本号",
  29058. "type": "integer"
  29059. },
  29060. "createtime": {
  29061. "description": "创建时间",
  29062. "type": "string"
  29063. },
  29064. "goodscode": {
  29065. "description": "商品代码",
  29066. "type": "string"
  29067. },
  29068. "goodsid": {
  29069. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29070. "type": "integer"
  29071. },
  29072. "goodsname": {
  29073. "description": "商品名称",
  29074. "type": "string"
  29075. },
  29076. "logid": {
  29077. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  29078. "type": "integer"
  29079. },
  29080. "nodetype": {
  29081. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29082. "type": "integer"
  29083. },
  29084. "signadressurl": {
  29085. "description": "签约文件地址",
  29086. "type": "string"
  29087. },
  29088. "signtimestamp": {
  29089. "description": "签约状态时间戳",
  29090. "type": "string"
  29091. },
  29092. "userid": {
  29093. "description": "客户ID",
  29094. "type": "integer"
  29095. },
  29096. "username": {
  29097. "description": "客户名称",
  29098. "type": "string"
  29099. }
  29100. }
  29101. },
  29102. "models.QhjCustomerSignStatus": {
  29103. "type": "object",
  29104. "properties": {
  29105. "createtime": {
  29106. "description": "创建时间",
  29107. "type": "string"
  29108. },
  29109. "goodscode": {
  29110. "description": "商品代码",
  29111. "type": "string"
  29112. },
  29113. "goodsid": {
  29114. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29115. "type": "integer"
  29116. },
  29117. "goodsname": {
  29118. "description": "商品名称",
  29119. "type": "string"
  29120. },
  29121. "nodetype": {
  29122. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  29123. "type": "integer"
  29124. },
  29125. "signtimestamp": {
  29126. "description": "签约状态时间戳",
  29127. "type": "string"
  29128. },
  29129. "tradedate": {
  29130. "description": "创建交易日(yyyyMMdd)",
  29131. "type": "string"
  29132. },
  29133. "updatetime": {
  29134. "description": "更新时间",
  29135. "type": "string"
  29136. },
  29137. "userid": {
  29138. "description": "客户ID",
  29139. "type": "integer"
  29140. },
  29141. "username": {
  29142. "description": "客户名称",
  29143. "type": "string"
  29144. }
  29145. }
  29146. },
  29147. "models.QhjMgrAccountOutInApply": {
  29148. "type": "object",
  29149. "properties": {
  29150. "accountcode": {
  29151. "description": "资金账号",
  29152. "type": "string"
  29153. },
  29154. "accountname": {
  29155. "description": "用户名称(名称)",
  29156. "type": "string"
  29157. },
  29158. "accountpwd": {
  29159. "description": "资金密码",
  29160. "type": "string"
  29161. },
  29162. "accountticket": {
  29163. "description": "最新账户服务流水号",
  29164. "type": "string"
  29165. },
  29166. "amount": {
  29167. "description": "金额",
  29168. "type": "number"
  29169. },
  29170. "applyremark": {
  29171. "description": "申请备注",
  29172. "type": "string"
  29173. },
  29174. "applystatus": {
  29175. "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: 复审通过,账户冻结金额检查中;",
  29176. "type": "integer"
  29177. },
  29178. "auditid": {
  29179. "description": "审核人",
  29180. "type": "integer"
  29181. },
  29182. "audittime": {
  29183. "description": "审核时间",
  29184. "type": "string"
  29185. },
  29186. "bank_apply_ticket": {
  29187. "description": "银行申请流水",
  29188. "type": "string"
  29189. },
  29190. "bankaccountname": {
  29191. "description": "银行账户名",
  29192. "type": "string"
  29193. },
  29194. "bankaccountno": {
  29195. "description": "银行卡号",
  29196. "type": "string"
  29197. },
  29198. "bankid": {
  29199. "description": "银行编号",
  29200. "type": "string"
  29201. },
  29202. "bankname": {
  29203. "description": "银行名称",
  29204. "type": "string"
  29205. },
  29206. "bankticket": {
  29207. "description": "银行流水",
  29208. "type": "string"
  29209. },
  29210. "branchbankid": {
  29211. "description": "银行支行号",
  29212. "type": "string"
  29213. },
  29214. "branchbankname": {
  29215. "description": "银行支行名称",
  29216. "type": "string"
  29217. },
  29218. "capamountout": {
  29219. "description": "出金(劣后本金) - 外部子账户",
  29220. "type": "number"
  29221. },
  29222. "certificatephotourl": {
  29223. "description": "凭证地址",
  29224. "type": "string"
  29225. },
  29226. "charge": {
  29227. "description": "手续费",
  29228. "type": "number"
  29229. },
  29230. "checkerrorflag": {
  29231. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  29232. "type": "integer"
  29233. },
  29234. "currency": {
  29235. "description": "币种",
  29236. "type": "string"
  29237. },
  29238. "cusbankid": {
  29239. "description": "托管银行编号",
  29240. "type": "string"
  29241. },
  29242. "exchticket": {
  29243. "description": "银行服务流水号",
  29244. "type": "string"
  29245. },
  29246. "executetype": {
  29247. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  29248. "type": "integer"
  29249. },
  29250. "extendinfo": {
  29251. "description": "扩展信息",
  29252. "type": "string"
  29253. },
  29254. "extoperateid": {
  29255. "description": "交易服务流水号",
  29256. "type": "integer"
  29257. },
  29258. "infamount": {
  29259. "description": "劣后金额(自有)",
  29260. "type": "number"
  29261. },
  29262. "logincode": {
  29263. "description": "登录账号(账号)",
  29264. "type": "string"
  29265. },
  29266. "netaddr": {
  29267. "description": "调转网址",
  29268. "type": "string"
  29269. },
  29270. "priamount": {
  29271. "description": "优先金额(授信)",
  29272. "type": "number"
  29273. },
  29274. "reauditid": {
  29275. "description": "复审人",
  29276. "type": "integer"
  29277. },
  29278. "reauditremark": {
  29279. "description": "复审备注",
  29280. "type": "string"
  29281. },
  29282. "reaudittime": {
  29283. "description": "复审时间",
  29284. "type": "string"
  29285. },
  29286. "relatedorderid": {
  29287. "description": "三方关联ID",
  29288. "type": "string"
  29289. },
  29290. "remark": {
  29291. "description": "备注",
  29292. "type": "string"
  29293. },
  29294. "remark2": {
  29295. "description": "备注(失败原因)",
  29296. "type": "string"
  29297. },
  29298. "soucreamount": {
  29299. "description": "原始出入金金额",
  29300. "type": "number"
  29301. },
  29302. "soucrecurrencyid": {
  29303. "description": "原始出入金币种",
  29304. "type": "integer"
  29305. },
  29306. "tradedate": {
  29307. "description": "交易日(yyyyMMdd)",
  29308. "type": "string"
  29309. },
  29310. "updatetime": {
  29311. "description": "更新时间(申请时间)",
  29312. "type": "string"
  29313. },
  29314. "userid": {
  29315. "description": "用户id",
  29316. "type": "integer"
  29317. },
  29318. "userinfotype": {
  29319. "description": "账户类型 1-个人 2-企业",
  29320. "type": "integer"
  29321. }
  29322. }
  29323. },
  29324. "models.QhjMgrBrokerApply": {
  29325. "type": "object",
  29326. "properties": {
  29327. "applicantid": {
  29328. "description": "申请人",
  29329. "type": "integer"
  29330. },
  29331. "applysrc": {
  29332. "description": "申请来源 - 1:管理端 2:终端",
  29333. "type": "integer"
  29334. },
  29335. "applystatus": {
  29336. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  29337. "type": "integer"
  29338. },
  29339. "applytime": {
  29340. "description": "申请时间",
  29341. "type": "string"
  29342. },
  29343. "auditorid": {
  29344. "description": "审核人",
  29345. "type": "integer"
  29346. },
  29347. "auditremark": {
  29348. "description": "审核备注",
  29349. "type": "string"
  29350. },
  29351. "auditsrc": {
  29352. "description": "审核来源 - 1:管理端 2:终端",
  29353. "type": "integer"
  29354. },
  29355. "audittime": {
  29356. "description": "审核时间",
  29357. "type": "string"
  29358. },
  29359. "audittradedate": {
  29360. "description": "审核交易日(yyyyMMdd)",
  29361. "type": "string"
  29362. },
  29363. "brokerapplyid": {
  29364. "description": "申请ID(SEQ_BROKERAPPLY)",
  29365. "type": "integer"
  29366. },
  29367. "cardbackphotourl": {
  29368. "description": "证件背面图片地址",
  29369. "type": "string"
  29370. },
  29371. "cardfrontphotourl": {
  29372. "description": "证件正面图片地址",
  29373. "type": "string"
  29374. },
  29375. "cardnum": {
  29376. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  29377. "type": "string"
  29378. },
  29379. "customername": {
  29380. "description": "姓名",
  29381. "type": "string"
  29382. },
  29383. "filterstatus": {
  29384. "description": "筛选条件",
  29385. "type": "string"
  29386. },
  29387. "logincode": {
  29388. "description": "登录代码",
  29389. "type": "string"
  29390. },
  29391. "mobile": {
  29392. "description": "手机号码",
  29393. "type": "string"
  29394. },
  29395. "parentuserid": {
  29396. "description": "所属机构id",
  29397. "type": "integer"
  29398. },
  29399. "parentusername": {
  29400. "description": "所属机构名称",
  29401. "type": "string"
  29402. },
  29403. "refereeuserid": {
  29404. "description": "推荐人id(经纪人)",
  29405. "type": "integer"
  29406. },
  29407. "refernum": {
  29408. "description": "推荐码",
  29409. "type": "string"
  29410. },
  29411. "remark": {
  29412. "description": "备注",
  29413. "type": "string"
  29414. },
  29415. "subarealevelpath": {
  29416. "description": "层级路径",
  29417. "type": "string"
  29418. },
  29419. "tradedate": {
  29420. "description": "交易日(yyyyMMdd)",
  29421. "type": "string"
  29422. },
  29423. "userid": {
  29424. "description": "申请人用户ID",
  29425. "type": "integer"
  29426. },
  29427. "userinfotype": {
  29428. "description": "用户类型 1-个人 2-企业",
  29429. "type": "integer"
  29430. },
  29431. "username": {
  29432. "description": "用户名称",
  29433. "type": "string"
  29434. }
  29435. }
  29436. },
  29437. "models.QhjMgrBrokerRewardReport": {
  29438. "type": "object",
  29439. "properties": {
  29440. "createtime": {
  29441. "description": "创建时间(注册时间)",
  29442. "type": "string"
  29443. },
  29444. "cycletime": {
  29445. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  29446. "type": "string"
  29447. },
  29448. "cycletype": {
  29449. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  29450. "type": "integer"
  29451. },
  29452. "directtotalnum": {
  29453. "description": "直推总人数【期末】",
  29454. "type": "integer"
  29455. },
  29456. "indirecttotalnum": {
  29457. "description": "间推总人数【期末】",
  29458. "type": "integer"
  29459. },
  29460. "mobile": {
  29461. "description": "电话号码",
  29462. "type": "string"
  29463. },
  29464. "refereeuserid": {
  29465. "description": "推荐人id(经纪人id)",
  29466. "type": "integer"
  29467. },
  29468. "refereeusername": {
  29469. "description": "推荐人名称(经纪人) 上级经纪人名称",
  29470. "type": "string"
  29471. },
  29472. "refernum": {
  29473. "description": "推荐码",
  29474. "type": "string"
  29475. },
  29476. "subarealevelpath": {
  29477. "description": "用户层级路径",
  29478. "type": "string"
  29479. },
  29480. "todayrewardamount": {
  29481. "description": "奖励总金额【汇总】",
  29482. "type": "number"
  29483. },
  29484. "updatetime": {
  29485. "description": "更新时间",
  29486. "type": "string"
  29487. },
  29488. "userid": {
  29489. "description": "经纪人用户ID",
  29490. "type": "integer"
  29491. },
  29492. "userinfotype": {
  29493. "description": "用户类型 1-个人 2-企业",
  29494. "type": "integer"
  29495. },
  29496. "username": {
  29497. "description": "用户名称",
  29498. "type": "string"
  29499. }
  29500. }
  29501. },
  29502. "models.QhjMgrContract": {
  29503. "type": "object",
  29504. "properties": {
  29505. "contractconfirmtime": {
  29506. "description": "合同确认时间(时间)",
  29507. "type": "string"
  29508. },
  29509. "currisklevel": {
  29510. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  29511. "type": "integer"
  29512. },
  29513. "decimalplace": {
  29514. "description": "商品报价小数位",
  29515. "type": "integer"
  29516. },
  29517. "enumdicname": {
  29518. "description": "单位名称",
  29519. "type": "string"
  29520. },
  29521. "goodscode": {
  29522. "description": "商品代码",
  29523. "type": "string"
  29524. },
  29525. "goodsid": {
  29526. "description": "商品ID [5:融资单]",
  29527. "type": "integer"
  29528. },
  29529. "goodsname": {
  29530. "description": "商品名称",
  29531. "type": "string"
  29532. },
  29533. "goodunitid": {
  29534. "description": "商品单位id",
  29535. "type": "integer"
  29536. },
  29537. "initmargin": {
  29538. "description": "初始保证金(首付款)",
  29539. "type": "number"
  29540. },
  29541. "lenderamount": {
  29542. "description": "贷款金额(总额|订单总额)",
  29543. "type": "number"
  29544. },
  29545. "logincode": {
  29546. "description": "账号(登录代码)",
  29547. "type": "string"
  29548. },
  29549. "marginratio": {
  29550. "description": "保证金比率(首付比例)",
  29551. "type": "number"
  29552. },
  29553. "mobile": {
  29554. "description": "电话号码(用户资料里的电话)",
  29555. "type": "string"
  29556. },
  29557. "payamount": {
  29558. "description": "已付(已付货款)",
  29559. "type": "number"
  29560. },
  29561. "reckonrecovermargin": {
  29562. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  29563. "type": "number"
  29564. },
  29565. "recoveredmargin": {
  29566. "description": "已追缴保证金",
  29567. "type": "number"
  29568. },
  29569. "remainamount": {
  29570. "description": "合同剩余金额(融资额)",
  29571. "type": "number"
  29572. },
  29573. "scfcontractid": {
  29574. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29575. "type": "string"
  29576. },
  29577. "scfcontractstatus": {
  29578. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  29579. "type": "integer"
  29580. },
  29581. "scfcontracttype": {
  29582. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  29583. "type": "integer"
  29584. },
  29585. "totalinterest": {
  29586. "description": "已计总利息(利息)",
  29587. "type": "number"
  29588. },
  29589. "tradedate": {
  29590. "description": "交易日",
  29591. "type": "string"
  29592. },
  29593. "tradeprice": {
  29594. "description": "成交价格(成本价格)",
  29595. "type": "number"
  29596. },
  29597. "userid": {
  29598. "description": "用户ID",
  29599. "type": "integer"
  29600. },
  29601. "userinfotype": {
  29602. "description": "用户类型 1-个人 2-企业",
  29603. "type": "integer"
  29604. },
  29605. "username": {
  29606. "description": "用户名称",
  29607. "type": "string"
  29608. },
  29609. "wrqty": {
  29610. "description": "仓单数量(数量)",
  29611. "type": "number"
  29612. }
  29613. }
  29614. },
  29615. "models.QhjMgrCustomer": {
  29616. "type": "object",
  29617. "properties": {
  29618. "address": {
  29619. "description": "通讯地址",
  29620. "type": "string"
  29621. },
  29622. "attachment1": {
  29623. "description": "附件1",
  29624. "type": "string"
  29625. },
  29626. "audittime": {
  29627. "description": "审核时间",
  29628. "type": "string"
  29629. },
  29630. "birthday": {
  29631. "description": "生日",
  29632. "type": "string"
  29633. },
  29634. "brokerid": {
  29635. "description": "所属客户经理id",
  29636. "type": "integer"
  29637. },
  29638. "brokername": {
  29639. "description": "所属客户经理名称",
  29640. "type": "string"
  29641. },
  29642. "cardbackphotourl": {
  29643. "description": "证件反面图片地址",
  29644. "type": "string"
  29645. },
  29646. "cardfrontphotourl": {
  29647. "description": "证件正面图片地址",
  29648. "type": "string"
  29649. },
  29650. "cardnum": {
  29651. "description": "证件号码",
  29652. "type": "string"
  29653. },
  29654. "cardtype": {
  29655. "description": "证件类型",
  29656. "type": "integer"
  29657. },
  29658. "cardtypename": {
  29659. "description": "证件类型名称",
  29660. "type": "string"
  29661. },
  29662. "cityid": {
  29663. "description": "市",
  29664. "type": "integer"
  29665. },
  29666. "cityname": {
  29667. "description": "城市名称",
  29668. "type": "string"
  29669. },
  29670. "contactname": {
  29671. "description": "联系人",
  29672. "type": "string"
  29673. },
  29674. "countryid": {
  29675. "description": "国家",
  29676. "type": "integer"
  29677. },
  29678. "countryname": {
  29679. "description": "国家名称",
  29680. "type": "string"
  29681. },
  29682. "createtime": {
  29683. "description": "创建时间",
  29684. "type": "string"
  29685. },
  29686. "customername": {
  29687. "description": "客户名称",
  29688. "type": "string"
  29689. },
  29690. "districtid": {
  29691. "description": "区域",
  29692. "type": "integer"
  29693. },
  29694. "districtname": {
  29695. "description": "地区名称",
  29696. "type": "string"
  29697. },
  29698. "email": {
  29699. "description": "邮件",
  29700. "type": "string"
  29701. },
  29702. "legalpersonname": {
  29703. "description": "法人姓名(企业)",
  29704. "type": "string"
  29705. },
  29706. "logincode": {
  29707. "description": "登录账号(代码)",
  29708. "type": "string"
  29709. },
  29710. "memberuserid": {
  29711. "description": "所属机构ID(所属会员)",
  29712. "type": "integer"
  29713. },
  29714. "memberusername": {
  29715. "description": "所属会员名称",
  29716. "type": "string"
  29717. },
  29718. "mobile": {
  29719. "description": "手机号码",
  29720. "type": "string"
  29721. },
  29722. "modifytime": {
  29723. "description": "修改时间",
  29724. "type": "string"
  29725. },
  29726. "nickname": {
  29727. "description": "昵称",
  29728. "type": "string"
  29729. },
  29730. "parentuserid": {
  29731. "description": "上级机构(所属机构)",
  29732. "type": "integer"
  29733. },
  29734. "parentusername": {
  29735. "description": "所属机构名称",
  29736. "type": "string"
  29737. },
  29738. "provinceid": {
  29739. "description": "省",
  29740. "type": "integer"
  29741. },
  29742. "provincename": {
  29743. "description": "省名称",
  29744. "type": "string"
  29745. },
  29746. "proxystatementurl": {
  29747. "description": "授权委托书",
  29748. "type": "string"
  29749. },
  29750. "querytype": {
  29751. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  29752. "type": "integer"
  29753. },
  29754. "remark": {
  29755. "description": "备注",
  29756. "type": "string"
  29757. },
  29758. "sex": {
  29759. "description": "性别 0-女 1-男",
  29760. "type": "integer"
  29761. },
  29762. "status": {
  29763. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29764. "type": "integer"
  29765. },
  29766. "statusdesc": {
  29767. "description": "账户状态中文描述",
  29768. "type": "string"
  29769. },
  29770. "taxpayernum": {
  29771. "description": "纳税人识别号",
  29772. "type": "string"
  29773. },
  29774. "telphone": {
  29775. "description": "联系电话",
  29776. "type": "string"
  29777. },
  29778. "userid": {
  29779. "description": "用户ID",
  29780. "type": "integer"
  29781. },
  29782. "userinfotype": {
  29783. "description": "客户类型 1-个人 2-企业",
  29784. "type": "integer"
  29785. },
  29786. "username": {
  29787. "description": "用户名称",
  29788. "type": "string"
  29789. }
  29790. }
  29791. },
  29792. "models.QhjMgrPickGoods": {
  29793. "type": "object",
  29794. "properties": {
  29795. "enumdicname": {
  29796. "description": "单位名称(提货商品)",
  29797. "type": "string"
  29798. },
  29799. "goodsid": {
  29800. "description": "商品id",
  29801. "type": "integer"
  29802. },
  29803. "imageaddress": {
  29804. "description": "图片",
  29805. "type": "string"
  29806. },
  29807. "modifierid": {
  29808. "description": "修改人",
  29809. "type": "integer"
  29810. },
  29811. "modifiername": {
  29812. "description": "修改人名称",
  29813. "type": "string"
  29814. },
  29815. "modifysrc": {
  29816. "description": "修改来源 - 1:管理端 2:终端",
  29817. "type": "integer"
  29818. },
  29819. "pickupgoodsagreeunit": {
  29820. "description": "合约乘数",
  29821. "type": "number"
  29822. },
  29823. "pickupgoodsdesc": {
  29824. "description": "描述",
  29825. "type": "string"
  29826. },
  29827. "pickupgoodsid": {
  29828. "description": "提货商品ID",
  29829. "type": "string"
  29830. },
  29831. "pickupgoodsname": {
  29832. "description": "提货商品名称",
  29833. "type": "string"
  29834. },
  29835. "pickupgoodsstatus": {
  29836. "description": "状态 - 1:正常 2:停用 3:注销",
  29837. "type": "integer"
  29838. },
  29839. "pickupgoodsunitid": {
  29840. "description": "单位ID",
  29841. "type": "integer"
  29842. },
  29843. "pickupratio": {
  29844. "description": "提货系数",
  29845. "type": "number"
  29846. },
  29847. "preparedays": {
  29848. "description": "备货期(天)",
  29849. "type": "integer"
  29850. },
  29851. "remark": {
  29852. "description": "备注",
  29853. "type": "string"
  29854. },
  29855. "updatetime": {
  29856. "description": "更新时间",
  29857. "type": "string"
  29858. }
  29859. }
  29860. },
  29861. "models.QhjMgrPositionRsp": {
  29862. "type": "object",
  29863. "properties": {
  29864. "accountid": {
  29865. "description": "账号Id",
  29866. "type": "integer"
  29867. },
  29868. "accountname": {
  29869. "description": "用户名称",
  29870. "type": "string"
  29871. },
  29872. "agreeunit": {
  29873. "description": "合约乘数",
  29874. "type": "number"
  29875. },
  29876. "averageprice": {
  29877. "description": "均价",
  29878. "type": "number"
  29879. },
  29880. "avialqty": {
  29881. "description": "可用数量",
  29882. "type": "number"
  29883. },
  29884. "decimalplace": {
  29885. "description": "报价小数位",
  29886. "type": "integer"
  29887. },
  29888. "enumdicname": {
  29889. "description": "单位名称(商品)",
  29890. "type": "string"
  29891. },
  29892. "frozenqty": {
  29893. "description": "冻结数量",
  29894. "type": "number"
  29895. },
  29896. "goodscode": {
  29897. "description": "商品代码(内部)",
  29898. "type": "string"
  29899. },
  29900. "goodsid": {
  29901. "description": "商品Id",
  29902. "type": "integer"
  29903. },
  29904. "goodsname": {
  29905. "description": "商品名称",
  29906. "type": "string"
  29907. },
  29908. "goodunitid": {
  29909. "description": "报价单位ID",
  29910. "type": "integer"
  29911. },
  29912. "holderamount": {
  29913. "description": "金额",
  29914. "type": "number"
  29915. },
  29916. "holderqty": {
  29917. "description": "持有数量",
  29918. "type": "number"
  29919. },
  29920. "holdertype": {
  29921. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  29922. "type": "integer"
  29923. },
  29924. "logincode": {
  29925. "description": "登录代码(账户)",
  29926. "type": "string"
  29927. },
  29928. "marketid": {
  29929. "description": "市场id",
  29930. "type": "integer"
  29931. },
  29932. "qtydecimalplace": {
  29933. "description": "成交量小数位",
  29934. "type": "integer"
  29935. },
  29936. "trademode": {
  29937. "description": "交易模式",
  29938. "type": "integer"
  29939. },
  29940. "userid": {
  29941. "description": "用户id",
  29942. "type": "integer"
  29943. },
  29944. "userinfotype": {
  29945. "description": "账户类型 1-个人 2-企业",
  29946. "type": "integer"
  29947. }
  29948. }
  29949. },
  29950. "models.QhjMgrSubArea": {
  29951. "type": "object",
  29952. "properties": {
  29953. "accountname": {
  29954. "description": "账户名称(机构名称)",
  29955. "type": "string"
  29956. },
  29957. "memberuserid": {
  29958. "description": "所属会员ID",
  29959. "type": "integer"
  29960. },
  29961. "parenttopuser": {
  29962. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29963. "type": "string"
  29964. },
  29965. "parentuserid": {
  29966. "description": "所属机构ID",
  29967. "type": "integer"
  29968. },
  29969. "rootuserid": {
  29970. "description": "根用户ID",
  29971. "type": "string"
  29972. },
  29973. "subaccountlevel": {
  29974. "description": "子账户层数",
  29975. "type": "integer"
  29976. },
  29977. "subarealevelpath": {
  29978. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29979. "type": "string"
  29980. },
  29981. "userid": {
  29982. "description": "用户ID",
  29983. "type": "integer"
  29984. },
  29985. "usertype": {
  29986. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29987. "type": "integer"
  29988. }
  29989. }
  29990. },
  29991. "models.QhjMgrTradeDetailRsp": {
  29992. "type": "object",
  29993. "properties": {
  29994. "accountid": {
  29995. "description": "资金账号",
  29996. "type": "integer"
  29997. },
  29998. "accountname": {
  29999. "description": "用户名称",
  30000. "type": "string"
  30001. },
  30002. "agreeunit": {
  30003. "description": "合约乘数",
  30004. "type": "number"
  30005. },
  30006. "buyorsell": {
  30007. "description": "成交类型(方向) 0:买 1:卖",
  30008. "type": "integer"
  30009. },
  30010. "decimalplace": {
  30011. "description": "报价小数位",
  30012. "type": "integer"
  30013. },
  30014. "enumdicname": {
  30015. "description": "单位名称(商品)",
  30016. "type": "string"
  30017. },
  30018. "goodscode": {
  30019. "description": "商品代码(内部)",
  30020. "type": "string"
  30021. },
  30022. "goodsid": {
  30023. "description": "商品id",
  30024. "type": "integer"
  30025. },
  30026. "goodsname": {
  30027. "description": "商品名称",
  30028. "type": "string"
  30029. },
  30030. "goodunitid": {
  30031. "description": "报价单位ID",
  30032. "type": "integer"
  30033. },
  30034. "logincode": {
  30035. "description": "登录代码(账户)",
  30036. "type": "string"
  30037. },
  30038. "marketid": {
  30039. "description": "市场id",
  30040. "type": "integer"
  30041. },
  30042. "orderid": {
  30043. "description": "关联委托单号",
  30044. "type": "string"
  30045. },
  30046. "qtydecimalplace": {
  30047. "description": "成交量小数位",
  30048. "type": "integer"
  30049. },
  30050. "tradeamount": {
  30051. "description": "金额",
  30052. "type": "number"
  30053. },
  30054. "tradedate": {
  30055. "description": "交易日",
  30056. "type": "string"
  30057. },
  30058. "tradeid": {
  30059. "description": "成交单号",
  30060. "type": "string"
  30061. },
  30062. "trademode": {
  30063. "description": "交易模式",
  30064. "type": "integer"
  30065. },
  30066. "tradeprice": {
  30067. "description": "价格",
  30068. "type": "number"
  30069. },
  30070. "tradeqty": {
  30071. "description": "数量",
  30072. "type": "number"
  30073. },
  30074. "tradetime": {
  30075. "description": "成交时间",
  30076. "type": "string"
  30077. },
  30078. "userid": {
  30079. "description": "用户id",
  30080. "type": "integer"
  30081. },
  30082. "userinfotype": {
  30083. "description": "账户类型 1-个人 2-企业",
  30084. "type": "integer"
  30085. }
  30086. }
  30087. },
  30088. "models.QhjMgrTradeOrderDetailRsp": {
  30089. "type": "object",
  30090. "properties": {
  30091. "accountid": {
  30092. "description": "资金账号",
  30093. "type": "integer"
  30094. },
  30095. "accountname": {
  30096. "description": "用户名称",
  30097. "type": "string"
  30098. },
  30099. "agreeunit": {
  30100. "description": "合约乘数",
  30101. "type": "number"
  30102. },
  30103. "amount": {
  30104. "description": "金额",
  30105. "type": "number"
  30106. },
  30107. "decimalplace": {
  30108. "description": "报价小数位",
  30109. "type": "integer"
  30110. },
  30111. "enumdicname": {
  30112. "description": "单位名称(商品)",
  30113. "type": "string"
  30114. },
  30115. "goodscode": {
  30116. "description": "商品代码(内部)",
  30117. "type": "string"
  30118. },
  30119. "goodsid": {
  30120. "description": "商品id",
  30121. "type": "integer"
  30122. },
  30123. "goodsname": {
  30124. "description": "商品名称",
  30125. "type": "string"
  30126. },
  30127. "goodunitid": {
  30128. "description": "报价单位ID",
  30129. "type": "integer"
  30130. },
  30131. "logincode": {
  30132. "description": "登录代码(账户)",
  30133. "type": "string"
  30134. },
  30135. "marketid": {
  30136. "description": "市场id",
  30137. "type": "integer"
  30138. },
  30139. "orderid": {
  30140. "description": "关联委托单号",
  30141. "type": "string"
  30142. },
  30143. "orderprice": {
  30144. "description": "价格",
  30145. "type": "number"
  30146. },
  30147. "orderqty": {
  30148. "description": "数量",
  30149. "type": "number"
  30150. },
  30151. "orderstatus": {
  30152. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30153. "type": "integer"
  30154. },
  30155. "ordertime": {
  30156. "description": "委托时间",
  30157. "type": "string"
  30158. },
  30159. "qtydecimalplace": {
  30160. "description": "成交量小数位",
  30161. "type": "integer"
  30162. },
  30163. "tradedate": {
  30164. "description": "交易日",
  30165. "type": "string"
  30166. },
  30167. "trademode": {
  30168. "description": "交易模式",
  30169. "type": "integer"
  30170. },
  30171. "userid": {
  30172. "description": "用户id",
  30173. "type": "integer"
  30174. },
  30175. "userinfotype": {
  30176. "description": "账户类型 1-个人 2-企业",
  30177. "type": "integer"
  30178. }
  30179. }
  30180. },
  30181. "models.QhjMgrTradePayOrder": {
  30182. "type": "object",
  30183. "properties": {
  30184. "accountname": {
  30185. "description": "用户名称",
  30186. "type": "string"
  30187. },
  30188. "advanceratio": {
  30189. "description": "首付比率",
  30190. "type": "number"
  30191. },
  30192. "agreeunit": {
  30193. "description": "合约乘数",
  30194. "type": "number"
  30195. },
  30196. "buyaccountid": {
  30197. "description": "买方账号ID[报价币种]",
  30198. "type": "integer"
  30199. },
  30200. "buyorderid": {
  30201. "description": "买方委托单号(关联单号)",
  30202. "type": "string"
  30203. },
  30204. "createtime": {
  30205. "description": "创建时间",
  30206. "type": "string"
  30207. },
  30208. "decimalplace": {
  30209. "description": "报价小数位",
  30210. "type": "integer"
  30211. },
  30212. "enumdicname": {
  30213. "description": "单位名称(商品)",
  30214. "type": "string"
  30215. },
  30216. "goodscode": {
  30217. "description": "商品代码(内部)",
  30218. "type": "string"
  30219. },
  30220. "goodsid": {
  30221. "description": "商品ID",
  30222. "type": "integer"
  30223. },
  30224. "goodsname": {
  30225. "description": "商品名称",
  30226. "type": "string"
  30227. },
  30228. "goodunitid": {
  30229. "description": "报价单位ID",
  30230. "type": "integer"
  30231. },
  30232. "logincode": {
  30233. "description": "登录代码(账户)",
  30234. "type": "string"
  30235. },
  30236. "marketid": {
  30237. "description": "市场id",
  30238. "type": "integer"
  30239. },
  30240. "offamount": {
  30241. "description": "优惠金额",
  30242. "type": "number"
  30243. },
  30244. "operatetype": {
  30245. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30246. "type": "integer"
  30247. },
  30248. "payamount": {
  30249. "description": "支付金额(金额)",
  30250. "type": "number"
  30251. },
  30252. "payflag": {
  30253. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30254. "type": "integer"
  30255. },
  30256. "paylimitedtime": {
  30257. "description": "支付期限",
  30258. "type": "string"
  30259. },
  30260. "paytime": {
  30261. "description": "付款时间",
  30262. "type": "string"
  30263. },
  30264. "qtydecimalplace": {
  30265. "description": "成交量小数位",
  30266. "type": "integer"
  30267. },
  30268. "sellaccountid": {
  30269. "description": "卖方账号ID[报价币种]",
  30270. "type": "integer"
  30271. },
  30272. "sellorderid": {
  30273. "description": "卖方委托单号",
  30274. "type": "string"
  30275. },
  30276. "tradeamount": {
  30277. "description": "成交金额(优惠后金额)",
  30278. "type": "number"
  30279. },
  30280. "tradecharge": {
  30281. "description": "成交手续费(买方)",
  30282. "type": "number"
  30283. },
  30284. "tradedate": {
  30285. "description": "交易日(yyyyMMdd)",
  30286. "type": "string"
  30287. },
  30288. "tradeid": {
  30289. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30290. "type": "string"
  30291. },
  30292. "trademode": {
  30293. "description": "交易模式",
  30294. "type": "integer"
  30295. },
  30296. "tradeprice": {
  30297. "description": "成交价格(价格)",
  30298. "type": "number"
  30299. },
  30300. "tradeqty": {
  30301. "description": "成交数量(数量)",
  30302. "type": "number"
  30303. },
  30304. "tradetime": {
  30305. "description": "成交时间",
  30306. "type": "string"
  30307. },
  30308. "userid": {
  30309. "description": "用户id",
  30310. "type": "integer"
  30311. },
  30312. "userinfotype": {
  30313. "description": "账户类型 1-个人 2-企业",
  30314. "type": "integer"
  30315. }
  30316. }
  30317. },
  30318. "models.QhjMyTeamEx": {
  30319. "type": "object",
  30320. "properties": {
  30321. "accountname": {
  30322. "description": "用户名称",
  30323. "type": "string"
  30324. },
  30325. "accountstatus": {
  30326. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30327. "type": "integer"
  30328. },
  30329. "createtime": {
  30330. "description": "创建时间",
  30331. "type": "string"
  30332. },
  30333. "mobile": {
  30334. "description": "手机号码",
  30335. "type": "string"
  30336. },
  30337. "refereeuserid": {
  30338. "description": "推荐人id",
  30339. "type": "integer"
  30340. },
  30341. "refernum": {
  30342. "description": "推荐码",
  30343. "type": "string"
  30344. },
  30345. "subList": {
  30346. "type": "array",
  30347. "items": {
  30348. "$ref": "#/definitions/models.QhjMyTeamEx"
  30349. }
  30350. },
  30351. "userid": {
  30352. "description": "用户id",
  30353. "type": "integer"
  30354. },
  30355. "userinfotype": {
  30356. "description": "用户类型 1-个人 2-企业",
  30357. "type": "integer"
  30358. }
  30359. }
  30360. },
  30361. "models.QhjNodeAgreementConfig": {
  30362. "type": "object",
  30363. "properties": {
  30364. "agreementcontent": {
  30365. "description": "协议内容",
  30366. "type": "string"
  30367. },
  30368. "agreementid": {
  30369. "description": "协议ID",
  30370. "type": "integer"
  30371. },
  30372. "agreementname": {
  30373. "description": "协议名称",
  30374. "type": "string"
  30375. },
  30376. "agreementno": {
  30377. "description": "协议编号",
  30378. "type": "string"
  30379. },
  30380. "agreementtype": {
  30381. "description": "协议类型 - 1:注册 2:登录 3:交易",
  30382. "type": "integer"
  30383. },
  30384. "agreementversion": {
  30385. "description": "协议版本号",
  30386. "type": "integer"
  30387. },
  30388. "configid": {
  30389. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  30390. "type": "integer"
  30391. },
  30392. "createtime": {
  30393. "description": "创建时间",
  30394. "type": "string"
  30395. },
  30396. "goodsid": {
  30397. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  30398. "type": "integer"
  30399. },
  30400. "nodetype": {
  30401. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  30402. "type": "integer"
  30403. }
  30404. }
  30405. },
  30406. "models.QhjParentAreaList": {
  30407. "type": "object",
  30408. "properties": {
  30409. "accountname": {
  30410. "description": "账户名称(机构名称)",
  30411. "type": "string"
  30412. },
  30413. "userid": {
  30414. "description": "用户ID",
  30415. "type": "integer"
  30416. },
  30417. "usertype": {
  30418. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30419. "type": "integer"
  30420. }
  30421. }
  30422. },
  30423. "models.QhjPayOrder": {
  30424. "type": "object",
  30425. "properties": {
  30426. "advanceratio": {
  30427. "description": "首付比率",
  30428. "type": "number"
  30429. },
  30430. "buyaccountid": {
  30431. "description": "买方账号ID[报价币种]",
  30432. "type": "integer"
  30433. },
  30434. "buyorderid": {
  30435. "description": "买方委托单号",
  30436. "type": "string"
  30437. },
  30438. "createtime": {
  30439. "description": "创建时间",
  30440. "type": "string"
  30441. },
  30442. "decimalplace": {
  30443. "description": "商品报价小数位",
  30444. "type": "integer"
  30445. },
  30446. "enumdicname": {
  30447. "description": "单位名称",
  30448. "type": "string"
  30449. },
  30450. "goodscode": {
  30451. "description": "商品代码",
  30452. "type": "string"
  30453. },
  30454. "goodsid": {
  30455. "description": "商品ID",
  30456. "type": "integer"
  30457. },
  30458. "goodsname": {
  30459. "description": "商品名称",
  30460. "type": "string"
  30461. },
  30462. "goodunitid": {
  30463. "description": "商品单位id",
  30464. "type": "integer"
  30465. },
  30466. "marketid": {
  30467. "description": "市场ID",
  30468. "type": "integer"
  30469. },
  30470. "offamount": {
  30471. "description": "优惠金额",
  30472. "type": "number"
  30473. },
  30474. "operatetype": {
  30475. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30476. "type": "integer"
  30477. },
  30478. "payamount": {
  30479. "description": "支付金额",
  30480. "type": "number"
  30481. },
  30482. "payflag": {
  30483. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30484. "type": "integer"
  30485. },
  30486. "paylimitedtime": {
  30487. "description": "支付期限",
  30488. "type": "string"
  30489. },
  30490. "paytime": {
  30491. "description": "付款时间",
  30492. "type": "string"
  30493. },
  30494. "qtydecimalplace": {
  30495. "description": "成交量小数位",
  30496. "type": "integer"
  30497. },
  30498. "sellaccountid": {
  30499. "description": "卖方账号ID[报价币种]",
  30500. "type": "integer"
  30501. },
  30502. "sellorderid": {
  30503. "description": "卖方委托单号",
  30504. "type": "string"
  30505. },
  30506. "tradeamount": {
  30507. "description": "成交金额(优惠后金额)",
  30508. "type": "number"
  30509. },
  30510. "tradecharge": {
  30511. "description": "成交手续费(买方)",
  30512. "type": "number"
  30513. },
  30514. "tradedate": {
  30515. "description": "交易日(yyyyMMdd)",
  30516. "type": "string"
  30517. },
  30518. "tradeid": {
  30519. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30520. "type": "string"
  30521. },
  30522. "tradeprice": {
  30523. "description": "成交价格",
  30524. "type": "number"
  30525. },
  30526. "tradeqty": {
  30527. "description": "成交数量",
  30528. "type": "number"
  30529. }
  30530. }
  30531. },
  30532. "models.QhjPickArea": {
  30533. "type": "object",
  30534. "properties": {
  30535. "address": {
  30536. "description": "详细地址",
  30537. "type": "string"
  30538. },
  30539. "cityid": {
  30540. "description": "市",
  30541. "type": "integer"
  30542. },
  30543. "cityname": {
  30544. "description": "城市名称",
  30545. "type": "string"
  30546. },
  30547. "countryid": {
  30548. "description": "国家",
  30549. "type": "integer"
  30550. },
  30551. "countryname": {
  30552. "description": "国家名称",
  30553. "type": "string"
  30554. },
  30555. "districtid": {
  30556. "description": "地区",
  30557. "type": "integer"
  30558. },
  30559. "districtname": {
  30560. "description": "地区名称",
  30561. "type": "string"
  30562. },
  30563. "fromuserid": {
  30564. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  30565. "type": "integer"
  30566. },
  30567. "fromusername": {
  30568. "description": "所属机构名称",
  30569. "type": "string"
  30570. },
  30571. "provinceid": {
  30572. "description": "省",
  30573. "type": "integer"
  30574. },
  30575. "provincename": {
  30576. "description": "省名称",
  30577. "type": "string"
  30578. },
  30579. "suborgtype": {
  30580. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  30581. "type": "integer"
  30582. },
  30583. "userid": {
  30584. "description": "机构用户ID 其他做市关系,都设置为 1",
  30585. "type": "integer"
  30586. },
  30587. "username": {
  30588. "description": "机构用户名称(门店门称)",
  30589. "type": "string"
  30590. }
  30591. }
  30592. },
  30593. "models.QhjPickGoods": {
  30594. "type": "object",
  30595. "properties": {
  30596. "enumdicname": {
  30597. "description": "单位名称(提货商品)",
  30598. "type": "string"
  30599. },
  30600. "goodsid": {
  30601. "description": "商品id",
  30602. "type": "integer"
  30603. },
  30604. "imageaddress": {
  30605. "description": "图片",
  30606. "type": "string"
  30607. },
  30608. "modifierid": {
  30609. "description": "修改人",
  30610. "type": "integer"
  30611. },
  30612. "modifiername": {
  30613. "description": "修改人名称",
  30614. "type": "string"
  30615. },
  30616. "modifysrc": {
  30617. "description": "修改来源 - 1:管理端 2:终端",
  30618. "type": "integer"
  30619. },
  30620. "pickupgoodsagreeunit": {
  30621. "description": "合约乘数",
  30622. "type": "number"
  30623. },
  30624. "pickupgoodsdesc": {
  30625. "description": "描述",
  30626. "type": "string"
  30627. },
  30628. "pickupgoodsid": {
  30629. "description": "提货商品ID",
  30630. "type": "string"
  30631. },
  30632. "pickupgoodsname": {
  30633. "description": "提货商品名称",
  30634. "type": "string"
  30635. },
  30636. "pickupgoodsstatus": {
  30637. "description": "状态 - 1:正常 2:停用 3:注销",
  30638. "type": "integer"
  30639. },
  30640. "pickupgoodsunitid": {
  30641. "description": "单位ID",
  30642. "type": "integer"
  30643. },
  30644. "pickupratio": {
  30645. "description": "提货系数",
  30646. "type": "number"
  30647. },
  30648. "preparedays": {
  30649. "description": "备货期(天)",
  30650. "type": "integer"
  30651. },
  30652. "remark": {
  30653. "description": "备注",
  30654. "type": "string"
  30655. },
  30656. "updatetime": {
  30657. "description": "更新时间",
  30658. "type": "string"
  30659. }
  30660. }
  30661. },
  30662. "models.QhjRSTriggerLog": {
  30663. "type": "object",
  30664. "properties": {
  30665. "accountid": {
  30666. "description": "用户资金账户",
  30667. "type": "integer"
  30668. },
  30669. "accountname": {
  30670. "description": "账号名称(ACCOUNTID对应的名称)",
  30671. "type": "string"
  30672. },
  30673. "currencyid": {
  30674. "description": "币种id",
  30675. "type": "integer"
  30676. },
  30677. "currencyname": {
  30678. "description": "币种名称",
  30679. "type": "string"
  30680. },
  30681. "decimalplace": {
  30682. "description": "商品报价小数位",
  30683. "type": "integer"
  30684. },
  30685. "enumdicname": {
  30686. "description": "单位名称",
  30687. "type": "string"
  30688. },
  30689. "goodscode": {
  30690. "description": "定投商品代码",
  30691. "type": "string"
  30692. },
  30693. "goodsid": {
  30694. "description": "定投商品ID",
  30695. "type": "integer"
  30696. },
  30697. "goodsname": {
  30698. "description": "定投商品名称",
  30699. "type": "string"
  30700. },
  30701. "goodunitid": {
  30702. "description": "定投商品单位id",
  30703. "type": "integer"
  30704. },
  30705. "logid": {
  30706. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  30707. "type": "string"
  30708. },
  30709. "logincode": {
  30710. "description": "账号(登录代码)",
  30711. "type": "string"
  30712. },
  30713. "qtydecimalplace": {
  30714. "description": "成交量小数位",
  30715. "type": "integer"
  30716. },
  30717. "regularlycycle": {
  30718. "description": "定投频率 - 1:每周 2:每月",
  30719. "type": "integer"
  30720. },
  30721. "regularlycyclevalue": {
  30722. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30723. "type": "string"
  30724. },
  30725. "regularlymode": {
  30726. "description": "定投方式 - 1:按数量 2:按金额",
  30727. "type": "integer"
  30728. },
  30729. "regularlymodevalue": {
  30730. "description": "定投方式值 - 数量或金额",
  30731. "type": "number"
  30732. },
  30733. "regularlystrategyid": {
  30734. "description": "定投策略ID",
  30735. "type": "integer"
  30736. },
  30737. "retcode": {
  30738. "description": "错误码",
  30739. "type": "string"
  30740. },
  30741. "tradeid": {
  30742. "description": "成交单ID",
  30743. "type": "string"
  30744. },
  30745. "triggeramount": {
  30746. "description": "触发金额",
  30747. "type": "number"
  30748. },
  30749. "triggerqty": {
  30750. "description": "触发数量",
  30751. "type": "number"
  30752. },
  30753. "triggerstatus": {
  30754. "description": "触发状态 - 1:成功 2:失败",
  30755. "type": "integer"
  30756. },
  30757. "triggertime": {
  30758. "description": "触发时间",
  30759. "type": "string"
  30760. },
  30761. "triggertradedate": {
  30762. "description": "触发交易日",
  30763. "type": "string"
  30764. },
  30765. "userid": {
  30766. "description": "所属用户ID",
  30767. "type": "integer"
  30768. },
  30769. "userinfotype": {
  30770. "description": "用户类型 1-个人 2-企业",
  30771. "type": "integer"
  30772. },
  30773. "username": {
  30774. "description": "用户名称(userid对应的名称)",
  30775. "type": "string"
  30776. }
  30777. }
  30778. },
  30779. "models.QhjRStrategy": {
  30780. "type": "object",
  30781. "properties": {
  30782. "accountid": {
  30783. "description": "用户资金账户",
  30784. "type": "integer"
  30785. },
  30786. "accountname": {
  30787. "description": "账号名称(ACCOUNTID对应的名称)",
  30788. "type": "string"
  30789. },
  30790. "currencyid": {
  30791. "description": "币种id",
  30792. "type": "integer"
  30793. },
  30794. "currencyname": {
  30795. "description": "币种名称",
  30796. "type": "string"
  30797. },
  30798. "decimalplace": {
  30799. "description": "商品报价小数位",
  30800. "type": "integer"
  30801. },
  30802. "enumdicname": {
  30803. "description": "单位名称",
  30804. "type": "string"
  30805. },
  30806. "goodscode": {
  30807. "description": "定投商品代码",
  30808. "type": "string"
  30809. },
  30810. "goodsid": {
  30811. "description": "定投商品ID",
  30812. "type": "integer"
  30813. },
  30814. "goodsname": {
  30815. "description": "定投商品名称",
  30816. "type": "string"
  30817. },
  30818. "goodunitid": {
  30819. "description": "定投商品单位id",
  30820. "type": "integer"
  30821. },
  30822. "lasteffecttradedate": {
  30823. "description": "最新生效交易日",
  30824. "type": "string"
  30825. },
  30826. "laststoptradedate": {
  30827. "description": "最新暂停交易日",
  30828. "type": "string"
  30829. },
  30830. "lasttriggertradedate": {
  30831. "description": "最新触发交易日",
  30832. "type": "string"
  30833. },
  30834. "logincode": {
  30835. "description": "账号(登录代码)",
  30836. "type": "string"
  30837. },
  30838. "nexttriggeramount": {
  30839. "description": "下次触发金额",
  30840. "type": "number"
  30841. },
  30842. "nexttriggerdate": {
  30843. "description": "下次触发日期",
  30844. "type": "string"
  30845. },
  30846. "nexttriggerqty": {
  30847. "description": "下次触发数量 [按小数位放大值]",
  30848. "type": "number"
  30849. },
  30850. "qtydecimalplace": {
  30851. "description": "成交量小数位",
  30852. "type": "integer"
  30853. },
  30854. "regularlycycle": {
  30855. "description": "定投频率 - 1:每周 2:每月",
  30856. "type": "integer"
  30857. },
  30858. "regularlycyclevalue": {
  30859. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30860. "type": "string"
  30861. },
  30862. "regularlymode": {
  30863. "description": "定投方式 - 1:按数量 2:按金额",
  30864. "type": "integer"
  30865. },
  30866. "regularlymodevalue": {
  30867. "description": "定投方式值 - 数量或金额",
  30868. "type": "number"
  30869. },
  30870. "regularlystrategyid": {
  30871. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  30872. "type": "integer"
  30873. },
  30874. "regularlystrategystatus": {
  30875. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  30876. "type": "integer"
  30877. },
  30878. "remark": {
  30879. "description": "备注",
  30880. "type": "string"
  30881. },
  30882. "triggersuccesstimes": {
  30883. "description": "累计定投成功次数",
  30884. "type": "string"
  30885. },
  30886. "triggertotalamount": {
  30887. "description": "累计定投金额(成功)",
  30888. "type": "number"
  30889. },
  30890. "triggertotalqty": {
  30891. "description": "累计定投数量(成功) [按小数位放大值]",
  30892. "type": "number"
  30893. },
  30894. "triggertotaltimes": {
  30895. "description": "累计定投总次数",
  30896. "type": "string"
  30897. },
  30898. "updatesrc": {
  30899. "description": "更新来源 - 1:管理端 2:终端",
  30900. "type": "integer"
  30901. },
  30902. "updatetime": {
  30903. "description": "更新时间",
  30904. "type": "string"
  30905. },
  30906. "updatorid": {
  30907. "description": "更新人",
  30908. "type": "string"
  30909. },
  30910. "userid": {
  30911. "description": "所属用户ID",
  30912. "type": "integer"
  30913. },
  30914. "userinfotype": {
  30915. "description": "用户类型 1-个人 2-企业",
  30916. "type": "integer"
  30917. },
  30918. "username": {
  30919. "description": "用户名称(userid对应的名称)",
  30920. "type": "string"
  30921. }
  30922. }
  30923. },
  30924. "models.QhjReckonPriceLog": {
  30925. "type": "object",
  30926. "properties": {
  30927. "decimalplace": {
  30928. "description": "商品报价小数位",
  30929. "type": "integer"
  30930. },
  30931. "goodscode": {
  30932. "description": "商品代码",
  30933. "type": "string"
  30934. },
  30935. "goodsid": {
  30936. "description": "商品ID",
  30937. "type": "integer"
  30938. },
  30939. "goodsname": {
  30940. "description": "商品名称",
  30941. "type": "string"
  30942. },
  30943. "lastreckonprice": {
  30944. "description": "上日结算价",
  30945. "type": "number"
  30946. },
  30947. "nextdnlimitprice": {
  30948. "description": "下个交易日跌停价",
  30949. "type": "number"
  30950. },
  30951. "nexttrade": {
  30952. "description": "下个交易日",
  30953. "type": "string"
  30954. },
  30955. "nextuplimitprice": {
  30956. "description": "下个交易日涨停价",
  30957. "type": "number"
  30958. },
  30959. "reckonprice": {
  30960. "description": "今日结算价(定投价)",
  30961. "type": "number"
  30962. },
  30963. "reckontime": {
  30964. "description": "结算时间",
  30965. "type": "string"
  30966. },
  30967. "totalholderqty": {
  30968. "description": "总持仓数",
  30969. "type": "integer"
  30970. },
  30971. "totalstock": {
  30972. "description": "总库存",
  30973. "type": "integer"
  30974. },
  30975. "tradedate": {
  30976. "description": "交易日",
  30977. "type": "string"
  30978. },
  30979. "updowncount": {
  30980. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  30981. "type": "integer"
  30982. },
  30983. "updownflag": {
  30984. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  30985. "type": "integer"
  30986. },
  30987. "updownrate": {
  30988. "description": "今日涨跌幅",
  30989. "type": "number"
  30990. },
  30991. "updownrate_2d": {
  30992. "description": "连续两日涨跌幅",
  30993. "type": "number"
  30994. },
  30995. "updownrate_3d": {
  30996. "description": "连续三日涨跌幅",
  30997. "type": "number"
  30998. }
  30999. }
  31000. },
  31001. "models.QhjScoreLog": {
  31002. "type": "object",
  31003. "properties": {
  31004. "accountid": {
  31005. "description": "账户ID",
  31006. "type": "integer"
  31007. },
  31008. "createtime": {
  31009. "description": "创建时间(时间)",
  31010. "type": "string"
  31011. },
  31012. "goodsid": {
  31013. "description": "商品ID",
  31014. "type": "integer"
  31015. },
  31016. "hasuploaded": {
  31017. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  31018. "type": "integer"
  31019. },
  31020. "logid": {
  31021. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31022. "type": "string"
  31023. },
  31024. "marketid": {
  31025. "description": "市场ID",
  31026. "type": "integer"
  31027. },
  31028. "relatedamount": {
  31029. "description": "关联金额",
  31030. "type": "number"
  31031. },
  31032. "relatedorderid": {
  31033. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  31034. "type": "string"
  31035. },
  31036. "scoreconfigvalue1": {
  31037. "description": "积分配置1",
  31038. "type": "integer"
  31039. },
  31040. "scoreconfigvalue2": {
  31041. "description": "积分配置1",
  31042. "type": "integer"
  31043. },
  31044. "scoretype": {
  31045. "description": "积分类型 - 1:提货积分",
  31046. "type": "integer"
  31047. },
  31048. "scorevalue": {
  31049. "description": "积分",
  31050. "type": "number"
  31051. },
  31052. "tradedate": {
  31053. "description": "交易日(yyyyMMdd)",
  31054. "type": "string"
  31055. },
  31056. "uploadedtime": {
  31057. "description": "同步时间",
  31058. "type": "string"
  31059. },
  31060. "userid": {
  31061. "description": "用户ID",
  31062. "type": "integer"
  31063. }
  31064. }
  31065. },
  31066. "models.QhjSiteColumnDetail": {
  31067. "type": "object",
  31068. "properties": {
  31069. "author": {
  31070. "description": "作者",
  31071. "type": "string"
  31072. },
  31073. "brief": {
  31074. "description": "简介",
  31075. "type": "string"
  31076. },
  31077. "columnid": {
  31078. "description": "所属栏目",
  31079. "type": "integer"
  31080. },
  31081. "context": {
  31082. "description": "内容",
  31083. "type": "string"
  31084. },
  31085. "coverimage": {
  31086. "description": "封面图片",
  31087. "type": "string"
  31088. },
  31089. "creaedate": {
  31090. "description": "创建时间",
  31091. "type": "string"
  31092. },
  31093. "creatorid": {
  31094. "description": "创建人",
  31095. "type": "integer"
  31096. },
  31097. "hits": {
  31098. "description": "点击数",
  31099. "type": "integer"
  31100. },
  31101. "id": {
  31102. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  31103. "type": "integer"
  31104. },
  31105. "isshow": {
  31106. "description": "是否展示 - 0:不展示 1:展示",
  31107. "type": "integer"
  31108. },
  31109. "istop": {
  31110. "description": "是否置顶 - 0:不置 1:置顶",
  31111. "type": "integer"
  31112. },
  31113. "modifierid": {
  31114. "description": "操作人",
  31115. "type": "integer"
  31116. },
  31117. "publishdate": {
  31118. "description": "发布日期",
  31119. "type": "string"
  31120. },
  31121. "status": {
  31122. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  31123. "type": "integer"
  31124. },
  31125. "title": {
  31126. "description": "标题",
  31127. "type": "string"
  31128. },
  31129. "updatedate": {
  31130. "description": "修改时间",
  31131. "type": "string"
  31132. },
  31133. "userid": {
  31134. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  31135. "type": "integer"
  31136. },
  31137. "username": {
  31138. "description": "用户名称",
  31139. "type": "string"
  31140. }
  31141. }
  31142. },
  31143. "models.QhjTeamOrder": {
  31144. "type": "object",
  31145. "properties": {
  31146. "accountid": {
  31147. "description": "账户ID[报价币种]",
  31148. "type": "integer"
  31149. },
  31150. "accountname": {
  31151. "description": "账户名称",
  31152. "type": "string"
  31153. },
  31154. "agreeunit": {
  31155. "description": "合约乘数",
  31156. "type": "number"
  31157. },
  31158. "buyorsell": {
  31159. "description": "方向 - 0:买 1:卖",
  31160. "type": "integer"
  31161. },
  31162. "decimalplace": {
  31163. "description": "报价小数位",
  31164. "type": "integer"
  31165. },
  31166. "enumdicname": {
  31167. "description": "单位名称",
  31168. "type": "string"
  31169. },
  31170. "goodscode": {
  31171. "description": "商品代码(内部)",
  31172. "type": "string"
  31173. },
  31174. "goodsid": {
  31175. "description": "商品ID",
  31176. "type": "integer"
  31177. },
  31178. "goodsname": {
  31179. "description": "商品名称",
  31180. "type": "string"
  31181. },
  31182. "goodunitid": {
  31183. "description": "报价单位ID",
  31184. "type": "integer"
  31185. },
  31186. "marketid": {
  31187. "description": "市场ID",
  31188. "type": "integer"
  31189. },
  31190. "marketname": {
  31191. "description": "市场名称",
  31192. "type": "string"
  31193. },
  31194. "qtydecimalplace": {
  31195. "description": "成交量小数位",
  31196. "type": "integer"
  31197. },
  31198. "refereeuserid": {
  31199. "description": "推荐人ID",
  31200. "type": "integer"
  31201. },
  31202. "tradeamount": {
  31203. "description": "成交金额[账户币种,用于所有权]",
  31204. "type": "number"
  31205. },
  31206. "tradedate": {
  31207. "description": "交易日(yyyyMMdd)",
  31208. "type": "string"
  31209. },
  31210. "trademode": {
  31211. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31212. "type": "integer"
  31213. },
  31214. "tradeprice": {
  31215. "description": "成交价格",
  31216. "type": "number"
  31217. },
  31218. "tradeqty": {
  31219. "description": "成交数量",
  31220. "type": "number"
  31221. },
  31222. "tradetime": {
  31223. "description": "成交时间",
  31224. "type": "string"
  31225. },
  31226. "userid": {
  31227. "description": "用户ID",
  31228. "type": "integer"
  31229. }
  31230. }
  31231. },
  31232. "models.QhjTradeGoodsPickup": {
  31233. "type": "object",
  31234. "properties": {
  31235. "accountid": {
  31236. "description": "账户ID",
  31237. "type": "integer"
  31238. },
  31239. "address": {
  31240. "description": "提货人详细地址",
  31241. "type": "string"
  31242. },
  31243. "amount": {
  31244. "description": "提货金额",
  31245. "type": "number"
  31246. },
  31247. "artradedate": {
  31248. "description": "自动收货交易日(yyyyMMdd)",
  31249. "type": "string"
  31250. },
  31251. "auditer": {
  31252. "description": "审核人",
  31253. "type": "integer"
  31254. },
  31255. "auditsrc": {
  31256. "description": "更新来源 - 1:管理端 2:终端",
  31257. "type": "integer"
  31258. },
  31259. "audittime": {
  31260. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  31261. "type": "string"
  31262. },
  31263. "audittradedate": {
  31264. "description": "审核交易日(yyyyMMdd)",
  31265. "type": "string"
  31266. },
  31267. "cardnum": {
  31268. "description": "提货人证件号码",
  31269. "type": "string"
  31270. },
  31271. "cardtypeid": {
  31272. "description": "提货人证件类型",
  31273. "type": "integer"
  31274. },
  31275. "checkremark": {
  31276. "description": "审核备注",
  31277. "type": "string"
  31278. },
  31279. "cityid": {
  31280. "description": "市",
  31281. "type": "integer"
  31282. },
  31283. "cityname": {
  31284. "description": "城市名称",
  31285. "type": "string"
  31286. },
  31287. "confirmtime": {
  31288. "description": "取货时间 或 收货时间",
  31289. "type": "string"
  31290. },
  31291. "countryid": {
  31292. "description": "国家",
  31293. "type": "integer"
  31294. },
  31295. "countryname": {
  31296. "description": "国家名称",
  31297. "type": "string"
  31298. },
  31299. "decimalplace": {
  31300. "description": "商品报价小数位",
  31301. "type": "integer"
  31302. },
  31303. "districtid": {
  31304. "description": "地区",
  31305. "type": "integer"
  31306. },
  31307. "districtname": {
  31308. "description": "地区名称",
  31309. "type": "string"
  31310. },
  31311. "enumdicname": {
  31312. "description": "单位名称(提货商品)",
  31313. "type": "string"
  31314. },
  31315. "expresscompany": {
  31316. "description": "物流公司",
  31317. "type": "string"
  31318. },
  31319. "expressnum": {
  31320. "description": "物流单号",
  31321. "type": "string"
  31322. },
  31323. "goodsagreeunit": {
  31324. "description": "交易商品乘数",
  31325. "type": "number"
  31326. },
  31327. "goodscode": {
  31328. "description": "商品代码",
  31329. "type": "string"
  31330. },
  31331. "goodsid": {
  31332. "description": "商品ID",
  31333. "type": "integer"
  31334. },
  31335. "goodsname": {
  31336. "description": "商品名称",
  31337. "type": "string"
  31338. },
  31339. "goodsqty": {
  31340. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  31341. "type": "number"
  31342. },
  31343. "handlestatus": {
  31344. "description": "处理状态",
  31345. "type": "integer"
  31346. },
  31347. "logincode": {
  31348. "description": "账号(登录代码, 有可能为空)",
  31349. "type": "string"
  31350. },
  31351. "marketid": {
  31352. "description": "市场ID",
  31353. "type": "integer"
  31354. },
  31355. "phonenum": {
  31356. "description": "提货人联系方式",
  31357. "type": "string"
  31358. },
  31359. "pickupgoodsagreeunit": {
  31360. "description": "提货商品合约乘数",
  31361. "type": "number"
  31362. },
  31363. "pickupgoodsid": {
  31364. "description": "提货商品ID",
  31365. "type": "string"
  31366. },
  31367. "pickupgoodsname": {
  31368. "description": "提货商品名称",
  31369. "type": "string"
  31370. },
  31371. "pickupgoodsqty": {
  31372. "description": "提货商品手数(数量)",
  31373. "type": "number"
  31374. },
  31375. "pickupgoodsunitid": {
  31376. "description": "单位ID(提货商品)",
  31377. "type": "integer"
  31378. },
  31379. "pickupratio": {
  31380. "description": "提货系数",
  31381. "type": "number"
  31382. },
  31383. "preparedays": {
  31384. "description": "备货期(天)-提货单明细表",
  31385. "type": "integer"
  31386. },
  31387. "provinceid": {
  31388. "description": "省",
  31389. "type": "integer"
  31390. },
  31391. "provincename": {
  31392. "description": "省名称",
  31393. "type": "string"
  31394. },
  31395. "qty": {
  31396. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  31397. "type": "number"
  31398. },
  31399. "qtydecimalplace": {
  31400. "description": "商品数量小数位",
  31401. "type": "integer"
  31402. },
  31403. "recivername": {
  31404. "description": "提货人姓名",
  31405. "type": "string"
  31406. },
  31407. "reqtime": {
  31408. "description": "提货申请时间",
  31409. "type": "string"
  31410. },
  31411. "storeuserid": {
  31412. "description": "门店用户ID (千海金)",
  31413. "type": "integer"
  31414. },
  31415. "storeusername": {
  31416. "description": "门店用户名称",
  31417. "type": "string"
  31418. },
  31419. "takemode": {
  31420. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  31421. "type": "integer"
  31422. },
  31423. "takeorderid": {
  31424. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  31425. "type": "string"
  31426. },
  31427. "takeorderstatus": {
  31428. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  31429. "type": "integer"
  31430. },
  31431. "takeremark": {
  31432. "description": "提货备注",
  31433. "type": "string"
  31434. },
  31435. "tradedate": {
  31436. "description": "交易日(yyyyMMdd)",
  31437. "type": "string"
  31438. },
  31439. "updatetime": {
  31440. "description": "更新时间",
  31441. "type": "string"
  31442. },
  31443. "userid": {
  31444. "description": "用户ID",
  31445. "type": "integer"
  31446. },
  31447. "userinfotype": {
  31448. "description": "客户类型 1-个人 2-企业",
  31449. "type": "integer"
  31450. },
  31451. "username": {
  31452. "description": "用户名称",
  31453. "type": "string"
  31454. }
  31455. }
  31456. },
  31457. "models.QhjUserNodeCfgAndStatus": {
  31458. "type": "object",
  31459. "properties": {
  31460. "agreementcontent": {
  31461. "description": "协议内容",
  31462. "type": "string"
  31463. },
  31464. "agreementid": {
  31465. "description": "协议ID",
  31466. "type": "integer"
  31467. },
  31468. "agreementname": {
  31469. "description": "协议名称",
  31470. "type": "string"
  31471. },
  31472. "agreementno": {
  31473. "description": "协议编号",
  31474. "type": "string"
  31475. },
  31476. "agreementtype": {
  31477. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31478. "type": "integer"
  31479. },
  31480. "agreementversion": {
  31481. "description": "协议版本号",
  31482. "type": "integer"
  31483. },
  31484. "configid": {
  31485. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  31486. "type": "integer"
  31487. },
  31488. "createtime": {
  31489. "description": "创建时间",
  31490. "type": "string"
  31491. },
  31492. "goodsid": {
  31493. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31494. "type": "integer"
  31495. },
  31496. "nodetype": {
  31497. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  31498. "type": "integer"
  31499. },
  31500. "signtimestamp": {
  31501. "description": "签约状态时间戳(最近一次)",
  31502. "type": "string"
  31503. },
  31504. "tradedate": {
  31505. "description": "签约交易日(yyyyMMdd)",
  31506. "type": "string"
  31507. },
  31508. "userid": {
  31509. "description": "客户ID",
  31510. "type": "integer"
  31511. }
  31512. }
  31513. },
  31514. "models.Qhjgoodsex": {
  31515. "type": "object",
  31516. "properties": {
  31517. "canfinance": {
  31518. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  31519. "type": "integer"
  31520. },
  31521. "canregularlybuy": {
  31522. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  31523. "type": "integer"
  31524. },
  31525. "defaulttradeuserid": {
  31526. "description": "默认交易用户ID",
  31527. "type": "integer"
  31528. },
  31529. "deliverygoodsid": {
  31530. "description": "现货品种ID",
  31531. "type": "integer"
  31532. },
  31533. "goodsid": {
  31534. "description": "商品ID(自增ID SEQ_GOODS)",
  31535. "type": "integer"
  31536. },
  31537. "minamount": {
  31538. "description": "最小购买金额",
  31539. "type": "number"
  31540. },
  31541. "regularlybuyminamount": {
  31542. "description": "定投最小金额",
  31543. "type": "number"
  31544. },
  31545. "regularlybuyminqty": {
  31546. "description": "定投最小数量",
  31547. "type": "number"
  31548. },
  31549. "spotgoodsbrandid": {
  31550. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  31551. "type": "integer"
  31552. },
  31553. "visibilityforenterprise": {
  31554. "description": "企业客户是否可见 - 0:不可见 1:可见",
  31555. "type": "integer"
  31556. },
  31557. "visibilityforpersonal": {
  31558. "description": "个人客户是否可见 - 0:不可见 1:可见",
  31559. "type": "integer"
  31560. },
  31561. "wrstandardid": {
  31562. "description": "现货商品ID",
  31563. "type": "integer"
  31564. }
  31565. }
  31566. },
  31567. "models.QueryErrorInfosRsp": {
  31568. "type": "object",
  31569. "required": [
  31570. "errorid"
  31571. ],
  31572. "properties": {
  31573. "description": {
  31574. "description": "异常描述",
  31575. "type": "string"
  31576. },
  31577. "errorcode": {
  31578. "description": "异常代码",
  31579. "type": "string"
  31580. },
  31581. "errorid": {
  31582. "description": "异常ID",
  31583. "type": "integer"
  31584. },
  31585. "modulecode": {
  31586. "description": "所属模块",
  31587. "type": "string"
  31588. },
  31589. "operatecode": {
  31590. "description": "所属操作",
  31591. "type": "string"
  31592. },
  31593. "rownumber": {
  31594. "description": "行号",
  31595. "type": "string"
  31596. }
  31597. }
  31598. },
  31599. "models.QueryHedgeOrderDetailRsp": {
  31600. "type": "object",
  31601. "properties": {
  31602. "accountid": {
  31603. "description": "账户ID",
  31604. "type": "integer"
  31605. },
  31606. "buyorsell": {
  31607. "description": "买卖 - 0:买 1:卖",
  31608. "type": "integer"
  31609. },
  31610. "cancellogincode": {
  31611. "description": "撤单人",
  31612. "type": "string"
  31613. },
  31614. "channelbuildtype": {
  31615. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  31616. "type": "integer"
  31617. },
  31618. "channelinnerorderstatus": {
  31619. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  31620. "type": "integer"
  31621. },
  31622. "channeloperatetype": {
  31623. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  31624. "type": "integer"
  31625. },
  31626. "closetype": {
  31627. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31628. "type": "integer"
  31629. },
  31630. "curexchangerate": {
  31631. "description": "当前汇率",
  31632. "type": "number"
  31633. },
  31634. "exchangefullname": {
  31635. "description": "外部交易所全称",
  31636. "type": "string"
  31637. },
  31638. "goodscode": {
  31639. "description": "商品代码(内部)",
  31640. "type": "string"
  31641. },
  31642. "goodsid": {
  31643. "description": "商品ID",
  31644. "type": "integer"
  31645. },
  31646. "goodsname": {
  31647. "description": "商品名称",
  31648. "type": "string"
  31649. },
  31650. "marketid": {
  31651. "description": "市场ID",
  31652. "type": "integer"
  31653. },
  31654. "openfreezemargin": {
  31655. "description": "冻结保证金(冻结交易金额)",
  31656. "type": "number"
  31657. },
  31658. "orderid": {
  31659. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31660. "type": "string"
  31661. },
  31662. "orderlogincode": {
  31663. "description": "委托人",
  31664. "type": "string"
  31665. },
  31666. "orderprice": {
  31667. "description": "委托价格(账户)",
  31668. "type": "number"
  31669. },
  31670. "orderqty": {
  31671. "description": "委托数量",
  31672. "type": "integer"
  31673. },
  31674. "ordertime": {
  31675. "description": "委托时间",
  31676. "type": "string"
  31677. },
  31678. "pricemode": {
  31679. "description": "取价方式 - 1:市价 2: 限价",
  31680. "type": "integer"
  31681. },
  31682. "tradedate": {
  31683. "description": "交易日(yyyyMMdd)",
  31684. "type": "string"
  31685. },
  31686. "tradeqty": {
  31687. "description": "成交数量",
  31688. "type": "integer"
  31689. }
  31690. }
  31691. },
  31692. "models.QueryHedgeTradeDetailRsp": {
  31693. "type": "object",
  31694. "properties": {
  31695. "accountid": {
  31696. "description": "账号ID",
  31697. "type": "integer"
  31698. },
  31699. "buyorsell": {
  31700. "description": "方向 - 0:买 1:卖",
  31701. "type": "integer"
  31702. },
  31703. "channelbuildtype": {
  31704. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31705. "type": "integer"
  31706. },
  31707. "closecharge": {
  31708. "description": "平仓手续费(账户)",
  31709. "type": "number"
  31710. },
  31711. "closecharge2": {
  31712. "description": "平仓手续费(商品)",
  31713. "type": "number"
  31714. },
  31715. "closepl": {
  31716. "description": "平仓盈亏(账户)",
  31717. "type": "number"
  31718. },
  31719. "closepl2": {
  31720. "description": "平仓盈亏(商品)",
  31721. "type": "number"
  31722. },
  31723. "closepl3": {
  31724. "description": "平仓盈亏(账户)(逐笔)",
  31725. "type": "number"
  31726. },
  31727. "closepl4": {
  31728. "description": "平仓盈亏(商品)(逐笔)",
  31729. "type": "number"
  31730. },
  31731. "closetype": {
  31732. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31733. "type": "integer"
  31734. },
  31735. "curexchangerate": {
  31736. "description": "当前汇率",
  31737. "type": "number"
  31738. },
  31739. "exchangefullname": {
  31740. "description": "外部交易所全称",
  31741. "type": "string"
  31742. },
  31743. "goodscode": {
  31744. "description": "商品代码(内部)",
  31745. "type": "string"
  31746. },
  31747. "goodsid": {
  31748. "description": "商品ID",
  31749. "type": "integer"
  31750. },
  31751. "goodsname": {
  31752. "description": "商品名称",
  31753. "type": "string"
  31754. },
  31755. "marketid": {
  31756. "description": "市场ID",
  31757. "type": "integer"
  31758. },
  31759. "opencharge": {
  31760. "description": "建仓手续费(账户)",
  31761. "type": "number"
  31762. },
  31763. "opencharge2": {
  31764. "description": "建仓手续费(商品)",
  31765. "type": "number"
  31766. },
  31767. "orderid": {
  31768. "description": "委托单号",
  31769. "type": "string"
  31770. },
  31771. "orderlogincode": {
  31772. "description": "委托人",
  31773. "type": "string"
  31774. },
  31775. "tradeamount": {
  31776. "description": "成交金额(账户)",
  31777. "type": "number"
  31778. },
  31779. "tradedate": {
  31780. "description": "交易日(yyyyMMdd)",
  31781. "type": "string"
  31782. },
  31783. "tradeid": {
  31784. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31785. "type": "string"
  31786. },
  31787. "tradeprice": {
  31788. "description": "成交价格",
  31789. "type": "number"
  31790. },
  31791. "tradeqty": {
  31792. "description": "成交数量",
  31793. "type": "integer"
  31794. },
  31795. "tradetime": {
  31796. "description": "成交时间",
  31797. "type": "string"
  31798. },
  31799. "tradetype": {
  31800. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  31801. "type": "integer"
  31802. }
  31803. }
  31804. },
  31805. "models.QuotePrimaryMenu": {
  31806. "type": "object",
  31807. "properties": {
  31808. "Index": {
  31809. "description": "序号",
  31810. "type": "integer"
  31811. },
  31812. "Key": {
  31813. "description": "键名",
  31814. "type": "string"
  31815. },
  31816. "Name": {
  31817. "description": "菜单名称",
  31818. "type": "string"
  31819. },
  31820. "SubMenus": {
  31821. "description": "子菜单",
  31822. "type": "array",
  31823. "items": {
  31824. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  31825. }
  31826. },
  31827. "SubTitleType": {
  31828. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  31829. "type": "integer"
  31830. },
  31831. "TradeModes": {
  31832. "description": "包含市场交易类型",
  31833. "type": "string"
  31834. }
  31835. }
  31836. },
  31837. "models.QuoteSecondaryMenu": {
  31838. "type": "object",
  31839. "properties": {
  31840. "ExExchangeCode": {
  31841. "description": "外部交易所代码",
  31842. "type": "string"
  31843. },
  31844. "ExExchangeID": {
  31845. "description": "外部交易所ID",
  31846. "type": "integer"
  31847. },
  31848. "GoodsGroupIDs": {
  31849. "description": "商品组ID列表",
  31850. "type": "array",
  31851. "items": {
  31852. "type": "integer"
  31853. }
  31854. },
  31855. "Index": {
  31856. "description": "序号",
  31857. "type": "integer"
  31858. },
  31859. "MarketID": {
  31860. "description": "市场ID",
  31861. "type": "integer"
  31862. },
  31863. "MenuTitle": {
  31864. "description": "菜单标题(市场名称或外部交易所名称)",
  31865. "type": "string"
  31866. },
  31867. "TradeMode": {
  31868. "description": "交易模式",
  31869. "type": "integer"
  31870. }
  31871. }
  31872. },
  31873. "models.RoleMenu": {
  31874. "type": "object",
  31875. "properties": {
  31876. "hasright": {
  31877. "description": "是否有权限 0-没有权限 1-有权限",
  31878. "type": "integer"
  31879. },
  31880. "iconame": {
  31881. "description": "菜单图标",
  31882. "type": "string"
  31883. },
  31884. "menutype": {
  31885. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  31886. "type": "integer"
  31887. },
  31888. "parentcode": {
  31889. "description": "上级资源代码",
  31890. "type": "string"
  31891. },
  31892. "remark": {
  31893. "description": "菜单备注",
  31894. "type": "string"
  31895. },
  31896. "resourcecode": {
  31897. "description": "菜单代码",
  31898. "type": "string"
  31899. },
  31900. "resourcelevel": {
  31901. "description": "级别",
  31902. "type": "integer"
  31903. },
  31904. "resourcename": {
  31905. "description": "菜单名称",
  31906. "type": "string"
  31907. },
  31908. "roleid": {
  31909. "description": "角色id",
  31910. "type": "integer"
  31911. },
  31912. "sort": {
  31913. "description": "排序",
  31914. "type": "integer"
  31915. },
  31916. "subMenu": {
  31917. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  31918. "type": "array",
  31919. "items": {
  31920. "$ref": "#/definitions/models.RoleMenu"
  31921. }
  31922. },
  31923. "url": {
  31924. "description": "URL",
  31925. "type": "string"
  31926. },
  31927. "userid": {
  31928. "description": "用户id",
  31929. "type": "integer"
  31930. }
  31931. }
  31932. },
  31933. "models.SearchGoods": {
  31934. "type": "object",
  31935. "required": [
  31936. "goodscode",
  31937. "goodsid",
  31938. "goodsname",
  31939. "marketid",
  31940. "trademode"
  31941. ],
  31942. "properties": {
  31943. "goodscode": {
  31944. "description": "商品代码(内部)",
  31945. "type": "string"
  31946. },
  31947. "goodsid": {
  31948. "description": "商品ID(自增ID SEQ_GOODS)",
  31949. "type": "integer"
  31950. },
  31951. "goodsname": {
  31952. "description": "商品名称",
  31953. "type": "string"
  31954. },
  31955. "marketid": {
  31956. "description": "所属市场ID",
  31957. "type": "integer"
  31958. },
  31959. "marketname": {
  31960. "description": "市场名称",
  31961. "type": "string"
  31962. },
  31963. "trademode": {
  31964. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31965. "type": "integer"
  31966. }
  31967. }
  31968. },
  31969. "models.Systemparam": {
  31970. "type": "object",
  31971. "required": [
  31972. "paramcode"
  31973. ],
  31974. "properties": {
  31975. "loginid": {
  31976. "description": "更新用户账号,登录账号",
  31977. "type": "string"
  31978. },
  31979. "modifyflag": {
  31980. "description": "修改标志0 不允许修改 1 允许修改",
  31981. "type": "integer"
  31982. },
  31983. "paramcode": {
  31984. "description": "参数代码",
  31985. "type": "string"
  31986. },
  31987. "paramname": {
  31988. "description": "参数名",
  31989. "type": "string"
  31990. },
  31991. "paramtype": {
  31992. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  31993. "type": "integer"
  31994. },
  31995. "paramvalue": {
  31996. "description": "参数值",
  31997. "type": "string"
  31998. },
  31999. "paramvalue2": {
  32000. "description": "参数值(CLOB)",
  32001. "type": "string"
  32002. },
  32003. "regexpress": {
  32004. "description": "正则表达式",
  32005. "type": "string"
  32006. },
  32007. "remark": {
  32008. "description": "备注",
  32009. "type": "string"
  32010. },
  32011. "serverip": {
  32012. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  32013. "type": "string"
  32014. },
  32015. "showflag": {
  32016. "description": "是否显示0 不显示 1 显示",
  32017. "type": "integer"
  32018. },
  32019. "updatetime": {
  32020. "description": "更新时间",
  32021. "type": "string"
  32022. },
  32023. "userid": {
  32024. "description": "更新用户ID",
  32025. "type": "integer"
  32026. }
  32027. }
  32028. },
  32029. "models.Szdz3convertconfig": {
  32030. "type": "object",
  32031. "required": [
  32032. "converttype",
  32033. "innergoodsid",
  32034. "outergoodscode"
  32035. ],
  32036. "properties": {
  32037. "canin": {
  32038. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  32039. "type": "integer"
  32040. },
  32041. "canout": {
  32042. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  32043. "type": "integer"
  32044. },
  32045. "converttype": {
  32046. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  32047. "type": "integer"
  32048. },
  32049. "createtime": {
  32050. "description": "创建时间",
  32051. "type": "string"
  32052. },
  32053. "creatorid": {
  32054. "description": "创建人",
  32055. "type": "integer"
  32056. },
  32057. "daymaxvalue": {
  32058. "description": "当日最大转入限制",
  32059. "type": "number"
  32060. },
  32061. "freezedays": {
  32062. "description": "冻结天数 [5:花生米转交易]",
  32063. "type": "integer"
  32064. },
  32065. "innergoodsid": {
  32066. "description": "内部商品ID[交易]",
  32067. "type": "integer"
  32068. },
  32069. "inratio": {
  32070. "description": "目标值",
  32071. "type": "integer"
  32072. },
  32073. "modifierid": {
  32074. "description": "修改人",
  32075. "type": "integer"
  32076. },
  32077. "modifytime": {
  32078. "description": "修改时间",
  32079. "type": "string"
  32080. },
  32081. "outergoodscode": {
  32082. "description": "外部商品代码[JD\\PD]",
  32083. "type": "string"
  32084. },
  32085. "outratio": {
  32086. "description": "源值",
  32087. "type": "integer"
  32088. },
  32089. "pddecimalplace": {
  32090. "description": "PD小数位",
  32091. "type": "integer"
  32092. },
  32093. "timemaxvalue": {
  32094. "description": "单次最大转入限制",
  32095. "type": "number"
  32096. },
  32097. "timeminvalue": {
  32098. "description": "单次最小转入限制",
  32099. "type": "number"
  32100. }
  32101. }
  32102. },
  32103. "models.Szdz3searchwhitelist": {
  32104. "type": "object",
  32105. "required": [
  32106. "userid"
  32107. ],
  32108. "properties": {
  32109. "createtime": {
  32110. "description": "创建时间",
  32111. "type": "string"
  32112. },
  32113. "creatorid": {
  32114. "description": "创建人",
  32115. "type": "integer"
  32116. },
  32117. "modifierid": {
  32118. "description": "修改人",
  32119. "type": "integer"
  32120. },
  32121. "modifytime": {
  32122. "description": "修改时间",
  32123. "type": "string"
  32124. },
  32125. "userid": {
  32126. "description": "用户ID",
  32127. "type": "integer"
  32128. }
  32129. }
  32130. },
  32131. "models.TBGoods": {
  32132. "type": "object",
  32133. "properties": {
  32134. "agreeunit": {
  32135. "description": "合约乘数",
  32136. "type": "number"
  32137. },
  32138. "enumdicname": {
  32139. "description": "单位名称",
  32140. "type": "string"
  32141. },
  32142. "goodscode": {
  32143. "description": "商品代码(内部)",
  32144. "type": "string"
  32145. },
  32146. "goodsid": {
  32147. "description": "商品ID(自增ID SEQ_GOODS)",
  32148. "type": "integer"
  32149. },
  32150. "goodsname": {
  32151. "description": "商品名称",
  32152. "type": "string"
  32153. }
  32154. }
  32155. },
  32156. "models.TBGoodsGroup": {
  32157. "type": "object",
  32158. "properties": {
  32159. "GDLST": {
  32160. "description": "商品列表",
  32161. "type": "array",
  32162. "items": {
  32163. "$ref": "#/definitions/models.TBGoods"
  32164. }
  32165. },
  32166. "convertratio": {
  32167. "description": "折算系数",
  32168. "type": "number"
  32169. },
  32170. "enumdicname": {
  32171. "description": "单位名称",
  32172. "type": "string"
  32173. },
  32174. "exexchangecode": {
  32175. "description": "交易所代码",
  32176. "type": "string"
  32177. },
  32178. "exexchangename": {
  32179. "description": "交易所名称",
  32180. "type": "string"
  32181. },
  32182. "goodsgroupid": {
  32183. "description": "商品组ID(自增ID)",
  32184. "type": "integer"
  32185. },
  32186. "goodsgroupname": {
  32187. "description": "商品组名称",
  32188. "type": "string"
  32189. },
  32190. "goodunitid": {
  32191. "description": "报价单位ID",
  32192. "type": "integer"
  32193. }
  32194. }
  32195. },
  32196. "models.TBMiddleGoods": {
  32197. "type": "object",
  32198. "properties": {
  32199. "GPLST": {
  32200. "description": "期货品种列表",
  32201. "type": "array",
  32202. "items": {
  32203. "$ref": "#/definitions/models.TBGoodsGroup"
  32204. }
  32205. },
  32206. "WDLST": {
  32207. "description": "商品信息列表(现货品类)",
  32208. "type": "array",
  32209. "items": {
  32210. "$ref": "#/definitions/models.TBWrstandard"
  32211. }
  32212. },
  32213. "areauserid": {
  32214. "description": "机构用户ID",
  32215. "type": "integer"
  32216. },
  32217. "enumdicname": {
  32218. "description": "单位名称",
  32219. "type": "string"
  32220. },
  32221. "goodsunitid": {
  32222. "description": "套保品种单位id",
  32223. "type": "integer"
  32224. },
  32225. "middlegoodscode": {
  32226. "description": "套保品种代码",
  32227. "type": "string"
  32228. },
  32229. "middlegoodsid": {
  32230. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  32231. "type": "integer"
  32232. },
  32233. "middlegoodsname": {
  32234. "description": "套保品种名称",
  32235. "type": "string"
  32236. },
  32237. "needarbitrageratio": {
  32238. "description": "套利比率",
  32239. "type": "number"
  32240. },
  32241. "needhedgeratio": {
  32242. "description": "套保比率",
  32243. "type": "number"
  32244. }
  32245. }
  32246. },
  32247. "models.TBWrstandard": {
  32248. "type": "object",
  32249. "properties": {
  32250. "convertratio": {
  32251. "description": "折算系数",
  32252. "type": "number"
  32253. },
  32254. "deliverygoodsname": {
  32255. "description": "品种名称",
  32256. "type": "string"
  32257. },
  32258. "enumdicname": {
  32259. "description": "单位名称",
  32260. "type": "string"
  32261. },
  32262. "vatrate": {
  32263. "description": "增值税率",
  32264. "type": "number"
  32265. },
  32266. "wrstandardcode": {
  32267. "description": "现货商品代码",
  32268. "type": "string"
  32269. },
  32270. "wrstandardid": {
  32271. "description": "现货商品ID(SEQ_WRSTANDARD)",
  32272. "type": "integer"
  32273. },
  32274. "wrstandardname": {
  32275. "description": "现货商品名称",
  32276. "type": "string"
  32277. }
  32278. }
  32279. },
  32280. "models.Taaccount": {
  32281. "type": "object",
  32282. "required": [
  32283. "accountid",
  32284. "userid"
  32285. ],
  32286. "properties": {
  32287. "accountflag": {
  32288. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  32289. "type": "integer"
  32290. },
  32291. "accountid": {
  32292. "description": "资金账户ID",
  32293. "type": "integer"
  32294. },
  32295. "accountname": {
  32296. "description": "账户名称",
  32297. "type": "string"
  32298. },
  32299. "balance": {
  32300. "description": "期初余额",
  32301. "type": "number"
  32302. },
  32303. "capitalbalance": {
  32304. "description": "本金余额[外部子账户实际出入金余额]",
  32305. "type": "number"
  32306. },
  32307. "changeflag": {
  32308. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  32309. "type": "integer"
  32310. },
  32311. "changetime": {
  32312. "description": "账户状态变更时间",
  32313. "type": "string"
  32314. },
  32315. "closepl": {
  32316. "description": "今日平仓盈亏",
  32317. "type": "number"
  32318. },
  32319. "creditdecrease": {
  32320. "description": "今日授信减少",
  32321. "type": "number"
  32322. },
  32323. "creditincrease": {
  32324. "description": "今日授信增加",
  32325. "type": "number"
  32326. },
  32327. "curamount": {
  32328. "description": "总市值(从持仓中统计)",
  32329. "type": "number"
  32330. },
  32331. "currencyid": {
  32332. "description": "货币ID",
  32333. "type": "integer"
  32334. },
  32335. "currentbalance": {
  32336. "description": "期末余额",
  32337. "type": "number"
  32338. },
  32339. "freezecharge": {
  32340. "description": "手续费冻结",
  32341. "type": "number"
  32342. },
  32343. "freezemargin": {
  32344. "description": "冻结保证金",
  32345. "type": "number"
  32346. },
  32347. "fromaccountid": {
  32348. "description": "所属上级账户",
  32349. "type": "integer"
  32350. },
  32351. "inamount": {
  32352. "description": "今日入金金额(包括三方入金)",
  32353. "type": "number"
  32354. },
  32355. "ismain": {
  32356. "description": "是否母账号 0:不是母账户 1:是母账户",
  32357. "type": "integer"
  32358. },
  32359. "ismarketaccount": {
  32360. "description": "是否机构接单账号 0:不是 1:是",
  32361. "type": "integer"
  32362. },
  32363. "isreckonaccount": {
  32364. "description": "是否机构分润账号 0:不是 1:是",
  32365. "type": "integer"
  32366. },
  32367. "mortgagecredit": {
  32368. "description": "授信金额",
  32369. "type": "number"
  32370. },
  32371. "orifreezecharge": {
  32372. "description": "期初手续费冻结",
  32373. "type": "number"
  32374. },
  32375. "orifreezemargin": {
  32376. "description": "期初冻结保证金",
  32377. "type": "number"
  32378. },
  32379. "orimortgagecredit": {
  32380. "description": "期初授信金额",
  32381. "type": "number"
  32382. },
  32383. "oriothercredit": {
  32384. "description": "期初其它授信金额",
  32385. "type": "number"
  32386. },
  32387. "oriotherfreezemargin": {
  32388. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  32389. "type": "number"
  32390. },
  32391. "orioutamountfreeze": {
  32392. "description": "期初出金冻结",
  32393. "type": "number"
  32394. },
  32395. "oriusedmargin": {
  32396. "description": "期初占用保证金",
  32397. "type": "number"
  32398. },
  32399. "othercredit": {
  32400. "description": "其它授信金额",
  32401. "type": "number"
  32402. },
  32403. "othercreditdecrease": {
  32404. "description": "今日其它授信减少",
  32405. "type": "number"
  32406. },
  32407. "othercreditincrease": {
  32408. "description": "今日其它授信增加",
  32409. "type": "number"
  32410. },
  32411. "otherfreezemargin": {
  32412. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  32413. "type": "number"
  32414. },
  32415. "otherincome": {
  32416. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  32417. "type": "number"
  32418. },
  32419. "otherpay": {
  32420. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  32421. "type": "number"
  32422. },
  32423. "outamount": {
  32424. "description": "今日出金金额(包括三方出金)",
  32425. "type": "number"
  32426. },
  32427. "outamountfreeze": {
  32428. "description": "出金冻结",
  32429. "type": "number"
  32430. },
  32431. "outthreshold": {
  32432. "description": "出金阈值",
  32433. "type": "number"
  32434. },
  32435. "parentaccountid": {
  32436. "description": "所属根账号",
  32437. "type": "integer"
  32438. },
  32439. "paycharge": {
  32440. "description": "今日手续费支出",
  32441. "type": "number"
  32442. },
  32443. "relatedaccountstatus": {
  32444. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  32445. "type": "integer"
  32446. },
  32447. "relateduserid": {
  32448. "description": "关联用户",
  32449. "type": "integer"
  32450. },
  32451. "remainamount": {
  32452. "description": "融资额(从融资合同中统计)",
  32453. "type": "number"
  32454. },
  32455. "serivcegroup": {
  32456. "description": "服务分组",
  32457. "type": "integer"
  32458. },
  32459. "signstatus": {
  32460. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  32461. "type": "integer"
  32462. },
  32463. "sublevelpath": {
  32464. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  32465. "type": "string"
  32466. },
  32467. "taaccounttype": {
  32468. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  32469. "type": "integer"
  32470. },
  32471. "thirdinamount": {
  32472. "description": "今日三方入金",
  32473. "type": "number"
  32474. },
  32475. "thirdoutamount": {
  32476. "description": "今日三方出金",
  32477. "type": "number"
  32478. },
  32479. "tradestatus": {
  32480. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  32481. "type": "integer"
  32482. },
  32483. "tradestatuschangetime": {
  32484. "description": "激活时间",
  32485. "type": "string"
  32486. },
  32487. "transferamount": {
  32488. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  32489. "type": "number"
  32490. },
  32491. "usedmargin": {
  32492. "description": "占用保证金",
  32493. "type": "number"
  32494. },
  32495. "userid": {
  32496. "description": "用户ID",
  32497. "type": "integer"
  32498. }
  32499. }
  32500. },
  32501. "models.Tablecolumnconfig": {
  32502. "type": "object",
  32503. "required": [
  32504. "autoid"
  32505. ],
  32506. "properties": {
  32507. "aligntype": {
  32508. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  32509. "type": "integer"
  32510. },
  32511. "autoid": {
  32512. "description": "AutoID",
  32513. "type": "integer"
  32514. },
  32515. "columnfield": {
  32516. "description": "列字段",
  32517. "type": "string"
  32518. },
  32519. "columntitle": {
  32520. "description": "列Title",
  32521. "type": "string"
  32522. },
  32523. "columnwidth": {
  32524. "description": "列宽",
  32525. "type": "string"
  32526. },
  32527. "formatterstring": {
  32528. "description": "格式化字符",
  32529. "type": "string"
  32530. },
  32531. "formattertype": {
  32532. "description": "格式化类型",
  32533. "type": "string"
  32534. },
  32535. "groupname": {
  32536. "description": "表头分组名称",
  32537. "type": "string"
  32538. },
  32539. "isshow": {
  32540. "description": "是否显示 - 0:不显示 1:显示",
  32541. "type": "integer"
  32542. },
  32543. "needsummary": {
  32544. "description": "是否需要汇总 - 0:不需要 1:需要",
  32545. "type": "integer"
  32546. },
  32547. "orderindex": {
  32548. "description": "顺序",
  32549. "type": "integer"
  32550. },
  32551. "remark": {
  32552. "description": "备注",
  32553. "type": "string"
  32554. },
  32555. "summarytype": {
  32556. "description": "汇总类型 - 1:加总 2:最后一个",
  32557. "type": "integer"
  32558. },
  32559. "tablekey": {
  32560. "description": "列表Key",
  32561. "type": "string"
  32562. }
  32563. }
  32564. },
  32565. "models.TjmdMarketSection": {
  32566. "type": "object",
  32567. "properties": {
  32568. "marketsectionid": {
  32569. "description": "市场版块ID(SEQ_MARKETSECTION)",
  32570. "type": "integer"
  32571. },
  32572. "marketsectionname": {
  32573. "description": "市场版块名称",
  32574. "type": "string"
  32575. },
  32576. "mlist": {
  32577. "description": "市场列表(板块下面有多少个市场)",
  32578. "type": "array",
  32579. "items": {
  32580. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  32581. }
  32582. },
  32583. "orderindex": {
  32584. "description": "排序",
  32585. "type": "integer"
  32586. },
  32587. "pictureurl": {
  32588. "description": "图片url, 规格(90*90)",
  32589. "type": "string"
  32590. },
  32591. "remark": {
  32592. "description": "备注",
  32593. "type": "string"
  32594. }
  32595. }
  32596. },
  32597. "models.TjmdMarketSectionConfig": {
  32598. "type": "object",
  32599. "properties": {
  32600. "auctionwrtype": {
  32601. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  32602. "type": "integer"
  32603. },
  32604. "canacceptquote": {
  32605. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  32606. "type": "integer"
  32607. },
  32608. "cangoodsexercise": {
  32609. "description": "[期权]是否可现货行权- 0:否 1:是",
  32610. "type": "integer"
  32611. },
  32612. "cangoodsexercisetype": {
  32613. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  32614. "type": "integer"
  32615. },
  32616. "canmanualquotestrike": {
  32617. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  32618. "type": "integer"
  32619. },
  32620. "canmutistage": {
  32621. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  32622. "type": "integer"
  32623. },
  32624. "canpreexercise": {
  32625. "description": "[期权]是否可预申报- 0:否 1:是",
  32626. "type": "integer"
  32627. },
  32628. "clearinterval": {
  32629. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  32630. "type": "integer"
  32631. },
  32632. "contracttmp": {
  32633. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  32634. "type": "string"
  32635. },
  32636. "exchareaid": {
  32637. "description": "所属交易所,可以没有",
  32638. "type": "integer"
  32639. },
  32640. "financemarketid": {
  32641. "description": "融资回购市场ID [仓单贸易]",
  32642. "type": "integer"
  32643. },
  32644. "goodstype": {
  32645. "description": "商品类型 - 1:交易商品 2:仓单商品",
  32646. "type": "integer"
  32647. },
  32648. "hasrebate": {
  32649. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  32650. "type": "integer"
  32651. },
  32652. "hastradecredit": {
  32653. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  32654. "type": "integer"
  32655. },
  32656. "haswr": {
  32657. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  32658. "type": "integer"
  32659. },
  32660. "isdeductmargin": {
  32661. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  32662. "type": "integer"
  32663. },
  32664. "isrecordsource": {
  32665. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  32666. "type": "integer"
  32667. },
  32668. "isreleasemargin": {
  32669. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  32670. "type": "integer"
  32671. },
  32672. "isupdatereckonprice": {
  32673. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  32674. "type": "integer"
  32675. },
  32676. "listingmode": {
  32677. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  32678. "type": "integer"
  32679. },
  32680. "marginformula": {
  32681. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32682. "type": "integer"
  32683. },
  32684. "marginformula2": {
  32685. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32686. "type": "integer"
  32687. },
  32688. "marketid": {
  32689. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  32690. "type": "integer"
  32691. },
  32692. "marketname": {
  32693. "description": "市场名称",
  32694. "type": "string"
  32695. },
  32696. "marketsectionid": {
  32697. "description": "市场版块ID(SEQ_MARKETSECTION)",
  32698. "type": "integer"
  32699. },
  32700. "marketserviceid": {
  32701. "description": "市场服务ID",
  32702. "type": "integer"
  32703. },
  32704. "marketstatus": {
  32705. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  32706. "type": "integer"
  32707. },
  32708. "markettype": {
  32709. "description": "市场类型- 1:非交易服务 2:交易服务",
  32710. "type": "integer"
  32711. },
  32712. "matchermode": {
  32713. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  32714. "type": "integer"
  32715. },
  32716. "nowrquotaflag": {
  32717. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  32718. "type": "integer"
  32719. },
  32720. "openmethod": {
  32721. "description": "开盘模式 - 0 自动 1手动",
  32722. "type": "integer"
  32723. },
  32724. "orderindex": {
  32725. "description": "排序",
  32726. "type": "integer"
  32727. },
  32728. "otcuserid": {
  32729. "description": "场外期权做市商[场外期权]",
  32730. "type": "integer"
  32731. },
  32732. "outersynctime": {
  32733. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  32734. "type": "string"
  32735. },
  32736. "paylaterflag": {
  32737. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  32738. "type": "integer"
  32739. },
  32740. "pendingflag": {
  32741. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  32742. "type": "integer"
  32743. },
  32744. "pendingtime": {
  32745. "description": "待开市时间[通道交易-对冲](HH:mm)",
  32746. "type": "string"
  32747. },
  32748. "performancetempid": {
  32749. "description": "履约计划模板ID - 作废",
  32750. "type": "integer"
  32751. },
  32752. "premiumquotemode": {
  32753. "description": "权利金报价方式 - 1:自动 2:手动",
  32754. "type": "integer"
  32755. },
  32756. "rebateratio": {
  32757. "description": "返利比率[竞价式]",
  32758. "type": "number"
  32759. },
  32760. "reckonorder": {
  32761. "description": "结算顺序",
  32762. "type": "integer"
  32763. },
  32764. "reckonpricealgorithm": {
  32765. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  32766. "type": "integer"
  32767. },
  32768. "reckonpriceparam": {
  32769. "description": "结算价参数",
  32770. "type": "integer"
  32771. },
  32772. "reckontime": {
  32773. "description": "结算时间[通道交易-对冲](HH:mm)",
  32774. "type": "string"
  32775. },
  32776. "roleprioritytype": {
  32777. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  32778. "type": "integer"
  32779. },
  32780. "selllistingauditflag": {
  32781. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  32782. "type": "integer"
  32783. },
  32784. "trademarkettype": {
  32785. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  32786. "type": "integer"
  32787. },
  32788. "trademode": {
  32789. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32790. "type": "integer"
  32791. },
  32792. "tradeproperty": {
  32793. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  32794. "type": "integer"
  32795. },
  32796. "tradetype": {
  32797. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  32798. "type": "integer"
  32799. },
  32800. "updatereckonpriceinterval": {
  32801. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  32802. "type": "integer"
  32803. }
  32804. }
  32805. },
  32806. "models.TjmdQuoteGoods": {
  32807. "type": "object",
  32808. "properties": {
  32809. "buyqty": {
  32810. "description": "买量(暂不做, 无值, 保留字段)",
  32811. "type": "number"
  32812. },
  32813. "goodscode": {
  32814. "description": "合约代码",
  32815. "type": "string"
  32816. },
  32817. "goodsgroupid": {
  32818. "description": "商品组ID(自增ID)",
  32819. "type": "integer"
  32820. },
  32821. "goodsgroupname": {
  32822. "description": "商品组名称",
  32823. "type": "string"
  32824. },
  32825. "goodsid": {
  32826. "description": "合约id",
  32827. "type": "integer"
  32828. },
  32829. "goodsname": {
  32830. "description": "合约名称",
  32831. "type": "string"
  32832. },
  32833. "refgoodscode": {
  32834. "description": "标的合约代码",
  32835. "type": "string"
  32836. },
  32837. "refgoodsid": {
  32838. "description": "标的合约id",
  32839. "type": "integer"
  32840. },
  32841. "refgoodsname": {
  32842. "description": "标的合约名称",
  32843. "type": "string"
  32844. },
  32845. "sellqty": {
  32846. "description": "卖量(暂不做, 无值, 保留字段)",
  32847. "type": "number"
  32848. }
  32849. }
  32850. },
  32851. "models.TjmdTodayAccountMargin": {
  32852. "type": "object",
  32853. "properties": {
  32854. "accountid": {
  32855. "description": "账号ID",
  32856. "type": "integer"
  32857. },
  32858. "goodsid": {
  32859. "description": "商品ID",
  32860. "type": "integer"
  32861. },
  32862. "infoc": {
  32863. "description": "配置参数",
  32864. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  32865. },
  32866. "marketid": {
  32867. "description": "市场ID",
  32868. "type": "integer"
  32869. }
  32870. }
  32871. },
  32872. "models.TjmdTradeOrderDetail": {
  32873. "type": "object",
  32874. "properties": {
  32875. "buyorsell": {
  32876. "description": "买卖方向 0-买 1-卖",
  32877. "type": "integer"
  32878. },
  32879. "goodsid": {
  32880. "description": "商品id",
  32881. "type": "integer"
  32882. },
  32883. "marketmaxsub": {
  32884. "description": "市价最大偏移范围 [浮动价 - 点差]",
  32885. "type": "number"
  32886. },
  32887. "orderid": {
  32888. "description": "委托单号",
  32889. "type": "string"
  32890. },
  32891. "orderprice": {
  32892. "description": "委托价格",
  32893. "type": "number"
  32894. },
  32895. "orderqty": {
  32896. "description": "委托数量",
  32897. "type": "integer"
  32898. },
  32899. "pricemode": {
  32900. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  32901. "type": "integer"
  32902. },
  32903. "userid": {
  32904. "description": "用户id",
  32905. "type": "integer"
  32906. },
  32907. "username": {
  32908. "description": "用户名称(已脱敏)",
  32909. "type": "string"
  32910. }
  32911. }
  32912. },
  32913. "models.TjmdTransferApply": {
  32914. "type": "object",
  32915. "properties": {
  32916. "applyid": {
  32917. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  32918. "type": "integer"
  32919. },
  32920. "applystatus": {
  32921. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  32922. "type": "integer"
  32923. },
  32924. "applytime": {
  32925. "description": "申请时间(时间)",
  32926. "type": "string"
  32927. },
  32928. "auditremark": {
  32929. "description": "审核备注(拒绝原因?)",
  32930. "type": "string"
  32931. },
  32932. "begindate": {
  32933. "description": "开始交易日(yyyymmdd)",
  32934. "type": "string"
  32935. },
  32936. "buyorsell": {
  32937. "description": "买卖 - 0:买 1:卖",
  32938. "type": "integer"
  32939. },
  32940. "enddate": {
  32941. "description": "结束交易日(yyyymmdd)",
  32942. "type": "string"
  32943. },
  32944. "goodscode": {
  32945. "description": "商品代码",
  32946. "type": "string"
  32947. },
  32948. "goodsid": {
  32949. "description": "商品ID",
  32950. "type": "integer"
  32951. },
  32952. "goodsname": {
  32953. "description": "商品名称",
  32954. "type": "string"
  32955. },
  32956. "marketid": {
  32957. "description": "市场ID",
  32958. "type": "integer"
  32959. },
  32960. "qty": {
  32961. "description": "转让数量(数量)",
  32962. "type": "number"
  32963. },
  32964. "tradeid": {
  32965. "description": "成交单号(关联持仓)",
  32966. "type": "string"
  32967. },
  32968. "transferamount": {
  32969. "description": "转让总金额(金额)",
  32970. "type": "number"
  32971. },
  32972. "transferprice": {
  32973. "description": "转让价格(协议价格)",
  32974. "type": "number"
  32975. }
  32976. }
  32977. },
  32978. "models.TradeHolderDetail": {
  32979. "type": "object",
  32980. "properties": {
  32981. "accountid": {
  32982. "description": "账号ID",
  32983. "type": "integer"
  32984. },
  32985. "agreeunit": {
  32986. "description": "合约乘数",
  32987. "type": "number"
  32988. },
  32989. "buyorsell": {
  32990. "description": "方向 - 0:买 1:卖",
  32991. "type": "integer"
  32992. },
  32993. "currencyid": {
  32994. "description": "商品币种id",
  32995. "type": "integer"
  32996. },
  32997. "currencyname": {
  32998. "description": "币种名称",
  32999. "type": "string"
  33000. },
  33001. "decimalplace": {
  33002. "description": "商品价格小数位",
  33003. "type": "integer"
  33004. },
  33005. "enumdicname": {
  33006. "description": "商品单位名称",
  33007. "type": "string"
  33008. },
  33009. "expirecycle": {
  33010. "description": "行权周期(天) - 1:滚动行权时填写",
  33011. "type": "integer"
  33012. },
  33013. "expiredate": {
  33014. "description": "行权日(yyyyMMdd) - 到期日",
  33015. "type": "string"
  33016. },
  33017. "expiretype": {
  33018. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  33019. "type": "integer"
  33020. },
  33021. "freezeqty": {
  33022. "description": "冻结数量",
  33023. "type": "number"
  33024. },
  33025. "goodscode": {
  33026. "description": "商品代码",
  33027. "type": "string"
  33028. },
  33029. "goodsid": {
  33030. "description": "商品ID",
  33031. "type": "integer"
  33032. },
  33033. "goodsname": {
  33034. "description": "商品名称",
  33035. "type": "string"
  33036. },
  33037. "goodunitid": {
  33038. "description": "商品单位id",
  33039. "type": "integer"
  33040. },
  33041. "holderamount": {
  33042. "description": "持仓金额",
  33043. "type": "number"
  33044. },
  33045. "holdercredit": {
  33046. "description": "持仓授信金额",
  33047. "type": "number"
  33048. },
  33049. "holderdays": {
  33050. "description": "剩余冻结天数",
  33051. "type": "integer"
  33052. },
  33053. "holderprice": {
  33054. "description": "持仓价格",
  33055. "type": "number"
  33056. },
  33057. "holderqty": {
  33058. "description": "持仓数量",
  33059. "type": "number"
  33060. },
  33061. "isconfirmexercise": {
  33062. "description": "是否确认行权- 0:否 1:是",
  33063. "type": "integer"
  33064. },
  33065. "ispreexercise": {
  33066. "description": "是否预申报- 0:否 1:是 2:不可行权",
  33067. "type": "integer"
  33068. },
  33069. "marketid": {
  33070. "description": "市场id",
  33071. "type": "integer"
  33072. },
  33073. "marketname": {
  33074. "description": "市场名称",
  33075. "type": "string"
  33076. },
  33077. "openprice": {
  33078. "description": "建仓价格",
  33079. "type": "number"
  33080. },
  33081. "openqty": {
  33082. "description": "建仓数量",
  33083. "type": "number"
  33084. },
  33085. "optiontype": {
  33086. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  33087. "type": "integer"
  33088. },
  33089. "preexerciseprice": {
  33090. "description": "预申报价格",
  33091. "type": "number"
  33092. },
  33093. "premium": {
  33094. "description": "权利金",
  33095. "type": "number"
  33096. },
  33097. "qtydecimalplace": {
  33098. "description": "商品成交量小数位",
  33099. "type": "integer"
  33100. },
  33101. "refgoodscode": {
  33102. "description": "标的合约代码",
  33103. "type": "string"
  33104. },
  33105. "refgoodsid": {
  33106. "description": "标的合约id",
  33107. "type": "integer"
  33108. },
  33109. "releaseamount": {
  33110. "description": "释放持仓金额",
  33111. "type": "number"
  33112. },
  33113. "releaseholdercredit": {
  33114. "description": "释放持仓授信金额",
  33115. "type": "number"
  33116. },
  33117. "taname": {
  33118. "description": "资金账号名称",
  33119. "type": "string"
  33120. },
  33121. "tradeamount": {
  33122. "description": "成交金额",
  33123. "type": "number"
  33124. },
  33125. "tradedate": {
  33126. "description": "交易日(yyyyMMdd)",
  33127. "type": "string"
  33128. },
  33129. "tradeid": {
  33130. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33131. "type": "string"
  33132. },
  33133. "trademode": {
  33134. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  33135. "type": "integer"
  33136. },
  33137. "tradeproperty": {
  33138. "description": "交易属性",
  33139. "type": "integer"
  33140. },
  33141. "tradetime": {
  33142. "description": "交易时间",
  33143. "type": "string"
  33144. },
  33145. "userid": {
  33146. "description": "用户id",
  33147. "type": "integer"
  33148. },
  33149. "username": {
  33150. "description": "用户名称",
  33151. "type": "string"
  33152. }
  33153. }
  33154. },
  33155. "models.UserCollectConfig": {
  33156. "type": "object",
  33157. "properties": {
  33158. "accountstatus": {
  33159. "description": "账户状态 - 1:正常 2:停用 3:注销",
  33160. "type": "integer"
  33161. },
  33162. "collectaccountname": {
  33163. "description": "收款人账户名称",
  33164. "type": "string"
  33165. },
  33166. "collectaccountno": {
  33167. "description": "收款人账户",
  33168. "type": "string"
  33169. },
  33170. "collectbankname": {
  33171. "description": "收款人开户行",
  33172. "type": "string"
  33173. },
  33174. "collectbranchbankname": {
  33175. "description": "收款人开户支行",
  33176. "type": "string"
  33177. },
  33178. "collectconfigid": {
  33179. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  33180. "type": "string"
  33181. },
  33182. "remark": {
  33183. "description": "备注",
  33184. "type": "string"
  33185. },
  33186. "userid": {
  33187. "description": "收款人用户ID",
  33188. "type": "integer"
  33189. }
  33190. }
  33191. },
  33192. "models.UserReceiveInfo": {
  33193. "type": "object",
  33194. "properties": {
  33195. "address": {
  33196. "description": "提货人详细地址",
  33197. "type": "string"
  33198. },
  33199. "autoid": {
  33200. "description": "AutoID",
  33201. "type": "integer"
  33202. },
  33203. "cardnum": {
  33204. "description": "证件号码(加密存储)",
  33205. "type": "string"
  33206. },
  33207. "cardtypeid": {
  33208. "description": "证件类型",
  33209. "type": "integer"
  33210. },
  33211. "cityid": {
  33212. "description": "市",
  33213. "type": "integer"
  33214. },
  33215. "cityname": {
  33216. "description": "城市名称",
  33217. "type": "string"
  33218. },
  33219. "countryid": {
  33220. "description": "国家",
  33221. "type": "integer"
  33222. },
  33223. "countryname": {
  33224. "description": "国家名称",
  33225. "type": "string"
  33226. },
  33227. "districtid": {
  33228. "description": "地区",
  33229. "type": "integer"
  33230. },
  33231. "districtname": {
  33232. "description": "地区名称",
  33233. "type": "string"
  33234. },
  33235. "hasencrypt": {
  33236. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33237. "type": "integer"
  33238. },
  33239. "isdefault": {
  33240. "description": "是否默认地址 - 0:否 1:是",
  33241. "type": "integer"
  33242. },
  33243. "phonenum": {
  33244. "description": "提货人联系方式(加密存储)",
  33245. "type": "string"
  33246. },
  33247. "provinceid": {
  33248. "description": "省",
  33249. "type": "integer"
  33250. },
  33251. "provincename": {
  33252. "description": "省名称",
  33253. "type": "string"
  33254. },
  33255. "receivername": {
  33256. "description": "提货人姓名",
  33257. "type": "string"
  33258. },
  33259. "takeremark": {
  33260. "description": "提货备注",
  33261. "type": "string"
  33262. },
  33263. "userid": {
  33264. "description": "用户ID",
  33265. "type": "integer"
  33266. }
  33267. }
  33268. },
  33269. "models.Useraccount": {
  33270. "type": "object",
  33271. "required": [
  33272. "userid"
  33273. ],
  33274. "properties": {
  33275. "accountname": {
  33276. "description": "账户名称(机构名称)",
  33277. "type": "string"
  33278. },
  33279. "accountstatus": {
  33280. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  33281. "type": "integer"
  33282. },
  33283. "applysrc": {
  33284. "description": "申请来源 - 1:管理端 2:终端",
  33285. "type": "integer"
  33286. },
  33287. "auditremark": {
  33288. "description": "审核备注",
  33289. "type": "string"
  33290. },
  33291. "auditsrc": {
  33292. "description": "审核来源 - 1:管理端 2:终端",
  33293. "type": "integer"
  33294. },
  33295. "audittime": {
  33296. "description": "审核时间",
  33297. "type": "string"
  33298. },
  33299. "audituserid": {
  33300. "description": "审核人",
  33301. "type": "integer"
  33302. },
  33303. "broker": {
  33304. "description": "所属经纪人ID",
  33305. "type": "integer"
  33306. },
  33307. "canceltime": {
  33308. "description": "销户时间",
  33309. "type": "string"
  33310. },
  33311. "canceluserid": {
  33312. "description": "销户人",
  33313. "type": "integer"
  33314. },
  33315. "canrecommend": {
  33316. "description": "是否可推荐 - 0:不可 1;可",
  33317. "type": "integer"
  33318. },
  33319. "createtime": {
  33320. "description": "创建时间",
  33321. "type": "string"
  33322. },
  33323. "creatorid": {
  33324. "description": "创建人",
  33325. "type": "integer"
  33326. },
  33327. "hasauth": {
  33328. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  33329. "type": "integer"
  33330. },
  33331. "isanonymous": {
  33332. "description": "是否匿名下单 - 0:否 1:是",
  33333. "type": "integer"
  33334. },
  33335. "maxinvestornum": {
  33336. "description": "最大用户数(经纪会员下投资者个数)",
  33337. "type": "integer"
  33338. },
  33339. "memberuserid": {
  33340. "description": "所属会员ID",
  33341. "type": "integer"
  33342. },
  33343. "modifierid": {
  33344. "description": "修改人",
  33345. "type": "integer"
  33346. },
  33347. "modifyremark": {
  33348. "description": "变更备注",
  33349. "type": "string"
  33350. },
  33351. "modifystatus": {
  33352. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  33353. "type": "integer"
  33354. },
  33355. "modifytime": {
  33356. "description": "修改时间",
  33357. "type": "string"
  33358. },
  33359. "parenttopuser": {
  33360. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  33361. "type": "string"
  33362. },
  33363. "parentuserid": {
  33364. "description": "所属机构ID",
  33365. "type": "integer"
  33366. },
  33367. "reckonaccountid": {
  33368. "description": "默认结算资金账号ID(机构分润使用) 作废",
  33369. "type": "integer"
  33370. },
  33371. "refercount": {
  33372. "description": "推荐总人数",
  33373. "type": "integer"
  33374. },
  33375. "refereeuserid": {
  33376. "description": "推荐人ID",
  33377. "type": "integer"
  33378. },
  33379. "refernum": {
  33380. "description": "推荐码",
  33381. "type": "string"
  33382. },
  33383. "rootuserid": {
  33384. "description": "根用户ID",
  33385. "type": "integer"
  33386. },
  33387. "subaccountlevel": {
  33388. "description": "子账户层数",
  33389. "type": "integer"
  33390. },
  33391. "subarealevelpath": {
  33392. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  33393. "type": "string"
  33394. },
  33395. "userid": {
  33396. "description": "用户ID",
  33397. "type": "integer"
  33398. },
  33399. "usertype": {
  33400. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  33401. "type": "integer"
  33402. }
  33403. }
  33404. },
  33405. "models.Userfavoritegoods": {
  33406. "type": "object",
  33407. "required": [
  33408. "goodsid"
  33409. ],
  33410. "properties": {
  33411. "goodsid": {
  33412. "description": "商品ID",
  33413. "type": "integer"
  33414. }
  33415. }
  33416. },
  33417. "models.Userinfo": {
  33418. "type": "object",
  33419. "required": [
  33420. "userid"
  33421. ],
  33422. "properties": {
  33423. "address": {
  33424. "description": "地址",
  33425. "type": "string"
  33426. },
  33427. "attachment1": {
  33428. "description": "附件1",
  33429. "type": "string"
  33430. },
  33431. "attachment2": {
  33432. "description": "附件2",
  33433. "type": "string"
  33434. },
  33435. "bankaccount": {
  33436. "description": "银行帐号 (加密存储)",
  33437. "type": "string"
  33438. },
  33439. "bankaccountname": {
  33440. "description": "收款人名称",
  33441. "type": "string"
  33442. },
  33443. "bankcardfrontphotourl": {
  33444. "description": "银行卡正面照地址",
  33445. "type": "string"
  33446. },
  33447. "bankid": {
  33448. "description": "银行编码",
  33449. "type": "string"
  33450. },
  33451. "bankname": {
  33452. "description": "银行名称",
  33453. "type": "string"
  33454. },
  33455. "biznature": {
  33456. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  33457. "type": "integer"
  33458. },
  33459. "bizscope": {
  33460. "description": "企业经营范围(企业)",
  33461. "type": "string"
  33462. },
  33463. "cardbackphotourl": {
  33464. "description": "证件背面图片地址",
  33465. "type": "string"
  33466. },
  33467. "cardfrontphotourl": {
  33468. "description": "证件正面图片地址",
  33469. "type": "string"
  33470. },
  33471. "cardnum": {
  33472. "description": "证件号码(加密存储)",
  33473. "type": "string"
  33474. },
  33475. "cardtypeid": {
  33476. "description": "证件类型ID",
  33477. "type": "integer"
  33478. },
  33479. "cityid": {
  33480. "description": "市",
  33481. "type": "integer"
  33482. },
  33483. "company": {
  33484. "description": "公司(个人)",
  33485. "type": "string"
  33486. },
  33487. "contactname": {
  33488. "description": "联系人",
  33489. "type": "string"
  33490. },
  33491. "countryid": {
  33492. "description": "国家",
  33493. "type": "integer"
  33494. },
  33495. "createtime": {
  33496. "description": "创建时间",
  33497. "type": "string"
  33498. },
  33499. "creatorid": {
  33500. "description": "创建人",
  33501. "type": "integer"
  33502. },
  33503. "customername": {
  33504. "description": "客户名称(企业名称)",
  33505. "type": "string"
  33506. },
  33507. "districtid": {
  33508. "description": "地区",
  33509. "type": "integer"
  33510. },
  33511. "email": {
  33512. "description": "邮件(加密存储)",
  33513. "type": "string"
  33514. },
  33515. "fax": {
  33516. "description": "传真(加密存储)",
  33517. "type": "string"
  33518. },
  33519. "halfbodyphotourl": {
  33520. "description": "半身照地址",
  33521. "type": "string"
  33522. },
  33523. "hasencrypt": {
  33524. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33525. "type": "integer"
  33526. },
  33527. "headurl": {
  33528. "description": "头像地址",
  33529. "type": "string"
  33530. },
  33531. "legalcardbackphotourl": {
  33532. "description": "法人身份证背面照地址",
  33533. "type": "string"
  33534. },
  33535. "legalcardfrontphotourl": {
  33536. "description": "法人身份证正面照地址",
  33537. "type": "string"
  33538. },
  33539. "legalpersonname": {
  33540. "description": "法人姓名(企业)",
  33541. "type": "string"
  33542. },
  33543. "mobile": {
  33544. "description": "手机号码(加密存储)",
  33545. "type": "string"
  33546. },
  33547. "mobile2": {
  33548. "description": "手机号码[明文-尚志]",
  33549. "type": "string"
  33550. },
  33551. "modifierid": {
  33552. "description": "修改人",
  33553. "type": "integer"
  33554. },
  33555. "modifiertime": {
  33556. "description": "修改时间",
  33557. "type": "string"
  33558. },
  33559. "needinvoice": {
  33560. "description": "是否需要发票 - 0:不需要 1:需要",
  33561. "type": "integer"
  33562. },
  33563. "nickname": {
  33564. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  33565. "type": "string"
  33566. },
  33567. "openmode": {
  33568. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  33569. "type": "integer"
  33570. },
  33571. "otherurl": {
  33572. "description": "其它图片地址[使用分号分隔]",
  33573. "type": "string"
  33574. },
  33575. "postalcode": {
  33576. "description": "邮政编码",
  33577. "type": "string"
  33578. },
  33579. "provinceid": {
  33580. "description": "省",
  33581. "type": "integer"
  33582. },
  33583. "qq": {
  33584. "description": "QQ(加密存储",
  33585. "type": "string"
  33586. },
  33587. "remark": {
  33588. "description": "备注",
  33589. "type": "string"
  33590. },
  33591. "sex": {
  33592. "description": "用户性别 0: 女 1: 男",
  33593. "type": "integer"
  33594. },
  33595. "signpdfurl": {
  33596. "description": "签约pdf文件",
  33597. "type": "string"
  33598. },
  33599. "telphone": {
  33600. "description": "联系电话(加密存储)",
  33601. "type": "string"
  33602. },
  33603. "userid": {
  33604. "description": "用户ID",
  33605. "type": "integer"
  33606. },
  33607. "userinfotype": {
  33608. "description": "用户信息类型 - 1:个人 2:企业",
  33609. "type": "integer"
  33610. },
  33611. "userstatus": {
  33612. "description": "用户状态 - 1:正常 2:注销",
  33613. "type": "integer"
  33614. },
  33615. "usertype": {
  33616. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  33617. "type": "integer"
  33618. },
  33619. "wechat": {
  33620. "description": "微信(加密存储)",
  33621. "type": "string"
  33622. },
  33623. "wskhinfo": {
  33624. "description": "开户申请信息(JSON)",
  33625. "type": "string"
  33626. }
  33627. }
  33628. },
  33629. "models.WRSConverTDetail": {
  33630. "type": "object",
  33631. "properties": {
  33632. "convertratio": {
  33633. "description": "套保系数",
  33634. "type": "number"
  33635. },
  33636. "deliverygoodscode": {
  33637. "description": "现货商品代码",
  33638. "type": "string"
  33639. },
  33640. "deliverygoodsid": {
  33641. "description": "现货品种ID",
  33642. "type": "integer"
  33643. },
  33644. "deliverygoodsname": {
  33645. "description": "现货商品名称",
  33646. "type": "string"
  33647. },
  33648. "enumdicname": {
  33649. "description": "单位名称",
  33650. "type": "string"
  33651. },
  33652. "goodsunitid": {
  33653. "description": "套保品种单位id",
  33654. "type": "integer"
  33655. },
  33656. "middlegoodscode": {
  33657. "description": "套保品种代码",
  33658. "type": "string"
  33659. },
  33660. "middlegoodsid": {
  33661. "description": "套保品种ID",
  33662. "type": "integer"
  33663. },
  33664. "middlegoodsname": {
  33665. "description": "套保品种名称",
  33666. "type": "string"
  33667. },
  33668. "modifytime": {
  33669. "description": "修改时间",
  33670. "type": "string"
  33671. },
  33672. "wrstandardid": {
  33673. "description": "品类ID",
  33674. "type": "integer"
  33675. }
  33676. }
  33677. },
  33678. "models.WRStandardInfo": {
  33679. "type": "object",
  33680. "required": [
  33681. "wrstandardid"
  33682. ],
  33683. "properties": {
  33684. "areauserid": {
  33685. "description": "所属机构",
  33686. "type": "integer"
  33687. },
  33688. "convertfactor": {
  33689. "description": "标仓系数",
  33690. "type": "number"
  33691. },
  33692. "createtime": {
  33693. "description": "创建时间",
  33694. "type": "string"
  33695. },
  33696. "creatorid": {
  33697. "description": "创建人",
  33698. "type": "integer"
  33699. },
  33700. "deliverygoodsid": {
  33701. "description": "品种ID",
  33702. "type": "integer"
  33703. },
  33704. "deliverygoodsname": {
  33705. "description": "交割商品名称",
  33706. "type": "string"
  33707. },
  33708. "factoryitemjson": {
  33709. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  33710. "type": "string"
  33711. },
  33712. "isvalid": {
  33713. "description": "是否有效 - 0:无效 1:有效",
  33714. "type": "integer"
  33715. },
  33716. "minivalue": {
  33717. "description": "最小变动值",
  33718. "type": "integer"
  33719. },
  33720. "minivaluedp": {
  33721. "description": "最小变动值小数位",
  33722. "type": "integer"
  33723. },
  33724. "realminivalue": {
  33725. "description": "实际最小变动值",
  33726. "type": "integer"
  33727. },
  33728. "realminivaluedp": {
  33729. "description": "实际最小变动值小数位",
  33730. "type": "integer"
  33731. },
  33732. "remark": {
  33733. "description": "备注",
  33734. "type": "string"
  33735. },
  33736. "unitid": {
  33737. "description": "单位ID",
  33738. "type": "integer"
  33739. },
  33740. "unitname": {
  33741. "description": "单位",
  33742. "type": "string"
  33743. },
  33744. "updatetime": {
  33745. "description": "更新时间",
  33746. "type": "string"
  33747. },
  33748. "updatorid": {
  33749. "description": "更新人",
  33750. "type": "integer"
  33751. },
  33752. "wrsstatus": {
  33753. "description": "状态 - 作废 - 0:未激活 1:正常",
  33754. "type": "integer"
  33755. },
  33756. "wrstandardcode": {
  33757. "description": "现货品类代码",
  33758. "type": "string"
  33759. },
  33760. "wrstandardid": {
  33761. "description": "现货品类ID(SEQ_WRSTANDARD)",
  33762. "type": "integer"
  33763. },
  33764. "wrstandardname": {
  33765. "description": "现货品类名称",
  33766. "type": "string"
  33767. }
  33768. }
  33769. },
  33770. "models.WRTradeBargainApply": {
  33771. "type": "object",
  33772. "properties": {
  33773. "accountid": {
  33774. "description": "摘牌资金账号",
  33775. "type": "integer"
  33776. },
  33777. "applyprice": {
  33778. "description": "申请价格(议价价格)",
  33779. "type": "string"
  33780. },
  33781. "applyqty": {
  33782. "description": "摘牌数量(议价数量)",
  33783. "type": "number"
  33784. },
  33785. "applyremark": {
  33786. "description": "申请备注",
  33787. "type": "string"
  33788. },
  33789. "applystatus": {
  33790. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  33791. "type": "integer"
  33792. },
  33793. "applytime": {
  33794. "description": "申请时间(议价时间)",
  33795. "type": "string"
  33796. },
  33797. "begindate": {
  33798. "description": "开始交易日(yyyymmdd)",
  33799. "type": "string"
  33800. },
  33801. "buyorsell": {
  33802. "description": "买卖(挂牌类型) - 0:买 1:卖",
  33803. "type": "integer"
  33804. },
  33805. "confirmremark": {
  33806. "description": "确认备注",
  33807. "type": "string"
  33808. },
  33809. "confirmtime": {
  33810. "description": "确认时间",
  33811. "type": "string"
  33812. },
  33813. "confirmuserid": {
  33814. "description": "确认人",
  33815. "type": "integer"
  33816. },
  33817. "deliverygoodscode": {
  33818. "description": "品种代码",
  33819. "type": "string"
  33820. },
  33821. "deliverygoodsid": {
  33822. "description": "品种ID",
  33823. "type": "integer"
  33824. },
  33825. "deliverygoodsname": {
  33826. "description": "品种名称",
  33827. "type": "string"
  33828. },
  33829. "deliverymonth": {
  33830. "description": "交收月",
  33831. "type": "string"
  33832. },
  33833. "enddate": {
  33834. "description": "结束交易日(yyyymmdd)",
  33835. "type": "string"
  33836. },
  33837. "enumdicname": {
  33838. "description": "单位名称",
  33839. "type": "string"
  33840. },
  33841. "fixedprice": {
  33842. "description": "挂牌价格",
  33843. "type": "number"
  33844. },
  33845. "handlestatus": {
  33846. "description": "处理状态",
  33847. "type": "integer"
  33848. },
  33849. "marginvalue": {
  33850. "description": "履约保证金比例",
  33851. "type": "number"
  33852. },
  33853. "marketid": {
  33854. "description": "市场ID",
  33855. "type": "integer"
  33856. },
  33857. "matchaccountid": {
  33858. "description": "挂牌方资金账号",
  33859. "type": "integer"
  33860. },
  33861. "matchuserid": {
  33862. "description": "挂牌方用户id",
  33863. "type": "integer"
  33864. },
  33865. "matchusername": {
  33866. "description": "挂牌方用户名称(已脱敏)",
  33867. "type": "string"
  33868. },
  33869. "minivalue": {
  33870. "description": "现货商品最小变动值",
  33871. "type": "integer"
  33872. },
  33873. "optioncompare": {
  33874. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33875. "type": "string"
  33876. },
  33877. "orderqty": {
  33878. "description": "挂牌数量",
  33879. "type": "integer"
  33880. },
  33881. "refprice": {
  33882. "description": "参考价格",
  33883. "type": "string"
  33884. },
  33885. "retcode": {
  33886. "description": "委托返回代码",
  33887. "type": "integer"
  33888. },
  33889. "templatename": {
  33890. "description": "履约方式(履约模板名称)",
  33891. "type": "string"
  33892. },
  33893. "tradedate": {
  33894. "description": "交易日(yyyyMMdd)",
  33895. "type": "string"
  33896. },
  33897. "userid": {
  33898. "description": "摘牌人用户ID(议价人ID)",
  33899. "type": "integer"
  33900. },
  33901. "username": {
  33902. "description": "议价人名字(已脱敏)",
  33903. "type": "string"
  33904. },
  33905. "validtime": {
  33906. "description": "有效期限",
  33907. "type": "string"
  33908. },
  33909. "warehouseid": {
  33910. "description": "仓库ID",
  33911. "type": "integer"
  33912. },
  33913. "warehousename": {
  33914. "description": "仓库名称",
  33915. "type": "string"
  33916. },
  33917. "wrbargainid": {
  33918. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  33919. "type": "string"
  33920. },
  33921. "wrfactortypeid": {
  33922. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33923. "type": "string"
  33924. },
  33925. "wrfactortypename": {
  33926. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33927. "type": "string"
  33928. },
  33929. "wrstandardcode": {
  33930. "description": "现货商品代码",
  33931. "type": "string"
  33932. },
  33933. "wrstandardid": {
  33934. "description": "现货商品ID",
  33935. "type": "integer"
  33936. },
  33937. "wrstandardname": {
  33938. "description": "商品名称",
  33939. "type": "string"
  33940. },
  33941. "wrtradeorderid": {
  33942. "description": "关联委托单ID",
  33943. "type": "string"
  33944. },
  33945. "wrtypename": {
  33946. "description": "商品",
  33947. "type": "string"
  33948. }
  33949. }
  33950. },
  33951. "models.Warehouseinfo": {
  33952. "type": "object",
  33953. "required": [
  33954. "autoid",
  33955. "warehousecode"
  33956. ],
  33957. "properties": {
  33958. "address": {
  33959. "description": "详细地址",
  33960. "type": "string"
  33961. },
  33962. "areauserid": {
  33963. "description": "所属机构",
  33964. "type": "integer"
  33965. },
  33966. "autoid": {
  33967. "description": "自增ID",
  33968. "type": "integer"
  33969. },
  33970. "cityid": {
  33971. "description": "市",
  33972. "type": "integer"
  33973. },
  33974. "contactname": {
  33975. "description": "联系人",
  33976. "type": "string"
  33977. },
  33978. "contactnum": {
  33979. "description": "联系电话",
  33980. "type": "string"
  33981. },
  33982. "countryid": {
  33983. "description": "国家",
  33984. "type": "integer"
  33985. },
  33986. "createtime": {
  33987. "description": "创建时间",
  33988. "type": "string"
  33989. },
  33990. "districtid": {
  33991. "description": "区",
  33992. "type": "integer"
  33993. },
  33994. "hasvideo": {
  33995. "description": "是否有视频 - 0:无 1:有",
  33996. "type": "integer"
  33997. },
  33998. "provinceid": {
  33999. "description": "省",
  34000. "type": "integer"
  34001. },
  34002. "remark": {
  34003. "description": "审核备注",
  34004. "type": "string"
  34005. },
  34006. "videourl": {
  34007. "description": "视频地址",
  34008. "type": "string"
  34009. },
  34010. "warehousecode": {
  34011. "description": "仓库代码",
  34012. "type": "string"
  34013. },
  34014. "warehousename": {
  34015. "description": "仓库名称",
  34016. "type": "string"
  34017. },
  34018. "warehousestatus": {
  34019. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  34020. "type": "integer"
  34021. },
  34022. "warehousetype": {
  34023. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  34024. "type": "integer"
  34025. }
  34026. }
  34027. },
  34028. "models.WrAverageTradePrice": {
  34029. "type": "object",
  34030. "properties": {
  34031. "averageprice": {
  34032. "description": "成交均价",
  34033. "type": "number"
  34034. },
  34035. "tradedate": {
  34036. "description": "交易日yyyymm",
  34037. "type": "string"
  34038. }
  34039. }
  34040. },
  34041. "models.WrBsGoodsInfo": {
  34042. "type": "object",
  34043. "properties": {
  34044. "buyorsell": {
  34045. "description": "买卖方向 0-买 1-卖",
  34046. "type": "integer"
  34047. },
  34048. "goodsid": {
  34049. "description": "交易合约ID",
  34050. "type": "integer"
  34051. },
  34052. "lstitem": {
  34053. "description": "商品信息项",
  34054. "type": "array",
  34055. "items": {
  34056. "$ref": "#/definitions/models.WrTypeItem"
  34057. }
  34058. },
  34059. "lststep": {
  34060. "description": "履约规则",
  34061. "type": "array",
  34062. "items": {
  34063. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34064. }
  34065. }
  34066. }
  34067. },
  34068. "models.WrBuybackDetail": {
  34069. "type": "object",
  34070. "properties": {
  34071. "buybackamount": {
  34072. "description": "回购金额",
  34073. "type": "number"
  34074. },
  34075. "buybackqty": {
  34076. "description": "回购数量",
  34077. "type": "number"
  34078. },
  34079. "buybackreleasemargin": {
  34080. "description": "回购释放保证金",
  34081. "type": "number"
  34082. },
  34083. "buybacktime": {
  34084. "description": "回购时间",
  34085. "type": "string"
  34086. },
  34087. "errordesc": {
  34088. "description": "错误描述",
  34089. "type": "string"
  34090. },
  34091. "handlestatus": {
  34092. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  34093. "type": "integer"
  34094. },
  34095. "relatedwrid": {
  34096. "description": "关联仓单ID",
  34097. "type": "integer"
  34098. },
  34099. "scfcontractid": {
  34100. "description": "SCF合同ID",
  34101. "type": "string"
  34102. },
  34103. "scfwrbuybackid": {
  34104. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  34105. "type": "integer"
  34106. },
  34107. "tradedate": {
  34108. "description": "交易日(yyyyMMdd)",
  34109. "type": "string"
  34110. }
  34111. }
  34112. },
  34113. "models.WrDeliveryAvalidHoldLB": {
  34114. "type": "object",
  34115. "properties": {
  34116. "accountid": {
  34117. "description": "资金账号",
  34118. "type": "integer"
  34119. },
  34120. "avalidqty": {
  34121. "description": "数量(可点选数量)",
  34122. "type": "number"
  34123. },
  34124. "deliverygoodsid": {
  34125. "description": "品种id",
  34126. "type": "integer"
  34127. },
  34128. "enumdicname": {
  34129. "description": "单位名称",
  34130. "type": "string"
  34131. },
  34132. "goodsid": {
  34133. "description": "x合约商品id",
  34134. "type": "integer"
  34135. },
  34136. "ladingbillid": {
  34137. "description": "提单id",
  34138. "type": "string"
  34139. },
  34140. "pgoodscode": {
  34141. "description": "p商品代码(点价合约)",
  34142. "type": "string"
  34143. },
  34144. "pgoodsid": {
  34145. "description": "p商品id(点价合约)",
  34146. "type": "integer"
  34147. },
  34148. "pgoodsname": {
  34149. "description": "p商品名称(点价合约)",
  34150. "type": "string"
  34151. },
  34152. "pricemove": {
  34153. "description": "升贴水",
  34154. "type": "number"
  34155. },
  34156. "subnum": {
  34157. "description": "提单子id",
  34158. "type": "integer"
  34159. },
  34160. "userid": {
  34161. "description": "用户id",
  34162. "type": "integer"
  34163. },
  34164. "username": {
  34165. "description": "仓单持有人",
  34166. "type": "string"
  34167. },
  34168. "warehousecode": {
  34169. "description": "仓库代码",
  34170. "type": "string"
  34171. },
  34172. "warehouseid": {
  34173. "description": "仓库id",
  34174. "type": "integer"
  34175. },
  34176. "warehousename": {
  34177. "description": "仓库名称",
  34178. "type": "string"
  34179. },
  34180. "wrfactortypeid": {
  34181. "description": "仓单要素id",
  34182. "type": "string"
  34183. },
  34184. "wrstandardcode": {
  34185. "description": "品代码",
  34186. "type": "string"
  34187. },
  34188. "wrstandardid": {
  34189. "description": "品类d",
  34190. "type": "integer"
  34191. },
  34192. "wrstandardname": {
  34193. "description": "品类名称",
  34194. "type": "string"
  34195. },
  34196. "wrtypename": {
  34197. "description": "商品",
  34198. "type": "string"
  34199. },
  34200. "xgoodscode": {
  34201. "description": "x合约代码",
  34202. "type": "string"
  34203. },
  34204. "xgoodsname": {
  34205. "description": "x合约名称",
  34206. "type": "string"
  34207. }
  34208. }
  34209. },
  34210. "models.WrDeliveryDetail": {
  34211. "type": "object",
  34212. "properties": {
  34213. "accountid": {
  34214. "description": "账号ID",
  34215. "type": "integer"
  34216. },
  34217. "averageprice": {
  34218. "description": "交割均价 = 交割金额 / 交割数量",
  34219. "type": "number"
  34220. },
  34221. "begindate": {
  34222. "description": "开始交易日(yyyymmdd)",
  34223. "type": "string"
  34224. },
  34225. "buyorsell": {
  34226. "description": "方向 - 0:买 1:卖",
  34227. "type": "integer"
  34228. },
  34229. "deliveryamount": {
  34230. "description": "货款金额(X总货款+P总货款)",
  34231. "type": "number"
  34232. },
  34233. "deliveryid": {
  34234. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  34235. "type": "string"
  34236. },
  34237. "deliveryorderid": {
  34238. "description": "申报单号",
  34239. "type": "string"
  34240. },
  34241. "deliverypricemove": {
  34242. "description": "升贴水(升贴水总额)",
  34243. "type": "number"
  34244. },
  34245. "deliveryqty": {
  34246. "description": "交收数量(点选数量)",
  34247. "type": "number"
  34248. },
  34249. "deliverystatus": {
  34250. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  34251. "type": "integer"
  34252. },
  34253. "deliverytime": {
  34254. "description": "交割时间",
  34255. "type": "string"
  34256. },
  34257. "deliverytotalamount": {
  34258. "description": "交收金额",
  34259. "type": "number"
  34260. },
  34261. "enddate": {
  34262. "description": "结束交易日(yyyymmdd)",
  34263. "type": "string"
  34264. },
  34265. "enumdicname": {
  34266. "description": "单位名称",
  34267. "type": "string"
  34268. },
  34269. "matchaccountid": {
  34270. "description": "对手账号ID",
  34271. "type": "integer"
  34272. },
  34273. "matchusername": {
  34274. "description": "对手方名称(仓单持有人)",
  34275. "type": "string"
  34276. },
  34277. "p1goodsremainamount": {
  34278. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  34279. "type": "number"
  34280. },
  34281. "pdeliverycloseqty": {
  34282. "description": "p合约平仓数量",
  34283. "type": "number"
  34284. },
  34285. "pdeliveryprice": {
  34286. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  34287. "type": "number"
  34288. },
  34289. "pgoodscode": {
  34290. "description": "商品代码",
  34291. "type": "string"
  34292. },
  34293. "pgoodsid": {
  34294. "description": "p点选合约id",
  34295. "type": "integer"
  34296. },
  34297. "pgoodsname": {
  34298. "description": "商品名称",
  34299. "type": "string"
  34300. },
  34301. "ppricemode": {
  34302. "description": "点价价格方式 - 1:商品价 2:固定值",
  34303. "type": "integer"
  34304. },
  34305. "tradedate": {
  34306. "description": "交易日(yyyymmdd)",
  34307. "type": "string"
  34308. },
  34309. "userid": {
  34310. "description": "用户id",
  34311. "type": "integer"
  34312. },
  34313. "username": {
  34314. "description": "用户名称",
  34315. "type": "string"
  34316. },
  34317. "warehousename": {
  34318. "description": "仓库名称",
  34319. "type": "string"
  34320. },
  34321. "wrfactortypeid": {
  34322. "description": "仓单要素类型ID",
  34323. "type": "string"
  34324. },
  34325. "wrtypename": {
  34326. "description": "商品",
  34327. "type": "string"
  34328. },
  34329. "xdeliverycloseqty": {
  34330. "description": "合约数量",
  34331. "type": "number"
  34332. },
  34333. "xgoodsamount": {
  34334. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  34335. "type": "number"
  34336. },
  34337. "xgoodscode": {
  34338. "description": "商品代码",
  34339. "type": "string"
  34340. },
  34341. "xgoodsid": {
  34342. "description": "x交易合约ID",
  34343. "type": "integer"
  34344. },
  34345. "xgoodsname": {
  34346. "description": "商品名称",
  34347. "type": "string"
  34348. }
  34349. }
  34350. },
  34351. "models.WrDeliveryGoodsSection": {
  34352. "type": "object",
  34353. "properties": {
  34354. "dglst": {
  34355. "description": "板块商品列表",
  34356. "type": "array",
  34357. "items": {
  34358. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  34359. }
  34360. },
  34361. "imagepath": {
  34362. "description": "图片地址",
  34363. "type": "string"
  34364. },
  34365. "orderindex": {
  34366. "description": "排序",
  34367. "type": "integer"
  34368. },
  34369. "sectionid": {
  34370. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  34371. "type": "integer"
  34372. },
  34373. "sectionname": {
  34374. "description": "版块名称",
  34375. "type": "string"
  34376. },
  34377. "sectiontype": {
  34378. "description": "版块类型 - 1:指数版块 2:普通版块",
  34379. "type": "integer"
  34380. }
  34381. }
  34382. },
  34383. "models.WrDeliveryGoodsSectionConfig": {
  34384. "type": "object",
  34385. "properties": {
  34386. "deliverygoodscode": {
  34387. "description": "现货商品代码",
  34388. "type": "string"
  34389. },
  34390. "deliverygoodsid": {
  34391. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  34392. "type": "integer"
  34393. },
  34394. "deliverygoodsname": {
  34395. "description": "现货商品名称",
  34396. "type": "string"
  34397. },
  34398. "orderindex": {
  34399. "description": "排序",
  34400. "type": "integer"
  34401. }
  34402. }
  34403. },
  34404. "models.WrFAProductDetail": {
  34405. "type": "object",
  34406. "properties": {
  34407. "accountid": {
  34408. "description": "资金账号",
  34409. "type": "integer"
  34410. },
  34411. "areauserid": {
  34412. "description": "金融机构ID",
  34413. "type": "integer"
  34414. },
  34415. "financingdays": {
  34416. "description": "天数(天)",
  34417. "type": "integer"
  34418. },
  34419. "interestminlen": {
  34420. "description": "最小起息天数",
  34421. "type": "integer"
  34422. },
  34423. "interestrate": {
  34424. "description": "利率",
  34425. "type": "number"
  34426. },
  34427. "interestratemode": {
  34428. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34429. "type": "integer"
  34430. },
  34431. "interestsettlemode": {
  34432. "description": "结息方式 - 1:按日结息 3:按月结息",
  34433. "type": "integer"
  34434. },
  34435. "interestsettlevalue": {
  34436. "description": "结息方式值",
  34437. "type": "integer"
  34438. },
  34439. "isautoloan": {
  34440. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  34441. "type": "integer"
  34442. },
  34443. "loantag": {
  34444. "description": "放款标识: \"放款快\" 或者为空",
  34445. "type": "string"
  34446. },
  34447. "marginratio": {
  34448. "description": "保证金比率质押率 - [仓单质押]",
  34449. "type": "number"
  34450. },
  34451. "productdetailid": {
  34452. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  34453. "type": "integer"
  34454. },
  34455. "productid": {
  34456. "description": "金融产品ID",
  34457. "type": "integer"
  34458. },
  34459. "productname": {
  34460. "description": "产品名称",
  34461. "type": "string"
  34462. },
  34463. "updatetime": {
  34464. "description": "更新时间",
  34465. "type": "string"
  34466. },
  34467. "username": {
  34468. "description": "融出方",
  34469. "type": "string"
  34470. }
  34471. }
  34472. },
  34473. "models.WrFactorTypeInfo": {
  34474. "type": "object",
  34475. "properties": {
  34476. "deliverygoodscode": {
  34477. "description": "品种代码",
  34478. "type": "string"
  34479. },
  34480. "deliverygoodsname": {
  34481. "description": "品种名称",
  34482. "type": "string"
  34483. },
  34484. "dgfactoryitemid": {
  34485. "description": "选择项id",
  34486. "type": "integer"
  34487. },
  34488. "dgfactoryitemtypeid": {
  34489. "description": "要素选择项ID (1-仓库 2-品牌)",
  34490. "type": "integer"
  34491. },
  34492. "dgfactoryitemvalue": {
  34493. "description": "要素项值",
  34494. "type": "string"
  34495. },
  34496. "itemtypename": {
  34497. "description": "要素项名称",
  34498. "type": "string"
  34499. },
  34500. "optioncompare": {
  34501. "description": "选择比较串",
  34502. "type": "string"
  34503. },
  34504. "warehouseid": {
  34505. "description": "仓库id",
  34506. "type": "integer"
  34507. },
  34508. "wrfactortypeid": {
  34509. "description": "仓单要素ID",
  34510. "type": "string"
  34511. },
  34512. "wrfactortypename": {
  34513. "description": "要素名称",
  34514. "type": "string"
  34515. },
  34516. "wrfactortypename2": {
  34517. "description": "要素名称(不含仓库)",
  34518. "type": "string"
  34519. },
  34520. "wrstandardcode": {
  34521. "description": "品类代码",
  34522. "type": "string"
  34523. },
  34524. "wrstandardid": {
  34525. "description": "品类id",
  34526. "type": "integer"
  34527. },
  34528. "wrstandardname": {
  34529. "description": "品类名称",
  34530. "type": "string"
  34531. }
  34532. }
  34533. },
  34534. "models.WrFilterItem": {
  34535. "type": "object",
  34536. "properties": {
  34537. "itemcode": {
  34538. "description": "代码",
  34539. "type": "string"
  34540. },
  34541. "itemid": {
  34542. "description": "项id",
  34543. "type": "integer"
  34544. },
  34545. "itemname": {
  34546. "description": "名称",
  34547. "type": "string"
  34548. },
  34549. "itemtype": {
  34550. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  34551. "type": "integer"
  34552. }
  34553. }
  34554. },
  34555. "models.WrFinanceBuyApply": {
  34556. "type": "object",
  34557. "properties": {
  34558. "applydate": {
  34559. "description": "申请时间",
  34560. "type": "string"
  34561. },
  34562. "applystatus": {
  34563. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  34564. "type": "integer"
  34565. },
  34566. "applyuserid": {
  34567. "description": "申请人",
  34568. "type": "integer"
  34569. },
  34570. "auditdate": {
  34571. "description": "审核时间",
  34572. "type": "string"
  34573. },
  34574. "auditremark": {
  34575. "description": "审核备注",
  34576. "type": "string"
  34577. },
  34578. "audituserid": {
  34579. "description": "审核人",
  34580. "type": "integer"
  34581. },
  34582. "buyaccountid": {
  34583. "description": "买方资金账号",
  34584. "type": "integer"
  34585. },
  34586. "buyorsell": {
  34587. "description": "买卖 - 0:买 1:卖",
  34588. "type": "integer"
  34589. },
  34590. "buyuserid": {
  34591. "description": "买方用户ID",
  34592. "type": "integer"
  34593. },
  34594. "buyusername": {
  34595. "description": "买方名称",
  34596. "type": "string"
  34597. },
  34598. "buywrtradeorderid": {
  34599. "description": "融资方买委托单ID",
  34600. "type": "string"
  34601. },
  34602. "deliverygoodscode": {
  34603. "description": "品种代码",
  34604. "type": "string"
  34605. },
  34606. "deliverygoodsid": {
  34607. "description": "品种ID",
  34608. "type": "integer"
  34609. },
  34610. "deliverygoodsname": {
  34611. "description": "品种名称",
  34612. "type": "string"
  34613. },
  34614. "deliverymonth": {
  34615. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  34616. "type": "string"
  34617. },
  34618. "enumdicname": {
  34619. "description": "单位名称",
  34620. "type": "string"
  34621. },
  34622. "financeaccountid": {
  34623. "description": "融资方资金帐户ID",
  34624. "type": "integer"
  34625. },
  34626. "financeapplyid": {
  34627. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34628. "type": "string"
  34629. },
  34630. "financeareauserid": {
  34631. "description": "融资方用户ID",
  34632. "type": "string"
  34633. },
  34634. "financename": {
  34635. "description": "融出方名称",
  34636. "type": "string"
  34637. },
  34638. "financetype": {
  34639. "description": "融资类型 1-融资回购",
  34640. "type": "integer"
  34641. },
  34642. "financingdays": {
  34643. "description": "天数(天)",
  34644. "type": "integer"
  34645. },
  34646. "freezebuymargin": {
  34647. "description": "冻结融资保证金(买方)",
  34648. "type": "number"
  34649. },
  34650. "handleremark": {
  34651. "description": "处理备注",
  34652. "type": "string"
  34653. },
  34654. "handlestatus": {
  34655. "description": "处理状态",
  34656. "type": "integer"
  34657. },
  34658. "interestminlen": {
  34659. "description": "最小起息天数",
  34660. "type": "integer"
  34661. },
  34662. "interestrate": {
  34663. "description": "利率",
  34664. "type": "number"
  34665. },
  34666. "interestratemode": {
  34667. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34668. "type": "integer"
  34669. },
  34670. "interestsettlemode": {
  34671. "description": "结息方式 - 1:按日结息 3:按月结息",
  34672. "type": "integer"
  34673. },
  34674. "interestsettlevalue": {
  34675. "description": "结息方式值",
  34676. "type": "integer"
  34677. },
  34678. "isautoloan": {
  34679. "description": "是否自动放款 - 0:手动 1:自动",
  34680. "type": "integer"
  34681. },
  34682. "marginratio": {
  34683. "description": "保证金比率质押率 - [仓单质押]",
  34684. "type": "number"
  34685. },
  34686. "marketid": {
  34687. "description": "市场ID",
  34688. "type": "integer"
  34689. },
  34690. "minivalue": {
  34691. "description": "现货商品最小变动值",
  34692. "type": "integer"
  34693. },
  34694. "optioncompare": {
  34695. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34696. "type": "string"
  34697. },
  34698. "orderqty": {
  34699. "description": "委托数量(商品数量)",
  34700. "type": "number"
  34701. },
  34702. "productdetailid": {
  34703. "description": "产品组合ID",
  34704. "type": "integer"
  34705. },
  34706. "productid": {
  34707. "description": "金融产品ID",
  34708. "type": "integer"
  34709. },
  34710. "productname": {
  34711. "description": "产品名称",
  34712. "type": "string"
  34713. },
  34714. "remark": {
  34715. "description": "备注",
  34716. "type": "string"
  34717. },
  34718. "scfcontractid": {
  34719. "description": "仓单回购合同ID",
  34720. "type": "string"
  34721. },
  34722. "sellaccountid": {
  34723. "description": "卖方资金账号",
  34724. "type": "integer"
  34725. },
  34726. "selluserid": {
  34727. "description": "卖方用户ID",
  34728. "type": "integer"
  34729. },
  34730. "sellwrtradeorderid": {
  34731. "description": "卖方委托单ID",
  34732. "type": "string"
  34733. },
  34734. "tradeamount": {
  34735. "description": "成交金额(借款金额)",
  34736. "type": "number"
  34737. },
  34738. "tradedate": {
  34739. "description": "交易日(yyyyMMdd)",
  34740. "type": "string"
  34741. },
  34742. "tradeprice": {
  34743. "description": "成交价格",
  34744. "type": "number"
  34745. },
  34746. "warehouseid": {
  34747. "description": "仓库ID",
  34748. "type": "integer"
  34749. },
  34750. "warehousename": {
  34751. "description": "仓库名称",
  34752. "type": "string"
  34753. },
  34754. "wrfactortypeid": {
  34755. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34756. "type": "string"
  34757. },
  34758. "wrfactortypename": {
  34759. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34760. "type": "string"
  34761. },
  34762. "wrpricetype": {
  34763. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  34764. "type": "integer"
  34765. },
  34766. "wrstandardcode": {
  34767. "description": "现货商品代码",
  34768. "type": "string"
  34769. },
  34770. "wrstandardid": {
  34771. "description": "现货商品ID",
  34772. "type": "integer"
  34773. },
  34774. "wrstandardname": {
  34775. "description": "商品名称",
  34776. "type": "string"
  34777. },
  34778. "wrtypename": {
  34779. "description": "商品",
  34780. "type": "string"
  34781. }
  34782. }
  34783. },
  34784. "models.WrFriendApply": {
  34785. "type": "object",
  34786. "properties": {
  34787. "applicantid": {
  34788. "description": "申请人",
  34789. "type": "integer"
  34790. },
  34791. "applyname": {
  34792. "description": "申请人名称",
  34793. "type": "string"
  34794. },
  34795. "applysrc": {
  34796. "description": "申请来源 - 1:管理端 2:终端",
  34797. "type": "integer"
  34798. },
  34799. "applystatus": {
  34800. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  34801. "type": "integer"
  34802. },
  34803. "applytime": {
  34804. "description": "申请时间",
  34805. "type": "string"
  34806. },
  34807. "auditname": {
  34808. "description": "审核人名称",
  34809. "type": "string"
  34810. },
  34811. "auditorid": {
  34812. "description": "审核人",
  34813. "type": "integer"
  34814. },
  34815. "auditremark": {
  34816. "description": "审核备注",
  34817. "type": "string"
  34818. },
  34819. "auditsrc": {
  34820. "description": "审核来源 - 1:管理端 2:终端",
  34821. "type": "integer"
  34822. },
  34823. "audittime": {
  34824. "description": "审核时间",
  34825. "type": "string"
  34826. },
  34827. "friendapplyid": {
  34828. "description": "申请ID(SEQ_FRIENDAPPLY)",
  34829. "type": "string"
  34830. },
  34831. "friendname": {
  34832. "description": "好友名字(已脱敏)",
  34833. "type": "string"
  34834. },
  34835. "frienduserid": {
  34836. "description": "好友用户ID",
  34837. "type": "string"
  34838. },
  34839. "remark": {
  34840. "description": "备注",
  34841. "type": "string"
  34842. },
  34843. "userid": {
  34844. "description": "申请人用户ID",
  34845. "type": "integer"
  34846. }
  34847. }
  34848. },
  34849. "models.WrFtDeliveryGoods": {
  34850. "type": "object",
  34851. "properties": {
  34852. "deliverygoodscode": {
  34853. "description": "品种代码",
  34854. "type": "string"
  34855. },
  34856. "deliverygoodsid": {
  34857. "description": "品种ID",
  34858. "type": "integer"
  34859. },
  34860. "deliverygoodsname": {
  34861. "description": "品种名称",
  34862. "type": "string"
  34863. },
  34864. "wdlst": {
  34865. "description": "商品列表",
  34866. "type": "array",
  34867. "items": {
  34868. "$ref": "#/definitions/models.WrFtWrstandard"
  34869. }
  34870. }
  34871. }
  34872. },
  34873. "models.WrFtWrstandard": {
  34874. "type": "object",
  34875. "properties": {
  34876. "enumdicname": {
  34877. "description": "单位名称",
  34878. "type": "string"
  34879. },
  34880. "minivalue": {
  34881. "description": "最小变动值",
  34882. "type": "integer"
  34883. },
  34884. "wrstandardcode": {
  34885. "description": "现货商品代码",
  34886. "type": "string"
  34887. },
  34888. "wrstandardid": {
  34889. "description": "现货商品ID",
  34890. "type": "integer"
  34891. },
  34892. "wrstandardname": {
  34893. "description": "商品名称",
  34894. "type": "string"
  34895. }
  34896. }
  34897. },
  34898. "models.WrGoodsInfo": {
  34899. "type": "object",
  34900. "properties": {
  34901. "haswr": {
  34902. "description": "0:仓单预售 1:仓单贸易",
  34903. "type": "integer"
  34904. },
  34905. "lstitem": {
  34906. "description": "商品信息项",
  34907. "type": "array",
  34908. "items": {
  34909. "$ref": "#/definitions/models.WrTypeItem"
  34910. }
  34911. },
  34912. "lststep": {
  34913. "description": "履约规则",
  34914. "type": "array",
  34915. "items": {
  34916. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34917. }
  34918. },
  34919. "marketid": {
  34920. "description": "市场id",
  34921. "type": "integer"
  34922. }
  34923. }
  34924. },
  34925. "models.WrGoodsPerformanceStep": {
  34926. "type": "object",
  34927. "properties": {
  34928. "autoid": {
  34929. "description": "AutoID",
  34930. "type": "integer"
  34931. },
  34932. "isauto": {
  34933. "description": "是否自动 - 0:不自动 1:自动",
  34934. "type": "integer"
  34935. },
  34936. "remark": {
  34937. "description": "备注",
  34938. "type": "string"
  34939. },
  34940. "stepdate": {
  34941. "description": "天数信息(T+N)",
  34942. "type": "string"
  34943. },
  34944. "stepdays": {
  34945. "description": "距离上一步天数",
  34946. "type": "integer"
  34947. },
  34948. "stepindex": {
  34949. "description": "步骤序号",
  34950. "type": "integer"
  34951. },
  34952. "stepinfo": {
  34953. "description": "步骤信息(步骤名称+步骤值)",
  34954. "type": "string"
  34955. },
  34956. "steptypeid": {
  34957. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34958. "type": "integer"
  34959. },
  34960. "steptypename": {
  34961. "description": "步骤名称",
  34962. "type": "string"
  34963. },
  34964. "stepvalue": {
  34965. "description": "步骤值",
  34966. "type": "number"
  34967. },
  34968. "templateid": {
  34969. "description": "履约计划模板ID",
  34970. "type": "integer"
  34971. }
  34972. }
  34973. },
  34974. "models.WrHoldLB": {
  34975. "type": "object",
  34976. "properties": {
  34977. "accountid": {
  34978. "description": "持有人帐户ID",
  34979. "type": "integer"
  34980. },
  34981. "createtime": {
  34982. "description": "创建时间(过户时间)",
  34983. "type": "string"
  34984. },
  34985. "deliverygoodscode": {
  34986. "description": "品种代码",
  34987. "type": "string"
  34988. },
  34989. "deliverygoodsid": {
  34990. "description": "品种ID",
  34991. "type": "integer"
  34992. },
  34993. "deliverygoodsname": {
  34994. "description": "品种名称",
  34995. "type": "string"
  34996. },
  34997. "enableqty": {
  34998. "description": "可用数量",
  34999. "type": "number"
  35000. },
  35001. "enumdicname": {
  35002. "description": "单位名称",
  35003. "type": "string"
  35004. },
  35005. "freezerqty": {
  35006. "description": "冻结数量",
  35007. "type": "number"
  35008. },
  35009. "ladingbillid": {
  35010. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  35011. "type": "string"
  35012. },
  35013. "minivalue": {
  35014. "description": "现货商品最小变动值",
  35015. "type": "integer"
  35016. },
  35017. "optioncompare": {
  35018. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35019. "type": "string"
  35020. },
  35021. "parentsubnum": {
  35022. "description": "拆分父子单号",
  35023. "type": "integer"
  35024. },
  35025. "pledgeqty": {
  35026. "description": "质押数量",
  35027. "type": "number"
  35028. },
  35029. "qty": {
  35030. "description": "数量",
  35031. "type": "number"
  35032. },
  35033. "subnum": {
  35034. "description": "提单子单号",
  35035. "type": "integer"
  35036. },
  35037. "tradedate": {
  35038. "description": "交易日(yyyyMMdd)",
  35039. "type": "string"
  35040. },
  35041. "userid": {
  35042. "description": "持有人ID",
  35043. "type": "integer"
  35044. },
  35045. "warehouseid": {
  35046. "description": "仓库ID",
  35047. "type": "integer"
  35048. },
  35049. "warehousename": {
  35050. "description": "仓库名称",
  35051. "type": "string"
  35052. },
  35053. "wrfactortypeid": {
  35054. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35055. "type": "string"
  35056. },
  35057. "wrfactortypename": {
  35058. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35059. "type": "string"
  35060. },
  35061. "wrholdeno": {
  35062. "description": "仓单编号",
  35063. "type": "string"
  35064. },
  35065. "wrid": {
  35066. "description": "仓单变更ID",
  35067. "type": "string"
  35068. },
  35069. "wrstandardcode": {
  35070. "description": "现货商品代码",
  35071. "type": "string"
  35072. },
  35073. "wrstandardid": {
  35074. "description": "现货商品ID",
  35075. "type": "integer"
  35076. },
  35077. "wrstandardname": {
  35078. "description": "商品名称",
  35079. "type": "string"
  35080. },
  35081. "wrtypename": {
  35082. "description": "商品",
  35083. "type": "string"
  35084. }
  35085. }
  35086. },
  35087. "models.WrMarketTradeConfig": {
  35088. "type": "object",
  35089. "properties": {
  35090. "basisdownratio": {
  35091. "description": "浮动价基差下限比例(仓单贸易)",
  35092. "type": "number"
  35093. },
  35094. "basisupratio": {
  35095. "description": "浮动价基差上限比例(仓单贸易)",
  35096. "type": "number"
  35097. },
  35098. "buychargealgorithm": {
  35099. "description": "买方手续费收取方式 1:比率 2:固定",
  35100. "type": "integer"
  35101. },
  35102. "buychargealgorithm2": {
  35103. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  35104. "type": "integer"
  35105. },
  35106. "buychargealgorithmvalue": {
  35107. "description": "买方手续费设置值(交易所部分)",
  35108. "type": "number"
  35109. },
  35110. "buychargealgorithmvalue2": {
  35111. "description": "买方手续费设置值(会员部分)",
  35112. "type": "number"
  35113. },
  35114. "buychargealgorithmvalue3": {
  35115. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  35116. "type": "number"
  35117. },
  35118. "buychargealgorithmvalue4": {
  35119. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  35120. "type": "number"
  35121. },
  35122. "buyfirstmarginalgorithm": {
  35123. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  35124. "type": "integer"
  35125. },
  35126. "buyfirstmarginvalue": {
  35127. "description": "买方出价保证金设置值 - [竞拍]",
  35128. "type": "number"
  35129. },
  35130. "buymarginalgorithm": {
  35131. "description": "买方保证金方式 - 1:比率 2:固定",
  35132. "type": "integer"
  35133. },
  35134. "buymarginvalue": {
  35135. "description": "买方保证金设置值",
  35136. "type": "number"
  35137. },
  35138. "buyreleaseratio": {
  35139. "description": "买方释放比率[2:分步履约]",
  35140. "type": "number"
  35141. },
  35142. "executemode": {
  35143. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  35144. "type": "integer"
  35145. },
  35146. "executeside": {
  35147. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  35148. "type": "integer"
  35149. },
  35150. "failedchargealgorithm": {
  35151. "description": "流拍手续费收取方式 1:比率 2:固定",
  35152. "type": "integer"
  35153. },
  35154. "failedchargevalue": {
  35155. "description": "流拍手续费设置值",
  35156. "type": "number"
  35157. },
  35158. "failedchargevalue2": {
  35159. "description": "流拍卖方手续费设置值",
  35160. "type": "number"
  35161. },
  35162. "holddays": {
  35163. "description": "合同期限[2:分步履约]",
  35164. "type": "integer"
  35165. },
  35166. "marketid": {
  35167. "description": "市场ID-仓单贸易、竞拍、预售",
  35168. "type": "integer"
  35169. },
  35170. "minqty": {
  35171. "description": "最小执行量[2:分步履约]",
  35172. "type": "number"
  35173. },
  35174. "modifierid": {
  35175. "description": "修改人",
  35176. "type": "integer"
  35177. },
  35178. "performancetempid": {
  35179. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  35180. "type": "integer"
  35181. },
  35182. "performancetempid2": {
  35183. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  35184. "type": "integer"
  35185. },
  35186. "performancetempid2s": {
  35187. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  35188. "type": "string"
  35189. },
  35190. "performancetempids": {
  35191. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  35192. "type": "string"
  35193. },
  35194. "performanceway": {
  35195. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  35196. "type": "integer"
  35197. },
  35198. "sellchargealgorithm": {
  35199. "description": "卖方手续费收取方式 1:比率 2:固定",
  35200. "type": "integer"
  35201. },
  35202. "sellchargealgorithm2": {
  35203. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  35204. "type": "integer"
  35205. },
  35206. "sellchargealgorithmvalue": {
  35207. "description": "卖方手续费设置值(交易所部分)",
  35208. "type": "number"
  35209. },
  35210. "sellchargealgorithmvalue2": {
  35211. "description": "卖方手续费设置值(会员部分)",
  35212. "type": "number"
  35213. },
  35214. "sellchargealgorithmvalue3": {
  35215. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  35216. "type": "number"
  35217. },
  35218. "sellchargealgorithmvalue4": {
  35219. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  35220. "type": "number"
  35221. },
  35222. "sellmarginalgorithm": {
  35223. "description": "卖方保证金方式 - 1:比率 2:固定",
  35224. "type": "integer"
  35225. },
  35226. "sellmarginvalue": {
  35227. "description": "卖方保证金设置值",
  35228. "type": "number"
  35229. },
  35230. "sellmarginvalue2": {
  35231. "description": "卖方保证金设置值(无仓单)",
  35232. "type": "number"
  35233. },
  35234. "sellreleaseratio": {
  35235. "description": "卖方释放比率[2:分步履约]",
  35236. "type": "number"
  35237. },
  35238. "updatetime": {
  35239. "description": "更新时间",
  35240. "type": "string"
  35241. }
  35242. }
  35243. },
  35244. "models.WrOrderDetail": {
  35245. "type": "object",
  35246. "properties": {
  35247. "accountid": {
  35248. "description": "交易账号(资金账号)",
  35249. "type": "integer"
  35250. },
  35251. "allfriendsflag": {
  35252. "description": "是否全好友可见 - 0:否 1:是",
  35253. "type": "integer"
  35254. },
  35255. "amount": {
  35256. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  35257. "type": "number"
  35258. },
  35259. "begindate": {
  35260. "description": "开始交易日(yyyymmdd)",
  35261. "type": "string"
  35262. },
  35263. "buyorsell": {
  35264. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  35265. "type": "integer"
  35266. },
  35267. "canbargain": {
  35268. "description": "是否可议价 - 0:不可 1:可",
  35269. "type": "integer"
  35270. },
  35271. "cancelqty": {
  35272. "description": "撤销数量",
  35273. "type": "number"
  35274. },
  35275. "canpart": {
  35276. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  35277. "type": "integer"
  35278. },
  35279. "delistminqty": {
  35280. "description": "起摘数量",
  35281. "type": "integer"
  35282. },
  35283. "deliverygoodscode": {
  35284. "description": "品种代码",
  35285. "type": "string"
  35286. },
  35287. "deliverygoodsid": {
  35288. "description": "品种ID",
  35289. "type": "integer"
  35290. },
  35291. "deliverygoodsname": {
  35292. "description": "品种名称",
  35293. "type": "string"
  35294. },
  35295. "deliverymonth": {
  35296. "description": "交收月",
  35297. "type": "string"
  35298. },
  35299. "enddate": {
  35300. "description": "结束交易日(yyyymmdd)",
  35301. "type": "string"
  35302. },
  35303. "enumdicname": {
  35304. "description": "单位名称",
  35305. "type": "string"
  35306. },
  35307. "fixedprice": {
  35308. "description": "固定价格 - [挂牌]",
  35309. "type": "number"
  35310. },
  35311. "freezecharge": {
  35312. "description": "冻结手续费",
  35313. "type": "number"
  35314. },
  35315. "freezemargin": {
  35316. "description": "冻结保证金(保证金)",
  35317. "type": "number"
  35318. },
  35319. "futupricemove": {
  35320. "description": "期货升贴水",
  35321. "type": "number"
  35322. },
  35323. "futushow": {
  35324. "description": "期货合约/升贴水",
  35325. "type": "string"
  35326. },
  35327. "goodscode": {
  35328. "description": "期货合约",
  35329. "type": "string"
  35330. },
  35331. "goodsid": {
  35332. "description": "期货商品id",
  35333. "type": "integer"
  35334. },
  35335. "goodsname": {
  35336. "description": "商品名称",
  35337. "type": "string"
  35338. },
  35339. "haswr": {
  35340. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35341. "type": "integer"
  35342. },
  35343. "isspecified": {
  35344. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  35345. "type": "integer"
  35346. },
  35347. "ladingbillid": {
  35348. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  35349. "type": "string"
  35350. },
  35351. "marginvalue": {
  35352. "description": "保证金设置值(履约保证金)",
  35353. "type": "number"
  35354. },
  35355. "marketid": {
  35356. "description": "市场ID",
  35357. "type": "integer"
  35358. },
  35359. "matchusername": {
  35360. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  35361. "type": "string"
  35362. },
  35363. "minivalue": {
  35364. "description": "现货商品最小变动值",
  35365. "type": "integer"
  35366. },
  35367. "optioncompare": {
  35368. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35369. "type": "string"
  35370. },
  35371. "orderqty": {
  35372. "description": "委托数量",
  35373. "type": "number"
  35374. },
  35375. "ordertime": {
  35376. "description": "委托时间(挂牌时间)",
  35377. "type": "string"
  35378. },
  35379. "performancetemplateid": {
  35380. "description": "履约模板id",
  35381. "type": "integer"
  35382. },
  35383. "pricemove": {
  35384. "description": "升贴水(浮动价时填写) - [挂牌]",
  35385. "type": "number"
  35386. },
  35387. "taname": {
  35388. "description": "交易用户名称(资金账号名称)",
  35389. "type": "string"
  35390. },
  35391. "tradedate": {
  35392. "description": "交易日(yyyyMMdd)",
  35393. "type": "string"
  35394. },
  35395. "tradeprice": {
  35396. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  35397. "type": "number"
  35398. },
  35399. "tradeqty": {
  35400. "description": "成交数量",
  35401. "type": "number"
  35402. },
  35403. "userid": {
  35404. "description": "用户ID",
  35405. "type": "integer"
  35406. },
  35407. "validtime": {
  35408. "description": "挂牌有效期",
  35409. "type": "string"
  35410. },
  35411. "validtype": {
  35412. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  35413. "type": "integer"
  35414. },
  35415. "warehouseid": {
  35416. "description": "仓库ID",
  35417. "type": "integer"
  35418. },
  35419. "warehousename": {
  35420. "description": "仓库名称",
  35421. "type": "string"
  35422. },
  35423. "wrfactortypeid": {
  35424. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35425. "type": "string"
  35426. },
  35427. "wrfactortypename": {
  35428. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35429. "type": "string"
  35430. },
  35431. "wrpricetype": {
  35432. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  35433. "type": "integer"
  35434. },
  35435. "wrstandardcode": {
  35436. "description": "现货商品代码",
  35437. "type": "string"
  35438. },
  35439. "wrstandardid": {
  35440. "description": "现货商品ID",
  35441. "type": "integer"
  35442. },
  35443. "wrstandardname": {
  35444. "description": "商品名称",
  35445. "type": "string"
  35446. },
  35447. "wrtradeorderid": {
  35448. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35449. "type": "string"
  35450. },
  35451. "wrtradeorderstatus": {
  35452. "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:撤单解冻贷款失败",
  35453. "type": "integer"
  35454. },
  35455. "wrtradetype": {
  35456. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  35457. "type": "integer"
  35458. },
  35459. "wrtypename": {
  35460. "description": "商品",
  35461. "type": "string"
  35462. }
  35463. }
  35464. },
  35465. "models.WrOrderQuote": {
  35466. "type": "object",
  35467. "properties": {
  35468. "buyprice": {
  35469. "description": "买价",
  35470. "type": "number"
  35471. },
  35472. "buypricemove": {
  35473. "description": "买升贴水(基差)",
  35474. "type": "number"
  35475. },
  35476. "buyqty": {
  35477. "description": "买量",
  35478. "type": "number"
  35479. },
  35480. "deliverygoodscode": {
  35481. "description": "品种代码",
  35482. "type": "string"
  35483. },
  35484. "deliverygoodsid": {
  35485. "description": "品种id",
  35486. "type": "integer"
  35487. },
  35488. "deliverygoodsname": {
  35489. "description": "品种名称",
  35490. "type": "string"
  35491. },
  35492. "deliverymonth": {
  35493. "description": "交收月",
  35494. "type": "string"
  35495. },
  35496. "enumdicname": {
  35497. "description": "单位名称",
  35498. "type": "string"
  35499. },
  35500. "goodscode": {
  35501. "description": "商品合约(浮动价列表才有)",
  35502. "type": "string"
  35503. },
  35504. "goodsid": {
  35505. "description": "商品id(浮动价列表才有)",
  35506. "type": "integer"
  35507. },
  35508. "minivalue": {
  35509. "description": "现货商品最小变动值",
  35510. "type": "integer"
  35511. },
  35512. "sellprice": {
  35513. "description": "卖价",
  35514. "type": "number"
  35515. },
  35516. "sellpricemove": {
  35517. "description": "卖升贴水(基差)",
  35518. "type": "number"
  35519. },
  35520. "sellqty": {
  35521. "description": "卖量",
  35522. "type": "number"
  35523. },
  35524. "warehousecode": {
  35525. "description": "仓库代码",
  35526. "type": "string"
  35527. },
  35528. "warehouseid": {
  35529. "description": "仓库id",
  35530. "type": "integer"
  35531. },
  35532. "warehousename": {
  35533. "description": "仓库名称",
  35534. "type": "string"
  35535. },
  35536. "wrfactortypeid": {
  35537. "description": "仓单要素id",
  35538. "type": "string"
  35539. },
  35540. "wrfactortypename": {
  35541. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35542. "type": "string"
  35543. },
  35544. "wrgoodsname": {
  35545. "description": "商品(商品名称+仓库要素名称 拼接)",
  35546. "type": "string"
  35547. },
  35548. "wrstandardcode": {
  35549. "description": "商品代码",
  35550. "type": "string"
  35551. },
  35552. "wrstandardid": {
  35553. "description": "商品id",
  35554. "type": "integer"
  35555. },
  35556. "wrstandardname": {
  35557. "description": "商品名称",
  35558. "type": "string"
  35559. }
  35560. }
  35561. },
  35562. "models.WrOrderQuoteDetail": {
  35563. "type": "object",
  35564. "properties": {
  35565. "buyorsell": {
  35566. "description": "买卖 - 0:买 1:卖",
  35567. "type": "integer"
  35568. },
  35569. "delistminqty": {
  35570. "description": "起摘数量",
  35571. "type": "number"
  35572. },
  35573. "deliverymonth": {
  35574. "description": "交收月",
  35575. "type": "string"
  35576. },
  35577. "enumdicname": {
  35578. "description": "单位名称",
  35579. "type": "string"
  35580. },
  35581. "fixedprice": {
  35582. "description": "买(卖)价",
  35583. "type": "number"
  35584. },
  35585. "marketid": {
  35586. "description": "市场id",
  35587. "type": "integer"
  35588. },
  35589. "minivalue": {
  35590. "description": "现货商品最小变动值",
  35591. "type": "integer"
  35592. },
  35593. "orderqty": {
  35594. "description": "买(卖)量(=委托量-成交量)",
  35595. "type": "number"
  35596. },
  35597. "ordertime": {
  35598. "description": "委托时间",
  35599. "type": "string"
  35600. },
  35601. "pricemove": {
  35602. "description": "买(卖)升贴水- 基差",
  35603. "type": "number"
  35604. },
  35605. "userid": {
  35606. "description": "购买方(销售方)用户ID",
  35607. "type": "integer"
  35608. },
  35609. "username": {
  35610. "description": "购买方(销售方)",
  35611. "type": "string"
  35612. },
  35613. "wrtradeorderid": {
  35614. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35615. "type": "string"
  35616. }
  35617. }
  35618. },
  35619. "models.WrOutInApply": {
  35620. "type": "object",
  35621. "properties": {
  35622. "applyid": {
  35623. "description": "申请单id",
  35624. "type": "string"
  35625. },
  35626. "applystatus": {
  35627. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  35628. "type": "integer"
  35629. },
  35630. "applytime": {
  35631. "description": "申请时间",
  35632. "type": "string"
  35633. },
  35634. "applytype": {
  35635. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  35636. "type": "integer"
  35637. },
  35638. "begindate": {
  35639. "description": "开始交易日(yyyymmdd)",
  35640. "type": "string"
  35641. },
  35642. "deliverygoodscode": {
  35643. "description": "品种代码",
  35644. "type": "string"
  35645. },
  35646. "deliverygoodsid": {
  35647. "description": "品种ID",
  35648. "type": "integer"
  35649. },
  35650. "deliverygoodsname": {
  35651. "description": "品种名称",
  35652. "type": "string"
  35653. },
  35654. "enddate": {
  35655. "description": "结束交易日(yyyymmdd)",
  35656. "type": "string"
  35657. },
  35658. "enumdicname": {
  35659. "description": "单位名称",
  35660. "type": "string"
  35661. },
  35662. "expresscompany": {
  35663. "description": "物流公司",
  35664. "type": "string"
  35665. },
  35666. "expressnum": {
  35667. "description": "物流单号",
  35668. "type": "string"
  35669. },
  35670. "minivalue": {
  35671. "description": "现货商品最小变动值",
  35672. "type": "integer"
  35673. },
  35674. "optioncompare": {
  35675. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35676. "type": "string"
  35677. },
  35678. "qty": {
  35679. "description": "数量",
  35680. "type": "integer"
  35681. },
  35682. "userid": {
  35683. "description": "用户id",
  35684. "type": "integer"
  35685. },
  35686. "warehouseid": {
  35687. "description": "仓库ID",
  35688. "type": "integer"
  35689. },
  35690. "warehousename": {
  35691. "description": "仓库名称",
  35692. "type": "string"
  35693. },
  35694. "wrfactortypeid": {
  35695. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35696. "type": "string"
  35697. },
  35698. "wrfactortypename": {
  35699. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35700. "type": "string"
  35701. },
  35702. "wrstandardcode": {
  35703. "description": "现货商品代码",
  35704. "type": "string"
  35705. },
  35706. "wrstandardid": {
  35707. "description": "现货商品ID",
  35708. "type": "integer"
  35709. },
  35710. "wrstandardname": {
  35711. "description": "商品名称",
  35712. "type": "string"
  35713. },
  35714. "wrtypename": {
  35715. "description": "商品",
  35716. "type": "string"
  35717. }
  35718. }
  35719. },
  35720. "models.WrPerformancePlan": {
  35721. "type": "object",
  35722. "required": [
  35723. "userid"
  35724. ],
  35725. "properties": {
  35726. "activatemonth": {
  35727. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  35728. "type": "string"
  35729. },
  35730. "amount": {
  35731. "description": "履约金额(总金额)",
  35732. "type": "number"
  35733. },
  35734. "begindate": {
  35735. "description": "开始交易日(yyyymmdd)",
  35736. "type": "string"
  35737. },
  35738. "buyaccountid": {
  35739. "description": "买方账号",
  35740. "type": "integer"
  35741. },
  35742. "buyerfreezeamount": {
  35743. "description": "履约冻结(买履约)",
  35744. "type": "number"
  35745. },
  35746. "buyerfreezeamountremain": {
  35747. "description": "履约冻结剩余(买履约)",
  35748. "type": "number"
  35749. },
  35750. "buyorsell": {
  35751. "description": "买卖方向 0-买 1-卖",
  35752. "type": "integer"
  35753. },
  35754. "buypaidamount": {
  35755. "description": "买方已冻/已扣金额 (已付金额)",
  35756. "type": "number"
  35757. },
  35758. "buyusername": {
  35759. "description": "买方名字",
  35760. "type": "string"
  35761. },
  35762. "contractid": {
  35763. "description": "合同ID",
  35764. "type": "integer"
  35765. },
  35766. "createtime": {
  35767. "description": "创建时间",
  35768. "type": "string"
  35769. },
  35770. "creatorid": {
  35771. "description": "创建人",
  35772. "type": "integer"
  35773. },
  35774. "curstepdeadline": {
  35775. "description": "当前步骤到期时间",
  35776. "type": "string"
  35777. },
  35778. "curstepid": {
  35779. "description": "当前步骤ID",
  35780. "type": "string"
  35781. },
  35782. "curstepname": {
  35783. "description": "当前步骤名称",
  35784. "type": "string"
  35785. },
  35786. "deliverygoodscode": {
  35787. "description": "品种代码",
  35788. "type": "string"
  35789. },
  35790. "deliverygoodsid": {
  35791. "description": "品种ID",
  35792. "type": "integer"
  35793. },
  35794. "deliverygoodsname": {
  35795. "description": "品种名称",
  35796. "type": "string"
  35797. },
  35798. "enddate": {
  35799. "description": "结束交易日(yyyymmdd)",
  35800. "type": "string"
  35801. },
  35802. "enumdicname": {
  35803. "description": "单位名称",
  35804. "type": "string"
  35805. },
  35806. "expressfee": {
  35807. "description": "运费",
  35808. "type": "number"
  35809. },
  35810. "expressfeeconfirmed": {
  35811. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  35812. "type": "integer"
  35813. },
  35814. "hasovershort": {
  35815. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  35816. "type": "integer"
  35817. },
  35818. "haswr": {
  35819. "description": "类型 0-仓单预售 1-仓单贸易",
  35820. "type": "integer"
  35821. },
  35822. "marketid": {
  35823. "description": "市场ID",
  35824. "type": "integer"
  35825. },
  35826. "middleaccountid": {
  35827. "description": "中间商资金账号ID",
  35828. "type": "integer"
  35829. },
  35830. "middleuserid": {
  35831. "description": "中间商用户ID",
  35832. "type": "integer"
  35833. },
  35834. "minivalue": {
  35835. "description": "现货商品最小变动值",
  35836. "type": "integer"
  35837. },
  35838. "optioncompare": {
  35839. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35840. "type": "string"
  35841. },
  35842. "overshortamount": {
  35843. "description": "溢短金额",
  35844. "type": "number"
  35845. },
  35846. "overshortqty": {
  35847. "description": "溢短数量",
  35848. "type": "number"
  35849. },
  35850. "paymenttype": {
  35851. "description": "付款方式 - 1:冻结 2:扣款",
  35852. "type": "integer"
  35853. },
  35854. "performanceplanid": {
  35855. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  35856. "type": "string"
  35857. },
  35858. "performancestatus": {
  35859. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  35860. "type": "integer"
  35861. },
  35862. "performancetype": {
  35863. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  35864. "type": "integer"
  35865. },
  35866. "qty": {
  35867. "description": "履约数量",
  35868. "type": "number"
  35869. },
  35870. "relatedorderid": {
  35871. "description": "关联单号(履约类型的关联单号)",
  35872. "type": "string"
  35873. },
  35874. "remark": {
  35875. "description": "备注",
  35876. "type": "string"
  35877. },
  35878. "sellaccountid": {
  35879. "description": "卖方账号",
  35880. "type": "integer"
  35881. },
  35882. "sellerfreezeamount": {
  35883. "description": "履约冻结(卖履约)",
  35884. "type": "number"
  35885. },
  35886. "sellerfreezeamountremain": {
  35887. "description": "履约冻结剩余(卖履约)",
  35888. "type": "number"
  35889. },
  35890. "sellreceivedamount": {
  35891. "description": "卖方已收金额",
  35892. "type": "number"
  35893. },
  35894. "sellusername": {
  35895. "description": "卖方名字",
  35896. "type": "string"
  35897. },
  35898. "shipremark": {
  35899. "description": "发货备注[物流单号]",
  35900. "type": "string"
  35901. },
  35902. "starttime": {
  35903. "description": "开始时间",
  35904. "type": "string"
  35905. },
  35906. "steptypeid": {
  35907. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35908. "type": "integer"
  35909. },
  35910. "typename": {
  35911. "description": "履约类型 名称",
  35912. "type": "string"
  35913. },
  35914. "unpaidamount": {
  35915. "description": "剩余款(待支付金额)",
  35916. "type": "number"
  35917. },
  35918. "userid": {
  35919. "description": "用户id",
  35920. "type": "integer"
  35921. },
  35922. "warehouseid": {
  35923. "description": "仓库ID",
  35924. "type": "integer"
  35925. },
  35926. "warehousename": {
  35927. "description": "仓库名称",
  35928. "type": "string"
  35929. },
  35930. "wrfactortypeid": {
  35931. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35932. "type": "string"
  35933. },
  35934. "wrfactortypename": {
  35935. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35936. "type": "string"
  35937. },
  35938. "wrstandardcode": {
  35939. "description": "现货商品代码",
  35940. "type": "string"
  35941. },
  35942. "wrstandardid": {
  35943. "description": "现货商品ID",
  35944. "type": "integer"
  35945. },
  35946. "wrstandardname": {
  35947. "description": "商品名称",
  35948. "type": "string"
  35949. },
  35950. "wrtransferuserid": {
  35951. "description": "仓单受让用户",
  35952. "type": "integer"
  35953. },
  35954. "wrtypename": {
  35955. "description": "商品",
  35956. "type": "string"
  35957. }
  35958. }
  35959. },
  35960. "models.WrPerformancePlanStep": {
  35961. "type": "object",
  35962. "properties": {
  35963. "delaydays": {
  35964. "description": "延期申请天数",
  35965. "type": "integer"
  35966. },
  35967. "deliverygoodscode": {
  35968. "description": "品种代码",
  35969. "type": "string"
  35970. },
  35971. "deliverygoodsid": {
  35972. "description": "品种ID",
  35973. "type": "integer"
  35974. },
  35975. "deliverygoodsname": {
  35976. "description": "品种名称",
  35977. "type": "string"
  35978. },
  35979. "endtime": {
  35980. "description": "结束日期",
  35981. "type": "string"
  35982. },
  35983. "enumdicname": {
  35984. "description": "单位名称",
  35985. "type": "string"
  35986. },
  35987. "executeside": {
  35988. "description": "步骤执行方 - 1:买方 2:卖方",
  35989. "type": "integer"
  35990. },
  35991. "handlestatus": {
  35992. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  35993. "type": "integer"
  35994. },
  35995. "isauto": {
  35996. "description": "是否自动 - 0:不自动 1:自动",
  35997. "type": "integer"
  35998. },
  35999. "islastreceivestep": {
  36000. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  36001. "type": "integer"
  36002. },
  36003. "minivalue": {
  36004. "description": "现货商品最小变动值",
  36005. "type": "integer"
  36006. },
  36007. "optioncompare": {
  36008. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36009. "type": "string"
  36010. },
  36011. "overdays": {
  36012. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  36013. "type": "integer"
  36014. },
  36015. "performancestepid": {
  36016. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  36017. "type": "string"
  36018. },
  36019. "planid": {
  36020. "description": "所属履约计划ID",
  36021. "type": "string"
  36022. },
  36023. "realamount": {
  36024. "description": "实际完成金额",
  36025. "type": "number"
  36026. },
  36027. "relatedorderid": {
  36028. "description": "关联单号",
  36029. "type": "string"
  36030. },
  36031. "remaindays": {
  36032. "description": "剩余天数",
  36033. "type": "integer"
  36034. },
  36035. "remark": {
  36036. "description": "错误备注",
  36037. "type": "string"
  36038. },
  36039. "starttime": {
  36040. "description": "开始日期",
  36041. "type": "string"
  36042. },
  36043. "stepamount": {
  36044. "description": "步骤金额",
  36045. "type": "number"
  36046. },
  36047. "stepdays": {
  36048. "description": "距离上一步天数(分钟)",
  36049. "type": "integer"
  36050. },
  36051. "stepindex": {
  36052. "description": "步骤序号",
  36053. "type": "integer"
  36054. },
  36055. "steplanchtype": {
  36056. "description": "步骤启动类型 - 1:系统自动 2:手动",
  36057. "type": "integer"
  36058. },
  36059. "stepremark": {
  36060. "description": "步骤备注",
  36061. "type": "string"
  36062. },
  36063. "stepstatus": {
  36064. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  36065. "type": "integer"
  36066. },
  36067. "steptypeid": {
  36068. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  36069. "type": "integer"
  36070. },
  36071. "steptypename": {
  36072. "description": "步骤名称",
  36073. "type": "string"
  36074. },
  36075. "stepvalue": {
  36076. "description": "步骤值",
  36077. "type": "number"
  36078. },
  36079. "warehouseid": {
  36080. "description": "仓库ID",
  36081. "type": "integer"
  36082. },
  36083. "warehousename": {
  36084. "description": "仓库名称",
  36085. "type": "string"
  36086. },
  36087. "wrfactortypeid": {
  36088. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36089. "type": "string"
  36090. },
  36091. "wrfactortypename": {
  36092. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36093. "type": "string"
  36094. },
  36095. "wrstandardcode": {
  36096. "description": "现货商品代码",
  36097. "type": "string"
  36098. },
  36099. "wrstandardid": {
  36100. "description": "现货商品ID",
  36101. "type": "integer"
  36102. },
  36103. "wrstandardname": {
  36104. "description": "商品名称",
  36105. "type": "string"
  36106. },
  36107. "wrtypename": {
  36108. "description": "商品",
  36109. "type": "string"
  36110. }
  36111. }
  36112. },
  36113. "models.WrPerformanceStepType": {
  36114. "type": "object",
  36115. "properties": {
  36116. "canauto": {
  36117. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  36118. "type": "integer"
  36119. },
  36120. "steptypeid": {
  36121. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  36122. "type": "integer"
  36123. },
  36124. "steptypename": {
  36125. "description": "步骤类型名称",
  36126. "type": "string"
  36127. }
  36128. }
  36129. },
  36130. "models.WrPerformanceTemplateEx": {
  36131. "type": "object",
  36132. "properties": {
  36133. "autoid": {
  36134. "description": "AutoID 模板id",
  36135. "type": "integer"
  36136. },
  36137. "createtime": {
  36138. "description": "创建时间",
  36139. "type": "string"
  36140. },
  36141. "creatorid": {
  36142. "description": "创建人",
  36143. "type": "integer"
  36144. },
  36145. "lstStep": {
  36146. "description": "步骤信息列表",
  36147. "type": "array",
  36148. "items": {
  36149. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  36150. }
  36151. },
  36152. "paymenttype": {
  36153. "description": "支付方式 - 1:冻结 2:扣款",
  36154. "type": "integer"
  36155. },
  36156. "takemode": {
  36157. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  36158. "type": "integer"
  36159. },
  36160. "templatename": {
  36161. "description": "模板名称",
  36162. "type": "string"
  36163. },
  36164. "templatetype": {
  36165. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  36166. "type": "integer"
  36167. },
  36168. "userid": {
  36169. "description": "所属用户",
  36170. "type": "integer"
  36171. }
  36172. }
  36173. },
  36174. "models.WrPosition": {
  36175. "type": "object",
  36176. "properties": {
  36177. "accountid": {
  36178. "description": "帐户ID",
  36179. "type": "integer"
  36180. },
  36181. "buyexcuteqty": {
  36182. "description": "采购履约中数量",
  36183. "type": "number"
  36184. },
  36185. "creditcurqty": {
  36186. "description": "授信当前数量(预售仓单:预售当前量)",
  36187. "type": "number"
  36188. },
  36189. "creditenableqty": {
  36190. "description": "授信可用数量(预售仓单: 可用数量)",
  36191. "type": "number"
  36192. },
  36193. "creditfreezeqty": {
  36194. "description": "授信冻结数量(预售仓单: 当前数量)",
  36195. "type": "number"
  36196. },
  36197. "credittotalqty": {
  36198. "description": "授信总数量(预售仓单:预售总量)",
  36199. "type": "number"
  36200. },
  36201. "credittradeqty": {
  36202. "description": "授信成交数量(预售仓单:成交总量)",
  36203. "type": "number"
  36204. },
  36205. "deliverygoodscode": {
  36206. "description": "品种代码",
  36207. "type": "string"
  36208. },
  36209. "deliverygoodsid": {
  36210. "description": "品种ID",
  36211. "type": "integer"
  36212. },
  36213. "deliverygoodsname": {
  36214. "description": "品种名称",
  36215. "type": "string"
  36216. },
  36217. "enalbeqty": {
  36218. "description": "可用数量",
  36219. "type": "number"
  36220. },
  36221. "enumdicname": {
  36222. "description": "单位名称",
  36223. "type": "string"
  36224. },
  36225. "freezeqty": {
  36226. "description": "总冻结数量",
  36227. "type": "number"
  36228. },
  36229. "haswr": {
  36230. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36231. "type": "integer"
  36232. },
  36233. "minivalue": {
  36234. "description": "现货商品最小变动值",
  36235. "type": "integer"
  36236. },
  36237. "modifytime": {
  36238. "description": "修改时间(过户时间)",
  36239. "type": "string"
  36240. },
  36241. "optioncompare": {
  36242. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36243. "type": "string"
  36244. },
  36245. "pledgeqty": {
  36246. "description": "质押数量",
  36247. "type": "number"
  36248. },
  36249. "querytype": {
  36250. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  36251. "type": "integer"
  36252. },
  36253. "sellexcuteqty": {
  36254. "description": "销售履约中数量",
  36255. "type": "number"
  36256. },
  36257. "totalqty": {
  36258. "description": "总数量(库存数量)",
  36259. "type": "number"
  36260. },
  36261. "warehouseid": {
  36262. "description": "仓库ID",
  36263. "type": "integer"
  36264. },
  36265. "warehousename": {
  36266. "description": "仓库名称",
  36267. "type": "string"
  36268. },
  36269. "wrfactortypeid": {
  36270. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36271. "type": "string"
  36272. },
  36273. "wrfactortypename": {
  36274. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36275. "type": "string"
  36276. },
  36277. "wrpositionid": {
  36278. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  36279. "type": "string"
  36280. },
  36281. "wrpositionno": {
  36282. "description": "仓单编号",
  36283. "type": "string"
  36284. },
  36285. "wrstandardcode": {
  36286. "description": "现货商品代码",
  36287. "type": "string"
  36288. },
  36289. "wrstandardid": {
  36290. "description": "现货商品ID",
  36291. "type": "integer"
  36292. },
  36293. "wrstandardname": {
  36294. "description": "商品名称",
  36295. "type": "string"
  36296. },
  36297. "wrtypename": {
  36298. "description": "商品",
  36299. "type": "string"
  36300. },
  36301. "wruserid": {
  36302. "description": "持有人ID",
  36303. "type": "integer"
  36304. }
  36305. }
  36306. },
  36307. "models.WrQuoteOrderMyq": {
  36308. "type": "object",
  36309. "properties": {
  36310. "buyorsell": {
  36311. "description": "买卖 - 0:买 1:卖",
  36312. "type": "integer"
  36313. },
  36314. "canbargain": {
  36315. "description": "是否可议价 - 0:不可 1:可",
  36316. "type": "integer"
  36317. },
  36318. "canpart": {
  36319. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  36320. "type": "integer"
  36321. },
  36322. "delistminqty": {
  36323. "description": "起摘数量",
  36324. "type": "number"
  36325. },
  36326. "deliverygoodscode": {
  36327. "description": "品种代码",
  36328. "type": "string"
  36329. },
  36330. "deliverygoodsid": {
  36331. "description": "品种ID",
  36332. "type": "integer"
  36333. },
  36334. "deliverygoodsname": {
  36335. "description": "品种名称",
  36336. "type": "string"
  36337. },
  36338. "deliverymonth": {
  36339. "description": "交收月",
  36340. "type": "string"
  36341. },
  36342. "enumdicname": {
  36343. "description": "单位名称",
  36344. "type": "string"
  36345. },
  36346. "fixedprice": {
  36347. "description": "买(卖)价",
  36348. "type": "number"
  36349. },
  36350. "goodscode": {
  36351. "description": "商品合约代码",
  36352. "type": "string"
  36353. },
  36354. "marginflag": {
  36355. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  36356. "type": "integer"
  36357. },
  36358. "marginvalue": {
  36359. "description": "保证金设置值",
  36360. "type": "number"
  36361. },
  36362. "minivalue": {
  36363. "description": "现货商品最小变动值",
  36364. "type": "integer"
  36365. },
  36366. "orderqty": {
  36367. "description": "买(卖)量(=委托量-成交量)",
  36368. "type": "number"
  36369. },
  36370. "ordertime": {
  36371. "description": "委托时间",
  36372. "type": "string"
  36373. },
  36374. "performancetemplateid": {
  36375. "description": "履约模板id",
  36376. "type": "integer"
  36377. },
  36378. "pricemove": {
  36379. "description": "买(卖)升贴水- 基差",
  36380. "type": "number"
  36381. },
  36382. "templatename": {
  36383. "description": "履约模板名称",
  36384. "type": "string"
  36385. },
  36386. "userid": {
  36387. "description": "购买方(销售方)用户ID",
  36388. "type": "integer"
  36389. },
  36390. "username": {
  36391. "description": "购买方(销售方)",
  36392. "type": "string"
  36393. },
  36394. "validtime": {
  36395. "description": "有效期限",
  36396. "type": "string"
  36397. },
  36398. "validtype": {
  36399. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  36400. "type": "integer"
  36401. },
  36402. "warehousename": {
  36403. "description": "仓库名称",
  36404. "type": "string"
  36405. },
  36406. "wrfactortypeid": {
  36407. "description": "仓单要素id",
  36408. "type": "string"
  36409. },
  36410. "wrstandardcode": {
  36411. "description": "现货商品代码",
  36412. "type": "string"
  36413. },
  36414. "wrstandardid": {
  36415. "description": "现货商品ID",
  36416. "type": "integer"
  36417. },
  36418. "wrstandardname": {
  36419. "description": "商品名称",
  36420. "type": "string"
  36421. },
  36422. "wrtradeorderid": {
  36423. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36424. "type": "string"
  36425. },
  36426. "wrtypename": {
  36427. "description": "商品",
  36428. "type": "string"
  36429. }
  36430. }
  36431. },
  36432. "models.WrScfContract": {
  36433. "type": "object",
  36434. "properties": {
  36435. "borroweruserid": {
  36436. "description": "借款用户ID",
  36437. "type": "integer"
  36438. },
  36439. "buybackwrpositionqty": {
  36440. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  36441. "type": "number"
  36442. },
  36443. "closeinterest": {
  36444. "description": "已结利息 -\u003e 已结费用",
  36445. "type": "number"
  36446. },
  36447. "currisklevel": {
  36448. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  36449. "type": "integer"
  36450. },
  36451. "deadline": {
  36452. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  36453. "type": "string"
  36454. },
  36455. "deliverygoodscode": {
  36456. "description": "品种代码",
  36457. "type": "string"
  36458. },
  36459. "deliverygoodsid": {
  36460. "description": "品种ID",
  36461. "type": "integer"
  36462. },
  36463. "deliverygoodsname": {
  36464. "description": "品种名称",
  36465. "type": "string"
  36466. },
  36467. "enumdicname": {
  36468. "description": "单位名称",
  36469. "type": "string"
  36470. },
  36471. "financingdays": {
  36472. "description": "天数(天)",
  36473. "type": "integer"
  36474. },
  36475. "initmargin": {
  36476. "description": "保证金 - [仓单回购]",
  36477. "type": "number"
  36478. },
  36479. "interestamount": {
  36480. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  36481. "type": "number"
  36482. },
  36483. "interestdebt": {
  36484. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  36485. "type": "number"
  36486. },
  36487. "interestminlen": {
  36488. "description": "最小起息天数",
  36489. "type": "integer"
  36490. },
  36491. "interestrate": {
  36492. "description": "利率",
  36493. "type": "number"
  36494. },
  36495. "interestratemode": {
  36496. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  36497. "type": "integer"
  36498. },
  36499. "interestsettlemode": {
  36500. "description": "结息方式 - 1:按日结息 3:按月结息",
  36501. "type": "integer"
  36502. },
  36503. "interestsettlevalue": {
  36504. "description": "结息方式值",
  36505. "type": "integer"
  36506. },
  36507. "isautoloan": {
  36508. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  36509. "type": "integer"
  36510. },
  36511. "lastcloseinterestday": {
  36512. "description": "最近结息日(yyyyMMdd)",
  36513. "type": "string"
  36514. },
  36515. "lenderamount": {
  36516. "description": "贷款金额 -\u003e 借款金额",
  36517. "type": "number"
  36518. },
  36519. "lenderuserid": {
  36520. "description": "贷款方用户ID -\u003e 融出方用户ID",
  36521. "type": "integer"
  36522. },
  36523. "lenderusername": {
  36524. "description": "融出方",
  36525. "type": "string"
  36526. },
  36527. "marginratio": {
  36528. "description": "保证金比率质押率 - [仓单质押]",
  36529. "type": "number"
  36530. },
  36531. "marketid": {
  36532. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  36533. "type": "integer"
  36534. },
  36535. "minivalue": {
  36536. "description": "现货商品最小变动值",
  36537. "type": "integer"
  36538. },
  36539. "optioncompare": {
  36540. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36541. "type": "string"
  36542. },
  36543. "pricemove": {
  36544. "description": "估值升贴水值",
  36545. "type": "number"
  36546. },
  36547. "productdetailid": {
  36548. "description": "产品组合ID",
  36549. "type": "integer"
  36550. },
  36551. "productid": {
  36552. "description": "金融产品ID",
  36553. "type": "integer"
  36554. },
  36555. "productname": {
  36556. "description": "产品名称",
  36557. "type": "string"
  36558. },
  36559. "remainamount": {
  36560. "description": "合同剩余金额 -\u003e 剩余金额",
  36561. "type": "number"
  36562. },
  36563. "remainwrpositionqty": {
  36564. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  36565. "type": "number"
  36566. },
  36567. "remark": {
  36568. "description": "备注",
  36569. "type": "string"
  36570. },
  36571. "scfcontractid": {
  36572. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  36573. "type": "string"
  36574. },
  36575. "scfcontractstatus": {
  36576. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  36577. "type": "integer"
  36578. },
  36579. "scfcontracttype": {
  36580. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  36581. "type": "integer"
  36582. },
  36583. "startinterestday": {
  36584. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  36585. "type": "string"
  36586. },
  36587. "totalinterest": {
  36588. "description": "已计利息 -\u003e 已计费用",
  36589. "type": "number"
  36590. },
  36591. "unpaidinterest": {
  36592. "description": "未结费用",
  36593. "type": "number"
  36594. },
  36595. "updatetime": {
  36596. "description": "更新时间",
  36597. "type": "string"
  36598. },
  36599. "warehouseid": {
  36600. "description": "仓库ID",
  36601. "type": "integer"
  36602. },
  36603. "warehousename": {
  36604. "description": "仓库名称",
  36605. "type": "string"
  36606. },
  36607. "wrfactortypeid": {
  36608. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36609. "type": "string"
  36610. },
  36611. "wrfactortypename": {
  36612. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36613. "type": "string"
  36614. },
  36615. "wrqty": {
  36616. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  36617. "type": "number"
  36618. },
  36619. "wrstandardcode": {
  36620. "description": "现货商品代码",
  36621. "type": "string"
  36622. },
  36623. "wrstandardid": {
  36624. "description": "现货商品ID",
  36625. "type": "integer"
  36626. },
  36627. "wrstandardname": {
  36628. "description": "商品名称",
  36629. "type": "string"
  36630. },
  36631. "wrtypename": {
  36632. "description": "商品",
  36633. "type": "string"
  36634. }
  36635. }
  36636. },
  36637. "models.WrScfContractInterest": {
  36638. "type": "object",
  36639. "properties": {
  36640. "closeinterest": {
  36641. "description": "已结利息",
  36642. "type": "number"
  36643. },
  36644. "closeintereststatus": {
  36645. "description": "结息状态 - 1:未结 2:已结",
  36646. "type": "integer"
  36647. },
  36648. "closetime": {
  36649. "description": "结息时间",
  36650. "type": "string"
  36651. },
  36652. "closetradedate": {
  36653. "description": "结息交易日",
  36654. "type": "string"
  36655. },
  36656. "creatorid": {
  36657. "description": "操作人ID",
  36658. "type": "integer"
  36659. },
  36660. "dayrate": {
  36661. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  36662. "type": "number"
  36663. },
  36664. "interest": {
  36665. "description": "利息",
  36666. "type": "number"
  36667. },
  36668. "interestamount": {
  36669. "description": "计息金额",
  36670. "type": "number"
  36671. },
  36672. "interestday": {
  36673. "description": "计息日(yyyyMMdd)",
  36674. "type": "string"
  36675. },
  36676. "scfcontractid": {
  36677. "description": "SCF合同ID",
  36678. "type": "string"
  36679. },
  36680. "scfcontractinterestid": {
  36681. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  36682. "type": "integer"
  36683. },
  36684. "updatetime": {
  36685. "description": "更新时间",
  36686. "type": "string"
  36687. }
  36688. }
  36689. },
  36690. "models.WrSiteColumnDetail": {
  36691. "type": "object",
  36692. "properties": {
  36693. "brief": {
  36694. "description": "简介",
  36695. "type": "string"
  36696. },
  36697. "context": {
  36698. "description": "内容",
  36699. "type": "string"
  36700. },
  36701. "coverimage": {
  36702. "description": "封面图片",
  36703. "type": "string"
  36704. },
  36705. "creaedate": {
  36706. "description": "创建时间",
  36707. "type": "string"
  36708. },
  36709. "id": {
  36710. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  36711. "type": "integer"
  36712. },
  36713. "istop": {
  36714. "description": "是否置顶 - 0:不置 1:置顶",
  36715. "type": "integer"
  36716. },
  36717. "publishdate": {
  36718. "description": "发布日期",
  36719. "type": "string"
  36720. },
  36721. "title": {
  36722. "description": "标题",
  36723. "type": "string"
  36724. },
  36725. "updatedate": {
  36726. "description": "修改时间",
  36727. "type": "string"
  36728. }
  36729. }
  36730. },
  36731. "models.WrSpecialMatchOrder": {
  36732. "type": "object",
  36733. "properties": {
  36734. "amount": {
  36735. "description": "金额 = 数量 * 价格",
  36736. "type": "number"
  36737. },
  36738. "buyorsell": {
  36739. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36740. "type": "integer"
  36741. },
  36742. "cancelqty": {
  36743. "description": "撤销数量",
  36744. "type": "number"
  36745. },
  36746. "deliverygoodscode": {
  36747. "description": "品种代码",
  36748. "type": "string"
  36749. },
  36750. "deliverygoodsid": {
  36751. "description": "品种ID",
  36752. "type": "integer"
  36753. },
  36754. "deliverygoodsname": {
  36755. "description": "品种名称",
  36756. "type": "string"
  36757. },
  36758. "enumdicname": {
  36759. "description": "单位名称",
  36760. "type": "string"
  36761. },
  36762. "fixedprice": {
  36763. "description": "固定价格(价格)",
  36764. "type": "number"
  36765. },
  36766. "haswr": {
  36767. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36768. "type": "integer"
  36769. },
  36770. "isspecified": {
  36771. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  36772. "type": "integer"
  36773. },
  36774. "marketid": {
  36775. "description": "市场ID",
  36776. "type": "integer"
  36777. },
  36778. "matchuserid": {
  36779. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  36780. "type": "integer"
  36781. },
  36782. "matchusername": {
  36783. "description": "指定方",
  36784. "type": "string"
  36785. },
  36786. "minivalue": {
  36787. "description": "现货商品最小变动值",
  36788. "type": "integer"
  36789. },
  36790. "optioncompare": {
  36791. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36792. "type": "string"
  36793. },
  36794. "orderqty": {
  36795. "description": "委托数量",
  36796. "type": "number"
  36797. },
  36798. "ordertime": {
  36799. "description": "委托时间",
  36800. "type": "string"
  36801. },
  36802. "pricemove": {
  36803. "description": "升贴水(浮动价时填写) - [挂牌]",
  36804. "type": "number"
  36805. },
  36806. "tradedate": {
  36807. "description": "交易日(yyyyMMdd)",
  36808. "type": "string"
  36809. },
  36810. "tradeprice": {
  36811. "description": "成交价格",
  36812. "type": "number"
  36813. },
  36814. "tradeqty": {
  36815. "description": "成交数量",
  36816. "type": "number"
  36817. },
  36818. "userid": {
  36819. "description": "用户ID",
  36820. "type": "integer"
  36821. },
  36822. "username": {
  36823. "description": "发起方",
  36824. "type": "string"
  36825. },
  36826. "warehouseid": {
  36827. "description": "仓库ID",
  36828. "type": "integer"
  36829. },
  36830. "warehousename": {
  36831. "description": "仓库名称",
  36832. "type": "string"
  36833. },
  36834. "wrfactortypeid": {
  36835. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36836. "type": "string"
  36837. },
  36838. "wrfactortypename": {
  36839. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36840. "type": "string"
  36841. },
  36842. "wrpricetype": {
  36843. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36844. "type": "integer"
  36845. },
  36846. "wrstandardcode": {
  36847. "description": "现货商品代码",
  36848. "type": "string"
  36849. },
  36850. "wrstandardid": {
  36851. "description": "现货商品ID",
  36852. "type": "integer"
  36853. },
  36854. "wrstandardname": {
  36855. "description": "商品名称",
  36856. "type": "string"
  36857. },
  36858. "wrtradeorderid": {
  36859. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36860. "type": "string"
  36861. },
  36862. "wrtradeorderstatus": {
  36863. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  36864. "type": "integer"
  36865. },
  36866. "wrtradetype": {
  36867. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36868. "type": "integer"
  36869. },
  36870. "wrtypename": {
  36871. "description": "商品",
  36872. "type": "string"
  36873. }
  36874. }
  36875. },
  36876. "models.WrSpotGroupTradeSum": {
  36877. "type": "object",
  36878. "properties": {
  36879. "deliverygoodscode": {
  36880. "description": "现货品种代码",
  36881. "type": "string"
  36882. },
  36883. "deliverygoodsid": {
  36884. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36885. "type": "integer"
  36886. },
  36887. "deliverygoodsname": {
  36888. "description": "现货品种名称",
  36889. "type": "string"
  36890. },
  36891. "lastavgprice": {
  36892. "description": "上上个交易日价格(前2天价格)",
  36893. "type": "string"
  36894. },
  36895. "lastreckondate": {
  36896. "description": "上上个交易日(前2天交易日)",
  36897. "type": "string"
  36898. },
  36899. "reckondate": {
  36900. "description": "上个交易日(前1天交易日)",
  36901. "type": "string"
  36902. },
  36903. "todayavgprice": {
  36904. "description": "上个交易日价格(前1天价格)",
  36905. "type": "string"
  36906. },
  36907. "updown": {
  36908. "description": "涨跌",
  36909. "type": "string"
  36910. },
  36911. "updownratio": {
  36912. "description": "涨幅(已格式化, 直接显示即可)",
  36913. "type": "string"
  36914. }
  36915. }
  36916. },
  36917. "models.WrSpotGroupTradeSumDetail": {
  36918. "type": "object",
  36919. "properties": {
  36920. "deliverygoodsid": {
  36921. "description": "现货商品id",
  36922. "type": "integer"
  36923. },
  36924. "price": {
  36925. "description": "价格",
  36926. "type": "number"
  36927. },
  36928. "reckondate": {
  36929. "description": "日期(yyymmdd, 如:20211031)",
  36930. "type": "string"
  36931. }
  36932. }
  36933. },
  36934. "models.WrSpotGroupTradeSumEx": {
  36935. "type": "object",
  36936. "properties": {
  36937. "lst": {
  36938. "description": "指数列表",
  36939. "type": "array",
  36940. "items": {
  36941. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  36942. }
  36943. },
  36944. "prereckondate": {
  36945. "description": "上上个交易日(yyymmdd)",
  36946. "type": "string"
  36947. },
  36948. "reckondate": {
  36949. "description": "上个交易日(yyyymmdd)",
  36950. "type": "string"
  36951. }
  36952. }
  36953. },
  36954. "models.WrStandardFactoryItem": {
  36955. "type": "object",
  36956. "properties": {
  36957. "dgfactoryitemid": {
  36958. "description": "选择项id",
  36959. "type": "integer"
  36960. },
  36961. "dgfactoryitemvalue": {
  36962. "description": "要素项值",
  36963. "type": "string"
  36964. },
  36965. "warehouseid": {
  36966. "description": "仓库id",
  36967. "type": "integer"
  36968. }
  36969. }
  36970. },
  36971. "models.WrStandardFactoryItemEx": {
  36972. "type": "object",
  36973. "properties": {
  36974. "dgfactoryitemtypeid": {
  36975. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  36976. "type": "integer"
  36977. },
  36978. "itemlst": {
  36979. "description": "要素项列表",
  36980. "type": "array",
  36981. "items": {
  36982. "$ref": "#/definitions/models.WrStandardFactoryItem"
  36983. }
  36984. },
  36985. "itemtypename": {
  36986. "description": "要素项类型名称",
  36987. "type": "string"
  36988. },
  36989. "wrstandardid": {
  36990. "description": "品类",
  36991. "type": "integer"
  36992. }
  36993. }
  36994. },
  36995. "models.WrTradeDetail": {
  36996. "type": "object",
  36997. "properties": {
  36998. "accountid": {
  36999. "description": "资金账号",
  37000. "type": "integer"
  37001. },
  37002. "begindate": {
  37003. "description": "开始交易日(yyyymmdd)",
  37004. "type": "string"
  37005. },
  37006. "buyorsell": {
  37007. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  37008. "type": "integer"
  37009. },
  37010. "chargevalue": {
  37011. "description": "手续费",
  37012. "type": "number"
  37013. },
  37014. "deliverygoodscode": {
  37015. "description": "品种代码",
  37016. "type": "string"
  37017. },
  37018. "deliverygoodsid": {
  37019. "description": "品种ID",
  37020. "type": "integer"
  37021. },
  37022. "deliverygoodsname": {
  37023. "description": "品种名称",
  37024. "type": "string"
  37025. },
  37026. "deliverymonth": {
  37027. "description": "交收月",
  37028. "type": "string"
  37029. },
  37030. "enddate": {
  37031. "description": "结束交易日(yyyymmdd)",
  37032. "type": "string"
  37033. },
  37034. "enumdicname": {
  37035. "description": "单位名称",
  37036. "type": "string"
  37037. },
  37038. "haswr": {
  37039. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  37040. "type": "integer"
  37041. },
  37042. "marketid": {
  37043. "description": "市场ID",
  37044. "type": "integer"
  37045. },
  37046. "matchaccountid": {
  37047. "description": "对手账号",
  37048. "type": "integer"
  37049. },
  37050. "matchusername": {
  37051. "description": "对手方",
  37052. "type": "string"
  37053. },
  37054. "minivalue": {
  37055. "description": "现货商品最小变动值",
  37056. "type": "integer"
  37057. },
  37058. "optioncompare": {
  37059. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37060. "type": "string"
  37061. },
  37062. "tradedate": {
  37063. "description": "交易日(yyyyMMdd)",
  37064. "type": "string"
  37065. },
  37066. "tradeprice": {
  37067. "description": "成交价格",
  37068. "type": "number"
  37069. },
  37070. "tradeqty": {
  37071. "description": "成交数量",
  37072. "type": "number"
  37073. },
  37074. "tradetime": {
  37075. "description": "成交时间",
  37076. "type": "string"
  37077. },
  37078. "userid": {
  37079. "description": "用户ID",
  37080. "type": "integer"
  37081. },
  37082. "warehouseid": {
  37083. "description": "仓库ID",
  37084. "type": "integer"
  37085. },
  37086. "warehousename": {
  37087. "description": "仓库名称",
  37088. "type": "string"
  37089. },
  37090. "wrfactortypeid": {
  37091. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37092. "type": "string"
  37093. },
  37094. "wrfactortypename": {
  37095. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37096. "type": "string"
  37097. },
  37098. "wrstandardcode": {
  37099. "description": "现货商品代码",
  37100. "type": "string"
  37101. },
  37102. "wrstandardid": {
  37103. "description": "现货商品ID",
  37104. "type": "integer"
  37105. },
  37106. "wrstandardname": {
  37107. "description": "商品名称",
  37108. "type": "string"
  37109. },
  37110. "wrtradedetailid": {
  37111. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  37112. "type": "string"
  37113. },
  37114. "wrtradetype": {
  37115. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  37116. "type": "integer"
  37117. },
  37118. "wrtypename": {
  37119. "description": "商品",
  37120. "type": "string"
  37121. }
  37122. }
  37123. },
  37124. "models.WrTradeOrderDetail": {
  37125. "type": "object",
  37126. "properties": {
  37127. "buyorsell": {
  37128. "description": "买卖方向 0-买 1-卖",
  37129. "type": "integer"
  37130. },
  37131. "goodsid": {
  37132. "description": "商品id",
  37133. "type": "integer"
  37134. },
  37135. "orderid": {
  37136. "description": "委托单号",
  37137. "type": "string"
  37138. },
  37139. "orderprice": {
  37140. "description": "委托价格",
  37141. "type": "number"
  37142. },
  37143. "orderqty": {
  37144. "description": "委托数量",
  37145. "type": "integer"
  37146. },
  37147. "userid": {
  37148. "description": "用户id",
  37149. "type": "integer"
  37150. },
  37151. "username": {
  37152. "description": "用户名称(已脱敏)",
  37153. "type": "string"
  37154. }
  37155. }
  37156. },
  37157. "models.WrTypeItem": {
  37158. "type": "object",
  37159. "properties": {
  37160. "name": {
  37161. "description": "名称",
  37162. "type": "string"
  37163. },
  37164. "value": {
  37165. "description": "值",
  37166. "type": "string"
  37167. }
  37168. }
  37169. },
  37170. "models.WrUserFriend": {
  37171. "type": "object",
  37172. "properties": {
  37173. "friendname": {
  37174. "description": "朋友名称(已脱敏)",
  37175. "type": "string"
  37176. },
  37177. "frienduserid": {
  37178. "description": "朋友id",
  37179. "type": "integer"
  37180. },
  37181. "isfriend": {
  37182. "description": "是否好友 0-不是 1-是",
  37183. "type": "integer"
  37184. },
  37185. "userid": {
  37186. "description": "用户id",
  37187. "type": "integer"
  37188. }
  37189. }
  37190. },
  37191. "models.WrUserReceiptInfo": {
  37192. "type": "object",
  37193. "properties": {
  37194. "address": {
  37195. "description": "地址[发票类型:企业]",
  37196. "type": "string"
  37197. },
  37198. "autoid": {
  37199. "description": "AutoID",
  37200. "type": "integer"
  37201. },
  37202. "contactinfo": {
  37203. "description": "联系方式",
  37204. "type": "string"
  37205. },
  37206. "idnum": {
  37207. "description": "身份证号码[发票类型:个人]",
  37208. "type": "string"
  37209. },
  37210. "isdefault": {
  37211. "description": "是否默认地址 - 0:否 1:是",
  37212. "type": "integer"
  37213. },
  37214. "receiptaccount": {
  37215. "description": "发票帐号[发票类型:企业]",
  37216. "type": "string"
  37217. },
  37218. "receiptbank": {
  37219. "description": "发票开户行[发票类型:企业]",
  37220. "type": "string"
  37221. },
  37222. "receipttype": {
  37223. "description": "发票类型 - 1:个人 2:企业",
  37224. "type": "integer"
  37225. },
  37226. "taxpayerid": {
  37227. "description": "纳税人识别号",
  37228. "type": "string"
  37229. },
  37230. "userid": {
  37231. "description": "用户ID",
  37232. "type": "integer"
  37233. },
  37234. "username": {
  37235. "description": "户名(个人姓名或企业名称)",
  37236. "type": "string"
  37237. }
  37238. }
  37239. },
  37240. "models.XHBRAND": {
  37241. "type": "object",
  37242. "properties": {
  37243. "brandid": {
  37244. "description": "品牌id",
  37245. "type": "integer"
  37246. },
  37247. "brandname": {
  37248. "description": "品牌名称",
  37249. "type": "string"
  37250. },
  37251. "isvalid": {
  37252. "description": "是否有效 0-无效 1-有效",
  37253. "type": "integer"
  37254. }
  37255. }
  37256. },
  37257. "models.XHDeliveryGoods": {
  37258. "type": "object",
  37259. "properties": {
  37260. "areauserid": {
  37261. "description": "所属机构",
  37262. "type": "integer"
  37263. },
  37264. "bdlst": {
  37265. "description": "品牌列表",
  37266. "type": "array",
  37267. "items": {
  37268. "$ref": "#/definitions/models.XHBRAND"
  37269. }
  37270. },
  37271. "deliverygoodscode": {
  37272. "description": "现货品种代码",
  37273. "type": "string"
  37274. },
  37275. "deliverygoodsid": {
  37276. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  37277. "type": "integer"
  37278. },
  37279. "deliverygoodsname": {
  37280. "description": "现货品种名称",
  37281. "type": "string"
  37282. },
  37283. "dgstatus": {
  37284. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  37285. "type": "integer"
  37286. },
  37287. "isvalid": {
  37288. "description": "是否有效 - 0:无效 1:有效",
  37289. "type": "integer"
  37290. },
  37291. "remark": {
  37292. "description": "备注",
  37293. "type": "string"
  37294. },
  37295. "unitid": {
  37296. "description": "单位id(目前看,数据库中是空值)",
  37297. "type": "integer"
  37298. },
  37299. "wdlst": {
  37300. "description": "品类(现货商品)列表",
  37301. "type": "array",
  37302. "items": {
  37303. "$ref": "#/definitions/models.XHWrstandard"
  37304. }
  37305. }
  37306. }
  37307. },
  37308. "models.XHMiddleGoods": {
  37309. "type": "object",
  37310. "properties": {
  37311. "GPLST": {
  37312. "description": "期货品种列表",
  37313. "type": "array",
  37314. "items": {
  37315. "$ref": "#/definitions/models.TBGoodsGroup"
  37316. }
  37317. },
  37318. "convertratio": {
  37319. "description": "拆算系数",
  37320. "type": "number"
  37321. },
  37322. "costratio": {
  37323. "description": "成本权重",
  37324. "type": "number"
  37325. },
  37326. "deliverygoodsid": {
  37327. "description": "现货商品id",
  37328. "type": "integer"
  37329. },
  37330. "enumdicname": {
  37331. "description": "单位名称",
  37332. "type": "string"
  37333. },
  37334. "middlegoodscode": {
  37335. "description": "套保品种代码",
  37336. "type": "string"
  37337. },
  37338. "middlegoodsid": {
  37339. "description": "套保品种id",
  37340. "type": "integer"
  37341. },
  37342. "middlegoodsname": {
  37343. "description": "套保品种名称",
  37344. "type": "string"
  37345. },
  37346. "unitid": {
  37347. "description": "单位id",
  37348. "type": "integer"
  37349. }
  37350. }
  37351. },
  37352. "models.XHWrstandard": {
  37353. "type": "object",
  37354. "properties": {
  37355. "deliverygoodsid": {
  37356. "description": "品种ID",
  37357. "type": "integer"
  37358. },
  37359. "enumdicname": {
  37360. "description": "单位名称",
  37361. "type": "string"
  37362. },
  37363. "mglst": {
  37364. "description": "套保品列表",
  37365. "type": "array",
  37366. "items": {
  37367. "$ref": "#/definitions/models.XHMiddleGoods"
  37368. }
  37369. },
  37370. "unitid": {
  37371. "description": "单位id",
  37372. "type": "integer"
  37373. },
  37374. "vatrate": {
  37375. "description": "增值税率",
  37376. "type": "number"
  37377. },
  37378. "wrstandardcode": {
  37379. "description": "现货商品代码",
  37380. "type": "string"
  37381. },
  37382. "wrstandardid": {
  37383. "description": "现货商品ID(SEQ_WRSTANDARD)",
  37384. "type": "integer"
  37385. },
  37386. "wrstandardname": {
  37387. "description": "现货商品名称",
  37388. "type": "string"
  37389. }
  37390. }
  37391. },
  37392. "order.QueryHisTradeDetailRsp": {
  37393. "type": "object",
  37394. "required": [
  37395. "accountid",
  37396. "buyorsell",
  37397. "goodsid",
  37398. "histradedate",
  37399. "marketid",
  37400. "memberuserid",
  37401. "orderid",
  37402. "tradeamount",
  37403. "tradedate",
  37404. "tradeid",
  37405. "tradeprice",
  37406. "tradeqty",
  37407. "tradetime"
  37408. ],
  37409. "properties": {
  37410. "accountid": {
  37411. "description": "账户ID[报价币种]",
  37412. "type": "integer"
  37413. },
  37414. "advanceratio": {
  37415. "description": "首付比率",
  37416. "type": "number"
  37417. },
  37418. "buildtype": {
  37419. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  37420. "type": "integer"
  37421. },
  37422. "buyorsell": {
  37423. "description": "方向 - 0:买 1:卖",
  37424. "type": "integer"
  37425. },
  37426. "charge": {
  37427. "description": "手续费",
  37428. "type": "number"
  37429. },
  37430. "closecharge": {
  37431. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37432. "type": "number"
  37433. },
  37434. "closeexchagechargevalue": {
  37435. "description": "平仓交易所手续费设置值",
  37436. "type": "number"
  37437. },
  37438. "closefeealgorithm": {
  37439. "description": "平仓手续费收取方式 1:比率 2:固定",
  37440. "type": "integer"
  37441. },
  37442. "closememberchargevalue": {
  37443. "description": "平仓会员手续费设置值",
  37444. "type": "number"
  37445. },
  37446. "closepl": {
  37447. "description": "平仓盈亏",
  37448. "type": "number"
  37449. },
  37450. "closepl2": {
  37451. "description": "平仓盈亏[逐笔]",
  37452. "type": "number"
  37453. },
  37454. "closeqty": {
  37455. "description": "平仓数量(先建后平操作 需要记录)",
  37456. "type": "number"
  37457. },
  37458. "creditamount": {
  37459. "description": "授信金额",
  37460. "type": "number"
  37461. },
  37462. "decimalplace": {
  37463. "description": "商品报价小数位",
  37464. "type": "integer"
  37465. },
  37466. "enumdicname": {
  37467. "description": "单位名称",
  37468. "type": "string"
  37469. },
  37470. "gcaccountid": {
  37471. "description": "账户ID[合约币种]",
  37472. "type": "integer"
  37473. },
  37474. "goodscode": {
  37475. "description": "商品代码",
  37476. "type": "string"
  37477. },
  37478. "goodsid": {
  37479. "description": "商品ID",
  37480. "type": "integer"
  37481. },
  37482. "goodsname": {
  37483. "description": "商品名称",
  37484. "type": "string"
  37485. },
  37486. "goodunitid": {
  37487. "description": "商品单位id",
  37488. "type": "integer"
  37489. },
  37490. "histradedate": {
  37491. "description": "历史交易日",
  37492. "type": "string"
  37493. },
  37494. "intclosepl": {
  37495. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  37496. "type": "integer"
  37497. },
  37498. "isconfirmexercise": {
  37499. "description": "是否确认行权- 0:否 1:是",
  37500. "type": "integer"
  37501. },
  37502. "ismain": {
  37503. "description": "是否主单 - 0:不是 1:是",
  37504. "type": "integer"
  37505. },
  37506. "ispreexercise": {
  37507. "description": "是否预申报- 0:否 1:是",
  37508. "type": "integer"
  37509. },
  37510. "isreckoned": {
  37511. "description": "是否结算 - 0:未结算 1:已结算",
  37512. "type": "integer"
  37513. },
  37514. "isvaliddata": {
  37515. "description": "是否有效 - 0:无效 1:有效",
  37516. "type": "integer"
  37517. },
  37518. "listingselecttype": {
  37519. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37520. "type": "integer"
  37521. },
  37522. "marketid": {
  37523. "description": "市场ID",
  37524. "type": "integer"
  37525. },
  37526. "marketname": {
  37527. "description": "市场名称",
  37528. "type": "string"
  37529. },
  37530. "matchaccountid": {
  37531. "description": "对手账号id",
  37532. "type": "integer"
  37533. },
  37534. "memberuserid": {
  37535. "description": "会员id 个人投资者 需要填写",
  37536. "type": "integer"
  37537. },
  37538. "opencharge": {
  37539. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37540. "type": "number"
  37541. },
  37542. "openexchagechargevalue": {
  37543. "description": "建仓交易所手续费设置值",
  37544. "type": "number"
  37545. },
  37546. "openfeealgorithm": {
  37547. "description": "建仓手续费收取方式 1:比率 2:固定",
  37548. "type": "integer"
  37549. },
  37550. "openmemberchargevalue": {
  37551. "description": "建仓会员手续费设置值",
  37552. "type": "number"
  37553. },
  37554. "openqty": {
  37555. "description": "开仓数量(先建后平操作 需要记录)",
  37556. "type": "number"
  37557. },
  37558. "optiontype": {
  37559. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37560. "type": "integer"
  37561. },
  37562. "orderid": {
  37563. "description": "委托单号",
  37564. "type": "string"
  37565. },
  37566. "payamount": {
  37567. "description": "支付金额(付款金额)",
  37568. "type": "number"
  37569. },
  37570. "performanceplanid": {
  37571. "description": "履约计划ID[期权]",
  37572. "type": "integer"
  37573. },
  37574. "performancestatus": {
  37575. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  37576. "type": "integer"
  37577. },
  37578. "preexerciseprice": {
  37579. "description": "预申报价格",
  37580. "type": "number"
  37581. },
  37582. "premium": {
  37583. "description": "权利金 - [持仓单的权利金]",
  37584. "type": "number"
  37585. },
  37586. "qtydecimalplace": {
  37587. "description": "商品报价小数位",
  37588. "type": "integer"
  37589. },
  37590. "recvamount": {
  37591. "description": "到账金额 = 成交金额 - 手续费",
  37592. "type": "number"
  37593. },
  37594. "relatedouttradeid": {
  37595. "description": "关联外部成交单ID",
  37596. "type": "integer"
  37597. },
  37598. "status": {
  37599. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  37600. "type": "integer"
  37601. },
  37602. "totalamount": {
  37603. "description": "订单总额 = 成交金额 + 手续费",
  37604. "type": "number"
  37605. },
  37606. "tradeamount": {
  37607. "description": "成交金额[账户币种,用于所有权]",
  37608. "type": "number"
  37609. },
  37610. "tradedate": {
  37611. "description": "交易日(yyyyMMdd)",
  37612. "type": "string"
  37613. },
  37614. "tradeid": {
  37615. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37616. "type": "string"
  37617. },
  37618. "trademode": {
  37619. "description": "交易模式",
  37620. "type": "integer"
  37621. },
  37622. "tradeprice": {
  37623. "description": "成交价格",
  37624. "type": "number"
  37625. },
  37626. "tradeproperty": {
  37627. "description": "交易属性",
  37628. "type": "integer"
  37629. },
  37630. "tradeqty": {
  37631. "description": "成交数量",
  37632. "type": "number"
  37633. },
  37634. "tradetime": {
  37635. "description": "成交时间",
  37636. "type": "string"
  37637. },
  37638. "tradetype": {
  37639. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37640. "type": "integer"
  37641. }
  37642. }
  37643. },
  37644. "order.QueryHisTradeOrderDetailRsp": {
  37645. "type": "object",
  37646. "required": [
  37647. "accountid",
  37648. "buildtype",
  37649. "buyorsell",
  37650. "goodsid",
  37651. "histradedate",
  37652. "marketid",
  37653. "memberuserid",
  37654. "operatetype",
  37655. "orderid",
  37656. "orderqty",
  37657. "ordertime",
  37658. "pricemode",
  37659. "tradedate",
  37660. "validtype"
  37661. ],
  37662. "properties": {
  37663. "accountid": {
  37664. "description": "账户ID[报价币种]",
  37665. "type": "integer"
  37666. },
  37667. "buildtype": {
  37668. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37669. "type": "integer"
  37670. },
  37671. "buyorsell": {
  37672. "description": "买卖 - 0:买 1:卖",
  37673. "type": "integer"
  37674. },
  37675. "cancelorderid": {
  37676. "description": "撤单单号(撤单时填写)",
  37677. "type": "string"
  37678. },
  37679. "cancelqty": {
  37680. "description": "撤单数量",
  37681. "type": "number"
  37682. },
  37683. "clientordertime": {
  37684. "description": "客户端委托时间",
  37685. "type": "string"
  37686. },
  37687. "clientticket": {
  37688. "description": "客户端流水号",
  37689. "type": "string"
  37690. },
  37691. "clienttype": {
  37692. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37693. "type": "integer"
  37694. },
  37695. "closeexchagechargevalue": {
  37696. "description": "平仓交易所手续费设置值",
  37697. "type": "number"
  37698. },
  37699. "closefeealgorithm": {
  37700. "description": "平仓手续费收取方式 1:比率 2:固定",
  37701. "type": "integer"
  37702. },
  37703. "closefreezecharge": {
  37704. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  37705. "type": "number"
  37706. },
  37707. "closememberchargevalue": {
  37708. "description": "平仓会员手续费设置值",
  37709. "type": "number"
  37710. },
  37711. "closeqty": {
  37712. "description": "平仓数量(先建后平操作 需要记录)",
  37713. "type": "number"
  37714. },
  37715. "closetradeqty": {
  37716. "description": "平仓成交数量(先建后平操作,需要记录)",
  37717. "type": "number"
  37718. },
  37719. "closeunfreezecharge": {
  37720. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  37721. "type": "number"
  37722. },
  37723. "decimalplace": {
  37724. "description": "商品报价小数位",
  37725. "type": "integer"
  37726. },
  37727. "delistingtype": {
  37728. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  37729. "type": "integer"
  37730. },
  37731. "enumdicname": {
  37732. "description": "单位名称",
  37733. "type": "string"
  37734. },
  37735. "freezecharge": {
  37736. "description": "冻结手续费",
  37737. "type": "number"
  37738. },
  37739. "freezemargin": {
  37740. "description": "冻结保证金(冻结交易金额)",
  37741. "type": "number"
  37742. },
  37743. "gcaccountid": {
  37744. "description": "账户ID[合约币种]",
  37745. "type": "integer"
  37746. },
  37747. "goodscode": {
  37748. "description": "商品代码",
  37749. "type": "string"
  37750. },
  37751. "goodsid": {
  37752. "description": "商品ID",
  37753. "type": "integer"
  37754. },
  37755. "goodsname": {
  37756. "description": "商品名称",
  37757. "type": "string"
  37758. },
  37759. "goodunitid": {
  37760. "description": "商品单位id",
  37761. "type": "integer"
  37762. },
  37763. "histradedate": {
  37764. "description": "历史交易日",
  37765. "type": "string"
  37766. },
  37767. "isconfirmexercise": {
  37768. "description": "是否确认行权- 0:否 1:是",
  37769. "type": "integer"
  37770. },
  37771. "ispreexercise": {
  37772. "description": "是否预申报- 0:否 1:是",
  37773. "type": "integer"
  37774. },
  37775. "isvaliddata": {
  37776. "description": "是否有效 - 0:无效 1:有效",
  37777. "type": "integer"
  37778. },
  37779. "listingselecttype": {
  37780. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37781. "type": "integer"
  37782. },
  37783. "marginalgorithm": {
  37784. "description": "保证金收取方式 1:比率 2:固定",
  37785. "type": "integer"
  37786. },
  37787. "marginvalue": {
  37788. "description": "即市保证金设置值",
  37789. "type": "number"
  37790. },
  37791. "marketid": {
  37792. "description": "市场ID",
  37793. "type": "integer"
  37794. },
  37795. "marketmaxsub": {
  37796. "description": "市价最大偏移范围",
  37797. "type": "number"
  37798. },
  37799. "marketname": {
  37800. "description": "市场名称",
  37801. "type": "string"
  37802. },
  37803. "memberuserid": {
  37804. "description": "所属会员UserID",
  37805. "type": "integer"
  37806. },
  37807. "openexchagechargevalue": {
  37808. "description": "建仓交易所手续费设置值",
  37809. "type": "number"
  37810. },
  37811. "openfeealgorithm": {
  37812. "description": "建仓手续费收取方式 1:比率 2:固定",
  37813. "type": "integer"
  37814. },
  37815. "openfreezecharge": {
  37816. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  37817. "type": "number"
  37818. },
  37819. "openmemberchargevalue": {
  37820. "description": "建仓会员手续费设置值",
  37821. "type": "number"
  37822. },
  37823. "openqty": {
  37824. "description": "开仓数量(先建后平操作,需要记录)",
  37825. "type": "number"
  37826. },
  37827. "opentradeqty": {
  37828. "description": "开仓成交数量(先建后平操作,需要记录)",
  37829. "type": "number"
  37830. },
  37831. "openunfreezecharge": {
  37832. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  37833. "type": "number"
  37834. },
  37835. "operatetype": {
  37836. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  37837. "type": "integer"
  37838. },
  37839. "operatorid": {
  37840. "description": "登录账号(LoginID)",
  37841. "type": "integer"
  37842. },
  37843. "optiontype": {
  37844. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37845. "type": "integer"
  37846. },
  37847. "orderid": {
  37848. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37849. "type": "string"
  37850. },
  37851. "orderprice": {
  37852. "description": "委托价格",
  37853. "type": "number"
  37854. },
  37855. "orderqty": {
  37856. "description": "委托数量",
  37857. "type": "number"
  37858. },
  37859. "ordersrc": {
  37860. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  37861. "type": "integer"
  37862. },
  37863. "orderstatus": {
  37864. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37865. "type": "integer"
  37866. },
  37867. "ordertime": {
  37868. "description": "委托时间",
  37869. "type": "string"
  37870. },
  37871. "preexerciseprice": {
  37872. "description": "预申报价格",
  37873. "type": "number"
  37874. },
  37875. "premium": {
  37876. "description": "权利金",
  37877. "type": "number"
  37878. },
  37879. "preorderid": {
  37880. "description": "关联预埋单号(止盈止损单时填写)",
  37881. "type": "string"
  37882. },
  37883. "pricemode": {
  37884. "description": "取价方式 - 1:市价 2: 限价",
  37885. "type": "integer"
  37886. },
  37887. "qtydecimalplace": {
  37888. "description": "成交量小数位",
  37889. "type": "integer"
  37890. },
  37891. "quoteid": {
  37892. "description": "报价单ID",
  37893. "type": "integer"
  37894. },
  37895. "relatedid": {
  37896. "description": "关联单号(交割单)",
  37897. "type": "string"
  37898. },
  37899. "retcode": {
  37900. "description": "错误代码",
  37901. "type": "integer"
  37902. },
  37903. "sessionid": {
  37904. "description": "会话ID",
  37905. "type": "integer"
  37906. },
  37907. "tradedate": {
  37908. "description": "交易日(yyyyMMdd)",
  37909. "type": "string"
  37910. },
  37911. "trademode": {
  37912. "description": "交易模式",
  37913. "type": "integer"
  37914. },
  37915. "tradeproperty": {
  37916. "description": "交易属性",
  37917. "type": "integer"
  37918. },
  37919. "tradeqty": {
  37920. "description": "成交数量",
  37921. "type": "number"
  37922. },
  37923. "unfreezecharge": {
  37924. "description": "解冻手续费",
  37925. "type": "number"
  37926. },
  37927. "unfreezemargin": {
  37928. "description": "解冻保证金",
  37929. "type": "number"
  37930. },
  37931. "updatetime": {
  37932. "description": "更新时间",
  37933. "type": "string"
  37934. },
  37935. "uuid": {
  37936. "description": "发起端唯一id",
  37937. "type": "string"
  37938. },
  37939. "validtime": {
  37940. "description": "有效期限",
  37941. "type": "string"
  37942. },
  37943. "validtype": {
  37944. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37945. "type": "integer"
  37946. },
  37947. "volumetype": {
  37948. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37949. "type": "integer"
  37950. }
  37951. }
  37952. },
  37953. "order.QueryTradeDetailRsp": {
  37954. "type": "object",
  37955. "required": [
  37956. "accountid",
  37957. "buyorsell",
  37958. "goodsid",
  37959. "marketid",
  37960. "memberuserid",
  37961. "orderid",
  37962. "tradeamount",
  37963. "tradedate",
  37964. "tradeid",
  37965. "tradeprice",
  37966. "tradeqty",
  37967. "tradetime"
  37968. ],
  37969. "properties": {
  37970. "accountid": {
  37971. "description": "账户ID[报价币种]",
  37972. "type": "integer"
  37973. },
  37974. "advanceratio": {
  37975. "description": "首付比率",
  37976. "type": "number"
  37977. },
  37978. "buildtype": {
  37979. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  37980. "type": "integer"
  37981. },
  37982. "buyorsell": {
  37983. "description": "方向 - 0:买 1:卖",
  37984. "type": "integer"
  37985. },
  37986. "charge": {
  37987. "description": "手续费",
  37988. "type": "number"
  37989. },
  37990. "closecharge": {
  37991. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37992. "type": "number"
  37993. },
  37994. "closeexchagechargevalue": {
  37995. "description": "平仓交易所手续费设置值",
  37996. "type": "number"
  37997. },
  37998. "closefeealgorithm": {
  37999. "description": "平仓手续费收取方式 1:比率 2:固定",
  38000. "type": "integer"
  38001. },
  38002. "closememberchargevalue": {
  38003. "description": "平仓会员手续费设置值",
  38004. "type": "number"
  38005. },
  38006. "closepl": {
  38007. "description": "平仓盈亏",
  38008. "type": "number"
  38009. },
  38010. "closepl2": {
  38011. "description": "平仓盈亏[逐笔]",
  38012. "type": "number"
  38013. },
  38014. "closeqty": {
  38015. "description": "平仓数量(先建后平操作 需要记录)",
  38016. "type": "number"
  38017. },
  38018. "creditamount": {
  38019. "description": "授信金额",
  38020. "type": "number"
  38021. },
  38022. "decimalplace": {
  38023. "description": "商品报价小数位",
  38024. "type": "integer"
  38025. },
  38026. "enumdicname": {
  38027. "description": "单位名称",
  38028. "type": "string"
  38029. },
  38030. "gcaccountid": {
  38031. "description": "账户ID[合约币种]",
  38032. "type": "integer"
  38033. },
  38034. "goodscode": {
  38035. "description": "商品代码",
  38036. "type": "string"
  38037. },
  38038. "goodsid": {
  38039. "description": "商品ID",
  38040. "type": "integer"
  38041. },
  38042. "goodsname": {
  38043. "description": "商品名称",
  38044. "type": "string"
  38045. },
  38046. "goodunitid": {
  38047. "description": "商品单位id",
  38048. "type": "integer"
  38049. },
  38050. "intclosepl": {
  38051. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  38052. "type": "integer"
  38053. },
  38054. "isconfirmexercise": {
  38055. "description": "是否确认行权- 0:否 1:是",
  38056. "type": "integer"
  38057. },
  38058. "ismain": {
  38059. "description": "是否主单 - 0:不是 1:是",
  38060. "type": "integer"
  38061. },
  38062. "ispreexercise": {
  38063. "description": "是否预申报- 0:否 1:是",
  38064. "type": "integer"
  38065. },
  38066. "isreckoned": {
  38067. "description": "是否结算 - 0:未结算 1:已结算",
  38068. "type": "integer"
  38069. },
  38070. "listingselecttype": {
  38071. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38072. "type": "integer"
  38073. },
  38074. "marketid": {
  38075. "description": "市场ID",
  38076. "type": "integer"
  38077. },
  38078. "marketname": {
  38079. "description": "市场名称",
  38080. "type": "string"
  38081. },
  38082. "matchaccountid": {
  38083. "description": "对手账号id",
  38084. "type": "integer"
  38085. },
  38086. "memberuserid": {
  38087. "description": "会员id 个人投资者 需要填写",
  38088. "type": "integer"
  38089. },
  38090. "opencharge": {
  38091. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  38092. "type": "number"
  38093. },
  38094. "openexchagechargevalue": {
  38095. "description": "建仓交易所手续费设置值",
  38096. "type": "number"
  38097. },
  38098. "openfeealgorithm": {
  38099. "description": "建仓手续费收取方式 1:比率 2:固定",
  38100. "type": "integer"
  38101. },
  38102. "openmemberchargevalue": {
  38103. "description": "建仓会员手续费设置值",
  38104. "type": "number"
  38105. },
  38106. "openqty": {
  38107. "description": "开仓数量(先建后平操作 需要记录)",
  38108. "type": "number"
  38109. },
  38110. "optiontype": {
  38111. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  38112. "type": "integer"
  38113. },
  38114. "orderid": {
  38115. "description": "委托单号",
  38116. "type": "string"
  38117. },
  38118. "payamount": {
  38119. "description": "支付金额(付款金额)",
  38120. "type": "number"
  38121. },
  38122. "performanceplanid": {
  38123. "description": "履约计划ID[期权]",
  38124. "type": "integer"
  38125. },
  38126. "performancestatus": {
  38127. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  38128. "type": "integer"
  38129. },
  38130. "preexerciseprice": {
  38131. "description": "预申报价格",
  38132. "type": "number"
  38133. },
  38134. "premium": {
  38135. "description": "权利金 - [持仓单的权利金]",
  38136. "type": "number"
  38137. },
  38138. "qtydecimalplace": {
  38139. "description": "商品报价小数位",
  38140. "type": "integer"
  38141. },
  38142. "recvamount": {
  38143. "description": "到账金额 = 成交金额 - 手续费",
  38144. "type": "number"
  38145. },
  38146. "relatedouttradeid": {
  38147. "description": "关联外部成交单ID",
  38148. "type": "integer"
  38149. },
  38150. "status": {
  38151. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  38152. "type": "integer"
  38153. },
  38154. "totalamount": {
  38155. "description": "订单总额 = 成交金额 + 手续费",
  38156. "type": "number"
  38157. },
  38158. "tradeamount": {
  38159. "description": "成交金额[账户币种,用于所有权]",
  38160. "type": "number"
  38161. },
  38162. "tradedate": {
  38163. "description": "交易日(yyyyMMdd)",
  38164. "type": "string"
  38165. },
  38166. "tradeid": {
  38167. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38168. "type": "string"
  38169. },
  38170. "trademode": {
  38171. "description": "交易模式",
  38172. "type": "integer"
  38173. },
  38174. "tradeprice": {
  38175. "description": "成交价格",
  38176. "type": "number"
  38177. },
  38178. "tradeproperty": {
  38179. "description": "交易属性",
  38180. "type": "integer"
  38181. },
  38182. "tradeqty": {
  38183. "description": "成交数量",
  38184. "type": "number"
  38185. },
  38186. "tradetime": {
  38187. "description": "成交时间",
  38188. "type": "string"
  38189. },
  38190. "tradetype": {
  38191. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  38192. "type": "integer"
  38193. }
  38194. }
  38195. },
  38196. "order.QueryTradeOrderDetailRsp": {
  38197. "type": "object",
  38198. "required": [
  38199. "accountid",
  38200. "buildtype",
  38201. "buyorsell",
  38202. "goodsid",
  38203. "marketid",
  38204. "operatetype",
  38205. "orderqty",
  38206. "ordertime",
  38207. "pricemode",
  38208. "tradedate",
  38209. "validtype"
  38210. ],
  38211. "properties": {
  38212. "accountid": {
  38213. "description": "账户ID[报价币种]",
  38214. "type": "integer"
  38215. },
  38216. "buildtype": {
  38217. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  38218. "type": "integer"
  38219. },
  38220. "buyorsell": {
  38221. "description": "买卖 - 0:买 1:卖",
  38222. "type": "integer"
  38223. },
  38224. "cancelorderid": {
  38225. "description": "撤单单号(撤单时填写)",
  38226. "type": "string"
  38227. },
  38228. "cancelqty": {
  38229. "description": "撤单数量",
  38230. "type": "number"
  38231. },
  38232. "clienttype": {
  38233. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  38234. "type": "integer"
  38235. },
  38236. "closefreezecharge": {
  38237. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  38238. "type": "number"
  38239. },
  38240. "closeqty": {
  38241. "description": "平仓数量(先建后平操作 需要记录)",
  38242. "type": "number"
  38243. },
  38244. "closetradeqty": {
  38245. "description": "平仓成交数量(先建后平操作,需要记录)",
  38246. "type": "number"
  38247. },
  38248. "closeunfreezecharge": {
  38249. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  38250. "type": "number"
  38251. },
  38252. "decimalplace": {
  38253. "description": "商品报价小数位",
  38254. "type": "integer"
  38255. },
  38256. "delistingtype": {
  38257. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  38258. "type": "integer"
  38259. },
  38260. "enableqty": {
  38261. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  38262. "type": "number"
  38263. },
  38264. "enumdicname": {
  38265. "description": "单位名称",
  38266. "type": "string"
  38267. },
  38268. "freezecharge": {
  38269. "description": "冻结手续费",
  38270. "type": "number"
  38271. },
  38272. "freezemargin": {
  38273. "description": "冻结保证金(冻结交易金额)",
  38274. "type": "number"
  38275. },
  38276. "goodscode": {
  38277. "description": "商品代码",
  38278. "type": "string"
  38279. },
  38280. "goodsid": {
  38281. "description": "商品ID",
  38282. "type": "integer"
  38283. },
  38284. "goodsname": {
  38285. "description": "商品名称",
  38286. "type": "string"
  38287. },
  38288. "goodunitid": {
  38289. "description": "商品单位id",
  38290. "type": "integer"
  38291. },
  38292. "listingselecttype": {
  38293. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38294. "type": "integer"
  38295. },
  38296. "marketid": {
  38297. "description": "市场ID",
  38298. "type": "integer"
  38299. },
  38300. "marketname": {
  38301. "description": "市场名称",
  38302. "type": "string"
  38303. },
  38304. "openfreezecharge": {
  38305. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  38306. "type": "number"
  38307. },
  38308. "openqty": {
  38309. "description": "开仓数量(先建后平操作,需要记录)",
  38310. "type": "number"
  38311. },
  38312. "opentradeqty": {
  38313. "description": "开仓成交数量(先建后平操作,需要记录)",
  38314. "type": "number"
  38315. },
  38316. "openunfreezecharge": {
  38317. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  38318. "type": "number"
  38319. },
  38320. "operatetype": {
  38321. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  38322. "type": "integer"
  38323. },
  38324. "operatorid": {
  38325. "description": "登录账号(LoginID)",
  38326. "type": "integer"
  38327. },
  38328. "orderid": {
  38329. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38330. "type": "string"
  38331. },
  38332. "orderprice": {
  38333. "description": "委托价格",
  38334. "type": "number"
  38335. },
  38336. "orderqty": {
  38337. "description": "委托数量",
  38338. "type": "number"
  38339. },
  38340. "ordersrc": {
  38341. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  38342. "type": "integer"
  38343. },
  38344. "orderstatus": {
  38345. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  38346. "type": "integer"
  38347. },
  38348. "ordertime": {
  38349. "description": "委托时间",
  38350. "type": "string"
  38351. },
  38352. "preorderid": {
  38353. "description": "关联预埋单号(止盈止损单时填写)",
  38354. "type": "string"
  38355. },
  38356. "pricemode": {
  38357. "description": "取价方式 - 1:市价 2: 限价",
  38358. "type": "integer"
  38359. },
  38360. "qtydecimalplace": {
  38361. "description": "商品报价小数位",
  38362. "type": "integer"
  38363. },
  38364. "relatedid": {
  38365. "description": "关联单号(交割单)",
  38366. "type": "string"
  38367. },
  38368. "tradedate": {
  38369. "description": "交易日(yyyyMMdd)",
  38370. "type": "string"
  38371. },
  38372. "trademode": {
  38373. "description": "交易模式",
  38374. "type": "integer"
  38375. },
  38376. "tradeqty": {
  38377. "description": "成交数量",
  38378. "type": "number"
  38379. },
  38380. "unfreezecharge": {
  38381. "description": "解冻手续费",
  38382. "type": "number"
  38383. },
  38384. "unfreezemargin": {
  38385. "description": "解冻保证金",
  38386. "type": "number"
  38387. },
  38388. "validtime": {
  38389. "description": "有效期限",
  38390. "type": "string"
  38391. },
  38392. "validtype": {
  38393. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  38394. "type": "integer"
  38395. },
  38396. "volumetype": {
  38397. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  38398. "type": "integer"
  38399. }
  38400. }
  38401. },
  38402. "order.QueryTradePositionRsp": {
  38403. "type": "object",
  38404. "required": [
  38405. "goodsid"
  38406. ],
  38407. "properties": {
  38408. "accountid": {
  38409. "description": "资金账户",
  38410. "type": "integer"
  38411. },
  38412. "agreeunit": {
  38413. "description": "合约单位",
  38414. "type": "number"
  38415. },
  38416. "averageprice": {
  38417. "description": "持仓均价",
  38418. "type": "number"
  38419. },
  38420. "buyorsell": {
  38421. "description": "方向 - 0:买 1:卖",
  38422. "type": "integer"
  38423. },
  38424. "closetotalqty": {
  38425. "description": "平仓总数量",
  38426. "type": "number"
  38427. },
  38428. "curholderamount": {
  38429. "description": "当前持仓总金额[商品币种]",
  38430. "type": "number"
  38431. },
  38432. "curpositionqty": {
  38433. "description": "当前持仓总数量",
  38434. "type": "number"
  38435. },
  38436. "currencyid": {
  38437. "description": "报价货币ID",
  38438. "type": "integer"
  38439. },
  38440. "curtdposition": {
  38441. "description": "期末今日头寸",
  38442. "type": "number"
  38443. },
  38444. "decimalplace": {
  38445. "description": "报价小数位",
  38446. "type": "integer"
  38447. },
  38448. "enableqty": {
  38449. "description": "可用量",
  38450. "type": "number"
  38451. },
  38452. "fretdposition": {
  38453. "description": "冻结今日头寸",
  38454. "type": "number"
  38455. },
  38456. "frozenqty": {
  38457. "description": "持仓冻结数量",
  38458. "type": "number"
  38459. },
  38460. "goodscode": {
  38461. "description": "商品代码",
  38462. "type": "string"
  38463. },
  38464. "goodsid": {
  38465. "description": "商品Id",
  38466. "type": "integer"
  38467. },
  38468. "goodsname": {
  38469. "description": "商品名称",
  38470. "type": "string"
  38471. },
  38472. "goodunit": {
  38473. "description": "报价单位",
  38474. "type": "string"
  38475. },
  38476. "goodunitid": {
  38477. "description": "报价单位ID",
  38478. "type": "integer"
  38479. },
  38480. "holderamount": {
  38481. "description": "期初持仓总金额[商品币种]",
  38482. "type": "number"
  38483. },
  38484. "lastprice": {
  38485. "description": "最新价",
  38486. "type": "number"
  38487. },
  38488. "marketamount": {
  38489. "description": "市值",
  38490. "type": "number"
  38491. },
  38492. "marketid": {
  38493. "description": "所属市场ID",
  38494. "type": "integer"
  38495. },
  38496. "openreqqty": {
  38497. "description": "开仓申请数量(用于比较最大持仓数量)",
  38498. "type": "number"
  38499. },
  38500. "opentotalqty": {
  38501. "description": "开仓总数量",
  38502. "type": "number"
  38503. },
  38504. "otherfrozenqty": {
  38505. "description": "持仓其他冻结数量(交割冻结)",
  38506. "type": "number"
  38507. },
  38508. "positionpl": {
  38509. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  38510. "type": "number"
  38511. },
  38512. "positionplrate": {
  38513. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  38514. "type": "number"
  38515. },
  38516. "positionqty": {
  38517. "description": "期初持仓数量",
  38518. "type": "number"
  38519. },
  38520. "qtydecimalplace": {
  38521. "description": "成交量小数位",
  38522. "type": "integer"
  38523. },
  38524. "refgoodscode": {
  38525. "description": "参考商品代码",
  38526. "type": "string"
  38527. },
  38528. "refgoodsid": {
  38529. "description": "参考商品ID",
  38530. "type": "integer"
  38531. },
  38532. "tnqty": {
  38533. "description": "T+N冻结总量",
  38534. "type": "number"
  38535. },
  38536. "tnusedqty": {
  38537. "description": "T+N使用量(可以使用T+N的冻结数量)",
  38538. "type": "number"
  38539. },
  38540. "trademode": {
  38541. "description": "交易模式",
  38542. "type": "integer"
  38543. },
  38544. "tradeproperty": {
  38545. "description": "交易属性",
  38546. "type": "integer"
  38547. },
  38548. "usedmargin": {
  38549. "description": "占用保证金[商品币种]",
  38550. "type": "number"
  38551. }
  38552. }
  38553. },
  38554. "pb.GoodsMarginCfgStruct": {
  38555. "type": "object",
  38556. "properties": {
  38557. "CustomerTypeID": {
  38558. "description": "投资者客户类型",
  38559. "type": "integer"
  38560. },
  38561. "GoodsID": {
  38562. "description": "商品ID",
  38563. "type": "integer"
  38564. },
  38565. "IsDefault": {
  38566. "description": "是否默认标志位",
  38567. "type": "integer"
  38568. },
  38569. "LockMarginValue": {
  38570. "description": "锁仓保证金",
  38571. "type": "number"
  38572. },
  38573. "MarginAlgorithm": {
  38574. "description": "保证金计算方式",
  38575. "type": "integer"
  38576. },
  38577. "MarketMarginValue": {
  38578. "description": "即市保证金值",
  38579. "type": "number"
  38580. },
  38581. "RealMarginAlgorithm": {
  38582. "description": "实付保证金计算方式",
  38583. "type": "integer"
  38584. },
  38585. "RealMarginValue": {
  38586. "description": "实付比例",
  38587. "type": "number"
  38588. },
  38589. "ReckonMarginValue": {
  38590. "description": "结算保证金值",
  38591. "type": "number"
  38592. }
  38593. }
  38594. },
  38595. "quote.HistoryData": {
  38596. "type": "object",
  38597. "properties": {
  38598. "c": {
  38599. "description": "收盘价",
  38600. "type": "number"
  38601. },
  38602. "f": {
  38603. "description": "是否补充数据",
  38604. "type": "boolean"
  38605. },
  38606. "h": {
  38607. "description": "最高价",
  38608. "type": "number"
  38609. },
  38610. "hv": {
  38611. "description": "持仓量",
  38612. "type": "integer"
  38613. },
  38614. "l": {
  38615. "description": "最低价",
  38616. "type": "number"
  38617. },
  38618. "o": {
  38619. "description": "开盘价",
  38620. "type": "number"
  38621. },
  38622. "s": {
  38623. "description": "结算价,日线周期(包括)以上才有",
  38624. "type": "number"
  38625. },
  38626. "ts": {
  38627. "description": "时间",
  38628. "type": "string"
  38629. },
  38630. "tt": {
  38631. "description": "总金额",
  38632. "type": "number"
  38633. },
  38634. "tv": {
  38635. "description": "总量(成交量)",
  38636. "type": "integer"
  38637. }
  38638. }
  38639. },
  38640. "quote.HistoryTikData": {
  38641. "type": "object",
  38642. "properties": {
  38643. "AV": {
  38644. "description": "卖量",
  38645. "type": "integer"
  38646. },
  38647. "Ask": {
  38648. "description": "卖价",
  38649. "type": "number"
  38650. },
  38651. "BV": {
  38652. "description": "买量",
  38653. "type": "integer"
  38654. },
  38655. "Bid": {
  38656. "description": "买价",
  38657. "type": "number"
  38658. },
  38659. "HI": {
  38660. "description": "单笔持仓",
  38661. "type": "integer"
  38662. },
  38663. "HV": {
  38664. "description": "持仓量",
  38665. "type": "integer"
  38666. },
  38667. "PE": {
  38668. "description": "现价",
  38669. "type": "number"
  38670. },
  38671. "TDR": {
  38672. "description": "交易方向,0:买 1:卖",
  38673. "type": "integer"
  38674. },
  38675. "TK": {
  38676. "description": "交易类型",
  38677. "type": "integer"
  38678. },
  38679. "TS": {
  38680. "description": "行情时间文本",
  38681. "type": "string"
  38682. },
  38683. "TT": {
  38684. "description": "现金额",
  38685. "type": "number"
  38686. },
  38687. "Vol": {
  38688. "description": "现量",
  38689. "type": "integer"
  38690. }
  38691. }
  38692. },
  38693. "quote.QueryQuoteDayRsp": {
  38694. "type": "object",
  38695. "properties": {
  38696. "ask": {
  38697. "description": "卖1",
  38698. "type": "number"
  38699. },
  38700. "ask10": {
  38701. "description": "卖10",
  38702. "type": "number"
  38703. },
  38704. "ask2": {
  38705. "description": "卖2",
  38706. "type": "number"
  38707. },
  38708. "ask3": {
  38709. "description": "卖3",
  38710. "type": "number"
  38711. },
  38712. "ask4": {
  38713. "description": "卖4",
  38714. "type": "number"
  38715. },
  38716. "ask5": {
  38717. "description": "卖5",
  38718. "type": "number"
  38719. },
  38720. "ask6": {
  38721. "description": "卖6",
  38722. "type": "number"
  38723. },
  38724. "ask7": {
  38725. "description": "卖7",
  38726. "type": "number"
  38727. },
  38728. "ask8": {
  38729. "description": "卖8",
  38730. "type": "number"
  38731. },
  38732. "ask9": {
  38733. "description": "卖9",
  38734. "type": "number"
  38735. },
  38736. "askorderid": {
  38737. "description": "卖单号1",
  38738. "type": "integer"
  38739. },
  38740. "askorderid2": {
  38741. "description": "卖单号2",
  38742. "type": "integer"
  38743. },
  38744. "askorderid3": {
  38745. "description": "卖单号3",
  38746. "type": "integer"
  38747. },
  38748. "askorderid4": {
  38749. "description": "卖单号4",
  38750. "type": "integer"
  38751. },
  38752. "askorderid5": {
  38753. "description": "卖单号5",
  38754. "type": "integer"
  38755. },
  38756. "askordervolume": {
  38757. "description": "卖单量1",
  38758. "type": "integer"
  38759. },
  38760. "askordervolume10": {
  38761. "description": "卖单量10",
  38762. "type": "integer"
  38763. },
  38764. "askordervolume2": {
  38765. "description": "卖单量2",
  38766. "type": "integer"
  38767. },
  38768. "askordervolume3": {
  38769. "description": "卖单量3",
  38770. "type": "integer"
  38771. },
  38772. "askordervolume4": {
  38773. "description": "卖单量4",
  38774. "type": "integer"
  38775. },
  38776. "askordervolume5": {
  38777. "description": "卖单量5",
  38778. "type": "integer"
  38779. },
  38780. "askordervolume6": {
  38781. "description": "卖单量6",
  38782. "type": "integer"
  38783. },
  38784. "askordervolume7": {
  38785. "description": "卖单量7",
  38786. "type": "integer"
  38787. },
  38788. "askordervolume8": {
  38789. "description": "卖单量8",
  38790. "type": "integer"
  38791. },
  38792. "askordervolume9": {
  38793. "description": "卖单量9",
  38794. "type": "integer"
  38795. },
  38796. "askqueueinfo": {
  38797. "description": "大利市卖港股用",
  38798. "type": "string"
  38799. },
  38800. "askvolume": {
  38801. "description": "卖量1",
  38802. "type": "integer"
  38803. },
  38804. "askvolume10": {
  38805. "description": "卖量10",
  38806. "type": "integer"
  38807. },
  38808. "askvolume2": {
  38809. "description": "卖量2",
  38810. "type": "integer"
  38811. },
  38812. "askvolume3": {
  38813. "description": "卖量3",
  38814. "type": "integer"
  38815. },
  38816. "askvolume4": {
  38817. "description": "卖量4",
  38818. "type": "integer"
  38819. },
  38820. "askvolume5": {
  38821. "description": "卖量5",
  38822. "type": "integer"
  38823. },
  38824. "askvolume6": {
  38825. "description": "卖量6",
  38826. "type": "integer"
  38827. },
  38828. "askvolume7": {
  38829. "description": "卖量7",
  38830. "type": "integer"
  38831. },
  38832. "askvolume8": {
  38833. "description": "卖量8",
  38834. "type": "integer"
  38835. },
  38836. "askvolume9": {
  38837. "description": "卖量9",
  38838. "type": "integer"
  38839. },
  38840. "averageprice": {
  38841. "description": "均价",
  38842. "type": "number"
  38843. },
  38844. "bid": {
  38845. "description": "买1",
  38846. "type": "number"
  38847. },
  38848. "bid10": {
  38849. "description": "买10",
  38850. "type": "number"
  38851. },
  38852. "bid2": {
  38853. "description": "买2",
  38854. "type": "number"
  38855. },
  38856. "bid3": {
  38857. "description": "买3",
  38858. "type": "number"
  38859. },
  38860. "bid4": {
  38861. "description": "买4",
  38862. "type": "number"
  38863. },
  38864. "bid5": {
  38865. "description": "买5",
  38866. "type": "number"
  38867. },
  38868. "bid6": {
  38869. "description": "买6",
  38870. "type": "number"
  38871. },
  38872. "bid7": {
  38873. "description": "买7",
  38874. "type": "number"
  38875. },
  38876. "bid8": {
  38877. "description": "买8",
  38878. "type": "number"
  38879. },
  38880. "bid9": {
  38881. "description": "买9",
  38882. "type": "number"
  38883. },
  38884. "bidorderid": {
  38885. "description": "买单号1",
  38886. "type": "integer"
  38887. },
  38888. "bidorderid2": {
  38889. "description": "买单号2",
  38890. "type": "integer"
  38891. },
  38892. "bidorderid3": {
  38893. "description": "买单号3",
  38894. "type": "integer"
  38895. },
  38896. "bidorderid4": {
  38897. "description": "买单号4",
  38898. "type": "integer"
  38899. },
  38900. "bidorderid5": {
  38901. "description": "买单号5",
  38902. "type": "integer"
  38903. },
  38904. "bidordervolume": {
  38905. "description": "买单量1",
  38906. "type": "integer"
  38907. },
  38908. "bidordervolume10": {
  38909. "description": "买单量10",
  38910. "type": "integer"
  38911. },
  38912. "bidordervolume2": {
  38913. "description": "买单量2",
  38914. "type": "integer"
  38915. },
  38916. "bidordervolume3": {
  38917. "description": "买单量3",
  38918. "type": "integer"
  38919. },
  38920. "bidordervolume4": {
  38921. "description": "买单量4",
  38922. "type": "integer"
  38923. },
  38924. "bidordervolume5": {
  38925. "description": "买单量5",
  38926. "type": "integer"
  38927. },
  38928. "bidordervolume6": {
  38929. "description": "买单量6",
  38930. "type": "integer"
  38931. },
  38932. "bidordervolume7": {
  38933. "description": "买单量7",
  38934. "type": "integer"
  38935. },
  38936. "bidordervolume8": {
  38937. "description": "买单量8",
  38938. "type": "integer"
  38939. },
  38940. "bidordervolume9": {
  38941. "description": "买单量9",
  38942. "type": "integer"
  38943. },
  38944. "bidqueueinfo": {
  38945. "description": "大利市买港股用",
  38946. "type": "string"
  38947. },
  38948. "bidvolume": {
  38949. "description": "买量1",
  38950. "type": "integer"
  38951. },
  38952. "bidvolume10": {
  38953. "description": "买量10",
  38954. "type": "integer"
  38955. },
  38956. "bidvolume2": {
  38957. "description": "买量2",
  38958. "type": "integer"
  38959. },
  38960. "bidvolume3": {
  38961. "description": "买量3",
  38962. "type": "integer"
  38963. },
  38964. "bidvolume4": {
  38965. "description": "买量4",
  38966. "type": "integer"
  38967. },
  38968. "bidvolume5": {
  38969. "description": "买量5",
  38970. "type": "integer"
  38971. },
  38972. "bidvolume6": {
  38973. "description": "买量6",
  38974. "type": "integer"
  38975. },
  38976. "bidvolume7": {
  38977. "description": "买量7",
  38978. "type": "integer"
  38979. },
  38980. "bidvolume8": {
  38981. "description": "买量8",
  38982. "type": "integer"
  38983. },
  38984. "bidvolume9": {
  38985. "description": "买量9",
  38986. "type": "integer"
  38987. },
  38988. "calloptionpremiums": {
  38989. "description": "认购期权1",
  38990. "type": "integer"
  38991. },
  38992. "calloptionpremiums2": {
  38993. "description": "认购期权2",
  38994. "type": "integer"
  38995. },
  38996. "calloptionpremiums3": {
  38997. "description": "认购期权3",
  38998. "type": "integer"
  38999. },
  39000. "calloptionpremiums4": {
  39001. "description": "认购期权4",
  39002. "type": "integer"
  39003. },
  39004. "calloptionpremiums5": {
  39005. "description": "认购期权5",
  39006. "type": "integer"
  39007. },
  39008. "cleartime": {
  39009. "description": "清盘时间",
  39010. "type": "integer"
  39011. },
  39012. "exchangecode": {
  39013. "description": "交易所代码",
  39014. "type": "integer"
  39015. },
  39016. "exchangedate": {
  39017. "description": "交易日",
  39018. "type": "integer"
  39019. },
  39020. "goodscode": {
  39021. "description": "商品代码",
  39022. "type": "string"
  39023. },
  39024. "grepmarketprice": {
  39025. "description": "暗盘价 港股专用",
  39026. "type": "number"
  39027. },
  39028. "highest": {
  39029. "description": "最高价",
  39030. "type": "number"
  39031. },
  39032. "holdincrement": {
  39033. "description": "单笔持仓",
  39034. "type": "integer"
  39035. },
  39036. "holdvolume": {
  39037. "description": "持仓",
  39038. "type": "integer"
  39039. },
  39040. "iep": {
  39041. "description": "平衡价 港股专用",
  39042. "type": "number"
  39043. },
  39044. "iev": {
  39045. "description": "平衡量 港股专用",
  39046. "type": "number"
  39047. },
  39048. "inventory": {
  39049. "description": "库存",
  39050. "type": "integer"
  39051. },
  39052. "iscleared": {
  39053. "description": "是否清盘标志",
  39054. "type": "integer"
  39055. },
  39056. "issettled": {
  39057. "description": "是否结算标志",
  39058. "type": "integer"
  39059. },
  39060. "last": {
  39061. "description": "最新价",
  39062. "type": "number"
  39063. },
  39064. "lastlot": {
  39065. "description": "最新成交手数",
  39066. "type": "integer"
  39067. },
  39068. "lasttime": {
  39069. "description": "行情时间(只有现价变化行情时间才变化)",
  39070. "type": "string"
  39071. },
  39072. "lastturnover": {
  39073. "description": "最新成交金额",
  39074. "type": "number"
  39075. },
  39076. "lastvolume": {
  39077. "description": "最新成交量",
  39078. "type": "integer"
  39079. },
  39080. "limitdown": {
  39081. "description": "跌停价",
  39082. "type": "number"
  39083. },
  39084. "limitup": {
  39085. "description": "涨停价",
  39086. "type": "number"
  39087. },
  39088. "lowest": {
  39089. "description": "最低价",
  39090. "type": "number"
  39091. },
  39092. "nontotalholdervolume": {
  39093. "description": "非交易持仓量",
  39094. "type": "integer"
  39095. },
  39096. "nontotallot": {
  39097. "description": "非交易总手数",
  39098. "type": "integer"
  39099. },
  39100. "nontotalturnover": {
  39101. "description": "非交易总金额",
  39102. "type": "integer"
  39103. },
  39104. "nontotalvolume": {
  39105. "description": "非交易总量",
  39106. "type": "integer"
  39107. },
  39108. "opened": {
  39109. "description": "开盘价",
  39110. "type": "number"
  39111. },
  39112. "opentime": {
  39113. "description": "开盘时间",
  39114. "type": "string"
  39115. },
  39116. "orderid": {
  39117. "description": "序号",
  39118. "type": "integer"
  39119. },
  39120. "preclose": {
  39121. "description": "昨收",
  39122. "type": "number"
  39123. },
  39124. "preholdvolume": {
  39125. "description": "昨持仓",
  39126. "type": "integer"
  39127. },
  39128. "presettle": {
  39129. "description": "昨结价",
  39130. "type": "number"
  39131. },
  39132. "publictradetype": {
  39133. "description": "公共交易标志类型 港股专用",
  39134. "type": "string"
  39135. },
  39136. "putoptionpremiums": {
  39137. "description": "认沽期权1",
  39138. "type": "integer"
  39139. },
  39140. "putoptionpremiums2": {
  39141. "description": "认沽期权2",
  39142. "type": "integer"
  39143. },
  39144. "putoptionpremiums3": {
  39145. "description": "认沽期权3",
  39146. "type": "integer"
  39147. },
  39148. "putoptionpremiums4": {
  39149. "description": "认沽期权4",
  39150. "type": "integer"
  39151. },
  39152. "putoptionpremiums5": {
  39153. "description": "认沽期权5",
  39154. "type": "integer"
  39155. },
  39156. "settle": {
  39157. "description": "结算价",
  39158. "type": "number"
  39159. },
  39160. "strikeprice": {
  39161. "description": "发行价",
  39162. "type": "number"
  39163. },
  39164. "totalaskvolume": {
  39165. "description": "内盘",
  39166. "type": "integer"
  39167. },
  39168. "totalbidvolume": {
  39169. "description": "外盘",
  39170. "type": "integer"
  39171. },
  39172. "totallot": {
  39173. "description": "总手数",
  39174. "type": "integer"
  39175. },
  39176. "totalturnover": {
  39177. "description": "总金额",
  39178. "type": "number"
  39179. },
  39180. "totalvolume": {
  39181. "description": "总量",
  39182. "type": "integer"
  39183. },
  39184. "utclasttime": {
  39185. "description": "utc的行情时间",
  39186. "type": "string"
  39187. }
  39188. }
  39189. },
  39190. "quote.QueryTSDataRsp": {
  39191. "type": "object",
  39192. "properties": {
  39193. "Count": {
  39194. "description": "交易日应有数据个数",
  39195. "type": "integer"
  39196. },
  39197. "decimalPlace": {
  39198. "description": "小数位",
  39199. "type": "integer"
  39200. },
  39201. "endTime": {
  39202. "description": "结束时间",
  39203. "type": "string"
  39204. },
  39205. "goodsCode": {
  39206. "description": "商品代码",
  39207. "type": "string"
  39208. },
  39209. "historyDatas": {
  39210. "description": "历史数据",
  39211. "type": "array",
  39212. "items": {
  39213. "$ref": "#/definitions/quote.HistoryData"
  39214. }
  39215. },
  39216. "outGoodsCode": {
  39217. "description": "外部商品代码",
  39218. "type": "string"
  39219. },
  39220. "preSettle": {
  39221. "description": "昨结价",
  39222. "type": "number"
  39223. },
  39224. "runSteps": {
  39225. "description": "交易日开休市计划",
  39226. "type": "array",
  39227. "items": {
  39228. "$ref": "#/definitions/quote.TSDataRunStep"
  39229. }
  39230. },
  39231. "startTime": {
  39232. "description": "开始时间",
  39233. "type": "string"
  39234. },
  39235. "tradeDate": {
  39236. "description": "交易日",
  39237. "type": "string"
  39238. }
  39239. }
  39240. },
  39241. "quote.TSDataRunStep": {
  39242. "type": "object",
  39243. "properties": {
  39244. "end": {
  39245. "description": "真实结束时间",
  39246. "type": "string"
  39247. },
  39248. "endflag": {
  39249. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  39250. "type": "integer"
  39251. },
  39252. "endtime": {
  39253. "description": "结束时间(HH:mm)",
  39254. "type": "string"
  39255. },
  39256. "endweekday": {
  39257. "description": "结束周几",
  39258. "type": "integer"
  39259. },
  39260. "groupid": {
  39261. "description": "分组ID",
  39262. "type": "integer"
  39263. },
  39264. "runstep": {
  39265. "description": "运行阶段 - 2:连续交易",
  39266. "type": "integer"
  39267. },
  39268. "sectionid": {
  39269. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  39270. "type": "integer"
  39271. },
  39272. "start": {
  39273. "description": "真实开始时间",
  39274. "type": "string"
  39275. },
  39276. "startflag": {
  39277. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  39278. "type": "integer"
  39279. },
  39280. "starttime": {
  39281. "description": "起始时间(HH:mm)",
  39282. "type": "string"
  39283. },
  39284. "startweekday": {
  39285. "description": "起始周几",
  39286. "type": "integer"
  39287. },
  39288. "tradeweekday": {
  39289. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  39290. "type": "integer"
  39291. }
  39292. }
  39293. },
  39294. "szdz.QueryConvertLogRsp": {
  39295. "type": "object",
  39296. "required": [
  39297. "logid"
  39298. ],
  39299. "properties": {
  39300. "accountid": {
  39301. "description": "资金账户ID",
  39302. "type": "integer"
  39303. },
  39304. "clientticket": {
  39305. "description": "客户端流水号",
  39306. "type": "string"
  39307. },
  39308. "converttype": {
  39309. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  39310. "type": "integer"
  39311. },
  39312. "createtime": {
  39313. "description": "记账时间",
  39314. "type": "string"
  39315. },
  39316. "daymaxvalue": {
  39317. "description": "配置当日最大转入限制",
  39318. "type": "number"
  39319. },
  39320. "daymaxvalue2": {
  39321. "description": "配置当日最大转入限制(转入)",
  39322. "type": "number"
  39323. },
  39324. "goodscode": {
  39325. "description": "商品代码",
  39326. "type": "string"
  39327. },
  39328. "goodsname": {
  39329. "description": "商品名称",
  39330. "type": "string"
  39331. },
  39332. "handlestatus": {
  39333. "description": "处理状态",
  39334. "type": "integer"
  39335. },
  39336. "innergoodsid": {
  39337. "description": "内部商品ID",
  39338. "type": "integer"
  39339. },
  39340. "inratio": {
  39341. "description": "配置转入比值",
  39342. "type": "integer"
  39343. },
  39344. "invalue": {
  39345. "description": "目标值",
  39346. "type": "number"
  39347. },
  39348. "logid": {
  39349. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39350. "type": "integer"
  39351. },
  39352. "mobile": {
  39353. "description": "手机号码(加密存储)",
  39354. "type": "string"
  39355. },
  39356. "outergoodscode": {
  39357. "description": "外部商品代码[JD\\PD]",
  39358. "type": "string"
  39359. },
  39360. "outratio": {
  39361. "description": "配置转出比值",
  39362. "type": "integer"
  39363. },
  39364. "outvalue": {
  39365. "description": "源值",
  39366. "type": "number"
  39367. },
  39368. "pddecimalplace": {
  39369. "description": "PD小数位",
  39370. "type": "integer"
  39371. },
  39372. "qty": {
  39373. "description": "数量",
  39374. "type": "string"
  39375. },
  39376. "remark": {
  39377. "description": "备注",
  39378. "type": "string"
  39379. },
  39380. "sessionid": {
  39381. "description": "会话ID",
  39382. "type": "integer"
  39383. },
  39384. "timemaxvalue": {
  39385. "description": "配置单次最大转入限制",
  39386. "type": "number"
  39387. },
  39388. "timemaxvalue2": {
  39389. "description": "配置单次最大转入限制(转入)",
  39390. "type": "number"
  39391. },
  39392. "timeminvalue": {
  39393. "description": "配置单次最小数量限制",
  39394. "type": "number"
  39395. },
  39396. "timeminvalue2": {
  39397. "description": "配置单次最小数量限制(转入)",
  39398. "type": "number"
  39399. },
  39400. "tradedate": {
  39401. "description": "交易日(yyyyMMdd)",
  39402. "type": "string"
  39403. },
  39404. "userid": {
  39405. "description": "用户ID",
  39406. "type": "integer"
  39407. }
  39408. }
  39409. },
  39410. "szdz.QueryGoodsPickupRsp": {
  39411. "type": "object",
  39412. "required": [
  39413. "takeorderid"
  39414. ],
  39415. "properties": {
  39416. "accountid": {
  39417. "description": "账户ID",
  39418. "type": "integer"
  39419. },
  39420. "address": {
  39421. "description": "提货人详细地址",
  39422. "type": "string"
  39423. },
  39424. "auditer": {
  39425. "description": "审核人",
  39426. "type": "integer"
  39427. },
  39428. "audittime": {
  39429. "description": "审核时间",
  39430. "type": "string"
  39431. },
  39432. "cardnum": {
  39433. "description": "提货人证件号码",
  39434. "type": "string"
  39435. },
  39436. "cardtypeid": {
  39437. "description": "提货人证件类型",
  39438. "type": "integer"
  39439. },
  39440. "checkremark": {
  39441. "description": "审核备注",
  39442. "type": "string"
  39443. },
  39444. "goodscode": {
  39445. "description": "商品代码",
  39446. "type": "string"
  39447. },
  39448. "goodsid": {
  39449. "description": "商品ID",
  39450. "type": "integer"
  39451. },
  39452. "goodsname": {
  39453. "description": "商品名称",
  39454. "type": "string"
  39455. },
  39456. "handlestatus": {
  39457. "description": "处理状态",
  39458. "type": "integer"
  39459. },
  39460. "marketid": {
  39461. "description": "市场ID",
  39462. "type": "integer"
  39463. },
  39464. "phonenum": {
  39465. "description": "提货人联系方式",
  39466. "type": "string"
  39467. },
  39468. "qty": {
  39469. "description": "提货数量",
  39470. "type": "number"
  39471. },
  39472. "recivername": {
  39473. "description": "提货人姓名",
  39474. "type": "string"
  39475. },
  39476. "reqtime": {
  39477. "description": "更新时间",
  39478. "type": "string"
  39479. },
  39480. "takemode": {
  39481. "description": "提货方式 - 2:自提 3:配送",
  39482. "type": "integer"
  39483. },
  39484. "takeorderid": {
  39485. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  39486. "type": "string"
  39487. },
  39488. "takeorderstatus": {
  39489. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  39490. "type": "integer"
  39491. },
  39492. "takeremark": {
  39493. "description": "提货备注",
  39494. "type": "string"
  39495. },
  39496. "tradedate": {
  39497. "description": "交易日(yyyyMMdd)",
  39498. "type": "string"
  39499. },
  39500. "userid": {
  39501. "description": "用户ID",
  39502. "type": "integer"
  39503. }
  39504. }
  39505. },
  39506. "szdz.QueryRecieptOrderRsp": {
  39507. "type": "object",
  39508. "required": [
  39509. "ordertime"
  39510. ],
  39511. "properties": {
  39512. "accountName": {
  39513. "description": "所属账号名称(已脱敏)",
  39514. "type": "string"
  39515. },
  39516. "accountid": {
  39517. "description": "资金账号",
  39518. "type": "integer"
  39519. },
  39520. "buyorsell": {
  39521. "description": "方向 - 0:买 1:卖",
  39522. "type": "integer"
  39523. },
  39524. "enableqty": {
  39525. "description": "可摘数量",
  39526. "type": "integer"
  39527. },
  39528. "goodscode": {
  39529. "description": "商品代码",
  39530. "type": "string"
  39531. },
  39532. "goodsid": {
  39533. "description": "商品ID",
  39534. "type": "integer"
  39535. },
  39536. "goodsname": {
  39537. "description": "商品名称",
  39538. "type": "string"
  39539. },
  39540. "orderid": {
  39541. "description": "委托单号",
  39542. "type": "string"
  39543. },
  39544. "orderprice": {
  39545. "description": "委托价格",
  39546. "type": "number"
  39547. },
  39548. "ordertime": {
  39549. "description": "委托时间",
  39550. "type": "string"
  39551. },
  39552. "tradedate": {
  39553. "description": "交易日(yyyyMMdd)",
  39554. "type": "string"
  39555. }
  39556. }
  39557. },
  39558. "szdz.QuerySZDZTradePositionRsp": {
  39559. "type": "object",
  39560. "properties": {
  39561. "accountid": {
  39562. "description": "账号Id",
  39563. "type": "integer"
  39564. },
  39565. "agreeunit": {
  39566. "description": "合约单位",
  39567. "type": "number"
  39568. },
  39569. "averageprice": {
  39570. "description": "持仓均价",
  39571. "type": "number"
  39572. },
  39573. "buyorsell": {
  39574. "description": "方向 - 0:买 1:卖",
  39575. "type": "integer"
  39576. },
  39577. "closetotalqty": {
  39578. "description": "平仓总数量",
  39579. "type": "integer"
  39580. },
  39581. "curholderamount": {
  39582. "description": "当前持仓总金额",
  39583. "type": "number"
  39584. },
  39585. "curpositionqty": {
  39586. "description": "当前持仓总数量",
  39587. "type": "integer"
  39588. },
  39589. "currencyid": {
  39590. "description": "报价货币ID",
  39591. "type": "integer"
  39592. },
  39593. "curtdposition": {
  39594. "description": "期末今日头寸",
  39595. "type": "integer"
  39596. },
  39597. "decimalplace": {
  39598. "description": "报价小数位",
  39599. "type": "integer"
  39600. },
  39601. "enableqty": {
  39602. "description": "可用量",
  39603. "type": "integer"
  39604. },
  39605. "fretdposition": {
  39606. "description": "冻结今日头寸",
  39607. "type": "integer"
  39608. },
  39609. "frozenqty": {
  39610. "description": "持仓冻结数量",
  39611. "type": "integer"
  39612. },
  39613. "goodscode": {
  39614. "description": "商品代码(内部)",
  39615. "type": "string"
  39616. },
  39617. "goodsid": {
  39618. "description": "商品Id",
  39619. "type": "integer"
  39620. },
  39621. "goodsname": {
  39622. "description": "商品名称",
  39623. "type": "string"
  39624. },
  39625. "goodunit": {
  39626. "description": "报价单位",
  39627. "type": "string"
  39628. },
  39629. "goodunitid": {
  39630. "description": "报价单位ID",
  39631. "type": "integer"
  39632. },
  39633. "holderamount": {
  39634. "description": "期初持仓总金额",
  39635. "type": "number"
  39636. },
  39637. "marketid": {
  39638. "description": "市场ID",
  39639. "type": "integer"
  39640. },
  39641. "openreqqty": {
  39642. "description": "开仓申请数量",
  39643. "type": "integer"
  39644. },
  39645. "opentotalqty": {
  39646. "description": "开仓总数量",
  39647. "type": "integer"
  39648. },
  39649. "otherfrozenqty": {
  39650. "description": "持仓其他冻结数量(交割冻结)",
  39651. "type": "integer"
  39652. },
  39653. "positionqty": {
  39654. "description": "期初持仓数量",
  39655. "type": "integer"
  39656. },
  39657. "szdz3freezqty": {
  39658. "description": "尚志大宗转换冻结总数量",
  39659. "type": "integer"
  39660. },
  39661. "tnqty": {
  39662. "description": "T+N冻结总量",
  39663. "type": "integer"
  39664. },
  39665. "tnusedqty": {
  39666. "description": "T+N使用量",
  39667. "type": "integer"
  39668. },
  39669. "trademode": {
  39670. "description": "交易模式",
  39671. "type": "integer"
  39672. },
  39673. "usedmargin": {
  39674. "description": "占用保证金",
  39675. "type": "number"
  39676. }
  39677. }
  39678. },
  39679. "taaccount.QueryAmountLogRsp": {
  39680. "type": "object",
  39681. "required": [
  39682. "accountid",
  39683. "amount",
  39684. "amountadjusttype",
  39685. "autoid",
  39686. "balance",
  39687. "createtime",
  39688. "currentbalance",
  39689. "operatetype"
  39690. ],
  39691. "properties": {
  39692. "OPERATETYPENAME": {
  39693. "description": "资金操作类型名称",
  39694. "type": "string"
  39695. },
  39696. "accountid": {
  39697. "description": "资金账户ID",
  39698. "type": "integer"
  39699. },
  39700. "agoodscode": {
  39701. "description": "竞拍商品代码",
  39702. "type": "string"
  39703. },
  39704. "agoodsname": {
  39705. "description": "竞拍商品名称",
  39706. "type": "string"
  39707. },
  39708. "amount": {
  39709. "description": "资金金额",
  39710. "type": "number"
  39711. },
  39712. "amountadjusttype": {
  39713. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39714. "type": "integer"
  39715. },
  39716. "autoid": {
  39717. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39718. "type": "integer"
  39719. },
  39720. "balance": {
  39721. "description": "期初余额",
  39722. "type": "number"
  39723. },
  39724. "businesscode": {
  39725. "description": "业务编号",
  39726. "type": "integer"
  39727. },
  39728. "createtime": {
  39729. "description": "发生时间",
  39730. "type": "string"
  39731. },
  39732. "currencyid": {
  39733. "description": "币种ID",
  39734. "type": "integer"
  39735. },
  39736. "currentbalance": {
  39737. "description": "期末余额(变动后金额)",
  39738. "type": "number"
  39739. },
  39740. "dgoodscode": {
  39741. "description": "交割商品代码",
  39742. "type": "string"
  39743. },
  39744. "dgoodsname": {
  39745. "description": "交割商品名称",
  39746. "type": "string"
  39747. },
  39748. "goodscode": {
  39749. "description": "商品代码",
  39750. "type": "string"
  39751. },
  39752. "goodsid": {
  39753. "description": "商品ID",
  39754. "type": "integer"
  39755. },
  39756. "goodsname": {
  39757. "description": "商品名称",
  39758. "type": "string"
  39759. },
  39760. "marketid": {
  39761. "description": "市场ID",
  39762. "type": "integer"
  39763. },
  39764. "marketname": {
  39765. "description": "市场名称",
  39766. "type": "string"
  39767. },
  39768. "moneyticket": {
  39769. "description": "资金流水号:银行端流水号",
  39770. "type": "integer"
  39771. },
  39772. "operatetype": {
  39773. "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:营销收款",
  39774. "type": "integer"
  39775. },
  39776. "relationorderid": {
  39777. "description": "关联单号",
  39778. "type": "string"
  39779. },
  39780. "remark": {
  39781. "description": "备注",
  39782. "type": "string"
  39783. },
  39784. "trademode": {
  39785. "description": "交易模式",
  39786. "type": "integer"
  39787. }
  39788. }
  39789. },
  39790. "taaccount.QueryHisAmountLogRsp": {
  39791. "type": "object",
  39792. "required": [
  39793. "accountid",
  39794. "amount",
  39795. "amountadjusttype",
  39796. "autoid",
  39797. "balance",
  39798. "createtime",
  39799. "currentbalance",
  39800. "histradedate",
  39801. "operatetype"
  39802. ],
  39803. "properties": {
  39804. "OPERATETYPENAME": {
  39805. "description": "资金操作类型名称",
  39806. "type": "string"
  39807. },
  39808. "accountid": {
  39809. "description": "资金账户ID",
  39810. "type": "integer"
  39811. },
  39812. "agoodscode": {
  39813. "description": "竞拍商品代码",
  39814. "type": "string"
  39815. },
  39816. "agoodsname": {
  39817. "description": "竞拍商品名称",
  39818. "type": "string"
  39819. },
  39820. "amount": {
  39821. "description": "资金金额",
  39822. "type": "number"
  39823. },
  39824. "amountadjusttype": {
  39825. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39826. "type": "integer"
  39827. },
  39828. "autoid": {
  39829. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39830. "type": "integer"
  39831. },
  39832. "balance": {
  39833. "description": "期初余额",
  39834. "type": "number"
  39835. },
  39836. "businesscode": {
  39837. "description": "业务编号",
  39838. "type": "integer"
  39839. },
  39840. "createtime": {
  39841. "description": "发生时间",
  39842. "type": "string"
  39843. },
  39844. "currencyid": {
  39845. "description": "币种ID",
  39846. "type": "integer"
  39847. },
  39848. "currentbalance": {
  39849. "description": "期末余额(变动后金额)",
  39850. "type": "number"
  39851. },
  39852. "dgoodscode": {
  39853. "description": "交割商品代码",
  39854. "type": "string"
  39855. },
  39856. "dgoodsname": {
  39857. "description": "交割商品名称",
  39858. "type": "string"
  39859. },
  39860. "goodscode": {
  39861. "description": "商品代码",
  39862. "type": "string"
  39863. },
  39864. "goodsid": {
  39865. "description": "商品ID",
  39866. "type": "integer"
  39867. },
  39868. "goodsname": {
  39869. "description": "商品名称",
  39870. "type": "string"
  39871. },
  39872. "histradedate": {
  39873. "description": "历史交易日",
  39874. "type": "string"
  39875. },
  39876. "isvaliddata": {
  39877. "description": "是否有效 - 0:无效 1:有效",
  39878. "type": "integer"
  39879. },
  39880. "marketid": {
  39881. "description": "市场ID",
  39882. "type": "integer"
  39883. },
  39884. "marketname": {
  39885. "description": "市场名称",
  39886. "type": "string"
  39887. },
  39888. "moneyticket": {
  39889. "description": "资金流水号:银行端流水号",
  39890. "type": "integer"
  39891. },
  39892. "operatetype": {
  39893. "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:营销收款",
  39894. "type": "integer"
  39895. },
  39896. "relationorderid": {
  39897. "description": "关联单号",
  39898. "type": "string"
  39899. },
  39900. "remark": {
  39901. "description": "备注",
  39902. "type": "string"
  39903. },
  39904. "trademode": {
  39905. "description": "交易模式",
  39906. "type": "integer"
  39907. }
  39908. }
  39909. },
  39910. "trade.QueryRecieptOrderRsp": {
  39911. "type": "object",
  39912. "required": [
  39913. "ordertime"
  39914. ],
  39915. "properties": {
  39916. "accountName": {
  39917. "description": "所属账号名称(已脱敏)",
  39918. "type": "string"
  39919. },
  39920. "accountid": {
  39921. "description": "资金账号",
  39922. "type": "integer"
  39923. },
  39924. "buyorsell": {
  39925. "description": "方向 - 0:买 1:卖",
  39926. "type": "integer"
  39927. },
  39928. "enableqty": {
  39929. "description": "可摘数量",
  39930. "type": "integer"
  39931. },
  39932. "goodscode": {
  39933. "description": "商品代码",
  39934. "type": "string"
  39935. },
  39936. "goodsid": {
  39937. "description": "商品ID",
  39938. "type": "integer"
  39939. },
  39940. "goodsname": {
  39941. "description": "商品名称",
  39942. "type": "string"
  39943. },
  39944. "orderid": {
  39945. "description": "委托单号",
  39946. "type": "string"
  39947. },
  39948. "orderprice": {
  39949. "description": "委托价格",
  39950. "type": "number"
  39951. },
  39952. "ordertime": {
  39953. "description": "委托时间",
  39954. "type": "string"
  39955. },
  39956. "tradedate": {
  39957. "description": "交易日(yyyyMMdd)",
  39958. "type": "string"
  39959. }
  39960. }
  39961. },
  39962. "user.LoginQueryRsp": {
  39963. "type": "object",
  39964. "properties": {
  39965. "areaRoles": {
  39966. "description": "所属角色信息",
  39967. "type": "array",
  39968. "items": {
  39969. "$ref": "#/definitions/models.Arearole"
  39970. }
  39971. },
  39972. "externalExchanges": {
  39973. "description": "外部交易所",
  39974. "type": "array",
  39975. "items": {
  39976. "$ref": "#/definitions/models.Externalexchange"
  39977. }
  39978. },
  39979. "goodsgroups": {
  39980. "description": "商品组",
  39981. "type": "array",
  39982. "items": {
  39983. "$ref": "#/definitions/models.Goodsgroup"
  39984. }
  39985. },
  39986. "loginAccount": {
  39987. "description": "登录账号",
  39988. "$ref": "#/definitions/models.Loginaccount"
  39989. },
  39990. "markets": {
  39991. "description": "市场",
  39992. "type": "array",
  39993. "items": {
  39994. "$ref": "#/definitions/models.Market"
  39995. }
  39996. },
  39997. "systemParams": {
  39998. "description": "系统参数",
  39999. "type": "array",
  40000. "items": {
  40001. "$ref": "#/definitions/models.Systemparam"
  40002. }
  40003. },
  40004. "userAccount": {
  40005. "description": "用户账号",
  40006. "$ref": "#/definitions/models.Useraccount"
  40007. },
  40008. "userInfo": {
  40009. "description": "用户信息",
  40010. "$ref": "#/definitions/models.Userinfo"
  40011. },
  40012. "username": {
  40013. "description": "用户姓名",
  40014. "type": "string"
  40015. }
  40016. }
  40017. }
  40018. },
  40019. "securityDefinitions": {
  40020. "ApiKeyAuth": {
  40021. "type": "apiKey",
  40022. "name": "Authorization",
  40023. "in": "header"
  40024. }
  40025. }
  40026. }`
  40027. type swaggerInfo struct {
  40028. Version string
  40029. Host string
  40030. BasePath string
  40031. Schemes []string
  40032. Title string
  40033. Description string
  40034. }
  40035. // SwaggerInfo holds exported Swagger Info so clients can modify it
  40036. var SwaggerInfo = swaggerInfo{
  40037. Version: "1.0",
  40038. Host: "",
  40039. BasePath: "/api",
  40040. Schemes: []string{},
  40041. Title: "MTP2.0 查询服务 API",
  40042. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  40043. }
  40044. type s struct{}
  40045. func (s *s) ReadDoc() string {
  40046. sInfo := SwaggerInfo
  40047. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  40048. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  40049. "marshal": func(v interface{}) string {
  40050. a, _ := json.Marshal(v)
  40051. return string(a)
  40052. },
  40053. }).Parse(doc)
  40054. if err != nil {
  40055. return doc
  40056. }
  40057. var tpl bytes.Buffer
  40058. if err := t.Execute(&tpl, sInfo); err != nil {
  40059. return doc
  40060. }
  40061. return tpl.String()
  40062. }
  40063. func init() {
  40064. swag.Register(swag.Name, &s{})
  40065. }