docs.go 1.4 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://www.muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetClientMenus": {
  402. "get": {
  403. "security": [
  404. {
  405. "ApiKeyAuth": []
  406. }
  407. ],
  408. "produces": [
  409. "application/json"
  410. ],
  411. "tags": [
  412. "通用服务"
  413. ],
  414. "summary": "获取交易端菜单",
  415. "parameters": [
  416. {
  417. "type": "integer",
  418. "description": "登录账号",
  419. "name": "loginID",
  420. "in": "query",
  421. "required": true
  422. },
  423. {
  424. "type": "integer",
  425. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  426. "name": "clientType",
  427. "in": "query"
  428. },
  429. {
  430. "type": "string",
  431. "description": "分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台",
  432. "name": "name",
  433. "in": "query"
  434. }
  435. ],
  436. "responses": {
  437. "200": {
  438. "description": "OK",
  439. "schema": {
  440. "type": "array",
  441. "items": {
  442. "$ref": "#/definitions/common.ClientMenu"
  443. }
  444. }
  445. },
  446. "500": {
  447. "description": "Internal Server Error",
  448. "schema": {
  449. "$ref": "#/definitions/app.Response"
  450. }
  451. }
  452. }
  453. }
  454. },
  455. "/Common/GetDivisions": {
  456. "get": {
  457. "produces": [
  458. "application/json"
  459. ],
  460. "tags": [
  461. "通用服务"
  462. ],
  463. "summary": "查询区域信息",
  464. "responses": {
  465. "200": {
  466. "description": "OK",
  467. "schema": {
  468. "$ref": "#/definitions/models.Division"
  469. }
  470. },
  471. "500": {
  472. "description": "Internal Server Error",
  473. "schema": {
  474. "$ref": "#/definitions/app.Response"
  475. }
  476. }
  477. }
  478. }
  479. },
  480. "/Common/GetPCWebMenus": {
  481. "get": {
  482. "security": [
  483. {
  484. "ApiKeyAuth": []
  485. }
  486. ],
  487. "produces": [
  488. "application/json"
  489. ],
  490. "tags": [
  491. "通用服务"
  492. ],
  493. "summary": "获取PCWeb交易端菜单",
  494. "parameters": [
  495. {
  496. "type": "integer",
  497. "description": "登录账号",
  498. "name": "loginID",
  499. "in": "query",
  500. "required": true
  501. },
  502. {
  503. "type": "string",
  504. "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
  505. "name": "name",
  506. "in": "query"
  507. }
  508. ],
  509. "responses": {
  510. "200": {
  511. "description": "OK",
  512. "schema": {
  513. "type": "array",
  514. "items": {
  515. "$ref": "#/definitions/common.PCWebMenu"
  516. }
  517. }
  518. },
  519. "500": {
  520. "description": "Internal Server Error",
  521. "schema": {
  522. "$ref": "#/definitions/app.Response"
  523. }
  524. }
  525. }
  526. }
  527. },
  528. "/Common/GetServerTime": {
  529. "get": {
  530. "produces": [
  531. "application/json"
  532. ],
  533. "tags": [
  534. "通用服务"
  535. ],
  536. "summary": "获取服务器时间",
  537. "responses": {
  538. "200": {
  539. "description": "OK",
  540. "schema": {
  541. "$ref": "#/definitions/app.Response"
  542. }
  543. },
  544. "500": {
  545. "description": "Internal Server Error",
  546. "schema": {
  547. "$ref": "#/definitions/app.Response"
  548. }
  549. }
  550. }
  551. }
  552. },
  553. "/Common/NoticeReaded": {
  554. "post": {
  555. "security": [
  556. {
  557. "ApiKeyAuth": []
  558. }
  559. ],
  560. "produces": [
  561. "application/json"
  562. ],
  563. "tags": [
  564. "通用服务"
  565. ],
  566. "summary": "通知公告设置已读请求",
  567. "parameters": [
  568. {
  569. "type": "integer",
  570. "description": "登录账号",
  571. "name": "loginID",
  572. "in": "query",
  573. "required": true
  574. },
  575. {
  576. "type": "integer",
  577. "description": "通知公告ID",
  578. "name": "noticeID",
  579. "in": "query",
  580. "required": true
  581. }
  582. ],
  583. "responses": {
  584. "200": {
  585. "description": "OK",
  586. "schema": {
  587. "$ref": "#/definitions/app.Response"
  588. }
  589. },
  590. "500": {
  591. "description": "Internal Server Error",
  592. "schema": {
  593. "$ref": "#/definitions/app.Response"
  594. }
  595. }
  596. }
  597. }
  598. },
  599. "/Common/QueryErrorInfos": {
  600. "get": {
  601. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  602. "produces": [
  603. "application/json"
  604. ],
  605. "tags": [
  606. "通用服务"
  607. ],
  608. "summary": "获取数据库错误信息",
  609. "parameters": [
  610. {
  611. "type": "string",
  612. "description": "起始行号前索引",
  613. "name": "rowNumber",
  614. "in": "query"
  615. }
  616. ],
  617. "responses": {
  618. "200": {
  619. "description": "OK",
  620. "schema": {
  621. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  622. }
  623. },
  624. "500": {
  625. "description": "Internal Server Error",
  626. "schema": {
  627. "$ref": "#/definitions/app.Response"
  628. }
  629. }
  630. }
  631. }
  632. },
  633. "/Common/QueryImageConfigs": {
  634. "get": {
  635. "produces": [
  636. "application/json"
  637. ],
  638. "tags": [
  639. "通用服务"
  640. ],
  641. "summary": "查询轮播图配置信息",
  642. "parameters": [
  643. {
  644. "type": "integer",
  645. "description": "用户id",
  646. "name": "userId",
  647. "in": "query"
  648. },
  649. {
  650. "type": "integer",
  651. "description": "类型 - 1:App首页轮播 2:我的",
  652. "name": "imageType",
  653. "in": "query"
  654. }
  655. ],
  656. "responses": {
  657. "200": {
  658. "description": "OK",
  659. "schema": {
  660. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  661. }
  662. },
  663. "500": {
  664. "description": "Internal Server Error",
  665. "schema": {
  666. "$ref": "#/definitions/app.Response"
  667. }
  668. }
  669. }
  670. }
  671. },
  672. "/Common/QueryNotice": {
  673. "get": {
  674. "security": [
  675. {
  676. "ApiKeyAuth": []
  677. }
  678. ],
  679. "produces": [
  680. "application/json"
  681. ],
  682. "tags": [
  683. "通用服务"
  684. ],
  685. "summary": "通知公告系统消息查询",
  686. "parameters": [
  687. {
  688. "type": "integer",
  689. "description": "页码",
  690. "name": "page",
  691. "in": "query"
  692. },
  693. {
  694. "type": "integer",
  695. "description": "每页条数",
  696. "name": "pagesize",
  697. "in": "query"
  698. },
  699. {
  700. "type": "integer",
  701. "description": "登录账号",
  702. "name": "loginID",
  703. "in": "query",
  704. "required": true
  705. },
  706. {
  707. "type": "integer",
  708. "description": "消息类型 - 1:公告通知 2:系统消息",
  709. "name": "msgType",
  710. "in": "query"
  711. },
  712. {
  713. "type": "boolean",
  714. "description": "是否只获取未读信息",
  715. "name": "onlyUnRead",
  716. "in": "query"
  717. },
  718. {
  719. "type": "integer",
  720. "description": "自增ID,传入后会返回这个ID后面的记录",
  721. "name": "lastID",
  722. "in": "query"
  723. }
  724. ],
  725. "responses": {
  726. "200": {
  727. "description": "OK",
  728. "schema": {
  729. "$ref": "#/definitions/common.QueryNoticeRsp"
  730. }
  731. },
  732. "500": {
  733. "description": "Internal Server Error",
  734. "schema": {
  735. "$ref": "#/definitions/app.Response"
  736. }
  737. }
  738. }
  739. }
  740. },
  741. "/Common/QueryProvincesAndCities": {
  742. "get": {
  743. "produces": [
  744. "application/json"
  745. ],
  746. "tags": [
  747. "通用服务"
  748. ],
  749. "summary": "查询省市信息(不包括区)",
  750. "parameters": [
  751. {
  752. "type": "integer",
  753. "description": "省ID",
  754. "name": "provinceID",
  755. "in": "query"
  756. }
  757. ],
  758. "responses": {
  759. "200": {
  760. "description": "OK",
  761. "schema": {
  762. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  763. }
  764. },
  765. "500": {
  766. "description": "Internal Server Error",
  767. "schema": {
  768. "$ref": "#/definitions/app.Response"
  769. }
  770. }
  771. }
  772. }
  773. },
  774. "/Common/QueryTableDefine": {
  775. "get": {
  776. "produces": [
  777. "application/json"
  778. ],
  779. "tags": [
  780. "通用服务"
  781. ],
  782. "summary": "查询交易端列表头信息",
  783. "parameters": [
  784. {
  785. "type": "string",
  786. "description": "表key",
  787. "name": "tableKey",
  788. "in": "query"
  789. },
  790. {
  791. "type": "integer",
  792. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  793. "name": "tableType",
  794. "in": "query"
  795. }
  796. ],
  797. "responses": {
  798. "200": {
  799. "description": "OK",
  800. "schema": {
  801. "$ref": "#/definitions/common.QueryTableDefineRsp"
  802. }
  803. },
  804. "500": {
  805. "description": "Internal Server Error",
  806. "schema": {
  807. "$ref": "#/definitions/app.Response"
  808. }
  809. }
  810. }
  811. }
  812. },
  813. "/Common/QueryTraderMenu": {
  814. "get": {
  815. "produces": [
  816. "application/json"
  817. ],
  818. "tags": [
  819. "通用服务"
  820. ],
  821. "summary": "查询交易端菜单",
  822. "parameters": [
  823. {
  824. "type": "integer",
  825. "description": "登录账号",
  826. "name": "loginid",
  827. "in": "query",
  828. "required": true
  829. }
  830. ],
  831. "responses": {
  832. "200": {
  833. "description": "OK",
  834. "schema": {
  835. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  836. }
  837. },
  838. "500": {
  839. "description": "Internal Server Error",
  840. "schema": {
  841. "$ref": "#/definitions/app.Response"
  842. }
  843. }
  844. }
  845. }
  846. },
  847. "/Delivery/QueryDeliveryRelation": {
  848. "get": {
  849. "security": [
  850. {
  851. "ApiKeyAuth": []
  852. }
  853. ],
  854. "produces": [
  855. "application/json"
  856. ],
  857. "tags": [
  858. "交割服务"
  859. ],
  860. "summary": "查询商品交割关系表",
  861. "parameters": [
  862. {
  863. "type": "integer",
  864. "description": "商品ID",
  865. "name": "goodsid",
  866. "in": "query"
  867. },
  868. {
  869. "type": "integer",
  870. "description": "品种ID",
  871. "name": "deliverygoodsid",
  872. "in": "query"
  873. },
  874. {
  875. "type": "integer",
  876. "description": "市场ID",
  877. "name": "marketid",
  878. "in": "query"
  879. }
  880. ],
  881. "responses": {
  882. "200": {
  883. "description": "OK",
  884. "schema": {
  885. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  886. }
  887. },
  888. "500": {
  889. "description": "Internal Server Error",
  890. "schema": {
  891. "$ref": "#/definitions/app.Response"
  892. }
  893. }
  894. }
  895. }
  896. },
  897. "/Ermcp/GetErmcpGoods": {
  898. "get": {
  899. "security": [
  900. {
  901. "ApiKeyAuth": []
  902. }
  903. ],
  904. "produces": [
  905. "application/json"
  906. ],
  907. "tags": [
  908. "企业风险管理(app)"
  909. ],
  910. "summary": "查询企业风管期货商品信息",
  911. "parameters": [
  912. {
  913. "type": "integer",
  914. "description": "用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)",
  915. "name": "userid",
  916. "in": "query"
  917. },
  918. {
  919. "type": "string",
  920. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  921. "name": "lastUpdateTime",
  922. "in": "query"
  923. }
  924. ],
  925. "responses": {
  926. "200": {
  927. "description": "OK",
  928. "schema": {
  929. "$ref": "#/definitions/models.ErmcpGoods"
  930. }
  931. },
  932. "500": {
  933. "description": "Internal Server Error",
  934. "schema": {
  935. "$ref": "#/definitions/app.Response"
  936. }
  937. }
  938. }
  939. }
  940. },
  941. "/Ermcp/GetErmcpGoodsSortByPosition": {
  942. "get": {
  943. "security": [
  944. {
  945. "ApiKeyAuth": []
  946. }
  947. ],
  948. "produces": [
  949. "application/json"
  950. ],
  951. "tags": [
  952. "企业风险管理(app)"
  953. ],
  954. "summary": "查询企业风管期货主力、次主力商品信息",
  955. "parameters": [
  956. {
  957. "type": "string",
  958. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  959. "name": "sortIndex",
  960. "in": "query"
  961. }
  962. ],
  963. "responses": {
  964. "200": {
  965. "description": "OK",
  966. "schema": {
  967. "$ref": "#/definitions/models.Goodssortbypreposition"
  968. }
  969. },
  970. "500": {
  971. "description": "Internal Server Error",
  972. "schema": {
  973. "$ref": "#/definitions/app.Response"
  974. }
  975. }
  976. }
  977. }
  978. },
  979. "/Ermcp/GetErmcpOutAccountStatus": {
  980. "get": {
  981. "security": [
  982. {
  983. "ApiKeyAuth": []
  984. }
  985. ],
  986. "produces": [
  987. "application/json"
  988. ],
  989. "tags": [
  990. "企业风险管理(app)"
  991. ],
  992. "summary": "获取目标登录账号当前对冲账号在线状态",
  993. "parameters": [
  994. {
  995. "type": "integer",
  996. "description": "登录账号",
  997. "name": "loginID",
  998. "in": "query",
  999. "required": true
  1000. }
  1001. ],
  1002. "responses": {
  1003. "200": {
  1004. "description": "OK",
  1005. "schema": {
  1006. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1007. }
  1008. },
  1009. "500": {
  1010. "description": "Internal Server Error",
  1011. "schema": {
  1012. "$ref": "#/definitions/app.Response"
  1013. }
  1014. }
  1015. }
  1016. }
  1017. },
  1018. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1019. "get": {
  1020. "security": [
  1021. {
  1022. "ApiKeyAuth": []
  1023. }
  1024. ],
  1025. "produces": [
  1026. "application/json"
  1027. ],
  1028. "tags": [
  1029. "企业风险管理(app)"
  1030. ],
  1031. "summary": "获取企业风管终端权限",
  1032. "parameters": [
  1033. {
  1034. "type": "integer",
  1035. "description": "登录账号",
  1036. "name": "loginID",
  1037. "in": "query",
  1038. "required": true
  1039. }
  1040. ],
  1041. "responses": {
  1042. "200": {
  1043. "description": "OK",
  1044. "schema": {
  1045. "$ref": "#/definitions/models.Funcmenulist"
  1046. }
  1047. },
  1048. "500": {
  1049. "description": "Internal Server Error",
  1050. "schema": {
  1051. "$ref": "#/definitions/app.Response"
  1052. }
  1053. }
  1054. }
  1055. }
  1056. },
  1057. "/Ermcp/QueryAccMgrBizGroupSet": {
  1058. "get": {
  1059. "security": [
  1060. {
  1061. "ApiKeyAuth": []
  1062. }
  1063. ],
  1064. "produces": [
  1065. "application/json"
  1066. ],
  1067. "tags": [
  1068. "企业风险管理(app)"
  1069. ],
  1070. "summary": "查询业务类型分组(账户管理/账户设置)",
  1071. "parameters": [
  1072. {
  1073. "type": "integer",
  1074. "description": "用户ID",
  1075. "name": "userid",
  1076. "in": "query",
  1077. "required": true
  1078. },
  1079. {
  1080. "type": "integer",
  1081. "description": "现货商品id",
  1082. "name": "deliverygoodsid",
  1083. "in": "query"
  1084. }
  1085. ],
  1086. "responses": {
  1087. "200": {
  1088. "description": "OK",
  1089. "schema": {
  1090. "type": "array",
  1091. "items": {
  1092. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1093. }
  1094. }
  1095. },
  1096. "500": {
  1097. "description": "Internal Server Error",
  1098. "schema": {
  1099. "$ref": "#/definitions/app.Response"
  1100. }
  1101. }
  1102. }
  1103. }
  1104. },
  1105. "/Ermcp/QueryAccMgrLoginUser": {
  1106. "get": {
  1107. "security": [
  1108. {
  1109. "ApiKeyAuth": []
  1110. }
  1111. ],
  1112. "produces": [
  1113. "application/json"
  1114. ],
  1115. "tags": [
  1116. "企业风险管理(app)"
  1117. ],
  1118. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1119. "parameters": [
  1120. {
  1121. "type": "integer",
  1122. "description": "用户ID",
  1123. "name": "userid",
  1124. "in": "query",
  1125. "required": true
  1126. },
  1127. {
  1128. "type": "integer",
  1129. "description": "用户类型 2-机构 7-企业成员",
  1130. "name": "usertype",
  1131. "in": "query"
  1132. },
  1133. {
  1134. "type": "integer",
  1135. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1136. "name": "querytype",
  1137. "in": "query",
  1138. "required": true
  1139. }
  1140. ],
  1141. "responses": {
  1142. "200": {
  1143. "description": "OK",
  1144. "schema": {
  1145. "type": "array",
  1146. "items": {
  1147. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1148. }
  1149. }
  1150. },
  1151. "500": {
  1152. "description": "Internal Server Error",
  1153. "schema": {
  1154. "$ref": "#/definitions/app.Response"
  1155. }
  1156. }
  1157. }
  1158. }
  1159. },
  1160. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1161. "get": {
  1162. "security": [
  1163. {
  1164. "ApiKeyAuth": []
  1165. }
  1166. ],
  1167. "produces": [
  1168. "application/json"
  1169. ],
  1170. "tags": [
  1171. "企业风险管理(app)"
  1172. ],
  1173. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1174. "parameters": [
  1175. {
  1176. "type": "integer",
  1177. "description": "用户ID",
  1178. "name": "userid",
  1179. "in": "query"
  1180. },
  1181. {
  1182. "type": "integer",
  1183. "description": "主账号id",
  1184. "name": "accountid",
  1185. "in": "query"
  1186. }
  1187. ],
  1188. "responses": {
  1189. "200": {
  1190. "description": "OK",
  1191. "schema": {
  1192. "type": "array",
  1193. "items": {
  1194. "$ref": "#/definitions/models.MainAccountInfo"
  1195. }
  1196. }
  1197. },
  1198. "500": {
  1199. "description": "Internal Server Error",
  1200. "schema": {
  1201. "$ref": "#/definitions/app.Response"
  1202. }
  1203. }
  1204. }
  1205. }
  1206. },
  1207. "/Ermcp/QueryAccMgrRole": {
  1208. "get": {
  1209. "security": [
  1210. {
  1211. "ApiKeyAuth": []
  1212. }
  1213. ],
  1214. "produces": [
  1215. "application/json"
  1216. ],
  1217. "tags": [
  1218. "企业风险管理(app)"
  1219. ],
  1220. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1221. "parameters": [
  1222. {
  1223. "type": "integer",
  1224. "description": "用户ID",
  1225. "name": "userid",
  1226. "in": "query",
  1227. "required": true
  1228. }
  1229. ],
  1230. "responses": {
  1231. "200": {
  1232. "description": "OK",
  1233. "schema": {
  1234. "type": "array",
  1235. "items": {
  1236. "$ref": "#/definitions/models.ErmcpRole"
  1237. }
  1238. }
  1239. },
  1240. "500": {
  1241. "description": "Internal Server Error",
  1242. "schema": {
  1243. "$ref": "#/definitions/app.Response"
  1244. }
  1245. }
  1246. }
  1247. }
  1248. },
  1249. "/Ermcp/QueryAccMgrRoleMenu": {
  1250. "get": {
  1251. "security": [
  1252. {
  1253. "ApiKeyAuth": []
  1254. }
  1255. ],
  1256. "produces": [
  1257. "application/json"
  1258. ],
  1259. "tags": [
  1260. "企业风险管理(app)"
  1261. ],
  1262. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1263. "parameters": [
  1264. {
  1265. "type": "integer",
  1266. "description": "用户ID",
  1267. "name": "userid",
  1268. "in": "query",
  1269. "required": true
  1270. },
  1271. {
  1272. "type": "string",
  1273. "description": "角色id(可多个,逗号隔开)",
  1274. "name": "roleid",
  1275. "in": "query"
  1276. },
  1277. {
  1278. "type": "integer",
  1279. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1280. "name": "menutype",
  1281. "in": "query"
  1282. }
  1283. ],
  1284. "responses": {
  1285. "200": {
  1286. "description": "OK",
  1287. "schema": {
  1288. "type": "array",
  1289. "items": {
  1290. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1291. }
  1292. }
  1293. },
  1294. "500": {
  1295. "description": "Internal Server Error",
  1296. "schema": {
  1297. "$ref": "#/definitions/app.Response"
  1298. }
  1299. }
  1300. }
  1301. }
  1302. },
  1303. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1304. "get": {
  1305. "security": [
  1306. {
  1307. "ApiKeyAuth": []
  1308. }
  1309. ],
  1310. "produces": [
  1311. "application/json"
  1312. ],
  1313. "tags": [
  1314. "企业风险管理(app)"
  1315. ],
  1316. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1317. "parameters": [
  1318. {
  1319. "type": "integer",
  1320. "description": "用户ID",
  1321. "name": "userid",
  1322. "in": "query",
  1323. "required": true
  1324. },
  1325. {
  1326. "type": "integer",
  1327. "description": "账号id",
  1328. "name": "accountid",
  1329. "in": "query"
  1330. }
  1331. ],
  1332. "responses": {
  1333. "200": {
  1334. "description": "OK",
  1335. "schema": {
  1336. "type": "array",
  1337. "items": {
  1338. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1339. }
  1340. }
  1341. },
  1342. "500": {
  1343. "description": "Internal Server Error",
  1344. "schema": {
  1345. "$ref": "#/definitions/app.Response"
  1346. }
  1347. }
  1348. }
  1349. }
  1350. },
  1351. "/Ermcp/QueryAccMgrTaaccount": {
  1352. "get": {
  1353. "security": [
  1354. {
  1355. "ApiKeyAuth": []
  1356. }
  1357. ],
  1358. "produces": [
  1359. "application/json"
  1360. ],
  1361. "tags": [
  1362. "企业风险管理(app)"
  1363. ],
  1364. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1365. "parameters": [
  1366. {
  1367. "type": "integer",
  1368. "description": "用户ID",
  1369. "name": "userid",
  1370. "in": "query",
  1371. "required": true
  1372. }
  1373. ],
  1374. "responses": {
  1375. "200": {
  1376. "description": "OK",
  1377. "schema": {
  1378. "type": "array",
  1379. "items": {
  1380. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1381. }
  1382. }
  1383. },
  1384. "500": {
  1385. "description": "Internal Server Error",
  1386. "schema": {
  1387. "$ref": "#/definitions/app.Response"
  1388. }
  1389. }
  1390. }
  1391. }
  1392. },
  1393. "/Ermcp/QueryAvaildGoodsGroup": {
  1394. "get": {
  1395. "security": [
  1396. {
  1397. "ApiKeyAuth": []
  1398. }
  1399. ],
  1400. "produces": [
  1401. "application/json"
  1402. ],
  1403. "tags": [
  1404. "企业风险管理(app)"
  1405. ],
  1406. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1407. "parameters": [
  1408. {
  1409. "type": "integer",
  1410. "description": "所属机构ID",
  1411. "name": "userid",
  1412. "in": "query",
  1413. "required": true
  1414. }
  1415. ],
  1416. "responses": {
  1417. "200": {
  1418. "description": "OK",
  1419. "schema": {
  1420. "type": "array",
  1421. "items": {
  1422. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1423. }
  1424. }
  1425. },
  1426. "500": {
  1427. "description": "Internal Server Error",
  1428. "schema": {
  1429. "$ref": "#/definitions/app.Response"
  1430. }
  1431. }
  1432. }
  1433. }
  1434. },
  1435. "/Ermcp/QueryBusinessDj": {
  1436. "get": {
  1437. "security": [
  1438. {
  1439. "ApiKeyAuth": []
  1440. }
  1441. ],
  1442. "produces": [
  1443. "application/json"
  1444. ],
  1445. "tags": [
  1446. "企业风险管理(app)"
  1447. ],
  1448. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1449. "parameters": [
  1450. {
  1451. "type": "integer",
  1452. "description": "用户ID",
  1453. "name": "UserId",
  1454. "in": "query",
  1455. "required": true
  1456. },
  1457. {
  1458. "type": "integer",
  1459. "description": "用户类型 2-机构 7-企业成员",
  1460. "name": "usertype",
  1461. "in": "query"
  1462. },
  1463. {
  1464. "type": "string",
  1465. "description": "现货合同ID, 不填则查所有",
  1466. "name": "relatedid",
  1467. "in": "query"
  1468. },
  1469. {
  1470. "type": "string",
  1471. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1472. "name": "applystatus",
  1473. "in": "query"
  1474. }
  1475. ],
  1476. "responses": {
  1477. "200": {
  1478. "description": "OK",
  1479. "schema": {
  1480. "type": "array",
  1481. "items": {
  1482. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1483. }
  1484. }
  1485. },
  1486. "500": {
  1487. "description": "Internal Server Error",
  1488. "schema": {
  1489. "$ref": "#/definitions/app.Response"
  1490. }
  1491. }
  1492. }
  1493. }
  1494. },
  1495. "/Ermcp/QueryBusinessFp": {
  1496. "get": {
  1497. "security": [
  1498. {
  1499. "ApiKeyAuth": []
  1500. }
  1501. ],
  1502. "produces": [
  1503. "application/json"
  1504. ],
  1505. "tags": [
  1506. "企业风险管理(app)"
  1507. ],
  1508. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1509. "parameters": [
  1510. {
  1511. "type": "integer",
  1512. "description": "用户ID",
  1513. "name": "UserId",
  1514. "in": "query",
  1515. "required": true
  1516. },
  1517. {
  1518. "type": "integer",
  1519. "description": "用户类型 2-机构 7-企业成员",
  1520. "name": "usertype",
  1521. "in": "query"
  1522. },
  1523. {
  1524. "type": "string",
  1525. "description": "现货合同ID, 不填则查所有",
  1526. "name": "relatedid",
  1527. "in": "query"
  1528. },
  1529. {
  1530. "type": "string",
  1531. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1532. "name": "applystatus",
  1533. "in": "query"
  1534. }
  1535. ],
  1536. "responses": {
  1537. "200": {
  1538. "description": "OK",
  1539. "schema": {
  1540. "type": "array",
  1541. "items": {
  1542. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1543. }
  1544. }
  1545. },
  1546. "500": {
  1547. "description": "Internal Server Error",
  1548. "schema": {
  1549. "$ref": "#/definitions/app.Response"
  1550. }
  1551. }
  1552. }
  1553. }
  1554. },
  1555. "/Ermcp/QueryBusinessJs": {
  1556. "get": {
  1557. "security": [
  1558. {
  1559. "ApiKeyAuth": []
  1560. }
  1561. ],
  1562. "produces": [
  1563. "application/json"
  1564. ],
  1565. "tags": [
  1566. "企业风险管理(app)"
  1567. ],
  1568. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1569. "parameters": [
  1570. {
  1571. "type": "integer",
  1572. "description": "用户ID",
  1573. "name": "UserId",
  1574. "in": "query",
  1575. "required": true
  1576. },
  1577. {
  1578. "type": "integer",
  1579. "description": "用户类型 2-机构 7-企业成员",
  1580. "name": "usertype",
  1581. "in": "query"
  1582. },
  1583. {
  1584. "type": "string",
  1585. "description": "现货合同ID, 不填则查所有",
  1586. "name": "relatedid",
  1587. "in": "query"
  1588. },
  1589. {
  1590. "type": "string",
  1591. "description": "操作申请id",
  1592. "name": "operateapplyid",
  1593. "in": "query"
  1594. },
  1595. {
  1596. "type": "string",
  1597. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1598. "name": "applystatus",
  1599. "in": "query"
  1600. }
  1601. ],
  1602. "responses": {
  1603. "200": {
  1604. "description": "OK",
  1605. "schema": {
  1606. "type": "array",
  1607. "items": {
  1608. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1609. }
  1610. }
  1611. },
  1612. "500": {
  1613. "description": "Internal Server Error",
  1614. "schema": {
  1615. "$ref": "#/definitions/app.Response"
  1616. }
  1617. }
  1618. }
  1619. }
  1620. },
  1621. "/Ermcp/QueryBusinessJsEx": {
  1622. "get": {
  1623. "security": [
  1624. {
  1625. "ApiKeyAuth": []
  1626. }
  1627. ],
  1628. "produces": [
  1629. "application/json"
  1630. ],
  1631. "tags": [
  1632. "企业风险管理(app)"
  1633. ],
  1634. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1635. "parameters": [
  1636. {
  1637. "type": "integer",
  1638. "description": "用户ID",
  1639. "name": "UserId",
  1640. "in": "query",
  1641. "required": true
  1642. },
  1643. {
  1644. "type": "integer",
  1645. "description": "用户类型 2-机构 7-企业成员",
  1646. "name": "usertype",
  1647. "in": "query"
  1648. },
  1649. {
  1650. "type": "string",
  1651. "description": "现货合同ID, 不填则查所有",
  1652. "name": "relatedid",
  1653. "in": "query"
  1654. },
  1655. {
  1656. "type": "string",
  1657. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1658. "name": "applystatus",
  1659. "in": "query"
  1660. }
  1661. ],
  1662. "responses": {
  1663. "200": {
  1664. "description": "OK",
  1665. "schema": {
  1666. "type": "array",
  1667. "items": {
  1668. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1669. }
  1670. }
  1671. },
  1672. "500": {
  1673. "description": "Internal Server Error",
  1674. "schema": {
  1675. "$ref": "#/definitions/app.Response"
  1676. }
  1677. }
  1678. }
  1679. }
  1680. },
  1681. "/Ermcp/QueryBusinessKx": {
  1682. "get": {
  1683. "security": [
  1684. {
  1685. "ApiKeyAuth": []
  1686. }
  1687. ],
  1688. "produces": [
  1689. "application/json"
  1690. ],
  1691. "tags": [
  1692. "企业风险管理(app)"
  1693. ],
  1694. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1695. "parameters": [
  1696. {
  1697. "type": "integer",
  1698. "description": "用户ID",
  1699. "name": "UserId",
  1700. "in": "query",
  1701. "required": true
  1702. },
  1703. {
  1704. "type": "integer",
  1705. "description": "用户类型 2-机构 7-企业成员",
  1706. "name": "usertype",
  1707. "in": "query"
  1708. },
  1709. {
  1710. "type": "string",
  1711. "description": "现货合同ID, 不填则查所有",
  1712. "name": "relatedid",
  1713. "in": "query"
  1714. },
  1715. {
  1716. "type": "string",
  1717. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1718. "name": "applystatus",
  1719. "in": "query"
  1720. }
  1721. ],
  1722. "responses": {
  1723. "200": {
  1724. "description": "OK",
  1725. "schema": {
  1726. "type": "array",
  1727. "items": {
  1728. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1729. }
  1730. }
  1731. },
  1732. "500": {
  1733. "description": "Internal Server Error",
  1734. "schema": {
  1735. "$ref": "#/definitions/app.Response"
  1736. }
  1737. }
  1738. }
  1739. }
  1740. },
  1741. "/Ermcp/QueryChangeLog": {
  1742. "get": {
  1743. "security": [
  1744. {
  1745. "ApiKeyAuth": []
  1746. }
  1747. ],
  1748. "produces": [
  1749. "application/json"
  1750. ],
  1751. "tags": [
  1752. "企业风险管理(app)"
  1753. ],
  1754. "summary": "查询变更记录",
  1755. "parameters": [
  1756. {
  1757. "type": "string",
  1758. "description": "合同ID",
  1759. "name": "RelatedId",
  1760. "in": "query",
  1761. "required": true
  1762. }
  1763. ],
  1764. "responses": {
  1765. "200": {
  1766. "description": "OK",
  1767. "schema": {
  1768. "type": "array",
  1769. "items": {
  1770. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1771. }
  1772. }
  1773. },
  1774. "500": {
  1775. "description": "Internal Server Error",
  1776. "schema": {
  1777. "$ref": "#/definitions/app.Response"
  1778. }
  1779. }
  1780. }
  1781. }
  1782. },
  1783. "/Ermcp/QueryErmcpHisOrderDetails": {
  1784. "get": {
  1785. "security": [
  1786. {
  1787. "ApiKeyAuth": []
  1788. }
  1789. ],
  1790. "produces": [
  1791. "application/json"
  1792. ],
  1793. "tags": [
  1794. "企业风险管理(app)"
  1795. ],
  1796. "summary": "获取企业风管期货历史委托单信息",
  1797. "parameters": [
  1798. {
  1799. "type": "integer",
  1800. "description": "资金账户ID",
  1801. "name": "accountID",
  1802. "in": "query",
  1803. "required": true
  1804. },
  1805. {
  1806. "type": "string",
  1807. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1808. "name": "startDate",
  1809. "in": "query"
  1810. },
  1811. {
  1812. "type": "string",
  1813. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1814. "name": "endDate",
  1815. "in": "query"
  1816. }
  1817. ],
  1818. "responses": {
  1819. "200": {
  1820. "description": "OK",
  1821. "schema": {
  1822. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1823. }
  1824. },
  1825. "500": {
  1826. "description": "Internal Server Error",
  1827. "schema": {
  1828. "$ref": "#/definitions/app.Response"
  1829. }
  1830. }
  1831. }
  1832. }
  1833. },
  1834. "/Ermcp/QueryErmcpHisTradeDetails": {
  1835. "get": {
  1836. "security": [
  1837. {
  1838. "ApiKeyAuth": []
  1839. }
  1840. ],
  1841. "produces": [
  1842. "application/json"
  1843. ],
  1844. "tags": [
  1845. "企业风险管理(app)"
  1846. ],
  1847. "summary": "获取企业风管期货历史成交单信息",
  1848. "parameters": [
  1849. {
  1850. "type": "integer",
  1851. "description": "资金账户ID",
  1852. "name": "accountID",
  1853. "in": "query",
  1854. "required": true
  1855. },
  1856. {
  1857. "type": "integer",
  1858. "description": "商品ID",
  1859. "name": "goodsID",
  1860. "in": "query"
  1861. },
  1862. {
  1863. "type": "integer",
  1864. "description": "买卖方向,0:买 1:卖",
  1865. "name": "buyOrSell",
  1866. "in": "query"
  1867. },
  1868. {
  1869. "type": "integer",
  1870. "description": "关联委托单号",
  1871. "name": "orderID",
  1872. "in": "query"
  1873. },
  1874. {
  1875. "type": "string",
  1876. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1877. "name": "startDate",
  1878. "in": "query"
  1879. },
  1880. {
  1881. "type": "string",
  1882. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1883. "name": "endDate",
  1884. "in": "query"
  1885. }
  1886. ],
  1887. "responses": {
  1888. "200": {
  1889. "description": "OK",
  1890. "schema": {
  1891. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1892. }
  1893. },
  1894. "500": {
  1895. "description": "Internal Server Error",
  1896. "schema": {
  1897. "$ref": "#/definitions/app.Response"
  1898. }
  1899. }
  1900. }
  1901. }
  1902. },
  1903. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1904. "get": {
  1905. "security": [
  1906. {
  1907. "ApiKeyAuth": []
  1908. }
  1909. ],
  1910. "produces": [
  1911. "application/json"
  1912. ],
  1913. "tags": [
  1914. "企业风险管理(app)"
  1915. ],
  1916. "summary": "获取企业风管期货内部持仓单信息",
  1917. "parameters": [
  1918. {
  1919. "type": "integer",
  1920. "description": "资金账户ID",
  1921. "name": "accountID",
  1922. "in": "query",
  1923. "required": true
  1924. },
  1925. {
  1926. "type": "integer",
  1927. "description": "商品ID",
  1928. "name": "goodsID",
  1929. "in": "query"
  1930. },
  1931. {
  1932. "type": "integer",
  1933. "description": "买卖方向,0:买 1:卖",
  1934. "name": "buyOrSell",
  1935. "in": "query"
  1936. }
  1937. ],
  1938. "responses": {
  1939. "200": {
  1940. "description": "OK",
  1941. "schema": {
  1942. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1943. }
  1944. },
  1945. "500": {
  1946. "description": "Internal Server Error",
  1947. "schema": {
  1948. "$ref": "#/definitions/app.Response"
  1949. }
  1950. }
  1951. }
  1952. }
  1953. },
  1954. "/Ermcp/QueryErmcpOrderDetails": {
  1955. "get": {
  1956. "security": [
  1957. {
  1958. "ApiKeyAuth": []
  1959. }
  1960. ],
  1961. "produces": [
  1962. "application/json"
  1963. ],
  1964. "tags": [
  1965. "企业风险管理(app)"
  1966. ],
  1967. "summary": "获取企业风管期货委托单信息",
  1968. "parameters": [
  1969. {
  1970. "type": "integer",
  1971. "description": "资金账户ID",
  1972. "name": "accountID",
  1973. "in": "query",
  1974. "required": true
  1975. }
  1976. ],
  1977. "responses": {
  1978. "200": {
  1979. "description": "OK",
  1980. "schema": {
  1981. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1982. }
  1983. },
  1984. "500": {
  1985. "description": "Internal Server Error",
  1986. "schema": {
  1987. "$ref": "#/definitions/app.Response"
  1988. }
  1989. }
  1990. }
  1991. }
  1992. },
  1993. "/Ermcp/QueryErmcpTradeDetails": {
  1994. "get": {
  1995. "security": [
  1996. {
  1997. "ApiKeyAuth": []
  1998. }
  1999. ],
  2000. "produces": [
  2001. "application/json"
  2002. ],
  2003. "tags": [
  2004. "企业风险管理(app)"
  2005. ],
  2006. "summary": "获取企业风管期货成交单信息",
  2007. "parameters": [
  2008. {
  2009. "type": "integer",
  2010. "description": "资金账户ID",
  2011. "name": "accountID",
  2012. "in": "query",
  2013. "required": true
  2014. },
  2015. {
  2016. "type": "integer",
  2017. "description": "商品ID",
  2018. "name": "goodsID",
  2019. "in": "query"
  2020. },
  2021. {
  2022. "type": "integer",
  2023. "description": "买卖方向,0:买 1:卖",
  2024. "name": "buyOrSell",
  2025. "in": "query"
  2026. },
  2027. {
  2028. "type": "integer",
  2029. "description": "关联委托单号",
  2030. "name": "orderID",
  2031. "in": "query"
  2032. }
  2033. ],
  2034. "responses": {
  2035. "200": {
  2036. "description": "OK",
  2037. "schema": {
  2038. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2039. }
  2040. },
  2041. "500": {
  2042. "description": "Internal Server Error",
  2043. "schema": {
  2044. "$ref": "#/definitions/app.Response"
  2045. }
  2046. }
  2047. }
  2048. }
  2049. },
  2050. "/Ermcp/QueryErmcpTradePosition": {
  2051. "get": {
  2052. "security": [
  2053. {
  2054. "ApiKeyAuth": []
  2055. }
  2056. ],
  2057. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2058. "produces": [
  2059. "application/json"
  2060. ],
  2061. "tags": [
  2062. "企业风险管理(app)"
  2063. ],
  2064. "summary": "获取企业风管期货持仓头寸信息",
  2065. "parameters": [
  2066. {
  2067. "type": "integer",
  2068. "description": "资金账户ID",
  2069. "name": "accountID",
  2070. "in": "query",
  2071. "required": true
  2072. },
  2073. {
  2074. "type": "integer",
  2075. "description": "所属市场ID",
  2076. "name": "marketID",
  2077. "in": "query"
  2078. }
  2079. ],
  2080. "responses": {
  2081. "200": {
  2082. "description": "OK",
  2083. "schema": {
  2084. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2085. }
  2086. },
  2087. "500": {
  2088. "description": "Internal Server Error",
  2089. "schema": {
  2090. "$ref": "#/definitions/app.Response"
  2091. }
  2092. }
  2093. }
  2094. }
  2095. },
  2096. "/Ermcp/QueryExposureDetail": {
  2097. "get": {
  2098. "security": [
  2099. {
  2100. "ApiKeyAuth": []
  2101. }
  2102. ],
  2103. "produces": [
  2104. "application/json"
  2105. ],
  2106. "tags": [
  2107. "企业风险管理(app)"
  2108. ],
  2109. "summary": "查询敞口现货明细",
  2110. "parameters": [
  2111. {
  2112. "type": "integer",
  2113. "description": "所属机构ID",
  2114. "name": "areaUserId",
  2115. "in": "query",
  2116. "required": true
  2117. },
  2118. {
  2119. "type": "integer",
  2120. "description": "套保商品",
  2121. "name": "middleGoodsId",
  2122. "in": "query",
  2123. "required": true
  2124. }
  2125. ],
  2126. "responses": {
  2127. "200": {
  2128. "description": "OK",
  2129. "schema": {
  2130. "type": "array",
  2131. "items": {
  2132. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2133. }
  2134. }
  2135. },
  2136. "500": {
  2137. "description": "Internal Server Error",
  2138. "schema": {
  2139. "$ref": "#/definitions/app.Response"
  2140. }
  2141. }
  2142. }
  2143. }
  2144. },
  2145. "/Ermcp/QueryExposureGoods": {
  2146. "get": {
  2147. "security": [
  2148. {
  2149. "ApiKeyAuth": []
  2150. }
  2151. ],
  2152. "produces": [
  2153. "application/json"
  2154. ],
  2155. "tags": [
  2156. "企业风险管理(app)"
  2157. ],
  2158. "summary": "查询敞口主力合约",
  2159. "parameters": [
  2160. {
  2161. "type": "integer",
  2162. "description": "套保商品id",
  2163. "name": "middlegoodsid",
  2164. "in": "query",
  2165. "required": true
  2166. }
  2167. ],
  2168. "responses": {
  2169. "200": {
  2170. "description": "OK",
  2171. "schema": {
  2172. "type": "array",
  2173. "items": {
  2174. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2175. }
  2176. }
  2177. },
  2178. "500": {
  2179. "description": "Internal Server Error",
  2180. "schema": {
  2181. "$ref": "#/definitions/app.Response"
  2182. }
  2183. }
  2184. }
  2185. }
  2186. },
  2187. "/Ermcp/QueryExposureHedgePosition": {
  2188. "get": {
  2189. "security": [
  2190. {
  2191. "ApiKeyAuth": []
  2192. }
  2193. ],
  2194. "produces": [
  2195. "application/json"
  2196. ],
  2197. "tags": [
  2198. "企业风险管理(app)"
  2199. ],
  2200. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2201. "parameters": [
  2202. {
  2203. "type": "integer",
  2204. "description": "用户id",
  2205. "name": "userid",
  2206. "in": "query",
  2207. "required": true
  2208. }
  2209. ],
  2210. "responses": {
  2211. "200": {
  2212. "description": "OK",
  2213. "schema": {
  2214. "type": "array",
  2215. "items": {
  2216. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2217. }
  2218. }
  2219. },
  2220. "500": {
  2221. "description": "Internal Server Error",
  2222. "schema": {
  2223. "$ref": "#/definitions/app.Response"
  2224. }
  2225. }
  2226. }
  2227. }
  2228. },
  2229. "/Ermcp/QueryExposureHedgePositionDetail": {
  2230. "get": {
  2231. "security": [
  2232. {
  2233. "ApiKeyAuth": []
  2234. }
  2235. ],
  2236. "produces": [
  2237. "application/json"
  2238. ],
  2239. "tags": [
  2240. "企业风险管理(app)"
  2241. ],
  2242. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2243. "parameters": [
  2244. {
  2245. "type": "integer",
  2246. "description": "所属机构ID",
  2247. "name": "userid",
  2248. "in": "query",
  2249. "required": true
  2250. },
  2251. {
  2252. "type": "integer",
  2253. "description": "商品id",
  2254. "name": "goodsId",
  2255. "in": "query",
  2256. "required": true
  2257. }
  2258. ],
  2259. "responses": {
  2260. "200": {
  2261. "description": "OK",
  2262. "schema": {
  2263. "type": "array",
  2264. "items": {
  2265. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2266. }
  2267. }
  2268. },
  2269. "500": {
  2270. "description": "Internal Server Error",
  2271. "schema": {
  2272. "$ref": "#/definitions/app.Response"
  2273. }
  2274. }
  2275. }
  2276. }
  2277. },
  2278. "/Ermcp/QueryExposureSpot": {
  2279. "get": {
  2280. "security": [
  2281. {
  2282. "ApiKeyAuth": []
  2283. }
  2284. ],
  2285. "produces": [
  2286. "application/json"
  2287. ],
  2288. "tags": [
  2289. "企业风险管理(app)"
  2290. ],
  2291. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2292. "parameters": [
  2293. {
  2294. "type": "integer",
  2295. "description": "所属机构ID",
  2296. "name": "areaUserId",
  2297. "in": "query",
  2298. "required": true
  2299. }
  2300. ],
  2301. "responses": {
  2302. "200": {
  2303. "description": "OK",
  2304. "schema": {
  2305. "type": "array",
  2306. "items": {
  2307. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2308. }
  2309. }
  2310. },
  2311. "500": {
  2312. "description": "Internal Server Error",
  2313. "schema": {
  2314. "$ref": "#/definitions/app.Response"
  2315. }
  2316. }
  2317. }
  2318. }
  2319. },
  2320. "/Ermcp/QueryExposureSpotDetail": {
  2321. "get": {
  2322. "security": [
  2323. {
  2324. "ApiKeyAuth": []
  2325. }
  2326. ],
  2327. "produces": [
  2328. "application/json"
  2329. ],
  2330. "tags": [
  2331. "企业风险管理(app)"
  2332. ],
  2333. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2334. "parameters": [
  2335. {
  2336. "type": "integer",
  2337. "description": "所属机构ID",
  2338. "name": "areaUserId",
  2339. "in": "query",
  2340. "required": true
  2341. },
  2342. {
  2343. "type": "integer",
  2344. "description": "现货品种ID",
  2345. "name": "wrstandardId",
  2346. "in": "query",
  2347. "required": true
  2348. }
  2349. ],
  2350. "responses": {
  2351. "200": {
  2352. "description": "OK",
  2353. "schema": {
  2354. "type": "array",
  2355. "items": {
  2356. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2357. }
  2358. }
  2359. },
  2360. "500": {
  2361. "description": "Internal Server Error",
  2362. "schema": {
  2363. "$ref": "#/definitions/app.Response"
  2364. }
  2365. }
  2366. }
  2367. }
  2368. },
  2369. "/Ermcp/QueryFuturesCompany": {
  2370. "get": {
  2371. "security": [
  2372. {
  2373. "ApiKeyAuth": []
  2374. }
  2375. ],
  2376. "produces": [
  2377. "application/json"
  2378. ],
  2379. "tags": [
  2380. "企业风险管理(app)"
  2381. ],
  2382. "summary": "查询期货公司",
  2383. "responses": {
  2384. "200": {
  2385. "description": "OK",
  2386. "schema": {
  2387. "type": "array",
  2388. "items": {
  2389. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2390. }
  2391. }
  2392. },
  2393. "500": {
  2394. "description": "Internal Server Error",
  2395. "schema": {
  2396. "$ref": "#/definitions/app.Response"
  2397. }
  2398. }
  2399. }
  2400. }
  2401. },
  2402. "/Ermcp/QueryGGConvertConfig": {
  2403. "get": {
  2404. "security": [
  2405. {
  2406. "ApiKeyAuth": []
  2407. }
  2408. ],
  2409. "produces": [
  2410. "application/json"
  2411. ],
  2412. "tags": [
  2413. "企业风险管理(app)"
  2414. ],
  2415. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2416. "parameters": [
  2417. {
  2418. "type": "integer",
  2419. "description": "品种id(不填则查所有)",
  2420. "name": "goodsgroupid",
  2421. "in": "query"
  2422. }
  2423. ],
  2424. "responses": {
  2425. "200": {
  2426. "description": "OK",
  2427. "schema": {
  2428. "type": "array",
  2429. "items": {
  2430. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2431. }
  2432. }
  2433. },
  2434. "500": {
  2435. "description": "Internal Server Error",
  2436. "schema": {
  2437. "$ref": "#/definitions/app.Response"
  2438. }
  2439. }
  2440. }
  2441. }
  2442. },
  2443. "/Ermcp/QueryGoodsBrand": {
  2444. "get": {
  2445. "security": [
  2446. {
  2447. "ApiKeyAuth": []
  2448. }
  2449. ],
  2450. "produces": [
  2451. "application/json"
  2452. ],
  2453. "tags": [
  2454. "企业风险管理(app)"
  2455. ],
  2456. "summary": "查询商品品牌",
  2457. "parameters": [
  2458. {
  2459. "type": "integer",
  2460. "description": "用户ID",
  2461. "name": "userid",
  2462. "in": "query",
  2463. "required": true
  2464. },
  2465. {
  2466. "type": "integer",
  2467. "description": "现货商品ID",
  2468. "name": "wrstandardid",
  2469. "in": "query"
  2470. }
  2471. ],
  2472. "responses": {
  2473. "200": {
  2474. "description": "OK",
  2475. "schema": {
  2476. "type": "array",
  2477. "items": {
  2478. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2479. }
  2480. }
  2481. },
  2482. "500": {
  2483. "description": "Internal Server Error",
  2484. "schema": {
  2485. "$ref": "#/definitions/app.Response"
  2486. }
  2487. }
  2488. }
  2489. }
  2490. },
  2491. "/Ermcp/QueryGoodsModel": {
  2492. "get": {
  2493. "security": [
  2494. {
  2495. "ApiKeyAuth": []
  2496. }
  2497. ],
  2498. "produces": [
  2499. "application/json"
  2500. ],
  2501. "tags": [
  2502. "企业风险管理(app)"
  2503. ],
  2504. "summary": "查询商品型号",
  2505. "parameters": [
  2506. {
  2507. "type": "integer",
  2508. "description": "用户ID",
  2509. "name": "userid",
  2510. "in": "query",
  2511. "required": true
  2512. }
  2513. ],
  2514. "responses": {
  2515. "200": {
  2516. "description": "OK",
  2517. "schema": {
  2518. "type": "array",
  2519. "items": {
  2520. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2521. }
  2522. }
  2523. },
  2524. "500": {
  2525. "description": "Internal Server Error",
  2526. "schema": {
  2527. "$ref": "#/definitions/app.Response"
  2528. }
  2529. }
  2530. }
  2531. }
  2532. },
  2533. "/Ermcp/QueryHisExposure": {
  2534. "get": {
  2535. "security": [
  2536. {
  2537. "ApiKeyAuth": []
  2538. }
  2539. ],
  2540. "produces": [
  2541. "application/json"
  2542. ],
  2543. "tags": [
  2544. "企业风险管理(app)"
  2545. ],
  2546. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2547. "parameters": [
  2548. {
  2549. "type": "integer",
  2550. "description": "用户id",
  2551. "name": "userid",
  2552. "in": "query",
  2553. "required": true
  2554. },
  2555. {
  2556. "type": "integer",
  2557. "description": "每个品种记录数",
  2558. "name": "lastNum",
  2559. "in": "query",
  2560. "required": true
  2561. }
  2562. ],
  2563. "responses": {
  2564. "200": {
  2565. "description": "OK",
  2566. "schema": {
  2567. "type": "array",
  2568. "items": {
  2569. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2570. }
  2571. }
  2572. },
  2573. "500": {
  2574. "description": "Internal Server Error",
  2575. "schema": {
  2576. "$ref": "#/definitions/app.Response"
  2577. }
  2578. }
  2579. }
  2580. }
  2581. },
  2582. "/Ermcp/QueryMiddleGoods": {
  2583. "get": {
  2584. "security": [
  2585. {
  2586. "ApiKeyAuth": []
  2587. }
  2588. ],
  2589. "produces": [
  2590. "application/json"
  2591. ],
  2592. "tags": [
  2593. "企业风险管理(app)"
  2594. ],
  2595. "summary": "查询套保品种(菜单:套保品种)",
  2596. "parameters": [
  2597. {
  2598. "type": "integer",
  2599. "description": "所属机构ID",
  2600. "name": "userid",
  2601. "in": "query",
  2602. "required": true
  2603. },
  2604. {
  2605. "type": "integer",
  2606. "description": "状态 0-停用 1-正常",
  2607. "name": "status",
  2608. "in": "query",
  2609. "required": true
  2610. }
  2611. ],
  2612. "responses": {
  2613. "200": {
  2614. "description": "OK",
  2615. "schema": {
  2616. "type": "array",
  2617. "items": {
  2618. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2619. }
  2620. }
  2621. },
  2622. "500": {
  2623. "description": "Internal Server Error",
  2624. "schema": {
  2625. "$ref": "#/definitions/app.Response"
  2626. }
  2627. }
  2628. }
  2629. }
  2630. },
  2631. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2632. "get": {
  2633. "security": [
  2634. {
  2635. "ApiKeyAuth": []
  2636. }
  2637. ],
  2638. "produces": [
  2639. "application/json"
  2640. ],
  2641. "tags": [
  2642. "企业风险管理(app)"
  2643. ],
  2644. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2645. "parameters": [
  2646. {
  2647. "type": "integer",
  2648. "description": "所属机构ID",
  2649. "name": "userid",
  2650. "in": "query",
  2651. "required": true
  2652. },
  2653. {
  2654. "type": "integer",
  2655. "description": "套保品种id",
  2656. "name": "middlegoodsid",
  2657. "in": "query",
  2658. "required": true
  2659. }
  2660. ],
  2661. "responses": {
  2662. "200": {
  2663. "description": "OK",
  2664. "schema": {
  2665. "type": "array",
  2666. "items": {
  2667. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2668. }
  2669. }
  2670. },
  2671. "500": {
  2672. "description": "Internal Server Error",
  2673. "schema": {
  2674. "$ref": "#/definitions/app.Response"
  2675. }
  2676. }
  2677. }
  2678. }
  2679. },
  2680. "/Ermcp/QueryMiddleGoodsDetail": {
  2681. "get": {
  2682. "security": [
  2683. {
  2684. "ApiKeyAuth": []
  2685. }
  2686. ],
  2687. "produces": [
  2688. "application/json"
  2689. ],
  2690. "tags": [
  2691. "企业风险管理(app)"
  2692. ],
  2693. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2694. "parameters": [
  2695. {
  2696. "type": "integer",
  2697. "description": "所属机构ID",
  2698. "name": "userid",
  2699. "in": "query",
  2700. "required": true
  2701. },
  2702. {
  2703. "type": "integer",
  2704. "description": "套保品种id",
  2705. "name": "middlegoodsid",
  2706. "in": "query"
  2707. }
  2708. ],
  2709. "responses": {
  2710. "200": {
  2711. "description": "OK",
  2712. "schema": {
  2713. "type": "array",
  2714. "items": {
  2715. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2716. }
  2717. }
  2718. },
  2719. "500": {
  2720. "description": "Internal Server Error",
  2721. "schema": {
  2722. "$ref": "#/definitions/app.Response"
  2723. }
  2724. }
  2725. }
  2726. }
  2727. },
  2728. "/Ermcp/QueryPendingAuditInfo": {
  2729. "get": {
  2730. "security": [
  2731. {
  2732. "ApiKeyAuth": []
  2733. }
  2734. ],
  2735. "produces": [
  2736. "application/json"
  2737. ],
  2738. "tags": [
  2739. "企业风险管理(app)"
  2740. ],
  2741. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2742. "parameters": [
  2743. {
  2744. "type": "integer",
  2745. "description": "用户ID",
  2746. "name": "UserId",
  2747. "in": "query",
  2748. "required": true
  2749. }
  2750. ],
  2751. "responses": {
  2752. "200": {
  2753. "description": "OK",
  2754. "schema": {
  2755. "type": "array",
  2756. "items": {
  2757. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2758. }
  2759. }
  2760. },
  2761. "500": {
  2762. "description": "Internal Server Error",
  2763. "schema": {
  2764. "$ref": "#/definitions/app.Response"
  2765. }
  2766. }
  2767. }
  2768. }
  2769. },
  2770. "/Ermcp/QueryRealtimeExposure": {
  2771. "get": {
  2772. "security": [
  2773. {
  2774. "ApiKeyAuth": []
  2775. }
  2776. ],
  2777. "produces": [
  2778. "application/json"
  2779. ],
  2780. "tags": [
  2781. "企业风险管理(app)"
  2782. ],
  2783. "summary": "查询实时敞口",
  2784. "parameters": [
  2785. {
  2786. "type": "integer",
  2787. "description": "所属机构ID",
  2788. "name": "userid",
  2789. "in": "query",
  2790. "required": true
  2791. }
  2792. ],
  2793. "responses": {
  2794. "200": {
  2795. "description": "OK",
  2796. "schema": {
  2797. "type": "array",
  2798. "items": {
  2799. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2800. }
  2801. }
  2802. },
  2803. "500": {
  2804. "description": "Internal Server Error",
  2805. "schema": {
  2806. "$ref": "#/definitions/app.Response"
  2807. }
  2808. }
  2809. }
  2810. }
  2811. },
  2812. "/Ermcp/QueryRealtimeExposurePosition": {
  2813. "get": {
  2814. "security": [
  2815. {
  2816. "ApiKeyAuth": []
  2817. }
  2818. ],
  2819. "produces": [
  2820. "application/json"
  2821. ],
  2822. "tags": [
  2823. "企业风险管理(app)"
  2824. ],
  2825. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2826. "parameters": [
  2827. {
  2828. "type": "integer",
  2829. "description": "用户id",
  2830. "name": "userid",
  2831. "in": "query",
  2832. "required": true
  2833. },
  2834. {
  2835. "type": "integer",
  2836. "description": "套保商品ID",
  2837. "name": "middleGoodsId",
  2838. "in": "query",
  2839. "required": true
  2840. }
  2841. ],
  2842. "responses": {
  2843. "200": {
  2844. "description": "OK",
  2845. "schema": {
  2846. "type": "array",
  2847. "items": {
  2848. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2849. }
  2850. }
  2851. },
  2852. "500": {
  2853. "description": "Internal Server Error",
  2854. "schema": {
  2855. "$ref": "#/definitions/app.Response"
  2856. }
  2857. }
  2858. }
  2859. }
  2860. },
  2861. "/Ermcp/QueryRoleMenu": {
  2862. "get": {
  2863. "security": [
  2864. {
  2865. "ApiKeyAuth": []
  2866. }
  2867. ],
  2868. "produces": [
  2869. "application/json"
  2870. ],
  2871. "tags": [
  2872. "企业风险管理(app)"
  2873. ],
  2874. "summary": "查询角色菜单和权限",
  2875. "parameters": [
  2876. {
  2877. "type": "integer",
  2878. "description": "登录ID",
  2879. "name": "loginid",
  2880. "in": "query",
  2881. "required": true
  2882. },
  2883. {
  2884. "type": "integer",
  2885. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2886. "name": "menutype",
  2887. "in": "query"
  2888. }
  2889. ],
  2890. "responses": {
  2891. "200": {
  2892. "description": "OK",
  2893. "schema": {
  2894. "type": "array",
  2895. "items": {
  2896. "$ref": "#/definitions/models.RoleMenu"
  2897. }
  2898. }
  2899. },
  2900. "500": {
  2901. "description": "Internal Server Error",
  2902. "schema": {
  2903. "$ref": "#/definitions/app.Response"
  2904. }
  2905. }
  2906. }
  2907. }
  2908. },
  2909. "/Ermcp/QueryTradeConfigTMP": {
  2910. "get": {
  2911. "security": [
  2912. {
  2913. "ApiKeyAuth": []
  2914. }
  2915. ],
  2916. "produces": [
  2917. "application/json"
  2918. ],
  2919. "tags": [
  2920. "企业风险管理(app)"
  2921. ],
  2922. "summary": "查询交易模板配置",
  2923. "parameters": [
  2924. {
  2925. "type": "integer",
  2926. "description": "所属机构id",
  2927. "name": "areauserid",
  2928. "in": "query"
  2929. }
  2930. ],
  2931. "responses": {
  2932. "200": {
  2933. "description": "OK",
  2934. "schema": {
  2935. "type": "array",
  2936. "items": {
  2937. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2938. }
  2939. }
  2940. },
  2941. "500": {
  2942. "description": "Internal Server Error",
  2943. "schema": {
  2944. "$ref": "#/definitions/app.Response"
  2945. }
  2946. }
  2947. }
  2948. }
  2949. },
  2950. "/Ermcp/QueryUserInfo": {
  2951. "get": {
  2952. "security": [
  2953. {
  2954. "ApiKeyAuth": []
  2955. }
  2956. ],
  2957. "produces": [
  2958. "application/json"
  2959. ],
  2960. "tags": [
  2961. "企业风险管理(app)"
  2962. ],
  2963. "summary": "查询客户资料",
  2964. "parameters": [
  2965. {
  2966. "type": "integer",
  2967. "description": "所属机构用户ID",
  2968. "name": "MemberUserID",
  2969. "in": "query",
  2970. "required": true
  2971. },
  2972. {
  2973. "type": "integer",
  2974. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2975. "name": "queryType",
  2976. "in": "query",
  2977. "required": true
  2978. }
  2979. ],
  2980. "responses": {
  2981. "200": {
  2982. "description": "OK",
  2983. "schema": {
  2984. "type": "array",
  2985. "items": {
  2986. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2987. }
  2988. }
  2989. },
  2990. "500": {
  2991. "description": "Internal Server Error",
  2992. "schema": {
  2993. "$ref": "#/definitions/app.Response"
  2994. }
  2995. }
  2996. }
  2997. }
  2998. },
  2999. "/Ermcp/QueryWarehouseInfo": {
  3000. "get": {
  3001. "security": [
  3002. {
  3003. "ApiKeyAuth": []
  3004. }
  3005. ],
  3006. "produces": [
  3007. "application/json"
  3008. ],
  3009. "tags": [
  3010. "企业风险管理(app)"
  3011. ],
  3012. "summary": "查询仓库信息",
  3013. "parameters": [
  3014. {
  3015. "type": "integer",
  3016. "description": "用户ID",
  3017. "name": "userid",
  3018. "in": "query",
  3019. "required": true
  3020. },
  3021. {
  3022. "type": "string",
  3023. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3024. "name": "status",
  3025. "in": "query"
  3026. }
  3027. ],
  3028. "responses": {
  3029. "200": {
  3030. "description": "OK",
  3031. "schema": {
  3032. "type": "array",
  3033. "items": {
  3034. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3035. }
  3036. }
  3037. },
  3038. "500": {
  3039. "description": "Internal Server Error",
  3040. "schema": {
  3041. "$ref": "#/definitions/app.Response"
  3042. }
  3043. }
  3044. }
  3045. }
  3046. },
  3047. "/Ermcp3/QryAreaExpourseContractDetail": {
  3048. "get": {
  3049. "security": [
  3050. {
  3051. "ApiKeyAuth": []
  3052. }
  3053. ],
  3054. "produces": [
  3055. "application/json"
  3056. ],
  3057. "tags": [
  3058. "企业风险管理v3(app)"
  3059. ],
  3060. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3061. "parameters": [
  3062. {
  3063. "type": "integer",
  3064. "description": "用户ID",
  3065. "name": "userid",
  3066. "in": "query",
  3067. "required": true
  3068. },
  3069. {
  3070. "type": "integer",
  3071. "description": "套保商品id",
  3072. "name": "middlegoodsid",
  3073. "in": "query",
  3074. "required": true
  3075. },
  3076. {
  3077. "type": "integer",
  3078. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3079. "name": "cycletype",
  3080. "in": "query",
  3081. "required": true
  3082. },
  3083. {
  3084. "type": "string",
  3085. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3086. "name": "cycletime",
  3087. "in": "query",
  3088. "required": true
  3089. }
  3090. ],
  3091. "responses": {
  3092. "200": {
  3093. "description": "OK",
  3094. "schema": {
  3095. "type": "array",
  3096. "items": {
  3097. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3098. }
  3099. }
  3100. },
  3101. "500": {
  3102. "description": "Internal Server Error",
  3103. "schema": {
  3104. "$ref": "#/definitions/app.Response"
  3105. }
  3106. }
  3107. }
  3108. }
  3109. },
  3110. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3111. "get": {
  3112. "security": [
  3113. {
  3114. "ApiKeyAuth": []
  3115. }
  3116. ],
  3117. "produces": [
  3118. "application/json"
  3119. ],
  3120. "tags": [
  3121. "企业风险管理v3(app)"
  3122. ],
  3123. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3124. "parameters": [
  3125. {
  3126. "type": "integer",
  3127. "description": "用户ID",
  3128. "name": "userid",
  3129. "in": "query",
  3130. "required": true
  3131. },
  3132. {
  3133. "type": "integer",
  3134. "description": "套保商品id",
  3135. "name": "middlegoodsid",
  3136. "in": "query",
  3137. "required": true
  3138. },
  3139. {
  3140. "type": "integer",
  3141. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3142. "name": "cycletype",
  3143. "in": "query",
  3144. "required": true
  3145. },
  3146. {
  3147. "type": "string",
  3148. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3149. "name": "cycletime",
  3150. "in": "query",
  3151. "required": true
  3152. }
  3153. ],
  3154. "responses": {
  3155. "200": {
  3156. "description": "OK",
  3157. "schema": {
  3158. "type": "array",
  3159. "items": {
  3160. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3161. }
  3162. }
  3163. },
  3164. "500": {
  3165. "description": "Internal Server Error",
  3166. "schema": {
  3167. "$ref": "#/definitions/app.Response"
  3168. }
  3169. }
  3170. }
  3171. }
  3172. },
  3173. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3174. "get": {
  3175. "security": [
  3176. {
  3177. "ApiKeyAuth": []
  3178. }
  3179. ],
  3180. "produces": [
  3181. "application/json"
  3182. ],
  3183. "tags": [
  3184. "企业风险管理v3(app)"
  3185. ],
  3186. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3187. "parameters": [
  3188. {
  3189. "type": "integer",
  3190. "description": "用户ID",
  3191. "name": "userid",
  3192. "in": "query",
  3193. "required": true
  3194. },
  3195. {
  3196. "type": "integer",
  3197. "description": "套保商品id",
  3198. "name": "middlegoodsid",
  3199. "in": "query",
  3200. "required": true
  3201. },
  3202. {
  3203. "type": "integer",
  3204. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3205. "name": "cycletype",
  3206. "in": "query",
  3207. "required": true
  3208. },
  3209. {
  3210. "type": "string",
  3211. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3212. "name": "cycletime",
  3213. "in": "query",
  3214. "required": true
  3215. }
  3216. ],
  3217. "responses": {
  3218. "200": {
  3219. "description": "OK",
  3220. "schema": {
  3221. "type": "array",
  3222. "items": {
  3223. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3224. }
  3225. }
  3226. },
  3227. "500": {
  3228. "description": "Internal Server Error",
  3229. "schema": {
  3230. "$ref": "#/definitions/app.Response"
  3231. }
  3232. }
  3233. }
  3234. }
  3235. },
  3236. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3237. "get": {
  3238. "security": [
  3239. {
  3240. "ApiKeyAuth": []
  3241. }
  3242. ],
  3243. "produces": [
  3244. "application/json"
  3245. ],
  3246. "tags": [
  3247. "企业风险管理v3(app)"
  3248. ],
  3249. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3250. "parameters": [
  3251. {
  3252. "type": "integer",
  3253. "description": "用户ID",
  3254. "name": "userid",
  3255. "in": "query",
  3256. "required": true
  3257. },
  3258. {
  3259. "type": "integer",
  3260. "description": "套保商品id",
  3261. "name": "middlegoodsid",
  3262. "in": "query",
  3263. "required": true
  3264. },
  3265. {
  3266. "type": "integer",
  3267. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3268. "name": "cycletype",
  3269. "in": "query",
  3270. "required": true
  3271. },
  3272. {
  3273. "type": "string",
  3274. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3275. "name": "cycletime",
  3276. "in": "query",
  3277. "required": true
  3278. }
  3279. ],
  3280. "responses": {
  3281. "200": {
  3282. "description": "OK",
  3283. "schema": {
  3284. "type": "array",
  3285. "items": {
  3286. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3287. }
  3288. }
  3289. },
  3290. "500": {
  3291. "description": "Internal Server Error",
  3292. "schema": {
  3293. "$ref": "#/definitions/app.Response"
  3294. }
  3295. }
  3296. }
  3297. }
  3298. },
  3299. "/Ermcp3/QryAreaExpourseReport": {
  3300. "get": {
  3301. "security": [
  3302. {
  3303. "ApiKeyAuth": []
  3304. }
  3305. ],
  3306. "produces": [
  3307. "application/json"
  3308. ],
  3309. "tags": [
  3310. "企业风险管理v3(app)"
  3311. ],
  3312. "summary": "查询敞口报表",
  3313. "parameters": [
  3314. {
  3315. "type": "integer",
  3316. "description": "用户ID",
  3317. "name": "userid",
  3318. "in": "query",
  3319. "required": true
  3320. },
  3321. {
  3322. "type": "integer",
  3323. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3324. "name": "querytype",
  3325. "in": "query",
  3326. "required": true
  3327. },
  3328. {
  3329. "type": "integer",
  3330. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3331. "name": "cycletype",
  3332. "in": "query",
  3333. "required": true
  3334. },
  3335. {
  3336. "type": "string",
  3337. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3338. "name": "cycletime",
  3339. "in": "query",
  3340. "required": true
  3341. }
  3342. ],
  3343. "responses": {
  3344. "200": {
  3345. "description": "OK",
  3346. "schema": {
  3347. "type": "array",
  3348. "items": {
  3349. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3350. }
  3351. }
  3352. },
  3353. "500": {
  3354. "description": "Internal Server Error",
  3355. "schema": {
  3356. "$ref": "#/definitions/app.Response"
  3357. }
  3358. }
  3359. }
  3360. }
  3361. },
  3362. "/Ermcp3/QryAreaSpotplReport": {
  3363. "get": {
  3364. "security": [
  3365. {
  3366. "ApiKeyAuth": []
  3367. }
  3368. ],
  3369. "produces": [
  3370. "application/json"
  3371. ],
  3372. "tags": [
  3373. "企业风险管理v3(app)"
  3374. ],
  3375. "summary": "查询现货报表",
  3376. "parameters": [
  3377. {
  3378. "type": "integer",
  3379. "description": "用户ID",
  3380. "name": "userid",
  3381. "in": "query",
  3382. "required": true
  3383. },
  3384. {
  3385. "type": "integer",
  3386. "description": "查询类型 1-报表 2-报表明细",
  3387. "name": "querytype",
  3388. "in": "query",
  3389. "required": true
  3390. },
  3391. {
  3392. "type": "integer",
  3393. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3394. "name": "cycletype",
  3395. "in": "query",
  3396. "required": true
  3397. },
  3398. {
  3399. "type": "string",
  3400. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3401. "name": "cycletime",
  3402. "in": "query",
  3403. "required": true
  3404. },
  3405. {
  3406. "type": "integer",
  3407. "description": "现货品种id(明细必填)",
  3408. "name": "deliverygoodsid",
  3409. "in": "query"
  3410. },
  3411. {
  3412. "type": "integer",
  3413. "description": "币种id(明细必填)",
  3414. "name": "currencyid",
  3415. "in": "query"
  3416. }
  3417. ],
  3418. "responses": {
  3419. "200": {
  3420. "description": "OK",
  3421. "schema": {
  3422. "type": "array",
  3423. "items": {
  3424. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3425. }
  3426. }
  3427. },
  3428. "500": {
  3429. "description": "Internal Server Error",
  3430. "schema": {
  3431. "$ref": "#/definitions/app.Response"
  3432. }
  3433. }
  3434. }
  3435. }
  3436. },
  3437. "/Ermcp3/QryAreaStockReport": {
  3438. "get": {
  3439. "security": [
  3440. {
  3441. "ApiKeyAuth": []
  3442. }
  3443. ],
  3444. "produces": [
  3445. "application/json"
  3446. ],
  3447. "tags": [
  3448. "企业风险管理v3(app)"
  3449. ],
  3450. "summary": "查询库存报表",
  3451. "parameters": [
  3452. {
  3453. "type": "integer",
  3454. "description": "用户ID",
  3455. "name": "userid",
  3456. "in": "query",
  3457. "required": true
  3458. },
  3459. {
  3460. "type": "integer",
  3461. "description": "查询类型 1-报表 2-报表明细",
  3462. "name": "querytype",
  3463. "in": "query",
  3464. "required": true
  3465. },
  3466. {
  3467. "type": "integer",
  3468. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3469. "name": "cycletype",
  3470. "in": "query",
  3471. "required": true
  3472. },
  3473. {
  3474. "type": "string",
  3475. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3476. "name": "cycletime",
  3477. "in": "query",
  3478. "required": true
  3479. },
  3480. {
  3481. "type": "string",
  3482. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3483. "name": "sumfields",
  3484. "in": "query"
  3485. },
  3486. {
  3487. "type": "integer",
  3488. "description": "品种ID",
  3489. "name": "deliverygoodsid",
  3490. "in": "query"
  3491. },
  3492. {
  3493. "type": "integer",
  3494. "description": "品类ID",
  3495. "name": "wrstandardid",
  3496. "in": "query"
  3497. },
  3498. {
  3499. "type": "integer",
  3500. "description": "品牌ID",
  3501. "name": "spotgoodsbrandid",
  3502. "in": "query"
  3503. },
  3504. {
  3505. "type": "integer",
  3506. "description": "仓库ID",
  3507. "name": "warehouseinfoid",
  3508. "in": "query"
  3509. }
  3510. ],
  3511. "responses": {
  3512. "200": {
  3513. "description": "OK",
  3514. "schema": {
  3515. "type": "array",
  3516. "items": {
  3517. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3518. }
  3519. }
  3520. },
  3521. "500": {
  3522. "description": "Internal Server Error",
  3523. "schema": {
  3524. "$ref": "#/definitions/app.Response"
  3525. }
  3526. }
  3527. }
  3528. }
  3529. },
  3530. "/Ermcp3/QryAreaSumPL": {
  3531. "get": {
  3532. "security": [
  3533. {
  3534. "ApiKeyAuth": []
  3535. }
  3536. ],
  3537. "produces": [
  3538. "application/json"
  3539. ],
  3540. "tags": [
  3541. "企业风险管理v3(app)"
  3542. ],
  3543. "summary": "查询汇总损益表",
  3544. "parameters": [
  3545. {
  3546. "type": "integer",
  3547. "description": "用户ID",
  3548. "name": "userid",
  3549. "in": "query",
  3550. "required": true
  3551. },
  3552. {
  3553. "type": "integer",
  3554. "description": "查询类型 1-报表 2-报表明细",
  3555. "name": "querytype",
  3556. "in": "query",
  3557. "required": true
  3558. },
  3559. {
  3560. "type": "integer",
  3561. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3562. "name": "cycletype",
  3563. "in": "query",
  3564. "required": true
  3565. },
  3566. {
  3567. "type": "string",
  3568. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3569. "name": "cycletime",
  3570. "in": "query",
  3571. "required": true
  3572. },
  3573. {
  3574. "type": "integer",
  3575. "description": "币种id(明细必填)",
  3576. "name": "currencyid",
  3577. "in": "query"
  3578. }
  3579. ],
  3580. "responses": {
  3581. "200": {
  3582. "description": "OK",
  3583. "schema": {
  3584. "type": "array",
  3585. "items": {
  3586. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3587. }
  3588. }
  3589. },
  3590. "500": {
  3591. "description": "Internal Server Error",
  3592. "schema": {
  3593. "$ref": "#/definitions/app.Response"
  3594. }
  3595. }
  3596. }
  3597. }
  3598. },
  3599. "/Ermcp3/QryFinanceReport": {
  3600. "get": {
  3601. "security": [
  3602. {
  3603. "ApiKeyAuth": []
  3604. }
  3605. ],
  3606. "produces": [
  3607. "application/json"
  3608. ],
  3609. "tags": [
  3610. "企业风险管理v3(app)"
  3611. ],
  3612. "summary": "查询财务报表",
  3613. "parameters": [
  3614. {
  3615. "type": "integer",
  3616. "description": "用户ID",
  3617. "name": "userid",
  3618. "in": "query",
  3619. "required": true
  3620. },
  3621. {
  3622. "type": "integer",
  3623. "description": "查询类型 1-报表 2-报表明细",
  3624. "name": "querytype",
  3625. "in": "query",
  3626. "required": true
  3627. },
  3628. {
  3629. "type": "integer",
  3630. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3631. "name": "cycletype",
  3632. "in": "query",
  3633. "required": true
  3634. },
  3635. {
  3636. "type": "string",
  3637. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3638. "name": "cycletime",
  3639. "in": "query",
  3640. "required": true
  3641. },
  3642. {
  3643. "type": "integer",
  3644. "description": "币种id(报表明细必填)",
  3645. "name": "currencyid",
  3646. "in": "query"
  3647. },
  3648. {
  3649. "type": "string",
  3650. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3651. "name": "sumfields",
  3652. "in": "query"
  3653. }
  3654. ],
  3655. "responses": {
  3656. "200": {
  3657. "description": "OK",
  3658. "schema": {
  3659. "type": "array",
  3660. "items": {
  3661. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3662. }
  3663. }
  3664. },
  3665. "500": {
  3666. "description": "Internal Server Error",
  3667. "schema": {
  3668. "$ref": "#/definitions/app.Response"
  3669. }
  3670. }
  3671. }
  3672. }
  3673. },
  3674. "/Ermcp3/QrySCMiddleGoodsReport": {
  3675. "get": {
  3676. "security": [
  3677. {
  3678. "ApiKeyAuth": []
  3679. }
  3680. ],
  3681. "produces": [
  3682. "application/json"
  3683. ],
  3684. "tags": [
  3685. "企业风险管理v3(app)"
  3686. ],
  3687. "summary": "查询定价报表",
  3688. "parameters": [
  3689. {
  3690. "type": "integer",
  3691. "description": "用户ID",
  3692. "name": "userid",
  3693. "in": "query",
  3694. "required": true
  3695. },
  3696. {
  3697. "type": "integer",
  3698. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3699. "name": "cycletype",
  3700. "in": "query",
  3701. "required": true
  3702. },
  3703. {
  3704. "type": "string",
  3705. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3706. "name": "cycletime",
  3707. "in": "query",
  3708. "required": true
  3709. },
  3710. {
  3711. "type": "integer",
  3712. "description": "合同id",
  3713. "name": "spotcontractid",
  3714. "in": "query"
  3715. },
  3716. {
  3717. "type": "integer",
  3718. "description": "套保品种id",
  3719. "name": "middlegoodsid",
  3720. "in": "query"
  3721. },
  3722. {
  3723. "type": "integer",
  3724. "description": "现货品种id",
  3725. "name": "deliverygoodsid",
  3726. "in": "query"
  3727. },
  3728. {
  3729. "type": "integer",
  3730. "description": "现货商品id",
  3731. "name": "wrstandardid",
  3732. "in": "query"
  3733. },
  3734. {
  3735. "type": "string",
  3736. "description": "合同编号(模糊匹配)",
  3737. "name": "contractno",
  3738. "in": "query"
  3739. }
  3740. ],
  3741. "responses": {
  3742. "200": {
  3743. "description": "OK",
  3744. "schema": {
  3745. "type": "array",
  3746. "items": {
  3747. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3748. }
  3749. }
  3750. },
  3751. "500": {
  3752. "description": "Internal Server Error",
  3753. "schema": {
  3754. "$ref": "#/definitions/app.Response"
  3755. }
  3756. }
  3757. }
  3758. }
  3759. },
  3760. "/Ermcp3/QryTaFutureDataReport": {
  3761. "get": {
  3762. "security": [
  3763. {
  3764. "ApiKeyAuth": []
  3765. }
  3766. ],
  3767. "produces": [
  3768. "application/json"
  3769. ],
  3770. "tags": [
  3771. "企业风险管理v3(app)"
  3772. ],
  3773. "summary": "查询期货报表",
  3774. "parameters": [
  3775. {
  3776. "type": "integer",
  3777. "description": "用户ID",
  3778. "name": "userid",
  3779. "in": "query",
  3780. "required": true
  3781. },
  3782. {
  3783. "type": "integer",
  3784. "description": "查询类型 1-报表 2-报表明细",
  3785. "name": "querytype",
  3786. "in": "query",
  3787. "required": true
  3788. },
  3789. {
  3790. "type": "integer",
  3791. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3792. "name": "cycletype",
  3793. "in": "query",
  3794. "required": true
  3795. },
  3796. {
  3797. "type": "string",
  3798. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3799. "name": "cycletime",
  3800. "in": "query",
  3801. "required": true
  3802. },
  3803. {
  3804. "type": "integer",
  3805. "description": "币种id(查明细必填)",
  3806. "name": "currencyid",
  3807. "in": "query"
  3808. },
  3809. {
  3810. "type": "integer",
  3811. "description": "品种id(查明细必填)",
  3812. "name": "goodsgroupid",
  3813. "in": "query"
  3814. },
  3815. {
  3816. "type": "integer",
  3817. "description": "商品id(查明细必填)",
  3818. "name": "goodsid",
  3819. "in": "query"
  3820. },
  3821. {
  3822. "type": "integer",
  3823. "description": "买卖方向(查明细必填)",
  3824. "name": "buyorsell",
  3825. "in": "query"
  3826. }
  3827. ],
  3828. "responses": {
  3829. "200": {
  3830. "description": "OK",
  3831. "schema": {
  3832. "type": "array",
  3833. "items": {
  3834. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3835. }
  3836. }
  3837. },
  3838. "500": {
  3839. "description": "Internal Server Error",
  3840. "schema": {
  3841. "$ref": "#/definitions/app.Response"
  3842. }
  3843. }
  3844. }
  3845. }
  3846. },
  3847. "/Ermcp3/QueryAreaStock": {
  3848. "get": {
  3849. "security": [
  3850. {
  3851. "ApiKeyAuth": []
  3852. }
  3853. ],
  3854. "produces": [
  3855. "application/json"
  3856. ],
  3857. "tags": [
  3858. "企业风险管理v3(app)"
  3859. ],
  3860. "summary": "查询机构库存(库存管理/当前库存)",
  3861. "parameters": [
  3862. {
  3863. "type": "integer",
  3864. "description": "用户ID",
  3865. "name": "userid",
  3866. "in": "query",
  3867. "required": true
  3868. }
  3869. ],
  3870. "responses": {
  3871. "200": {
  3872. "description": "OK",
  3873. "schema": {
  3874. "type": "array",
  3875. "items": {
  3876. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3877. }
  3878. }
  3879. },
  3880. "500": {
  3881. "description": "Internal Server Error",
  3882. "schema": {
  3883. "$ref": "#/definitions/app.Response"
  3884. }
  3885. }
  3886. }
  3887. }
  3888. },
  3889. "/Ermcp3/QueryAreaStockApply": {
  3890. "get": {
  3891. "security": [
  3892. {
  3893. "ApiKeyAuth": []
  3894. }
  3895. ],
  3896. "produces": [
  3897. "application/json"
  3898. ],
  3899. "tags": [
  3900. "企业风险管理v3(app)"
  3901. ],
  3902. "summary": "查询库存申请(出入库记录|库存审核)",
  3903. "parameters": [
  3904. {
  3905. "type": "integer",
  3906. "description": "用户ID",
  3907. "name": "userid",
  3908. "in": "query",
  3909. "required": true
  3910. },
  3911. {
  3912. "type": "integer",
  3913. "description": "用户类型 2-机构 7-企业成员",
  3914. "name": "usertype",
  3915. "in": "query"
  3916. },
  3917. {
  3918. "type": "integer",
  3919. "description": "现货商品ID",
  3920. "name": "deliverygoodsid",
  3921. "in": "query"
  3922. },
  3923. {
  3924. "type": "string",
  3925. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3926. "name": "inouttype",
  3927. "in": "query"
  3928. },
  3929. {
  3930. "type": "integer",
  3931. "description": "合同ID",
  3932. "name": "spotcontractid",
  3933. "in": "query"
  3934. },
  3935. {
  3936. "type": "integer",
  3937. "description": "品类ID",
  3938. "name": "wrstandardid",
  3939. "in": "query"
  3940. },
  3941. {
  3942. "type": "integer",
  3943. "description": "品牌ID",
  3944. "name": "spotgoodsbrandid",
  3945. "in": "query"
  3946. },
  3947. {
  3948. "type": "integer",
  3949. "description": "仓库ID",
  3950. "name": "warehouseinfoid",
  3951. "in": "query"
  3952. },
  3953. {
  3954. "type": "string",
  3955. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3956. "name": "applystatus",
  3957. "in": "query"
  3958. }
  3959. ],
  3960. "responses": {
  3961. "200": {
  3962. "description": "OK",
  3963. "schema": {
  3964. "type": "array",
  3965. "items": {
  3966. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3967. }
  3968. }
  3969. },
  3970. "500": {
  3971. "description": "Internal Server Error",
  3972. "schema": {
  3973. "$ref": "#/definitions/app.Response"
  3974. }
  3975. }
  3976. }
  3977. }
  3978. },
  3979. "/Ermcp3/QueryAreaStockApplySum": {
  3980. "get": {
  3981. "security": [
  3982. {
  3983. "ApiKeyAuth": []
  3984. }
  3985. ],
  3986. "produces": [
  3987. "application/json"
  3988. ],
  3989. "tags": [
  3990. "企业风险管理v3(app)"
  3991. ],
  3992. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3993. "parameters": [
  3994. {
  3995. "type": "integer",
  3996. "description": "合同ID",
  3997. "name": "spotcontractid",
  3998. "in": "query",
  3999. "required": true
  4000. }
  4001. ],
  4002. "responses": {
  4003. "200": {
  4004. "description": "OK",
  4005. "schema": {
  4006. "type": "array",
  4007. "items": {
  4008. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4009. }
  4010. }
  4011. },
  4012. "500": {
  4013. "description": "Internal Server Error",
  4014. "schema": {
  4015. "$ref": "#/definitions/app.Response"
  4016. }
  4017. }
  4018. }
  4019. }
  4020. },
  4021. "/Ermcp3/QueryDGFactoryItem": {
  4022. "get": {
  4023. "security": [
  4024. {
  4025. "ApiKeyAuth": []
  4026. }
  4027. ],
  4028. "produces": [
  4029. "application/json"
  4030. ],
  4031. "tags": [
  4032. "企业风险管理v3(app)"
  4033. ],
  4034. "summary": "查询品种要素定义项",
  4035. "parameters": [
  4036. {
  4037. "type": "integer",
  4038. "description": "用户id",
  4039. "name": "userid",
  4040. "in": "query"
  4041. },
  4042. {
  4043. "type": "integer",
  4044. "description": "用户类型 2-机构 7-企业成员",
  4045. "name": "usertype",
  4046. "in": "query"
  4047. },
  4048. {
  4049. "type": "integer",
  4050. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4051. "name": "dgfactoryitemid",
  4052. "in": "query"
  4053. },
  4054. {
  4055. "type": "integer",
  4056. "description": "现货品种ID",
  4057. "name": "deliverygoodsid",
  4058. "in": "query"
  4059. },
  4060. {
  4061. "type": "integer",
  4062. "description": "要素项类型",
  4063. "name": "dgfactoryitemtypeid",
  4064. "in": "query"
  4065. },
  4066. {
  4067. "type": "integer",
  4068. "description": "顺序",
  4069. "name": "orderindex",
  4070. "in": "query"
  4071. }
  4072. ],
  4073. "responses": {
  4074. "200": {
  4075. "description": "OK",
  4076. "schema": {
  4077. "type": "array",
  4078. "items": {
  4079. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4080. }
  4081. }
  4082. },
  4083. "500": {
  4084. "description": "Internal Server Error",
  4085. "schema": {
  4086. "$ref": "#/definitions/app.Response"
  4087. }
  4088. }
  4089. }
  4090. }
  4091. },
  4092. "/Ermcp3/QueryDeliveryGoods": {
  4093. "get": {
  4094. "security": [
  4095. {
  4096. "ApiKeyAuth": []
  4097. }
  4098. ],
  4099. "produces": [
  4100. "application/json"
  4101. ],
  4102. "tags": [
  4103. "企业风险管理v3(app)"
  4104. ],
  4105. "summary": "查询现货商品",
  4106. "parameters": [
  4107. {
  4108. "type": "integer",
  4109. "description": "用户id",
  4110. "name": "userid",
  4111. "in": "query",
  4112. "required": true
  4113. },
  4114. {
  4115. "type": "integer",
  4116. "description": "用户类型 2-机构 7-企业成员",
  4117. "name": "usertype",
  4118. "in": "query"
  4119. },
  4120. {
  4121. "type": "integer",
  4122. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4123. "name": "excludecfg",
  4124. "in": "query"
  4125. }
  4126. ],
  4127. "responses": {
  4128. "200": {
  4129. "description": "OK",
  4130. "schema": {
  4131. "type": "array",
  4132. "items": {
  4133. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4134. }
  4135. }
  4136. },
  4137. "500": {
  4138. "description": "Internal Server Error",
  4139. "schema": {
  4140. "$ref": "#/definitions/app.Response"
  4141. }
  4142. }
  4143. }
  4144. }
  4145. },
  4146. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4147. "get": {
  4148. "security": [
  4149. {
  4150. "ApiKeyAuth": []
  4151. }
  4152. ],
  4153. "produces": [
  4154. "application/json"
  4155. ],
  4156. "tags": [
  4157. "企业风险管理v3(app)"
  4158. ],
  4159. "summary": "查询现货商品详情",
  4160. "parameters": [
  4161. {
  4162. "type": "integer",
  4163. "description": "用户id",
  4164. "name": "userid",
  4165. "in": "query",
  4166. "required": true
  4167. },
  4168. {
  4169. "type": "integer",
  4170. "description": "用户类型 2-机构 7-企业成员",
  4171. "name": "usertype",
  4172. "in": "query"
  4173. },
  4174. {
  4175. "type": "integer",
  4176. "description": "现货商品id",
  4177. "name": "deliverygoodsid",
  4178. "in": "query"
  4179. }
  4180. ],
  4181. "responses": {
  4182. "200": {
  4183. "description": "OK",
  4184. "schema": {
  4185. "type": "array",
  4186. "items": {
  4187. "$ref": "#/definitions/models.XHDeliveryGoods"
  4188. }
  4189. }
  4190. },
  4191. "500": {
  4192. "description": "Internal Server Error",
  4193. "schema": {
  4194. "$ref": "#/definitions/app.Response"
  4195. }
  4196. }
  4197. }
  4198. }
  4199. },
  4200. "/Ermcp3/QueryExposureDetail": {
  4201. "get": {
  4202. "security": [
  4203. {
  4204. "ApiKeyAuth": []
  4205. }
  4206. ],
  4207. "produces": [
  4208. "application/json"
  4209. ],
  4210. "tags": [
  4211. "企业风险管理v3(app)"
  4212. ],
  4213. "summary": "查询敞口现货明细",
  4214. "parameters": [
  4215. {
  4216. "type": "integer",
  4217. "description": "用户id",
  4218. "name": "userid",
  4219. "in": "query",
  4220. "required": true
  4221. },
  4222. {
  4223. "type": "integer",
  4224. "description": "用户类型 2-机构 7-企业成员",
  4225. "name": "usertype",
  4226. "in": "query"
  4227. },
  4228. {
  4229. "type": "integer",
  4230. "description": "套保商品",
  4231. "name": "middlegoodsid",
  4232. "in": "query",
  4233. "required": true
  4234. }
  4235. ],
  4236. "responses": {
  4237. "200": {
  4238. "description": "OK",
  4239. "schema": {
  4240. "type": "array",
  4241. "items": {
  4242. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4243. }
  4244. }
  4245. },
  4246. "500": {
  4247. "description": "Internal Server Error",
  4248. "schema": {
  4249. "$ref": "#/definitions/app.Response"
  4250. }
  4251. }
  4252. }
  4253. }
  4254. },
  4255. "/Ermcp3/QueryExposureSpot": {
  4256. "get": {
  4257. "security": [
  4258. {
  4259. "ApiKeyAuth": []
  4260. }
  4261. ],
  4262. "produces": [
  4263. "application/json"
  4264. ],
  4265. "tags": [
  4266. "企业风险管理v3(app)"
  4267. ],
  4268. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4269. "parameters": [
  4270. {
  4271. "type": "integer",
  4272. "description": "用户id",
  4273. "name": "userid",
  4274. "in": "query",
  4275. "required": true
  4276. },
  4277. {
  4278. "type": "integer",
  4279. "description": "用户类型 2-机构 7-企业成员",
  4280. "name": "usertype",
  4281. "in": "query"
  4282. }
  4283. ],
  4284. "responses": {
  4285. "200": {
  4286. "description": "OK",
  4287. "schema": {
  4288. "type": "array",
  4289. "items": {
  4290. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4291. }
  4292. }
  4293. },
  4294. "500": {
  4295. "description": "Internal Server Error",
  4296. "schema": {
  4297. "$ref": "#/definitions/app.Response"
  4298. }
  4299. }
  4300. }
  4301. }
  4302. },
  4303. "/Ermcp3/QueryExposureSpotDetail": {
  4304. "get": {
  4305. "security": [
  4306. {
  4307. "ApiKeyAuth": []
  4308. }
  4309. ],
  4310. "produces": [
  4311. "application/json"
  4312. ],
  4313. "tags": [
  4314. "企业风险管理v3(app)"
  4315. ],
  4316. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4317. "parameters": [
  4318. {
  4319. "type": "integer",
  4320. "description": "用户id",
  4321. "name": "userid",
  4322. "in": "query",
  4323. "required": true
  4324. },
  4325. {
  4326. "type": "integer",
  4327. "description": "用户类型 2-机构 7-企业成员",
  4328. "name": "usertype",
  4329. "in": "query"
  4330. },
  4331. {
  4332. "type": "integer",
  4333. "description": "现货商品ID",
  4334. "name": "wrstandardid",
  4335. "in": "query",
  4336. "required": true
  4337. }
  4338. ],
  4339. "responses": {
  4340. "200": {
  4341. "description": "OK",
  4342. "schema": {
  4343. "type": "array",
  4344. "items": {
  4345. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4346. }
  4347. }
  4348. },
  4349. "500": {
  4350. "description": "Internal Server Error",
  4351. "schema": {
  4352. "$ref": "#/definitions/app.Response"
  4353. }
  4354. }
  4355. }
  4356. }
  4357. },
  4358. "/Ermcp3/QueryGoodsGroup": {
  4359. "get": {
  4360. "security": [
  4361. {
  4362. "ApiKeyAuth": []
  4363. }
  4364. ],
  4365. "produces": [
  4366. "application/json"
  4367. ],
  4368. "tags": [
  4369. "企业风险管理v3(app)"
  4370. ],
  4371. "summary": "查询期货商品组",
  4372. "parameters": [
  4373. {
  4374. "type": "integer",
  4375. "description": "用户id",
  4376. "name": "userid",
  4377. "in": "query",
  4378. "required": true
  4379. },
  4380. {
  4381. "type": "integer",
  4382. "description": "用户类型 2-机构 7-企业成员",
  4383. "name": "usertype",
  4384. "in": "query"
  4385. },
  4386. {
  4387. "type": "integer",
  4388. "description": "排除套保品中已关联的商品组 1-排除",
  4389. "name": "excludecfg",
  4390. "in": "query"
  4391. }
  4392. ],
  4393. "responses": {
  4394. "200": {
  4395. "description": "OK",
  4396. "schema": {
  4397. "type": "array",
  4398. "items": {
  4399. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4400. }
  4401. }
  4402. },
  4403. "500": {
  4404. "description": "Internal Server Error",
  4405. "schema": {
  4406. "$ref": "#/definitions/app.Response"
  4407. }
  4408. }
  4409. }
  4410. }
  4411. },
  4412. "/Ermcp3/QueryGoodsWrstandard": {
  4413. "get": {
  4414. "security": [
  4415. {
  4416. "ApiKeyAuth": []
  4417. }
  4418. ],
  4419. "produces": [
  4420. "application/json"
  4421. ],
  4422. "tags": [
  4423. "企业风险管理v3(app)"
  4424. ],
  4425. "summary": "查询商品品类",
  4426. "parameters": [
  4427. {
  4428. "type": "integer",
  4429. "description": "用户id",
  4430. "name": "userid",
  4431. "in": "query",
  4432. "required": true
  4433. },
  4434. {
  4435. "type": "integer",
  4436. "description": "用户类型 2-机构 7-企业成员",
  4437. "name": "usertype",
  4438. "in": "query"
  4439. },
  4440. {
  4441. "type": "integer",
  4442. "description": "现货商品id",
  4443. "name": "deliverygoodsid",
  4444. "in": "query"
  4445. }
  4446. ],
  4447. "responses": {
  4448. "200": {
  4449. "description": "OK",
  4450. "schema": {
  4451. "type": "array",
  4452. "items": {
  4453. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4454. }
  4455. }
  4456. },
  4457. "500": {
  4458. "description": "Internal Server Error",
  4459. "schema": {
  4460. "$ref": "#/definitions/app.Response"
  4461. }
  4462. }
  4463. }
  4464. }
  4465. },
  4466. "/Ermcp3/QueryGoodsbrand": {
  4467. "get": {
  4468. "security": [
  4469. {
  4470. "ApiKeyAuth": []
  4471. }
  4472. ],
  4473. "produces": [
  4474. "application/json"
  4475. ],
  4476. "tags": [
  4477. "企业风险管理v3(app)"
  4478. ],
  4479. "summary": "查询商品品牌",
  4480. "parameters": [
  4481. {
  4482. "type": "integer",
  4483. "description": "用户id",
  4484. "name": "userid",
  4485. "in": "query",
  4486. "required": true
  4487. },
  4488. {
  4489. "type": "integer",
  4490. "description": "用户类型 2-机构 7-企业成员",
  4491. "name": "usertype",
  4492. "in": "query"
  4493. }
  4494. ],
  4495. "responses": {
  4496. "200": {
  4497. "description": "OK",
  4498. "schema": {
  4499. "type": "array",
  4500. "items": {
  4501. "$ref": "#/definitions/models.Ermcp3Brand"
  4502. }
  4503. }
  4504. },
  4505. "500": {
  4506. "description": "Internal Server Error",
  4507. "schema": {
  4508. "$ref": "#/definitions/app.Response"
  4509. }
  4510. }
  4511. }
  4512. }
  4513. },
  4514. "/Ermcp3/QueryHedgePlan": {
  4515. "get": {
  4516. "security": [
  4517. {
  4518. "ApiKeyAuth": []
  4519. }
  4520. ],
  4521. "produces": [
  4522. "application/json"
  4523. ],
  4524. "tags": [
  4525. "企业风险管理v3(app)"
  4526. ],
  4527. "summary": "查询套保计划",
  4528. "parameters": [
  4529. {
  4530. "type": "integer",
  4531. "description": "用户ID",
  4532. "name": "userid",
  4533. "in": "query",
  4534. "required": true
  4535. },
  4536. {
  4537. "type": "integer",
  4538. "description": "用户类型 2-机构 7-企业成员",
  4539. "name": "usertype",
  4540. "in": "query"
  4541. },
  4542. {
  4543. "type": "string",
  4544. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4545. "name": "hedgeplanstatus",
  4546. "in": "query",
  4547. "required": true
  4548. }
  4549. ],
  4550. "responses": {
  4551. "200": {
  4552. "description": "OK",
  4553. "schema": {
  4554. "type": "array",
  4555. "items": {
  4556. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4557. }
  4558. }
  4559. },
  4560. "500": {
  4561. "description": "Internal Server Error",
  4562. "schema": {
  4563. "$ref": "#/definitions/app.Response"
  4564. }
  4565. }
  4566. }
  4567. }
  4568. },
  4569. "/Ermcp3/QueryInnerTradeLink": {
  4570. "get": {
  4571. "security": [
  4572. {
  4573. "ApiKeyAuth": []
  4574. }
  4575. ],
  4576. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4577. "produces": [
  4578. "application/json"
  4579. ],
  4580. "tags": [
  4581. "企业风险管理v3(app)"
  4582. ],
  4583. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4584. "parameters": [
  4585. {
  4586. "type": "integer",
  4587. "description": "外部成交单号",
  4588. "name": "outtradeid",
  4589. "in": "query",
  4590. "required": true
  4591. }
  4592. ],
  4593. "responses": {
  4594. "200": {
  4595. "description": "OK",
  4596. "schema": {
  4597. "type": "array",
  4598. "items": {
  4599. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4600. }
  4601. }
  4602. },
  4603. "500": {
  4604. "description": "Internal Server Error",
  4605. "schema": {
  4606. "$ref": "#/definitions/app.Response"
  4607. }
  4608. }
  4609. }
  4610. }
  4611. },
  4612. "/Ermcp3/QueryMiddleGoodsDetail": {
  4613. "get": {
  4614. "security": [
  4615. {
  4616. "ApiKeyAuth": []
  4617. }
  4618. ],
  4619. "produces": [
  4620. "application/json"
  4621. ],
  4622. "tags": [
  4623. "企业风险管理v3(app)"
  4624. ],
  4625. "summary": "查询套保品种详情(套保品种/商品详情)",
  4626. "parameters": [
  4627. {
  4628. "type": "integer",
  4629. "description": "用户id",
  4630. "name": "userid",
  4631. "in": "query",
  4632. "required": true
  4633. },
  4634. {
  4635. "type": "integer",
  4636. "description": "用户类型 2-机构 7-企业成员",
  4637. "name": "usertype",
  4638. "in": "query"
  4639. },
  4640. {
  4641. "type": "integer",
  4642. "description": "套保品种id",
  4643. "name": "middlegoodsid",
  4644. "in": "query"
  4645. }
  4646. ],
  4647. "responses": {
  4648. "200": {
  4649. "description": "OK",
  4650. "schema": {
  4651. "type": "array",
  4652. "items": {
  4653. "$ref": "#/definitions/models.TBMiddleGoods"
  4654. }
  4655. }
  4656. },
  4657. "500": {
  4658. "description": "Internal Server Error",
  4659. "schema": {
  4660. "$ref": "#/definitions/app.Response"
  4661. }
  4662. }
  4663. }
  4664. }
  4665. },
  4666. "/Ermcp3/QueryOutTradeLink": {
  4667. "get": {
  4668. "security": [
  4669. {
  4670. "ApiKeyAuth": []
  4671. }
  4672. ],
  4673. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  4674. "produces": [
  4675. "application/json"
  4676. ],
  4677. "tags": [
  4678. "企业风险管理v3(app)"
  4679. ],
  4680. "summary": "查询外部成交单关联",
  4681. "parameters": [
  4682. {
  4683. "type": "integer",
  4684. "description": "用户ID(填登录用户的userid)",
  4685. "name": "userid",
  4686. "in": "query",
  4687. "required": true
  4688. },
  4689. {
  4690. "type": "string",
  4691. "description": "外部订单号(模糊匹配)",
  4692. "name": "outtradeid",
  4693. "in": "query"
  4694. },
  4695. {
  4696. "type": "string",
  4697. "description": "合约名称/代码(模糊匹配)",
  4698. "name": "goodsname",
  4699. "in": "query"
  4700. },
  4701. {
  4702. "type": "integer",
  4703. "description": "关联状态 0-未关联 1-已关联",
  4704. "name": "hasinnerorder",
  4705. "in": "query"
  4706. }
  4707. ],
  4708. "responses": {
  4709. "200": {
  4710. "description": "OK",
  4711. "schema": {
  4712. "type": "array",
  4713. "items": {
  4714. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  4715. }
  4716. }
  4717. },
  4718. "500": {
  4719. "description": "Internal Server Error",
  4720. "schema": {
  4721. "$ref": "#/definitions/app.Response"
  4722. }
  4723. }
  4724. }
  4725. }
  4726. },
  4727. "/Ermcp3/QueryPaAreaAuditCfg": {
  4728. "get": {
  4729. "security": [
  4730. {
  4731. "ApiKeyAuth": []
  4732. }
  4733. ],
  4734. "produces": [
  4735. "application/json"
  4736. ],
  4737. "tags": [
  4738. "企业风险管理v3(app)"
  4739. ],
  4740. "summary": "查询审核设置",
  4741. "parameters": [
  4742. {
  4743. "type": "integer",
  4744. "description": "用户id",
  4745. "name": "userid",
  4746. "in": "query",
  4747. "required": true
  4748. }
  4749. ],
  4750. "responses": {
  4751. "200": {
  4752. "description": "OK",
  4753. "schema": {
  4754. "type": "array",
  4755. "items": {
  4756. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4757. }
  4758. }
  4759. },
  4760. "500": {
  4761. "description": "Internal Server Error",
  4762. "schema": {
  4763. "$ref": "#/definitions/app.Response"
  4764. }
  4765. }
  4766. }
  4767. }
  4768. },
  4769. "/Ermcp3/QueryPaAreaSubject": {
  4770. "get": {
  4771. "security": [
  4772. {
  4773. "ApiKeyAuth": []
  4774. }
  4775. ],
  4776. "produces": [
  4777. "application/json"
  4778. ],
  4779. "tags": [
  4780. "企业风险管理v3(app)"
  4781. ],
  4782. "summary": "查询交易主体",
  4783. "parameters": [
  4784. {
  4785. "type": "integer",
  4786. "description": "用户id",
  4787. "name": "userid",
  4788. "in": "query",
  4789. "required": true
  4790. },
  4791. {
  4792. "type": "integer",
  4793. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4794. "name": "subjectid",
  4795. "in": "query"
  4796. },
  4797. {
  4798. "type": "integer",
  4799. "description": "主体类型 - 1:交易主体 2:业务部门",
  4800. "name": "subjecttype",
  4801. "in": "query"
  4802. },
  4803. {
  4804. "type": "integer",
  4805. "description": "主体状态 - 1:正常 2: 停用",
  4806. "name": "subjectstatus",
  4807. "in": "query"
  4808. }
  4809. ],
  4810. "responses": {
  4811. "200": {
  4812. "description": "OK",
  4813. "schema": {
  4814. "type": "array",
  4815. "items": {
  4816. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4817. }
  4818. }
  4819. },
  4820. "500": {
  4821. "description": "Internal Server Error",
  4822. "schema": {
  4823. "$ref": "#/definitions/app.Response"
  4824. }
  4825. }
  4826. }
  4827. }
  4828. },
  4829. "/Ermcp3/QueryPaTradeLink": {
  4830. "get": {
  4831. "security": [
  4832. {
  4833. "ApiKeyAuth": []
  4834. }
  4835. ],
  4836. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4837. "produces": [
  4838. "application/json"
  4839. ],
  4840. "tags": [
  4841. "企业风险管理v3(app)"
  4842. ],
  4843. "summary": "查询期现单据关联",
  4844. "parameters": [
  4845. {
  4846. "type": "integer",
  4847. "description": "用户ID",
  4848. "name": "userid",
  4849. "in": "query",
  4850. "required": true
  4851. }
  4852. ],
  4853. "responses": {
  4854. "200": {
  4855. "description": "OK",
  4856. "schema": {
  4857. "type": "array",
  4858. "items": {
  4859. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4860. }
  4861. }
  4862. },
  4863. "500": {
  4864. "description": "Internal Server Error",
  4865. "schema": {
  4866. "$ref": "#/definitions/app.Response"
  4867. }
  4868. }
  4869. }
  4870. }
  4871. },
  4872. "/Ermcp3/QueryPaTradeLinkDetail": {
  4873. "get": {
  4874. "security": [
  4875. {
  4876. "ApiKeyAuth": []
  4877. }
  4878. ],
  4879. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  4880. "produces": [
  4881. "application/json"
  4882. ],
  4883. "tags": [
  4884. "企业风险管理v3(app)"
  4885. ],
  4886. "summary": "查询期现关联记录",
  4887. "parameters": [
  4888. {
  4889. "type": "integer",
  4890. "description": "用户ID(填登录用户的userid)",
  4891. "name": "userid",
  4892. "in": "query",
  4893. "required": true
  4894. },
  4895. {
  4896. "type": "integer",
  4897. "description": "关联状态 1:成功 2:失败 3:解绑",
  4898. "name": "linkstatus",
  4899. "in": "query"
  4900. },
  4901. {
  4902. "type": "string",
  4903. "description": "期货订单号(模糊匹配)",
  4904. "name": "tradeid",
  4905. "in": "query"
  4906. },
  4907. {
  4908. "type": "string",
  4909. "description": "现货编号(模糊匹配)",
  4910. "name": "contractno",
  4911. "in": "query"
  4912. },
  4913. {
  4914. "type": "string",
  4915. "description": "期货账户(模糊匹配)",
  4916. "name": "taname",
  4917. "in": "query"
  4918. }
  4919. ],
  4920. "responses": {
  4921. "200": {
  4922. "description": "OK",
  4923. "schema": {
  4924. "type": "array",
  4925. "items": {
  4926. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  4927. }
  4928. }
  4929. },
  4930. "500": {
  4931. "description": "Internal Server Error",
  4932. "schema": {
  4933. "$ref": "#/definitions/app.Response"
  4934. }
  4935. }
  4936. }
  4937. }
  4938. },
  4939. "/Ermcp3/QueryParamChangeApp": {
  4940. "get": {
  4941. "security": [
  4942. {
  4943. "ApiKeyAuth": []
  4944. }
  4945. ],
  4946. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  4947. "produces": [
  4948. "application/json"
  4949. ],
  4950. "tags": [
  4951. "企业风险管理v3(app)"
  4952. ],
  4953. "summary": "查询现货商品参数变更申请(流水)",
  4954. "parameters": [
  4955. {
  4956. "type": "integer",
  4957. "description": "用户ID",
  4958. "name": "userid",
  4959. "in": "query",
  4960. "required": true
  4961. },
  4962. {
  4963. "type": "integer",
  4964. "description": "现货品种id",
  4965. "name": "deliverygoodsid",
  4966. "in": "query"
  4967. },
  4968. {
  4969. "type": "integer",
  4970. "description": "现货商品id",
  4971. "name": "wrstandardid",
  4972. "in": "query"
  4973. },
  4974. {
  4975. "type": "integer",
  4976. "description": "套保商品id",
  4977. "name": "middlegoodsid",
  4978. "in": "query"
  4979. },
  4980. {
  4981. "type": "integer",
  4982. "description": "操作类型 1:新增 2:修改",
  4983. "name": "operatetype",
  4984. "in": "query"
  4985. },
  4986. {
  4987. "type": "integer",
  4988. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  4989. "name": "paramchangetype",
  4990. "in": "query"
  4991. },
  4992. {
  4993. "type": "string",
  4994. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4995. "name": "ftstatus",
  4996. "in": "query"
  4997. }
  4998. ],
  4999. "responses": {
  5000. "200": {
  5001. "description": "OK",
  5002. "schema": {
  5003. "type": "array",
  5004. "items": {
  5005. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5006. }
  5007. }
  5008. },
  5009. "500": {
  5010. "description": "Internal Server Error",
  5011. "schema": {
  5012. "$ref": "#/definitions/app.Response"
  5013. }
  5014. }
  5015. }
  5016. }
  5017. },
  5018. "/Ermcp3/QueryRootUserAccount": {
  5019. "get": {
  5020. "security": [
  5021. {
  5022. "ApiKeyAuth": []
  5023. }
  5024. ],
  5025. "produces": [
  5026. "application/json"
  5027. ],
  5028. "tags": [
  5029. "企业风险管理v3(app)"
  5030. ],
  5031. "summary": "查询顶级用户信息",
  5032. "parameters": [
  5033. {
  5034. "type": "integer",
  5035. "description": "用户ID",
  5036. "name": "userid",
  5037. "in": "query",
  5038. "required": true
  5039. }
  5040. ],
  5041. "responses": {
  5042. "200": {
  5043. "description": "OK",
  5044. "schema": {
  5045. "type": "array",
  5046. "items": {
  5047. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5048. }
  5049. }
  5050. },
  5051. "500": {
  5052. "description": "Internal Server Error",
  5053. "schema": {
  5054. "$ref": "#/definitions/app.Response"
  5055. }
  5056. }
  5057. }
  5058. }
  5059. },
  5060. "/Ermcp3/QuerySCMiddleGoods": {
  5061. "get": {
  5062. "security": [
  5063. {
  5064. "ApiKeyAuth": []
  5065. }
  5066. ],
  5067. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5068. "produces": [
  5069. "application/json"
  5070. ],
  5071. "tags": [
  5072. "企业风险管理v3(app)"
  5073. ],
  5074. "summary": "查询现货订单",
  5075. "parameters": [
  5076. {
  5077. "type": "integer",
  5078. "description": "用户ID(填登录用户的userid)",
  5079. "name": "userid",
  5080. "in": "query",
  5081. "required": true
  5082. },
  5083. {
  5084. "type": "integer",
  5085. "description": "买卖方向 0-买 1-卖",
  5086. "name": "buyorsell",
  5087. "in": "query",
  5088. "required": true
  5089. },
  5090. {
  5091. "type": "integer",
  5092. "description": "商品组id",
  5093. "name": "goodsgroupid",
  5094. "in": "query",
  5095. "required": true
  5096. },
  5097. {
  5098. "type": "integer",
  5099. "description": "业务类型 1:套保 2:套利",
  5100. "name": "biztype",
  5101. "in": "query"
  5102. },
  5103. {
  5104. "type": "string",
  5105. "description": "现货编号(模糊匹配)",
  5106. "name": "contractno",
  5107. "in": "query"
  5108. },
  5109. {
  5110. "type": "string",
  5111. "description": "对手方(模糊匹配)",
  5112. "name": "customername",
  5113. "in": "query"
  5114. },
  5115. {
  5116. "type": "string",
  5117. "description": "现货商品名称(模糊匹配)",
  5118. "name": "wrstandardname",
  5119. "in": "query"
  5120. }
  5121. ],
  5122. "responses": {
  5123. "200": {
  5124. "description": "OK",
  5125. "schema": {
  5126. "type": "array",
  5127. "items": {
  5128. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5129. }
  5130. }
  5131. },
  5132. "500": {
  5133. "description": "Internal Server Error",
  5134. "schema": {
  5135. "$ref": "#/definitions/app.Response"
  5136. }
  5137. }
  5138. }
  5139. }
  5140. },
  5141. "/Ermcp3/QuerySpotContract": {
  5142. "get": {
  5143. "security": [
  5144. {
  5145. "ApiKeyAuth": []
  5146. }
  5147. ],
  5148. "produces": [
  5149. "application/json"
  5150. ],
  5151. "tags": [
  5152. "企业风险管理v3(app)"
  5153. ],
  5154. "summary": "查询现货合同",
  5155. "parameters": [
  5156. {
  5157. "type": "integer",
  5158. "description": "用户id(当指定contractid, userid可不填)",
  5159. "name": "userid",
  5160. "in": "query",
  5161. "required": true
  5162. },
  5163. {
  5164. "type": "integer",
  5165. "description": "用户类型 2-机构 7-企业成员",
  5166. "name": "usertype",
  5167. "in": "query"
  5168. },
  5169. {
  5170. "type": "integer",
  5171. "description": "合同类型 1-采购, -1-销售",
  5172. "name": "contracttype",
  5173. "in": "query"
  5174. },
  5175. {
  5176. "type": "string",
  5177. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5178. "name": "querytype",
  5179. "in": "query"
  5180. },
  5181. {
  5182. "type": "string",
  5183. "description": "合同ID(SpotContractId)",
  5184. "name": "contractid",
  5185. "in": "query"
  5186. },
  5187. {
  5188. "type": "string",
  5189. "description": "合同编号(模糊匹配)",
  5190. "name": "contractno",
  5191. "in": "query"
  5192. },
  5193. {
  5194. "type": "string",
  5195. "description": "商品名称(模糊匹配)",
  5196. "name": "wrstandardname",
  5197. "in": "query"
  5198. },
  5199. {
  5200. "type": "string",
  5201. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5202. "name": "status",
  5203. "in": "query"
  5204. },
  5205. {
  5206. "type": "integer",
  5207. "description": "是否只查今日的合同 1-查今日合同",
  5208. "name": "istoday",
  5209. "in": "query"
  5210. }
  5211. ],
  5212. "responses": {
  5213. "200": {
  5214. "description": "OK",
  5215. "schema": {
  5216. "type": "array",
  5217. "items": {
  5218. "$ref": "#/definitions/models.Ermcp3Contract"
  5219. }
  5220. }
  5221. },
  5222. "500": {
  5223. "description": "Internal Server Error",
  5224. "schema": {
  5225. "$ref": "#/definitions/app.Response"
  5226. }
  5227. }
  5228. }
  5229. }
  5230. },
  5231. "/Ermcp3/QuerySpotContractBS": {
  5232. "get": {
  5233. "security": [
  5234. {
  5235. "ApiKeyAuth": []
  5236. }
  5237. ],
  5238. "produces": [
  5239. "application/json"
  5240. ],
  5241. "tags": [
  5242. "企业风险管理v3(app)"
  5243. ],
  5244. "summary": "查询合同(采购/销售)",
  5245. "parameters": [
  5246. {
  5247. "type": "integer",
  5248. "description": "用户id",
  5249. "name": "userid",
  5250. "in": "query",
  5251. "required": true
  5252. },
  5253. {
  5254. "type": "integer",
  5255. "description": "用户类型 2-机构 7-企业成员",
  5256. "name": "usertype",
  5257. "in": "query"
  5258. },
  5259. {
  5260. "type": "integer",
  5261. "description": "合同类型 1-采购, -1-销售",
  5262. "name": "contracttype",
  5263. "in": "query",
  5264. "required": true
  5265. },
  5266. {
  5267. "type": "integer",
  5268. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5269. "name": "querytype",
  5270. "in": "query"
  5271. },
  5272. {
  5273. "type": "string",
  5274. "description": "合同ID(SpotContractId)",
  5275. "name": "contractid",
  5276. "in": "query"
  5277. },
  5278. {
  5279. "type": "string",
  5280. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5281. "name": "status",
  5282. "in": "query"
  5283. },
  5284. {
  5285. "type": "integer",
  5286. "description": "是否只查今日的合同 1-查今日合同",
  5287. "name": "istoday",
  5288. "in": "query"
  5289. }
  5290. ],
  5291. "responses": {
  5292. "200": {
  5293. "description": "OK",
  5294. "schema": {
  5295. "type": "array",
  5296. "items": {
  5297. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5298. }
  5299. }
  5300. },
  5301. "500": {
  5302. "description": "Internal Server Error",
  5303. "schema": {
  5304. "$ref": "#/definitions/app.Response"
  5305. }
  5306. }
  5307. }
  5308. }
  5309. },
  5310. "/Ermcp3/QuerySpotGoodsPrice": {
  5311. "get": {
  5312. "security": [
  5313. {
  5314. "ApiKeyAuth": []
  5315. }
  5316. ],
  5317. "produces": [
  5318. "application/json"
  5319. ],
  5320. "tags": [
  5321. "企业风险管理v3(app)"
  5322. ],
  5323. "summary": "查询现货市价(现货市价)",
  5324. "parameters": [
  5325. {
  5326. "type": "integer",
  5327. "description": "用户ID",
  5328. "name": "userid",
  5329. "in": "query",
  5330. "required": true
  5331. }
  5332. ],
  5333. "responses": {
  5334. "200": {
  5335. "description": "OK",
  5336. "schema": {
  5337. "type": "array",
  5338. "items": {
  5339. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5340. }
  5341. }
  5342. },
  5343. "500": {
  5344. "description": "Internal Server Error",
  5345. "schema": {
  5346. "$ref": "#/definitions/app.Response"
  5347. }
  5348. }
  5349. }
  5350. }
  5351. },
  5352. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5353. "get": {
  5354. "security": [
  5355. {
  5356. "ApiKeyAuth": []
  5357. }
  5358. ],
  5359. "produces": [
  5360. "application/json"
  5361. ],
  5362. "tags": [
  5363. "企业风险管理v3(app)"
  5364. ],
  5365. "summary": "查询现货市价详情(现货市价/详情)",
  5366. "parameters": [
  5367. {
  5368. "type": "integer",
  5369. "description": "用户ID",
  5370. "name": "userid",
  5371. "in": "query",
  5372. "required": true
  5373. },
  5374. {
  5375. "type": "integer",
  5376. "description": "现货商品ID",
  5377. "name": "deliverygoodsid",
  5378. "in": "query",
  5379. "required": true
  5380. },
  5381. {
  5382. "type": "integer",
  5383. "description": "品牌ID",
  5384. "name": "brandid",
  5385. "in": "query"
  5386. },
  5387. {
  5388. "type": "integer",
  5389. "description": "品类ID",
  5390. "name": "wrstandardid",
  5391. "in": "query"
  5392. }
  5393. ],
  5394. "responses": {
  5395. "200": {
  5396. "description": "OK",
  5397. "schema": {
  5398. "type": "array",
  5399. "items": {
  5400. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5401. }
  5402. }
  5403. },
  5404. "500": {
  5405. "description": "Internal Server Error",
  5406. "schema": {
  5407. "$ref": "#/definitions/app.Response"
  5408. }
  5409. }
  5410. }
  5411. }
  5412. },
  5413. "/Ermcp3/QuerySubTaaccount": {
  5414. "get": {
  5415. "security": [
  5416. {
  5417. "ApiKeyAuth": []
  5418. }
  5419. ],
  5420. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5421. "produces": [
  5422. "application/json"
  5423. ],
  5424. "tags": [
  5425. "企业风险管理v3(app)"
  5426. ],
  5427. "summary": "查询期货子账户",
  5428. "parameters": [
  5429. {
  5430. "type": "integer",
  5431. "description": "母账号id",
  5432. "name": "parentaccountid",
  5433. "in": "query"
  5434. },
  5435. {
  5436. "type": "string",
  5437. "description": "母账号代码",
  5438. "name": "parentaccountcode",
  5439. "in": "query"
  5440. }
  5441. ],
  5442. "responses": {
  5443. "200": {
  5444. "description": "OK",
  5445. "schema": {
  5446. "type": "array",
  5447. "items": {
  5448. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5449. }
  5450. }
  5451. },
  5452. "500": {
  5453. "description": "Internal Server Error",
  5454. "schema": {
  5455. "$ref": "#/definitions/app.Response"
  5456. }
  5457. }
  5458. }
  5459. }
  5460. },
  5461. "/Erms2/QueryArbitrageStrategy": {
  5462. "get": {
  5463. "security": [
  5464. {
  5465. "ApiKeyAuth": []
  5466. }
  5467. ],
  5468. "produces": [
  5469. "application/json"
  5470. ],
  5471. "tags": [
  5472. "风险管理"
  5473. ],
  5474. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5475. "parameters": [
  5476. {
  5477. "type": "integer",
  5478. "description": "账户ID",
  5479. "name": "userid",
  5480. "in": "query",
  5481. "required": true
  5482. },
  5483. {
  5484. "type": "string",
  5485. "description": "商品组ID(品种ID)",
  5486. "name": "goodsgroupid",
  5487. "in": "query"
  5488. }
  5489. ],
  5490. "responses": {
  5491. "200": {
  5492. "description": "OK",
  5493. "schema": {
  5494. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5495. }
  5496. },
  5497. "500": {
  5498. "description": "Internal Server Error",
  5499. "schema": {
  5500. "$ref": "#/definitions/app.Response"
  5501. }
  5502. }
  5503. }
  5504. }
  5505. },
  5506. "/Erms2/QueryInnerTradeDetail": {
  5507. "get": {
  5508. "security": [
  5509. {
  5510. "ApiKeyAuth": []
  5511. }
  5512. ],
  5513. "produces": [
  5514. "application/json"
  5515. ],
  5516. "tags": [
  5517. "风险管理"
  5518. ],
  5519. "summary": "查询内部成交单信息",
  5520. "parameters": [
  5521. {
  5522. "type": "integer",
  5523. "description": "资金账户",
  5524. "name": "accountid",
  5525. "in": "query",
  5526. "required": true
  5527. }
  5528. ],
  5529. "responses": {
  5530. "200": {
  5531. "description": "OK",
  5532. "schema": {
  5533. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5534. }
  5535. },
  5536. "500": {
  5537. "description": "Internal Server Error",
  5538. "schema": {
  5539. "$ref": "#/definitions/app.Response"
  5540. }
  5541. }
  5542. }
  5543. }
  5544. },
  5545. "/Erms2/QuerySpotContract": {
  5546. "get": {
  5547. "security": [
  5548. {
  5549. "ApiKeyAuth": []
  5550. }
  5551. ],
  5552. "produces": [
  5553. "application/json"
  5554. ],
  5555. "tags": [
  5556. "风险管理"
  5557. ],
  5558. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5559. "parameters": [
  5560. {
  5561. "type": "integer",
  5562. "description": "策略申请ID",
  5563. "name": "asapplyid",
  5564. "in": "query",
  5565. "required": true
  5566. },
  5567. {
  5568. "type": "integer",
  5569. "description": "现货合同ID",
  5570. "name": "spotcontractid",
  5571. "in": "query"
  5572. }
  5573. ],
  5574. "responses": {
  5575. "200": {
  5576. "description": "OK",
  5577. "schema": {
  5578. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5579. }
  5580. },
  5581. "500": {
  5582. "description": "Internal Server Error",
  5583. "schema": {
  5584. "$ref": "#/definitions/app.Response"
  5585. }
  5586. }
  5587. }
  5588. }
  5589. },
  5590. "/Erms3/AddErms2ASApply": {
  5591. "post": {
  5592. "security": [
  5593. {
  5594. "ApiKeyAuth": []
  5595. }
  5596. ],
  5597. "produces": [
  5598. "application/json"
  5599. ],
  5600. "tags": [
  5601. "风险管理v3"
  5602. ],
  5603. "summary": "新增期现套利业务申请",
  5604. "parameters": [
  5605. {
  5606. "description": "申请参数",
  5607. "name": "jsonBody",
  5608. "in": "body",
  5609. "required": true,
  5610. "schema": {
  5611. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5612. }
  5613. }
  5614. ],
  5615. "responses": {
  5616. "200": {
  5617. "description": "OK",
  5618. "schema": {
  5619. "$ref": "#/definitions/app.Response"
  5620. }
  5621. },
  5622. "500": {
  5623. "description": "Internal Server Error",
  5624. "schema": {
  5625. "$ref": "#/definitions/app.Response"
  5626. }
  5627. }
  5628. }
  5629. }
  5630. },
  5631. "/Erms3/AddErms2SpotTradeApply": {
  5632. "post": {
  5633. "security": [
  5634. {
  5635. "ApiKeyAuth": []
  5636. }
  5637. ],
  5638. "produces": [
  5639. "application/json"
  5640. ],
  5641. "tags": [
  5642. "风险管理v3"
  5643. ],
  5644. "summary": "新增现货贸易业务申请",
  5645. "parameters": [
  5646. {
  5647. "description": "申请参数",
  5648. "name": "jsonBody",
  5649. "in": "body",
  5650. "required": true,
  5651. "schema": {
  5652. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5653. }
  5654. }
  5655. ],
  5656. "responses": {
  5657. "200": {
  5658. "description": "OK",
  5659. "schema": {
  5660. "$ref": "#/definitions/app.Response"
  5661. }
  5662. },
  5663. "500": {
  5664. "description": "Internal Server Error",
  5665. "schema": {
  5666. "$ref": "#/definitions/app.Response"
  5667. }
  5668. }
  5669. }
  5670. }
  5671. },
  5672. "/Erms3/AddSpotContractApply": {
  5673. "post": {
  5674. "security": [
  5675. {
  5676. "ApiKeyAuth": []
  5677. }
  5678. ],
  5679. "produces": [
  5680. "application/json"
  5681. ],
  5682. "tags": [
  5683. "风险管理v3"
  5684. ],
  5685. "summary": "新增现货合同申请",
  5686. "parameters": [
  5687. {
  5688. "description": "申请参数",
  5689. "name": "jsonBody",
  5690. "in": "body",
  5691. "required": true,
  5692. "schema": {
  5693. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5694. }
  5695. }
  5696. ],
  5697. "responses": {
  5698. "200": {
  5699. "description": "OK",
  5700. "schema": {
  5701. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5702. }
  5703. },
  5704. "500": {
  5705. "description": "Internal Server Error",
  5706. "schema": {
  5707. "$ref": "#/definitions/app.Response"
  5708. }
  5709. }
  5710. }
  5711. }
  5712. },
  5713. "/Erms3/AddUserInfoApply": {
  5714. "post": {
  5715. "security": [
  5716. {
  5717. "ApiKeyAuth": []
  5718. }
  5719. ],
  5720. "produces": [
  5721. "application/json"
  5722. ],
  5723. "tags": [
  5724. "风险管理v3"
  5725. ],
  5726. "summary": "新增客户申请",
  5727. "parameters": [
  5728. {
  5729. "description": "用户信息",
  5730. "name": "jsonBody",
  5731. "in": "body",
  5732. "required": true,
  5733. "schema": {
  5734. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5735. }
  5736. }
  5737. ],
  5738. "responses": {
  5739. "200": {
  5740. "description": "OK",
  5741. "schema": {
  5742. "$ref": "#/definitions/app.Response"
  5743. }
  5744. },
  5745. "500": {
  5746. "description": "Internal Server Error",
  5747. "schema": {
  5748. "$ref": "#/definitions/app.Response"
  5749. }
  5750. }
  5751. }
  5752. }
  5753. },
  5754. "/Erms3/DeleteUserInfoApply": {
  5755. "get": {
  5756. "security": [
  5757. {
  5758. "ApiKeyAuth": []
  5759. }
  5760. ],
  5761. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5762. "produces": [
  5763. "application/json"
  5764. ],
  5765. "tags": [
  5766. "风险管理v3"
  5767. ],
  5768. "summary": "删除客户申请",
  5769. "parameters": [
  5770. {
  5771. "type": "integer",
  5772. "description": "用户ID",
  5773. "name": "userID",
  5774. "in": "query",
  5775. "required": true
  5776. }
  5777. ],
  5778. "responses": {
  5779. "200": {
  5780. "description": "OK",
  5781. "schema": {
  5782. "$ref": "#/definitions/app.Response"
  5783. }
  5784. },
  5785. "500": {
  5786. "description": "Internal Server Error",
  5787. "schema": {
  5788. "$ref": "#/definitions/app.Response"
  5789. }
  5790. }
  5791. }
  5792. }
  5793. },
  5794. "/Erms3/ModifyUserInfoApply": {
  5795. "post": {
  5796. "security": [
  5797. {
  5798. "ApiKeyAuth": []
  5799. }
  5800. ],
  5801. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5802. "produces": [
  5803. "application/json"
  5804. ],
  5805. "tags": [
  5806. "风险管理v3"
  5807. ],
  5808. "summary": "修改客户申请",
  5809. "parameters": [
  5810. {
  5811. "description": "用户信息",
  5812. "name": "jsonBody",
  5813. "in": "body",
  5814. "required": true,
  5815. "schema": {
  5816. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5817. }
  5818. }
  5819. ],
  5820. "responses": {
  5821. "200": {
  5822. "description": "OK",
  5823. "schema": {
  5824. "$ref": "#/definitions/app.Response"
  5825. }
  5826. },
  5827. "500": {
  5828. "description": "Internal Server Error",
  5829. "schema": {
  5830. "$ref": "#/definitions/app.Response"
  5831. }
  5832. }
  5833. }
  5834. }
  5835. },
  5836. "/Erms3/QueryBusinessInfo": {
  5837. "get": {
  5838. "security": [
  5839. {
  5840. "ApiKeyAuth": []
  5841. }
  5842. ],
  5843. "produces": [
  5844. "application/json"
  5845. ],
  5846. "tags": [
  5847. "风险管理v3"
  5848. ],
  5849. "summary": "查询业务表单数据",
  5850. "parameters": [
  5851. {
  5852. "type": "string",
  5853. "description": "资金账号ID列表,用逗号分隔",
  5854. "name": "accountids",
  5855. "in": "query",
  5856. "required": true
  5857. },
  5858. {
  5859. "type": "integer",
  5860. "description": "状态,0为未结束 1为已结束",
  5861. "name": "status",
  5862. "in": "query",
  5863. "required": true
  5864. }
  5865. ],
  5866. "responses": {
  5867. "200": {
  5868. "description": "OK",
  5869. "schema": {
  5870. "type": "array",
  5871. "items": {
  5872. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5873. }
  5874. }
  5875. },
  5876. "500": {
  5877. "description": "Internal Server Error",
  5878. "schema": {
  5879. "$ref": "#/definitions/app.Response"
  5880. }
  5881. }
  5882. }
  5883. }
  5884. },
  5885. "/Erms3/QueryPendingAuditContract": {
  5886. "get": {
  5887. "security": [
  5888. {
  5889. "ApiKeyAuth": []
  5890. }
  5891. ],
  5892. "produces": [
  5893. "application/json"
  5894. ],
  5895. "tags": [
  5896. "风险管理v3"
  5897. ],
  5898. "summary": "查询待审核合同",
  5899. "parameters": [
  5900. {
  5901. "type": "string",
  5902. "description": "资金账号ID列表,逗号隔开",
  5903. "name": "accountids",
  5904. "in": "query",
  5905. "required": true
  5906. },
  5907. {
  5908. "type": "integer",
  5909. "description": "合同类型 1-采购 -1-销售",
  5910. "name": "contracttype",
  5911. "in": "query",
  5912. "required": true
  5913. },
  5914. {
  5915. "type": "integer",
  5916. "description": "合同模式 1-普通 2-回购",
  5917. "name": "contractmode",
  5918. "in": "query",
  5919. "required": true
  5920. }
  5921. ],
  5922. "responses": {
  5923. "200": {
  5924. "description": "OK",
  5925. "schema": {
  5926. "type": "array",
  5927. "items": {
  5928. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5929. }
  5930. }
  5931. },
  5932. "500": {
  5933. "description": "Internal Server Error",
  5934. "schema": {
  5935. "$ref": "#/definitions/app.Response"
  5936. }
  5937. }
  5938. }
  5939. }
  5940. },
  5941. "/Erms3/QueryPendingBusiness": {
  5942. "get": {
  5943. "security": [
  5944. {
  5945. "ApiKeyAuth": []
  5946. }
  5947. ],
  5948. "produces": [
  5949. "application/json"
  5950. ],
  5951. "tags": [
  5952. "风险管理v3"
  5953. ],
  5954. "summary": "查询待审核基差贸易业务",
  5955. "parameters": [
  5956. {
  5957. "type": "string",
  5958. "description": "资金账号ID列表,逗号隔开",
  5959. "name": "accountids",
  5960. "in": "query",
  5961. "required": true
  5962. }
  5963. ],
  5964. "responses": {
  5965. "200": {
  5966. "description": "OK",
  5967. "schema": {
  5968. "type": "array",
  5969. "items": {
  5970. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5971. }
  5972. }
  5973. },
  5974. "500": {
  5975. "description": "Internal Server Error",
  5976. "schema": {
  5977. "$ref": "#/definitions/app.Response"
  5978. }
  5979. }
  5980. }
  5981. }
  5982. },
  5983. "/Erms3/QuerySpotContractAppleForm": {
  5984. "get": {
  5985. "security": [
  5986. {
  5987. "ApiKeyAuth": []
  5988. }
  5989. ],
  5990. "produces": [
  5991. "application/json"
  5992. ],
  5993. "tags": [
  5994. "风险管理v3"
  5995. ],
  5996. "summary": "查询合同申请表单数据",
  5997. "parameters": [
  5998. {
  5999. "type": "integer",
  6000. "description": "登录账号",
  6001. "name": "loginID",
  6002. "in": "query",
  6003. "required": true
  6004. }
  6005. ],
  6006. "responses": {
  6007. "200": {
  6008. "description": "OK",
  6009. "schema": {
  6010. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  6011. }
  6012. },
  6013. "500": {
  6014. "description": "Internal Server Error",
  6015. "schema": {
  6016. "$ref": "#/definitions/app.Response"
  6017. }
  6018. }
  6019. }
  6020. }
  6021. },
  6022. "/Erms3/QuerySpotContractDetail": {
  6023. "get": {
  6024. "security": [
  6025. {
  6026. "ApiKeyAuth": []
  6027. }
  6028. ],
  6029. "produces": [
  6030. "application/json"
  6031. ],
  6032. "tags": [
  6033. "风险管理v3"
  6034. ],
  6035. "summary": "查询合同详细信息",
  6036. "parameters": [
  6037. {
  6038. "type": "string",
  6039. "description": "资金账号ID列表,用逗号分隔",
  6040. "name": "accountids",
  6041. "in": "query",
  6042. "required": true
  6043. },
  6044. {
  6045. "type": "integer",
  6046. "description": "合同类型,1为采购合同 -1为销售合同",
  6047. "name": "contracttype",
  6048. "in": "query",
  6049. "required": true
  6050. },
  6051. {
  6052. "type": "integer",
  6053. "description": "合同模式,1为普通合同 2为回购销售合同",
  6054. "name": "contractmode",
  6055. "in": "query",
  6056. "required": true
  6057. },
  6058. {
  6059. "type": "integer",
  6060. "description": "状态,0为履约中 1为已完成",
  6061. "name": "status",
  6062. "in": "query",
  6063. "required": true
  6064. }
  6065. ],
  6066. "responses": {
  6067. "200": {
  6068. "description": "OK",
  6069. "schema": {
  6070. "type": "array",
  6071. "items": {
  6072. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6073. }
  6074. }
  6075. },
  6076. "500": {
  6077. "description": "Internal Server Error",
  6078. "schema": {
  6079. "$ref": "#/definitions/app.Response"
  6080. }
  6081. }
  6082. }
  6083. }
  6084. },
  6085. "/Erms3/QueryUserInfoApplies": {
  6086. "get": {
  6087. "security": [
  6088. {
  6089. "ApiKeyAuth": []
  6090. }
  6091. ],
  6092. "produces": [
  6093. "application/json"
  6094. ],
  6095. "tags": [
  6096. "风险管理v3"
  6097. ],
  6098. "summary": "客户申请信息查询",
  6099. "parameters": [
  6100. {
  6101. "type": "integer",
  6102. "description": "页码",
  6103. "name": "page",
  6104. "in": "query"
  6105. },
  6106. {
  6107. "type": "integer",
  6108. "description": "每页条数",
  6109. "name": "pagesize",
  6110. "in": "query"
  6111. },
  6112. {
  6113. "type": "string",
  6114. "description": "客户名称,支持模糊查询",
  6115. "name": "userName",
  6116. "in": "query"
  6117. }
  6118. ],
  6119. "responses": {
  6120. "200": {
  6121. "description": "OK",
  6122. "schema": {
  6123. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6124. }
  6125. },
  6126. "500": {
  6127. "description": "Internal Server Error",
  6128. "schema": {
  6129. "$ref": "#/definitions/app.Response"
  6130. }
  6131. }
  6132. }
  6133. }
  6134. },
  6135. "/Erms3/QueryUserInfos": {
  6136. "get": {
  6137. "security": [
  6138. {
  6139. "ApiKeyAuth": []
  6140. }
  6141. ],
  6142. "produces": [
  6143. "application/json"
  6144. ],
  6145. "tags": [
  6146. "风险管理v3"
  6147. ],
  6148. "summary": "客户信息查询",
  6149. "parameters": [
  6150. {
  6151. "type": "integer",
  6152. "description": "页码",
  6153. "name": "page",
  6154. "in": "query"
  6155. },
  6156. {
  6157. "type": "integer",
  6158. "description": "每页条数",
  6159. "name": "pagesize",
  6160. "in": "query"
  6161. },
  6162. {
  6163. "type": "string",
  6164. "description": "客户名称,支持模糊查询",
  6165. "name": "userName",
  6166. "in": "query"
  6167. }
  6168. ],
  6169. "responses": {
  6170. "200": {
  6171. "description": "OK",
  6172. "schema": {
  6173. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6174. }
  6175. },
  6176. "500": {
  6177. "description": "Internal Server Error",
  6178. "schema": {
  6179. "$ref": "#/definitions/app.Response"
  6180. }
  6181. }
  6182. }
  6183. }
  6184. },
  6185. "/HSBY/GetHsbyMyCount": {
  6186. "get": {
  6187. "security": [
  6188. {
  6189. "ApiKeyAuth": []
  6190. }
  6191. ],
  6192. "description": "说明: 不包括已完成的数量。",
  6193. "produces": [
  6194. "application/json"
  6195. ],
  6196. "tags": [
  6197. "定制【海商报业】"
  6198. ],
  6199. "summary": "获取我的订单与包裹数量",
  6200. "parameters": [
  6201. {
  6202. "type": "string",
  6203. "description": "资金账户列表,格式:1,2,3",
  6204. "name": "accountIDs",
  6205. "in": "query",
  6206. "required": true
  6207. }
  6208. ],
  6209. "responses": {
  6210. "200": {
  6211. "description": "OK",
  6212. "schema": {
  6213. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6214. }
  6215. },
  6216. "500": {
  6217. "description": "Internal Server Error",
  6218. "schema": {
  6219. "$ref": "#/definitions/app.Response"
  6220. }
  6221. }
  6222. }
  6223. }
  6224. },
  6225. "/HSBY/QueryClientFixedADConfigs": {
  6226. "get": {
  6227. "security": [
  6228. {
  6229. "ApiKeyAuth": []
  6230. }
  6231. ],
  6232. "produces": [
  6233. "application/json"
  6234. ],
  6235. "tags": [
  6236. "定制【海商报业】"
  6237. ],
  6238. "summary": "获取终端固定广告配置",
  6239. "responses": {
  6240. "200": {
  6241. "description": "OK",
  6242. "schema": {
  6243. "$ref": "#/definitions/models.Clientfixedadconfig"
  6244. }
  6245. },
  6246. "500": {
  6247. "description": "Internal Server Error",
  6248. "schema": {
  6249. "$ref": "#/definitions/app.Response"
  6250. }
  6251. }
  6252. }
  6253. }
  6254. },
  6255. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6256. "get": {
  6257. "security": [
  6258. {
  6259. "ApiKeyAuth": []
  6260. }
  6261. ],
  6262. "produces": [
  6263. "application/json"
  6264. ],
  6265. "tags": [
  6266. "定制【海商报业】"
  6267. ],
  6268. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6269. "parameters": [
  6270. {
  6271. "type": "integer",
  6272. "description": "页码",
  6273. "name": "page",
  6274. "in": "query"
  6275. },
  6276. {
  6277. "type": "integer",
  6278. "description": "每页条数",
  6279. "name": "pagesize",
  6280. "in": "query"
  6281. },
  6282. {
  6283. "type": "string",
  6284. "description": "资金账户列表,格式:1,2,3",
  6285. "name": "accountIDs",
  6286. "in": "query",
  6287. "required": true
  6288. }
  6289. ],
  6290. "responses": {
  6291. "200": {
  6292. "description": "OK",
  6293. "schema": {
  6294. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6295. }
  6296. },
  6297. "500": {
  6298. "description": "Internal Server Error",
  6299. "schema": {
  6300. "$ref": "#/definitions/app.Response"
  6301. }
  6302. }
  6303. }
  6304. }
  6305. },
  6306. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6307. "get": {
  6308. "security": [
  6309. {
  6310. "ApiKeyAuth": []
  6311. }
  6312. ],
  6313. "description": "说明:查询结果已按委托价格和委托时间排序",
  6314. "produces": [
  6315. "application/json"
  6316. ],
  6317. "tags": [
  6318. "定制【海商报业】"
  6319. ],
  6320. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6321. "parameters": [
  6322. {
  6323. "type": "integer",
  6324. "description": "商品ID",
  6325. "name": "goodsID",
  6326. "in": "query",
  6327. "required": true
  6328. },
  6329. {
  6330. "type": "string",
  6331. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6332. "name": "accountIDs",
  6333. "in": "query"
  6334. },
  6335. {
  6336. "type": "integer",
  6337. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6338. "name": "buyOrSell",
  6339. "in": "query"
  6340. },
  6341. {
  6342. "type": "number",
  6343. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6344. "name": "price",
  6345. "in": "query"
  6346. },
  6347. {
  6348. "type": "integer",
  6349. "description": "档位,不传则默认为3档",
  6350. "name": "speed",
  6351. "in": "query"
  6352. }
  6353. ],
  6354. "responses": {
  6355. "200": {
  6356. "description": "OK",
  6357. "schema": {
  6358. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6359. }
  6360. },
  6361. "500": {
  6362. "description": "Internal Server Error",
  6363. "schema": {
  6364. "$ref": "#/definitions/app.Response"
  6365. }
  6366. }
  6367. }
  6368. }
  6369. },
  6370. "/HSBY/QueryHsbyListingGoodsDetail": {
  6371. "get": {
  6372. "security": [
  6373. {
  6374. "ApiKeyAuth": []
  6375. }
  6376. ],
  6377. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6378. "produces": [
  6379. "application/json"
  6380. ],
  6381. "tags": [
  6382. "定制【海商报业】"
  6383. ],
  6384. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6385. "parameters": [
  6386. {
  6387. "type": "integer",
  6388. "description": "商品ID",
  6389. "name": "goodsID",
  6390. "in": "query",
  6391. "required": true
  6392. },
  6393. {
  6394. "type": "integer",
  6395. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6396. "name": "accountID",
  6397. "in": "query"
  6398. }
  6399. ],
  6400. "responses": {
  6401. "200": {
  6402. "description": "OK",
  6403. "schema": {
  6404. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6405. }
  6406. },
  6407. "500": {
  6408. "description": "Internal Server Error",
  6409. "schema": {
  6410. "$ref": "#/definitions/app.Response"
  6411. }
  6412. }
  6413. }
  6414. }
  6415. },
  6416. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6417. "get": {
  6418. "security": [
  6419. {
  6420. "ApiKeyAuth": []
  6421. }
  6422. ],
  6423. "produces": [
  6424. "application/json"
  6425. ],
  6426. "tags": [
  6427. "定制【海商报业】"
  6428. ],
  6429. "summary": "查询三级市场(商城)商品信息详情",
  6430. "parameters": [
  6431. {
  6432. "type": "integer",
  6433. "description": "委托单号",
  6434. "name": "orderID",
  6435. "in": "query",
  6436. "required": true
  6437. },
  6438. {
  6439. "type": "integer",
  6440. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6441. "name": "accountID",
  6442. "in": "query"
  6443. }
  6444. ],
  6445. "responses": {
  6446. "200": {
  6447. "description": "OK",
  6448. "schema": {
  6449. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6450. }
  6451. },
  6452. "500": {
  6453. "description": "Internal Server Error",
  6454. "schema": {
  6455. "$ref": "#/definitions/app.Response"
  6456. }
  6457. }
  6458. }
  6459. }
  6460. },
  6461. "/HSBY/QueryHsbyMarketGoodses": {
  6462. "get": {
  6463. "security": [
  6464. {
  6465. "ApiKeyAuth": []
  6466. }
  6467. ],
  6468. "produces": [
  6469. "application/json"
  6470. ],
  6471. "tags": [
  6472. "定制【海商报业】"
  6473. ],
  6474. "summary": "查询特卖商品列表(三级商城)",
  6475. "parameters": [
  6476. {
  6477. "type": "integer",
  6478. "description": "页码",
  6479. "name": "page",
  6480. "in": "query"
  6481. },
  6482. {
  6483. "type": "integer",
  6484. "description": "每页条数",
  6485. "name": "pagesize",
  6486. "in": "query"
  6487. },
  6488. {
  6489. "type": "string",
  6490. "description": "市场ID列表,格式:1,2,3",
  6491. "name": "marketIDs",
  6492. "in": "query",
  6493. "required": true
  6494. },
  6495. {
  6496. "type": "integer",
  6497. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6498. "name": "accountID",
  6499. "in": "query",
  6500. "required": true
  6501. },
  6502. {
  6503. "type": "integer",
  6504. "description": "类别ID",
  6505. "name": "categoryID",
  6506. "in": "query"
  6507. },
  6508. {
  6509. "type": "string",
  6510. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6511. "name": "goodsIDs",
  6512. "in": "query"
  6513. },
  6514. {
  6515. "type": "integer",
  6516. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6517. "name": "couponTypeID",
  6518. "in": "query"
  6519. }
  6520. ],
  6521. "responses": {
  6522. "200": {
  6523. "description": "OK",
  6524. "schema": {
  6525. "$ref": "#/definitions/models.HsbyMarketGoods"
  6526. }
  6527. },
  6528. "500": {
  6529. "description": "Internal Server Error",
  6530. "schema": {
  6531. "$ref": "#/definitions/app.Response"
  6532. }
  6533. }
  6534. }
  6535. }
  6536. },
  6537. "/HSBY/QueryHsbyMarkets": {
  6538. "get": {
  6539. "security": [
  6540. {
  6541. "ApiKeyAuth": []
  6542. }
  6543. ],
  6544. "produces": [
  6545. "application/json"
  6546. ],
  6547. "tags": [
  6548. "定制【海商报业】"
  6549. ],
  6550. "summary": "查询海商报业相关市场信息",
  6551. "responses": {
  6552. "200": {
  6553. "description": "OK",
  6554. "schema": {
  6555. "$ref": "#/definitions/models.HsbyMarketInfo"
  6556. }
  6557. },
  6558. "500": {
  6559. "description": "Internal Server Error",
  6560. "schema": {
  6561. "$ref": "#/definitions/app.Response"
  6562. }
  6563. }
  6564. }
  6565. }
  6566. },
  6567. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6568. "get": {
  6569. "security": [
  6570. {
  6571. "ApiKeyAuth": []
  6572. }
  6573. ],
  6574. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6575. "produces": [
  6576. "application/json"
  6577. ],
  6578. "tags": [
  6579. "定制【海商报业】"
  6580. ],
  6581. "summary": "查询“我的订单”信息",
  6582. "parameters": [
  6583. {
  6584. "type": "string",
  6585. "description": "资金账户列表,格式:1,2,3",
  6586. "name": "accountIDs",
  6587. "in": "query",
  6588. "required": true
  6589. }
  6590. ],
  6591. "responses": {
  6592. "200": {
  6593. "description": "OK",
  6594. "schema": {
  6595. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6596. }
  6597. },
  6598. "500": {
  6599. "description": "Internal Server Error",
  6600. "schema": {
  6601. "$ref": "#/definitions/app.Response"
  6602. }
  6603. }
  6604. }
  6605. }
  6606. },
  6607. "/HSBY/QueryHsbyMyGoods": {
  6608. "get": {
  6609. "security": [
  6610. {
  6611. "ApiKeyAuth": []
  6612. }
  6613. ],
  6614. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6615. "produces": [
  6616. "application/json"
  6617. ],
  6618. "tags": [
  6619. "定制【海商报业】"
  6620. ],
  6621. "summary": "查询“我的商品”信息",
  6622. "parameters": [
  6623. {
  6624. "type": "string",
  6625. "description": "资金账户列表,格式:1,2,3",
  6626. "name": "accountIDs",
  6627. "in": "query",
  6628. "required": true
  6629. }
  6630. ],
  6631. "responses": {
  6632. "200": {
  6633. "description": "OK",
  6634. "schema": {
  6635. "$ref": "#/definitions/models.HsbyMyGoods"
  6636. }
  6637. },
  6638. "500": {
  6639. "description": "Internal Server Error",
  6640. "schema": {
  6641. "$ref": "#/definitions/app.Response"
  6642. }
  6643. }
  6644. }
  6645. }
  6646. },
  6647. "/HSBY/QueryHsbyMyPackages": {
  6648. "get": {
  6649. "security": [
  6650. {
  6651. "ApiKeyAuth": []
  6652. }
  6653. ],
  6654. "produces": [
  6655. "application/json"
  6656. ],
  6657. "tags": [
  6658. "定制【海商报业】"
  6659. ],
  6660. "summary": "查询我的包裹信息",
  6661. "parameters": [
  6662. {
  6663. "type": "string",
  6664. "description": "资金账户列表,格式:1,2,3",
  6665. "name": "accountIDs",
  6666. "in": "query",
  6667. "required": true
  6668. },
  6669. {
  6670. "type": "integer",
  6671. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6672. "name": "takeOrderStatus",
  6673. "in": "query"
  6674. }
  6675. ],
  6676. "responses": {
  6677. "200": {
  6678. "description": "OK",
  6679. "schema": {
  6680. "$ref": "#/definitions/models.HsbyMyPackage"
  6681. }
  6682. },
  6683. "500": {
  6684. "description": "Internal Server Error",
  6685. "schema": {
  6686. "$ref": "#/definitions/app.Response"
  6687. }
  6688. }
  6689. }
  6690. }
  6691. },
  6692. "/HSBY/QueryHsbyPreGoodsDetail": {
  6693. "get": {
  6694. "security": [
  6695. {
  6696. "ApiKeyAuth": []
  6697. }
  6698. ],
  6699. "produces": [
  6700. "application/json"
  6701. ],
  6702. "tags": [
  6703. "定制【海商报业】"
  6704. ],
  6705. "summary": "查询一级市场(预售)商品信息详情",
  6706. "parameters": [
  6707. {
  6708. "type": "integer",
  6709. "description": "商品ID",
  6710. "name": "goodsID",
  6711. "in": "query",
  6712. "required": true
  6713. },
  6714. {
  6715. "type": "integer",
  6716. "description": "资金账户,主要用于获取预售商品购买上限",
  6717. "name": "accountID",
  6718. "in": "query"
  6719. }
  6720. ],
  6721. "responses": {
  6722. "200": {
  6723. "description": "OK",
  6724. "schema": {
  6725. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6726. }
  6727. },
  6728. "500": {
  6729. "description": "Internal Server Error",
  6730. "schema": {
  6731. "$ref": "#/definitions/app.Response"
  6732. }
  6733. }
  6734. }
  6735. }
  6736. },
  6737. "/HSBY/QueryHsbyPreGoodses": {
  6738. "get": {
  6739. "security": [
  6740. {
  6741. "ApiKeyAuth": []
  6742. }
  6743. ],
  6744. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6745. "produces": [
  6746. "application/json"
  6747. ],
  6748. "tags": [
  6749. "定制【海商报业】"
  6750. ],
  6751. "summary": "查询新品上市商品列表(一级市场预售)",
  6752. "parameters": [
  6753. {
  6754. "type": "integer",
  6755. "description": "页码",
  6756. "name": "page",
  6757. "in": "query"
  6758. },
  6759. {
  6760. "type": "integer",
  6761. "description": "每页条数",
  6762. "name": "pagesize",
  6763. "in": "query"
  6764. },
  6765. {
  6766. "type": "string",
  6767. "description": "市场ID列表,格式:1,2,3",
  6768. "name": "marketIDs",
  6769. "in": "query",
  6770. "required": true
  6771. },
  6772. {
  6773. "type": "integer",
  6774. "description": "目的地(省)ID",
  6775. "name": "descProvinceID",
  6776. "in": "query"
  6777. },
  6778. {
  6779. "type": "integer",
  6780. "description": "目的地(市)ID",
  6781. "name": "descCityID",
  6782. "in": "query"
  6783. }
  6784. ],
  6785. "responses": {
  6786. "200": {
  6787. "description": "OK",
  6788. "schema": {
  6789. "$ref": "#/definitions/models.HsbyPreGoods"
  6790. }
  6791. },
  6792. "500": {
  6793. "description": "Internal Server Error",
  6794. "schema": {
  6795. "$ref": "#/definitions/app.Response"
  6796. }
  6797. }
  6798. }
  6799. }
  6800. },
  6801. "/HSBY/QueryHsbySellMyDetails": {
  6802. "get": {
  6803. "security": [
  6804. {
  6805. "ApiKeyAuth": []
  6806. }
  6807. ],
  6808. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6809. "produces": [
  6810. "application/json"
  6811. ],
  6812. "tags": [
  6813. "定制【海商报业】"
  6814. ],
  6815. "summary": "查询\"我的闲置\"单据信息",
  6816. "parameters": [
  6817. {
  6818. "type": "integer",
  6819. "description": "页码",
  6820. "name": "page",
  6821. "in": "query"
  6822. },
  6823. {
  6824. "type": "integer",
  6825. "description": "每页条数",
  6826. "name": "pagesize",
  6827. "in": "query"
  6828. },
  6829. {
  6830. "type": "string",
  6831. "description": "资金账户列表,格式:1,2,3",
  6832. "name": "accountIDs",
  6833. "in": "query",
  6834. "required": true
  6835. },
  6836. {
  6837. "type": "integer",
  6838. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6839. "name": "orderType",
  6840. "in": "query"
  6841. }
  6842. ],
  6843. "responses": {
  6844. "200": {
  6845. "description": "OK",
  6846. "schema": {
  6847. "$ref": "#/definitions/models.HsbySellMyDetail"
  6848. }
  6849. },
  6850. "500": {
  6851. "description": "Internal Server Error",
  6852. "schema": {
  6853. "$ref": "#/definitions/app.Response"
  6854. }
  6855. }
  6856. }
  6857. }
  6858. },
  6859. "/HSBY/QueryHsbyTopGoodses": {
  6860. "get": {
  6861. "security": [
  6862. {
  6863. "ApiKeyAuth": []
  6864. }
  6865. ],
  6866. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6867. "produces": [
  6868. "application/json"
  6869. ],
  6870. "tags": [
  6871. "定制【海商报业】"
  6872. ],
  6873. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6874. "parameters": [
  6875. {
  6876. "type": "integer",
  6877. "description": "页码",
  6878. "name": "page",
  6879. "in": "query"
  6880. },
  6881. {
  6882. "type": "integer",
  6883. "description": "每页条数",
  6884. "name": "pagesize",
  6885. "in": "query"
  6886. },
  6887. {
  6888. "type": "string",
  6889. "description": "市场ID列表,格式:1,2,3",
  6890. "name": "marketIDs",
  6891. "in": "query",
  6892. "required": true
  6893. },
  6894. {
  6895. "type": "integer",
  6896. "description": "目的地(省)ID",
  6897. "name": "descProvinceID",
  6898. "in": "query"
  6899. },
  6900. {
  6901. "type": "integer",
  6902. "description": "目的地(市)ID",
  6903. "name": "descCityID",
  6904. "in": "query"
  6905. }
  6906. ],
  6907. "responses": {
  6908. "200": {
  6909. "description": "OK",
  6910. "schema": {
  6911. "$ref": "#/definitions/models.HsbyTopGoods"
  6912. }
  6913. },
  6914. "500": {
  6915. "description": "Internal Server Error",
  6916. "schema": {
  6917. "$ref": "#/definitions/app.Response"
  6918. }
  6919. }
  6920. }
  6921. }
  6922. },
  6923. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6924. "get": {
  6925. "security": [
  6926. {
  6927. "ApiKeyAuth": []
  6928. }
  6929. ],
  6930. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6931. "produces": [
  6932. "application/json"
  6933. ],
  6934. "tags": [
  6935. "定制【海商报业】"
  6936. ],
  6937. "summary": "查询游客三级市场(商城)商品信息详情",
  6938. "parameters": [
  6939. {
  6940. "type": "integer",
  6941. "description": "商品ID",
  6942. "name": "goodsID",
  6943. "in": "query",
  6944. "required": true
  6945. }
  6946. ],
  6947. "responses": {
  6948. "200": {
  6949. "description": "OK",
  6950. "schema": {
  6951. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6952. }
  6953. },
  6954. "500": {
  6955. "description": "Internal Server Error",
  6956. "schema": {
  6957. "$ref": "#/definitions/app.Response"
  6958. }
  6959. }
  6960. }
  6961. }
  6962. },
  6963. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6964. "get": {
  6965. "security": [
  6966. {
  6967. "ApiKeyAuth": []
  6968. }
  6969. ],
  6970. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6971. "produces": [
  6972. "application/json"
  6973. ],
  6974. "tags": [
  6975. "定制【海商报业】"
  6976. ],
  6977. "summary": "查询游客特卖商品列表(三级商城)",
  6978. "parameters": [
  6979. {
  6980. "type": "integer",
  6981. "description": "页码",
  6982. "name": "page",
  6983. "in": "query"
  6984. },
  6985. {
  6986. "type": "integer",
  6987. "description": "每页条数",
  6988. "name": "pagesize",
  6989. "in": "query"
  6990. },
  6991. {
  6992. "type": "string",
  6993. "description": "市场ID列表,格式:1,2,3",
  6994. "name": "marketIDs",
  6995. "in": "query",
  6996. "required": true
  6997. },
  6998. {
  6999. "type": "integer",
  7000. "description": "类别ID",
  7001. "name": "categoryID",
  7002. "in": "query"
  7003. },
  7004. {
  7005. "type": "string",
  7006. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7007. "name": "goodsIDs",
  7008. "in": "query"
  7009. }
  7010. ],
  7011. "responses": {
  7012. "200": {
  7013. "description": "OK",
  7014. "schema": {
  7015. "$ref": "#/definitions/models.HsbyMarketGoods"
  7016. }
  7017. },
  7018. "500": {
  7019. "description": "Internal Server Error",
  7020. "schema": {
  7021. "$ref": "#/definitions/app.Response"
  7022. }
  7023. }
  7024. }
  7025. }
  7026. },
  7027. "/HSBY/QueryMyCollectionOrders": {
  7028. "get": {
  7029. "security": [
  7030. {
  7031. "ApiKeyAuth": []
  7032. }
  7033. ],
  7034. "produces": [
  7035. "application/json"
  7036. ],
  7037. "tags": [
  7038. "定制【海商报业】"
  7039. ],
  7040. "summary": "我的闲置中收款信息查询",
  7041. "parameters": [
  7042. {
  7043. "type": "integer",
  7044. "description": "页码",
  7045. "name": "page",
  7046. "in": "query"
  7047. },
  7048. {
  7049. "type": "integer",
  7050. "description": "每页条数",
  7051. "name": "pagesize",
  7052. "in": "query"
  7053. },
  7054. {
  7055. "type": "string",
  7056. "description": "资金账户,格式:1,2,3",
  7057. "name": "accountIDs",
  7058. "in": "query",
  7059. "required": true
  7060. }
  7061. ],
  7062. "responses": {
  7063. "200": {
  7064. "description": "OK",
  7065. "schema": {
  7066. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7067. }
  7068. },
  7069. "500": {
  7070. "description": "Internal Server Error",
  7071. "schema": {
  7072. "$ref": "#/definitions/app.Response"
  7073. }
  7074. }
  7075. }
  7076. }
  7077. },
  7078. "/HSBY/QueryMyCouponHolds": {
  7079. "get": {
  7080. "security": [
  7081. {
  7082. "ApiKeyAuth": []
  7083. }
  7084. ],
  7085. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7086. "produces": [
  7087. "application/json"
  7088. ],
  7089. "tags": [
  7090. "定制【海商报业】"
  7091. ],
  7092. "summary": "我的优惠卷持仓查询",
  7093. "parameters": [
  7094. {
  7095. "type": "string",
  7096. "description": "资金账户列表,格式:1,2,3",
  7097. "name": "accountIDs",
  7098. "in": "query",
  7099. "required": true
  7100. },
  7101. {
  7102. "type": "string",
  7103. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7104. "name": "holdStatus",
  7105. "in": "query"
  7106. }
  7107. ],
  7108. "responses": {
  7109. "200": {
  7110. "description": "OK",
  7111. "schema": {
  7112. "$ref": "#/definitions/models.MyCouponHold"
  7113. }
  7114. },
  7115. "500": {
  7116. "description": "Internal Server Error",
  7117. "schema": {
  7118. "$ref": "#/definitions/app.Response"
  7119. }
  7120. }
  7121. }
  7122. }
  7123. },
  7124. "/HSBY/QueryMyCoupons": {
  7125. "get": {
  7126. "security": [
  7127. {
  7128. "ApiKeyAuth": []
  7129. }
  7130. ],
  7131. "produces": [
  7132. "application/json"
  7133. ],
  7134. "tags": [
  7135. "定制【海商报业】"
  7136. ],
  7137. "summary": "我的优惠卷查询",
  7138. "parameters": [
  7139. {
  7140. "type": "string",
  7141. "description": "资金账户列表,格式:1,2,3",
  7142. "name": "accountIDs",
  7143. "in": "query",
  7144. "required": true
  7145. },
  7146. {
  7147. "type": "integer",
  7148. "description": "商品ID, 一般与sellUserID配套传入",
  7149. "name": "goodsID",
  7150. "in": "query"
  7151. },
  7152. {
  7153. "type": "integer",
  7154. "description": "卖方UserID",
  7155. "name": "sellUserID",
  7156. "in": "query"
  7157. }
  7158. ],
  7159. "responses": {
  7160. "200": {
  7161. "description": "OK",
  7162. "schema": {
  7163. "$ref": "#/definitions/models.MyCoupon"
  7164. }
  7165. },
  7166. "500": {
  7167. "description": "Internal Server Error",
  7168. "schema": {
  7169. "$ref": "#/definitions/app.Response"
  7170. }
  7171. }
  7172. }
  7173. }
  7174. },
  7175. "/HSBY/QueryMyPayOrders": {
  7176. "get": {
  7177. "security": [
  7178. {
  7179. "ApiKeyAuth": []
  7180. }
  7181. ],
  7182. "produces": [
  7183. "application/json"
  7184. ],
  7185. "tags": [
  7186. "定制【海商报业】"
  7187. ],
  7188. "summary": "获取我的订单中待付款信息",
  7189. "parameters": [
  7190. {
  7191. "type": "integer",
  7192. "description": "页码",
  7193. "name": "page",
  7194. "in": "query"
  7195. },
  7196. {
  7197. "type": "integer",
  7198. "description": "每页条数",
  7199. "name": "pagesize",
  7200. "in": "query"
  7201. },
  7202. {
  7203. "type": "string",
  7204. "description": "资金账户列表,格式:1,2,3",
  7205. "name": "accountIDs",
  7206. "in": "query",
  7207. "required": true
  7208. },
  7209. {
  7210. "type": "integer",
  7211. "description": "买方委托单号",
  7212. "name": "buyOrderID",
  7213. "in": "query"
  7214. },
  7215. {
  7216. "type": "integer",
  7217. "description": "卖方委托单号",
  7218. "name": "sellOrderID",
  7219. "in": "query"
  7220. }
  7221. ],
  7222. "responses": {
  7223. "200": {
  7224. "description": "OK",
  7225. "schema": {
  7226. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7227. }
  7228. },
  7229. "500": {
  7230. "description": "Internal Server Error",
  7231. "schema": {
  7232. "$ref": "#/definitions/app.Response"
  7233. }
  7234. }
  7235. }
  7236. }
  7237. },
  7238. "/HSBY/QueryMyUsedCoupon": {
  7239. "get": {
  7240. "security": [
  7241. {
  7242. "ApiKeyAuth": []
  7243. }
  7244. ],
  7245. "produces": [
  7246. "application/json"
  7247. ],
  7248. "tags": [
  7249. "定制【海商报业】"
  7250. ],
  7251. "summary": "已使用优惠卷查询",
  7252. "parameters": [
  7253. {
  7254. "type": "string",
  7255. "description": "资金账户列表,格式:1,2,3",
  7256. "name": "accountIDs",
  7257. "in": "query",
  7258. "required": true
  7259. }
  7260. ],
  7261. "responses": {
  7262. "200": {
  7263. "description": "OK",
  7264. "schema": {
  7265. "$ref": "#/definitions/models.MyUsedCoupon"
  7266. }
  7267. },
  7268. "500": {
  7269. "description": "Internal Server Error",
  7270. "schema": {
  7271. "$ref": "#/definitions/app.Response"
  7272. }
  7273. }
  7274. }
  7275. }
  7276. },
  7277. "/HSBY/QueryProvincesAndCities": {
  7278. "get": {
  7279. "security": [
  7280. {
  7281. "ApiKeyAuth": []
  7282. }
  7283. ],
  7284. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7285. "produces": [
  7286. "application/json"
  7287. ],
  7288. "tags": [
  7289. "定制【海商报业】"
  7290. ],
  7291. "summary": "查询省市信息(不包括区)",
  7292. "parameters": [
  7293. {
  7294. "type": "integer",
  7295. "description": "省ID",
  7296. "name": "provinceID",
  7297. "in": "query"
  7298. }
  7299. ],
  7300. "responses": {
  7301. "200": {
  7302. "description": "OK",
  7303. "schema": {
  7304. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7305. }
  7306. },
  7307. "500": {
  7308. "description": "Internal Server Error",
  7309. "schema": {
  7310. "$ref": "#/definitions/app.Response"
  7311. }
  7312. }
  7313. }
  7314. }
  7315. },
  7316. "/HSBY/SetHsbyMyPackagesStatus": {
  7317. "post": {
  7318. "security": [
  7319. {
  7320. "ApiKeyAuth": []
  7321. }
  7322. ],
  7323. "produces": [
  7324. "application/json"
  7325. ],
  7326. "tags": [
  7327. "定制【海商报业】"
  7328. ],
  7329. "summary": "设置我的包裹已收货状态",
  7330. "parameters": [
  7331. {
  7332. "type": "string",
  7333. "description": "提货单号",
  7334. "name": "takeOrderID",
  7335. "in": "query",
  7336. "required": true
  7337. },
  7338. {
  7339. "type": "integer",
  7340. "description": "资金账号",
  7341. "name": "accountID",
  7342. "in": "query",
  7343. "required": true
  7344. }
  7345. ],
  7346. "responses": {
  7347. "200": {
  7348. "description": "OK",
  7349. "schema": {
  7350. "$ref": "#/definitions/app.Response"
  7351. }
  7352. },
  7353. "500": {
  7354. "description": "Internal Server Error",
  7355. "schema": {
  7356. "$ref": "#/definitions/app.Response"
  7357. }
  7358. }
  7359. }
  7360. }
  7361. },
  7362. "/Market/GetAllExExchanges": {
  7363. "get": {
  7364. "security": [
  7365. {
  7366. "ApiKeyAuth": []
  7367. }
  7368. ],
  7369. "produces": [
  7370. "application/json"
  7371. ],
  7372. "tags": [
  7373. "通用市场"
  7374. ],
  7375. "summary": "获取所有外部交易所信息",
  7376. "responses": {
  7377. "200": {
  7378. "description": "OK",
  7379. "schema": {
  7380. "$ref": "#/definitions/models.Goods"
  7381. }
  7382. },
  7383. "500": {
  7384. "description": "Internal Server Error",
  7385. "schema": {
  7386. "$ref": "#/definitions/app.Response"
  7387. }
  7388. }
  7389. }
  7390. }
  7391. },
  7392. "/Market/QueryGoodsesByLoginID": {
  7393. "get": {
  7394. "security": [
  7395. {
  7396. "ApiKeyAuth": []
  7397. }
  7398. ],
  7399. "produces": [
  7400. "application/json"
  7401. ],
  7402. "tags": [
  7403. "通用市场"
  7404. ],
  7405. "summary": "获取登录账号有权限的商品信息",
  7406. "parameters": [
  7407. {
  7408. "type": "integer",
  7409. "description": "登录账号",
  7410. "name": "loginID",
  7411. "in": "query",
  7412. "required": true
  7413. },
  7414. {
  7415. "type": "string",
  7416. "description": "市场ID列表,格式:1,2,3",
  7417. "name": "marketIDs",
  7418. "in": "query"
  7419. }
  7420. ],
  7421. "responses": {
  7422. "200": {
  7423. "description": "OK",
  7424. "schema": {
  7425. "$ref": "#/definitions/models.Goods"
  7426. }
  7427. },
  7428. "500": {
  7429. "description": "Internal Server Error",
  7430. "schema": {
  7431. "$ref": "#/definitions/app.Response"
  7432. }
  7433. }
  7434. }
  7435. }
  7436. },
  7437. "/Market/QueryMarketRun": {
  7438. "get": {
  7439. "security": [
  7440. {
  7441. "ApiKeyAuth": []
  7442. }
  7443. ],
  7444. "produces": [
  7445. "application/json"
  7446. ],
  7447. "tags": [
  7448. "通用市场"
  7449. ],
  7450. "summary": "查询市场运行信息",
  7451. "parameters": [
  7452. {
  7453. "type": "integer",
  7454. "description": "市场ID,不传返回所有",
  7455. "name": "marketID",
  7456. "in": "query"
  7457. }
  7458. ],
  7459. "responses": {
  7460. "200": {
  7461. "description": "OK",
  7462. "schema": {
  7463. "$ref": "#/definitions/models.Marketrun"
  7464. }
  7465. },
  7466. "500": {
  7467. "description": "Internal Server Error",
  7468. "schema": {
  7469. "$ref": "#/definitions/app.Response"
  7470. }
  7471. }
  7472. }
  7473. }
  7474. },
  7475. "/Market/QueryMarketsByLoginID": {
  7476. "get": {
  7477. "security": [
  7478. {
  7479. "ApiKeyAuth": []
  7480. }
  7481. ],
  7482. "produces": [
  7483. "application/json"
  7484. ],
  7485. "tags": [
  7486. "通用市场"
  7487. ],
  7488. "summary": "获取登录账号有权限的市场信息",
  7489. "parameters": [
  7490. {
  7491. "type": "integer",
  7492. "description": "登录账号",
  7493. "name": "loginID",
  7494. "in": "query",
  7495. "required": true
  7496. }
  7497. ],
  7498. "responses": {
  7499. "200": {
  7500. "description": "OK",
  7501. "schema": {
  7502. "$ref": "#/definitions/models.Market"
  7503. }
  7504. },
  7505. "500": {
  7506. "description": "Internal Server Error",
  7507. "schema": {
  7508. "$ref": "#/definitions/app.Response"
  7509. }
  7510. }
  7511. }
  7512. }
  7513. },
  7514. "/Order/QueryHisTradeDetail": {
  7515. "get": {
  7516. "security": [
  7517. {
  7518. "ApiKeyAuth": []
  7519. }
  7520. ],
  7521. "produces": [
  7522. "application/json"
  7523. ],
  7524. "tags": [
  7525. "通用单据"
  7526. ],
  7527. "summary": "历史成交单查询(合约市场)",
  7528. "parameters": [
  7529. {
  7530. "type": "string",
  7531. "description": "资金账户 - 格式:1,2,3",
  7532. "name": "accountID",
  7533. "in": "query",
  7534. "required": true
  7535. },
  7536. {
  7537. "type": "integer",
  7538. "description": "成交单号",
  7539. "name": "tradeID",
  7540. "in": "query"
  7541. },
  7542. {
  7543. "type": "integer",
  7544. "description": "委托单号",
  7545. "name": "orderID",
  7546. "in": "query"
  7547. },
  7548. {
  7549. "type": "integer",
  7550. "description": "商品ID",
  7551. "name": "goodsID",
  7552. "in": "query"
  7553. },
  7554. {
  7555. "type": "string",
  7556. "description": "交易模式 - 格式:1,2,3",
  7557. "name": "tradeMode",
  7558. "in": "query"
  7559. },
  7560. {
  7561. "type": "integer",
  7562. "description": "委托单据类型",
  7563. "name": "buildType",
  7564. "in": "query"
  7565. },
  7566. {
  7567. "type": "string",
  7568. "description": "成交类别 - 格式:1,2,3",
  7569. "name": "tradeType",
  7570. "in": "query"
  7571. },
  7572. {
  7573. "type": "string",
  7574. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7575. "name": "startDate",
  7576. "in": "query"
  7577. },
  7578. {
  7579. "type": "string",
  7580. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7581. "name": "endDate",
  7582. "in": "query"
  7583. }
  7584. ],
  7585. "responses": {
  7586. "200": {
  7587. "description": "OK",
  7588. "schema": {
  7589. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7590. }
  7591. },
  7592. "500": {
  7593. "description": "Internal Server Error",
  7594. "schema": {
  7595. "$ref": "#/definitions/app.Response"
  7596. }
  7597. }
  7598. }
  7599. }
  7600. },
  7601. "/Order/QueryHisTradeOrderDetail": {
  7602. "get": {
  7603. "security": [
  7604. {
  7605. "ApiKeyAuth": []
  7606. }
  7607. ],
  7608. "produces": [
  7609. "application/json"
  7610. ],
  7611. "tags": [
  7612. "通用单据"
  7613. ],
  7614. "summary": "历史委托单查询请求(合约市场)",
  7615. "parameters": [
  7616. {
  7617. "type": "string",
  7618. "description": "资金账户 - 格式:1,2,3",
  7619. "name": "accountID",
  7620. "in": "query",
  7621. "required": true
  7622. },
  7623. {
  7624. "type": "string",
  7625. "description": "交易模式 - 格式:1,2,3",
  7626. "name": "tradeMode",
  7627. "in": "query"
  7628. },
  7629. {
  7630. "type": "string",
  7631. "description": "委托状态 - 格式:1,2,3",
  7632. "name": "orderStatus",
  7633. "in": "query"
  7634. },
  7635. {
  7636. "type": "integer",
  7637. "description": "委托单号",
  7638. "name": "orderID",
  7639. "in": "query"
  7640. },
  7641. {
  7642. "type": "string",
  7643. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7644. "name": "startDate",
  7645. "in": "query"
  7646. },
  7647. {
  7648. "type": "string",
  7649. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7650. "name": "endDate",
  7651. "in": "query"
  7652. }
  7653. ],
  7654. "responses": {
  7655. "200": {
  7656. "description": "OK",
  7657. "schema": {
  7658. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7659. }
  7660. },
  7661. "500": {
  7662. "description": "Internal Server Error",
  7663. "schema": {
  7664. "$ref": "#/definitions/app.Response"
  7665. }
  7666. }
  7667. }
  7668. }
  7669. },
  7670. "/Order/QueryTradeDetail": {
  7671. "get": {
  7672. "security": [
  7673. {
  7674. "ApiKeyAuth": []
  7675. }
  7676. ],
  7677. "produces": [
  7678. "application/json"
  7679. ],
  7680. "tags": [
  7681. "通用单据"
  7682. ],
  7683. "summary": "成交单查询(合约市场)",
  7684. "parameters": [
  7685. {
  7686. "type": "string",
  7687. "description": "资金账户 - 格式:1,2,3",
  7688. "name": "accountID",
  7689. "in": "query",
  7690. "required": true
  7691. },
  7692. {
  7693. "type": "integer",
  7694. "description": "成交单号",
  7695. "name": "tradeID",
  7696. "in": "query"
  7697. },
  7698. {
  7699. "type": "integer",
  7700. "description": "委托单号",
  7701. "name": "orderID",
  7702. "in": "query"
  7703. },
  7704. {
  7705. "type": "string",
  7706. "description": "交易模式 - 格式:1,2,3",
  7707. "name": "tradeMode",
  7708. "in": "query"
  7709. },
  7710. {
  7711. "type": "integer",
  7712. "description": "委托单据类型",
  7713. "name": "buildType",
  7714. "in": "query"
  7715. },
  7716. {
  7717. "type": "string",
  7718. "description": "成交类别 - 格式:1,2,3",
  7719. "name": "tradeType",
  7720. "in": "query"
  7721. },
  7722. {
  7723. "type": "integer",
  7724. "description": "商品ID",
  7725. "name": "goodsID",
  7726. "in": "query"
  7727. }
  7728. ],
  7729. "responses": {
  7730. "200": {
  7731. "description": "OK",
  7732. "schema": {
  7733. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7734. }
  7735. },
  7736. "500": {
  7737. "description": "Internal Server Error",
  7738. "schema": {
  7739. "$ref": "#/definitions/app.Response"
  7740. }
  7741. }
  7742. }
  7743. }
  7744. },
  7745. "/Order/QueryTradeHolderDetail": {
  7746. "get": {
  7747. "security": [
  7748. {
  7749. "ApiKeyAuth": []
  7750. }
  7751. ],
  7752. "produces": [
  7753. "application/json"
  7754. ],
  7755. "tags": [
  7756. "通用单据"
  7757. ],
  7758. "summary": "查询持仓明细",
  7759. "parameters": [
  7760. {
  7761. "type": "integer",
  7762. "description": "用户id",
  7763. "name": "userid",
  7764. "in": "query"
  7765. },
  7766. {
  7767. "type": "string",
  7768. "description": "资金账号, 格式 1,2,3",
  7769. "name": "accids",
  7770. "in": "query"
  7771. },
  7772. {
  7773. "type": "string",
  7774. "description": "交易模式, 格式 1,2,3",
  7775. "name": "trademodes",
  7776. "in": "query"
  7777. },
  7778. {
  7779. "type": "string",
  7780. "description": "市场id, 格式 1,2,3",
  7781. "name": "marketids",
  7782. "in": "query"
  7783. },
  7784. {
  7785. "type": "integer",
  7786. "description": "商品id",
  7787. "name": "goodsid",
  7788. "in": "query"
  7789. },
  7790. {
  7791. "type": "integer",
  7792. "description": "买卖方向 0-买 1-卖",
  7793. "name": "buyorsell",
  7794. "in": "query"
  7795. }
  7796. ],
  7797. "responses": {
  7798. "200": {
  7799. "description": "OK",
  7800. "schema": {
  7801. "type": "array",
  7802. "items": {
  7803. "$ref": "#/definitions/models.TradeHolderDetail"
  7804. }
  7805. }
  7806. },
  7807. "500": {
  7808. "description": "Internal Server Error",
  7809. "schema": {
  7810. "$ref": "#/definitions/app.Response"
  7811. }
  7812. }
  7813. }
  7814. }
  7815. },
  7816. "/Order/QueryTradeOrderDetail": {
  7817. "get": {
  7818. "security": [
  7819. {
  7820. "ApiKeyAuth": []
  7821. }
  7822. ],
  7823. "produces": [
  7824. "application/json"
  7825. ],
  7826. "tags": [
  7827. "通用单据"
  7828. ],
  7829. "summary": "委托单查询请求(合约市场)",
  7830. "parameters": [
  7831. {
  7832. "type": "string",
  7833. "description": "资金账户 - 格式:1,2,3",
  7834. "name": "accountID",
  7835. "in": "query",
  7836. "required": true
  7837. },
  7838. {
  7839. "type": "string",
  7840. "description": "交易模式 - 格式:1,2,3",
  7841. "name": "tradeMode",
  7842. "in": "query"
  7843. },
  7844. {
  7845. "type": "string",
  7846. "description": "委托状态 - 格式:1,2,3",
  7847. "name": "orderStatus",
  7848. "in": "query"
  7849. },
  7850. {
  7851. "type": "integer",
  7852. "description": "委托单号",
  7853. "name": "orderID",
  7854. "in": "query"
  7855. }
  7856. ],
  7857. "responses": {
  7858. "200": {
  7859. "description": "OK",
  7860. "schema": {
  7861. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7862. }
  7863. },
  7864. "500": {
  7865. "description": "Internal Server Error",
  7866. "schema": {
  7867. "$ref": "#/definitions/app.Response"
  7868. }
  7869. }
  7870. }
  7871. }
  7872. },
  7873. "/Order/QueryTradePosition": {
  7874. "get": {
  7875. "security": [
  7876. {
  7877. "ApiKeyAuth": []
  7878. }
  7879. ],
  7880. "produces": [
  7881. "application/json"
  7882. ],
  7883. "tags": [
  7884. "通用单据"
  7885. ],
  7886. "summary": "持仓汇总查询(合约市场)",
  7887. "parameters": [
  7888. {
  7889. "type": "string",
  7890. "description": "资金账户 - 格式:1,2,3",
  7891. "name": "accountID",
  7892. "in": "query",
  7893. "required": true
  7894. },
  7895. {
  7896. "type": "string",
  7897. "description": "交易模式 - 格式:1,2,3",
  7898. "name": "tradeMode",
  7899. "in": "query"
  7900. }
  7901. ],
  7902. "responses": {
  7903. "200": {
  7904. "description": "OK",
  7905. "schema": {
  7906. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7907. }
  7908. },
  7909. "500": {
  7910. "description": "Internal Server Error",
  7911. "schema": {
  7912. "$ref": "#/definitions/app.Response"
  7913. }
  7914. }
  7915. }
  7916. }
  7917. },
  7918. "/Qhj/QueryAccountInOutApply": {
  7919. "get": {
  7920. "security": [
  7921. {
  7922. "ApiKeyAuth": []
  7923. }
  7924. ],
  7925. "produces": [
  7926. "application/json"
  7927. ],
  7928. "tags": [
  7929. "大连千海金"
  7930. ],
  7931. "summary": "查询充值提现",
  7932. "parameters": [
  7933. {
  7934. "type": "integer",
  7935. "description": "用户ID",
  7936. "name": "userid",
  7937. "in": "query",
  7938. "required": true
  7939. },
  7940. {
  7941. "type": "string",
  7942. "description": "申请起始日期(格式yyyymmdd)",
  7943. "name": "begindate",
  7944. "in": "query"
  7945. },
  7946. {
  7947. "type": "string",
  7948. "description": "申请截止日期(格式yyyymmdd)",
  7949. "name": "enddate",
  7950. "in": "query"
  7951. },
  7952. {
  7953. "type": "string",
  7954. "description": "模糊搜索名称",
  7955. "name": "likename",
  7956. "in": "query"
  7957. }
  7958. ],
  7959. "responses": {
  7960. "200": {
  7961. "description": "OK",
  7962. "schema": {
  7963. "type": "array",
  7964. "items": {
  7965. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7966. }
  7967. }
  7968. },
  7969. "500": {
  7970. "description": "Internal Server Error",
  7971. "schema": {
  7972. "$ref": "#/definitions/app.Response"
  7973. }
  7974. }
  7975. }
  7976. }
  7977. },
  7978. "/Qhj/QueryAreaFinanceConfig": {
  7979. "get": {
  7980. "security": [
  7981. {
  7982. "ApiKeyAuth": []
  7983. }
  7984. ],
  7985. "produces": [
  7986. "application/json"
  7987. ],
  7988. "tags": [
  7989. "大连千海金"
  7990. ],
  7991. "summary": "查询企业配置表",
  7992. "parameters": [
  7993. {
  7994. "type": "integer",
  7995. "description": "机构用户ID 其他做市关系,都设置为 1",
  7996. "name": "userid",
  7997. "in": "query"
  7998. }
  7999. ],
  8000. "responses": {
  8001. "200": {
  8002. "description": "OK",
  8003. "schema": {
  8004. "type": "array",
  8005. "items": {
  8006. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  8007. }
  8008. }
  8009. },
  8010. "500": {
  8011. "description": "Internal Server Error",
  8012. "schema": {
  8013. "$ref": "#/definitions/app.Response"
  8014. }
  8015. }
  8016. }
  8017. }
  8018. },
  8019. "/Qhj/QueryBankAccountSign": {
  8020. "get": {
  8021. "security": [
  8022. {
  8023. "ApiKeyAuth": []
  8024. }
  8025. ],
  8026. "produces": [
  8027. "application/json"
  8028. ],
  8029. "tags": [
  8030. "大连千海金"
  8031. ],
  8032. "summary": "查询签约银行信息(提现账户管理)",
  8033. "parameters": [
  8034. {
  8035. "type": "integer",
  8036. "description": "用户ID",
  8037. "name": "userid",
  8038. "in": "query",
  8039. "required": true
  8040. }
  8041. ],
  8042. "responses": {
  8043. "200": {
  8044. "description": "OK",
  8045. "schema": {
  8046. "type": "array",
  8047. "items": {
  8048. "$ref": "#/definitions/models.QhjBankAccountSign"
  8049. }
  8050. }
  8051. },
  8052. "500": {
  8053. "description": "Internal Server Error",
  8054. "schema": {
  8055. "$ref": "#/definitions/app.Response"
  8056. }
  8057. }
  8058. }
  8059. }
  8060. },
  8061. "/Qhj/QueryBankInfo": {
  8062. "get": {
  8063. "security": [
  8064. {
  8065. "ApiKeyAuth": []
  8066. }
  8067. ],
  8068. "produces": [
  8069. "application/json"
  8070. ],
  8071. "tags": [
  8072. "大连千海金"
  8073. ],
  8074. "summary": "查询开户行",
  8075. "responses": {
  8076. "200": {
  8077. "description": "OK",
  8078. "schema": {
  8079. "type": "array",
  8080. "items": {
  8081. "$ref": "#/definitions/models.QhjBankInfo"
  8082. }
  8083. }
  8084. },
  8085. "500": {
  8086. "description": "Internal Server Error",
  8087. "schema": {
  8088. "$ref": "#/definitions/app.Response"
  8089. }
  8090. }
  8091. }
  8092. }
  8093. },
  8094. "/Qhj/QueryBrokerApply": {
  8095. "get": {
  8096. "security": [
  8097. {
  8098. "ApiKeyAuth": []
  8099. }
  8100. ],
  8101. "produces": [
  8102. "application/json"
  8103. ],
  8104. "tags": [
  8105. "大连千海金"
  8106. ],
  8107. "summary": "查询经纪人申请",
  8108. "parameters": [
  8109. {
  8110. "type": "integer",
  8111. "description": "所属机构ID",
  8112. "name": "userid",
  8113. "in": "query"
  8114. },
  8115. {
  8116. "type": "string",
  8117. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8118. "name": "filterstatus",
  8119. "in": "query"
  8120. }
  8121. ],
  8122. "responses": {
  8123. "200": {
  8124. "description": "OK",
  8125. "schema": {
  8126. "type": "array",
  8127. "items": {
  8128. "$ref": "#/definitions/models.QhjBrokerApply"
  8129. }
  8130. }
  8131. },
  8132. "500": {
  8133. "description": "Internal Server Error",
  8134. "schema": {
  8135. "$ref": "#/definitions/app.Response"
  8136. }
  8137. }
  8138. }
  8139. }
  8140. },
  8141. "/Qhj/QueryBrokerApplyEx": {
  8142. "get": {
  8143. "security": [
  8144. {
  8145. "ApiKeyAuth": []
  8146. }
  8147. ],
  8148. "produces": [
  8149. "application/json"
  8150. ],
  8151. "tags": [
  8152. "大连千海金"
  8153. ],
  8154. "summary": "查询经纪人信息和申请记录",
  8155. "parameters": [
  8156. {
  8157. "type": "integer",
  8158. "description": "所属机构ID",
  8159. "name": "userid",
  8160. "in": "query"
  8161. }
  8162. ],
  8163. "responses": {
  8164. "200": {
  8165. "description": "OK",
  8166. "schema": {
  8167. "type": "array",
  8168. "items": {
  8169. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  8170. }
  8171. }
  8172. },
  8173. "500": {
  8174. "description": "Internal Server Error",
  8175. "schema": {
  8176. "$ref": "#/definitions/app.Response"
  8177. }
  8178. }
  8179. }
  8180. }
  8181. },
  8182. "/Qhj/QueryBrokerRewardLog": {
  8183. "get": {
  8184. "security": [
  8185. {
  8186. "ApiKeyAuth": []
  8187. }
  8188. ],
  8189. "produces": [
  8190. "application/json"
  8191. ],
  8192. "tags": [
  8193. "大连千海金"
  8194. ],
  8195. "summary": "查询奖励流水(我的奖励)",
  8196. "parameters": [
  8197. {
  8198. "type": "integer",
  8199. "description": "用户ID",
  8200. "name": "userid",
  8201. "in": "query",
  8202. "required": true
  8203. },
  8204. {
  8205. "type": "string",
  8206. "description": "开始交易日(yyyymmdd)",
  8207. "name": "begindate",
  8208. "in": "query"
  8209. },
  8210. {
  8211. "type": "string",
  8212. "description": "结束交易日(yyyymmdd)",
  8213. "name": "enddate",
  8214. "in": "query"
  8215. }
  8216. ],
  8217. "responses": {
  8218. "200": {
  8219. "description": "OK",
  8220. "schema": {
  8221. "type": "array",
  8222. "items": {
  8223. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  8224. }
  8225. }
  8226. },
  8227. "500": {
  8228. "description": "Internal Server Error",
  8229. "schema": {
  8230. "$ref": "#/definitions/app.Response"
  8231. }
  8232. }
  8233. }
  8234. }
  8235. },
  8236. "/Qhj/QueryContract": {
  8237. "get": {
  8238. "security": [
  8239. {
  8240. "ApiKeyAuth": []
  8241. }
  8242. ],
  8243. "produces": [
  8244. "application/json"
  8245. ],
  8246. "tags": [
  8247. "大连千海金"
  8248. ],
  8249. "summary": "查询融资明细(合同)",
  8250. "parameters": [
  8251. {
  8252. "type": "integer",
  8253. "description": "用户ID",
  8254. "name": "userid",
  8255. "in": "query"
  8256. },
  8257. {
  8258. "type": "integer",
  8259. "description": "scf合同id",
  8260. "name": "scfcontractid",
  8261. "in": "query"
  8262. }
  8263. ],
  8264. "responses": {
  8265. "200": {
  8266. "description": "OK",
  8267. "schema": {
  8268. "type": "array",
  8269. "items": {
  8270. "$ref": "#/definitions/models.QhjContract"
  8271. }
  8272. }
  8273. },
  8274. "500": {
  8275. "description": "Internal Server Error",
  8276. "schema": {
  8277. "$ref": "#/definitions/app.Response"
  8278. }
  8279. }
  8280. }
  8281. }
  8282. },
  8283. "/Qhj/QueryContractLog": {
  8284. "get": {
  8285. "security": [
  8286. {
  8287. "ApiKeyAuth": []
  8288. }
  8289. ],
  8290. "produces": [
  8291. "application/json"
  8292. ],
  8293. "tags": [
  8294. "大连千海金"
  8295. ],
  8296. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  8297. "parameters": [
  8298. {
  8299. "type": "integer",
  8300. "description": "scf合同id",
  8301. "name": "scfcontractid",
  8302. "in": "query",
  8303. "required": true
  8304. },
  8305. {
  8306. "type": "string",
  8307. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  8308. "name": "amounttype",
  8309. "in": "query"
  8310. }
  8311. ],
  8312. "responses": {
  8313. "200": {
  8314. "description": "OK",
  8315. "schema": {
  8316. "type": "array",
  8317. "items": {
  8318. "$ref": "#/definitions/models.QhjContractLog"
  8319. }
  8320. }
  8321. },
  8322. "500": {
  8323. "description": "Internal Server Error",
  8324. "schema": {
  8325. "$ref": "#/definitions/app.Response"
  8326. }
  8327. }
  8328. }
  8329. }
  8330. },
  8331. "/Qhj/QueryCusBankSignBank": {
  8332. "get": {
  8333. "security": [
  8334. {
  8335. "ApiKeyAuth": []
  8336. }
  8337. ],
  8338. "produces": [
  8339. "application/json"
  8340. ],
  8341. "tags": [
  8342. "大连千海金"
  8343. ],
  8344. "summary": "查询托管银行",
  8345. "responses": {
  8346. "200": {
  8347. "description": "OK",
  8348. "schema": {
  8349. "type": "array",
  8350. "items": {
  8351. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  8352. }
  8353. }
  8354. },
  8355. "500": {
  8356. "description": "Internal Server Error",
  8357. "schema": {
  8358. "$ref": "#/definitions/app.Response"
  8359. }
  8360. }
  8361. }
  8362. }
  8363. },
  8364. "/Qhj/QueryCustomerInfo": {
  8365. "get": {
  8366. "security": [
  8367. {
  8368. "ApiKeyAuth": []
  8369. }
  8370. ],
  8371. "produces": [
  8372. "application/json"
  8373. ],
  8374. "tags": [
  8375. "大连千海金"
  8376. ],
  8377. "summary": "查询客户资料",
  8378. "parameters": [
  8379. {
  8380. "type": "integer",
  8381. "description": "用户ID",
  8382. "name": "userid",
  8383. "in": "query",
  8384. "required": true
  8385. },
  8386. {
  8387. "type": "integer",
  8388. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8389. "name": "querytype",
  8390. "in": "query",
  8391. "required": true
  8392. },
  8393. {
  8394. "type": "integer",
  8395. "description": "客户类型 1-个人 2-企业",
  8396. "name": "userinfotype",
  8397. "in": "query"
  8398. },
  8399. {
  8400. "type": "string",
  8401. "description": "客户名称(模糊匹配)",
  8402. "name": "customername",
  8403. "in": "query"
  8404. },
  8405. {
  8406. "type": "string",
  8407. "description": "昵称(模糊匹配)",
  8408. "name": "nickname",
  8409. "in": "query"
  8410. },
  8411. {
  8412. "type": "integer",
  8413. "description": "是否包含子级 1-包含",
  8414. "name": "includesub",
  8415. "in": "query"
  8416. }
  8417. ],
  8418. "responses": {
  8419. "200": {
  8420. "description": "OK",
  8421. "schema": {
  8422. "type": "array",
  8423. "items": {
  8424. "$ref": "#/definitions/models.QhjCustomer"
  8425. }
  8426. }
  8427. },
  8428. "500": {
  8429. "description": "Internal Server Error",
  8430. "schema": {
  8431. "$ref": "#/definitions/app.Response"
  8432. }
  8433. }
  8434. }
  8435. }
  8436. },
  8437. "/Qhj/QueryGoodsEx": {
  8438. "get": {
  8439. "security": [
  8440. {
  8441. "ApiKeyAuth": []
  8442. }
  8443. ],
  8444. "produces": [
  8445. "application/json"
  8446. ],
  8447. "tags": [
  8448. "大连千海金"
  8449. ],
  8450. "summary": "交易商品扩展表",
  8451. "parameters": [
  8452. {
  8453. "type": "integer",
  8454. "description": "商品id",
  8455. "name": "goodsid",
  8456. "in": "query"
  8457. }
  8458. ],
  8459. "responses": {
  8460. "200": {
  8461. "description": "OK",
  8462. "schema": {
  8463. "type": "array",
  8464. "items": {
  8465. "$ref": "#/definitions/models.Qhjgoodsex"
  8466. }
  8467. }
  8468. },
  8469. "500": {
  8470. "description": "Internal Server Error",
  8471. "schema": {
  8472. "$ref": "#/definitions/app.Response"
  8473. }
  8474. }
  8475. }
  8476. }
  8477. },
  8478. "/Qhj/QueryMyTeam": {
  8479. "get": {
  8480. "security": [
  8481. {
  8482. "ApiKeyAuth": []
  8483. }
  8484. ],
  8485. "produces": [
  8486. "application/json"
  8487. ],
  8488. "tags": [
  8489. "大连千海金"
  8490. ],
  8491. "summary": "查询我的团队",
  8492. "parameters": [
  8493. {
  8494. "type": "integer",
  8495. "description": "用户ID",
  8496. "name": "userid",
  8497. "in": "query",
  8498. "required": true
  8499. }
  8500. ],
  8501. "responses": {
  8502. "200": {
  8503. "description": "OK",
  8504. "schema": {
  8505. "type": "array",
  8506. "items": {
  8507. "$ref": "#/definitions/models.QhjMyTeamEx"
  8508. }
  8509. }
  8510. },
  8511. "500": {
  8512. "description": "Internal Server Error",
  8513. "schema": {
  8514. "$ref": "#/definitions/app.Response"
  8515. }
  8516. }
  8517. }
  8518. }
  8519. },
  8520. "/Qhj/QueryMyTeamOrder": {
  8521. "get": {
  8522. "security": [
  8523. {
  8524. "ApiKeyAuth": []
  8525. }
  8526. ],
  8527. "produces": [
  8528. "application/json"
  8529. ],
  8530. "tags": [
  8531. "大连千海金"
  8532. ],
  8533. "summary": "查询团队订单(我的团队/团队订单)",
  8534. "parameters": [
  8535. {
  8536. "type": "integer",
  8537. "description": "页码",
  8538. "name": "page",
  8539. "in": "query"
  8540. },
  8541. {
  8542. "type": "integer",
  8543. "description": "每页条数",
  8544. "name": "pagesize",
  8545. "in": "query"
  8546. },
  8547. {
  8548. "type": "integer",
  8549. "description": "用户ID",
  8550. "name": "userid",
  8551. "in": "query",
  8552. "required": true
  8553. },
  8554. {
  8555. "type": "integer",
  8556. "description": "交易模式",
  8557. "name": "trademode",
  8558. "in": "query"
  8559. },
  8560. {
  8561. "type": "string",
  8562. "description": "名称(模糊搜索账户)",
  8563. "name": "filtername",
  8564. "in": "query"
  8565. }
  8566. ],
  8567. "responses": {
  8568. "200": {
  8569. "description": "OK",
  8570. "schema": {
  8571. "type": "array",
  8572. "items": {
  8573. "$ref": "#/definitions/models.QhjTeamOrder"
  8574. }
  8575. }
  8576. },
  8577. "500": {
  8578. "description": "Internal Server Error",
  8579. "schema": {
  8580. "$ref": "#/definitions/app.Response"
  8581. }
  8582. }
  8583. }
  8584. }
  8585. },
  8586. "/Qhj/QueryParentAreaList": {
  8587. "get": {
  8588. "security": [
  8589. {
  8590. "ApiKeyAuth": []
  8591. }
  8592. ],
  8593. "produces": [
  8594. "application/json"
  8595. ],
  8596. "tags": [
  8597. "大连千海金"
  8598. ],
  8599. "summary": "查询所属机构列表",
  8600. "parameters": [
  8601. {
  8602. "type": "integer",
  8603. "description": "用户ID",
  8604. "name": "userid",
  8605. "in": "query",
  8606. "required": true
  8607. }
  8608. ],
  8609. "responses": {
  8610. "200": {
  8611. "description": "OK",
  8612. "schema": {
  8613. "type": "array",
  8614. "items": {
  8615. "$ref": "#/definitions/models.QhjParentAreaList"
  8616. }
  8617. }
  8618. },
  8619. "500": {
  8620. "description": "Internal Server Error",
  8621. "schema": {
  8622. "$ref": "#/definitions/app.Response"
  8623. }
  8624. }
  8625. }
  8626. }
  8627. },
  8628. "/Qhj/QueryPayOrder": {
  8629. "get": {
  8630. "security": [
  8631. {
  8632. "ApiKeyAuth": []
  8633. }
  8634. ],
  8635. "produces": [
  8636. "application/json"
  8637. ],
  8638. "tags": [
  8639. "大连千海金"
  8640. ],
  8641. "summary": "查询待付款单据",
  8642. "parameters": [
  8643. {
  8644. "type": "integer",
  8645. "description": "资金账号id",
  8646. "name": "accountid",
  8647. "in": "query",
  8648. "required": true
  8649. },
  8650. {
  8651. "type": "integer",
  8652. "description": "成交单号",
  8653. "name": "tradeid",
  8654. "in": "query"
  8655. },
  8656. {
  8657. "type": "string",
  8658. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8659. "name": "payflag",
  8660. "in": "query"
  8661. }
  8662. ],
  8663. "responses": {
  8664. "200": {
  8665. "description": "OK",
  8666. "schema": {
  8667. "type": "array",
  8668. "items": {
  8669. "$ref": "#/definitions/models.QhjPayOrder"
  8670. }
  8671. }
  8672. },
  8673. "500": {
  8674. "description": "Internal Server Error",
  8675. "schema": {
  8676. "$ref": "#/definitions/app.Response"
  8677. }
  8678. }
  8679. }
  8680. }
  8681. },
  8682. "/Qhj/QueryPickArea": {
  8683. "get": {
  8684. "security": [
  8685. {
  8686. "ApiKeyAuth": []
  8687. }
  8688. ],
  8689. "produces": [
  8690. "application/json"
  8691. ],
  8692. "tags": [
  8693. "大连千海金"
  8694. ],
  8695. "summary": "查询提货门店",
  8696. "parameters": [
  8697. {
  8698. "type": "integer",
  8699. "description": "用户ID",
  8700. "name": "userid",
  8701. "in": "query"
  8702. }
  8703. ],
  8704. "responses": {
  8705. "200": {
  8706. "description": "OK",
  8707. "schema": {
  8708. "type": "array",
  8709. "items": {
  8710. "$ref": "#/definitions/models.QhjPickArea"
  8711. }
  8712. }
  8713. },
  8714. "500": {
  8715. "description": "Internal Server Error",
  8716. "schema": {
  8717. "$ref": "#/definitions/app.Response"
  8718. }
  8719. }
  8720. }
  8721. }
  8722. },
  8723. "/Qhj/QueryPickGoods": {
  8724. "get": {
  8725. "security": [
  8726. {
  8727. "ApiKeyAuth": []
  8728. }
  8729. ],
  8730. "produces": [
  8731. "application/json"
  8732. ],
  8733. "tags": [
  8734. "大连千海金"
  8735. ],
  8736. "summary": "查询提货商品",
  8737. "parameters": [
  8738. {
  8739. "type": "integer",
  8740. "description": "交易商品id",
  8741. "name": "goodsid",
  8742. "in": "query",
  8743. "required": true
  8744. },
  8745. {
  8746. "type": "string",
  8747. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8748. "name": "status",
  8749. "in": "query"
  8750. }
  8751. ],
  8752. "responses": {
  8753. "200": {
  8754. "description": "OK",
  8755. "schema": {
  8756. "type": "array",
  8757. "items": {
  8758. "$ref": "#/definitions/models.QhjPickGoods"
  8759. }
  8760. }
  8761. },
  8762. "500": {
  8763. "description": "Internal Server Error",
  8764. "schema": {
  8765. "$ref": "#/definitions/app.Response"
  8766. }
  8767. }
  8768. }
  8769. }
  8770. },
  8771. "/Qhj/QueryRSTriggerLog": {
  8772. "get": {
  8773. "security": [
  8774. {
  8775. "ApiKeyAuth": []
  8776. }
  8777. ],
  8778. "produces": [
  8779. "application/json"
  8780. ],
  8781. "tags": [
  8782. "大连千海金"
  8783. ],
  8784. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8785. "parameters": [
  8786. {
  8787. "type": "integer",
  8788. "description": "用户ID",
  8789. "name": "userid",
  8790. "in": "query"
  8791. },
  8792. {
  8793. "type": "integer",
  8794. "description": "定投策略id",
  8795. "name": "regularlystrategyid",
  8796. "in": "query"
  8797. },
  8798. {
  8799. "type": "integer",
  8800. "description": "商品id",
  8801. "name": "goodsid",
  8802. "in": "query"
  8803. },
  8804. {
  8805. "type": "string",
  8806. "description": "开始交易日(yyyymmdd)",
  8807. "name": "begindate",
  8808. "in": "query"
  8809. },
  8810. {
  8811. "type": "string",
  8812. "description": "结束交易日(yyyymmdd)",
  8813. "name": "enddate",
  8814. "in": "query"
  8815. },
  8816. {
  8817. "type": "string",
  8818. "description": "名称(模糊搜索账户)",
  8819. "name": "filtername",
  8820. "in": "query"
  8821. }
  8822. ],
  8823. "responses": {
  8824. "200": {
  8825. "description": "OK",
  8826. "schema": {
  8827. "type": "array",
  8828. "items": {
  8829. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8830. }
  8831. }
  8832. },
  8833. "500": {
  8834. "description": "Internal Server Error",
  8835. "schema": {
  8836. "$ref": "#/definitions/app.Response"
  8837. }
  8838. }
  8839. }
  8840. }
  8841. },
  8842. "/Qhj/QueryRStrategy": {
  8843. "get": {
  8844. "security": [
  8845. {
  8846. "ApiKeyAuth": []
  8847. }
  8848. ],
  8849. "produces": [
  8850. "application/json"
  8851. ],
  8852. "tags": [
  8853. "大连千海金"
  8854. ],
  8855. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8856. "parameters": [
  8857. {
  8858. "type": "integer",
  8859. "description": "用户ID",
  8860. "name": "userid",
  8861. "in": "query"
  8862. },
  8863. {
  8864. "type": "integer",
  8865. "description": "商品id",
  8866. "name": "goodsid",
  8867. "in": "query"
  8868. },
  8869. {
  8870. "type": "string",
  8871. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8872. "name": "status",
  8873. "in": "query"
  8874. },
  8875. {
  8876. "type": "string",
  8877. "description": "名称(模糊搜索账户)",
  8878. "name": "filtername",
  8879. "in": "query"
  8880. }
  8881. ],
  8882. "responses": {
  8883. "200": {
  8884. "description": "OK",
  8885. "schema": {
  8886. "type": "array",
  8887. "items": {
  8888. "$ref": "#/definitions/models.QhjRStrategy"
  8889. }
  8890. }
  8891. },
  8892. "500": {
  8893. "description": "Internal Server Error",
  8894. "schema": {
  8895. "$ref": "#/definitions/app.Response"
  8896. }
  8897. }
  8898. }
  8899. }
  8900. },
  8901. "/Qhj/QueryReckonPriceLog": {
  8902. "get": {
  8903. "security": [
  8904. {
  8905. "ApiKeyAuth": []
  8906. }
  8907. ],
  8908. "produces": [
  8909. "application/json"
  8910. ],
  8911. "tags": [
  8912. "大连千海金"
  8913. ],
  8914. "summary": "查询定投价(结算价)",
  8915. "parameters": [
  8916. {
  8917. "type": "integer",
  8918. "description": "商品ID",
  8919. "name": "goodsid",
  8920. "in": "query"
  8921. },
  8922. {
  8923. "type": "string",
  8924. "description": "交易日 格式(yyyymmdd)",
  8925. "name": "tradedate",
  8926. "in": "query"
  8927. }
  8928. ],
  8929. "responses": {
  8930. "200": {
  8931. "description": "OK",
  8932. "schema": {
  8933. "type": "array",
  8934. "items": {
  8935. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8936. }
  8937. }
  8938. },
  8939. "500": {
  8940. "description": "Internal Server Error",
  8941. "schema": {
  8942. "$ref": "#/definitions/app.Response"
  8943. }
  8944. }
  8945. }
  8946. }
  8947. },
  8948. "/Qhj/QueryScoreLog": {
  8949. "get": {
  8950. "security": [
  8951. {
  8952. "ApiKeyAuth": []
  8953. }
  8954. ],
  8955. "produces": [
  8956. "application/json"
  8957. ],
  8958. "tags": [
  8959. "大连千海金"
  8960. ],
  8961. "summary": "查询积分流水(我的积分)",
  8962. "parameters": [
  8963. {
  8964. "type": "integer",
  8965. "description": "用户ID",
  8966. "name": "userid",
  8967. "in": "query",
  8968. "required": true
  8969. },
  8970. {
  8971. "type": "string",
  8972. "description": "开始交易日(yyyymmdd)",
  8973. "name": "begindate",
  8974. "in": "query"
  8975. },
  8976. {
  8977. "type": "string",
  8978. "description": "结束交易日(yyyymmdd)",
  8979. "name": "enddate",
  8980. "in": "query"
  8981. },
  8982. {
  8983. "type": "integer",
  8984. "description": "最近多少条",
  8985. "name": "lastnum",
  8986. "in": "query"
  8987. }
  8988. ],
  8989. "responses": {
  8990. "200": {
  8991. "description": "OK",
  8992. "schema": {
  8993. "type": "array",
  8994. "items": {
  8995. "$ref": "#/definitions/models.QhjScoreLog"
  8996. }
  8997. }
  8998. },
  8999. "500": {
  9000. "description": "Internal Server Error",
  9001. "schema": {
  9002. "$ref": "#/definitions/app.Response"
  9003. }
  9004. }
  9005. }
  9006. }
  9007. },
  9008. "/Qhj/QuerySiteColumnDetail": {
  9009. "get": {
  9010. "security": [
  9011. {
  9012. "ApiKeyAuth": []
  9013. }
  9014. ],
  9015. "produces": [
  9016. "application/json"
  9017. ],
  9018. "tags": [
  9019. "大连千海金"
  9020. ],
  9021. "summary": "查询资讯",
  9022. "parameters": [
  9023. {
  9024. "type": "integer",
  9025. "description": "用户ID",
  9026. "name": "userid",
  9027. "in": "query",
  9028. "required": true
  9029. }
  9030. ],
  9031. "responses": {
  9032. "200": {
  9033. "description": "OK",
  9034. "schema": {
  9035. "type": "array",
  9036. "items": {
  9037. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  9038. }
  9039. }
  9040. },
  9041. "500": {
  9042. "description": "Internal Server Error",
  9043. "schema": {
  9044. "$ref": "#/definitions/app.Response"
  9045. }
  9046. }
  9047. }
  9048. }
  9049. },
  9050. "/Qhj/QueryTradeGoodsPickup": {
  9051. "get": {
  9052. "security": [
  9053. {
  9054. "ApiKeyAuth": []
  9055. }
  9056. ],
  9057. "produces": [
  9058. "application/json"
  9059. ],
  9060. "tags": [
  9061. "大连千海金"
  9062. ],
  9063. "summary": "查询提货",
  9064. "parameters": [
  9065. {
  9066. "type": "integer",
  9067. "description": "用户ID",
  9068. "name": "userid",
  9069. "in": "query",
  9070. "required": true
  9071. },
  9072. {
  9073. "type": "integer",
  9074. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  9075. "name": "takeorderstatus",
  9076. "in": "query"
  9077. }
  9078. ],
  9079. "responses": {
  9080. "200": {
  9081. "description": "OK",
  9082. "schema": {
  9083. "type": "array",
  9084. "items": {
  9085. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  9086. }
  9087. }
  9088. },
  9089. "500": {
  9090. "description": "Internal Server Error",
  9091. "schema": {
  9092. "$ref": "#/definitions/app.Response"
  9093. }
  9094. }
  9095. }
  9096. }
  9097. },
  9098. "/Qhj/QueryUserCollectConfig": {
  9099. "get": {
  9100. "security": [
  9101. {
  9102. "ApiKeyAuth": []
  9103. }
  9104. ],
  9105. "produces": [
  9106. "application/json"
  9107. ],
  9108. "tags": [
  9109. "大连千海金"
  9110. ],
  9111. "summary": "查询提现账户设置",
  9112. "parameters": [
  9113. {
  9114. "type": "integer",
  9115. "description": "用户ID",
  9116. "name": "userid",
  9117. "in": "query",
  9118. "required": true
  9119. }
  9120. ],
  9121. "responses": {
  9122. "200": {
  9123. "description": "OK",
  9124. "schema": {
  9125. "type": "array",
  9126. "items": {
  9127. "$ref": "#/definitions/models.UserCollectConfig"
  9128. }
  9129. }
  9130. },
  9131. "500": {
  9132. "description": "Internal Server Error",
  9133. "schema": {
  9134. "$ref": "#/definitions/app.Response"
  9135. }
  9136. }
  9137. }
  9138. }
  9139. },
  9140. "/Qhj/QueryUserReceiveInfo": {
  9141. "get": {
  9142. "security": [
  9143. {
  9144. "ApiKeyAuth": []
  9145. }
  9146. ],
  9147. "produces": [
  9148. "application/json"
  9149. ],
  9150. "tags": [
  9151. "大连千海金"
  9152. ],
  9153. "summary": "查询收货地址信息",
  9154. "parameters": [
  9155. {
  9156. "type": "integer",
  9157. "description": "用户ID",
  9158. "name": "userid",
  9159. "in": "query",
  9160. "required": true
  9161. }
  9162. ],
  9163. "responses": {
  9164. "200": {
  9165. "description": "OK",
  9166. "schema": {
  9167. "type": "array",
  9168. "items": {
  9169. "$ref": "#/definitions/models.UserReceiveInfo"
  9170. }
  9171. }
  9172. },
  9173. "500": {
  9174. "description": "Internal Server Error",
  9175. "schema": {
  9176. "$ref": "#/definitions/app.Response"
  9177. }
  9178. }
  9179. }
  9180. }
  9181. },
  9182. "/QhjMgr/QueryAccountInOutApply": {
  9183. "get": {
  9184. "security": [
  9185. {
  9186. "ApiKeyAuth": []
  9187. }
  9188. ],
  9189. "produces": [
  9190. "application/json"
  9191. ],
  9192. "tags": [
  9193. "大连千海金(PCWeb)"
  9194. ],
  9195. "summary": "查询充值提现",
  9196. "parameters": [
  9197. {
  9198. "type": "integer",
  9199. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9200. "name": "querytype",
  9201. "in": "query",
  9202. "required": true
  9203. },
  9204. {
  9205. "type": "integer",
  9206. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9207. "name": "applystatus",
  9208. "in": "query"
  9209. },
  9210. {
  9211. "type": "string",
  9212. "description": "申请起始日期(格式yyyymmdd)",
  9213. "name": "begindate",
  9214. "in": "query"
  9215. },
  9216. {
  9217. "type": "string",
  9218. "description": "申请截止日期(格式yyyymmdd)",
  9219. "name": "enddate",
  9220. "in": "query"
  9221. },
  9222. {
  9223. "type": "string",
  9224. "description": "模糊搜索名称",
  9225. "name": "likename",
  9226. "in": "query"
  9227. }
  9228. ],
  9229. "responses": {
  9230. "200": {
  9231. "description": "OK",
  9232. "schema": {
  9233. "type": "array",
  9234. "items": {
  9235. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  9236. }
  9237. }
  9238. },
  9239. "500": {
  9240. "description": "Internal Server Error",
  9241. "schema": {
  9242. "$ref": "#/definitions/app.Response"
  9243. }
  9244. }
  9245. }
  9246. }
  9247. },
  9248. "/QhjMgr/QueryBrokerApply": {
  9249. "get": {
  9250. "security": [
  9251. {
  9252. "ApiKeyAuth": []
  9253. }
  9254. ],
  9255. "produces": [
  9256. "application/json"
  9257. ],
  9258. "tags": [
  9259. "大连千海金(PCWeb)"
  9260. ],
  9261. "summary": "查询经纪人申请",
  9262. "parameters": [
  9263. {
  9264. "type": "integer",
  9265. "description": "所属机构ID",
  9266. "name": "userid",
  9267. "in": "query"
  9268. },
  9269. {
  9270. "type": "string",
  9271. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9272. "name": "filterstatus",
  9273. "in": "query"
  9274. },
  9275. {
  9276. "type": "string",
  9277. "description": "名称(模糊匹配)",
  9278. "name": "filtername",
  9279. "in": "query"
  9280. },
  9281. {
  9282. "type": "integer",
  9283. "description": "是否包含子级 1-包含",
  9284. "name": "includesub",
  9285. "in": "query"
  9286. }
  9287. ],
  9288. "responses": {
  9289. "200": {
  9290. "description": "OK",
  9291. "schema": {
  9292. "type": "array",
  9293. "items": {
  9294. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  9295. }
  9296. }
  9297. },
  9298. "500": {
  9299. "description": "Internal Server Error",
  9300. "schema": {
  9301. "$ref": "#/definitions/app.Response"
  9302. }
  9303. }
  9304. }
  9305. }
  9306. },
  9307. "/QhjMgr/QueryBrokerRewardReport": {
  9308. "get": {
  9309. "security": [
  9310. {
  9311. "ApiKeyAuth": []
  9312. }
  9313. ],
  9314. "produces": [
  9315. "application/json"
  9316. ],
  9317. "tags": [
  9318. "大连千海金(PCWeb)"
  9319. ],
  9320. "summary": "查询经纪人奖励报表(废弃)",
  9321. "parameters": [
  9322. {
  9323. "type": "integer",
  9324. "description": "所属机构ID",
  9325. "name": "userid",
  9326. "in": "query",
  9327. "required": true
  9328. },
  9329. {
  9330. "type": "integer",
  9331. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9332. "name": "cycletype",
  9333. "in": "query",
  9334. "required": true
  9335. },
  9336. {
  9337. "type": "string",
  9338. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  9339. "name": "cycletime",
  9340. "in": "query",
  9341. "required": true
  9342. },
  9343. {
  9344. "type": "string",
  9345. "description": "名称(模糊匹配)",
  9346. "name": "filtername",
  9347. "in": "query"
  9348. },
  9349. {
  9350. "type": "integer",
  9351. "description": "是否包含子级 1-包含",
  9352. "name": "includesub",
  9353. "in": "query"
  9354. }
  9355. ],
  9356. "responses": {
  9357. "200": {
  9358. "description": "OK",
  9359. "schema": {
  9360. "type": "array",
  9361. "items": {
  9362. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  9363. }
  9364. }
  9365. },
  9366. "500": {
  9367. "description": "Internal Server Error",
  9368. "schema": {
  9369. "$ref": "#/definitions/app.Response"
  9370. }
  9371. }
  9372. }
  9373. }
  9374. },
  9375. "/QhjMgr/QueryContract": {
  9376. "get": {
  9377. "security": [
  9378. {
  9379. "ApiKeyAuth": []
  9380. }
  9381. ],
  9382. "produces": [
  9383. "application/json"
  9384. ],
  9385. "tags": [
  9386. "大连千海金(PCWeb)"
  9387. ],
  9388. "summary": "查询融资信息(合同)",
  9389. "parameters": [
  9390. {
  9391. "type": "integer",
  9392. "description": "用户ID",
  9393. "name": "userid",
  9394. "in": "query"
  9395. },
  9396. {
  9397. "type": "integer",
  9398. "description": "商品id",
  9399. "name": "goodsid",
  9400. "in": "query"
  9401. },
  9402. {
  9403. "type": "string",
  9404. "description": "名称(模糊搜索账户)",
  9405. "name": "filtername",
  9406. "in": "query"
  9407. },
  9408. {
  9409. "type": "string",
  9410. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  9411. "name": "risklevel",
  9412. "in": "query"
  9413. },
  9414. {
  9415. "type": "string",
  9416. "description": "开始交易日(yyyymmdd)",
  9417. "name": "begindate",
  9418. "in": "query"
  9419. },
  9420. {
  9421. "type": "string",
  9422. "description": "结束交易日(yyyymmdd)",
  9423. "name": "enddate",
  9424. "in": "query"
  9425. }
  9426. ],
  9427. "responses": {
  9428. "200": {
  9429. "description": "OK",
  9430. "schema": {
  9431. "type": "array",
  9432. "items": {
  9433. "$ref": "#/definitions/models.QhjMgrContract"
  9434. }
  9435. }
  9436. },
  9437. "500": {
  9438. "description": "Internal Server Error",
  9439. "schema": {
  9440. "$ref": "#/definitions/app.Response"
  9441. }
  9442. }
  9443. }
  9444. }
  9445. },
  9446. "/QhjMgr/QueryCustomerInfo": {
  9447. "get": {
  9448. "security": [
  9449. {
  9450. "ApiKeyAuth": []
  9451. }
  9452. ],
  9453. "produces": [
  9454. "application/json"
  9455. ],
  9456. "tags": [
  9457. "大连千海金(PCWeb)"
  9458. ],
  9459. "summary": "查询客户资料",
  9460. "parameters": [
  9461. {
  9462. "type": "integer",
  9463. "description": "用户ID",
  9464. "name": "userid",
  9465. "in": "query",
  9466. "required": true
  9467. },
  9468. {
  9469. "type": "integer",
  9470. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9471. "name": "querytype",
  9472. "in": "query",
  9473. "required": true
  9474. },
  9475. {
  9476. "type": "integer",
  9477. "description": "客户类型 1-个人 2-企业",
  9478. "name": "userinfotype",
  9479. "in": "query"
  9480. },
  9481. {
  9482. "type": "string",
  9483. "description": "客户名称(模糊匹配)",
  9484. "name": "customername",
  9485. "in": "query"
  9486. },
  9487. {
  9488. "type": "string",
  9489. "description": "昵称(模糊匹配)",
  9490. "name": "nickname",
  9491. "in": "query"
  9492. },
  9493. {
  9494. "type": "string",
  9495. "description": "所属客户经理(模糊匹配)",
  9496. "name": "brokername",
  9497. "in": "query"
  9498. },
  9499. {
  9500. "type": "string",
  9501. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  9502. "name": "birthday",
  9503. "in": "query"
  9504. },
  9505. {
  9506. "type": "integer",
  9507. "description": "是否包含子级 1-包含",
  9508. "name": "includesub",
  9509. "in": "query"
  9510. }
  9511. ],
  9512. "responses": {
  9513. "200": {
  9514. "description": "OK",
  9515. "schema": {
  9516. "type": "array",
  9517. "items": {
  9518. "$ref": "#/definitions/models.QhjMgrCustomer"
  9519. }
  9520. }
  9521. },
  9522. "500": {
  9523. "description": "Internal Server Error",
  9524. "schema": {
  9525. "$ref": "#/definitions/app.Response"
  9526. }
  9527. }
  9528. }
  9529. }
  9530. },
  9531. "/QhjMgr/QueryPickGoods": {
  9532. "get": {
  9533. "security": [
  9534. {
  9535. "ApiKeyAuth": []
  9536. }
  9537. ],
  9538. "produces": [
  9539. "application/json"
  9540. ],
  9541. "tags": [
  9542. "大连千海金(PCWeb)"
  9543. ],
  9544. "summary": "查询提货商品",
  9545. "parameters": [
  9546. {
  9547. "type": "string",
  9548. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9549. "name": "status",
  9550. "in": "query"
  9551. }
  9552. ],
  9553. "responses": {
  9554. "200": {
  9555. "description": "OK",
  9556. "schema": {
  9557. "type": "array",
  9558. "items": {
  9559. "$ref": "#/definitions/models.QhjMgrPickGoods"
  9560. }
  9561. }
  9562. },
  9563. "500": {
  9564. "description": "Internal Server Error",
  9565. "schema": {
  9566. "$ref": "#/definitions/app.Response"
  9567. }
  9568. }
  9569. }
  9570. }
  9571. },
  9572. "/QhjMgr/QuerySubArea": {
  9573. "get": {
  9574. "security": [
  9575. {
  9576. "ApiKeyAuth": []
  9577. }
  9578. ],
  9579. "produces": [
  9580. "application/json"
  9581. ],
  9582. "tags": [
  9583. "大连千海金(PCWeb)"
  9584. ],
  9585. "summary": "查询子机构列表",
  9586. "parameters": [
  9587. {
  9588. "type": "integer",
  9589. "description": "用户ID",
  9590. "name": "userid",
  9591. "in": "query",
  9592. "required": true
  9593. }
  9594. ],
  9595. "responses": {
  9596. "200": {
  9597. "description": "OK",
  9598. "schema": {
  9599. "type": "array",
  9600. "items": {
  9601. "$ref": "#/definitions/models.QhjMgrSubArea"
  9602. }
  9603. }
  9604. },
  9605. "500": {
  9606. "description": "Internal Server Error",
  9607. "schema": {
  9608. "$ref": "#/definitions/app.Response"
  9609. }
  9610. }
  9611. }
  9612. }
  9613. },
  9614. "/QhjMgr/QueryTradeDetail": {
  9615. "get": {
  9616. "security": [
  9617. {
  9618. "ApiKeyAuth": []
  9619. }
  9620. ],
  9621. "produces": [
  9622. "application/json"
  9623. ],
  9624. "tags": [
  9625. "大连千海金(PCWeb)"
  9626. ],
  9627. "summary": "查询成交明细",
  9628. "parameters": [
  9629. {
  9630. "type": "integer",
  9631. "description": "用户ID",
  9632. "name": "userid",
  9633. "in": "query",
  9634. "required": true
  9635. },
  9636. {
  9637. "type": "integer",
  9638. "description": "用户类型 1-个人 2-企业",
  9639. "name": "userinfotype",
  9640. "in": "query"
  9641. },
  9642. {
  9643. "type": "integer",
  9644. "description": "交易模式",
  9645. "name": "trademode",
  9646. "in": "query"
  9647. },
  9648. {
  9649. "type": "integer",
  9650. "description": "商品id",
  9651. "name": "goodsid",
  9652. "in": "query"
  9653. },
  9654. {
  9655. "type": "string",
  9656. "description": "名称(模糊搜索账户)",
  9657. "name": "filtername",
  9658. "in": "query"
  9659. },
  9660. {
  9661. "type": "string",
  9662. "description": "开始交易日(yyyymmdd)",
  9663. "name": "begindate",
  9664. "in": "query"
  9665. },
  9666. {
  9667. "type": "string",
  9668. "description": "结束交易日(yyyymmdd)",
  9669. "name": "enddate",
  9670. "in": "query"
  9671. },
  9672. {
  9673. "type": "integer",
  9674. "description": "是否包含子级 1-包含",
  9675. "name": "includesub",
  9676. "in": "query"
  9677. }
  9678. ],
  9679. "responses": {
  9680. "200": {
  9681. "description": "OK",
  9682. "schema": {
  9683. "type": "array",
  9684. "items": {
  9685. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9686. }
  9687. }
  9688. },
  9689. "500": {
  9690. "description": "Internal Server Error",
  9691. "schema": {
  9692. "$ref": "#/definitions/app.Response"
  9693. }
  9694. }
  9695. }
  9696. }
  9697. },
  9698. "/QhjMgr/QueryTradeOrderDetail": {
  9699. "get": {
  9700. "security": [
  9701. {
  9702. "ApiKeyAuth": []
  9703. }
  9704. ],
  9705. "produces": [
  9706. "application/json"
  9707. ],
  9708. "tags": [
  9709. "大连千海金(PCWeb)"
  9710. ],
  9711. "summary": "查询委托明细",
  9712. "parameters": [
  9713. {
  9714. "type": "integer",
  9715. "description": "用户ID",
  9716. "name": "userid",
  9717. "in": "query",
  9718. "required": true
  9719. },
  9720. {
  9721. "type": "integer",
  9722. "description": "用户类型 1-个人 2-企业",
  9723. "name": "userinfotype",
  9724. "in": "query"
  9725. },
  9726. {
  9727. "type": "integer",
  9728. "description": "交易模式",
  9729. "name": "trademode",
  9730. "in": "query"
  9731. },
  9732. {
  9733. "type": "integer",
  9734. "description": "商品id",
  9735. "name": "goodsid",
  9736. "in": "query"
  9737. },
  9738. {
  9739. "type": "string",
  9740. "description": "名称(模糊搜索账户)",
  9741. "name": "filtername",
  9742. "in": "query"
  9743. },
  9744. {
  9745. "type": "string",
  9746. "description": "开始交易日(yyyymmdd)",
  9747. "name": "begindate",
  9748. "in": "query"
  9749. },
  9750. {
  9751. "type": "string",
  9752. "description": "结束交易日(yyyymmdd)",
  9753. "name": "enddate",
  9754. "in": "query"
  9755. },
  9756. {
  9757. "type": "integer",
  9758. "description": "是否包含子级 1-包含",
  9759. "name": "includesub",
  9760. "in": "query"
  9761. }
  9762. ],
  9763. "responses": {
  9764. "200": {
  9765. "description": "OK",
  9766. "schema": {
  9767. "type": "array",
  9768. "items": {
  9769. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9770. }
  9771. }
  9772. },
  9773. "500": {
  9774. "description": "Internal Server Error",
  9775. "schema": {
  9776. "$ref": "#/definitions/app.Response"
  9777. }
  9778. }
  9779. }
  9780. }
  9781. },
  9782. "/QhjMgr/QueryTradePayOrder": {
  9783. "get": {
  9784. "security": [
  9785. {
  9786. "ApiKeyAuth": []
  9787. }
  9788. ],
  9789. "produces": [
  9790. "application/json"
  9791. ],
  9792. "tags": [
  9793. "大连千海金(PCWeb)"
  9794. ],
  9795. "summary": "查询待付款单",
  9796. "parameters": [
  9797. {
  9798. "type": "integer",
  9799. "description": "用户ID",
  9800. "name": "userid",
  9801. "in": "query",
  9802. "required": true
  9803. },
  9804. {
  9805. "type": "string",
  9806. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9807. "name": "payflag",
  9808. "in": "query"
  9809. },
  9810. {
  9811. "type": "integer",
  9812. "description": "用户类型 1-个人 2-企业",
  9813. "name": "userinfotype",
  9814. "in": "query"
  9815. },
  9816. {
  9817. "type": "integer",
  9818. "description": "交易模式",
  9819. "name": "trademode",
  9820. "in": "query"
  9821. },
  9822. {
  9823. "type": "integer",
  9824. "description": "商品id",
  9825. "name": "goodsid",
  9826. "in": "query"
  9827. },
  9828. {
  9829. "type": "string",
  9830. "description": "名称(模糊搜索账户)",
  9831. "name": "filtername",
  9832. "in": "query"
  9833. },
  9834. {
  9835. "type": "string",
  9836. "description": "开始交易日(yyyymmdd)",
  9837. "name": "begindate",
  9838. "in": "query"
  9839. },
  9840. {
  9841. "type": "string",
  9842. "description": "结束交易日(yyyymmdd)",
  9843. "name": "enddate",
  9844. "in": "query"
  9845. },
  9846. {
  9847. "type": "integer",
  9848. "description": "是否包含子级 1-包含",
  9849. "name": "includesub",
  9850. "in": "query"
  9851. }
  9852. ],
  9853. "responses": {
  9854. "200": {
  9855. "description": "OK",
  9856. "schema": {
  9857. "type": "array",
  9858. "items": {
  9859. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9860. }
  9861. }
  9862. },
  9863. "500": {
  9864. "description": "Internal Server Error",
  9865. "schema": {
  9866. "$ref": "#/definitions/app.Response"
  9867. }
  9868. }
  9869. }
  9870. }
  9871. },
  9872. "/QhjMgr/QueryTradePosition": {
  9873. "get": {
  9874. "security": [
  9875. {
  9876. "ApiKeyAuth": []
  9877. }
  9878. ],
  9879. "produces": [
  9880. "application/json"
  9881. ],
  9882. "tags": [
  9883. "大连千海金(PCWeb)"
  9884. ],
  9885. "summary": "查询持仓汇总",
  9886. "parameters": [
  9887. {
  9888. "type": "integer",
  9889. "description": "用户ID",
  9890. "name": "userid",
  9891. "in": "query",
  9892. "required": true
  9893. },
  9894. {
  9895. "type": "integer",
  9896. "description": "用户类型 1-个人 2-企业",
  9897. "name": "userinfotype",
  9898. "in": "query"
  9899. },
  9900. {
  9901. "type": "integer",
  9902. "description": "交易模式",
  9903. "name": "trademode",
  9904. "in": "query"
  9905. },
  9906. {
  9907. "type": "integer",
  9908. "description": "商品id",
  9909. "name": "goodsid",
  9910. "in": "query"
  9911. },
  9912. {
  9913. "type": "string",
  9914. "description": "名称(模糊搜索账户)",
  9915. "name": "filtername",
  9916. "in": "query"
  9917. },
  9918. {
  9919. "type": "integer",
  9920. "description": "是否包含子级 1-包含",
  9921. "name": "includesub",
  9922. "in": "query"
  9923. }
  9924. ],
  9925. "responses": {
  9926. "200": {
  9927. "description": "OK",
  9928. "schema": {
  9929. "type": "array",
  9930. "items": {
  9931. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9932. }
  9933. }
  9934. },
  9935. "500": {
  9936. "description": "Internal Server Error",
  9937. "schema": {
  9938. "$ref": "#/definitions/app.Response"
  9939. }
  9940. }
  9941. }
  9942. }
  9943. },
  9944. "/QhjSys/QueryAgreementChangeLog": {
  9945. "get": {
  9946. "security": [
  9947. {
  9948. "ApiKeyAuth": []
  9949. }
  9950. ],
  9951. "produces": [
  9952. "application/json"
  9953. ],
  9954. "tags": [
  9955. "大连千海金(协议和签约信息)"
  9956. ],
  9957. "summary": "查询协议配置变更流水",
  9958. "parameters": [
  9959. {
  9960. "type": "integer",
  9961. "description": "协议ID",
  9962. "name": "agreementid",
  9963. "in": "query"
  9964. },
  9965. {
  9966. "type": "integer",
  9967. "description": "协议版本号",
  9968. "name": "agreementversion",
  9969. "in": "query"
  9970. },
  9971. {
  9972. "type": "integer",
  9973. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9974. "name": "agreementtype",
  9975. "in": "query"
  9976. },
  9977. {
  9978. "type": "string",
  9979. "description": "协议编号(模糊匹配)",
  9980. "name": "agreementno",
  9981. "in": "query"
  9982. },
  9983. {
  9984. "type": "string",
  9985. "description": "协议名称(模糊匹配)",
  9986. "name": "agreementname",
  9987. "in": "query"
  9988. }
  9989. ],
  9990. "responses": {
  9991. "200": {
  9992. "description": "OK",
  9993. "schema": {
  9994. "type": "array",
  9995. "items": {
  9996. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9997. }
  9998. }
  9999. },
  10000. "500": {
  10001. "description": "Internal Server Error",
  10002. "schema": {
  10003. "$ref": "#/definitions/app.Response"
  10004. }
  10005. }
  10006. }
  10007. }
  10008. },
  10009. "/QhjSys/QueryAgreementConfig": {
  10010. "get": {
  10011. "security": [
  10012. {
  10013. "ApiKeyAuth": []
  10014. }
  10015. ],
  10016. "produces": [
  10017. "application/json"
  10018. ],
  10019. "tags": [
  10020. "大连千海金(协议和签约信息)"
  10021. ],
  10022. "summary": "查询协议配置",
  10023. "parameters": [
  10024. {
  10025. "type": "integer",
  10026. "description": "协议ID",
  10027. "name": "agreementid",
  10028. "in": "query"
  10029. },
  10030. {
  10031. "type": "integer",
  10032. "description": "协议版本号",
  10033. "name": "agreementversion",
  10034. "in": "query"
  10035. },
  10036. {
  10037. "type": "integer",
  10038. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10039. "name": "agreementtype",
  10040. "in": "query"
  10041. },
  10042. {
  10043. "type": "integer",
  10044. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  10045. "name": "isvalid",
  10046. "in": "query"
  10047. },
  10048. {
  10049. "type": "string",
  10050. "description": "协议编号(模糊匹配)",
  10051. "name": "agreementno",
  10052. "in": "query"
  10053. },
  10054. {
  10055. "type": "string",
  10056. "description": "协议名称(模糊匹配)",
  10057. "name": "agreementname",
  10058. "in": "query"
  10059. }
  10060. ],
  10061. "responses": {
  10062. "200": {
  10063. "description": "OK",
  10064. "schema": {
  10065. "type": "array",
  10066. "items": {
  10067. "$ref": "#/definitions/models.QhjAgreementConfig"
  10068. }
  10069. }
  10070. },
  10071. "500": {
  10072. "description": "Internal Server Error",
  10073. "schema": {
  10074. "$ref": "#/definitions/app.Response"
  10075. }
  10076. }
  10077. }
  10078. }
  10079. },
  10080. "/QhjSys/QueryCustomerSignStatus": {
  10081. "get": {
  10082. "security": [
  10083. {
  10084. "ApiKeyAuth": []
  10085. }
  10086. ],
  10087. "produces": [
  10088. "application/json"
  10089. ],
  10090. "tags": [
  10091. "大连千海金(协议和签约信息)"
  10092. ],
  10093. "summary": "查询客户协议签约状态",
  10094. "parameters": [
  10095. {
  10096. "type": "integer",
  10097. "description": "客户ID",
  10098. "name": "userid",
  10099. "in": "query"
  10100. },
  10101. {
  10102. "type": "integer",
  10103. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  10104. "name": "nodetype",
  10105. "in": "query"
  10106. },
  10107. {
  10108. "type": "integer",
  10109. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10110. "name": "goodsid",
  10111. "in": "query"
  10112. },
  10113. {
  10114. "type": "string",
  10115. "description": "创建交易日(yyyyMMdd)",
  10116. "name": "tradedate",
  10117. "in": "query"
  10118. },
  10119. {
  10120. "type": "string",
  10121. "description": "用户名称(模糊匹配)",
  10122. "name": "username",
  10123. "in": "query"
  10124. }
  10125. ],
  10126. "responses": {
  10127. "200": {
  10128. "description": "OK",
  10129. "schema": {
  10130. "type": "array",
  10131. "items": {
  10132. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  10133. }
  10134. }
  10135. },
  10136. "500": {
  10137. "description": "Internal Server Error",
  10138. "schema": {
  10139. "$ref": "#/definitions/app.Response"
  10140. }
  10141. }
  10142. }
  10143. }
  10144. },
  10145. "/QhjSys/QueryNodeAgreementConfig": {
  10146. "get": {
  10147. "security": [
  10148. {
  10149. "ApiKeyAuth": []
  10150. }
  10151. ],
  10152. "produces": [
  10153. "application/json"
  10154. ],
  10155. "tags": [
  10156. "大连千海金(协议和签约信息)"
  10157. ],
  10158. "summary": "查询协议节点配置",
  10159. "parameters": [
  10160. {
  10161. "type": "integer",
  10162. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10163. "name": "configid",
  10164. "in": "query"
  10165. },
  10166. {
  10167. "type": "integer",
  10168. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10169. "name": "nodetype",
  10170. "in": "query"
  10171. },
  10172. {
  10173. "type": "integer",
  10174. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10175. "name": "goodsid",
  10176. "in": "query"
  10177. },
  10178. {
  10179. "type": "integer",
  10180. "description": "协议ID",
  10181. "name": "agreementid",
  10182. "in": "query"
  10183. },
  10184. {
  10185. "type": "integer",
  10186. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10187. "name": "agreementtype",
  10188. "in": "query"
  10189. },
  10190. {
  10191. "type": "integer",
  10192. "description": "协议版本号",
  10193. "name": "agreementversion",
  10194. "in": "query"
  10195. },
  10196. {
  10197. "type": "string",
  10198. "description": "协议编号(模糊匹配)",
  10199. "name": "agreementno",
  10200. "in": "query"
  10201. },
  10202. {
  10203. "type": "string",
  10204. "description": "协议名称(模糊匹配)",
  10205. "name": "agreementname",
  10206. "in": "query"
  10207. }
  10208. ],
  10209. "responses": {
  10210. "200": {
  10211. "description": "OK",
  10212. "schema": {
  10213. "type": "array",
  10214. "items": {
  10215. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  10216. }
  10217. }
  10218. },
  10219. "500": {
  10220. "description": "Internal Server Error",
  10221. "schema": {
  10222. "$ref": "#/definitions/app.Response"
  10223. }
  10224. }
  10225. }
  10226. }
  10227. },
  10228. "/QhjSys/QueryQhjCustomerSignLog": {
  10229. "get": {
  10230. "security": [
  10231. {
  10232. "ApiKeyAuth": []
  10233. }
  10234. ],
  10235. "produces": [
  10236. "application/json"
  10237. ],
  10238. "tags": [
  10239. "大连千海金(协议和签约信息)"
  10240. ],
  10241. "summary": "查询客户协议签约流水",
  10242. "parameters": [
  10243. {
  10244. "type": "integer",
  10245. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  10246. "name": "logid",
  10247. "in": "query"
  10248. },
  10249. {
  10250. "type": "integer",
  10251. "description": "客户ID",
  10252. "name": "userid",
  10253. "in": "query"
  10254. },
  10255. {
  10256. "type": "integer",
  10257. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10258. "name": "nodetype",
  10259. "in": "query"
  10260. },
  10261. {
  10262. "type": "integer",
  10263. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10264. "name": "goodsid",
  10265. "in": "query"
  10266. },
  10267. {
  10268. "type": "integer",
  10269. "description": "协议ID",
  10270. "name": "agreementid",
  10271. "in": "query"
  10272. },
  10273. {
  10274. "type": "string",
  10275. "description": "用户名称(模糊匹配)",
  10276. "name": "username",
  10277. "in": "query"
  10278. },
  10279. {
  10280. "type": "string",
  10281. "description": "协议编号(模糊匹配)",
  10282. "name": "agreementno",
  10283. "in": "query"
  10284. },
  10285. {
  10286. "type": "string",
  10287. "description": "协议名称(模糊匹配)",
  10288. "name": "agreementname",
  10289. "in": "query"
  10290. }
  10291. ],
  10292. "responses": {
  10293. "200": {
  10294. "description": "OK",
  10295. "schema": {
  10296. "type": "array",
  10297. "items": {
  10298. "$ref": "#/definitions/models.QhjCustomerSignLog"
  10299. }
  10300. }
  10301. },
  10302. "500": {
  10303. "description": "Internal Server Error",
  10304. "schema": {
  10305. "$ref": "#/definitions/app.Response"
  10306. }
  10307. }
  10308. }
  10309. }
  10310. },
  10311. "/QhjSys/QueryUserNodeCfgAndStatus": {
  10312. "get": {
  10313. "security": [
  10314. {
  10315. "ApiKeyAuth": []
  10316. }
  10317. ],
  10318. "produces": [
  10319. "application/json"
  10320. ],
  10321. "tags": [
  10322. "大连千海金(协议和签约信息)"
  10323. ],
  10324. "summary": "查询用户协议节点配置和状态",
  10325. "parameters": [
  10326. {
  10327. "type": "integer",
  10328. "description": "客户ID",
  10329. "name": "userid",
  10330. "in": "query"
  10331. },
  10332. {
  10333. "type": "integer",
  10334. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10335. "name": "configid",
  10336. "in": "query"
  10337. },
  10338. {
  10339. "type": "string",
  10340. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10341. "name": "nodetype",
  10342. "in": "query"
  10343. },
  10344. {
  10345. "type": "integer",
  10346. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10347. "name": "goodsid",
  10348. "in": "query"
  10349. },
  10350. {
  10351. "type": "integer",
  10352. "description": "协议ID",
  10353. "name": "agreementid",
  10354. "in": "query"
  10355. },
  10356. {
  10357. "type": "integer",
  10358. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10359. "name": "agreementtype",
  10360. "in": "query"
  10361. },
  10362. {
  10363. "type": "integer",
  10364. "description": "协议版本号",
  10365. "name": "agreementversion",
  10366. "in": "query"
  10367. },
  10368. {
  10369. "type": "string",
  10370. "description": "协议编号(模糊匹配)",
  10371. "name": "agreementno",
  10372. "in": "query"
  10373. },
  10374. {
  10375. "type": "string",
  10376. "description": "协议名称(模糊匹配)",
  10377. "name": "agreementname",
  10378. "in": "query"
  10379. }
  10380. ],
  10381. "responses": {
  10382. "200": {
  10383. "description": "OK",
  10384. "schema": {
  10385. "type": "array",
  10386. "items": {
  10387. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  10388. }
  10389. }
  10390. },
  10391. "500": {
  10392. "description": "Internal Server Error",
  10393. "schema": {
  10394. "$ref": "#/definitions/app.Response"
  10395. }
  10396. }
  10397. }
  10398. }
  10399. },
  10400. "/Quote/QueryHistoryDatas": {
  10401. "get": {
  10402. "security": [
  10403. {
  10404. "ApiKeyAuth": []
  10405. }
  10406. ],
  10407. "produces": [
  10408. "application/json"
  10409. ],
  10410. "tags": [
  10411. "行情服务"
  10412. ],
  10413. "summary": "查询行情历史数据",
  10414. "parameters": [
  10415. {
  10416. "type": "integer",
  10417. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  10418. "name": "cycleType",
  10419. "in": "query",
  10420. "required": true
  10421. },
  10422. {
  10423. "type": "string",
  10424. "description": "商品代码",
  10425. "name": "goodsCode",
  10426. "in": "query",
  10427. "required": true
  10428. },
  10429. {
  10430. "type": "string",
  10431. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10432. "name": "startTime",
  10433. "in": "query"
  10434. },
  10435. {
  10436. "type": "string",
  10437. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10438. "name": "endTime",
  10439. "in": "query"
  10440. },
  10441. {
  10442. "type": "integer",
  10443. "description": "条数",
  10444. "name": "count",
  10445. "in": "query"
  10446. },
  10447. {
  10448. "type": "boolean",
  10449. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10450. "name": "isAsc",
  10451. "in": "query"
  10452. }
  10453. ],
  10454. "responses": {
  10455. "200": {
  10456. "description": "OK",
  10457. "schema": {
  10458. "$ref": "#/definitions/quote.HistoryData"
  10459. }
  10460. },
  10461. "500": {
  10462. "description": "Internal Server Error",
  10463. "schema": {
  10464. "$ref": "#/definitions/app.Response"
  10465. }
  10466. }
  10467. }
  10468. }
  10469. },
  10470. "/Quote/QueryHistoryTikDatas": {
  10471. "get": {
  10472. "security": [
  10473. {
  10474. "ApiKeyAuth": []
  10475. }
  10476. ],
  10477. "produces": [
  10478. "application/json"
  10479. ],
  10480. "tags": [
  10481. "行情服务"
  10482. ],
  10483. "summary": "查询行情Tik数据",
  10484. "parameters": [
  10485. {
  10486. "type": "string",
  10487. "description": "商品代码",
  10488. "name": "goodsCode",
  10489. "in": "query",
  10490. "required": true
  10491. },
  10492. {
  10493. "type": "string",
  10494. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10495. "name": "startTime",
  10496. "in": "query"
  10497. },
  10498. {
  10499. "type": "string",
  10500. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10501. "name": "endTime",
  10502. "in": "query"
  10503. },
  10504. {
  10505. "type": "integer",
  10506. "description": "条数",
  10507. "name": "count",
  10508. "in": "query"
  10509. },
  10510. {
  10511. "type": "boolean",
  10512. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10513. "name": "isAsc",
  10514. "in": "query"
  10515. }
  10516. ],
  10517. "responses": {
  10518. "200": {
  10519. "description": "OK",
  10520. "schema": {
  10521. "$ref": "#/definitions/quote.HistoryTikData"
  10522. }
  10523. },
  10524. "500": {
  10525. "description": "Internal Server Error",
  10526. "schema": {
  10527. "$ref": "#/definitions/app.Response"
  10528. }
  10529. }
  10530. }
  10531. }
  10532. },
  10533. "/Quote/QueryQuoteDay": {
  10534. "get": {
  10535. "security": [
  10536. {
  10537. "ApiKeyAuth": []
  10538. }
  10539. ],
  10540. "produces": [
  10541. "application/json"
  10542. ],
  10543. "tags": [
  10544. "行情服务"
  10545. ],
  10546. "summary": "获取商品盘面信息",
  10547. "parameters": [
  10548. {
  10549. "type": "string",
  10550. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  10551. "name": "goodsCodes",
  10552. "in": "query"
  10553. }
  10554. ],
  10555. "responses": {
  10556. "200": {
  10557. "description": "OK",
  10558. "schema": {
  10559. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  10560. }
  10561. },
  10562. "500": {
  10563. "description": "Internal Server Error",
  10564. "schema": {
  10565. "$ref": "#/definitions/app.Response"
  10566. }
  10567. }
  10568. }
  10569. }
  10570. },
  10571. "/Quote/QueryTSData": {
  10572. "get": {
  10573. "security": [
  10574. {
  10575. "ApiKeyAuth": []
  10576. }
  10577. ],
  10578. "produces": [
  10579. "application/json"
  10580. ],
  10581. "tags": [
  10582. "行情服务"
  10583. ],
  10584. "summary": "分时图数据查询",
  10585. "parameters": [
  10586. {
  10587. "type": "string",
  10588. "description": "商品代码",
  10589. "name": "goodsCode",
  10590. "in": "query",
  10591. "required": true
  10592. }
  10593. ],
  10594. "responses": {
  10595. "200": {
  10596. "description": "OK",
  10597. "schema": {
  10598. "$ref": "#/definitions/quote.QueryTSDataRsp"
  10599. }
  10600. },
  10601. "500": {
  10602. "description": "Internal Server Error",
  10603. "schema": {
  10604. "$ref": "#/definitions/app.Response"
  10605. }
  10606. }
  10607. }
  10608. }
  10609. },
  10610. "/SZDZ/QueryConvertConfig": {
  10611. "get": {
  10612. "security": [
  10613. {
  10614. "ApiKeyAuth": []
  10615. }
  10616. ],
  10617. "produces": [
  10618. "application/json"
  10619. ],
  10620. "tags": [
  10621. "定制【尚志大宗】"
  10622. ],
  10623. "summary": "查询交易系统转换设置",
  10624. "parameters": [
  10625. {
  10626. "type": "integer",
  10627. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10628. "name": "convertType",
  10629. "in": "query"
  10630. },
  10631. {
  10632. "type": "string",
  10633. "description": "外部商品代码[JD\\PD]",
  10634. "name": "outerGoodsCode",
  10635. "in": "query"
  10636. },
  10637. {
  10638. "type": "string",
  10639. "description": "内部商品ID列表[交易],格式:1,2,3",
  10640. "name": "innerGoodsIDs",
  10641. "in": "query"
  10642. }
  10643. ],
  10644. "responses": {
  10645. "200": {
  10646. "description": "OK",
  10647. "schema": {
  10648. "$ref": "#/definitions/models.Szdz3convertconfig"
  10649. }
  10650. },
  10651. "500": {
  10652. "description": "Internal Server Error",
  10653. "schema": {
  10654. "$ref": "#/definitions/app.Response"
  10655. }
  10656. }
  10657. }
  10658. }
  10659. },
  10660. "/SZDZ/QueryConvertLog": {
  10661. "get": {
  10662. "security": [
  10663. {
  10664. "ApiKeyAuth": []
  10665. }
  10666. ],
  10667. "produces": [
  10668. "application/json"
  10669. ],
  10670. "tags": [
  10671. "定制【尚志大宗】"
  10672. ],
  10673. "summary": "交易系统转换流水查询",
  10674. "parameters": [
  10675. {
  10676. "type": "string",
  10677. "description": "资金账户 - 格式:1,2,3",
  10678. "name": "accountID",
  10679. "in": "query",
  10680. "required": true
  10681. },
  10682. {
  10683. "type": "string",
  10684. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10685. "name": "startDate",
  10686. "in": "query"
  10687. },
  10688. {
  10689. "type": "string",
  10690. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10691. "name": "endDate",
  10692. "in": "query"
  10693. }
  10694. ],
  10695. "responses": {
  10696. "200": {
  10697. "description": "OK",
  10698. "schema": {
  10699. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10700. }
  10701. },
  10702. "500": {
  10703. "description": "Internal Server Error",
  10704. "schema": {
  10705. "$ref": "#/definitions/app.Response"
  10706. }
  10707. }
  10708. }
  10709. }
  10710. },
  10711. "/SZDZ/QueryGoodsPickup": {
  10712. "get": {
  10713. "security": [
  10714. {
  10715. "ApiKeyAuth": []
  10716. }
  10717. ],
  10718. "produces": [
  10719. "application/json"
  10720. ],
  10721. "tags": [
  10722. "定制【尚志大宗】"
  10723. ],
  10724. "summary": "商品提货单查询",
  10725. "parameters": [
  10726. {
  10727. "type": "string",
  10728. "description": "资金账户 - 格式:1,2,3",
  10729. "name": "accountID",
  10730. "in": "query",
  10731. "required": true
  10732. },
  10733. {
  10734. "type": "integer",
  10735. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10736. "name": "takeOrderStatus",
  10737. "in": "query"
  10738. }
  10739. ],
  10740. "responses": {
  10741. "200": {
  10742. "description": "OK",
  10743. "schema": {
  10744. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10745. }
  10746. },
  10747. "500": {
  10748. "description": "Internal Server Error",
  10749. "schema": {
  10750. "$ref": "#/definitions/app.Response"
  10751. }
  10752. }
  10753. }
  10754. }
  10755. },
  10756. "/SZDZ/QueryRecieptOrder": {
  10757. "get": {
  10758. "security": [
  10759. {
  10760. "ApiKeyAuth": []
  10761. }
  10762. ],
  10763. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10764. "produces": [
  10765. "application/json"
  10766. ],
  10767. "tags": [
  10768. "定制【尚志大宗】"
  10769. ],
  10770. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10771. "parameters": [
  10772. {
  10773. "type": "integer",
  10774. "description": "页码",
  10775. "name": "page",
  10776. "in": "query"
  10777. },
  10778. {
  10779. "type": "integer",
  10780. "description": "每页条数",
  10781. "name": "pagesize",
  10782. "in": "query"
  10783. },
  10784. {
  10785. "type": "integer",
  10786. "description": "商品ID",
  10787. "name": "goodsID",
  10788. "in": "query",
  10789. "required": true
  10790. },
  10791. {
  10792. "type": "string",
  10793. "description": "所属账户名称",
  10794. "name": "accountName",
  10795. "in": "query"
  10796. },
  10797. {
  10798. "type": "integer",
  10799. "description": "市场ID",
  10800. "name": "marketID",
  10801. "in": "query"
  10802. },
  10803. {
  10804. "type": "integer",
  10805. "description": "方向 - 0:买 1:卖",
  10806. "name": "buyorsell",
  10807. "in": "query",
  10808. "required": true
  10809. }
  10810. ],
  10811. "responses": {
  10812. "200": {
  10813. "description": "OK",
  10814. "schema": {
  10815. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10816. }
  10817. },
  10818. "500": {
  10819. "description": "Internal Server Error",
  10820. "schema": {
  10821. "$ref": "#/definitions/app.Response"
  10822. }
  10823. }
  10824. }
  10825. }
  10826. },
  10827. "/SZDZ/QuerySZDZTradePosition": {
  10828. "get": {
  10829. "security": [
  10830. {
  10831. "ApiKeyAuth": []
  10832. }
  10833. ],
  10834. "produces": [
  10835. "application/json"
  10836. ],
  10837. "tags": [
  10838. "定制【尚志大宗】"
  10839. ],
  10840. "summary": "持仓汇总查询(尚志大宗)",
  10841. "parameters": [
  10842. {
  10843. "type": "integer",
  10844. "description": "资金账户",
  10845. "name": "accountID",
  10846. "in": "query",
  10847. "required": true
  10848. }
  10849. ],
  10850. "responses": {
  10851. "200": {
  10852. "description": "OK",
  10853. "schema": {
  10854. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10855. }
  10856. },
  10857. "500": {
  10858. "description": "Internal Server Error",
  10859. "schema": {
  10860. "$ref": "#/definitions/app.Response"
  10861. }
  10862. }
  10863. }
  10864. }
  10865. },
  10866. "/SZDZ/SearchWhite": {
  10867. "get": {
  10868. "security": [
  10869. {
  10870. "ApiKeyAuth": []
  10871. }
  10872. ],
  10873. "produces": [
  10874. "application/json"
  10875. ],
  10876. "tags": [
  10877. "定制【尚志大宗】"
  10878. ],
  10879. "summary": "搜索白名单",
  10880. "parameters": [
  10881. {
  10882. "type": "integer",
  10883. "description": "用户ID",
  10884. "name": "userID",
  10885. "in": "query",
  10886. "required": true
  10887. }
  10888. ],
  10889. "responses": {
  10890. "200": {
  10891. "description": "OK",
  10892. "schema": {
  10893. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10894. }
  10895. },
  10896. "500": {
  10897. "description": "Internal Server Error",
  10898. "schema": {
  10899. "$ref": "#/definitions/app.Response"
  10900. }
  10901. }
  10902. }
  10903. }
  10904. },
  10905. "/Search/SearchGoodses": {
  10906. "get": {
  10907. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10908. "produces": [
  10909. "application/json"
  10910. ],
  10911. "tags": [
  10912. "检索服务"
  10913. ],
  10914. "summary": "检索商品信息",
  10915. "parameters": [
  10916. {
  10917. "type": "string",
  10918. "description": "检索内容",
  10919. "name": "content",
  10920. "in": "query",
  10921. "required": true
  10922. },
  10923. {
  10924. "type": "string",
  10925. "description": "交易模式,格式:1,2,3",
  10926. "name": "tradeModes",
  10927. "in": "query"
  10928. }
  10929. ],
  10930. "responses": {
  10931. "200": {
  10932. "description": "OK",
  10933. "schema": {
  10934. "$ref": "#/definitions/models.SearchGoods"
  10935. }
  10936. },
  10937. "500": {
  10938. "description": "Internal Server Error",
  10939. "schema": {
  10940. "$ref": "#/definitions/app.Response"
  10941. }
  10942. }
  10943. }
  10944. }
  10945. },
  10946. "/TaAccount/GetTaAccounts": {
  10947. "get": {
  10948. "security": [
  10949. {
  10950. "ApiKeyAuth": []
  10951. }
  10952. ],
  10953. "produces": [
  10954. "application/json"
  10955. ],
  10956. "tags": [
  10957. "资金账户"
  10958. ],
  10959. "summary": "获取资金账户信息",
  10960. "parameters": [
  10961. {
  10962. "type": "integer",
  10963. "description": "登录账户",
  10964. "name": "loginID",
  10965. "in": "query",
  10966. "required": true
  10967. },
  10968. {
  10969. "type": "integer",
  10970. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10971. "name": "taAccountType",
  10972. "in": "query"
  10973. }
  10974. ],
  10975. "responses": {
  10976. "200": {
  10977. "description": "OK",
  10978. "schema": {
  10979. "$ref": "#/definitions/models.Taaccount"
  10980. }
  10981. },
  10982. "500": {
  10983. "description": "Internal Server Error",
  10984. "schema": {
  10985. "$ref": "#/definitions/app.Response"
  10986. }
  10987. }
  10988. }
  10989. }
  10990. },
  10991. "/TaAccount/QueryAmountLog": {
  10992. "get": {
  10993. "security": [
  10994. {
  10995. "ApiKeyAuth": []
  10996. }
  10997. ],
  10998. "produces": [
  10999. "application/json"
  11000. ],
  11001. "tags": [
  11002. "资金账户"
  11003. ],
  11004. "summary": "资金流水查询(当前)",
  11005. "parameters": [
  11006. {
  11007. "type": "integer",
  11008. "description": "页码",
  11009. "name": "page",
  11010. "in": "query"
  11011. },
  11012. {
  11013. "type": "integer",
  11014. "description": "每页条数",
  11015. "name": "pagesize",
  11016. "in": "query"
  11017. },
  11018. {
  11019. "type": "string",
  11020. "description": "资金账户 - 格式:1,2,3",
  11021. "name": "accountID",
  11022. "in": "query",
  11023. "required": true
  11024. },
  11025. {
  11026. "type": "string",
  11027. "description": "资金操作类型 - 格式:1,2,3",
  11028. "name": "OperateType",
  11029. "in": "query"
  11030. }
  11031. ],
  11032. "responses": {
  11033. "200": {
  11034. "description": "OK",
  11035. "schema": {
  11036. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  11037. }
  11038. },
  11039. "500": {
  11040. "description": "Internal Server Error",
  11041. "schema": {
  11042. "$ref": "#/definitions/app.Response"
  11043. }
  11044. }
  11045. }
  11046. }
  11047. },
  11048. "/TaAccount/QueryHisAmountLog": {
  11049. "get": {
  11050. "security": [
  11051. {
  11052. "ApiKeyAuth": []
  11053. }
  11054. ],
  11055. "produces": [
  11056. "application/json"
  11057. ],
  11058. "tags": [
  11059. "资金账户"
  11060. ],
  11061. "summary": "资金流水查询(历史)",
  11062. "parameters": [
  11063. {
  11064. "type": "integer",
  11065. "description": "页码",
  11066. "name": "page",
  11067. "in": "query"
  11068. },
  11069. {
  11070. "type": "integer",
  11071. "description": "每页条数",
  11072. "name": "pagesize",
  11073. "in": "query"
  11074. },
  11075. {
  11076. "type": "string",
  11077. "description": "资金账户 - 格式:1,2,3",
  11078. "name": "accountID",
  11079. "in": "query",
  11080. "required": true
  11081. },
  11082. {
  11083. "type": "string",
  11084. "description": "资金操作类型 - 格式:1,2,3",
  11085. "name": "OperateType",
  11086. "in": "query"
  11087. },
  11088. {
  11089. "type": "string",
  11090. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  11091. "name": "startDate",
  11092. "in": "query"
  11093. },
  11094. {
  11095. "type": "string",
  11096. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  11097. "name": "endDate",
  11098. "in": "query"
  11099. }
  11100. ],
  11101. "responses": {
  11102. "200": {
  11103. "description": "OK",
  11104. "schema": {
  11105. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  11106. }
  11107. },
  11108. "500": {
  11109. "description": "Internal Server Error",
  11110. "schema": {
  11111. "$ref": "#/definitions/app.Response"
  11112. }
  11113. }
  11114. }
  11115. }
  11116. },
  11117. "/Tjmd/QueryQuoteGoodsList": {
  11118. "get": {
  11119. "security": [
  11120. {
  11121. "ApiKeyAuth": []
  11122. }
  11123. ],
  11124. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  11125. "produces": [
  11126. "application/json"
  11127. ],
  11128. "tags": [
  11129. "天津麦顿"
  11130. ],
  11131. "summary": "查询掉期报价列表",
  11132. "parameters": [
  11133. {
  11134. "type": "integer",
  11135. "description": "用户类型",
  11136. "name": "usertype",
  11137. "in": "query",
  11138. "required": true
  11139. },
  11140. {
  11141. "type": "string",
  11142. "description": "市场id, 格式 1,2,3",
  11143. "name": "marketids",
  11144. "in": "query"
  11145. },
  11146. {
  11147. "type": "integer",
  11148. "description": "商品组id",
  11149. "name": "goodsgroupid",
  11150. "in": "query"
  11151. },
  11152. {
  11153. "type": "integer",
  11154. "description": "商品id",
  11155. "name": "goodsid",
  11156. "in": "query"
  11157. }
  11158. ],
  11159. "responses": {
  11160. "200": {
  11161. "description": "OK",
  11162. "schema": {
  11163. "type": "array",
  11164. "items": {
  11165. "$ref": "#/definitions/models.TjmdQuoteGoods"
  11166. }
  11167. }
  11168. },
  11169. "500": {
  11170. "description": "Internal Server Error",
  11171. "schema": {
  11172. "$ref": "#/definitions/app.Response"
  11173. }
  11174. }
  11175. }
  11176. }
  11177. },
  11178. "/Tjmd/QueryTjmdMarketSection": {
  11179. "get": {
  11180. "security": [
  11181. {
  11182. "ApiKeyAuth": []
  11183. }
  11184. ],
  11185. "produces": [
  11186. "application/json"
  11187. ],
  11188. "tags": [
  11189. "天津麦顿"
  11190. ],
  11191. "summary": "查询市场板块",
  11192. "responses": {
  11193. "200": {
  11194. "description": "OK",
  11195. "schema": {
  11196. "type": "array",
  11197. "items": {
  11198. "$ref": "#/definitions/models.TjmdMarketSection"
  11199. }
  11200. }
  11201. },
  11202. "500": {
  11203. "description": "Internal Server Error",
  11204. "schema": {
  11205. "$ref": "#/definitions/app.Response"
  11206. }
  11207. }
  11208. }
  11209. }
  11210. },
  11211. "/Tjmd/QueryTjmdTodayAccountMargin": {
  11212. "get": {
  11213. "security": [
  11214. {
  11215. "ApiKeyAuth": []
  11216. }
  11217. ],
  11218. "produces": [
  11219. "application/json"
  11220. ],
  11221. "tags": [
  11222. "天津麦顿"
  11223. ],
  11224. "summary": "查询今日账户保证金配置",
  11225. "parameters": [
  11226. {
  11227. "type": "string",
  11228. "description": "市场id",
  11229. "name": "marketid",
  11230. "in": "query"
  11231. },
  11232. {
  11233. "type": "string",
  11234. "description": "商品id",
  11235. "name": "goodsid",
  11236. "in": "query"
  11237. },
  11238. {
  11239. "type": "string",
  11240. "description": "资金账号",
  11241. "name": "accountid",
  11242. "in": "query"
  11243. }
  11244. ],
  11245. "responses": {
  11246. "200": {
  11247. "description": "OK",
  11248. "schema": {
  11249. "type": "array",
  11250. "items": {
  11251. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  11252. }
  11253. }
  11254. },
  11255. "500": {
  11256. "description": "Internal Server Error",
  11257. "schema": {
  11258. "$ref": "#/definitions/app.Response"
  11259. }
  11260. }
  11261. }
  11262. }
  11263. },
  11264. "/Tjmd/QueryTjmdTradeOrderDetail": {
  11265. "get": {
  11266. "security": [
  11267. {
  11268. "ApiKeyAuth": []
  11269. }
  11270. ],
  11271. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  11272. "produces": [
  11273. "application/json"
  11274. ],
  11275. "tags": [
  11276. "天津麦顿"
  11277. ],
  11278. "summary": "查询掉期买卖大厅",
  11279. "parameters": [
  11280. {
  11281. "type": "integer",
  11282. "description": "页码",
  11283. "name": "page",
  11284. "in": "query"
  11285. },
  11286. {
  11287. "type": "integer",
  11288. "description": "每页条数",
  11289. "name": "pagesize",
  11290. "in": "query"
  11291. },
  11292. {
  11293. "type": "integer",
  11294. "description": "用户id",
  11295. "name": "userid",
  11296. "in": "query",
  11297. "required": true
  11298. },
  11299. {
  11300. "type": "integer",
  11301. "description": "用户类型",
  11302. "name": "usertype",
  11303. "in": "query",
  11304. "required": true
  11305. },
  11306. {
  11307. "type": "string",
  11308. "description": "市场id, 格式 1,2,3",
  11309. "name": "marketids",
  11310. "in": "query"
  11311. },
  11312. {
  11313. "type": "integer",
  11314. "description": "商品id",
  11315. "name": "goodsid",
  11316. "in": "query",
  11317. "required": true
  11318. },
  11319. {
  11320. "type": "integer",
  11321. "description": "买卖方向 0-买 1-卖",
  11322. "name": "buyorsell",
  11323. "in": "query",
  11324. "required": true
  11325. }
  11326. ],
  11327. "responses": {
  11328. "200": {
  11329. "description": "OK",
  11330. "schema": {
  11331. "type": "array",
  11332. "items": {
  11333. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  11334. }
  11335. }
  11336. },
  11337. "500": {
  11338. "description": "Internal Server Error",
  11339. "schema": {
  11340. "$ref": "#/definitions/app.Response"
  11341. }
  11342. }
  11343. }
  11344. }
  11345. },
  11346. "/Tjmd/QueryTjmdTransferApply": {
  11347. "get": {
  11348. "security": [
  11349. {
  11350. "ApiKeyAuth": []
  11351. }
  11352. ],
  11353. "produces": [
  11354. "application/json"
  11355. ],
  11356. "tags": [
  11357. "天津麦顿"
  11358. ],
  11359. "summary": "查询掉期协议单",
  11360. "parameters": [
  11361. {
  11362. "type": "integer",
  11363. "description": "类型 1-我的申请 2-对方申请",
  11364. "name": "applytype",
  11365. "in": "query",
  11366. "required": true
  11367. },
  11368. {
  11369. "type": "string",
  11370. "description": "市场id, 格式 1,2,3",
  11371. "name": "marketids",
  11372. "in": "query"
  11373. },
  11374. {
  11375. "type": "string",
  11376. "description": "资金账号, 格式 25000000001,25000000003",
  11377. "name": "accountids",
  11378. "in": "query"
  11379. },
  11380. {
  11381. "type": "string",
  11382. "description": "开始交易日(yyyymmdd)",
  11383. "name": "begindate",
  11384. "in": "query"
  11385. },
  11386. {
  11387. "type": "string",
  11388. "description": "结束交易日(yyyymmdd)",
  11389. "name": "enddate",
  11390. "in": "query"
  11391. }
  11392. ],
  11393. "responses": {
  11394. "200": {
  11395. "description": "OK",
  11396. "schema": {
  11397. "type": "array",
  11398. "items": {
  11399. "$ref": "#/definitions/models.TjmdTransferApply"
  11400. }
  11401. }
  11402. },
  11403. "500": {
  11404. "description": "Internal Server Error",
  11405. "schema": {
  11406. "$ref": "#/definitions/app.Response"
  11407. }
  11408. }
  11409. }
  11410. }
  11411. },
  11412. "/Trade/QueryRecieptOrder": {
  11413. "get": {
  11414. "security": [
  11415. {
  11416. "ApiKeyAuth": []
  11417. }
  11418. ],
  11419. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11420. "produces": [
  11421. "application/json"
  11422. ],
  11423. "tags": [
  11424. "通用交易"
  11425. ],
  11426. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  11427. "parameters": [
  11428. {
  11429. "type": "integer",
  11430. "description": "页码",
  11431. "name": "page",
  11432. "in": "query"
  11433. },
  11434. {
  11435. "type": "integer",
  11436. "description": "每页条数",
  11437. "name": "pagesize",
  11438. "in": "query"
  11439. },
  11440. {
  11441. "type": "integer",
  11442. "description": "商品ID",
  11443. "name": "goodsID",
  11444. "in": "query",
  11445. "required": true
  11446. },
  11447. {
  11448. "type": "string",
  11449. "description": "所属账户名称",
  11450. "name": "accountName",
  11451. "in": "query"
  11452. },
  11453. {
  11454. "type": "integer",
  11455. "description": "市场ID",
  11456. "name": "marketID",
  11457. "in": "query"
  11458. },
  11459. {
  11460. "type": "integer",
  11461. "description": "方向 - 0:买 1:卖",
  11462. "name": "buyorsell",
  11463. "in": "query",
  11464. "required": true
  11465. }
  11466. ],
  11467. "responses": {
  11468. "200": {
  11469. "description": "OK",
  11470. "schema": {
  11471. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  11472. }
  11473. },
  11474. "500": {
  11475. "description": "Internal Server Error",
  11476. "schema": {
  11477. "$ref": "#/definitions/app.Response"
  11478. }
  11479. }
  11480. }
  11481. }
  11482. },
  11483. "/User/AddMessageBoard": {
  11484. "post": {
  11485. "security": [
  11486. {
  11487. "ApiKeyAuth": []
  11488. }
  11489. ],
  11490. "produces": [
  11491. "application/json"
  11492. ],
  11493. "tags": [
  11494. "用户信息"
  11495. ],
  11496. "summary": "添加用户留言板信息",
  11497. "parameters": [
  11498. {
  11499. "type": "integer",
  11500. "description": "用户ID",
  11501. "name": "userID",
  11502. "in": "query",
  11503. "required": true
  11504. },
  11505. {
  11506. "type": "string",
  11507. "description": "留言信息",
  11508. "name": "message",
  11509. "in": "query",
  11510. "required": true
  11511. },
  11512. {
  11513. "type": "string",
  11514. "description": "联系电话",
  11515. "name": "contactNum",
  11516. "in": "query",
  11517. "required": true
  11518. }
  11519. ],
  11520. "responses": {
  11521. "200": {
  11522. "description": "OK",
  11523. "schema": {
  11524. "$ref": "#/definitions/app.Response"
  11525. }
  11526. },
  11527. "500": {
  11528. "description": "Internal Server Error",
  11529. "schema": {
  11530. "$ref": "#/definitions/app.Response"
  11531. }
  11532. }
  11533. }
  11534. }
  11535. },
  11536. "/User/AddUserFavoriteGoods": {
  11537. "post": {
  11538. "security": [
  11539. {
  11540. "ApiKeyAuth": []
  11541. }
  11542. ],
  11543. "produces": [
  11544. "application/json"
  11545. ],
  11546. "tags": [
  11547. "用户信息"
  11548. ],
  11549. "summary": "添加用户商品收藏信息",
  11550. "parameters": [
  11551. {
  11552. "type": "integer",
  11553. "description": "用户ID",
  11554. "name": "userID",
  11555. "in": "query",
  11556. "required": true
  11557. },
  11558. {
  11559. "type": "integer",
  11560. "description": "商品ID",
  11561. "name": "goodsID",
  11562. "in": "query",
  11563. "required": true
  11564. }
  11565. ],
  11566. "responses": {
  11567. "200": {
  11568. "description": "OK",
  11569. "schema": {
  11570. "$ref": "#/definitions/app.Response"
  11571. }
  11572. },
  11573. "500": {
  11574. "description": "Internal Server Error",
  11575. "schema": {
  11576. "$ref": "#/definitions/app.Response"
  11577. }
  11578. }
  11579. }
  11580. }
  11581. },
  11582. "/User/GetLoginID": {
  11583. "get": {
  11584. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  11585. "produces": [
  11586. "application/json"
  11587. ],
  11588. "tags": [
  11589. "用户信息"
  11590. ],
  11591. "summary": "获取登录ID",
  11592. "parameters": [
  11593. {
  11594. "type": "string",
  11595. "description": "登录代码",
  11596. "name": "username",
  11597. "in": "query",
  11598. "required": true
  11599. }
  11600. ],
  11601. "responses": {
  11602. "200": {
  11603. "description": "OK",
  11604. "schema": {
  11605. "$ref": "#/definitions/app.Response"
  11606. }
  11607. },
  11608. "500": {
  11609. "description": "Internal Server Error",
  11610. "schema": {
  11611. "$ref": "#/definitions/app.Response"
  11612. }
  11613. }
  11614. }
  11615. }
  11616. },
  11617. "/User/GetUserAccount": {
  11618. "get": {
  11619. "security": [
  11620. {
  11621. "ApiKeyAuth": []
  11622. }
  11623. ],
  11624. "produces": [
  11625. "application/json"
  11626. ],
  11627. "tags": [
  11628. "用户信息"
  11629. ],
  11630. "summary": "获取用户账号信息",
  11631. "parameters": [
  11632. {
  11633. "type": "integer",
  11634. "description": "用户ID",
  11635. "name": "userID",
  11636. "in": "query",
  11637. "required": true
  11638. }
  11639. ],
  11640. "responses": {
  11641. "200": {
  11642. "description": "OK",
  11643. "schema": {
  11644. "$ref": "#/definitions/models.Useraccount"
  11645. }
  11646. },
  11647. "500": {
  11648. "description": "Internal Server Error",
  11649. "schema": {
  11650. "$ref": "#/definitions/app.Response"
  11651. }
  11652. }
  11653. }
  11654. }
  11655. },
  11656. "/User/GetUserAuthStatus": {
  11657. "get": {
  11658. "security": [
  11659. {
  11660. "ApiKeyAuth": []
  11661. }
  11662. ],
  11663. "produces": [
  11664. "application/json"
  11665. ],
  11666. "tags": [
  11667. "用户信息"
  11668. ],
  11669. "summary": "获取用户实名认证状态",
  11670. "parameters": [
  11671. {
  11672. "type": "integer",
  11673. "description": "用户ID",
  11674. "name": "userID",
  11675. "in": "query",
  11676. "required": true
  11677. }
  11678. ],
  11679. "responses": {
  11680. "200": {
  11681. "description": "OK",
  11682. "schema": {
  11683. "$ref": "#/definitions/app.Response"
  11684. }
  11685. },
  11686. "500": {
  11687. "description": "Internal Server Error",
  11688. "schema": {
  11689. "$ref": "#/definitions/app.Response"
  11690. }
  11691. }
  11692. }
  11693. }
  11694. },
  11695. "/User/LoginQuery": {
  11696. "get": {
  11697. "security": [
  11698. {
  11699. "ApiKeyAuth": []
  11700. }
  11701. ],
  11702. "produces": [
  11703. "application/json"
  11704. ],
  11705. "tags": [
  11706. "用户信息"
  11707. ],
  11708. "summary": "账户登录后信息查询",
  11709. "parameters": [
  11710. {
  11711. "type": "integer",
  11712. "description": "登录账号",
  11713. "name": "loginID",
  11714. "in": "query",
  11715. "required": true
  11716. }
  11717. ],
  11718. "responses": {
  11719. "200": {
  11720. "description": "OK",
  11721. "schema": {
  11722. "$ref": "#/definitions/user.LoginQueryRsp"
  11723. }
  11724. },
  11725. "500": {
  11726. "description": "Internal Server Error",
  11727. "schema": {
  11728. "$ref": "#/definitions/app.Response"
  11729. }
  11730. }
  11731. }
  11732. }
  11733. },
  11734. "/User/QueryMessageBoard": {
  11735. "get": {
  11736. "security": [
  11737. {
  11738. "ApiKeyAuth": []
  11739. }
  11740. ],
  11741. "produces": [
  11742. "application/json"
  11743. ],
  11744. "tags": [
  11745. "用户信息"
  11746. ],
  11747. "summary": "获取用户留言板信息",
  11748. "parameters": [
  11749. {
  11750. "type": "integer",
  11751. "description": "用户ID",
  11752. "name": "userID",
  11753. "in": "query",
  11754. "required": true
  11755. }
  11756. ],
  11757. "responses": {
  11758. "200": {
  11759. "description": "OK",
  11760. "schema": {
  11761. "$ref": "#/definitions/models.Messageboard"
  11762. }
  11763. },
  11764. "500": {
  11765. "description": "Internal Server Error",
  11766. "schema": {
  11767. "$ref": "#/definitions/app.Response"
  11768. }
  11769. }
  11770. }
  11771. }
  11772. },
  11773. "/User/QueryUserFavoriteGoodses": {
  11774. "get": {
  11775. "security": [
  11776. {
  11777. "ApiKeyAuth": []
  11778. }
  11779. ],
  11780. "produces": [
  11781. "application/json"
  11782. ],
  11783. "tags": [
  11784. "用户信息"
  11785. ],
  11786. "summary": "获取用户商品收藏信息",
  11787. "parameters": [
  11788. {
  11789. "type": "integer",
  11790. "description": "用户ID",
  11791. "name": "userID",
  11792. "in": "query",
  11793. "required": true
  11794. }
  11795. ],
  11796. "responses": {
  11797. "200": {
  11798. "description": "OK",
  11799. "schema": {
  11800. "$ref": "#/definitions/models.Userfavoritegoods"
  11801. }
  11802. },
  11803. "500": {
  11804. "description": "Internal Server Error",
  11805. "schema": {
  11806. "$ref": "#/definitions/app.Response"
  11807. }
  11808. }
  11809. }
  11810. }
  11811. },
  11812. "/User/QueryUserInfo": {
  11813. "get": {
  11814. "security": [
  11815. {
  11816. "ApiKeyAuth": []
  11817. }
  11818. ],
  11819. "produces": [
  11820. "application/json"
  11821. ],
  11822. "tags": [
  11823. "用户信息"
  11824. ],
  11825. "summary": "获取用户信息",
  11826. "parameters": [
  11827. {
  11828. "type": "integer",
  11829. "description": "用户ID",
  11830. "name": "userID",
  11831. "in": "query",
  11832. "required": true
  11833. },
  11834. {
  11835. "type": "boolean",
  11836. "description": "是否解密",
  11837. "name": "isDecrypt",
  11838. "in": "query"
  11839. }
  11840. ],
  11841. "responses": {
  11842. "200": {
  11843. "description": "OK",
  11844. "schema": {
  11845. "$ref": "#/definitions/models.Userinfo"
  11846. }
  11847. },
  11848. "500": {
  11849. "description": "Internal Server Error",
  11850. "schema": {
  11851. "$ref": "#/definitions/app.Response"
  11852. }
  11853. }
  11854. }
  11855. }
  11856. },
  11857. "/User/QueryUserReferNum": {
  11858. "get": {
  11859. "produces": [
  11860. "application/json"
  11861. ],
  11862. "tags": [
  11863. "用户信息"
  11864. ],
  11865. "summary": "获取用户邀请码",
  11866. "parameters": [
  11867. {
  11868. "type": "integer",
  11869. "description": "用户ID",
  11870. "name": "userID",
  11871. "in": "query",
  11872. "required": true
  11873. }
  11874. ],
  11875. "responses": {
  11876. "200": {
  11877. "description": "OK",
  11878. "schema": {
  11879. "$ref": "#/definitions/app.Response"
  11880. }
  11881. },
  11882. "500": {
  11883. "description": "Internal Server Error",
  11884. "schema": {
  11885. "$ref": "#/definitions/app.Response"
  11886. }
  11887. }
  11888. }
  11889. }
  11890. },
  11891. "/User/RemoveUserFavoriteGoods": {
  11892. "post": {
  11893. "security": [
  11894. {
  11895. "ApiKeyAuth": []
  11896. }
  11897. ],
  11898. "produces": [
  11899. "application/json"
  11900. ],
  11901. "tags": [
  11902. "用户信息"
  11903. ],
  11904. "summary": "移除用户商品收藏信息",
  11905. "parameters": [
  11906. {
  11907. "type": "integer",
  11908. "description": "用户ID",
  11909. "name": "userID",
  11910. "in": "query",
  11911. "required": true
  11912. },
  11913. {
  11914. "type": "integer",
  11915. "description": "商品ID",
  11916. "name": "goodsID",
  11917. "in": "query",
  11918. "required": true
  11919. }
  11920. ],
  11921. "responses": {
  11922. "200": {
  11923. "description": "OK",
  11924. "schema": {
  11925. "$ref": "#/definitions/app.Response"
  11926. }
  11927. },
  11928. "500": {
  11929. "description": "Internal Server Error",
  11930. "schema": {
  11931. "$ref": "#/definitions/app.Response"
  11932. }
  11933. }
  11934. }
  11935. }
  11936. },
  11937. "/User/UpdateUserAccountStatus": {
  11938. "post": {
  11939. "security": [
  11940. {
  11941. "ApiKeyAuth": []
  11942. }
  11943. ],
  11944. "produces": [
  11945. "application/json"
  11946. ],
  11947. "tags": [
  11948. "用户信息"
  11949. ],
  11950. "summary": "更新用户状态",
  11951. "parameters": [
  11952. {
  11953. "type": "integer",
  11954. "description": "用户ID",
  11955. "name": "userID",
  11956. "in": "query",
  11957. "required": true
  11958. },
  11959. {
  11960. "type": "integer",
  11961. "description": "账户状态 - 4:正常 6:注销(停用)",
  11962. "name": "accountStatus",
  11963. "in": "query",
  11964. "required": true
  11965. }
  11966. ],
  11967. "responses": {
  11968. "200": {
  11969. "description": "OK",
  11970. "schema": {
  11971. "$ref": "#/definitions/app.Response"
  11972. }
  11973. },
  11974. "500": {
  11975. "description": "Internal Server Error",
  11976. "schema": {
  11977. "$ref": "#/definitions/app.Response"
  11978. }
  11979. }
  11980. }
  11981. }
  11982. },
  11983. "/WRTrade/GetAllDeliveryGoods": {
  11984. "get": {
  11985. "security": [
  11986. {
  11987. "ApiKeyAuth": []
  11988. },
  11989. {
  11990. "ApiKeyAuth": []
  11991. }
  11992. ],
  11993. "produces": [
  11994. "application/json",
  11995. "application/json"
  11996. ],
  11997. "tags": [
  11998. "仓单贸易",
  11999. "仓单贸易"
  12000. ],
  12001. "summary": "获取带仓单分类的种类信息",
  12002. "responses": {
  12003. "200": {
  12004. "description": "OK",
  12005. "schema": {
  12006. "$ref": "#/definitions/app.Response"
  12007. }
  12008. },
  12009. "500": {
  12010. "description": "Internal Server Error",
  12011. "schema": {
  12012. "$ref": "#/definitions/app.Response"
  12013. }
  12014. }
  12015. }
  12016. }
  12017. },
  12018. "/WrTrade2/QueryDeliveryGoodsSection": {
  12019. "get": {
  12020. "security": [
  12021. {
  12022. "ApiKeyAuth": []
  12023. }
  12024. ],
  12025. "produces": [
  12026. "application/json"
  12027. ],
  12028. "tags": [
  12029. "仓单贸易v2"
  12030. ],
  12031. "summary": "查询板块(分类)",
  12032. "responses": {
  12033. "200": {
  12034. "description": "OK",
  12035. "schema": {
  12036. "type": "array",
  12037. "items": {
  12038. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  12039. }
  12040. }
  12041. },
  12042. "500": {
  12043. "description": "Internal Server Error",
  12044. "schema": {
  12045. "$ref": "#/definitions/app.Response"
  12046. }
  12047. }
  12048. }
  12049. }
  12050. },
  12051. "/WrTrade2/QueryFaProductDetail": {
  12052. "get": {
  12053. "security": [
  12054. {
  12055. "ApiKeyAuth": []
  12056. }
  12057. ],
  12058. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  12059. "produces": [
  12060. "application/json"
  12061. ],
  12062. "tags": [
  12063. "仓单贸易v2"
  12064. ],
  12065. "summary": "查询融资产品列表",
  12066. "parameters": [
  12067. {
  12068. "type": "integer",
  12069. "description": "仓单要素id",
  12070. "name": "wrfactortypeid",
  12071. "in": "query",
  12072. "required": true
  12073. }
  12074. ],
  12075. "responses": {
  12076. "200": {
  12077. "description": "OK",
  12078. "schema": {
  12079. "type": "array",
  12080. "items": {
  12081. "$ref": "#/definitions/models.WrFAProductDetail"
  12082. }
  12083. }
  12084. },
  12085. "500": {
  12086. "description": "Internal Server Error",
  12087. "schema": {
  12088. "$ref": "#/definitions/app.Response"
  12089. }
  12090. }
  12091. }
  12092. }
  12093. },
  12094. "/WrTrade2/QueryFilterItem": {
  12095. "get": {
  12096. "security": [
  12097. {
  12098. "ApiKeyAuth": []
  12099. }
  12100. ],
  12101. "produces": [
  12102. "application/json"
  12103. ],
  12104. "tags": [
  12105. "仓单贸易v2"
  12106. ],
  12107. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  12108. "parameters": [
  12109. {
  12110. "type": "string",
  12111. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  12112. "name": "itype",
  12113. "in": "query",
  12114. "required": true
  12115. }
  12116. ],
  12117. "responses": {
  12118. "200": {
  12119. "description": "OK",
  12120. "schema": {
  12121. "type": "array",
  12122. "items": {
  12123. "$ref": "#/definitions/models.WrFilterItem"
  12124. }
  12125. }
  12126. },
  12127. "500": {
  12128. "description": "Internal Server Error",
  12129. "schema": {
  12130. "$ref": "#/definitions/app.Response"
  12131. }
  12132. }
  12133. }
  12134. }
  12135. },
  12136. "/WrTrade2/QueryFtDeliveryGoods": {
  12137. "get": {
  12138. "security": [
  12139. {
  12140. "ApiKeyAuth": []
  12141. }
  12142. ],
  12143. "produces": [
  12144. "application/json"
  12145. ],
  12146. "tags": [
  12147. "仓单贸易v2"
  12148. ],
  12149. "summary": "查询品种品类筛选框列表",
  12150. "responses": {
  12151. "200": {
  12152. "description": "OK",
  12153. "schema": {
  12154. "type": "array",
  12155. "items": {
  12156. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  12157. }
  12158. }
  12159. },
  12160. "500": {
  12161. "description": "Internal Server Error",
  12162. "schema": {
  12163. "$ref": "#/definitions/app.Response"
  12164. }
  12165. }
  12166. }
  12167. }
  12168. },
  12169. "/WrTrade2/QueryHoldLB": {
  12170. "get": {
  12171. "security": [
  12172. {
  12173. "ApiKeyAuth": []
  12174. }
  12175. ],
  12176. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  12177. "produces": [
  12178. "application/json"
  12179. ],
  12180. "tags": [
  12181. "仓单贸易v2"
  12182. ],
  12183. "summary": "查询仓单持有记录",
  12184. "parameters": [
  12185. {
  12186. "type": "integer",
  12187. "description": "资金账号",
  12188. "name": "accountid",
  12189. "in": "query",
  12190. "required": true
  12191. },
  12192. {
  12193. "type": "integer",
  12194. "description": "仓库id",
  12195. "name": "warehouseid",
  12196. "in": "query"
  12197. },
  12198. {
  12199. "type": "integer",
  12200. "description": "品种id",
  12201. "name": "deliverygoodsid",
  12202. "in": "query"
  12203. },
  12204. {
  12205. "type": "integer",
  12206. "description": "品类id",
  12207. "name": "wrstandardid",
  12208. "in": "query"
  12209. },
  12210. {
  12211. "type": "integer",
  12212. "description": "仓单要素id",
  12213. "name": "wrfactortypeid",
  12214. "in": "query"
  12215. },
  12216. {
  12217. "type": "string",
  12218. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12219. "name": "dgitemname",
  12220. "in": "query"
  12221. }
  12222. ],
  12223. "responses": {
  12224. "200": {
  12225. "description": "OK",
  12226. "schema": {
  12227. "type": "array",
  12228. "items": {
  12229. "$ref": "#/definitions/models.WrHoldLB"
  12230. }
  12231. }
  12232. },
  12233. "500": {
  12234. "description": "Internal Server Error",
  12235. "schema": {
  12236. "$ref": "#/definitions/app.Response"
  12237. }
  12238. }
  12239. }
  12240. }
  12241. },
  12242. "/WrTrade2/QueryOrderQuote": {
  12243. "get": {
  12244. "security": [
  12245. {
  12246. "ApiKeyAuth": []
  12247. }
  12248. ],
  12249. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  12250. "produces": [
  12251. "application/json"
  12252. ],
  12253. "tags": [
  12254. "仓单贸易v2"
  12255. ],
  12256. "summary": "查询大厅行情列表",
  12257. "parameters": [
  12258. {
  12259. "type": "integer",
  12260. "description": "页码",
  12261. "name": "page",
  12262. "in": "query"
  12263. },
  12264. {
  12265. "type": "integer",
  12266. "description": "每页条数",
  12267. "name": "pagesize",
  12268. "in": "query"
  12269. },
  12270. {
  12271. "type": "integer",
  12272. "description": "仓单贸易市场id",
  12273. "name": "marketid",
  12274. "in": "query"
  12275. },
  12276. {
  12277. "type": "integer",
  12278. "description": "价格方式 - 1:固定价 2-浮动价",
  12279. "name": "wrpricetype",
  12280. "in": "query",
  12281. "required": true
  12282. },
  12283. {
  12284. "type": "integer",
  12285. "description": "0:仓单预售 1:仓单贸易",
  12286. "name": "haswr",
  12287. "in": "query"
  12288. },
  12289. {
  12290. "type": "string",
  12291. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12292. "name": "dgitemname",
  12293. "in": "query"
  12294. },
  12295. {
  12296. "type": "integer",
  12297. "description": "仓库id(筛选条件)",
  12298. "name": "warehouseid",
  12299. "in": "query"
  12300. },
  12301. {
  12302. "type": "integer",
  12303. "description": "品种id",
  12304. "name": "deliverygoodsid",
  12305. "in": "query"
  12306. },
  12307. {
  12308. "type": "integer",
  12309. "description": "品类id",
  12310. "name": "wrstandardid",
  12311. "in": "query"
  12312. },
  12313. {
  12314. "type": "integer",
  12315. "description": "仓单要素id",
  12316. "name": "wrfactortypeid",
  12317. "in": "query"
  12318. },
  12319. {
  12320. "type": "string",
  12321. "description": "交收月(yyyy-mm) 仓单预售填写",
  12322. "name": "deliverymonth",
  12323. "in": "query"
  12324. }
  12325. ],
  12326. "responses": {
  12327. "200": {
  12328. "description": "OK",
  12329. "schema": {
  12330. "type": "array",
  12331. "items": {
  12332. "$ref": "#/definitions/models.WrOrderQuote"
  12333. }
  12334. }
  12335. },
  12336. "500": {
  12337. "description": "Internal Server Error",
  12338. "schema": {
  12339. "$ref": "#/definitions/app.Response"
  12340. }
  12341. }
  12342. }
  12343. }
  12344. },
  12345. "/WrTrade2/QueryOrderQuoteDetail": {
  12346. "get": {
  12347. "security": [
  12348. {
  12349. "ApiKeyAuth": []
  12350. }
  12351. ],
  12352. "produces": [
  12353. "application/json"
  12354. ],
  12355. "tags": [
  12356. "仓单贸易v2"
  12357. ],
  12358. "summary": "查询买卖大厅",
  12359. "parameters": [
  12360. {
  12361. "type": "integer",
  12362. "description": "页码",
  12363. "name": "page",
  12364. "in": "query"
  12365. },
  12366. {
  12367. "type": "integer",
  12368. "description": "每页条数",
  12369. "name": "pagesize",
  12370. "in": "query"
  12371. },
  12372. {
  12373. "type": "integer",
  12374. "description": "仓单贸易市场id",
  12375. "name": "marketid",
  12376. "in": "query"
  12377. },
  12378. {
  12379. "type": "integer",
  12380. "description": "价格方式 - 1:固定价 2-浮动价",
  12381. "name": "wrpricetype",
  12382. "in": "query",
  12383. "required": true
  12384. },
  12385. {
  12386. "type": "integer",
  12387. "description": "0:仓单预售 1:仓单贸易",
  12388. "name": "haswr",
  12389. "in": "query"
  12390. },
  12391. {
  12392. "type": "integer",
  12393. "description": "仓单要素id",
  12394. "name": "wrfactortypeid",
  12395. "in": "query",
  12396. "required": true
  12397. },
  12398. {
  12399. "type": "integer",
  12400. "description": "期货商品id(浮动价方式时填)",
  12401. "name": "goodsid",
  12402. "in": "query"
  12403. },
  12404. {
  12405. "type": "integer",
  12406. "description": "买卖方向 0-买 1-卖",
  12407. "name": "buyorsell",
  12408. "in": "query",
  12409. "required": true
  12410. },
  12411. {
  12412. "type": "string",
  12413. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  12414. "name": "deliverymonth",
  12415. "in": "query"
  12416. }
  12417. ],
  12418. "responses": {
  12419. "200": {
  12420. "description": "OK",
  12421. "schema": {
  12422. "type": "array",
  12423. "items": {
  12424. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  12425. }
  12426. }
  12427. },
  12428. "500": {
  12429. "description": "Internal Server Error",
  12430. "schema": {
  12431. "$ref": "#/definitions/app.Response"
  12432. }
  12433. }
  12434. }
  12435. }
  12436. },
  12437. "/WrTrade2/QueryOrderQuoteMyq": {
  12438. "get": {
  12439. "security": [
  12440. {
  12441. "ApiKeyAuth": []
  12442. }
  12443. ],
  12444. "produces": [
  12445. "application/json"
  12446. ],
  12447. "tags": [
  12448. "仓单贸易v2"
  12449. ],
  12450. "summary": "查询贸易圈挂牌大厅",
  12451. "parameters": [
  12452. {
  12453. "type": "integer",
  12454. "description": "页码",
  12455. "name": "page",
  12456. "in": "query"
  12457. },
  12458. {
  12459. "type": "integer",
  12460. "description": "每页条数",
  12461. "name": "pagesize",
  12462. "in": "query"
  12463. },
  12464. {
  12465. "type": "integer",
  12466. "description": "用户id",
  12467. "name": "userid",
  12468. "in": "query",
  12469. "required": true
  12470. },
  12471. {
  12472. "type": "integer",
  12473. "description": "仓单贸易市场id",
  12474. "name": "marketid",
  12475. "in": "query"
  12476. },
  12477. {
  12478. "type": "integer",
  12479. "description": "0:仓单预售 1:仓单贸易",
  12480. "name": "haswr",
  12481. "in": "query"
  12482. },
  12483. {
  12484. "type": "integer",
  12485. "description": "买卖方向 0-买 1-卖",
  12486. "name": "buyorsell",
  12487. "in": "query",
  12488. "required": true
  12489. },
  12490. {
  12491. "type": "integer",
  12492. "description": "品种id",
  12493. "name": "deliverygoodsid",
  12494. "in": "query"
  12495. },
  12496. {
  12497. "type": "integer",
  12498. "description": "品类id",
  12499. "name": "wrstandardid",
  12500. "in": "query"
  12501. },
  12502. {
  12503. "type": "string",
  12504. "description": "交收月(yyyy-mm) 仓单预售填写",
  12505. "name": "deliverymonth",
  12506. "in": "query"
  12507. },
  12508. {
  12509. "type": "string",
  12510. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12511. "name": "dgitemname",
  12512. "in": "query"
  12513. }
  12514. ],
  12515. "responses": {
  12516. "200": {
  12517. "description": "OK",
  12518. "schema": {
  12519. "type": "array",
  12520. "items": {
  12521. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  12522. }
  12523. }
  12524. },
  12525. "500": {
  12526. "description": "Internal Server Error",
  12527. "schema": {
  12528. "$ref": "#/definitions/app.Response"
  12529. }
  12530. }
  12531. }
  12532. }
  12533. },
  12534. "/WrTrade2/QueryPerformancePlan": {
  12535. "get": {
  12536. "security": [
  12537. {
  12538. "ApiKeyAuth": []
  12539. }
  12540. ],
  12541. "produces": [
  12542. "application/json"
  12543. ],
  12544. "tags": [
  12545. "仓单贸易v2"
  12546. ],
  12547. "summary": "查询履约信息",
  12548. "parameters": [
  12549. {
  12550. "type": "integer",
  12551. "description": "用户id",
  12552. "name": "userid",
  12553. "in": "query",
  12554. "required": true
  12555. },
  12556. {
  12557. "type": "integer",
  12558. "description": "买卖方向 0-买 1-卖",
  12559. "name": "buyorsell",
  12560. "in": "query",
  12561. "required": true
  12562. },
  12563. {
  12564. "type": "string",
  12565. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  12566. "name": "status",
  12567. "in": "query"
  12568. },
  12569. {
  12570. "type": "string",
  12571. "description": "开始交易日(yyyymmdd)",
  12572. "name": "begindate",
  12573. "in": "query"
  12574. },
  12575. {
  12576. "type": "string",
  12577. "description": "结束交易日(yyyymmdd)",
  12578. "name": "enddate",
  12579. "in": "query"
  12580. }
  12581. ],
  12582. "responses": {
  12583. "200": {
  12584. "description": "OK",
  12585. "schema": {
  12586. "type": "array",
  12587. "items": {
  12588. "$ref": "#/definitions/models.WrPerformancePlan"
  12589. }
  12590. }
  12591. },
  12592. "500": {
  12593. "description": "Internal Server Error",
  12594. "schema": {
  12595. "$ref": "#/definitions/app.Response"
  12596. }
  12597. }
  12598. }
  12599. }
  12600. },
  12601. "/WrTrade2/QueryPermancePlanTmp": {
  12602. "get": {
  12603. "security": [
  12604. {
  12605. "ApiKeyAuth": []
  12606. }
  12607. ],
  12608. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  12609. "produces": [
  12610. "application/json"
  12611. ],
  12612. "tags": [
  12613. "仓单贸易v2"
  12614. ],
  12615. "summary": "查询履约模板",
  12616. "parameters": [
  12617. {
  12618. "type": "integer",
  12619. "description": "用户id",
  12620. "name": "userid",
  12621. "in": "query"
  12622. },
  12623. {
  12624. "type": "string",
  12625. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  12626. "name": "tmptype",
  12627. "in": "query"
  12628. },
  12629. {
  12630. "type": "integer",
  12631. "description": "是否包含公共模板(用户id为空的) 1-包含",
  12632. "name": "includepub",
  12633. "in": "query"
  12634. },
  12635. {
  12636. "type": "integer",
  12637. "description": "市场id(天津麦顿指定此参数,其它不用)",
  12638. "name": "marketid",
  12639. "in": "query"
  12640. }
  12641. ],
  12642. "responses": {
  12643. "200": {
  12644. "description": "OK",
  12645. "schema": {
  12646. "type": "array",
  12647. "items": {
  12648. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  12649. }
  12650. }
  12651. },
  12652. "500": {
  12653. "description": "Internal Server Error",
  12654. "schema": {
  12655. "$ref": "#/definitions/app.Response"
  12656. }
  12657. }
  12658. }
  12659. }
  12660. },
  12661. "/WrTrade2/QuerySiteColumnDetail": {
  12662. "get": {
  12663. "security": [
  12664. {
  12665. "ApiKeyAuth": []
  12666. }
  12667. ],
  12668. "produces": [
  12669. "application/json"
  12670. ],
  12671. "tags": [
  12672. "仓单贸易v2"
  12673. ],
  12674. "summary": "查询资讯",
  12675. "parameters": [
  12676. {
  12677. "type": "integer",
  12678. "description": "页码",
  12679. "name": "page",
  12680. "in": "query"
  12681. },
  12682. {
  12683. "type": "integer",
  12684. "description": "每页条数",
  12685. "name": "pagesize",
  12686. "in": "query"
  12687. }
  12688. ],
  12689. "responses": {
  12690. "200": {
  12691. "description": "OK",
  12692. "schema": {
  12693. "type": "array",
  12694. "items": {
  12695. "$ref": "#/definitions/models.WrSiteColumnDetail"
  12696. }
  12697. }
  12698. },
  12699. "500": {
  12700. "description": "Internal Server Error",
  12701. "schema": {
  12702. "$ref": "#/definitions/app.Response"
  12703. }
  12704. }
  12705. }
  12706. }
  12707. },
  12708. "/WrTrade2/QuerySpotGroupTradeSum": {
  12709. "get": {
  12710. "security": [
  12711. {
  12712. "ApiKeyAuth": []
  12713. }
  12714. ],
  12715. "produces": [
  12716. "application/json"
  12717. ],
  12718. "tags": [
  12719. "仓单贸易v2"
  12720. ],
  12721. "summary": "查询指数",
  12722. "responses": {
  12723. "200": {
  12724. "description": "OK",
  12725. "schema": {
  12726. "type": "array",
  12727. "items": {
  12728. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  12729. }
  12730. }
  12731. },
  12732. "500": {
  12733. "description": "Internal Server Error",
  12734. "schema": {
  12735. "$ref": "#/definitions/app.Response"
  12736. }
  12737. }
  12738. }
  12739. }
  12740. },
  12741. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  12742. "get": {
  12743. "security": [
  12744. {
  12745. "ApiKeyAuth": []
  12746. }
  12747. ],
  12748. "description": "查询的结果将会按日期 从小到大 排序",
  12749. "produces": [
  12750. "application/json"
  12751. ],
  12752. "tags": [
  12753. "仓单贸易v2"
  12754. ],
  12755. "summary": "查询指数详细(价格走势图)",
  12756. "parameters": [
  12757. {
  12758. "type": "integer",
  12759. "description": "现货商品id",
  12760. "name": "deliverygoodsid",
  12761. "in": "query",
  12762. "required": true
  12763. },
  12764. {
  12765. "type": "integer",
  12766. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  12767. "name": "lastnum",
  12768. "in": "query"
  12769. }
  12770. ],
  12771. "responses": {
  12772. "200": {
  12773. "description": "OK",
  12774. "schema": {
  12775. "type": "array",
  12776. "items": {
  12777. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  12778. }
  12779. }
  12780. },
  12781. "500": {
  12782. "description": "Internal Server Error",
  12783. "schema": {
  12784. "$ref": "#/definitions/app.Response"
  12785. }
  12786. }
  12787. }
  12788. }
  12789. },
  12790. "/WrTrade2/QueryWrAverageTradePrice": {
  12791. "get": {
  12792. "security": [
  12793. {
  12794. "ApiKeyAuth": []
  12795. }
  12796. ],
  12797. "produces": [
  12798. "application/json"
  12799. ],
  12800. "tags": [
  12801. "仓单贸易v2"
  12802. ],
  12803. "summary": "查询成交价(历史走势)",
  12804. "parameters": [
  12805. {
  12806. "type": "integer",
  12807. "description": "页码",
  12808. "name": "page",
  12809. "in": "query"
  12810. },
  12811. {
  12812. "type": "integer",
  12813. "description": "每页条数",
  12814. "name": "pagesize",
  12815. "in": "query"
  12816. },
  12817. {
  12818. "type": "integer",
  12819. "description": "0:仓单预售 1:仓单贸易",
  12820. "name": "haswr",
  12821. "in": "query",
  12822. "required": true
  12823. },
  12824. {
  12825. "type": "integer",
  12826. "description": "仓单要素id",
  12827. "name": "wrfactortypeid",
  12828. "in": "query",
  12829. "required": true
  12830. }
  12831. ],
  12832. "responses": {
  12833. "200": {
  12834. "description": "OK",
  12835. "schema": {
  12836. "type": "array",
  12837. "items": {
  12838. "$ref": "#/definitions/models.WrAverageTradePrice"
  12839. }
  12840. }
  12841. },
  12842. "500": {
  12843. "description": "Internal Server Error",
  12844. "schema": {
  12845. "$ref": "#/definitions/app.Response"
  12846. }
  12847. }
  12848. }
  12849. }
  12850. },
  12851. "/WrTrade2/QueryWrBsGoodsInfo": {
  12852. "get": {
  12853. "security": [
  12854. {
  12855. "ApiKeyAuth": []
  12856. }
  12857. ],
  12858. "description": "合约交易/买卖大厅/详情",
  12859. "produces": [
  12860. "application/json"
  12861. ],
  12862. "tags": [
  12863. "仓单贸易v2"
  12864. ],
  12865. "summary": "查询合约交易买卖大厅详情",
  12866. "parameters": [
  12867. {
  12868. "type": "integer",
  12869. "description": "商品id",
  12870. "name": "goodsid",
  12871. "in": "query",
  12872. "required": true
  12873. }
  12874. ],
  12875. "responses": {
  12876. "200": {
  12877. "description": "OK",
  12878. "schema": {
  12879. "type": "array",
  12880. "items": {
  12881. "$ref": "#/definitions/models.WrBsGoodsInfo"
  12882. }
  12883. }
  12884. },
  12885. "500": {
  12886. "description": "Internal Server Error",
  12887. "schema": {
  12888. "$ref": "#/definitions/app.Response"
  12889. }
  12890. }
  12891. }
  12892. }
  12893. },
  12894. "/WrTrade2/QueryWrBuybackDetail": {
  12895. "get": {
  12896. "security": [
  12897. {
  12898. "ApiKeyAuth": []
  12899. }
  12900. ],
  12901. "produces": [
  12902. "application/json"
  12903. ],
  12904. "tags": [
  12905. "仓单贸易v2"
  12906. ],
  12907. "summary": "查询仓单回购明细",
  12908. "parameters": [
  12909. {
  12910. "type": "integer",
  12911. "description": "融资合同id",
  12912. "name": "scfcontractid",
  12913. "in": "query"
  12914. }
  12915. ],
  12916. "responses": {
  12917. "200": {
  12918. "description": "OK",
  12919. "schema": {
  12920. "type": "array",
  12921. "items": {
  12922. "$ref": "#/definitions/models.WrBuybackDetail"
  12923. }
  12924. }
  12925. },
  12926. "500": {
  12927. "description": "Internal Server Error",
  12928. "schema": {
  12929. "$ref": "#/definitions/app.Response"
  12930. }
  12931. }
  12932. }
  12933. }
  12934. },
  12935. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  12936. "get": {
  12937. "security": [
  12938. {
  12939. "ApiKeyAuth": []
  12940. }
  12941. ],
  12942. "produces": [
  12943. "application/json"
  12944. ],
  12945. "tags": [
  12946. "仓单贸易v2"
  12947. ],
  12948. "summary": "查询合约交收可点选仓单",
  12949. "parameters": [
  12950. {
  12951. "type": "integer",
  12952. "description": "资金账号",
  12953. "name": "accountid",
  12954. "in": "query",
  12955. "required": true
  12956. },
  12957. {
  12958. "type": "integer",
  12959. "description": "商品id",
  12960. "name": "goodsid",
  12961. "in": "query",
  12962. "required": true
  12963. }
  12964. ],
  12965. "responses": {
  12966. "200": {
  12967. "description": "OK",
  12968. "schema": {
  12969. "type": "array",
  12970. "items": {
  12971. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  12972. }
  12973. }
  12974. },
  12975. "500": {
  12976. "description": "Internal Server Error",
  12977. "schema": {
  12978. "$ref": "#/definitions/app.Response"
  12979. }
  12980. }
  12981. }
  12982. }
  12983. },
  12984. "/WrTrade2/QueryWrDeliveryDetail": {
  12985. "get": {
  12986. "security": [
  12987. {
  12988. "ApiKeyAuth": []
  12989. }
  12990. ],
  12991. "produces": [
  12992. "application/json"
  12993. ],
  12994. "tags": [
  12995. "仓单贸易v2"
  12996. ],
  12997. "summary": "查询交收",
  12998. "parameters": [
  12999. {
  13000. "type": "integer",
  13001. "description": "用户id",
  13002. "name": "userid",
  13003. "in": "query",
  13004. "required": true
  13005. },
  13006. {
  13007. "type": "integer",
  13008. "description": "资金账号id",
  13009. "name": "accountid",
  13010. "in": "query"
  13011. },
  13012. {
  13013. "type": "string",
  13014. "description": "开始交易日(yyyymmdd)",
  13015. "name": "begindate",
  13016. "in": "query"
  13017. },
  13018. {
  13019. "type": "string",
  13020. "description": "结束交易日(yyyymmdd)",
  13021. "name": "enddate",
  13022. "in": "query"
  13023. }
  13024. ],
  13025. "responses": {
  13026. "200": {
  13027. "description": "OK",
  13028. "schema": {
  13029. "type": "array",
  13030. "items": {
  13031. "$ref": "#/definitions/models.WrDeliveryDetail"
  13032. }
  13033. }
  13034. },
  13035. "500": {
  13036. "description": "Internal Server Error",
  13037. "schema": {
  13038. "$ref": "#/definitions/app.Response"
  13039. }
  13040. }
  13041. }
  13042. }
  13043. },
  13044. "/WrTrade2/QueryWrFactorTypeInfo": {
  13045. "get": {
  13046. "security": [
  13047. {
  13048. "ApiKeyAuth": []
  13049. }
  13050. ],
  13051. "produces": [
  13052. "application/json"
  13053. ],
  13054. "tags": [
  13055. "仓单贸易v2"
  13056. ],
  13057. "summary": "查询仓单要素详细信息",
  13058. "parameters": [
  13059. {
  13060. "type": "integer",
  13061. "description": "仓单要素id",
  13062. "name": "wrfactortypeid",
  13063. "in": "query",
  13064. "required": true
  13065. }
  13066. ],
  13067. "responses": {
  13068. "200": {
  13069. "description": "OK",
  13070. "schema": {
  13071. "type": "array",
  13072. "items": {
  13073. "$ref": "#/definitions/models.WrFactorTypeInfo"
  13074. }
  13075. }
  13076. },
  13077. "500": {
  13078. "description": "Internal Server Error",
  13079. "schema": {
  13080. "$ref": "#/definitions/app.Response"
  13081. }
  13082. }
  13083. }
  13084. }
  13085. },
  13086. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  13087. "get": {
  13088. "security": [
  13089. {
  13090. "ApiKeyAuth": []
  13091. }
  13092. ],
  13093. "produces": [
  13094. "application/json"
  13095. ],
  13096. "tags": [
  13097. "仓单贸易v2"
  13098. ],
  13099. "summary": "查询仓单要素详细信息列表项",
  13100. "parameters": [
  13101. {
  13102. "type": "integer",
  13103. "description": "仓单要素id",
  13104. "name": "wrfactortypeid",
  13105. "in": "query",
  13106. "required": true
  13107. }
  13108. ],
  13109. "responses": {
  13110. "200": {
  13111. "description": "OK",
  13112. "schema": {
  13113. "type": "array",
  13114. "items": {
  13115. "$ref": "#/definitions/models.WrTypeItem"
  13116. }
  13117. }
  13118. },
  13119. "500": {
  13120. "description": "Internal Server Error",
  13121. "schema": {
  13122. "$ref": "#/definitions/app.Response"
  13123. }
  13124. }
  13125. }
  13126. }
  13127. },
  13128. "/WrTrade2/QueryWrFinanceBuyApply": {
  13129. "get": {
  13130. "security": [
  13131. {
  13132. "ApiKeyAuth": []
  13133. }
  13134. ],
  13135. "description": "页面 融资信息+ / 申请单",
  13136. "produces": [
  13137. "application/json"
  13138. ],
  13139. "tags": [
  13140. "仓单贸易v2"
  13141. ],
  13142. "summary": "查询融资购买申请",
  13143. "parameters": [
  13144. {
  13145. "type": "integer",
  13146. "description": "用户id",
  13147. "name": "userid",
  13148. "in": "query",
  13149. "required": true
  13150. }
  13151. ],
  13152. "responses": {
  13153. "200": {
  13154. "description": "OK",
  13155. "schema": {
  13156. "type": "array",
  13157. "items": {
  13158. "$ref": "#/definitions/models.WrFinanceBuyApply"
  13159. }
  13160. }
  13161. },
  13162. "500": {
  13163. "description": "Internal Server Error",
  13164. "schema": {
  13165. "$ref": "#/definitions/app.Response"
  13166. }
  13167. }
  13168. }
  13169. }
  13170. },
  13171. "/WrTrade2/QueryWrFriendApply": {
  13172. "get": {
  13173. "security": [
  13174. {
  13175. "ApiKeyAuth": []
  13176. }
  13177. ],
  13178. "produces": [
  13179. "application/json"
  13180. ],
  13181. "tags": [
  13182. "仓单贸易v2"
  13183. ],
  13184. "summary": "查询好友申请记录",
  13185. "parameters": [
  13186. {
  13187. "type": "integer",
  13188. "description": "用户id",
  13189. "name": "userid",
  13190. "in": "query",
  13191. "required": true
  13192. }
  13193. ],
  13194. "responses": {
  13195. "200": {
  13196. "description": "OK",
  13197. "schema": {
  13198. "type": "array",
  13199. "items": {
  13200. "$ref": "#/definitions/models.WrFriendApply"
  13201. }
  13202. }
  13203. },
  13204. "500": {
  13205. "description": "Internal Server Error",
  13206. "schema": {
  13207. "$ref": "#/definitions/app.Response"
  13208. }
  13209. }
  13210. }
  13211. }
  13212. },
  13213. "/WrTrade2/QueryWrGoodsInfo": {
  13214. "get": {
  13215. "security": [
  13216. {
  13217. "ApiKeyAuth": []
  13218. }
  13219. ],
  13220. "produces": [
  13221. "application/json"
  13222. ],
  13223. "tags": [
  13224. "仓单贸易v2"
  13225. ],
  13226. "summary": "查询仓单商品信息",
  13227. "parameters": [
  13228. {
  13229. "type": "integer",
  13230. "description": "仓单贸易市场id",
  13231. "name": "marketid",
  13232. "in": "query"
  13233. },
  13234. {
  13235. "type": "integer",
  13236. "description": "0:仓单预售 1:仓单贸易",
  13237. "name": "haswr",
  13238. "in": "query",
  13239. "required": true
  13240. },
  13241. {
  13242. "type": "integer",
  13243. "description": "仓单要素id",
  13244. "name": "wrfactortypeid",
  13245. "in": "query",
  13246. "required": true
  13247. },
  13248. {
  13249. "type": "integer",
  13250. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  13251. "name": "tmplateid",
  13252. "in": "query"
  13253. }
  13254. ],
  13255. "responses": {
  13256. "200": {
  13257. "description": "OK",
  13258. "schema": {
  13259. "type": "array",
  13260. "items": {
  13261. "$ref": "#/definitions/models.WrGoodsInfo"
  13262. }
  13263. }
  13264. },
  13265. "500": {
  13266. "description": "Internal Server Error",
  13267. "schema": {
  13268. "$ref": "#/definitions/app.Response"
  13269. }
  13270. }
  13271. }
  13272. }
  13273. },
  13274. "/WrTrade2/QueryWrMarketTradeConfig": {
  13275. "get": {
  13276. "security": [
  13277. {
  13278. "ApiKeyAuth": []
  13279. }
  13280. ],
  13281. "produces": [
  13282. "application/json"
  13283. ],
  13284. "tags": [
  13285. "仓单贸易v2"
  13286. ],
  13287. "summary": "查询市场交易参数配置",
  13288. "parameters": [
  13289. {
  13290. "type": "integer",
  13291. "description": "市场id",
  13292. "name": "marketid",
  13293. "in": "query"
  13294. }
  13295. ],
  13296. "responses": {
  13297. "200": {
  13298. "description": "OK",
  13299. "schema": {
  13300. "type": "array",
  13301. "items": {
  13302. "$ref": "#/definitions/models.WrMarketTradeConfig"
  13303. }
  13304. }
  13305. },
  13306. "500": {
  13307. "description": "Internal Server Error",
  13308. "schema": {
  13309. "$ref": "#/definitions/app.Response"
  13310. }
  13311. }
  13312. }
  13313. }
  13314. },
  13315. "/WrTrade2/QueryWrOrderDetail": {
  13316. "get": {
  13317. "security": [
  13318. {
  13319. "ApiKeyAuth": []
  13320. }
  13321. ],
  13322. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  13323. "produces": [
  13324. "application/json"
  13325. ],
  13326. "tags": [
  13327. "仓单贸易v2"
  13328. ],
  13329. "summary": "查询仓单委托单(挂单)",
  13330. "parameters": [
  13331. {
  13332. "type": "integer",
  13333. "description": "页码",
  13334. "name": "page",
  13335. "in": "query"
  13336. },
  13337. {
  13338. "type": "integer",
  13339. "description": "每页条数",
  13340. "name": "pagesize",
  13341. "in": "query"
  13342. },
  13343. {
  13344. "type": "integer",
  13345. "description": "用户id",
  13346. "name": "userid",
  13347. "in": "query",
  13348. "required": true
  13349. },
  13350. {
  13351. "type": "integer",
  13352. "description": "仓单贸易市场id",
  13353. "name": "marketid",
  13354. "in": "query"
  13355. },
  13356. {
  13357. "type": "integer",
  13358. "description": "0:仓单预售 1:仓单贸易",
  13359. "name": "haswr",
  13360. "in": "query",
  13361. "required": true
  13362. },
  13363. {
  13364. "type": "string",
  13365. "description": "开始交易日(yyyymmdd)",
  13366. "name": "begindate",
  13367. "in": "query"
  13368. },
  13369. {
  13370. "type": "string",
  13371. "description": "结束交易日(yyyymmdd)",
  13372. "name": "enddate",
  13373. "in": "query"
  13374. }
  13375. ],
  13376. "responses": {
  13377. "200": {
  13378. "description": "OK",
  13379. "schema": {
  13380. "type": "array",
  13381. "items": {
  13382. "$ref": "#/definitions/models.WrOrderDetail"
  13383. }
  13384. }
  13385. },
  13386. "500": {
  13387. "description": "Internal Server Error",
  13388. "schema": {
  13389. "$ref": "#/definitions/app.Response"
  13390. }
  13391. }
  13392. }
  13393. }
  13394. },
  13395. "/WrTrade2/QueryWrOutInApply": {
  13396. "get": {
  13397. "security": [
  13398. {
  13399. "ApiKeyAuth": []
  13400. }
  13401. ],
  13402. "produces": [
  13403. "application/json"
  13404. ],
  13405. "tags": [
  13406. "仓单贸易v2"
  13407. ],
  13408. "summary": "查询提货申请",
  13409. "parameters": [
  13410. {
  13411. "type": "integer",
  13412. "description": "用户id",
  13413. "name": "userid",
  13414. "in": "query",
  13415. "required": true
  13416. },
  13417. {
  13418. "type": "string",
  13419. "description": "开始交易日(yyyymmdd)",
  13420. "name": "begindate",
  13421. "in": "query"
  13422. },
  13423. {
  13424. "type": "string",
  13425. "description": "结束交易日(yyyymmdd)",
  13426. "name": "enddate",
  13427. "in": "query"
  13428. }
  13429. ],
  13430. "responses": {
  13431. "200": {
  13432. "description": "OK",
  13433. "schema": {
  13434. "type": "array",
  13435. "items": {
  13436. "$ref": "#/definitions/models.WrOutInApply"
  13437. }
  13438. }
  13439. },
  13440. "500": {
  13441. "description": "Internal Server Error",
  13442. "schema": {
  13443. "$ref": "#/definitions/app.Response"
  13444. }
  13445. }
  13446. }
  13447. }
  13448. },
  13449. "/WrTrade2/QueryWrPerformancePlanStep": {
  13450. "get": {
  13451. "security": [
  13452. {
  13453. "ApiKeyAuth": []
  13454. }
  13455. ],
  13456. "produces": [
  13457. "application/json"
  13458. ],
  13459. "tags": [
  13460. "仓单贸易v2"
  13461. ],
  13462. "summary": "查询履约信息详情",
  13463. "parameters": [
  13464. {
  13465. "type": "integer",
  13466. "description": "履约计划id(performanceplanid)",
  13467. "name": "planid",
  13468. "in": "query",
  13469. "required": true
  13470. },
  13471. {
  13472. "type": "integer",
  13473. "description": "当前步骤id",
  13474. "name": "curstepid",
  13475. "in": "query"
  13476. }
  13477. ],
  13478. "responses": {
  13479. "200": {
  13480. "description": "OK",
  13481. "schema": {
  13482. "type": "array",
  13483. "items": {
  13484. "$ref": "#/definitions/models.WrPerformancePlanStep"
  13485. }
  13486. }
  13487. },
  13488. "500": {
  13489. "description": "Internal Server Error",
  13490. "schema": {
  13491. "$ref": "#/definitions/app.Response"
  13492. }
  13493. }
  13494. }
  13495. }
  13496. },
  13497. "/WrTrade2/QueryWrPerformanceStepType": {
  13498. "get": {
  13499. "security": [
  13500. {
  13501. "ApiKeyAuth": []
  13502. }
  13503. ],
  13504. "produces": [
  13505. "application/json"
  13506. ],
  13507. "tags": [
  13508. "仓单贸易v2"
  13509. ],
  13510. "summary": "查询履约步骤枚举",
  13511. "responses": {
  13512. "200": {
  13513. "description": "OK",
  13514. "schema": {
  13515. "type": "array",
  13516. "items": {
  13517. "$ref": "#/definitions/models.WrPerformanceStepType"
  13518. }
  13519. }
  13520. },
  13521. "500": {
  13522. "description": "Internal Server Error",
  13523. "schema": {
  13524. "$ref": "#/definitions/app.Response"
  13525. }
  13526. }
  13527. }
  13528. }
  13529. },
  13530. "/WrTrade2/QueryWrPosition": {
  13531. "get": {
  13532. "security": [
  13533. {
  13534. "ApiKeyAuth": []
  13535. }
  13536. ],
  13537. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  13538. "produces": [
  13539. "application/json"
  13540. ],
  13541. "tags": [
  13542. "仓单贸易v2"
  13543. ],
  13544. "summary": "查询现货(预售)仓单持仓",
  13545. "parameters": [
  13546. {
  13547. "type": "integer",
  13548. "description": "用户id",
  13549. "name": "userid",
  13550. "in": "query",
  13551. "required": true
  13552. },
  13553. {
  13554. "type": "integer",
  13555. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  13556. "name": "querytype",
  13557. "in": "query",
  13558. "required": true
  13559. },
  13560. {
  13561. "type": "integer",
  13562. "description": "0:仓单预售 1:仓单贸易",
  13563. "name": "haswr",
  13564. "in": "query",
  13565. "required": true
  13566. },
  13567. {
  13568. "type": "string",
  13569. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13570. "name": "dgitemname",
  13571. "in": "query"
  13572. },
  13573. {
  13574. "type": "integer",
  13575. "description": "仓库id(筛选条件)",
  13576. "name": "warehouseid",
  13577. "in": "query"
  13578. },
  13579. {
  13580. "type": "integer",
  13581. "description": "品种id",
  13582. "name": "deliverygoodsid",
  13583. "in": "query"
  13584. },
  13585. {
  13586. "type": "integer",
  13587. "description": "品类id",
  13588. "name": "wrstandardid",
  13589. "in": "query"
  13590. }
  13591. ],
  13592. "responses": {
  13593. "200": {
  13594. "description": "OK",
  13595. "schema": {
  13596. "type": "array",
  13597. "items": {
  13598. "$ref": "#/definitions/models.WrPosition"
  13599. }
  13600. }
  13601. },
  13602. "500": {
  13603. "description": "Internal Server Error",
  13604. "schema": {
  13605. "$ref": "#/definitions/app.Response"
  13606. }
  13607. }
  13608. }
  13609. }
  13610. },
  13611. "/WrTrade2/QueryWrScfContract": {
  13612. "get": {
  13613. "security": [
  13614. {
  13615. "ApiKeyAuth": []
  13616. }
  13617. ],
  13618. "produces": [
  13619. "application/json"
  13620. ],
  13621. "tags": [
  13622. "仓单贸易v2"
  13623. ],
  13624. "summary": "查询仓单贸易融资合同",
  13625. "parameters": [
  13626. {
  13627. "type": "integer",
  13628. "description": "用户id",
  13629. "name": "userid",
  13630. "in": "query",
  13631. "required": true
  13632. },
  13633. {
  13634. "type": "integer",
  13635. "description": "融资合同id",
  13636. "name": "scfcontractid",
  13637. "in": "query"
  13638. }
  13639. ],
  13640. "responses": {
  13641. "200": {
  13642. "description": "OK",
  13643. "schema": {
  13644. "type": "array",
  13645. "items": {
  13646. "$ref": "#/definitions/models.WrScfContract"
  13647. }
  13648. }
  13649. },
  13650. "500": {
  13651. "description": "Internal Server Error",
  13652. "schema": {
  13653. "$ref": "#/definitions/app.Response"
  13654. }
  13655. }
  13656. }
  13657. }
  13658. },
  13659. "/WrTrade2/QueryWrScfContractInterest": {
  13660. "get": {
  13661. "security": [
  13662. {
  13663. "ApiKeyAuth": []
  13664. }
  13665. ],
  13666. "produces": [
  13667. "application/json"
  13668. ],
  13669. "tags": [
  13670. "仓单贸易v2"
  13671. ],
  13672. "summary": "查询融资合同费用明细",
  13673. "parameters": [
  13674. {
  13675. "type": "integer",
  13676. "description": "融资合同id",
  13677. "name": "scfcontractid",
  13678. "in": "query"
  13679. }
  13680. ],
  13681. "responses": {
  13682. "200": {
  13683. "description": "OK",
  13684. "schema": {
  13685. "type": "array",
  13686. "items": {
  13687. "$ref": "#/definitions/models.WrScfContractInterest"
  13688. }
  13689. }
  13690. },
  13691. "500": {
  13692. "description": "Internal Server Error",
  13693. "schema": {
  13694. "$ref": "#/definitions/app.Response"
  13695. }
  13696. }
  13697. }
  13698. }
  13699. },
  13700. "/WrTrade2/QueryWrSpecialMatchOrder": {
  13701. "get": {
  13702. "security": [
  13703. {
  13704. "ApiKeyAuth": []
  13705. }
  13706. ],
  13707. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  13708. "produces": [
  13709. "application/json"
  13710. ],
  13711. "tags": [
  13712. "仓单贸易v2"
  13713. ],
  13714. "summary": "查询指定成交",
  13715. "parameters": [
  13716. {
  13717. "type": "integer",
  13718. "description": "页码",
  13719. "name": "page",
  13720. "in": "query"
  13721. },
  13722. {
  13723. "type": "integer",
  13724. "description": "每页条数",
  13725. "name": "pagesize",
  13726. "in": "query"
  13727. },
  13728. {
  13729. "type": "integer",
  13730. "description": "用户id",
  13731. "name": "userid",
  13732. "in": "query",
  13733. "required": true
  13734. },
  13735. {
  13736. "type": "integer",
  13737. "description": "仓单贸易市场id",
  13738. "name": "marketid",
  13739. "in": "query"
  13740. },
  13741. {
  13742. "type": "integer",
  13743. "description": "0:仓单预售 1:仓单贸易",
  13744. "name": "haswr",
  13745. "in": "query",
  13746. "required": true
  13747. },
  13748. {
  13749. "type": "integer",
  13750. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  13751. "name": "isspecified",
  13752. "in": "query"
  13753. }
  13754. ],
  13755. "responses": {
  13756. "200": {
  13757. "description": "OK",
  13758. "schema": {
  13759. "type": "array",
  13760. "items": {
  13761. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  13762. }
  13763. }
  13764. },
  13765. "500": {
  13766. "description": "Internal Server Error",
  13767. "schema": {
  13768. "$ref": "#/definitions/app.Response"
  13769. }
  13770. }
  13771. }
  13772. }
  13773. },
  13774. "/WrTrade2/QueryWrStandardFactoryItem": {
  13775. "get": {
  13776. "security": [
  13777. {
  13778. "ApiKeyAuth": []
  13779. }
  13780. ],
  13781. "produces": [
  13782. "application/json"
  13783. ],
  13784. "tags": [
  13785. "仓单贸易v2"
  13786. ],
  13787. "summary": "查询品类要素定义项",
  13788. "parameters": [
  13789. {
  13790. "type": "integer",
  13791. "description": "品类id",
  13792. "name": "wrstandardid",
  13793. "in": "query",
  13794. "required": true
  13795. }
  13796. ],
  13797. "responses": {
  13798. "200": {
  13799. "description": "OK",
  13800. "schema": {
  13801. "type": "array",
  13802. "items": {
  13803. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  13804. }
  13805. }
  13806. },
  13807. "500": {
  13808. "description": "Internal Server Error",
  13809. "schema": {
  13810. "$ref": "#/definitions/app.Response"
  13811. }
  13812. }
  13813. }
  13814. }
  13815. },
  13816. "/WrTrade2/QueryWrTradeBargainApply": {
  13817. "get": {
  13818. "security": [
  13819. {
  13820. "ApiKeyAuth": []
  13821. }
  13822. ],
  13823. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  13824. "produces": [
  13825. "application/json"
  13826. ],
  13827. "tags": [
  13828. "仓单贸易v2"
  13829. ],
  13830. "summary": "查询议价单",
  13831. "parameters": [
  13832. {
  13833. "type": "integer",
  13834. "description": "议价人id(摘牌方)",
  13835. "name": "userid",
  13836. "in": "query"
  13837. },
  13838. {
  13839. "type": "integer",
  13840. "description": "挂牌方id(查对方议价时,填写此项)",
  13841. "name": "matchuserid",
  13842. "in": "query"
  13843. },
  13844. {
  13845. "type": "integer",
  13846. "description": "关联委托单id",
  13847. "name": "wrtradeorderid",
  13848. "in": "query"
  13849. },
  13850. {
  13851. "type": "integer",
  13852. "description": "0:仓单预售 1:仓单贸易",
  13853. "name": "haswr",
  13854. "in": "query",
  13855. "required": true
  13856. },
  13857. {
  13858. "type": "string",
  13859. "description": "开始交易日(yyyymmdd)",
  13860. "name": "begindate",
  13861. "in": "query"
  13862. },
  13863. {
  13864. "type": "string",
  13865. "description": "结束交易日(yyyymmdd)",
  13866. "name": "enddate",
  13867. "in": "query"
  13868. }
  13869. ],
  13870. "responses": {
  13871. "200": {
  13872. "description": "OK",
  13873. "schema": {
  13874. "type": "array",
  13875. "items": {
  13876. "$ref": "#/definitions/models.WRTradeBargainApply"
  13877. }
  13878. }
  13879. },
  13880. "500": {
  13881. "description": "Internal Server Error",
  13882. "schema": {
  13883. "$ref": "#/definitions/app.Response"
  13884. }
  13885. }
  13886. }
  13887. }
  13888. },
  13889. "/WrTrade2/QueryWrTradeDetail": {
  13890. "get": {
  13891. "security": [
  13892. {
  13893. "ApiKeyAuth": []
  13894. }
  13895. ],
  13896. "produces": [
  13897. "application/json"
  13898. ],
  13899. "tags": [
  13900. "仓单贸易v2"
  13901. ],
  13902. "summary": "查询仓单成交明细",
  13903. "parameters": [
  13904. {
  13905. "type": "integer",
  13906. "description": "页码",
  13907. "name": "page",
  13908. "in": "query"
  13909. },
  13910. {
  13911. "type": "integer",
  13912. "description": "每页条数",
  13913. "name": "pagesize",
  13914. "in": "query"
  13915. },
  13916. {
  13917. "type": "integer",
  13918. "description": "用户id",
  13919. "name": "userid",
  13920. "in": "query",
  13921. "required": true
  13922. },
  13923. {
  13924. "type": "integer",
  13925. "description": "仓单贸易市场id",
  13926. "name": "marketid",
  13927. "in": "query"
  13928. },
  13929. {
  13930. "type": "integer",
  13931. "description": "0:仓单预售 1:仓单贸易",
  13932. "name": "haswr",
  13933. "in": "query",
  13934. "required": true
  13935. },
  13936. {
  13937. "type": "string",
  13938. "description": "开始交易日(yyyymmdd)",
  13939. "name": "begindate",
  13940. "in": "query"
  13941. },
  13942. {
  13943. "type": "string",
  13944. "description": "结束交易日(yyyymmdd)",
  13945. "name": "enddate",
  13946. "in": "query"
  13947. }
  13948. ],
  13949. "responses": {
  13950. "200": {
  13951. "description": "OK",
  13952. "schema": {
  13953. "type": "array",
  13954. "items": {
  13955. "$ref": "#/definitions/models.WrTradeDetail"
  13956. }
  13957. }
  13958. },
  13959. "500": {
  13960. "description": "Internal Server Error",
  13961. "schema": {
  13962. "$ref": "#/definitions/app.Response"
  13963. }
  13964. }
  13965. }
  13966. }
  13967. },
  13968. "/WrTrade2/QueryWrTradeOrderDetail": {
  13969. "get": {
  13970. "security": [
  13971. {
  13972. "ApiKeyAuth": []
  13973. }
  13974. ],
  13975. "produces": [
  13976. "application/json"
  13977. ],
  13978. "tags": [
  13979. "仓单贸易v2"
  13980. ],
  13981. "summary": "查询合约交易买卖大厅",
  13982. "parameters": [
  13983. {
  13984. "type": "integer",
  13985. "description": "页码",
  13986. "name": "page",
  13987. "in": "query"
  13988. },
  13989. {
  13990. "type": "integer",
  13991. "description": "每页条数",
  13992. "name": "pagesize",
  13993. "in": "query"
  13994. },
  13995. {
  13996. "type": "integer",
  13997. "description": "商品id",
  13998. "name": "goodsid",
  13999. "in": "query",
  14000. "required": true
  14001. },
  14002. {
  14003. "type": "integer",
  14004. "description": "买卖方向 0-买 1-卖",
  14005. "name": "buyorsell",
  14006. "in": "query",
  14007. "required": true
  14008. }
  14009. ],
  14010. "responses": {
  14011. "200": {
  14012. "description": "OK",
  14013. "schema": {
  14014. "type": "array",
  14015. "items": {
  14016. "$ref": "#/definitions/models.WrTradeOrderDetail"
  14017. }
  14018. }
  14019. },
  14020. "500": {
  14021. "description": "Internal Server Error",
  14022. "schema": {
  14023. "$ref": "#/definitions/app.Response"
  14024. }
  14025. }
  14026. }
  14027. }
  14028. },
  14029. "/WrTrade2/QueryWrUserFriend": {
  14030. "get": {
  14031. "security": [
  14032. {
  14033. "ApiKeyAuth": []
  14034. }
  14035. ],
  14036. "produces": [
  14037. "application/json"
  14038. ],
  14039. "tags": [
  14040. "仓单贸易v2"
  14041. ],
  14042. "summary": "查询我的朋友",
  14043. "parameters": [
  14044. {
  14045. "type": "integer",
  14046. "description": "用户id",
  14047. "name": "userid",
  14048. "in": "query",
  14049. "required": true
  14050. },
  14051. {
  14052. "type": "integer",
  14053. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  14054. "name": "newuserid",
  14055. "in": "query"
  14056. }
  14057. ],
  14058. "responses": {
  14059. "200": {
  14060. "description": "OK",
  14061. "schema": {
  14062. "type": "array",
  14063. "items": {
  14064. "$ref": "#/definitions/models.WrUserFriend"
  14065. }
  14066. }
  14067. },
  14068. "500": {
  14069. "description": "Internal Server Error",
  14070. "schema": {
  14071. "$ref": "#/definitions/app.Response"
  14072. }
  14073. }
  14074. }
  14075. }
  14076. },
  14077. "/WrTrade2/QueryWrUserReceiptInfo": {
  14078. "get": {
  14079. "security": [
  14080. {
  14081. "ApiKeyAuth": []
  14082. }
  14083. ],
  14084. "produces": [
  14085. "application/json"
  14086. ],
  14087. "tags": [
  14088. "仓单贸易v2"
  14089. ],
  14090. "summary": "查询发票信息",
  14091. "parameters": [
  14092. {
  14093. "type": "integer",
  14094. "description": "用户id",
  14095. "name": "userid",
  14096. "in": "query"
  14097. },
  14098. {
  14099. "type": "integer",
  14100. "description": "发票类型 - 1:个人 2:企业",
  14101. "name": "receipttype",
  14102. "in": "query"
  14103. }
  14104. ],
  14105. "responses": {
  14106. "200": {
  14107. "description": "OK",
  14108. "schema": {
  14109. "type": "array",
  14110. "items": {
  14111. "$ref": "#/definitions/models.WrUserReceiptInfo"
  14112. }
  14113. }
  14114. },
  14115. "500": {
  14116. "description": "Internal Server Error",
  14117. "schema": {
  14118. "$ref": "#/definitions/app.Response"
  14119. }
  14120. }
  14121. }
  14122. }
  14123. },
  14124. "/ZJ/GetBankTip": {
  14125. "get": {
  14126. "produces": [
  14127. "application/json"
  14128. ],
  14129. "tags": [
  14130. "中江"
  14131. ],
  14132. "summary": "获取中江网银端出入金提示信息",
  14133. "responses": {
  14134. "200": {
  14135. "description": "OK",
  14136. "schema": {
  14137. "type": "string"
  14138. }
  14139. },
  14140. "500": {
  14141. "description": "Internal Server Error",
  14142. "schema": {
  14143. "$ref": "#/definitions/app.Response"
  14144. }
  14145. }
  14146. }
  14147. }
  14148. },
  14149. "/ZJ/GetCusBankChannels": {
  14150. "get": {
  14151. "produces": [
  14152. "application/json"
  14153. ],
  14154. "tags": [
  14155. "中江"
  14156. ],
  14157. "summary": "获取中江出入金渠道显示列表",
  14158. "responses": {
  14159. "200": {
  14160. "description": "OK",
  14161. "schema": {
  14162. "type": "array",
  14163. "items": {
  14164. "type": "string"
  14165. }
  14166. }
  14167. },
  14168. "500": {
  14169. "description": "Internal Server Error",
  14170. "schema": {
  14171. "$ref": "#/definitions/app.Response"
  14172. }
  14173. }
  14174. }
  14175. }
  14176. }
  14177. },
  14178. "definitions": {
  14179. "app.Response": {
  14180. "type": "object",
  14181. "properties": {
  14182. "code": {
  14183. "type": "integer"
  14184. },
  14185. "data": {
  14186. "type": "object"
  14187. },
  14188. "msg": {
  14189. "type": "string"
  14190. },
  14191. "page": {
  14192. "description": "页码",
  14193. "type": "integer"
  14194. },
  14195. "pagesize": {
  14196. "description": "每页条数",
  14197. "type": "integer"
  14198. },
  14199. "total": {
  14200. "description": "总条数",
  14201. "type": "integer"
  14202. }
  14203. }
  14204. },
  14205. "common.ClientMenu": {
  14206. "type": "object",
  14207. "properties": {
  14208. "children": {
  14209. "description": "子菜单列表",
  14210. "type": "array",
  14211. "items": {
  14212. "$ref": "#/definitions/common.ClientMenu"
  14213. }
  14214. },
  14215. "code": {
  14216. "description": "ID",
  14217. "type": "string"
  14218. },
  14219. "isshow": {
  14220. "description": "是否显示",
  14221. "type": "boolean"
  14222. },
  14223. "remark": {
  14224. "description": "备注",
  14225. "type": "string"
  14226. },
  14227. "rulekey": {
  14228. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  14229. "type": "string"
  14230. },
  14231. "sort": {
  14232. "description": "排序",
  14233. "type": "integer"
  14234. },
  14235. "title": {
  14236. "description": "标题",
  14237. "type": "string"
  14238. },
  14239. "type": {
  14240. "description": "类型,1:菜单 2:按钮",
  14241. "type": "integer"
  14242. },
  14243. "url": {
  14244. "description": "URL",
  14245. "type": "string"
  14246. }
  14247. }
  14248. },
  14249. "common.PCWebMenu": {
  14250. "type": "object",
  14251. "properties": {
  14252. "auth": {
  14253. "description": "页面权限列表",
  14254. "type": "array",
  14255. "items": {
  14256. "$ref": "#/definitions/common.PCWebMenuAuth"
  14257. }
  14258. },
  14259. "children": {
  14260. "description": "子菜单列表",
  14261. "type": "array",
  14262. "items": {
  14263. "$ref": "#/definitions/common.PCWebMenu"
  14264. }
  14265. },
  14266. "code": {
  14267. "description": "ID,新版本中权限KEY也是这个字段",
  14268. "type": "string"
  14269. },
  14270. "component": {
  14271. "description": "路由组件",
  14272. "type": "string"
  14273. },
  14274. "isshow": {
  14275. "description": "是否显示",
  14276. "type": "boolean"
  14277. },
  14278. "path": {
  14279. "description": "路由路径",
  14280. "type": "string"
  14281. },
  14282. "remark": {
  14283. "description": "备注",
  14284. "type": "string"
  14285. },
  14286. "rulekey": {
  14287. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14288. "type": "string"
  14289. },
  14290. "sort": {
  14291. "description": "排序",
  14292. "type": "integer"
  14293. },
  14294. "title": {
  14295. "description": "标题",
  14296. "type": "string"
  14297. },
  14298. "url": {
  14299. "description": "URL",
  14300. "type": "string"
  14301. }
  14302. }
  14303. },
  14304. "common.PCWebMenuAuth": {
  14305. "type": "object",
  14306. "properties": {
  14307. "code": {
  14308. "description": "ID,新版本中权限KEY也是这个字段",
  14309. "type": "string"
  14310. },
  14311. "isshow": {
  14312. "description": "是否显示",
  14313. "type": "boolean"
  14314. },
  14315. "label": {
  14316. "description": "标题",
  14317. "type": "string"
  14318. },
  14319. "remark": {
  14320. "description": "备注",
  14321. "type": "string"
  14322. },
  14323. "rulekey": {
  14324. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14325. "type": "string"
  14326. }
  14327. }
  14328. },
  14329. "common.QueryImageConfigsRsp": {
  14330. "type": "object",
  14331. "required": [
  14332. "configid"
  14333. ],
  14334. "properties": {
  14335. "areauserid": {
  14336. "description": "所属机构ID",
  14337. "type": "integer"
  14338. },
  14339. "configid": {
  14340. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14341. "type": "integer"
  14342. },
  14343. "createdate": {
  14344. "description": "创建时间",
  14345. "type": "string"
  14346. },
  14347. "creatorid": {
  14348. "description": "创建人",
  14349. "type": "integer"
  14350. },
  14351. "imagepath": {
  14352. "description": "图片",
  14353. "type": "string"
  14354. },
  14355. "imagetype": {
  14356. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  14357. "type": "integer"
  14358. },
  14359. "isshow": {
  14360. "description": "是否展示 - 0:不展示 1:展示",
  14361. "type": "integer"
  14362. },
  14363. "marketid": {
  14364. "description": "市场ID",
  14365. "type": "integer"
  14366. },
  14367. "modifierid": {
  14368. "description": "操作人",
  14369. "type": "integer"
  14370. },
  14371. "sort": {
  14372. "description": "排序",
  14373. "type": "integer"
  14374. },
  14375. "title": {
  14376. "description": "标题",
  14377. "type": "string"
  14378. },
  14379. "trademode": {
  14380. "description": "交易模式",
  14381. "type": "integer"
  14382. },
  14383. "updatedate": {
  14384. "description": "修改时间",
  14385. "type": "string"
  14386. },
  14387. "url": {
  14388. "description": "链接(地址或商品ID)",
  14389. "type": "string"
  14390. },
  14391. "urltype": {
  14392. "description": "链接类型 - 1:直接地址 2:商品ID",
  14393. "type": "integer"
  14394. }
  14395. }
  14396. },
  14397. "common.QueryNoticeRsp": {
  14398. "type": "object",
  14399. "required": [
  14400. "autoid"
  14401. ],
  14402. "properties": {
  14403. "auditoruserid": {
  14404. "description": "审核人",
  14405. "type": "integer"
  14406. },
  14407. "auditremark": {
  14408. "description": "审核备注",
  14409. "type": "string"
  14410. },
  14411. "audittime": {
  14412. "description": "审核日期",
  14413. "type": "string"
  14414. },
  14415. "autoid": {
  14416. "description": "自增ID",
  14417. "type": "integer"
  14418. },
  14419. "content": {
  14420. "description": "内容",
  14421. "type": "string"
  14422. },
  14423. "createtime": {
  14424. "description": "创建时间",
  14425. "type": "string"
  14426. },
  14427. "creatorid": {
  14428. "description": "建仓人",
  14429. "type": "integer"
  14430. },
  14431. "endtime": {
  14432. "description": "结束时间",
  14433. "type": "string"
  14434. },
  14435. "istop": {
  14436. "description": "是否置顶 - 0:不置顶 1:置顶",
  14437. "type": "integer"
  14438. },
  14439. "msgiconurl": {
  14440. "description": "消息图标Url",
  14441. "type": "string"
  14442. },
  14443. "msgtype": {
  14444. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  14445. "type": "integer"
  14446. },
  14447. "publisher": {
  14448. "description": "消息发布者",
  14449. "type": "string"
  14450. },
  14451. "readed": {
  14452. "description": "是否已读",
  14453. "type": "boolean"
  14454. },
  14455. "scheduletime": {
  14456. "description": "计划发送时间",
  14457. "type": "string"
  14458. },
  14459. "sendtype": {
  14460. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  14461. "type": "integer"
  14462. },
  14463. "sentstatus": {
  14464. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  14465. "type": "integer"
  14466. },
  14467. "title": {
  14468. "description": "标题",
  14469. "type": "string"
  14470. },
  14471. "userid": {
  14472. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  14473. "type": "integer"
  14474. }
  14475. }
  14476. },
  14477. "common.QueryProvincesAndCitiesRsp": {
  14478. "type": "object",
  14479. "properties": {
  14480. "cities": {
  14481. "description": "市",
  14482. "type": "array",
  14483. "items": {
  14484. "$ref": "#/definitions/models.Division"
  14485. }
  14486. },
  14487. "province": {
  14488. "description": "省",
  14489. "$ref": "#/definitions/models.Division"
  14490. }
  14491. }
  14492. },
  14493. "common.QueryTableDefineRsp": {
  14494. "type": "object",
  14495. "required": [
  14496. "tablekey"
  14497. ],
  14498. "properties": {
  14499. "columns": {
  14500. "description": "列头信息数组",
  14501. "type": "array",
  14502. "items": {
  14503. "$ref": "#/definitions/models.Tablecolumnconfig"
  14504. }
  14505. },
  14506. "remark": {
  14507. "description": "Remark",
  14508. "type": "string"
  14509. },
  14510. "tabelmenu": {
  14511. "description": "列表菜单",
  14512. "type": "string"
  14513. },
  14514. "tablekey": {
  14515. "description": "列表Key",
  14516. "type": "string"
  14517. },
  14518. "tablename": {
  14519. "description": "列表名称",
  14520. "type": "string"
  14521. },
  14522. "tabletype": {
  14523. "description": "列表类型 - 1:管理端 2:终端",
  14524. "type": "integer"
  14525. }
  14526. }
  14527. },
  14528. "common.QueryTraderMenuRsp": {
  14529. "type": "object",
  14530. "properties": {
  14531. "OperationMenu": {
  14532. "description": "功能菜单",
  14533. "type": "array",
  14534. "items": {
  14535. "$ref": "#/definitions/models.OperationPrimaryMenu"
  14536. }
  14537. },
  14538. "QuoteMenu": {
  14539. "description": "报价牌分类菜单",
  14540. "type": "array",
  14541. "items": {
  14542. "$ref": "#/definitions/models.QuotePrimaryMenu"
  14543. }
  14544. }
  14545. }
  14546. },
  14547. "cptrade.Cptradepositioncancel": {
  14548. "type": "object",
  14549. "required": [
  14550. "cancelid"
  14551. ],
  14552. "properties": {
  14553. "accountid": {
  14554. "description": "申请人账户ID",
  14555. "type": "integer"
  14556. },
  14557. "applystatus": {
  14558. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14559. "type": "integer"
  14560. },
  14561. "applytime": {
  14562. "description": "申请时间",
  14563. "type": "string"
  14564. },
  14565. "cancelid": {
  14566. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  14567. "type": "integer"
  14568. },
  14569. "cancelqty": {
  14570. "description": "注销数量",
  14571. "type": "integer"
  14572. },
  14573. "createtime": {
  14574. "description": "创建时间",
  14575. "type": "string"
  14576. },
  14577. "creatorid": {
  14578. "description": "创建人ID",
  14579. "type": "integer"
  14580. },
  14581. "creatorname": {
  14582. "description": "创建人",
  14583. "type": "string"
  14584. },
  14585. "goodscode": {
  14586. "description": "订单商品代码",
  14587. "type": "string"
  14588. },
  14589. "goodsid": {
  14590. "description": "商品ID",
  14591. "type": "integer"
  14592. },
  14593. "goodsname": {
  14594. "description": "订单商品名称",
  14595. "type": "string"
  14596. },
  14597. "goodunit": {
  14598. "description": "报价单位",
  14599. "type": "string"
  14600. },
  14601. "handlestatus": {
  14602. "description": "处理状态",
  14603. "type": "integer"
  14604. },
  14605. "marketid": {
  14606. "description": "市场ID",
  14607. "type": "integer"
  14608. },
  14609. "marketname": {
  14610. "description": "市场名称",
  14611. "type": "string"
  14612. },
  14613. "tradedate": {
  14614. "description": "交易日(yyyyMMdd)",
  14615. "type": "string"
  14616. },
  14617. "userid": {
  14618. "description": "申请人ID",
  14619. "type": "integer"
  14620. }
  14621. }
  14622. },
  14623. "cptrade.Cptradepresaleapply": {
  14624. "type": "object",
  14625. "required": [
  14626. "applyid"
  14627. ],
  14628. "properties": {
  14629. "accountid": {
  14630. "description": "申请人账户ID",
  14631. "type": "integer"
  14632. },
  14633. "applyid": {
  14634. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  14635. "type": "integer"
  14636. },
  14637. "applyremark": {
  14638. "description": "申请备注",
  14639. "type": "string"
  14640. },
  14641. "applystatus": {
  14642. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  14643. "type": "integer"
  14644. },
  14645. "applytime": {
  14646. "description": "申请时间",
  14647. "type": "string"
  14648. },
  14649. "attachmenturl": {
  14650. "description": "附件地址",
  14651. "type": "string"
  14652. },
  14653. "endtime": {
  14654. "description": "预售结束时间",
  14655. "type": "string"
  14656. },
  14657. "goodscode": {
  14658. "description": "商品代码",
  14659. "type": "string"
  14660. },
  14661. "goodsid": {
  14662. "description": "商品ID",
  14663. "type": "integer"
  14664. },
  14665. "goodsname": {
  14666. "description": "商品名称",
  14667. "type": "string"
  14668. },
  14669. "goodunit": {
  14670. "description": "报价单位",
  14671. "type": "string"
  14672. },
  14673. "handlestatus": {
  14674. "description": "处理状态",
  14675. "type": "integer"
  14676. },
  14677. "marketid": {
  14678. "description": "预售市场ID",
  14679. "type": "integer"
  14680. },
  14681. "marketname": {
  14682. "description": "预售市场名称",
  14683. "type": "string"
  14684. },
  14685. "presaleqty": {
  14686. "description": "预售数量",
  14687. "type": "integer"
  14688. },
  14689. "relatedgoodscode": {
  14690. "description": "关联交易合约代码",
  14691. "type": "string"
  14692. },
  14693. "relatedgoodsid": {
  14694. "description": "关联交易合约ID",
  14695. "type": "integer"
  14696. },
  14697. "relatedgoodsname": {
  14698. "description": "关联交易合约名称",
  14699. "type": "string"
  14700. },
  14701. "starttime": {
  14702. "description": "预售开始时间",
  14703. "type": "string"
  14704. },
  14705. "tradedate": {
  14706. "description": "交易日(yyyyMMdd)",
  14707. "type": "string"
  14708. },
  14709. "trademode": {
  14710. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  14711. "type": "integer"
  14712. },
  14713. "userid": {
  14714. "description": "申请人ID",
  14715. "type": "integer"
  14716. }
  14717. }
  14718. },
  14719. "cptrade.Cptradeusergoodsdata": {
  14720. "type": "object",
  14721. "required": [
  14722. "accountid",
  14723. "goodsid"
  14724. ],
  14725. "properties": {
  14726. "EnabledQty": {
  14727. "description": "可用量",
  14728. "type": "integer"
  14729. },
  14730. "GoodsCode": {
  14731. "description": "订单商品代码",
  14732. "type": "string"
  14733. },
  14734. "GoodsName": {
  14735. "description": "订单商品名称",
  14736. "type": "string"
  14737. },
  14738. "WRStandardCode": {
  14739. "description": "仓单标准代码",
  14740. "type": "string"
  14741. },
  14742. "WRStandardName": {
  14743. "description": "仓单标准名称",
  14744. "type": "string"
  14745. },
  14746. "accountid": {
  14747. "description": "账户ID",
  14748. "type": "integer"
  14749. },
  14750. "cancelqty": {
  14751. "description": "注销量",
  14752. "type": "integer"
  14753. },
  14754. "curpresaleqty": {
  14755. "description": "当前预售量",
  14756. "type": "integer"
  14757. },
  14758. "deliveryqty": {
  14759. "description": "交割量",
  14760. "type": "integer"
  14761. },
  14762. "freezeamount": {
  14763. "description": "冻结金额",
  14764. "type": "number"
  14765. },
  14766. "goodsid": {
  14767. "description": "商品ID",
  14768. "type": "integer"
  14769. },
  14770. "goodunit": {
  14771. "description": "报价单位",
  14772. "type": "string"
  14773. },
  14774. "hasspotfreeze": {
  14775. "description": "是否有现货冻结 - 0:否 1:有",
  14776. "type": "integer"
  14777. },
  14778. "inqty": {
  14779. "description": "转入量(总数量)",
  14780. "type": "integer"
  14781. },
  14782. "marketid": {
  14783. "description": "市场ID",
  14784. "type": "integer"
  14785. },
  14786. "presaledamount": {
  14787. "description": "已预售总金额",
  14788. "type": "integer"
  14789. },
  14790. "presaledqty": {
  14791. "description": "已预售量",
  14792. "type": "integer"
  14793. },
  14794. "userid": {
  14795. "description": "用户ID",
  14796. "type": "integer"
  14797. },
  14798. "wrstandardid": {
  14799. "description": "仓单标准ID",
  14800. "type": "integer"
  14801. }
  14802. }
  14803. },
  14804. "cptrade.QueryCPTradeMyBidRsp": {
  14805. "type": "object",
  14806. "required": [
  14807. "accountid",
  14808. "goodsid",
  14809. "marketid",
  14810. "orderid",
  14811. "orderqty",
  14812. "ordertime",
  14813. "tradeprice",
  14814. "tradeqty"
  14815. ],
  14816. "properties": {
  14817. "accountid": {
  14818. "description": "账户ID[报价币种]",
  14819. "type": "integer"
  14820. },
  14821. "goodsid": {
  14822. "description": "商品ID",
  14823. "type": "integer"
  14824. },
  14825. "goodunit": {
  14826. "description": "报价单位",
  14827. "type": "string"
  14828. },
  14829. "marketid": {
  14830. "description": "市场ID",
  14831. "type": "integer"
  14832. },
  14833. "orderid": {
  14834. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14835. "type": "integer"
  14836. },
  14837. "orderprice": {
  14838. "description": "委托价格",
  14839. "type": "number"
  14840. },
  14841. "orderqty": {
  14842. "description": "委托数量",
  14843. "type": "integer"
  14844. },
  14845. "ordertime": {
  14846. "description": "委托时间",
  14847. "type": "string"
  14848. },
  14849. "ordertotalprice": {
  14850. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  14851. "type": "number"
  14852. },
  14853. "ordertotalweight": {
  14854. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  14855. "type": "integer"
  14856. },
  14857. "totaltotalprice": {
  14858. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  14859. "type": "number"
  14860. },
  14861. "tradeprice": {
  14862. "description": "成交价格",
  14863. "type": "number"
  14864. },
  14865. "tradeqty": {
  14866. "description": "成交数量",
  14867. "type": "integer"
  14868. }
  14869. }
  14870. },
  14871. "cptrade.QueryCPTradeOrderDetailRsq": {
  14872. "type": "object",
  14873. "required": [
  14874. "accountid",
  14875. "buildtype",
  14876. "buyorsell",
  14877. "goodsid",
  14878. "marketid",
  14879. "memberuserid",
  14880. "operatetype",
  14881. "orderqty",
  14882. "ordertime",
  14883. "pricemode",
  14884. "strorderid",
  14885. "tradedate",
  14886. "validtype"
  14887. ],
  14888. "properties": {
  14889. "accountid": {
  14890. "description": "账户ID[报价币种]",
  14891. "type": "integer"
  14892. },
  14893. "buildtype": {
  14894. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  14895. "type": "integer"
  14896. },
  14897. "buyorsell": {
  14898. "description": "买卖 - 0:买 1:卖",
  14899. "type": "integer"
  14900. },
  14901. "cancelorderid": {
  14902. "description": "撤单单号(撤单时填写)",
  14903. "type": "integer"
  14904. },
  14905. "cancelqty": {
  14906. "description": "撤单数量",
  14907. "type": "integer"
  14908. },
  14909. "clientordertime": {
  14910. "description": "客户端委托时间",
  14911. "type": "string"
  14912. },
  14913. "clientticket": {
  14914. "description": "客户端流水号",
  14915. "type": "string"
  14916. },
  14917. "clienttype": {
  14918. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14919. "type": "integer"
  14920. },
  14921. "closeexchagechargevalue": {
  14922. "description": "平仓交易所手续费设置值",
  14923. "type": "number"
  14924. },
  14925. "closefeealgorithm": {
  14926. "description": "平仓手续费收取方式 1:比率 2:固定",
  14927. "type": "integer"
  14928. },
  14929. "closefreezecharge": {
  14930. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  14931. "type": "number"
  14932. },
  14933. "closememberchargevalue": {
  14934. "description": "平仓会员手续费设置值",
  14935. "type": "number"
  14936. },
  14937. "closeqty": {
  14938. "description": "平仓数量(先建后平操作 需要记录)",
  14939. "type": "integer"
  14940. },
  14941. "closetradeqty": {
  14942. "description": "平仓成交数量(先建后平操作,需要记录)",
  14943. "type": "integer"
  14944. },
  14945. "closeunfreezecharge": {
  14946. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  14947. "type": "number"
  14948. },
  14949. "delistingtype": {
  14950. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  14951. "type": "integer"
  14952. },
  14953. "freezecharge": {
  14954. "description": "冻结手续费",
  14955. "type": "number"
  14956. },
  14957. "freezemargin": {
  14958. "description": "冻结保证金(冻结交易金额)",
  14959. "type": "number"
  14960. },
  14961. "gcaccountid": {
  14962. "description": "账户ID[合约币种]",
  14963. "type": "integer"
  14964. },
  14965. "goodsid": {
  14966. "description": "商品ID",
  14967. "type": "integer"
  14968. },
  14969. "isconfirmexercise": {
  14970. "description": "是否确认行权- 0:否 1:是",
  14971. "type": "integer"
  14972. },
  14973. "ispreexercise": {
  14974. "description": "是否预申报- 0:否 1:是",
  14975. "type": "integer"
  14976. },
  14977. "listingselecttype": {
  14978. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14979. "type": "integer"
  14980. },
  14981. "marginalgorithm": {
  14982. "description": "保证金收取方式 1:比率 2:固定",
  14983. "type": "integer"
  14984. },
  14985. "marginvalue": {
  14986. "description": "即市保证金设置值",
  14987. "type": "number"
  14988. },
  14989. "marketid": {
  14990. "description": "市场ID",
  14991. "type": "integer"
  14992. },
  14993. "marketmaxsub": {
  14994. "description": "市价最大偏移范围",
  14995. "type": "number"
  14996. },
  14997. "memberuserid": {
  14998. "description": "所属会员UserID",
  14999. "type": "integer"
  15000. },
  15001. "openexchagechargevalue": {
  15002. "description": "建仓交易所手续费设置值",
  15003. "type": "number"
  15004. },
  15005. "openfeealgorithm": {
  15006. "description": "建仓手续费收取方式 1:比率 2:固定",
  15007. "type": "integer"
  15008. },
  15009. "openfreezecharge": {
  15010. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15011. "type": "number"
  15012. },
  15013. "openmemberchargevalue": {
  15014. "description": "建仓会员手续费设置值",
  15015. "type": "number"
  15016. },
  15017. "openqty": {
  15018. "description": "开仓数量(先建后平操作,需要记录)",
  15019. "type": "integer"
  15020. },
  15021. "opentradeqty": {
  15022. "description": "开仓成交数量(先建后平操作,需要记录)",
  15023. "type": "integer"
  15024. },
  15025. "openunfreezecharge": {
  15026. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15027. "type": "number"
  15028. },
  15029. "operatetype": {
  15030. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15031. "type": "integer"
  15032. },
  15033. "operatorid": {
  15034. "description": "登录账号(LoginID)",
  15035. "type": "integer"
  15036. },
  15037. "optiontype": {
  15038. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15039. "type": "integer"
  15040. },
  15041. "orderprice": {
  15042. "description": "委托价格",
  15043. "type": "number"
  15044. },
  15045. "orderqty": {
  15046. "description": "委托数量",
  15047. "type": "integer"
  15048. },
  15049. "ordersrc": {
  15050. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15051. "type": "integer"
  15052. },
  15053. "orderstatus": {
  15054. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15055. "type": "integer"
  15056. },
  15057. "ordertime": {
  15058. "description": "委托时间",
  15059. "type": "string"
  15060. },
  15061. "preexerciseprice": {
  15062. "description": "预申报价格",
  15063. "type": "number"
  15064. },
  15065. "premium": {
  15066. "description": "权利金",
  15067. "type": "number"
  15068. },
  15069. "preorderid": {
  15070. "description": "关联预埋单号(止盈止损单时填写)",
  15071. "type": "integer"
  15072. },
  15073. "pricemode": {
  15074. "description": "取价方式 - 1:市价 2: 限价",
  15075. "type": "integer"
  15076. },
  15077. "quoteid": {
  15078. "description": "报价单ID",
  15079. "type": "integer"
  15080. },
  15081. "relatedid": {
  15082. "description": "关联单号(交割单)",
  15083. "type": "integer"
  15084. },
  15085. "retcode": {
  15086. "description": "错误代码",
  15087. "type": "integer"
  15088. },
  15089. "sessionid": {
  15090. "description": "会话ID",
  15091. "type": "integer"
  15092. },
  15093. "strorderid": {
  15094. "description": "委托单号",
  15095. "type": "string"
  15096. },
  15097. "tradedate": {
  15098. "description": "交易日(yyyyMMdd)",
  15099. "type": "string"
  15100. },
  15101. "tradeproperty": {
  15102. "description": "交易属性",
  15103. "type": "integer"
  15104. },
  15105. "tradeqty": {
  15106. "description": "成交数量",
  15107. "type": "integer"
  15108. },
  15109. "unfreezecharge": {
  15110. "description": "解冻手续费",
  15111. "type": "number"
  15112. },
  15113. "unfreezemargin": {
  15114. "description": "解冻保证金",
  15115. "type": "number"
  15116. },
  15117. "updatetime": {
  15118. "description": "更新时间",
  15119. "type": "string"
  15120. },
  15121. "uuid": {
  15122. "description": "发起端唯一id",
  15123. "type": "string"
  15124. },
  15125. "validtime": {
  15126. "description": "有效期限",
  15127. "type": "string"
  15128. },
  15129. "validtype": {
  15130. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  15131. "type": "integer"
  15132. },
  15133. "volumetype": {
  15134. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  15135. "type": "integer"
  15136. }
  15137. }
  15138. },
  15139. "cptrade.QueryMyCPTradeGoodsRsp": {
  15140. "type": "object",
  15141. "required": [
  15142. "goodscode",
  15143. "goodsid",
  15144. "goodsname",
  15145. "marketid",
  15146. "relatedgoodscode",
  15147. "relatedgoodsname"
  15148. ],
  15149. "properties": {
  15150. "accountid": {
  15151. "description": "卖方账户ID",
  15152. "type": "integer"
  15153. },
  15154. "agreeunit": {
  15155. "description": "合约单位",
  15156. "type": "number"
  15157. },
  15158. "applyid": {
  15159. "description": "关联申请ID",
  15160. "type": "integer"
  15161. },
  15162. "attachmenturl": {
  15163. "description": "附件地址",
  15164. "type": "string"
  15165. },
  15166. "createtime": {
  15167. "description": "创建时间",
  15168. "type": "string"
  15169. },
  15170. "currencyid": {
  15171. "description": "报价货币ID",
  15172. "type": "integer"
  15173. },
  15174. "decimalplace": {
  15175. "description": "报价小数位",
  15176. "type": "integer"
  15177. },
  15178. "endtime": {
  15179. "description": "预售结束时间",
  15180. "type": "string"
  15181. },
  15182. "floorprice": {
  15183. "description": "底价[大宗式竞拍]",
  15184. "type": "number"
  15185. },
  15186. "goodscode": {
  15187. "description": "商品代码(预售)",
  15188. "type": "string"
  15189. },
  15190. "goodsdetail": {
  15191. "description": "详情[大宗]",
  15192. "type": "string"
  15193. },
  15194. "goodsid": {
  15195. "description": "商品ID(自增ID SEQ_GOODS)",
  15196. "type": "integer"
  15197. },
  15198. "goodsname": {
  15199. "description": "商品名称(预售)",
  15200. "type": "string"
  15201. },
  15202. "goodunit": {
  15203. "description": "报价单位",
  15204. "type": "string"
  15205. },
  15206. "goodunitid": {
  15207. "description": "报价单位ID",
  15208. "type": "integer"
  15209. },
  15210. "marketid": {
  15211. "description": "所属市场ID",
  15212. "type": "integer"
  15213. },
  15214. "marketname": {
  15215. "description": "预售市场名称",
  15216. "type": "string"
  15217. },
  15218. "presaledamount": {
  15219. "description": "已预售总金额(预售结束时更新)",
  15220. "type": "number"
  15221. },
  15222. "presaledqty": {
  15223. "description": "已预售量(预售结束时更新)",
  15224. "type": "integer"
  15225. },
  15226. "presalemode": {
  15227. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15228. "type": "integer"
  15229. },
  15230. "presaleqty": {
  15231. "description": "预售数量",
  15232. "type": "integer"
  15233. },
  15234. "refprice": {
  15235. "description": "参考价格[一口价]",
  15236. "type": "number"
  15237. },
  15238. "relatedgoodscode": {
  15239. "description": "商品代码(订单)",
  15240. "type": "string"
  15241. },
  15242. "relatedgoodsid": {
  15243. "description": "关联交易合约ID",
  15244. "type": "integer"
  15245. },
  15246. "relatedgoodsname": {
  15247. "description": "商品名称(订单)",
  15248. "type": "string"
  15249. },
  15250. "relatedmarketid": {
  15251. "description": "关联交易合约市场ID",
  15252. "type": "integer"
  15253. },
  15254. "sellstatus": {
  15255. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15256. "type": "integer"
  15257. },
  15258. "startprice": {
  15259. "description": "起拍价[大宗式竞拍]",
  15260. "type": "number"
  15261. },
  15262. "starttime": {
  15263. "description": "预售开始时间",
  15264. "type": "string"
  15265. },
  15266. "tradedate": {
  15267. "description": "交易日(yyyyMMdd)",
  15268. "type": "string"
  15269. },
  15270. "tradeprice": {
  15271. "description": "成交价[大宗]",
  15272. "type": "number"
  15273. },
  15274. "userid": {
  15275. "description": "卖方用户ID",
  15276. "type": "integer"
  15277. }
  15278. }
  15279. },
  15280. "cptrade.QueryPresaleGoodsExRsp": {
  15281. "type": "object",
  15282. "required": [
  15283. "goodsid"
  15284. ],
  15285. "properties": {
  15286. "attachmenturl": {
  15287. "description": "附件地址",
  15288. "type": "string"
  15289. },
  15290. "createtime": {
  15291. "description": "创建时间",
  15292. "type": "string"
  15293. },
  15294. "endtime": {
  15295. "description": "预售结束时间",
  15296. "type": "string"
  15297. },
  15298. "floorprice": {
  15299. "description": "底价[大宗式竞拍]",
  15300. "type": "number"
  15301. },
  15302. "goodsdetail": {
  15303. "description": "详情[大宗]",
  15304. "type": "string"
  15305. },
  15306. "goodsid": {
  15307. "description": "商品ID(预售)",
  15308. "type": "integer"
  15309. },
  15310. "goodunit": {
  15311. "description": "报价单位",
  15312. "type": "string"
  15313. },
  15314. "marketid": {
  15315. "description": "预售市场ID - 根据预售模式选择市场",
  15316. "type": "integer"
  15317. },
  15318. "presaledamount": {
  15319. "description": "已预售总金额(预售结束时更新)",
  15320. "type": "number"
  15321. },
  15322. "presaledqty": {
  15323. "description": "已预售量(预售结束时更新)",
  15324. "type": "integer"
  15325. },
  15326. "presalemode": {
  15327. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15328. "type": "integer"
  15329. },
  15330. "presaleqty": {
  15331. "description": "预售数量",
  15332. "type": "integer"
  15333. },
  15334. "refprice": {
  15335. "description": "参考价格[一口价]",
  15336. "type": "number"
  15337. },
  15338. "relatedgoodsid": {
  15339. "description": "关联交易合约ID",
  15340. "type": "integer"
  15341. },
  15342. "relatedmarketid": {
  15343. "description": "关联交易合约市场ID",
  15344. "type": "integer"
  15345. },
  15346. "sellstatus": {
  15347. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15348. "type": "integer"
  15349. },
  15350. "startprice": {
  15351. "description": "起拍价[大宗式竞拍]",
  15352. "type": "number"
  15353. },
  15354. "starttime": {
  15355. "description": "预售开始时间",
  15356. "type": "string"
  15357. },
  15358. "tradedate": {
  15359. "description": "交易日(yyyyMMdd)",
  15360. "type": "string"
  15361. },
  15362. "tradeprice": {
  15363. "description": "成交价[大宗]",
  15364. "type": "number"
  15365. }
  15366. }
  15367. },
  15368. "delivery.QueryDeliveryRelationRsp": {
  15369. "type": "object",
  15370. "required": [
  15371. "begindate",
  15372. "enddate",
  15373. "goodsid",
  15374. "mindeliveryqty",
  15375. "xdeliveryratio"
  15376. ],
  15377. "properties": {
  15378. "begindate": {
  15379. "description": "起始日期(yyyyMMdd)",
  15380. "type": "string"
  15381. },
  15382. "buytemplateid": {
  15383. "description": "买履约计划模板ID",
  15384. "type": "integer"
  15385. },
  15386. "deliverygoodscode": {
  15387. "description": "品种代码",
  15388. "type": "string"
  15389. },
  15390. "deliverygoodsid": {
  15391. "description": "交割商品",
  15392. "type": "integer"
  15393. },
  15394. "deliverygoodsname": {
  15395. "description": "品种名称",
  15396. "type": "string"
  15397. },
  15398. "deliverymode": {
  15399. "description": "交割方式 - 1:点选式 2:申报式",
  15400. "type": "integer"
  15401. },
  15402. "deliverypricerule": {
  15403. "description": "交割价规则- 1:行情价 2:建仓价",
  15404. "type": "integer"
  15405. },
  15406. "deliverytype": {
  15407. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  15408. "type": "integer"
  15409. },
  15410. "enddate": {
  15411. "description": "结束日期(yyyyMMdd)",
  15412. "type": "string"
  15413. },
  15414. "enumdicname": {
  15415. "description": "品类单位名称",
  15416. "type": "string"
  15417. },
  15418. "goodscode": {
  15419. "description": "商品代码",
  15420. "type": "string"
  15421. },
  15422. "goodsid": {
  15423. "description": "交易合约ID",
  15424. "type": "integer"
  15425. },
  15426. "goodsname": {
  15427. "description": "商品名称",
  15428. "type": "string"
  15429. },
  15430. "marketid": {
  15431. "description": "市场ID",
  15432. "type": "integer"
  15433. },
  15434. "mindeliveryqty": {
  15435. "description": "最小交割系数(K)",
  15436. "type": "integer"
  15437. },
  15438. "p2deliveryprice": {
  15439. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  15440. "type": "number"
  15441. },
  15442. "p2deliveryratio": {
  15443. "description": "P2合约系数(p)",
  15444. "type": "integer"
  15445. },
  15446. "p2goodsid": {
  15447. "description": "P2合约ID",
  15448. "type": "integer"
  15449. },
  15450. "p2pricemode": {
  15451. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  15452. "type": "integer"
  15453. },
  15454. "pdeliveryprice": {
  15455. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  15456. "type": "number"
  15457. },
  15458. "pdeliveryratio": {
  15459. "description": "P合约系数(n)",
  15460. "type": "integer"
  15461. },
  15462. "pgoodscode": {
  15463. "description": "p合约代码",
  15464. "type": "string"
  15465. },
  15466. "pgoodsid": {
  15467. "description": "P合约ID",
  15468. "type": "integer"
  15469. },
  15470. "ppricemode": {
  15471. "description": "P合约价格方式 - 1:商品价 2:固定值",
  15472. "type": "integer"
  15473. },
  15474. "rratio": {
  15475. "description": "兑换系数(R)",
  15476. "type": "integer"
  15477. },
  15478. "rratio1": {
  15479. "description": "兑换系数(交易合约)(R1)",
  15480. "type": "integer"
  15481. },
  15482. "rratio2": {
  15483. "description": "兑换系数(仓单标准)(R2)",
  15484. "type": "integer"
  15485. },
  15486. "selltemplateid": {
  15487. "description": "卖履约计划模板ID",
  15488. "type": "integer"
  15489. },
  15490. "wrstandardid": {
  15491. "description": "仓单标准ID",
  15492. "type": "integer"
  15493. },
  15494. "xdeliveryratio": {
  15495. "description": "交易合约系数(m)",
  15496. "type": "integer"
  15497. }
  15498. }
  15499. },
  15500. "ermcp.ExposureDetailRsp": {
  15501. "type": "object",
  15502. "properties": {
  15503. "areauserid": {
  15504. "description": "机构ID",
  15505. "type": "integer"
  15506. },
  15507. "changeQty": {
  15508. "description": "套保变动量",
  15509. "type": "number"
  15510. },
  15511. "contracttype": {
  15512. "description": "现货合同类型 - 1:采购 -1:销售",
  15513. "type": "integer"
  15514. },
  15515. "convertfactor": {
  15516. "description": "标仓系数",
  15517. "type": "number"
  15518. },
  15519. "convertratio": {
  15520. "description": "套保系数",
  15521. "type": "number"
  15522. },
  15523. "createtime": {
  15524. "description": "时间",
  15525. "type": "string"
  15526. },
  15527. "enumdicname": {
  15528. "description": "现货商品单位名称",
  15529. "type": "string"
  15530. },
  15531. "logtype": {
  15532. "description": "类型 - 1:套保计划 2:现货合同",
  15533. "type": "integer"
  15534. },
  15535. "middlegoodsId": {
  15536. "description": "套保商品id",
  15537. "type": "integer"
  15538. },
  15539. "middlegoodscode": {
  15540. "description": "套保商品代码",
  15541. "type": "string"
  15542. },
  15543. "middlegoodsname": {
  15544. "description": "套保商品名称",
  15545. "type": "string"
  15546. },
  15547. "qty": {
  15548. "description": "数量",
  15549. "type": "number"
  15550. },
  15551. "relateNo": {
  15552. "description": "现货合同/套保计划编号",
  15553. "type": "string"
  15554. },
  15555. "wrstandardcode": {
  15556. "description": "现货商品代码",
  15557. "type": "string"
  15558. },
  15559. "wrstandardid": {
  15560. "description": "现货商品ID",
  15561. "type": "integer"
  15562. },
  15563. "wrstandardname": {
  15564. "description": "现货商品名称",
  15565. "type": "string"
  15566. }
  15567. }
  15568. },
  15569. "ermcp.ExposureHedgePosDetailRsp": {
  15570. "type": "object",
  15571. "properties": {
  15572. "buyorsell": {
  15573. "description": "买卖方向 0-买 1-卖",
  15574. "type": "integer"
  15575. },
  15576. "channelbuildtype": {
  15577. "description": "开平方向 1-建仓 2-平仓",
  15578. "type": "integer"
  15579. },
  15580. "goodscode": {
  15581. "description": "商品代码",
  15582. "type": "string"
  15583. },
  15584. "goodsname": {
  15585. "description": "商品名称",
  15586. "type": "string"
  15587. },
  15588. "hedgegoodsid": {
  15589. "description": "商品id",
  15590. "type": "integer"
  15591. },
  15592. "tradeqty": {
  15593. "description": "数量(成交数量)",
  15594. "type": "integer"
  15595. },
  15596. "tradetime": {
  15597. "description": "时间(成交时间)",
  15598. "type": "string"
  15599. }
  15600. }
  15601. },
  15602. "ermcp.ExposureHedgePositionRsp": {
  15603. "type": "object",
  15604. "properties": {
  15605. "accountid": {
  15606. "description": "资金账号[外部母账户]",
  15607. "type": "integer"
  15608. },
  15609. "curbuyposition": {
  15610. "description": "期末买头寸",
  15611. "type": "integer"
  15612. },
  15613. "cursellposition": {
  15614. "description": "期末卖头寸",
  15615. "type": "integer"
  15616. },
  15617. "curtdbuyposition": {
  15618. "description": "期末今日买头寸",
  15619. "type": "integer"
  15620. },
  15621. "curtdsellposition": {
  15622. "description": "期末今日卖头寸",
  15623. "type": "integer"
  15624. },
  15625. "curydbuyposition": {
  15626. "description": "期末上日买头寸",
  15627. "type": "integer"
  15628. },
  15629. "curydsellposition": {
  15630. "description": "期末上日卖头寸",
  15631. "type": "integer"
  15632. },
  15633. "decreaseqty": {
  15634. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15635. "type": "integer"
  15636. },
  15637. "fretdbuyposition": {
  15638. "description": "冻结今日买头寸",
  15639. "type": "integer"
  15640. },
  15641. "fretdsellposition": {
  15642. "description": "冻结今日卖头寸",
  15643. "type": "integer"
  15644. },
  15645. "freydbuyposition": {
  15646. "description": "冻结上日买头寸",
  15647. "type": "integer"
  15648. },
  15649. "freydsellposition": {
  15650. "description": "冻结上日卖头寸",
  15651. "type": "integer"
  15652. },
  15653. "goodscode": {
  15654. "description": "商品代码",
  15655. "type": "string"
  15656. },
  15657. "goodsid": {
  15658. "description": "商品id",
  15659. "type": "integer"
  15660. },
  15661. "goodsname": {
  15662. "description": "商品名称",
  15663. "type": "string"
  15664. },
  15665. "hedgeaccountcode": {
  15666. "description": "对冲账号",
  15667. "type": "string"
  15668. },
  15669. "hedgegoodsid": {
  15670. "description": "对冲合约ID",
  15671. "type": "integer"
  15672. },
  15673. "increaseqty": {
  15674. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15675. "type": "integer"
  15676. },
  15677. "marketid": {
  15678. "description": "市场ID",
  15679. "type": "integer"
  15680. },
  15681. "relateduserid": {
  15682. "description": "关联用户id",
  15683. "type": "integer"
  15684. },
  15685. "totalcurqty": {
  15686. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15687. "type": "integer"
  15688. },
  15689. "totalydqty": {
  15690. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15691. "type": "integer"
  15692. },
  15693. "tradedate": {
  15694. "description": "交易日(yyyyMMdd)",
  15695. "type": "string"
  15696. },
  15697. "ydbuyposition": {
  15698. "description": "期初买头寸",
  15699. "type": "integer"
  15700. },
  15701. "ydsellposition": {
  15702. "description": "期初卖头寸",
  15703. "type": "integer"
  15704. }
  15705. }
  15706. },
  15707. "ermcp.ExposureSpotDetailRsp": {
  15708. "type": "object",
  15709. "properties": {
  15710. "contracttype": {
  15711. "description": "合同类型 1-采购 -1-销售",
  15712. "type": "integer"
  15713. },
  15714. "createtime": {
  15715. "description": "创建时间",
  15716. "type": "string"
  15717. },
  15718. "enumdicname": {
  15719. "description": "现货商品单位名称",
  15720. "type": "string"
  15721. },
  15722. "logtype": {
  15723. "description": "记录类型 1-套保 2-现货合同",
  15724. "type": "integer"
  15725. },
  15726. "qty": {
  15727. "description": "数量",
  15728. "type": "number"
  15729. },
  15730. "recordname": {
  15731. "description": "类型名称",
  15732. "type": "string"
  15733. },
  15734. "relatedid": {
  15735. "description": "套保计划ID/现货合同ID",
  15736. "type": "string"
  15737. },
  15738. "relatedno": {
  15739. "description": "编号",
  15740. "type": "string"
  15741. },
  15742. "strtime": {
  15743. "description": "时间",
  15744. "type": "string"
  15745. },
  15746. "wrstandardcode": {
  15747. "description": "现货商品代码",
  15748. "type": "string"
  15749. },
  15750. "wrstandardname": {
  15751. "description": "现货商品名称",
  15752. "type": "string"
  15753. }
  15754. }
  15755. },
  15756. "ermcp.ExposureSpotRsp": {
  15757. "type": "object",
  15758. "properties": {
  15759. "areauserid": {
  15760. "description": "所属机构",
  15761. "type": "integer"
  15762. },
  15763. "decreaseqty": {
  15764. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15765. "type": "number"
  15766. },
  15767. "increaseqty": {
  15768. "description": "增加数量=销售计划数量+采购已定价数量",
  15769. "type": "number"
  15770. },
  15771. "oritoalspotqty": {
  15772. "description": "昨日数量",
  15773. "type": "number"
  15774. },
  15775. "totalspotqty": {
  15776. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15777. "type": "number"
  15778. },
  15779. "updatetime": {
  15780. "description": "更新时间",
  15781. "type": "string"
  15782. },
  15783. "wrstandardcode": {
  15784. "description": "现货品种代码",
  15785. "type": "string"
  15786. },
  15787. "wrstandardid": {
  15788. "description": "现货商品ID",
  15789. "type": "integer"
  15790. },
  15791. "wrstandardname": {
  15792. "description": "现货品种",
  15793. "type": "string"
  15794. }
  15795. }
  15796. },
  15797. "ermcp.HisExposureRsp": {
  15798. "type": "object",
  15799. "properties": {
  15800. "data": {
  15801. "description": "历史敞口",
  15802. "type": "array",
  15803. "items": {
  15804. "$ref": "#/definitions/models.ErmcpHisExposure"
  15805. }
  15806. },
  15807. "enumdicname": {
  15808. "description": "单位名称",
  15809. "type": "string"
  15810. },
  15811. "middlegoodscode": {
  15812. "description": "套保品种代码",
  15813. "type": "string"
  15814. },
  15815. "middlegoodsid": {
  15816. "description": "套保品种ID",
  15817. "type": "integer"
  15818. },
  15819. "middlegoodsname": {
  15820. "description": "套保品种名称",
  15821. "type": "string"
  15822. }
  15823. }
  15824. },
  15825. "ermcp.PendingAuditCntRsp": {
  15826. "type": "object",
  15827. "properties": {
  15828. "areastockqty": {
  15829. "description": "待审核数量: 库存申请",
  15830. "type": "integer"
  15831. },
  15832. "businessdjqty": {
  15833. "description": "待审核数量: 点价",
  15834. "type": "integer"
  15835. },
  15836. "businessfpqty": {
  15837. "description": "待审核数量: 发票",
  15838. "type": "integer"
  15839. },
  15840. "businessjsqty": {
  15841. "description": "待审核数量: 结算",
  15842. "type": "integer"
  15843. },
  15844. "businesskxqty": {
  15845. "description": "待审核数量: 款项",
  15846. "type": "integer"
  15847. },
  15848. "hedgeplanqty": {
  15849. "description": "待审核数量: 套保计划",
  15850. "type": "integer"
  15851. },
  15852. "spotcontractqty": {
  15853. "description": "待审核数量: 现货合同",
  15854. "type": "integer"
  15855. },
  15856. "userqty": {
  15857. "description": "待审核数量: 用户",
  15858. "type": "integer"
  15859. }
  15860. }
  15861. },
  15862. "ermcp.QryAvalidGPRsp": {
  15863. "type": "object",
  15864. "properties": {
  15865. "goodsgroupid": {
  15866. "description": "期货品种id",
  15867. "type": "integer"
  15868. },
  15869. "goodsgroupname": {
  15870. "description": "期货品种名称",
  15871. "type": "string"
  15872. },
  15873. "goodunitid": {
  15874. "description": "品种单位id",
  15875. "type": "integer"
  15876. },
  15877. "goodunitname": {
  15878. "description": "品种单位名称",
  15879. "type": "string"
  15880. },
  15881. "outergroupcode": {
  15882. "description": "期货品种代码",
  15883. "type": "string"
  15884. }
  15885. }
  15886. },
  15887. "ermcp.QryBusinessDjRsp": {
  15888. "type": "object",
  15889. "properties": {
  15890. "amount": {
  15891. "description": "点价金额=(点价价格+升贴水)*点价数量",
  15892. "type": "number"
  15893. },
  15894. "applyid": {
  15895. "description": "申请人",
  15896. "type": "string"
  15897. },
  15898. "applyname": {
  15899. "description": "申请人名称",
  15900. "type": "string"
  15901. },
  15902. "applystatus": {
  15903. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15904. "type": "integer"
  15905. },
  15906. "applytime": {
  15907. "description": "申请时间",
  15908. "type": "string"
  15909. },
  15910. "attachurl": {
  15911. "description": "附件",
  15912. "type": "string"
  15913. },
  15914. "auditid": {
  15915. "description": "审核人ID",
  15916. "type": "string"
  15917. },
  15918. "auditname": {
  15919. "description": "审核人名称",
  15920. "type": "string"
  15921. },
  15922. "auditremark": {
  15923. "description": "审核备注",
  15924. "type": "string"
  15925. },
  15926. "audittime": {
  15927. "description": "审核时间",
  15928. "type": "string"
  15929. },
  15930. "buyusername": {
  15931. "description": "采购方名称",
  15932. "type": "string"
  15933. },
  15934. "contractno": {
  15935. "description": "合同编号",
  15936. "type": "string"
  15937. },
  15938. "contractstatus": {
  15939. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15940. "type": "integer"
  15941. },
  15942. "contracttype": {
  15943. "description": "现货合同类型 - 1:采购 -1:销售",
  15944. "type": "integer"
  15945. },
  15946. "deliverygoodscode": {
  15947. "description": "现货品种代码",
  15948. "type": "string"
  15949. },
  15950. "deliverygoodsid": {
  15951. "description": "现货商品ID",
  15952. "type": "integer"
  15953. },
  15954. "deliverygoodsname": {
  15955. "description": "现货品种名称",
  15956. "type": "string"
  15957. },
  15958. "enumdicname": {
  15959. "description": "单位名称",
  15960. "type": "string"
  15961. },
  15962. "goodscode": {
  15963. "description": "点价合约",
  15964. "type": "string"
  15965. },
  15966. "goodsname": {
  15967. "description": "商品名称",
  15968. "type": "string"
  15969. },
  15970. "operateapplyid": {
  15971. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  15972. "type": "string"
  15973. },
  15974. "operateapplytype": {
  15975. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  15976. "type": "integer"
  15977. },
  15978. "pricedPrice": {
  15979. "description": "点价价格(非必填)",
  15980. "type": "number"
  15981. },
  15982. "pricedQty": {
  15983. "description": "点价数量(非必填)",
  15984. "type": "number"
  15985. },
  15986. "pricemove": {
  15987. "description": "升贴水",
  15988. "type": "number"
  15989. },
  15990. "pricetype": {
  15991. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15992. "type": "integer"
  15993. },
  15994. "relatedid": {
  15995. "description": "现货合同ID",
  15996. "type": "string"
  15997. },
  15998. "sellusername": {
  15999. "description": "销售方名字",
  16000. "type": "string"
  16001. },
  16002. "userid": {
  16003. "description": "用户ID",
  16004. "type": "integer"
  16005. },
  16006. "wrstandardcode": {
  16007. "description": "品类代码",
  16008. "type": "string"
  16009. },
  16010. "wrstandardid": {
  16011. "description": "品类id",
  16012. "type": "integer"
  16013. },
  16014. "wrstandardname": {
  16015. "description": "品类名称",
  16016. "type": "string"
  16017. }
  16018. }
  16019. },
  16020. "ermcp.QryBussinessFpRsp": {
  16021. "type": "object",
  16022. "properties": {
  16023. "applyid": {
  16024. "description": "申请人",
  16025. "type": "string"
  16026. },
  16027. "applyname": {
  16028. "description": "申请人名称",
  16029. "type": "string"
  16030. },
  16031. "applystatus": {
  16032. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16033. "type": "integer"
  16034. },
  16035. "applytime": {
  16036. "description": "申请时间",
  16037. "type": "string"
  16038. },
  16039. "attachurl": {
  16040. "description": "附件",
  16041. "type": "string"
  16042. },
  16043. "auditid": {
  16044. "description": "审核人ID",
  16045. "type": "string"
  16046. },
  16047. "auditname": {
  16048. "description": "审核人名称",
  16049. "type": "string"
  16050. },
  16051. "auditremark": {
  16052. "description": "审核备注",
  16053. "type": "string"
  16054. },
  16055. "audittime": {
  16056. "description": "审核时间",
  16057. "type": "string"
  16058. },
  16059. "buyusername": {
  16060. "description": "采购方名称",
  16061. "type": "string"
  16062. },
  16063. "contractno": {
  16064. "description": "合同编号",
  16065. "type": "string"
  16066. },
  16067. "contractstatus": {
  16068. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16069. "type": "integer"
  16070. },
  16071. "contracttype": {
  16072. "description": "现货合同类型 - 1:采购 -1:销售",
  16073. "type": "integer"
  16074. },
  16075. "deliverygoodscode": {
  16076. "description": "现货品种代码",
  16077. "type": "string"
  16078. },
  16079. "deliverygoodsid": {
  16080. "description": "现货商品ID",
  16081. "type": "integer"
  16082. },
  16083. "deliverygoodsname": {
  16084. "description": "现货品种名称",
  16085. "type": "string"
  16086. },
  16087. "enumdicname": {
  16088. "description": "单位名称",
  16089. "type": "string"
  16090. },
  16091. "goodscode": {
  16092. "description": "点价合约",
  16093. "type": "string"
  16094. },
  16095. "goodsname": {
  16096. "description": "商品名称",
  16097. "type": "string"
  16098. },
  16099. "invoiceamount": {
  16100. "description": "已开收票金额(销售为开票,采购为收票)",
  16101. "type": "number"
  16102. },
  16103. "operateapplyid": {
  16104. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16105. "type": "string"
  16106. },
  16107. "operateapplytype": {
  16108. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16109. "type": "integer"
  16110. },
  16111. "pricemove": {
  16112. "description": "升贴水",
  16113. "type": "number"
  16114. },
  16115. "pricetype": {
  16116. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16117. "type": "integer"
  16118. },
  16119. "relatedid": {
  16120. "description": "现货合同ID",
  16121. "type": "string"
  16122. },
  16123. "sellusername": {
  16124. "description": "销售方名字",
  16125. "type": "string"
  16126. },
  16127. "userid": {
  16128. "description": "用户ID",
  16129. "type": "integer"
  16130. },
  16131. "wrstandardcode": {
  16132. "description": "品类代码",
  16133. "type": "string"
  16134. },
  16135. "wrstandardid": {
  16136. "description": "品类id",
  16137. "type": "integer"
  16138. },
  16139. "wrstandardname": {
  16140. "description": "品类名称",
  16141. "type": "string"
  16142. }
  16143. }
  16144. },
  16145. "ermcp.QryBussinessJsExRsp": {
  16146. "type": "object",
  16147. "properties": {
  16148. "applyid": {
  16149. "description": "申请人",
  16150. "type": "string"
  16151. },
  16152. "applyname": {
  16153. "description": "申请人名称",
  16154. "type": "string"
  16155. },
  16156. "applystatus": {
  16157. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16158. "type": "integer"
  16159. },
  16160. "applytime": {
  16161. "description": "申请时间",
  16162. "type": "string"
  16163. },
  16164. "attachurl": {
  16165. "description": "附件",
  16166. "type": "string"
  16167. },
  16168. "auditid": {
  16169. "description": "审核人ID",
  16170. "type": "string"
  16171. },
  16172. "auditname": {
  16173. "description": "审核人名称",
  16174. "type": "string"
  16175. },
  16176. "auditremark": {
  16177. "description": "审核备注",
  16178. "type": "string"
  16179. },
  16180. "audittime": {
  16181. "description": "审核时间",
  16182. "type": "string"
  16183. },
  16184. "buyusername": {
  16185. "description": "采购方名称",
  16186. "type": "string"
  16187. },
  16188. "contractno": {
  16189. "description": "合同编号",
  16190. "type": "string"
  16191. },
  16192. "contractstatus": {
  16193. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16194. "type": "integer"
  16195. },
  16196. "contracttype": {
  16197. "description": "现货合同类型 - 1:采购 -1:销售",
  16198. "type": "integer"
  16199. },
  16200. "deliverygoodscode": {
  16201. "description": "现货品种代码",
  16202. "type": "string"
  16203. },
  16204. "deliverygoodsid": {
  16205. "description": "现货商品ID",
  16206. "type": "integer"
  16207. },
  16208. "deliverygoodsname": {
  16209. "description": "现货品种名称",
  16210. "type": "string"
  16211. },
  16212. "enumdicname": {
  16213. "description": "单位名称",
  16214. "type": "string"
  16215. },
  16216. "goodscode": {
  16217. "description": "点价合约",
  16218. "type": "string"
  16219. },
  16220. "goodsname": {
  16221. "description": "商品名称",
  16222. "type": "string"
  16223. },
  16224. "operateapplyid": {
  16225. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16226. "type": "string"
  16227. },
  16228. "operateapplytype": {
  16229. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16230. "type": "integer"
  16231. },
  16232. "pricemove": {
  16233. "description": "升贴水",
  16234. "type": "number"
  16235. },
  16236. "pricetype": {
  16237. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16238. "type": "integer"
  16239. },
  16240. "reckontype": {
  16241. "description": "结算类型",
  16242. "type": "string"
  16243. },
  16244. "reckonvalue": {
  16245. "description": "值",
  16246. "type": "number"
  16247. },
  16248. "relatedid": {
  16249. "description": "现货合同ID",
  16250. "type": "string"
  16251. },
  16252. "sellusername": {
  16253. "description": "销售方名字",
  16254. "type": "string"
  16255. },
  16256. "userid": {
  16257. "description": "用户ID",
  16258. "type": "integer"
  16259. },
  16260. "wrstandardcode": {
  16261. "description": "品类代码",
  16262. "type": "string"
  16263. },
  16264. "wrstandardid": {
  16265. "description": "品类id",
  16266. "type": "integer"
  16267. },
  16268. "wrstandardname": {
  16269. "description": "品类名称",
  16270. "type": "string"
  16271. }
  16272. }
  16273. },
  16274. "ermcp.QryBussinessJsRsp": {
  16275. "type": "object",
  16276. "properties": {
  16277. "addmargin": {
  16278. "description": "追加保证金(非必填)",
  16279. "type": "number"
  16280. },
  16281. "applyid": {
  16282. "description": "申请人",
  16283. "type": "string"
  16284. },
  16285. "applyname": {
  16286. "description": "申请人名称",
  16287. "type": "string"
  16288. },
  16289. "applystatus": {
  16290. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16291. "type": "integer"
  16292. },
  16293. "applytime": {
  16294. "description": "申请时间",
  16295. "type": "string"
  16296. },
  16297. "attachurl": {
  16298. "description": "附件",
  16299. "type": "string"
  16300. },
  16301. "auditid": {
  16302. "description": "审核人ID",
  16303. "type": "string"
  16304. },
  16305. "auditname": {
  16306. "description": "审核人名称",
  16307. "type": "string"
  16308. },
  16309. "auditremark": {
  16310. "description": "审核备注",
  16311. "type": "string"
  16312. },
  16313. "audittime": {
  16314. "description": "审核时间",
  16315. "type": "string"
  16316. },
  16317. "buyusername": {
  16318. "description": "采购方名称",
  16319. "type": "string"
  16320. },
  16321. "contractno": {
  16322. "description": "合同编号",
  16323. "type": "string"
  16324. },
  16325. "contractstatus": {
  16326. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16327. "type": "integer"
  16328. },
  16329. "contracttype": {
  16330. "description": "现货合同类型 - 1:采购 -1:销售",
  16331. "type": "integer"
  16332. },
  16333. "decmargin": {
  16334. "description": "减少保证金(非必填)",
  16335. "type": "number"
  16336. },
  16337. "deliverygoodscode": {
  16338. "description": "现货品种代码",
  16339. "type": "string"
  16340. },
  16341. "deliverygoodsid": {
  16342. "description": "现货商品ID",
  16343. "type": "integer"
  16344. },
  16345. "deliverygoodsname": {
  16346. "description": "现货品种名称",
  16347. "type": "string"
  16348. },
  16349. "enumdicname": {
  16350. "description": "单位名称",
  16351. "type": "string"
  16352. },
  16353. "goodscode": {
  16354. "description": "点价合约",
  16355. "type": "string"
  16356. },
  16357. "goodsname": {
  16358. "description": "商品名称",
  16359. "type": "string"
  16360. },
  16361. "operateapplyid": {
  16362. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16363. "type": "string"
  16364. },
  16365. "operateapplytype": {
  16366. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16367. "type": "integer"
  16368. },
  16369. "pricemove": {
  16370. "description": "升贴水",
  16371. "type": "number"
  16372. },
  16373. "pricetype": {
  16374. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16375. "type": "integer"
  16376. },
  16377. "reckonadjustamount": {
  16378. "description": "结算调整金额(非必填)",
  16379. "type": "number"
  16380. },
  16381. "reckonosamount": {
  16382. "description": "结算溢短金额(非必填)",
  16383. "type": "number"
  16384. },
  16385. "reckonotheramount": {
  16386. "description": "结算其他费用(非必填)",
  16387. "type": "number"
  16388. },
  16389. "reckonrealqty": {
  16390. "description": "结算实际数量(非必填)",
  16391. "type": "number"
  16392. },
  16393. "relatedid": {
  16394. "description": "现货合同ID",
  16395. "type": "string"
  16396. },
  16397. "sellusername": {
  16398. "description": "销售方名字",
  16399. "type": "string"
  16400. },
  16401. "userid": {
  16402. "description": "用户ID",
  16403. "type": "integer"
  16404. },
  16405. "wrstandardcode": {
  16406. "description": "品类代码",
  16407. "type": "string"
  16408. },
  16409. "wrstandardid": {
  16410. "description": "品类id",
  16411. "type": "integer"
  16412. },
  16413. "wrstandardname": {
  16414. "description": "品类名称",
  16415. "type": "string"
  16416. }
  16417. }
  16418. },
  16419. "ermcp.QryBussinessKxRsp": {
  16420. "type": "object",
  16421. "properties": {
  16422. "applyid": {
  16423. "description": "申请人",
  16424. "type": "string"
  16425. },
  16426. "applyname": {
  16427. "description": "申请人名称",
  16428. "type": "string"
  16429. },
  16430. "applystatus": {
  16431. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16432. "type": "integer"
  16433. },
  16434. "applytime": {
  16435. "description": "申请时间",
  16436. "type": "string"
  16437. },
  16438. "attachurl": {
  16439. "description": "附件",
  16440. "type": "string"
  16441. },
  16442. "auditid": {
  16443. "description": "审核人ID",
  16444. "type": "string"
  16445. },
  16446. "auditname": {
  16447. "description": "审核人名称",
  16448. "type": "string"
  16449. },
  16450. "auditremark": {
  16451. "description": "审核备注",
  16452. "type": "string"
  16453. },
  16454. "audittime": {
  16455. "description": "审核时间",
  16456. "type": "string"
  16457. },
  16458. "buyusername": {
  16459. "description": "采购方名称",
  16460. "type": "string"
  16461. },
  16462. "contractno": {
  16463. "description": "合同编号",
  16464. "type": "string"
  16465. },
  16466. "contractstatus": {
  16467. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16468. "type": "integer"
  16469. },
  16470. "contracttype": {
  16471. "description": "现货合同类型 - 1:采购 -1:销售",
  16472. "type": "integer"
  16473. },
  16474. "deductamount": {
  16475. "description": "退款(非必填)",
  16476. "type": "number"
  16477. },
  16478. "deliverygoodscode": {
  16479. "description": "现货品种代码",
  16480. "type": "string"
  16481. },
  16482. "deliverygoodsid": {
  16483. "description": "现货商品ID",
  16484. "type": "integer"
  16485. },
  16486. "deliverygoodsname": {
  16487. "description": "现货品种名称",
  16488. "type": "string"
  16489. },
  16490. "enumdicname": {
  16491. "description": "单位名称",
  16492. "type": "string"
  16493. },
  16494. "goodscode": {
  16495. "description": "点价合约",
  16496. "type": "string"
  16497. },
  16498. "goodsname": {
  16499. "description": "商品名称",
  16500. "type": "string"
  16501. },
  16502. "kxtype": {
  16503. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  16504. "type": "integer"
  16505. },
  16506. "operateapplyid": {
  16507. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16508. "type": "string"
  16509. },
  16510. "operateapplytype": {
  16511. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16512. "type": "integer"
  16513. },
  16514. "payamount": {
  16515. "description": "收付款(非必填)",
  16516. "type": "number"
  16517. },
  16518. "pricemove": {
  16519. "description": "升贴水",
  16520. "type": "number"
  16521. },
  16522. "pricetype": {
  16523. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16524. "type": "integer"
  16525. },
  16526. "relatedid": {
  16527. "description": "现货合同ID",
  16528. "type": "string"
  16529. },
  16530. "sellusername": {
  16531. "description": "销售方名字",
  16532. "type": "string"
  16533. },
  16534. "userid": {
  16535. "description": "用户ID",
  16536. "type": "integer"
  16537. },
  16538. "wrstandardcode": {
  16539. "description": "品类代码",
  16540. "type": "string"
  16541. },
  16542. "wrstandardid": {
  16543. "description": "品类id",
  16544. "type": "integer"
  16545. },
  16546. "wrstandardname": {
  16547. "description": "品类名称",
  16548. "type": "string"
  16549. }
  16550. }
  16551. },
  16552. "ermcp.QryGGCovertCfgRsp": {
  16553. "type": "object",
  16554. "properties": {
  16555. "convertratio": {
  16556. "description": "折算系数",
  16557. "type": "number"
  16558. },
  16559. "destgoodsgroupid": {
  16560. "description": "目标品种ID",
  16561. "type": "integer"
  16562. },
  16563. "dstcode": {
  16564. "description": "目录品种代码",
  16565. "type": "string"
  16566. },
  16567. "dstexchangecode": {
  16568. "description": "目标期货交易所",
  16569. "type": "string"
  16570. },
  16571. "dstname": {
  16572. "description": "目标品种名称",
  16573. "type": "string"
  16574. },
  16575. "dstunitid": {
  16576. "description": "目标品种单位ID",
  16577. "type": "integer"
  16578. },
  16579. "dstunitidname": {
  16580. "description": "目标品种单位名称",
  16581. "type": "string"
  16582. },
  16583. "modifytime": {
  16584. "description": "修改时间",
  16585. "type": "string"
  16586. },
  16587. "srccode": {
  16588. "description": "源品种代码",
  16589. "type": "string"
  16590. },
  16591. "srcexchangecode": {
  16592. "description": "源期货交易所",
  16593. "type": "string"
  16594. },
  16595. "srcgoodsgroupid": {
  16596. "description": "源品种ID",
  16597. "type": "integer"
  16598. },
  16599. "srcname": {
  16600. "description": "源品种名称",
  16601. "type": "string"
  16602. },
  16603. "srcunitid": {
  16604. "description": "源品种单位ID",
  16605. "type": "integer"
  16606. },
  16607. "srcunitidname": {
  16608. "description": "源品种单位名称",
  16609. "type": "string"
  16610. }
  16611. }
  16612. },
  16613. "ermcp.QryMGChangeLogRsp": {
  16614. "type": "object",
  16615. "properties": {
  16616. "aftervalue": {
  16617. "description": "变更后",
  16618. "type": "number"
  16619. },
  16620. "applyid": {
  16621. "description": "操作人",
  16622. "type": "integer"
  16623. },
  16624. "applyname": {
  16625. "description": "操作人名称",
  16626. "type": "string"
  16627. },
  16628. "applysrc": {
  16629. "description": "操作来源 - 1:管理端 2:终端",
  16630. "type": "integer"
  16631. },
  16632. "beforevalue": {
  16633. "description": "变更前",
  16634. "type": "number"
  16635. },
  16636. "changelogtype": {
  16637. "description": "变更流水类型 - 1:套保比率变更",
  16638. "type": "integer"
  16639. },
  16640. "handlestatus": {
  16641. "description": "处理状态",
  16642. "type": "integer"
  16643. },
  16644. "logdatetime": {
  16645. "description": "流水日期",
  16646. "type": "string"
  16647. },
  16648. "logid": {
  16649. "description": "流水ID",
  16650. "type": "integer"
  16651. },
  16652. "logremark": {
  16653. "description": "流水备注",
  16654. "type": "string"
  16655. },
  16656. "middlegoodsid": {
  16657. "description": "套保品种ID",
  16658. "type": "integer"
  16659. },
  16660. "tradedate": {
  16661. "description": "交易日(yyyyMMdd)",
  16662. "type": "string"
  16663. },
  16664. "updatetime": {
  16665. "description": "更新时间",
  16666. "type": "string"
  16667. }
  16668. }
  16669. },
  16670. "ermcp.QryMiddleGoodsDetailRsp": {
  16671. "type": "object",
  16672. "properties": {
  16673. "cvList": {
  16674. "description": "期货品种折算列表",
  16675. "type": "array",
  16676. "items": {
  16677. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16678. }
  16679. },
  16680. "mg": {
  16681. "description": "套保品种基本信息",
  16682. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16683. },
  16684. "wrcList": {
  16685. "description": "现货品种列表(现货商品折算配置)",
  16686. "type": "array",
  16687. "items": {
  16688. "$ref": "#/definitions/models.WRSConverTDetail"
  16689. }
  16690. }
  16691. }
  16692. },
  16693. "ermcp.QryMiddleGoodsRsp": {
  16694. "type": "object",
  16695. "properties": {
  16696. "areauserid": {
  16697. "description": "机构用户ID",
  16698. "type": "integer"
  16699. },
  16700. "createtime": {
  16701. "description": "修改时间",
  16702. "type": "string"
  16703. },
  16704. "enumdicname": {
  16705. "description": "单位名称",
  16706. "type": "string"
  16707. },
  16708. "evaluateratio": {
  16709. "description": "估价系数",
  16710. "type": "number"
  16711. },
  16712. "goodsgroupid": {
  16713. "description": "关联期货品种ID",
  16714. "type": "integer"
  16715. },
  16716. "goodsunitid": {
  16717. "description": "单位ID",
  16718. "type": "integer"
  16719. },
  16720. "isvalid": {
  16721. "description": "状态 0-无效(停用) 1-有效(正常)",
  16722. "type": "integer"
  16723. },
  16724. "middlegoodscode": {
  16725. "description": "套保品种代码",
  16726. "type": "string"
  16727. },
  16728. "middlegoodsid": {
  16729. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16730. "type": "integer"
  16731. },
  16732. "middlegoodsname": {
  16733. "description": "套保品种名称",
  16734. "type": "string"
  16735. },
  16736. "modifytime": {
  16737. "description": "修改时间",
  16738. "type": "string"
  16739. },
  16740. "needarbitrageratio": {
  16741. "description": "套利比例",
  16742. "type": "number"
  16743. },
  16744. "needhedgeratio": {
  16745. "description": "套保比率",
  16746. "type": "number"
  16747. },
  16748. "qtydecimalplace": {
  16749. "description": "数量小数位",
  16750. "type": "integer"
  16751. },
  16752. "relatedgoodsid": {
  16753. "description": "关联交易商品ID",
  16754. "type": "integer"
  16755. },
  16756. "relatedgoodstype": {
  16757. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16758. "type": "integer"
  16759. },
  16760. "remark": {
  16761. "description": "备注",
  16762. "type": "string"
  16763. }
  16764. }
  16765. },
  16766. "ermcp.QryOPLogRsp": {
  16767. "type": "object",
  16768. "properties": {
  16769. "aftervalue": {
  16770. "description": "变更后",
  16771. "type": "number"
  16772. },
  16773. "applyid": {
  16774. "description": "操作人ID",
  16775. "type": "string"
  16776. },
  16777. "applyname": {
  16778. "description": "操作人名称",
  16779. "type": "string"
  16780. },
  16781. "beforevalue": {
  16782. "description": "变更前",
  16783. "type": "number"
  16784. },
  16785. "biztype": {
  16786. "description": "业务类型 - 1:套保计划 2:现货合同",
  16787. "type": "integer"
  16788. },
  16789. "contracttype": {
  16790. "description": "现货合同类型 - 1:采购 -1:销售",
  16791. "type": "integer"
  16792. },
  16793. "logvalue": {
  16794. "description": "数值",
  16795. "type": "number"
  16796. },
  16797. "operatelogtype": {
  16798. "description": "操作流水类型",
  16799. "type": "integer"
  16800. },
  16801. "operatelogtypedesc": {
  16802. "description": "操作流水类型名称",
  16803. "type": "string"
  16804. },
  16805. "relatedid": {
  16806. "description": "现货合同ID\\套保计划",
  16807. "type": "string"
  16808. },
  16809. "updatetime": {
  16810. "description": "更新时间",
  16811. "type": "string"
  16812. }
  16813. }
  16814. },
  16815. "ermcp.QryUserInfoRsp": {
  16816. "type": "object",
  16817. "properties": {
  16818. "address": {
  16819. "description": "通讯地址",
  16820. "type": "string"
  16821. },
  16822. "attachment1": {
  16823. "description": "附件1",
  16824. "type": "string"
  16825. },
  16826. "audittime": {
  16827. "description": "审核时间",
  16828. "type": "string"
  16829. },
  16830. "cardbackphotourl": {
  16831. "description": "证件反面图片地址",
  16832. "type": "string"
  16833. },
  16834. "cardfrontphotourl": {
  16835. "description": "证件正面图片地址",
  16836. "type": "string"
  16837. },
  16838. "cardnum": {
  16839. "description": "证件号码",
  16840. "type": "string"
  16841. },
  16842. "cardtype": {
  16843. "description": "证件类型",
  16844. "type": "integer"
  16845. },
  16846. "cardtypename": {
  16847. "description": "证件类型名称",
  16848. "type": "string"
  16849. },
  16850. "cityid": {
  16851. "description": "市",
  16852. "type": "integer"
  16853. },
  16854. "contactname": {
  16855. "description": "联系人",
  16856. "type": "string"
  16857. },
  16858. "countryid": {
  16859. "description": "国家",
  16860. "type": "integer"
  16861. },
  16862. "createtime": {
  16863. "description": "创建时间",
  16864. "type": "string"
  16865. },
  16866. "customername": {
  16867. "description": "企业名称",
  16868. "type": "string"
  16869. },
  16870. "districtid": {
  16871. "description": "区域",
  16872. "type": "integer"
  16873. },
  16874. "email": {
  16875. "description": "邮件",
  16876. "type": "string"
  16877. },
  16878. "legalpersonname": {
  16879. "description": "法人姓名(企业)",
  16880. "type": "string"
  16881. },
  16882. "memberuserid": {
  16883. "description": "所属机构ID",
  16884. "type": "integer"
  16885. },
  16886. "mobile": {
  16887. "description": "手机号码",
  16888. "type": "string"
  16889. },
  16890. "modifytime": {
  16891. "description": "修改时间",
  16892. "type": "string"
  16893. },
  16894. "nickname": {
  16895. "description": "昵称",
  16896. "type": "string"
  16897. },
  16898. "provinceid": {
  16899. "description": "省",
  16900. "type": "integer"
  16901. },
  16902. "remark": {
  16903. "description": "备注",
  16904. "type": "string"
  16905. },
  16906. "status": {
  16907. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16908. "type": "integer"
  16909. },
  16910. "statusdesc": {
  16911. "description": "账户状态中文描述",
  16912. "type": "string"
  16913. },
  16914. "taxpayernum": {
  16915. "description": "纳税人识别号",
  16916. "type": "string"
  16917. },
  16918. "telphone": {
  16919. "description": "联系电话",
  16920. "type": "string"
  16921. },
  16922. "userid": {
  16923. "description": "用户ID",
  16924. "type": "integer"
  16925. },
  16926. "userinfotype": {
  16927. "description": "客户类型",
  16928. "type": "string"
  16929. }
  16930. }
  16931. },
  16932. "ermcp.QryWarehouseRsp": {
  16933. "type": "object",
  16934. "properties": {
  16935. "address": {
  16936. "description": "详细地址",
  16937. "type": "string"
  16938. },
  16939. "areauserid": {
  16940. "description": "所属机构",
  16941. "type": "integer"
  16942. },
  16943. "autoid": {
  16944. "description": "自增ID(仓库ID)",
  16945. "type": "integer"
  16946. },
  16947. "cityid": {
  16948. "description": "市",
  16949. "type": "integer"
  16950. },
  16951. "contactname": {
  16952. "description": "联系人",
  16953. "type": "string"
  16954. },
  16955. "contactnum": {
  16956. "description": "联系电话",
  16957. "type": "string"
  16958. },
  16959. "countryid": {
  16960. "description": "国家",
  16961. "type": "integer"
  16962. },
  16963. "createtime": {
  16964. "description": "创建时间",
  16965. "type": "string"
  16966. },
  16967. "districtid": {
  16968. "description": "区",
  16969. "type": "integer"
  16970. },
  16971. "hasvideo": {
  16972. "description": "是否有视频 - 0:无 1:有",
  16973. "type": "integer"
  16974. },
  16975. "provinceid": {
  16976. "description": "省",
  16977. "type": "integer"
  16978. },
  16979. "remark": {
  16980. "description": "审核备注",
  16981. "type": "string"
  16982. },
  16983. "videourl": {
  16984. "description": "视频地址",
  16985. "type": "string"
  16986. },
  16987. "warehousecode": {
  16988. "description": "仓库代码",
  16989. "type": "string"
  16990. },
  16991. "warehousename": {
  16992. "description": "仓库名称",
  16993. "type": "string"
  16994. },
  16995. "warehousestatus": {
  16996. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16997. "type": "integer"
  16998. },
  16999. "warehousetype": {
  17000. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17001. "type": "integer"
  17002. }
  17003. }
  17004. },
  17005. "ermcp.QueryErmcpTradePositionRsp": {
  17006. "type": "object",
  17007. "properties": {
  17008. "agreeunit": {
  17009. "description": "合约单位",
  17010. "type": "number"
  17011. },
  17012. "buyorsell": {
  17013. "description": "方向 - 0:买 1:卖",
  17014. "type": "integer"
  17015. },
  17016. "curpositionqty": {
  17017. "description": "持仓(总仓数量, 期末头寸)",
  17018. "type": "integer"
  17019. },
  17020. "curtdposition": {
  17021. "description": "今仓数量(期末今日头寸)",
  17022. "type": "integer"
  17023. },
  17024. "curtdpositionenabled": {
  17025. "description": "今仓可用",
  17026. "type": "integer"
  17027. },
  17028. "decimalplace": {
  17029. "description": "报价小数位",
  17030. "type": "integer"
  17031. },
  17032. "enableqty": {
  17033. "description": "可用(总仓可用)",
  17034. "type": "integer"
  17035. },
  17036. "exexchangename": {
  17037. "description": "外部交易所名称",
  17038. "type": "string"
  17039. },
  17040. "exexehangecode": {
  17041. "description": "外部交易所代码",
  17042. "type": "string"
  17043. },
  17044. "exexehangeid": {
  17045. "description": "外部交易所id",
  17046. "type": "integer"
  17047. },
  17048. "goodscode": {
  17049. "description": "商品代码(内部)",
  17050. "type": "string"
  17051. },
  17052. "goodsid": {
  17053. "description": "商品ID(自增ID SEQ_GOODS)",
  17054. "type": "integer"
  17055. },
  17056. "goodsname": {
  17057. "description": "商品名称",
  17058. "type": "string"
  17059. },
  17060. "last": {
  17061. "description": "现价",
  17062. "type": "number"
  17063. },
  17064. "marketid": {
  17065. "description": "所属市场ID",
  17066. "type": "integer"
  17067. },
  17068. "openaverageprice": {
  17069. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  17070. "type": "number"
  17071. },
  17072. "opencost": {
  17073. "description": "开仓成本",
  17074. "type": "number"
  17075. },
  17076. "openpl": {
  17077. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17078. "type": "number"
  17079. },
  17080. "outgoodscode": {
  17081. "description": "商品代码(外部)",
  17082. "type": "string"
  17083. },
  17084. "positionaverageprice": {
  17085. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  17086. "type": "number"
  17087. },
  17088. "positioncost": {
  17089. "description": "持仓成本",
  17090. "type": "number"
  17091. },
  17092. "positionpl": {
  17093. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17094. "type": "number"
  17095. },
  17096. "positionplrate": {
  17097. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  17098. "type": "number"
  17099. },
  17100. "usedmargin": {
  17101. "description": "占用保证金",
  17102. "type": "number"
  17103. }
  17104. }
  17105. },
  17106. "ermcp.RealtimeExposurePositionRsp": {
  17107. "type": "object",
  17108. "properties": {
  17109. "agreeunit": {
  17110. "description": "合约单位",
  17111. "type": "string"
  17112. },
  17113. "areauserid": {
  17114. "description": "所属机构id",
  17115. "type": "integer"
  17116. },
  17117. "convertratio": {
  17118. "description": "期货品种系数(折算系数)",
  17119. "type": "number"
  17120. },
  17121. "curqty": {
  17122. "description": "当前持仓",
  17123. "type": "integer"
  17124. },
  17125. "diffhedgeqty": {
  17126. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  17127. "type": "number"
  17128. },
  17129. "diffqty": {
  17130. "description": "持仓变动量=当前持仓-昨日持仓",
  17131. "type": "integer"
  17132. },
  17133. "goodscode": {
  17134. "description": "商品代码",
  17135. "type": "string"
  17136. },
  17137. "goodsid": {
  17138. "description": "商品id",
  17139. "type": "integer"
  17140. },
  17141. "goodsname": {
  17142. "description": "商品名称",
  17143. "type": "string"
  17144. },
  17145. "middlegoodsid": {
  17146. "description": "套保商品id",
  17147. "type": "integer"
  17148. },
  17149. "ydqty": {
  17150. "description": "昨日持仓",
  17151. "type": "integer"
  17152. }
  17153. }
  17154. },
  17155. "ermcp.RealtimeExposureRsp": {
  17156. "type": "object",
  17157. "properties": {
  17158. "AreaUserID": {
  17159. "description": "所属机构",
  17160. "type": "integer"
  17161. },
  17162. "BuyFutureQty": {
  17163. "description": "买入期货数量",
  17164. "type": "number"
  17165. },
  17166. "BuyPlanQty": {
  17167. "description": "采购计划数量",
  17168. "type": "number"
  17169. },
  17170. "BuyPricedQty": {
  17171. "description": "采购合同已定价数量",
  17172. "type": "number"
  17173. },
  17174. "MiddleGoodsCode": {
  17175. "description": "套保品种代码",
  17176. "type": "string"
  17177. },
  17178. "MiddleGoodsHedgeRatio": {
  17179. "description": "套保比例",
  17180. "type": "number"
  17181. },
  17182. "MiddleGoodsID": {
  17183. "description": "套保品种",
  17184. "type": "integer"
  17185. },
  17186. "MiddleGoodsName": {
  17187. "description": "套保品种名称",
  17188. "type": "string"
  17189. },
  17190. "NeedHedgeExposoure": {
  17191. "description": "应套保敞口(套保敞口)",
  17192. "type": "number"
  17193. },
  17194. "NeedHedgeRatio": {
  17195. "description": "应套保敞口比例",
  17196. "type": "number"
  17197. },
  17198. "OriBuyFutureQty": {
  17199. "description": "期初买入期货数量",
  17200. "type": "number"
  17201. },
  17202. "OriBuyPlanQty": {
  17203. "description": "期初采购计划数量",
  17204. "type": "number"
  17205. },
  17206. "OriBuyPricedQty": {
  17207. "description": "期初采购合同已定价数量",
  17208. "type": "number"
  17209. },
  17210. "OriSellFutureQty": {
  17211. "description": "期初卖出期货数量",
  17212. "type": "number"
  17213. },
  17214. "OriSellPlanQty": {
  17215. "description": "期初销售计划数量",
  17216. "type": "number"
  17217. },
  17218. "OriSellPricedQty": {
  17219. "description": "期初销售合同已定价数量",
  17220. "type": "number"
  17221. },
  17222. "OriTotalSpotQty": {
  17223. "description": "期初现货总量",
  17224. "type": "number"
  17225. },
  17226. "SellFutureQty": {
  17227. "description": "卖出期货数量",
  17228. "type": "number"
  17229. },
  17230. "SellPlanQty": {
  17231. "description": "销售计划数量",
  17232. "type": "number"
  17233. },
  17234. "SellPricedQty": {
  17235. "description": "销售合同已定价数量",
  17236. "type": "number"
  17237. },
  17238. "TotalExposure": {
  17239. "description": "总敞口 平安:净敞口",
  17240. "type": "number"
  17241. },
  17242. "TotalFutureQty": {
  17243. "description": "期货总量 平安:保值净持仓量",
  17244. "type": "number"
  17245. },
  17246. "TotalHedgeRatio": {
  17247. "description": "敞口比例",
  17248. "type": "number"
  17249. },
  17250. "TotalNeedHedgeQty": {
  17251. "description": "应套保总量(现货应套保总量)",
  17252. "type": "number"
  17253. },
  17254. "TotalSpotQty": {
  17255. "description": "现货总量 平安:采销定价净值",
  17256. "type": "number"
  17257. },
  17258. "arbitrageqty": {
  17259. "description": "套利量",
  17260. "type": "number"
  17261. },
  17262. "diffArbitrageQty": {
  17263. "description": "套利变动量",
  17264. "type": "number"
  17265. },
  17266. "diffExposoureQty": {
  17267. "description": "变动量(套保敞口)",
  17268. "type": "number"
  17269. },
  17270. "diffFutuQty": {
  17271. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  17272. "type": "number"
  17273. },
  17274. "diffHedgeQty": {
  17275. "description": "套保变动量",
  17276. "type": "number"
  17277. },
  17278. "diffQty": {
  17279. "description": "变动量(总敞口) 平安:净敞口今日变动",
  17280. "type": "number"
  17281. },
  17282. "diffSpotHedgeQty": {
  17283. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  17284. "type": "number"
  17285. },
  17286. "diffSpotQty": {
  17287. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  17288. "type": "number"
  17289. },
  17290. "enumdicname": {
  17291. "description": "单位名称",
  17292. "type": "string"
  17293. },
  17294. "hedgeqty": {
  17295. "description": "套保量",
  17296. "type": "number"
  17297. },
  17298. "needarbitrageqty": {
  17299. "description": "应套利量",
  17300. "type": "number"
  17301. },
  17302. "needarbitrageratio": {
  17303. "description": "套利比例",
  17304. "type": "number"
  17305. },
  17306. "needhedgeqty": {
  17307. "description": "应套保量",
  17308. "type": "number"
  17309. },
  17310. "oriarbitrageqty": {
  17311. "description": "期初套利量",
  17312. "type": "number"
  17313. },
  17314. "orihedgeqty": {
  17315. "description": "期初套保量",
  17316. "type": "number"
  17317. },
  17318. "orineedhedgeexposoure": {
  17319. "description": "期初套保敞口",
  17320. "type": "number"
  17321. },
  17322. "oritotalexposure": {
  17323. "description": "期初总敞口",
  17324. "type": "number"
  17325. },
  17326. "oritotalfutureqty": {
  17327. "description": "期初期货总量",
  17328. "type": "number"
  17329. },
  17330. "oritotalneedhedgeqty": {
  17331. "description": "期初现货应套保量",
  17332. "type": "number"
  17333. }
  17334. }
  17335. },
  17336. "erms2.QueryArbitrageStrategyRsp": {
  17337. "type": "object",
  17338. "required": [
  17339. "asapplyid"
  17340. ],
  17341. "properties": {
  17342. "applybasis": {
  17343. "description": "申请基差",
  17344. "type": "number"
  17345. },
  17346. "asapplyid": {
  17347. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  17348. "type": "string"
  17349. },
  17350. "asname": {
  17351. "description": "策略名称",
  17352. "type": "string"
  17353. },
  17354. "asno": {
  17355. "description": "策略编号",
  17356. "type": "string"
  17357. },
  17358. "basischangepl": {
  17359. "description": "基差变动损益[结算更新]",
  17360. "type": "number"
  17361. },
  17362. "biztype": {
  17363. "description": "业务类型 - 1:正向套利 -1:反向套利",
  17364. "type": "integer"
  17365. },
  17366. "closetradedate": {
  17367. "description": "完结交易日(yyyyMMdd)",
  17368. "type": "string"
  17369. },
  17370. "curbasis": {
  17371. "description": "当前基差[结算更新]",
  17372. "type": "number"
  17373. },
  17374. "deliverygoodsid": {
  17375. "description": "现货品种ID",
  17376. "type": "integer"
  17377. },
  17378. "futureavgprice": {
  17379. "description": "期货建仓均价",
  17380. "type": "number"
  17381. },
  17382. "futurecloseamount": {
  17383. "description": "期货平仓金额",
  17384. "type": "number"
  17385. },
  17386. "futurecloseqty": {
  17387. "description": "期货平仓数量",
  17388. "type": "number"
  17389. },
  17390. "futureopenamount": {
  17391. "description": "期货开仓金额",
  17392. "type": "number"
  17393. },
  17394. "futureopenqty": {
  17395. "description": "期货开仓数量",
  17396. "type": "number"
  17397. },
  17398. "futurepl": {
  17399. "description": "期货总盈亏[结算更新]",
  17400. "type": "number"
  17401. },
  17402. "futureqty": {
  17403. "description": "期货持仓数量",
  17404. "type": "number"
  17405. },
  17406. "futurequote": {
  17407. "description": "期货额度",
  17408. "type": "number"
  17409. },
  17410. "goodsgroupid": {
  17411. "description": "期货品种ID",
  17412. "type": "integer"
  17413. },
  17414. "marketid": {
  17415. "description": "市场ID",
  17416. "type": "integer"
  17417. },
  17418. "netexposure": {
  17419. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  17420. "type": "number"
  17421. },
  17422. "netexposurepl": {
  17423. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  17424. "type": "number"
  17425. },
  17426. "netexposurerate": {
  17427. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  17428. "type": "number"
  17429. },
  17430. "openbasis": {
  17431. "description": "建仓基差",
  17432. "type": "number"
  17433. },
  17434. "pricedspotqty": {
  17435. "description": "已定价现货数量",
  17436. "type": "number"
  17437. },
  17438. "pricedspotqtynotax": {
  17439. "description": "已定价现货不含税数量",
  17440. "type": "number"
  17441. },
  17442. "remark": {
  17443. "description": "备注",
  17444. "type": "string"
  17445. },
  17446. "spotavgprice": {
  17447. "description": "现货均价",
  17448. "type": "number"
  17449. },
  17450. "spotbuyamount": {
  17451. "description": "现货采购金额",
  17452. "type": "number"
  17453. },
  17454. "spotbuyqty": {
  17455. "description": "现货采购数量",
  17456. "type": "number"
  17457. },
  17458. "spotpl": {
  17459. "description": "现货总盈亏[结算更新]",
  17460. "type": "number"
  17461. },
  17462. "spotquota": {
  17463. "description": "现货额度",
  17464. "type": "number"
  17465. },
  17466. "spotsellamount": {
  17467. "description": "现货销售金额",
  17468. "type": "number"
  17469. },
  17470. "spotsellqty": {
  17471. "description": "现货销售数量",
  17472. "type": "number"
  17473. },
  17474. "spotusedquota": {
  17475. "description": "现货占用资金",
  17476. "type": "number"
  17477. },
  17478. "strategystatus": {
  17479. "description": "策略状态 - 0:未结束 1:已结束",
  17480. "type": "integer"
  17481. },
  17482. "totalpl": {
  17483. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  17484. "type": "number"
  17485. },
  17486. "tradedate": {
  17487. "description": "交易日(yyyyMMdd)",
  17488. "type": "string"
  17489. },
  17490. "updatetime": {
  17491. "description": "更新时间",
  17492. "type": "string"
  17493. },
  17494. "usedquota": {
  17495. "description": "已占用资金",
  17496. "type": "number"
  17497. },
  17498. "userid": {
  17499. "description": "所属机构",
  17500. "type": "integer"
  17501. }
  17502. }
  17503. },
  17504. "erms2.QueryInnerTradeDetailRsp": {
  17505. "type": "object",
  17506. "required": [
  17507. "asapplyid",
  17508. "buyorsell",
  17509. "goodscode",
  17510. "goodsgroupid",
  17511. "goodsgroupname",
  17512. "goodsname",
  17513. "tradeid"
  17514. ],
  17515. "properties": {
  17516. "accountid": {
  17517. "description": "账号ID",
  17518. "type": "integer"
  17519. },
  17520. "agreeunit": {
  17521. "description": "合约单位",
  17522. "type": "number"
  17523. },
  17524. "asapplyid": {
  17525. "description": "策略申请ID",
  17526. "type": "integer"
  17527. },
  17528. "asname": {
  17529. "description": "策略名称",
  17530. "type": "string"
  17531. },
  17532. "asno": {
  17533. "description": "策略编号",
  17534. "type": "string"
  17535. },
  17536. "buyorsell": {
  17537. "description": "方向 - 0:买 1:卖",
  17538. "type": "integer"
  17539. },
  17540. "channelbuildtype": {
  17541. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  17542. "type": "integer"
  17543. },
  17544. "closetype": {
  17545. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  17546. "type": "integer"
  17547. },
  17548. "decimalplace": {
  17549. "description": "报价小数位",
  17550. "type": "integer"
  17551. },
  17552. "detailtype": {
  17553. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  17554. "type": "integer"
  17555. },
  17556. "exexchangecode": {
  17557. "description": "外部交易所代码",
  17558. "type": "string"
  17559. },
  17560. "exexchangename": {
  17561. "description": "外部交易所名称",
  17562. "type": "string"
  17563. },
  17564. "goodscode": {
  17565. "description": "商品代码(合约)",
  17566. "type": "string"
  17567. },
  17568. "goodsgroupid": {
  17569. "description": "商品组ID(品种ID)",
  17570. "type": "integer"
  17571. },
  17572. "goodsgroupname": {
  17573. "description": "商品组名称(品种)",
  17574. "type": "string"
  17575. },
  17576. "goodsid": {
  17577. "description": "商品ID",
  17578. "type": "integer"
  17579. },
  17580. "goodsname": {
  17581. "description": "商品名称(合约)",
  17582. "type": "string"
  17583. },
  17584. "goodunit": {
  17585. "description": "报价单位",
  17586. "type": "string"
  17587. },
  17588. "marketid": {
  17589. "description": "市场ID",
  17590. "type": "integer"
  17591. },
  17592. "orderid": {
  17593. "description": "委托单号",
  17594. "type": "string"
  17595. },
  17596. "outgoodscode": {
  17597. "description": "商品代码(外部)",
  17598. "type": "string"
  17599. },
  17600. "relatedouttradeid": {
  17601. "description": "关联外部成交单ID",
  17602. "type": "string"
  17603. },
  17604. "remark": {
  17605. "description": "备注",
  17606. "type": "string"
  17607. },
  17608. "spotcontractid": {
  17609. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  17610. "type": "integer"
  17611. },
  17612. "spotcontractno": {
  17613. "description": "现货合同编号",
  17614. "type": "string"
  17615. },
  17616. "tradeid": {
  17617. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17618. "type": "string"
  17619. },
  17620. "tradeprice": {
  17621. "description": "成交价格",
  17622. "type": "number"
  17623. },
  17624. "tradeqty": {
  17625. "description": "成交数量",
  17626. "type": "integer"
  17627. },
  17628. "tradetime": {
  17629. "description": "成交时间",
  17630. "type": "string"
  17631. },
  17632. "updatetime": {
  17633. "description": "更新时间",
  17634. "type": "string"
  17635. }
  17636. }
  17637. },
  17638. "erms2.QuerySpotContractRsp": {
  17639. "type": "object",
  17640. "required": [
  17641. "spotcontractid"
  17642. ],
  17643. "properties": {
  17644. "accountid": {
  17645. "description": "资金账户ID",
  17646. "type": "integer"
  17647. },
  17648. "areauserid": {
  17649. "description": "所属机构",
  17650. "type": "integer"
  17651. },
  17652. "closedate": {
  17653. "description": "终止日期",
  17654. "type": "string"
  17655. },
  17656. "closeremark": {
  17657. "description": "结束备注",
  17658. "type": "string"
  17659. },
  17660. "closetradedate": {
  17661. "description": "完结交易日(yyyyMMdd)",
  17662. "type": "string"
  17663. },
  17664. "closetype": {
  17665. "description": "终止类型 - 1:违约 2:提前终止",
  17666. "type": "integer"
  17667. },
  17668. "contractamount": {
  17669. "description": "合同金额",
  17670. "type": "number"
  17671. },
  17672. "contractattachment": {
  17673. "description": "合同附件",
  17674. "type": "string"
  17675. },
  17676. "contractno": {
  17677. "description": "现货合同编号",
  17678. "type": "string"
  17679. },
  17680. "contractqty": {
  17681. "description": "合同数量(数值) (用于计算)",
  17682. "type": "number"
  17683. },
  17684. "contractqtychar": {
  17685. "description": "合同数量\\已订价数量 (用于显示)",
  17686. "type": "string"
  17687. },
  17688. "contractstatus": {
  17689. "description": "合同状态 - 0:未结束 1:已结束",
  17690. "type": "integer"
  17691. },
  17692. "contracttype": {
  17693. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  17694. "type": "integer"
  17695. },
  17696. "customeraccountid": {
  17697. "description": "客户资金账户ID",
  17698. "type": "integer"
  17699. },
  17700. "customeruserid": {
  17701. "description": "客户ID",
  17702. "type": "integer"
  17703. },
  17704. "deliverygoodsdesc": {
  17705. "description": "品种说明",
  17706. "type": "string"
  17707. },
  17708. "deliverygoodsid": {
  17709. "description": "现货品种ID",
  17710. "type": "integer"
  17711. },
  17712. "handlestatus": {
  17713. "description": "处理状态",
  17714. "type": "integer"
  17715. },
  17716. "invoiceatt": {
  17717. "description": "发票附件",
  17718. "type": "string"
  17719. },
  17720. "invoicedatetime": {
  17721. "description": "开收票更新时间",
  17722. "type": "string"
  17723. },
  17724. "invoiceopentime": {
  17725. "description": "开票时间",
  17726. "type": "string"
  17727. },
  17728. "invoiceremark": {
  17729. "description": "发票备注",
  17730. "type": "string"
  17731. },
  17732. "invoicestatus": {
  17733. "description": "开收票状态 - 0:未开票 1:已开票",
  17734. "type": "integer"
  17735. },
  17736. "lastdate": {
  17737. "description": "交货时间",
  17738. "type": "string"
  17739. },
  17740. "marketid": {
  17741. "description": "市场ID",
  17742. "type": "integer"
  17743. },
  17744. "paydatetime": {
  17745. "description": "收付款更新时间",
  17746. "type": "string"
  17747. },
  17748. "payremark": {
  17749. "description": "收付款备注",
  17750. "type": "string"
  17751. },
  17752. "paystatus": {
  17753. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  17754. "type": "integer"
  17755. },
  17756. "positionqty": {
  17757. "description": "头寸数量 - 合同数量去小数部分",
  17758. "type": "integer"
  17759. },
  17760. "producttype": {
  17761. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17762. "type": "integer"
  17763. },
  17764. "relatedqty": {
  17765. "description": "已关联数量",
  17766. "type": "number"
  17767. },
  17768. "relatedstatus": {
  17769. "description": "关联完结状态 - 0:未结束 1:已结束",
  17770. "type": "integer"
  17771. },
  17772. "remark": {
  17773. "description": "备注",
  17774. "type": "string"
  17775. },
  17776. "signdate": {
  17777. "description": "签订日期",
  17778. "type": "string"
  17779. },
  17780. "spotcontractid": {
  17781. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  17782. "type": "string"
  17783. },
  17784. "spotdatetime": {
  17785. "description": "收发货更新时间",
  17786. "type": "string"
  17787. },
  17788. "spotprice": {
  17789. "description": "价格",
  17790. "type": "number"
  17791. },
  17792. "spotremark": {
  17793. "description": "收发货备注",
  17794. "type": "string"
  17795. },
  17796. "spotstatus": {
  17797. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  17798. "type": "integer"
  17799. },
  17800. "tradedate": {
  17801. "description": "交易日(yyyyMMdd)",
  17802. "type": "string"
  17803. },
  17804. "userid": {
  17805. "description": "业务员用户ID",
  17806. "type": "integer"
  17807. },
  17808. "warehouseid": {
  17809. "description": "仓库ID",
  17810. "type": "integer"
  17811. },
  17812. "wrfactortypeid": {
  17813. "description": "仓单要素类型ID",
  17814. "type": "integer"
  17815. },
  17816. "wrstandardid": {
  17817. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  17818. "type": "integer"
  17819. }
  17820. }
  17821. },
  17822. "erms3.AddErms2ASApplyReq": {
  17823. "type": "object",
  17824. "required": [
  17825. "asapplyid"
  17826. ],
  17827. "properties": {
  17828. "applybasis": {
  17829. "description": "申请基差",
  17830. "type": "number"
  17831. },
  17832. "applystatus": {
  17833. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17834. "type": "integer"
  17835. },
  17836. "asapplyid": {
  17837. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  17838. "type": "integer"
  17839. },
  17840. "asname": {
  17841. "description": "策略名称",
  17842. "type": "string"
  17843. },
  17844. "asno": {
  17845. "description": "策略编号",
  17846. "type": "string"
  17847. },
  17848. "auditid": {
  17849. "description": "审核人",
  17850. "type": "integer"
  17851. },
  17852. "auditremark": {
  17853. "description": "审核备注",
  17854. "type": "string"
  17855. },
  17856. "audittime": {
  17857. "description": "审核时间",
  17858. "type": "string"
  17859. },
  17860. "biztype": {
  17861. "description": "业务类型 - 1:正向套利 2:反向套利",
  17862. "type": "integer"
  17863. },
  17864. "createtime": {
  17865. "description": "创建时间",
  17866. "type": "string"
  17867. },
  17868. "creatorid": {
  17869. "description": "创建人",
  17870. "type": "integer"
  17871. },
  17872. "deliverygoodsid": {
  17873. "description": "现货品种ID",
  17874. "type": "integer"
  17875. },
  17876. "futurequote": {
  17877. "description": "期货额度",
  17878. "type": "number"
  17879. },
  17880. "goodsgroupid": {
  17881. "description": "期货品种ID",
  17882. "type": "integer"
  17883. },
  17884. "marketid": {
  17885. "description": "市场ID",
  17886. "type": "integer"
  17887. },
  17888. "remark": {
  17889. "description": "备注",
  17890. "type": "string"
  17891. },
  17892. "spotquota": {
  17893. "description": "现货额度",
  17894. "type": "number"
  17895. },
  17896. "tradedate": {
  17897. "description": "交易日(yyyyMMdd)",
  17898. "type": "string"
  17899. },
  17900. "userid": {
  17901. "description": "所属机构",
  17902. "type": "integer"
  17903. }
  17904. }
  17905. },
  17906. "erms3.AddErms2SpotTradeApplyReq": {
  17907. "type": "object",
  17908. "required": [
  17909. "spottradeid"
  17910. ],
  17911. "properties": {
  17912. "applyjsondetail": {
  17913. "description": "申请明细(JSON)",
  17914. "type": "string"
  17915. },
  17916. "applystatus": {
  17917. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17918. "type": "integer"
  17919. },
  17920. "areauserid": {
  17921. "description": "所属机构",
  17922. "type": "integer"
  17923. },
  17924. "auditid": {
  17925. "description": "审核人",
  17926. "type": "integer"
  17927. },
  17928. "auditremark": {
  17929. "description": "审核备注",
  17930. "type": "string"
  17931. },
  17932. "audittime": {
  17933. "description": "审核时间",
  17934. "type": "string"
  17935. },
  17936. "createtime": {
  17937. "description": "创建时间",
  17938. "type": "string"
  17939. },
  17940. "creatorid": {
  17941. "description": "创建人",
  17942. "type": "integer"
  17943. },
  17944. "deliverygoodsid": {
  17945. "description": "现货品种ID",
  17946. "type": "integer"
  17947. },
  17948. "futureaccountid": {
  17949. "description": "期货资金账户",
  17950. "type": "integer"
  17951. },
  17952. "goodsgroupid": {
  17953. "description": "期货品种",
  17954. "type": "integer"
  17955. },
  17956. "marketid": {
  17957. "description": "市场ID",
  17958. "type": "integer"
  17959. },
  17960. "remark": {
  17961. "description": "备注",
  17962. "type": "string"
  17963. },
  17964. "spotaccountid": {
  17965. "description": "现货资金账户",
  17966. "type": "integer"
  17967. },
  17968. "spottradeid": {
  17969. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  17970. "type": "integer"
  17971. },
  17972. "spottradename": {
  17973. "description": "业务名称",
  17974. "type": "string"
  17975. },
  17976. "spottradeno": {
  17977. "description": "业务编号",
  17978. "type": "string"
  17979. },
  17980. "tradedate": {
  17981. "description": "交易日(yyyyMMdd)",
  17982. "type": "string"
  17983. },
  17984. "wrstandardid": {
  17985. "description": "仓单标准ID",
  17986. "type": "integer"
  17987. }
  17988. }
  17989. },
  17990. "erms3.AddSpotContractApplyReq": {
  17991. "type": "object",
  17992. "required": [
  17993. "accountid",
  17994. "areauserid",
  17995. "contractno",
  17996. "contracttype",
  17997. "customeraccountid",
  17998. "customeruserid",
  17999. "details",
  18000. "orimargin",
  18001. "signdate"
  18002. ],
  18003. "properties": {
  18004. "accountid": {
  18005. "description": "资金账户ID",
  18006. "type": "integer"
  18007. },
  18008. "areauserid": {
  18009. "description": "所属机构",
  18010. "type": "integer"
  18011. },
  18012. "contractattachment": {
  18013. "description": "合同附件",
  18014. "type": "string"
  18015. },
  18016. "contractno": {
  18017. "description": "现货合同编号",
  18018. "type": "string"
  18019. },
  18020. "contracttype": {
  18021. "description": "现货合同类型 - 1:采购 -1:销售",
  18022. "type": "integer"
  18023. },
  18024. "creatorid": {
  18025. "description": "申请人",
  18026. "type": "integer"
  18027. },
  18028. "customeraccountid": {
  18029. "description": "客户资金账户ID",
  18030. "type": "integer"
  18031. },
  18032. "customeruserid": {
  18033. "description": "客户ID",
  18034. "type": "integer"
  18035. },
  18036. "details": {
  18037. "description": "明细",
  18038. "type": "array",
  18039. "items": {
  18040. "$ref": "#/definitions/erms3.SoptContractDetail"
  18041. }
  18042. },
  18043. "orimargin": {
  18044. "description": "初始保证金",
  18045. "type": "number"
  18046. },
  18047. "remark": {
  18048. "description": "备注",
  18049. "type": "string"
  18050. },
  18051. "signdate": {
  18052. "description": "签订日期",
  18053. "type": "string"
  18054. }
  18055. }
  18056. },
  18057. "erms3.AddSpotContractApplyRsp": {
  18058. "type": "object",
  18059. "required": [
  18060. "contractno"
  18061. ],
  18062. "properties": {
  18063. "contractno": {
  18064. "description": "现货合同编号",
  18065. "type": "string"
  18066. },
  18067. "spotcontractid": {
  18068. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  18069. "type": "integer"
  18070. }
  18071. }
  18072. },
  18073. "erms3.AddUserInfoApplyReq": {
  18074. "type": "object",
  18075. "required": [
  18076. "userid"
  18077. ],
  18078. "properties": {
  18079. "accountid": {
  18080. "description": "交易系统帐号Id (加密存储)",
  18081. "type": "integer"
  18082. },
  18083. "areacode": {
  18084. "description": "机构代码",
  18085. "type": "string"
  18086. },
  18087. "areaid": {
  18088. "description": "机构Id",
  18089. "type": "integer"
  18090. },
  18091. "attachment1": {
  18092. "description": "附件1",
  18093. "type": "string"
  18094. },
  18095. "attachment2": {
  18096. "description": "附件2",
  18097. "type": "string"
  18098. },
  18099. "attachment3": {
  18100. "description": "附件3",
  18101. "type": "string"
  18102. },
  18103. "attachment4": {
  18104. "description": "附件4",
  18105. "type": "string"
  18106. },
  18107. "attachment5": {
  18108. "description": "附件5",
  18109. "type": "string"
  18110. },
  18111. "auditedby": {
  18112. "description": "审核人",
  18113. "type": "string"
  18114. },
  18115. "auditime": {
  18116. "description": "审核时间",
  18117. "type": "string"
  18118. },
  18119. "auditsrc": {
  18120. "description": "审核来源 - 1:管理端 2:终端",
  18121. "type": "integer"
  18122. },
  18123. "bankaccount": {
  18124. "description": "银行帐号 (加密存储)",
  18125. "type": "string"
  18126. },
  18127. "bankaccountname": {
  18128. "description": "收款人名称",
  18129. "type": "string"
  18130. },
  18131. "bankcardbackphotourl": {
  18132. "description": "银行卡背面照地址",
  18133. "type": "string"
  18134. },
  18135. "bankcardfrontphotourl": {
  18136. "description": "银行卡正面照地址",
  18137. "type": "string"
  18138. },
  18139. "bankid": {
  18140. "description": "银行编码",
  18141. "type": "string"
  18142. },
  18143. "bankname": {
  18144. "description": "银行名称",
  18145. "type": "string"
  18146. },
  18147. "bankpictureurl": {
  18148. "description": "银行卡正面地址",
  18149. "type": "string"
  18150. },
  18151. "biznature": {
  18152. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18153. "type": "integer"
  18154. },
  18155. "bizscope": {
  18156. "description": "企业经营范围(企业)",
  18157. "type": "string"
  18158. },
  18159. "biztype": {
  18160. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18161. "type": "integer"
  18162. },
  18163. "brokerid": {
  18164. "description": "经纪人ID(加密存储)",
  18165. "type": "string"
  18166. },
  18167. "cardaddress": {
  18168. "description": "证件地址 (加密存储)",
  18169. "type": "string"
  18170. },
  18171. "cardbackphotourl": {
  18172. "description": "背面证件照地址",
  18173. "type": "string"
  18174. },
  18175. "cardfrontphotourl": {
  18176. "description": "正面证件照地址",
  18177. "type": "string"
  18178. },
  18179. "cardnum": {
  18180. "description": "证件号码 (加密存储)",
  18181. "type": "string"
  18182. },
  18183. "cardtype": {
  18184. "description": "证件类型",
  18185. "type": "integer"
  18186. },
  18187. "cityid": {
  18188. "description": "市",
  18189. "type": "integer"
  18190. },
  18191. "company": {
  18192. "description": "公司(个人)",
  18193. "type": "string"
  18194. },
  18195. "contactcardbackphotourl": {
  18196. "description": "联系人证件背面图片地址",
  18197. "type": "string"
  18198. },
  18199. "contactcardfrontphotourl": {
  18200. "description": "联系人证件正面图片地址",
  18201. "type": "string"
  18202. },
  18203. "contactname": {
  18204. "description": "联系人",
  18205. "type": "string"
  18206. },
  18207. "countryid": {
  18208. "description": "国家",
  18209. "type": "integer"
  18210. },
  18211. "createtime": {
  18212. "description": "开户申请时间",
  18213. "type": "string"
  18214. },
  18215. "cusbankid": {
  18216. "description": "签约类型",
  18217. "type": "string"
  18218. },
  18219. "cusbankname": {
  18220. "description": "签约类型名称",
  18221. "type": "string"
  18222. },
  18223. "customername": {
  18224. "description": "客户名称(企业名称)",
  18225. "type": "string"
  18226. },
  18227. "districtid": {
  18228. "description": "地区",
  18229. "type": "integer"
  18230. },
  18231. "email": {
  18232. "description": "Email地址(加密存储)",
  18233. "type": "string"
  18234. },
  18235. "halfbodyphotourl": {
  18236. "description": "半身照地址",
  18237. "type": "string"
  18238. },
  18239. "headurl": {
  18240. "description": "头像地址",
  18241. "type": "string"
  18242. },
  18243. "ipaddress": {
  18244. "description": "IP地址",
  18245. "type": "string"
  18246. },
  18247. "isvalidate": {
  18248. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18249. "type": "string"
  18250. },
  18251. "legalcardbackphotourl": {
  18252. "description": "法人身份证背面照地址",
  18253. "type": "string"
  18254. },
  18255. "legalcardfrontphotourl": {
  18256. "description": "法人身份证正面照地址",
  18257. "type": "string"
  18258. },
  18259. "legalpersonname": {
  18260. "description": "法人姓名(企业)",
  18261. "type": "string"
  18262. },
  18263. "logincode": {
  18264. "description": "登录帐号 (加密存储)",
  18265. "type": "string"
  18266. },
  18267. "memberareaid": {
  18268. "description": "所属会员ID",
  18269. "type": "integer"
  18270. },
  18271. "mobile2": {
  18272. "description": "手机号码[明文-尚志]",
  18273. "type": "string"
  18274. },
  18275. "mobilephone": {
  18276. "description": "手机号码 (加密存储)",
  18277. "type": "string"
  18278. },
  18279. "modifiedby": {
  18280. "description": "修改人帐号",
  18281. "type": "integer"
  18282. },
  18283. "modifiedtime": {
  18284. "description": "修改时间",
  18285. "type": "string"
  18286. },
  18287. "nickname": {
  18288. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18289. "type": "string"
  18290. },
  18291. "openmode": {
  18292. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18293. "type": "integer"
  18294. },
  18295. "otherurl": {
  18296. "description": "其它图片地址[使用分号分隔]",
  18297. "type": "string"
  18298. },
  18299. "postalcode": {
  18300. "description": "邮政编码",
  18301. "type": "string"
  18302. },
  18303. "provinceid": {
  18304. "description": "省",
  18305. "type": "integer"
  18306. },
  18307. "proxystatementurl": {
  18308. "description": "授权委托书",
  18309. "type": "string"
  18310. },
  18311. "qq": {
  18312. "description": "QQ(加密存储",
  18313. "type": "string"
  18314. },
  18315. "referral": {
  18316. "description": "推荐人编码",
  18317. "type": "string"
  18318. },
  18319. "remark": {
  18320. "description": "备注",
  18321. "type": "string"
  18322. },
  18323. "removebeforestatus": {
  18324. "description": "REMOVEBEFORESTATUS",
  18325. "type": "integer"
  18326. },
  18327. "sex": {
  18328. "description": "性别 - 0:女 1:男",
  18329. "type": "integer"
  18330. },
  18331. "signedstatus": {
  18332. "description": "账户一号签签约状态",
  18333. "type": "integer"
  18334. },
  18335. "signpdfurl": {
  18336. "description": "签约pdf文件",
  18337. "type": "string"
  18338. },
  18339. "subbranch": {
  18340. "description": "开户支行",
  18341. "type": "string"
  18342. },
  18343. "taxpayernum": {
  18344. "description": "纳税人识别号",
  18345. "type": "string"
  18346. },
  18347. "telphone": {
  18348. "description": "联系电话(加密存储)",
  18349. "type": "string"
  18350. },
  18351. "userid": {
  18352. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18353. "type": "integer"
  18354. },
  18355. "userinfotype": {
  18356. "description": "用户信息类型 - 1:个人 2:企业",
  18357. "type": "integer"
  18358. },
  18359. "username": {
  18360. "description": "用户姓名",
  18361. "type": "string"
  18362. },
  18363. "userstate": {
  18364. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18365. "type": "integer"
  18366. },
  18367. "usertype": {
  18368. "description": "用户类型 - 1:投资者 2:机构",
  18369. "type": "integer"
  18370. },
  18371. "videourl": {
  18372. "description": "视频地址",
  18373. "type": "string"
  18374. },
  18375. "wechat": {
  18376. "description": "微信号 (加密存储)",
  18377. "type": "string"
  18378. }
  18379. }
  18380. },
  18381. "erms3.CustomerInfo": {
  18382. "type": "object",
  18383. "required": [
  18384. "userid"
  18385. ],
  18386. "properties": {
  18387. "accountids": {
  18388. "description": "资金账户ID列表",
  18389. "type": "array",
  18390. "items": {
  18391. "type": "integer"
  18392. }
  18393. },
  18394. "customername": {
  18395. "description": "名称(企业名称)",
  18396. "type": "string"
  18397. },
  18398. "mobile": {
  18399. "description": "手机号码",
  18400. "type": "string"
  18401. },
  18402. "userid": {
  18403. "description": "用户ID",
  18404. "type": "integer"
  18405. }
  18406. }
  18407. },
  18408. "erms3.ModifyUserInfoApplyReq": {
  18409. "type": "object",
  18410. "required": [
  18411. "userid"
  18412. ],
  18413. "properties": {
  18414. "accountid": {
  18415. "description": "交易系统帐号Id (加密存储)",
  18416. "type": "integer"
  18417. },
  18418. "areacode": {
  18419. "description": "机构代码",
  18420. "type": "string"
  18421. },
  18422. "areaid": {
  18423. "description": "机构Id",
  18424. "type": "integer"
  18425. },
  18426. "attachment1": {
  18427. "description": "附件1",
  18428. "type": "string"
  18429. },
  18430. "attachment2": {
  18431. "description": "附件2",
  18432. "type": "string"
  18433. },
  18434. "attachment3": {
  18435. "description": "附件3",
  18436. "type": "string"
  18437. },
  18438. "attachment4": {
  18439. "description": "附件4",
  18440. "type": "string"
  18441. },
  18442. "attachment5": {
  18443. "description": "附件5",
  18444. "type": "string"
  18445. },
  18446. "auditedby": {
  18447. "description": "审核人",
  18448. "type": "string"
  18449. },
  18450. "auditime": {
  18451. "description": "审核时间",
  18452. "type": "string"
  18453. },
  18454. "auditsrc": {
  18455. "description": "审核来源 - 1:管理端 2:终端",
  18456. "type": "integer"
  18457. },
  18458. "bankaccount": {
  18459. "description": "银行帐号 (加密存储)",
  18460. "type": "string"
  18461. },
  18462. "bankaccountname": {
  18463. "description": "收款人名称",
  18464. "type": "string"
  18465. },
  18466. "bankcardbackphotourl": {
  18467. "description": "银行卡背面照地址",
  18468. "type": "string"
  18469. },
  18470. "bankcardfrontphotourl": {
  18471. "description": "银行卡正面照地址",
  18472. "type": "string"
  18473. },
  18474. "bankid": {
  18475. "description": "银行编码",
  18476. "type": "string"
  18477. },
  18478. "bankname": {
  18479. "description": "银行名称",
  18480. "type": "string"
  18481. },
  18482. "bankpictureurl": {
  18483. "description": "银行卡正面地址",
  18484. "type": "string"
  18485. },
  18486. "biznature": {
  18487. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18488. "type": "integer"
  18489. },
  18490. "bizscope": {
  18491. "description": "企业经营范围(企业)",
  18492. "type": "string"
  18493. },
  18494. "biztype": {
  18495. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18496. "type": "integer"
  18497. },
  18498. "brokerid": {
  18499. "description": "经纪人ID(加密存储)",
  18500. "type": "string"
  18501. },
  18502. "cardaddress": {
  18503. "description": "证件地址 (加密存储)",
  18504. "type": "string"
  18505. },
  18506. "cardbackphotourl": {
  18507. "description": "背面证件照地址",
  18508. "type": "string"
  18509. },
  18510. "cardfrontphotourl": {
  18511. "description": "正面证件照地址",
  18512. "type": "string"
  18513. },
  18514. "cardnum": {
  18515. "description": "证件号码 (加密存储)",
  18516. "type": "string"
  18517. },
  18518. "cardtype": {
  18519. "description": "证件类型",
  18520. "type": "integer"
  18521. },
  18522. "cityid": {
  18523. "description": "市",
  18524. "type": "integer"
  18525. },
  18526. "company": {
  18527. "description": "公司(个人)",
  18528. "type": "string"
  18529. },
  18530. "contactcardbackphotourl": {
  18531. "description": "联系人证件背面图片地址",
  18532. "type": "string"
  18533. },
  18534. "contactcardfrontphotourl": {
  18535. "description": "联系人证件正面图片地址",
  18536. "type": "string"
  18537. },
  18538. "contactname": {
  18539. "description": "联系人",
  18540. "type": "string"
  18541. },
  18542. "countryid": {
  18543. "description": "国家",
  18544. "type": "integer"
  18545. },
  18546. "createtime": {
  18547. "description": "开户申请时间",
  18548. "type": "string"
  18549. },
  18550. "cusbankid": {
  18551. "description": "签约类型",
  18552. "type": "string"
  18553. },
  18554. "cusbankname": {
  18555. "description": "签约类型名称",
  18556. "type": "string"
  18557. },
  18558. "customername": {
  18559. "description": "客户名称(企业名称)",
  18560. "type": "string"
  18561. },
  18562. "districtid": {
  18563. "description": "地区",
  18564. "type": "integer"
  18565. },
  18566. "email": {
  18567. "description": "Email地址(加密存储)",
  18568. "type": "string"
  18569. },
  18570. "halfbodyphotourl": {
  18571. "description": "半身照地址",
  18572. "type": "string"
  18573. },
  18574. "headurl": {
  18575. "description": "头像地址",
  18576. "type": "string"
  18577. },
  18578. "ipaddress": {
  18579. "description": "IP地址",
  18580. "type": "string"
  18581. },
  18582. "isvalidate": {
  18583. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18584. "type": "string"
  18585. },
  18586. "legalcardbackphotourl": {
  18587. "description": "法人身份证背面照地址",
  18588. "type": "string"
  18589. },
  18590. "legalcardfrontphotourl": {
  18591. "description": "法人身份证正面照地址",
  18592. "type": "string"
  18593. },
  18594. "legalpersonname": {
  18595. "description": "法人姓名(企业)",
  18596. "type": "string"
  18597. },
  18598. "logincode": {
  18599. "description": "登录帐号 (加密存储)",
  18600. "type": "string"
  18601. },
  18602. "memberareaid": {
  18603. "description": "所属会员ID",
  18604. "type": "integer"
  18605. },
  18606. "mobile2": {
  18607. "description": "手机号码[明文-尚志]",
  18608. "type": "string"
  18609. },
  18610. "mobilephone": {
  18611. "description": "手机号码 (加密存储)",
  18612. "type": "string"
  18613. },
  18614. "modifiedby": {
  18615. "description": "修改人帐号",
  18616. "type": "integer"
  18617. },
  18618. "modifiedtime": {
  18619. "description": "修改时间",
  18620. "type": "string"
  18621. },
  18622. "nickname": {
  18623. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18624. "type": "string"
  18625. },
  18626. "openmode": {
  18627. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18628. "type": "integer"
  18629. },
  18630. "otherurl": {
  18631. "description": "其它图片地址[使用分号分隔]",
  18632. "type": "string"
  18633. },
  18634. "postalcode": {
  18635. "description": "邮政编码",
  18636. "type": "string"
  18637. },
  18638. "provinceid": {
  18639. "description": "省",
  18640. "type": "integer"
  18641. },
  18642. "proxystatementurl": {
  18643. "description": "授权委托书",
  18644. "type": "string"
  18645. },
  18646. "qq": {
  18647. "description": "QQ(加密存储",
  18648. "type": "string"
  18649. },
  18650. "referral": {
  18651. "description": "推荐人编码",
  18652. "type": "string"
  18653. },
  18654. "remark": {
  18655. "description": "备注",
  18656. "type": "string"
  18657. },
  18658. "removebeforestatus": {
  18659. "description": "REMOVEBEFORESTATUS",
  18660. "type": "integer"
  18661. },
  18662. "sex": {
  18663. "description": "性别 - 0:女 1:男",
  18664. "type": "integer"
  18665. },
  18666. "signedstatus": {
  18667. "description": "账户一号签签约状态",
  18668. "type": "integer"
  18669. },
  18670. "signpdfurl": {
  18671. "description": "签约pdf文件",
  18672. "type": "string"
  18673. },
  18674. "subbranch": {
  18675. "description": "开户支行",
  18676. "type": "string"
  18677. },
  18678. "taxpayernum": {
  18679. "description": "纳税人识别号",
  18680. "type": "string"
  18681. },
  18682. "telphone": {
  18683. "description": "联系电话(加密存储)",
  18684. "type": "string"
  18685. },
  18686. "userid": {
  18687. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18688. "type": "integer"
  18689. },
  18690. "userinfotype": {
  18691. "description": "用户信息类型 - 1:个人 2:企业",
  18692. "type": "integer"
  18693. },
  18694. "username": {
  18695. "description": "用户姓名",
  18696. "type": "string"
  18697. },
  18698. "userstate": {
  18699. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18700. "type": "integer"
  18701. },
  18702. "usertype": {
  18703. "description": "用户类型 - 1:投资者 2:机构",
  18704. "type": "integer"
  18705. },
  18706. "videourl": {
  18707. "description": "视频地址",
  18708. "type": "string"
  18709. },
  18710. "wechat": {
  18711. "description": "微信号 (加密存储)",
  18712. "type": "string"
  18713. }
  18714. }
  18715. },
  18716. "erms3.QryAuditContractRsp": {
  18717. "type": "object",
  18718. "required": [
  18719. "matchcustomername",
  18720. "spotcontractid"
  18721. ],
  18722. "properties": {
  18723. "accountid": {
  18724. "description": "交易员ID",
  18725. "type": "string"
  18726. },
  18727. "applystatus": {
  18728. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18729. "type": "integer"
  18730. },
  18731. "curdeliveryqty": {
  18732. "description": "未交收量",
  18733. "type": "integer"
  18734. },
  18735. "customername": {
  18736. "description": "采购方ID",
  18737. "type": "string"
  18738. },
  18739. "deliverygoodsid": {
  18740. "description": "品种ID",
  18741. "type": "string"
  18742. },
  18743. "deliveryqty": {
  18744. "description": "交收量",
  18745. "type": "integer"
  18746. },
  18747. "enumdicname": {
  18748. "description": "单位名称",
  18749. "type": "string"
  18750. },
  18751. "matchaccountid": {
  18752. "description": "业务员ID",
  18753. "type": "string"
  18754. },
  18755. "matchcustomername": {
  18756. "description": "销售方ID",
  18757. "type": "string"
  18758. },
  18759. "pricedqty": {
  18760. "description": "定价量",
  18761. "type": "number"
  18762. },
  18763. "signdate": {
  18764. "description": "签订日期",
  18765. "type": "string"
  18766. },
  18767. "spotcontractid": {
  18768. "description": "合同ID",
  18769. "type": "string"
  18770. },
  18771. "totaldqty": {
  18772. "description": "合同量",
  18773. "type": "number"
  18774. },
  18775. "unpricedqty": {
  18776. "description": "未定价量",
  18777. "type": "number"
  18778. },
  18779. "wrstandardname": {
  18780. "description": "商品名称",
  18781. "type": "string"
  18782. }
  18783. }
  18784. },
  18785. "erms3.QryPendingBizRsp": {
  18786. "type": "object",
  18787. "properties": {
  18788. "accountid": {
  18789. "description": "现货账户",
  18790. "type": "string"
  18791. },
  18792. "areaname": {
  18793. "description": "所属部门",
  18794. "type": "string"
  18795. },
  18796. "bizid": {
  18797. "description": "业务ID",
  18798. "type": "string"
  18799. },
  18800. "bizname": {
  18801. "description": "业务名称",
  18802. "type": "string"
  18803. },
  18804. "status": {
  18805. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18806. "type": "integer"
  18807. },
  18808. "type": {
  18809. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18810. "type": "integer"
  18811. }
  18812. }
  18813. },
  18814. "erms3.QueryBusinessInfoRsp": {
  18815. "type": "object",
  18816. "properties": {
  18817. "businessid": {
  18818. "description": "业务ID.",
  18819. "type": "integer"
  18820. },
  18821. "buyamount": {
  18822. "description": "采购额.",
  18823. "type": "number"
  18824. },
  18825. "buyqty": {
  18826. "description": "采购量.",
  18827. "type": "string"
  18828. },
  18829. "futurepl": {
  18830. "description": "期货盈亏.",
  18831. "type": "number"
  18832. },
  18833. "futureqty": {
  18834. "description": "期货敞口.",
  18835. "type": "string"
  18836. },
  18837. "goodsid": {
  18838. "description": "商品名称/商品代码.",
  18839. "type": "string"
  18840. },
  18841. "hedgingqty": {
  18842. "description": "套保量.",
  18843. "type": "string"
  18844. },
  18845. "sellamount": {
  18846. "description": "销售额.",
  18847. "type": "number"
  18848. },
  18849. "sellqty": {
  18850. "description": "销售量.",
  18851. "type": "string"
  18852. },
  18853. "spotmarketvalue": {
  18854. "description": "现货市值.",
  18855. "type": "number"
  18856. },
  18857. "spotpl": {
  18858. "description": "浮动权益.",
  18859. "type": "number"
  18860. },
  18861. "spotqty": {
  18862. "description": "现货量.",
  18863. "type": "string"
  18864. },
  18865. "statu": {
  18866. "description": "状态,0-未结束 1-已结束.",
  18867. "type": "integer"
  18868. },
  18869. "totalpl": {
  18870. "description": "总盈亏.",
  18871. "type": "number"
  18872. },
  18873. "totalqty": {
  18874. "description": "总敞口.",
  18875. "type": "string"
  18876. },
  18877. "type": {
  18878. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  18879. "type": "integer"
  18880. }
  18881. }
  18882. },
  18883. "erms3.QuerySpotContractAppleFormRsp": {
  18884. "type": "object",
  18885. "properties": {
  18886. "goodses": {
  18887. "description": "合约列表",
  18888. "type": "array",
  18889. "items": {
  18890. "$ref": "#/definitions/models.GoodsIDAndName"
  18891. }
  18892. },
  18893. "oppositeusers": {
  18894. "description": "对方账号列表",
  18895. "type": "array",
  18896. "items": {
  18897. "$ref": "#/definitions/erms3.CustomerInfo"
  18898. }
  18899. },
  18900. "ouruser": {
  18901. "description": "我方账号",
  18902. "$ref": "#/definitions/erms3.CustomerInfo"
  18903. },
  18904. "warehouseinfos": {
  18905. "description": "仓库信息列表",
  18906. "type": "array",
  18907. "items": {
  18908. "$ref": "#/definitions/models.Warehouseinfo"
  18909. }
  18910. },
  18911. "wrstandards": {
  18912. "description": "仓单标准列表",
  18913. "type": "array",
  18914. "items": {
  18915. "$ref": "#/definitions/models.WRStandardInfo"
  18916. }
  18917. }
  18918. }
  18919. },
  18920. "erms3.QuerySpotContractInfoRsp": {
  18921. "type": "object",
  18922. "properties": {
  18923. "accountid": {
  18924. "description": "表示交易员ID.",
  18925. "type": "integer"
  18926. },
  18927. "curdeliveryqty": {
  18928. "description": "表示未交收量.",
  18929. "type": "number"
  18930. },
  18931. "customername": {
  18932. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  18933. "type": "string"
  18934. },
  18935. "deliverygoodsid": {
  18936. "description": "表示品种ID.",
  18937. "type": "string"
  18938. },
  18939. "deliveryqty": {
  18940. "description": "表示交收量.",
  18941. "type": "number"
  18942. },
  18943. "matchaccountid": {
  18944. "description": "表示业务员ID.",
  18945. "type": "integer"
  18946. },
  18947. "matchcustomername": {
  18948. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  18949. "type": "string"
  18950. },
  18951. "priceqty": {
  18952. "description": "表示定价量.",
  18953. "type": "number"
  18954. },
  18955. "relatedbizid": {
  18956. "description": "表示业务ID.",
  18957. "type": "string"
  18958. },
  18959. "signdate": {
  18960. "description": "表示签订日期.",
  18961. "type": "string"
  18962. },
  18963. "spotcontractid": {
  18964. "description": "合同ID",
  18965. "type": "string"
  18966. },
  18967. "status": {
  18968. "description": "表示状态,0-履约中 1-已完成.",
  18969. "type": "integer"
  18970. },
  18971. "totalqty": {
  18972. "description": "表示合同量.",
  18973. "type": "number"
  18974. },
  18975. "unpricedqty": {
  18976. "description": "表示未定价量.",
  18977. "type": "number"
  18978. },
  18979. "wrstandardname": {
  18980. "description": "表示商品ID.",
  18981. "type": "string"
  18982. }
  18983. }
  18984. },
  18985. "erms3.QueryUserInfoAppliesRsp": {
  18986. "type": "object",
  18987. "required": [
  18988. "userid"
  18989. ],
  18990. "properties": {
  18991. "biznature": {
  18992. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18993. "type": "integer"
  18994. },
  18995. "contactname": {
  18996. "description": "联系人",
  18997. "type": "string"
  18998. },
  18999. "createtime": {
  19000. "description": "开户申请时间",
  19001. "type": "string"
  19002. },
  19003. "userid": {
  19004. "description": "用户ID(自增ID)",
  19005. "type": "integer"
  19006. },
  19007. "userinfotype": {
  19008. "description": "用户信息类型 - 1:个人 2:企业",
  19009. "type": "integer"
  19010. },
  19011. "username": {
  19012. "description": "用户姓名",
  19013. "type": "string"
  19014. },
  19015. "userstate": {
  19016. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19017. "type": "integer"
  19018. }
  19019. }
  19020. },
  19021. "erms3.QueryUserInfosRsp": {
  19022. "type": "object",
  19023. "required": [
  19024. "userid"
  19025. ],
  19026. "properties": {
  19027. "biznature": {
  19028. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19029. "type": "integer"
  19030. },
  19031. "contactname": {
  19032. "description": "联系人",
  19033. "type": "string"
  19034. },
  19035. "customername": {
  19036. "description": "客户名称(企业名称)",
  19037. "type": "string"
  19038. },
  19039. "userid": {
  19040. "description": "用户ID",
  19041. "type": "integer"
  19042. },
  19043. "userinfotype": {
  19044. "description": "用户信息类型 - 1:个人 2:企业",
  19045. "type": "integer"
  19046. },
  19047. "userstatus": {
  19048. "description": "用户状态 - 1:正常 2:注销",
  19049. "type": "integer"
  19050. }
  19051. }
  19052. },
  19053. "erms3.SoptContractDetail": {
  19054. "type": "object",
  19055. "required": [
  19056. "deliverygoodsid",
  19057. "producttype",
  19058. "unitname",
  19059. "warehouseid",
  19060. "wrstandardid",
  19061. "wrstandardname"
  19062. ],
  19063. "properties": {
  19064. "deliverygoodsdesc": {
  19065. "description": "现货品种说明",
  19066. "type": "string"
  19067. },
  19068. "deliverygoodsid": {
  19069. "description": "现货品种ID",
  19070. "type": "integer"
  19071. },
  19072. "deliverygoodsname": {
  19073. "description": "现货品种名称",
  19074. "type": "string"
  19075. },
  19076. "pointdesc": {
  19077. "description": "点价描述",
  19078. "type": "string"
  19079. },
  19080. "producttype": {
  19081. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  19082. "type": "integer"
  19083. },
  19084. "producttypename": {
  19085. "description": "产品类型名称",
  19086. "type": "string"
  19087. },
  19088. "spotPointOrderVoList": {
  19089. "description": "点价列表",
  19090. "type": "array",
  19091. "items": {
  19092. "$ref": "#/definitions/erms3.SpotPointOrder"
  19093. }
  19094. },
  19095. "spotPriceOrderList": {
  19096. "description": "定价列表",
  19097. "type": "array",
  19098. "items": {
  19099. "$ref": "#/definitions/erms3.SpotPriceOrder"
  19100. }
  19101. },
  19102. "unitname": {
  19103. "description": "单位名称",
  19104. "type": "string"
  19105. },
  19106. "warehouseid": {
  19107. "description": "仓库ID",
  19108. "type": "integer"
  19109. },
  19110. "warehousename": {
  19111. "description": "仓库名称",
  19112. "type": "string"
  19113. },
  19114. "wrstandardid": {
  19115. "description": "交易标的ID",
  19116. "type": "integer"
  19117. },
  19118. "wrstandardname": {
  19119. "description": "交易标的名称",
  19120. "type": "string"
  19121. }
  19122. }
  19123. },
  19124. "erms3.SpotPointOrder": {
  19125. "type": "object",
  19126. "required": [
  19127. "basic",
  19128. "goodsid",
  19129. "qty"
  19130. ],
  19131. "properties": {
  19132. "basic": {
  19133. "description": "基差",
  19134. "type": "number"
  19135. },
  19136. "deliveryenddate": {
  19137. "description": "交收结束日期",
  19138. "type": "string"
  19139. },
  19140. "deliverystartdate": {
  19141. "description": "交收开始日期",
  19142. "type": "string"
  19143. },
  19144. "enddate": {
  19145. "description": "点价结束日期",
  19146. "type": "string"
  19147. },
  19148. "goodsid": {
  19149. "description": "商品ID",
  19150. "type": "integer"
  19151. },
  19152. "goodsname": {
  19153. "description": "商品名称",
  19154. "type": "string"
  19155. },
  19156. "qty": {
  19157. "description": "数量",
  19158. "type": "number"
  19159. },
  19160. "startdate": {
  19161. "description": "点价开始日期",
  19162. "type": "string"
  19163. }
  19164. }
  19165. },
  19166. "erms3.SpotPriceOrder": {
  19167. "type": "object",
  19168. "required": [
  19169. "amount",
  19170. "price",
  19171. "qty"
  19172. ],
  19173. "properties": {
  19174. "amount": {
  19175. "description": "金额",
  19176. "type": "number"
  19177. },
  19178. "deliveryenddate": {
  19179. "description": "交收结束日期",
  19180. "type": "string"
  19181. },
  19182. "deliverystartdate": {
  19183. "description": "交收开始日期",
  19184. "type": "string"
  19185. },
  19186. "price": {
  19187. "description": "价格",
  19188. "type": "number"
  19189. },
  19190. "qty": {
  19191. "description": "数量",
  19192. "type": "number"
  19193. }
  19194. }
  19195. },
  19196. "hsby.GetHsbyMyCountRsp": {
  19197. "type": "object",
  19198. "properties": {
  19199. "myCouponCount": {
  19200. "description": "我的优惠卷数量",
  19201. "type": "integer"
  19202. },
  19203. "myOrderDetailListingCount": {
  19204. "description": "我的订单求购中数量",
  19205. "type": "integer"
  19206. },
  19207. "myOrderDetailPreCount": {
  19208. "description": "我的订单抢购中数量",
  19209. "type": "integer"
  19210. },
  19211. "myPackageUnReceiveCount": {
  19212. "description": "我的包裹待收货数量",
  19213. "type": "integer"
  19214. },
  19215. "myPackageUnSendCount": {
  19216. "description": "我的包裹待发货数量",
  19217. "type": "integer"
  19218. },
  19219. "myPayOrderCount": {
  19220. "description": "我的订单待付款数量",
  19221. "type": "integer"
  19222. }
  19223. }
  19224. },
  19225. "hsby.QueryProvincesAndCitiesRsp": {
  19226. "type": "object",
  19227. "properties": {
  19228. "cities": {
  19229. "description": "市",
  19230. "type": "array",
  19231. "items": {
  19232. "$ref": "#/definitions/models.Division"
  19233. }
  19234. },
  19235. "province": {
  19236. "description": "省",
  19237. "$ref": "#/definitions/models.Division"
  19238. }
  19239. }
  19240. },
  19241. "models.Arearole": {
  19242. "type": "object",
  19243. "required": [
  19244. "roletype",
  19245. "userid"
  19246. ],
  19247. "properties": {
  19248. "createtime": {
  19249. "description": "创建时间",
  19250. "type": "string"
  19251. },
  19252. "creatorid": {
  19253. "description": "创建人ID",
  19254. "type": "integer"
  19255. },
  19256. "fromuserid": {
  19257. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  19258. "type": "integer"
  19259. },
  19260. "isreturnscore": {
  19261. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  19262. "type": "integer"
  19263. },
  19264. "modifierid": {
  19265. "description": "修改人ID",
  19266. "type": "integer"
  19267. },
  19268. "modifytime": {
  19269. "description": "修改时间",
  19270. "type": "string"
  19271. },
  19272. "orgtype": {
  19273. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  19274. "type": "integer"
  19275. },
  19276. "outuserid": {
  19277. "description": "外部账户[场外期权做市商]",
  19278. "type": "string"
  19279. },
  19280. "parentuserid": {
  19281. "description": "上级组织机构(组织机构)",
  19282. "type": "integer"
  19283. },
  19284. "roletype": {
  19285. "description": "角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店",
  19286. "type": "integer"
  19287. },
  19288. "rootuserid": {
  19289. "description": "顶级组织机构用户ID(组织机构)",
  19290. "type": "integer"
  19291. },
  19292. "shoppassword": {
  19293. "description": "商城店铺登陆密码(商城店铺角色使用)",
  19294. "type": "string"
  19295. },
  19296. "sublevelpath": {
  19297. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  19298. "type": "string"
  19299. },
  19300. "suborgtype": {
  19301. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  19302. "type": "integer"
  19303. },
  19304. "tradeaccountid": {
  19305. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  19306. "type": "integer"
  19307. },
  19308. "transurl": {
  19309. "description": "物流地址(物流机构)",
  19310. "type": "string"
  19311. },
  19312. "userid": {
  19313. "description": "机构用户ID其他做市关系,都设置为 1",
  19314. "type": "integer"
  19315. }
  19316. }
  19317. },
  19318. "models.Clientfixedadconfig": {
  19319. "type": "object",
  19320. "required": [
  19321. "adsort",
  19322. "adtype"
  19323. ],
  19324. "properties": {
  19325. "adsort": {
  19326. "description": "排序",
  19327. "type": "integer"
  19328. },
  19329. "adtype": {
  19330. "description": "广告位类型 - 1:新品抢购(HSBY)",
  19331. "type": "integer"
  19332. },
  19333. "areauserid": {
  19334. "description": "所属机构ID",
  19335. "type": "integer"
  19336. },
  19337. "createdate": {
  19338. "description": "创建时间",
  19339. "type": "string"
  19340. },
  19341. "creatorid": {
  19342. "description": "创建人",
  19343. "type": "integer"
  19344. },
  19345. "imagepath": {
  19346. "description": "图片",
  19347. "type": "string"
  19348. },
  19349. "isshow": {
  19350. "description": "是否展示 - 0:不展示 1:展示",
  19351. "type": "integer"
  19352. },
  19353. "modifierid": {
  19354. "description": "操作人",
  19355. "type": "integer"
  19356. },
  19357. "recsize": {
  19358. "description": "推荐尺寸",
  19359. "type": "string"
  19360. },
  19361. "title": {
  19362. "description": "标题",
  19363. "type": "string"
  19364. },
  19365. "updatedate": {
  19366. "description": "更新时间",
  19367. "type": "string"
  19368. },
  19369. "urlcontent": {
  19370. "description": "链接(地址或商品ID)",
  19371. "type": "string"
  19372. },
  19373. "urltype": {
  19374. "description": "链接类型 - 1:直接地址 2:商品ID",
  19375. "type": "integer"
  19376. }
  19377. }
  19378. },
  19379. "models.Division": {
  19380. "type": "object",
  19381. "required": [
  19382. "autoid",
  19383. "divisioncode"
  19384. ],
  19385. "properties": {
  19386. "autoid": {
  19387. "description": "自增ID",
  19388. "type": "integer"
  19389. },
  19390. "divisioncode": {
  19391. "description": "行政代码",
  19392. "type": "string"
  19393. },
  19394. "divisionlevel": {
  19395. "description": "行政级别",
  19396. "type": "string"
  19397. },
  19398. "divisionname": {
  19399. "description": "行政名称",
  19400. "type": "string"
  19401. },
  19402. "modifierid": {
  19403. "description": "修改人",
  19404. "type": "integer"
  19405. },
  19406. "modifytime": {
  19407. "description": "修改时间",
  19408. "type": "string"
  19409. },
  19410. "parentcode": {
  19411. "description": "上级行政代码",
  19412. "type": "string"
  19413. },
  19414. "pathname": {
  19415. "description": "路径名称",
  19416. "type": "string"
  19417. },
  19418. "postcode": {
  19419. "description": "邮政编码",
  19420. "type": "string"
  19421. },
  19422. "separablename": {
  19423. "description": "可拆分的全称",
  19424. "type": "string"
  19425. },
  19426. "shortcode": {
  19427. "description": "地区简码",
  19428. "type": "string"
  19429. }
  19430. }
  19431. },
  19432. "models.Enumdicitem": {
  19433. "type": "object",
  19434. "required": [
  19435. "autoid",
  19436. "enumdiccode",
  19437. "enumdicid",
  19438. "enumitemname"
  19439. ],
  19440. "properties": {
  19441. "autoid": {
  19442. "description": "自增ID",
  19443. "type": "integer"
  19444. },
  19445. "bankmappedvalue": {
  19446. "description": "银行服务对应值",
  19447. "type": "string"
  19448. },
  19449. "enumdiccode": {
  19450. "description": "所属枚举代码",
  19451. "type": "string"
  19452. },
  19453. "enumdicid": {
  19454. "description": "所属枚举ID",
  19455. "type": "integer"
  19456. },
  19457. "enumdicname": {
  19458. "description": "枚举项名称",
  19459. "type": "string"
  19460. },
  19461. "enumitemname": {
  19462. "description": "枚举项值",
  19463. "type": "integer"
  19464. },
  19465. "enumitemstatus": {
  19466. "description": "枚举项状态 - 1.启用 2.不启用",
  19467. "type": "integer"
  19468. },
  19469. "enumitemvalue": {
  19470. "description": "通用值 - [币种通用简写]",
  19471. "type": "string"
  19472. },
  19473. "param1": {
  19474. "description": "参数1[币种:币种小数位]",
  19475. "type": "string"
  19476. },
  19477. "param2": {
  19478. "description": "参数1[币种:币种显示单位]",
  19479. "type": "string"
  19480. },
  19481. "remark": {
  19482. "description": "备注",
  19483. "type": "string"
  19484. }
  19485. }
  19486. },
  19487. "models.Ermcp3AreaSpot": {
  19488. "type": "object",
  19489. "properties": {
  19490. "areauserid": {
  19491. "description": "所属机构",
  19492. "type": "integer"
  19493. },
  19494. "convertratio": {
  19495. "description": "套保系数",
  19496. "type": "number"
  19497. },
  19498. "decreaseqty": {
  19499. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19500. "type": "number"
  19501. },
  19502. "enumdicname": {
  19503. "description": "单位名称",
  19504. "type": "string"
  19505. },
  19506. "increaseqty": {
  19507. "description": "增加数量=销售计划数量+采购已定价数量",
  19508. "type": "number"
  19509. },
  19510. "oritoalspotqty": {
  19511. "description": "昨日数量",
  19512. "type": "number"
  19513. },
  19514. "totalspotqty": {
  19515. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  19516. "type": "number"
  19517. },
  19518. "unitid": {
  19519. "description": "现货商品单位id",
  19520. "type": "integer"
  19521. },
  19522. "updatetime": {
  19523. "description": "更新时间",
  19524. "type": "string"
  19525. },
  19526. "wrstandardcode": {
  19527. "description": "现货商品代码",
  19528. "type": "string"
  19529. },
  19530. "wrstandardid": {
  19531. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19532. "type": "integer"
  19533. },
  19534. "wrstandardname": {
  19535. "description": "现货商品名称",
  19536. "type": "string"
  19537. }
  19538. }
  19539. },
  19540. "models.Ermcp3AreaSpotDetail": {
  19541. "type": "object",
  19542. "properties": {
  19543. "contracttype": {
  19544. "description": "合同类型 1-采购 -1-销售",
  19545. "type": "integer"
  19546. },
  19547. "createtime": {
  19548. "description": "创建时间",
  19549. "type": "string"
  19550. },
  19551. "enumdicname": {
  19552. "description": "现货商品单位名称",
  19553. "type": "string"
  19554. },
  19555. "logtype": {
  19556. "description": "记录类型 1-套保 2-现货合同",
  19557. "type": "integer"
  19558. },
  19559. "qty": {
  19560. "description": "数量",
  19561. "type": "number"
  19562. },
  19563. "recordname": {
  19564. "description": "类型名称",
  19565. "type": "string"
  19566. },
  19567. "relatedid": {
  19568. "description": "套保计划ID/现货合同ID",
  19569. "type": "string"
  19570. },
  19571. "relatedno": {
  19572. "description": "编号",
  19573. "type": "string"
  19574. },
  19575. "strtime": {
  19576. "description": "时间",
  19577. "type": "string"
  19578. },
  19579. "wrstandardcode": {
  19580. "description": "现货商品代码",
  19581. "type": "string"
  19582. },
  19583. "wrstandardid": {
  19584. "description": "现货商品ID(SEQ_WRSTANDARD)",
  19585. "type": "integer"
  19586. },
  19587. "wrstandardname": {
  19588. "description": "现货商品名称",
  19589. "type": "string"
  19590. }
  19591. }
  19592. },
  19593. "models.Ermcp3AreaSpotPLReport": {
  19594. "type": "object",
  19595. "properties": {
  19596. "accountid": {
  19597. "description": "期货账户ID (作废, 默认为0)",
  19598. "type": "integer"
  19599. },
  19600. "accountname": {
  19601. "description": "机构名称",
  19602. "type": "string"
  19603. },
  19604. "actualpl": {
  19605. "description": "现货损益",
  19606. "type": "number"
  19607. },
  19608. "areauserid": {
  19609. "description": "所属机构\\交易用户ID",
  19610. "type": "integer"
  19611. },
  19612. "begindate": {
  19613. "description": "开始交易日",
  19614. "type": "string"
  19615. },
  19616. "biztype": {
  19617. "description": "业务类型 - 1:套保 2:套利",
  19618. "type": "integer"
  19619. },
  19620. "brandname": {
  19621. "description": "品牌名称",
  19622. "type": "string"
  19623. },
  19624. "curamount": {
  19625. "description": "期末额",
  19626. "type": "number"
  19627. },
  19628. "curaverageprice": {
  19629. "description": "期末均价",
  19630. "type": "number"
  19631. },
  19632. "curbuyamount": {
  19633. "description": "期末采购总额",
  19634. "type": "number"
  19635. },
  19636. "curbuyqty": {
  19637. "description": "期末采购总量",
  19638. "type": "number"
  19639. },
  19640. "curmarketvalue": {
  19641. "description": "参考市值(期末市值)",
  19642. "type": "number"
  19643. },
  19644. "curqty": {
  19645. "description": "期末量",
  19646. "type": "number"
  19647. },
  19648. "currencyid": {
  19649. "description": "结算币种ID【原值】",
  19650. "type": "integer"
  19651. },
  19652. "currencyname": {
  19653. "description": "币种名称",
  19654. "type": "string"
  19655. },
  19656. "cursellamount": {
  19657. "description": "期末销售总额",
  19658. "type": "number"
  19659. },
  19660. "cursellqty": {
  19661. "description": "期末销售总量",
  19662. "type": "number"
  19663. },
  19664. "curspotprice": {
  19665. "description": "参考市价(最新价)",
  19666. "type": "number"
  19667. },
  19668. "cycletime": {
  19669. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  19670. "type": "string"
  19671. },
  19672. "cycletype": {
  19673. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  19674. "type": "integer"
  19675. },
  19676. "deliverygoodscode": {
  19677. "description": "现货商品代码",
  19678. "type": "string"
  19679. },
  19680. "deliverygoodsid": {
  19681. "description": "现货品种ID",
  19682. "type": "integer"
  19683. },
  19684. "deliverygoodsname": {
  19685. "description": "现货商品名称",
  19686. "type": "string"
  19687. },
  19688. "enddate": {
  19689. "description": "结束交易日",
  19690. "type": "string"
  19691. },
  19692. "enumdicname": {
  19693. "description": "现货商品单位名称",
  19694. "type": "string"
  19695. },
  19696. "floatpl": {
  19697. "description": "浮动损益",
  19698. "type": "number"
  19699. },
  19700. "goodsunitid": {
  19701. "description": "现货商品单位id",
  19702. "type": "integer"
  19703. },
  19704. "oriamount": {
  19705. "description": "期初额",
  19706. "type": "number"
  19707. },
  19708. "oriaverageprice": {
  19709. "description": "期初均价",
  19710. "type": "number"
  19711. },
  19712. "oribuyamount": {
  19713. "description": "期初采购总额",
  19714. "type": "number"
  19715. },
  19716. "oribuyqty": {
  19717. "description": "期初采购总量",
  19718. "type": "number"
  19719. },
  19720. "oriqty": {
  19721. "description": "期初量",
  19722. "type": "number"
  19723. },
  19724. "orisellamount": {
  19725. "description": "期初销售总额",
  19726. "type": "number"
  19727. },
  19728. "orisellqty": {
  19729. "description": "期初销售总量",
  19730. "type": "number"
  19731. },
  19732. "reckondate": {
  19733. "description": "日照时期(yyyyMMdd)",
  19734. "type": "string"
  19735. },
  19736. "spotgoodsbrandid": {
  19737. "description": "现货品牌ID",
  19738. "type": "integer"
  19739. },
  19740. "todaybuyamount": {
  19741. "description": "今日采购额(今采购额)",
  19742. "type": "number"
  19743. },
  19744. "todaybuyaverageprice": {
  19745. "description": "今日采购均价",
  19746. "type": "number"
  19747. },
  19748. "todaybuyqty": {
  19749. "description": "今日采购量(今采购量)",
  19750. "type": "number"
  19751. },
  19752. "todayinqty": {
  19753. "description": "今日入库量(今入库量)",
  19754. "type": "number"
  19755. },
  19756. "todayoutqty": {
  19757. "description": "今日出库量(今出库量)",
  19758. "type": "number"
  19759. },
  19760. "todaysellamount": {
  19761. "description": "今日销售额(今销售额)",
  19762. "type": "number"
  19763. },
  19764. "todaysellaverageprice": {
  19765. "description": "今日销售均价",
  19766. "type": "number"
  19767. },
  19768. "todaysellqty": {
  19769. "description": "今日销售量(今销售量)",
  19770. "type": "number"
  19771. },
  19772. "unitid": {
  19773. "description": "品类单位id",
  19774. "type": "integer"
  19775. },
  19776. "unitidname": {
  19777. "description": "品类单位名称",
  19778. "type": "string"
  19779. },
  19780. "updatetime": {
  19781. "description": "更新时间",
  19782. "type": "string"
  19783. },
  19784. "wrfactortypeid": {
  19785. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  19786. "type": "integer"
  19787. },
  19788. "wrstandardcode": {
  19789. "description": "品类代码",
  19790. "type": "string"
  19791. },
  19792. "wrstandardid": {
  19793. "description": "现货品类ID",
  19794. "type": "integer"
  19795. },
  19796. "wrstandardname": {
  19797. "description": "品类名称",
  19798. "type": "string"
  19799. }
  19800. }
  19801. },
  19802. "models.Ermcp3AreaStock": {
  19803. "type": "object",
  19804. "required": [
  19805. "userid"
  19806. ],
  19807. "properties": {
  19808. "brandname": {
  19809. "description": "品牌名称",
  19810. "type": "string"
  19811. },
  19812. "curstock": {
  19813. "description": "期末库存量(今日量)",
  19814. "type": "number"
  19815. },
  19816. "deliverygoodscode": {
  19817. "description": "现货品种代码",
  19818. "type": "string"
  19819. },
  19820. "deliverygoodsid": {
  19821. "description": "现货品种id",
  19822. "type": "integer"
  19823. },
  19824. "deliverygoodsname": {
  19825. "description": "现货品种名称",
  19826. "type": "string"
  19827. },
  19828. "enumdicname": {
  19829. "description": "单位名称",
  19830. "type": "string"
  19831. },
  19832. "goodsunitid": {
  19833. "description": "现货商品单位id",
  19834. "type": "integer"
  19835. },
  19836. "oristock": {
  19837. "description": "期初库存量(昨日量)",
  19838. "type": "number"
  19839. },
  19840. "spotgoodsbrandid": {
  19841. "description": "现货品牌ID",
  19842. "type": "integer"
  19843. },
  19844. "todaybuyinqty": {
  19845. "description": "今日采购入库量",
  19846. "type": "number"
  19847. },
  19848. "todayproduceinqty": {
  19849. "description": "今日生产入库量",
  19850. "type": "number"
  19851. },
  19852. "todayproduceoutqty": {
  19853. "description": "今日生产出库量",
  19854. "type": "number"
  19855. },
  19856. "todayselloutqty": {
  19857. "description": "今日销售出库量",
  19858. "type": "number"
  19859. },
  19860. "unitid": {
  19861. "description": "单位id",
  19862. "type": "integer"
  19863. },
  19864. "updatetime": {
  19865. "description": "更新时间",
  19866. "type": "string"
  19867. },
  19868. "userid": {
  19869. "description": "机构ID",
  19870. "type": "integer"
  19871. },
  19872. "username": {
  19873. "description": "机构名称",
  19874. "type": "string"
  19875. },
  19876. "warehousecode": {
  19877. "description": "仓库代码",
  19878. "type": "string"
  19879. },
  19880. "warehouseinfoid": {
  19881. "description": "仓库ID",
  19882. "type": "string"
  19883. },
  19884. "warehousename": {
  19885. "description": "仓库名称",
  19886. "type": "string"
  19887. },
  19888. "warehousetype": {
  19889. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19890. "type": "integer"
  19891. },
  19892. "wrstandardcode": {
  19893. "description": "品类代码",
  19894. "type": "string"
  19895. },
  19896. "wrstandardid": {
  19897. "description": "品类ID",
  19898. "type": "string"
  19899. },
  19900. "wrstandardname": {
  19901. "description": "品类名称",
  19902. "type": "string"
  19903. }
  19904. }
  19905. },
  19906. "models.Ermcp3AreaStockApply": {
  19907. "type": "object",
  19908. "properties": {
  19909. "applyid": {
  19910. "description": "申请人",
  19911. "type": "integer"
  19912. },
  19913. "applyname": {
  19914. "description": "申请人名称",
  19915. "type": "string"
  19916. },
  19917. "applyremark": {
  19918. "description": "申请备注",
  19919. "type": "string"
  19920. },
  19921. "applysrc": {
  19922. "description": "申请来源 - 1:管理端 2:终端",
  19923. "type": "integer"
  19924. },
  19925. "applystatus": {
  19926. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19927. "type": "integer"
  19928. },
  19929. "applytime": {
  19930. "description": "申请时间",
  19931. "type": "string"
  19932. },
  19933. "auditid": {
  19934. "description": "审核人",
  19935. "type": "integer"
  19936. },
  19937. "auditname": {
  19938. "description": "审核人名称",
  19939. "type": "string"
  19940. },
  19941. "auditremark": {
  19942. "description": "审核备注",
  19943. "type": "string"
  19944. },
  19945. "auditsrc": {
  19946. "description": "审核来源 - 1:管理端 2:终端",
  19947. "type": "integer"
  19948. },
  19949. "audittime": {
  19950. "description": "审核时间",
  19951. "type": "string"
  19952. },
  19953. "audittradedate": {
  19954. "description": "审核交易日(yyyyMMdd)",
  19955. "type": "string"
  19956. },
  19957. "brandname": {
  19958. "description": "品牌名称",
  19959. "type": "string"
  19960. },
  19961. "buynickname": {
  19962. "description": "采购方昵称",
  19963. "type": "string"
  19964. },
  19965. "buyuserid": {
  19966. "description": "采购方userid",
  19967. "type": "integer"
  19968. },
  19969. "buyusername": {
  19970. "description": "采购方名称",
  19971. "type": "string"
  19972. },
  19973. "contractno": {
  19974. "description": "合同编号",
  19975. "type": "string"
  19976. },
  19977. "contractqty": {
  19978. "description": "合同量",
  19979. "type": "number"
  19980. },
  19981. "contracttype": {
  19982. "description": "现货合同类型 - 1:采购 -1:销售",
  19983. "type": "integer"
  19984. },
  19985. "deliverygoodscode": {
  19986. "description": "现货品种代码",
  19987. "type": "string"
  19988. },
  19989. "deliverygoodsid": {
  19990. "description": "现货品种id",
  19991. "type": "integer"
  19992. },
  19993. "deliverygoodsname": {
  19994. "description": "现货品种名称",
  19995. "type": "string"
  19996. },
  19997. "detailjson": {
  19998. "description": "明细数据",
  19999. "type": "string"
  20000. },
  20001. "enumdicname": {
  20002. "description": "现货商品单位名称",
  20003. "type": "string"
  20004. },
  20005. "inoutapplyid": {
  20006. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  20007. "type": "string"
  20008. },
  20009. "inouttype": {
  20010. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20011. "type": "integer"
  20012. },
  20013. "pricetype": {
  20014. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20015. "type": "integer"
  20016. },
  20017. "qty": {
  20018. "description": "数量",
  20019. "type": "number"
  20020. },
  20021. "sellnickname": {
  20022. "description": "销售方昵称",
  20023. "type": "string"
  20024. },
  20025. "selluserid": {
  20026. "description": "销售方userid",
  20027. "type": "integer"
  20028. },
  20029. "sellusername": {
  20030. "description": "销售方名称",
  20031. "type": "string"
  20032. },
  20033. "spotcontractid": {
  20034. "description": "关联现货合同ID",
  20035. "type": "string"
  20036. },
  20037. "spotgoodsbrandid": {
  20038. "description": "现货品牌ID",
  20039. "type": "integer"
  20040. },
  20041. "unitid": {
  20042. "description": "单位id",
  20043. "type": "integer"
  20044. },
  20045. "userid": {
  20046. "description": "机构ID",
  20047. "type": "integer"
  20048. },
  20049. "warehousecode": {
  20050. "description": "仓库代码",
  20051. "type": "string"
  20052. },
  20053. "warehouseinfoid": {
  20054. "description": "现货仓库ID",
  20055. "type": "string"
  20056. },
  20057. "warehousename": {
  20058. "description": "仓库名称",
  20059. "type": "string"
  20060. },
  20061. "warehousetype": {
  20062. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20063. "type": "integer"
  20064. },
  20065. "wrstandardcode": {
  20066. "description": "品类代码",
  20067. "type": "string"
  20068. },
  20069. "wrstandardid": {
  20070. "description": "品类ID",
  20071. "type": "integer"
  20072. },
  20073. "wrstandardname": {
  20074. "description": "品类名称",
  20075. "type": "string"
  20076. }
  20077. }
  20078. },
  20079. "models.Ermcp3AreaStockApplySum": {
  20080. "type": "object",
  20081. "properties": {
  20082. "brandname": {
  20083. "description": "品牌名称",
  20084. "type": "string"
  20085. },
  20086. "inouttype": {
  20087. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20088. "type": "integer"
  20089. },
  20090. "spotcontractid": {
  20091. "description": "关联现货合同ID",
  20092. "type": "string"
  20093. },
  20094. "spotgoodsbrandid": {
  20095. "description": "品牌id",
  20096. "type": "integer"
  20097. },
  20098. "totalqty": {
  20099. "description": "总数量",
  20100. "type": "number"
  20101. },
  20102. "wrstandardid": {
  20103. "description": "品类id",
  20104. "type": "integer"
  20105. },
  20106. "wrstandardname": {
  20107. "description": "品类名称",
  20108. "type": "string"
  20109. }
  20110. }
  20111. },
  20112. "models.Ermcp3AreaStockReportEx": {
  20113. "type": "object",
  20114. "properties": {
  20115. "begindate": {
  20116. "description": "开始交易日",
  20117. "type": "string"
  20118. },
  20119. "brandname": {
  20120. "description": "品牌名称",
  20121. "type": "string"
  20122. },
  20123. "curstock": {
  20124. "description": "期末库存量",
  20125. "type": "number"
  20126. },
  20127. "cycletime": {
  20128. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20129. "type": "string"
  20130. },
  20131. "cycletype": {
  20132. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20133. "type": "integer"
  20134. },
  20135. "deliverygoodscode": {
  20136. "description": "现货品种代码",
  20137. "type": "string"
  20138. },
  20139. "deliverygoodsid": {
  20140. "description": "现货品种id",
  20141. "type": "integer"
  20142. },
  20143. "deliverygoodsname": {
  20144. "description": "现货品种名称",
  20145. "type": "string"
  20146. },
  20147. "diffqty": {
  20148. "description": "库存变化量 = 期末 - 期初",
  20149. "type": "number"
  20150. },
  20151. "enddate": {
  20152. "description": "结束交易日",
  20153. "type": "string"
  20154. },
  20155. "enumdicname": {
  20156. "description": "单位名称",
  20157. "type": "string"
  20158. },
  20159. "goodsunitid": {
  20160. "description": "现货单位id",
  20161. "type": "integer"
  20162. },
  20163. "oristock": {
  20164. "description": "期初库存量",
  20165. "type": "number"
  20166. },
  20167. "reckondate": {
  20168. "description": "日照时期(yyyyMMdd)",
  20169. "type": "string"
  20170. },
  20171. "spotgoodsbrandid": {
  20172. "description": "现货品牌ID",
  20173. "type": "integer"
  20174. },
  20175. "todaybuyinqty": {
  20176. "description": "今采购入库量",
  20177. "type": "number"
  20178. },
  20179. "todayproduceinqty": {
  20180. "description": "今内部入库量",
  20181. "type": "number"
  20182. },
  20183. "todayproduceoutqty": {
  20184. "description": "今内部出库量",
  20185. "type": "number"
  20186. },
  20187. "todayselloutqty": {
  20188. "description": "今销售出库量",
  20189. "type": "number"
  20190. },
  20191. "unbuyinqty": {
  20192. "description": "采购未入库量(数据库未找到相关字段?)",
  20193. "type": "number"
  20194. },
  20195. "unitid": {
  20196. "description": "品类单位id",
  20197. "type": "integer"
  20198. },
  20199. "unselloutqty": {
  20200. "description": "销售未出库量(数据库未找到相关字段?)",
  20201. "type": "number"
  20202. },
  20203. "updatetime": {
  20204. "description": "更新时间",
  20205. "type": "string"
  20206. },
  20207. "userid": {
  20208. "description": "机构ID",
  20209. "type": "integer"
  20210. },
  20211. "username": {
  20212. "description": "机构名称",
  20213. "type": "string"
  20214. },
  20215. "warehousecode": {
  20216. "description": "仓库代码",
  20217. "type": "string"
  20218. },
  20219. "warehouseinfoid": {
  20220. "description": "仓库ID",
  20221. "type": "string"
  20222. },
  20223. "warehousename": {
  20224. "description": "仓库名称",
  20225. "type": "string"
  20226. },
  20227. "warehousetype": {
  20228. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20229. "type": "integer"
  20230. },
  20231. "wrstandardcode": {
  20232. "description": "品类代码",
  20233. "type": "string"
  20234. },
  20235. "wrstandardid": {
  20236. "description": "品类ID",
  20237. "type": "integer"
  20238. },
  20239. "wrstandardname": {
  20240. "description": "品类名称",
  20241. "type": "string"
  20242. }
  20243. }
  20244. },
  20245. "models.Ermcp3ArealSumPL": {
  20246. "type": "object",
  20247. "properties": {
  20248. "accountname": {
  20249. "description": "机构名称",
  20250. "type": "string"
  20251. },
  20252. "areauserid": {
  20253. "description": "所属机构\\交易用户ID",
  20254. "type": "integer"
  20255. },
  20256. "begindate": {
  20257. "description": "开始交易日",
  20258. "type": "string"
  20259. },
  20260. "currencyid": {
  20261. "description": "结算币种ID",
  20262. "type": "integer"
  20263. },
  20264. "currencyname": {
  20265. "description": "币种名称",
  20266. "type": "string"
  20267. },
  20268. "cycletime": {
  20269. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20270. "type": "string"
  20271. },
  20272. "cycletype": {
  20273. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20274. "type": "integer"
  20275. },
  20276. "enddate": {
  20277. "description": "结束交易日",
  20278. "type": "string"
  20279. },
  20280. "enumdicname": {
  20281. "description": "单位名称(套保品种)",
  20282. "type": "string"
  20283. },
  20284. "futureactualpl": {
  20285. "description": "期货损益",
  20286. "type": "number"
  20287. },
  20288. "futurefloatpl": {
  20289. "description": "期货浮动损益",
  20290. "type": "number"
  20291. },
  20292. "futurespotratio": {
  20293. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  20294. "type": "number"
  20295. },
  20296. "goodsunitid": {
  20297. "description": "套保品种单位id",
  20298. "type": "integer"
  20299. },
  20300. "hedgeexposurepl": {
  20301. "description": "套保敞口损益",
  20302. "type": "number"
  20303. },
  20304. "middlegoodscode": {
  20305. "description": "套保品种代码",
  20306. "type": "string"
  20307. },
  20308. "middlegoodsid": {
  20309. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20310. "type": "integer"
  20311. },
  20312. "middlegoodsname": {
  20313. "description": "套保品种名称",
  20314. "type": "string"
  20315. },
  20316. "reckondate": {
  20317. "description": "日照时期(yyyyMMdd)",
  20318. "type": "string"
  20319. },
  20320. "spotactualpl": {
  20321. "description": "现货损益",
  20322. "type": "number"
  20323. },
  20324. "spotfloatpl": {
  20325. "description": "现货浮动损益",
  20326. "type": "number"
  20327. },
  20328. "sumactualpl": {
  20329. "description": "实际损益 = (ActualPL + FutureActualPL)",
  20330. "type": "number"
  20331. },
  20332. "sumpl": {
  20333. "description": "总敞口损益 | 汇总损益",
  20334. "type": "number"
  20335. },
  20336. "totalfutureqty": {
  20337. "description": "期货头寸总量",
  20338. "type": "number"
  20339. },
  20340. "totalneedhedgeqty": {
  20341. "description": "应套保总量",
  20342. "type": "number"
  20343. },
  20344. "totalspotqty": {
  20345. "description": "现货头寸总量",
  20346. "type": "number"
  20347. },
  20348. "updatetime": {
  20349. "description": "更新时间",
  20350. "type": "string"
  20351. }
  20352. }
  20353. },
  20354. "models.Ermcp3Brand": {
  20355. "type": "object",
  20356. "properties": {
  20357. "areauserid": {
  20358. "description": "用户id",
  20359. "type": "integer"
  20360. },
  20361. "brandid": {
  20362. "description": "品牌id",
  20363. "type": "integer"
  20364. },
  20365. "brandname": {
  20366. "description": "品牌名称",
  20367. "type": "string"
  20368. },
  20369. "deliverygoodsid": {
  20370. "description": "品种ID",
  20371. "type": "integer"
  20372. },
  20373. "isvalid": {
  20374. "description": "是否有效",
  20375. "type": "integer"
  20376. }
  20377. }
  20378. },
  20379. "models.Ermcp3Contract": {
  20380. "type": "object",
  20381. "properties": {
  20382. "accountid": {
  20383. "description": "期货账户id",
  20384. "type": "string"
  20385. },
  20386. "amount": {
  20387. "description": "金额 [1:一口价、3:暂定价]",
  20388. "type": "number"
  20389. },
  20390. "attachment": {
  20391. "description": "附件",
  20392. "type": "string"
  20393. },
  20394. "auditremark": {
  20395. "description": "审核意见",
  20396. "type": "string"
  20397. },
  20398. "audittime": {
  20399. "description": "审核时间",
  20400. "type": "string"
  20401. },
  20402. "biztype": {
  20403. "description": "业务类型 1-套保 2-套利",
  20404. "type": "integer"
  20405. },
  20406. "brandname": {
  20407. "description": "品牌名称",
  20408. "type": "string"
  20409. },
  20410. "buynickname": {
  20411. "description": "销售方昵称",
  20412. "type": "string"
  20413. },
  20414. "buyuserid": {
  20415. "description": "采购方ID",
  20416. "type": "integer"
  20417. },
  20418. "buyusername": {
  20419. "description": "采购方名称",
  20420. "type": "string"
  20421. },
  20422. "contracctstatus": {
  20423. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20424. "type": "integer"
  20425. },
  20426. "contractmargin": {
  20427. "description": "合同保证金",
  20428. "type": "number"
  20429. },
  20430. "contractno": {
  20431. "description": "现货合同编号",
  20432. "type": "string"
  20433. },
  20434. "contracttype": {
  20435. "description": "现货合同类型 - 1:采购 -1:销售",
  20436. "type": "integer"
  20437. },
  20438. "convertfactor": {
  20439. "description": "标仓系数(品类)",
  20440. "type": "number"
  20441. },
  20442. "createtime": {
  20443. "description": "创建时间",
  20444. "type": "string"
  20445. },
  20446. "currencyid": {
  20447. "description": "币种id",
  20448. "type": "integer"
  20449. },
  20450. "currencyname": {
  20451. "description": "币种名称",
  20452. "type": "string"
  20453. },
  20454. "deliveryenddate": {
  20455. "description": "交收期(结束)",
  20456. "type": "string"
  20457. },
  20458. "deliverygoodscode": {
  20459. "description": "现货品种代码",
  20460. "type": "string"
  20461. },
  20462. "deliverygoodsid": {
  20463. "description": "现货品种ID",
  20464. "type": "integer"
  20465. },
  20466. "deliverygoodsname": {
  20467. "description": "现货品种名称",
  20468. "type": "string"
  20469. },
  20470. "deliverystartdate": {
  20471. "description": "交收期(开始)",
  20472. "type": "string"
  20473. },
  20474. "enddate": {
  20475. "description": "点价结束日期 [2:点价 3:暂定价]",
  20476. "type": "string"
  20477. },
  20478. "enumdicname": {
  20479. "description": "单位名称",
  20480. "type": "string"
  20481. },
  20482. "goodscode": {
  20483. "description": "点价合约代码",
  20484. "type": "string"
  20485. },
  20486. "goodsid": {
  20487. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  20488. "type": "integer"
  20489. },
  20490. "goodsname": {
  20491. "description": "点价商品名称",
  20492. "type": "string"
  20493. },
  20494. "margin": {
  20495. "description": "当前保证金",
  20496. "type": "number"
  20497. },
  20498. "meruserid": {
  20499. "description": "跟单员id",
  20500. "type": "integer"
  20501. },
  20502. "meruserlogincode": {
  20503. "description": "跟单员登录代码",
  20504. "type": "string"
  20505. },
  20506. "merusername": {
  20507. "description": "跟单员名称",
  20508. "type": "string"
  20509. },
  20510. "pointdesc": {
  20511. "description": "点价备注",
  20512. "type": "string"
  20513. },
  20514. "price": {
  20515. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  20516. "type": "number"
  20517. },
  20518. "pricemove": {
  20519. "description": "升贴水 [2:点价 3:暂定价]",
  20520. "type": "number"
  20521. },
  20522. "pricetype": {
  20523. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20524. "type": "integer"
  20525. },
  20526. "producttype": {
  20527. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20528. "type": "integer"
  20529. },
  20530. "qty": {
  20531. "description": "数量",
  20532. "type": "number"
  20533. },
  20534. "remark": {
  20535. "description": "备注",
  20536. "type": "string"
  20537. },
  20538. "saleuserid": {
  20539. "description": "业务员id",
  20540. "type": "integer"
  20541. },
  20542. "saleuserlogincode": {
  20543. "description": "业务员登录代码",
  20544. "type": "string"
  20545. },
  20546. "saleusername": {
  20547. "description": "业务员名称",
  20548. "type": "string"
  20549. },
  20550. "sellnickname": {
  20551. "description": "采购方昵称",
  20552. "type": "string"
  20553. },
  20554. "selluserid": {
  20555. "description": "销售方ID",
  20556. "type": "integer"
  20557. },
  20558. "sellusername": {
  20559. "description": "销售方名称",
  20560. "type": "string"
  20561. },
  20562. "spotcontractid": {
  20563. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  20564. "type": "string"
  20565. },
  20566. "spotgoodsbrandid": {
  20567. "description": "现货品牌ID(DGFactoryItem表的ID)",
  20568. "type": "integer"
  20569. },
  20570. "spotgoodsdesc": {
  20571. "description": "商品型号",
  20572. "type": "string"
  20573. },
  20574. "startdate": {
  20575. "description": "点价开始日期 [2:点价 3:暂定价]",
  20576. "type": "string"
  20577. },
  20578. "subjectid": {
  20579. "description": "交易主体ID",
  20580. "type": "integer"
  20581. },
  20582. "subjectname": {
  20583. "description": "交易主体名称",
  20584. "type": "string"
  20585. },
  20586. "tradeuserid": {
  20587. "description": "交易员id",
  20588. "type": "integer"
  20589. },
  20590. "tradeuserlogincode": {
  20591. "description": "交易员登录代码",
  20592. "type": "string"
  20593. },
  20594. "tradeusername": {
  20595. "description": "交易员名称",
  20596. "type": "string"
  20597. },
  20598. "unitid": {
  20599. "description": "单位id(取品类上的单位id)",
  20600. "type": "integer"
  20601. },
  20602. "updatetime": {
  20603. "description": "更新时间",
  20604. "type": "string"
  20605. },
  20606. "userid": {
  20607. "description": "所属机构ID",
  20608. "type": "integer"
  20609. },
  20610. "vatrate": {
  20611. "description": "增值税率",
  20612. "type": "number"
  20613. },
  20614. "wrstandardcode": {
  20615. "description": "品类代码",
  20616. "type": "string"
  20617. },
  20618. "wrstandardid": {
  20619. "description": "品类ID",
  20620. "type": "integer"
  20621. },
  20622. "wrstandardname": {
  20623. "description": "品类名称",
  20624. "type": "string"
  20625. }
  20626. }
  20627. },
  20628. "models.Ermcp3ExposureContractDetail": {
  20629. "type": "object",
  20630. "properties": {
  20631. "biztype": {
  20632. "description": "业务类型 1-套保 2-套利",
  20633. "type": "integer"
  20634. },
  20635. "brandname": {
  20636. "description": "品牌名称",
  20637. "type": "string"
  20638. },
  20639. "buyuserid": {
  20640. "description": "采购方id",
  20641. "type": "integer"
  20642. },
  20643. "buyusername": {
  20644. "description": "采购方名称",
  20645. "type": "string"
  20646. },
  20647. "contractno": {
  20648. "description": "合同编号",
  20649. "type": "string"
  20650. },
  20651. "contracttype": {
  20652. "description": "现货合同类型 - 1:采购 -1:销售",
  20653. "type": "integer"
  20654. },
  20655. "convertfactor": {
  20656. "description": "标仓系数",
  20657. "type": "number"
  20658. },
  20659. "convertratio": {
  20660. "description": "折算系数(套保品种)",
  20661. "type": "number"
  20662. },
  20663. "curqty": {
  20664. "description": "今定价量",
  20665. "type": "number"
  20666. },
  20667. "deliverygoodscode": {
  20668. "description": "现货品种代码",
  20669. "type": "string"
  20670. },
  20671. "deliverygoodsid": {
  20672. "description": "现货品种id",
  20673. "type": "integer"
  20674. },
  20675. "deliverygoodsname": {
  20676. "description": "现货品种名称",
  20677. "type": "string"
  20678. },
  20679. "diffhedgeqty": {
  20680. "description": "套保变动量",
  20681. "type": "number"
  20682. },
  20683. "diffneedhedgeqty": {
  20684. "description": "应套保变动量",
  20685. "type": "number"
  20686. },
  20687. "diffqty": {
  20688. "description": "套保品种今变动量",
  20689. "type": "number"
  20690. },
  20691. "enumdicname": {
  20692. "description": "单位名称",
  20693. "type": "string"
  20694. },
  20695. "mgunitname": {
  20696. "description": "套保品种单位名称",
  20697. "type": "string"
  20698. },
  20699. "middlegoodscode": {
  20700. "description": "套保品种代码",
  20701. "type": "string"
  20702. },
  20703. "middlegoodsid": {
  20704. "description": "套保品种id",
  20705. "type": "integer"
  20706. },
  20707. "middlegoodsname": {
  20708. "description": "套保品种名称",
  20709. "type": "string"
  20710. },
  20711. "needarbitrageratio": {
  20712. "description": "应套利比例",
  20713. "type": "number"
  20714. },
  20715. "needhedgeratio": {
  20716. "description": "应套保比例",
  20717. "type": "number"
  20718. },
  20719. "pricedqty": {
  20720. "description": "已定价量",
  20721. "type": "number"
  20722. },
  20723. "qty": {
  20724. "description": "合同量",
  20725. "type": "number"
  20726. },
  20727. "selluserid": {
  20728. "description": "销售方id",
  20729. "type": "integer"
  20730. },
  20731. "sellusername": {
  20732. "description": "销售方名称",
  20733. "type": "string"
  20734. },
  20735. "spotcontractid": {
  20736. "description": "合同id",
  20737. "type": "string"
  20738. },
  20739. "todaypricedqty": {
  20740. "description": "今定价量",
  20741. "type": "number"
  20742. },
  20743. "tradedate": {
  20744. "description": "交易日",
  20745. "type": "string"
  20746. },
  20747. "unitid": {
  20748. "description": "品类单位id",
  20749. "type": "integer"
  20750. },
  20751. "userid": {
  20752. "description": "机构id",
  20753. "type": "integer"
  20754. },
  20755. "username": {
  20756. "description": "交易用户",
  20757. "type": "string"
  20758. },
  20759. "wrstandardcode": {
  20760. "description": "现货商品代码",
  20761. "type": "string"
  20762. },
  20763. "wrstandardid": {
  20764. "description": "现货商品id",
  20765. "type": "integer"
  20766. },
  20767. "wrstandardname": {
  20768. "description": "现货商品名称",
  20769. "type": "string"
  20770. }
  20771. }
  20772. },
  20773. "models.Ermcp3ExposureDetail": {
  20774. "type": "object",
  20775. "properties": {
  20776. "areauserid": {
  20777. "description": "机构ID",
  20778. "type": "integer"
  20779. },
  20780. "changeQty": {
  20781. "description": "套保变动量",
  20782. "type": "number"
  20783. },
  20784. "contracttype": {
  20785. "description": "现货合同类型 - 1:采购 -1:销售",
  20786. "type": "integer"
  20787. },
  20788. "convertfactor": {
  20789. "description": "标仓系数",
  20790. "type": "number"
  20791. },
  20792. "convertratio": {
  20793. "description": "折算系数",
  20794. "type": "number"
  20795. },
  20796. "createtime": {
  20797. "description": "时间",
  20798. "type": "string"
  20799. },
  20800. "enumdicname": {
  20801. "description": "现货商品单位名称",
  20802. "type": "string"
  20803. },
  20804. "logtype": {
  20805. "description": "类型 - 1:套保计划 2:现货合同",
  20806. "type": "integer"
  20807. },
  20808. "mgunitid": {
  20809. "description": "套保品种单位id",
  20810. "type": "integer"
  20811. },
  20812. "mgunitidname": {
  20813. "description": "套保品种单位名称",
  20814. "type": "string"
  20815. },
  20816. "middlegoodsId": {
  20817. "description": "套保商品id",
  20818. "type": "integer"
  20819. },
  20820. "middlegoodscode": {
  20821. "description": "套保商品代码",
  20822. "type": "string"
  20823. },
  20824. "middlegoodsname": {
  20825. "description": "套保商品名称",
  20826. "type": "string"
  20827. },
  20828. "qty": {
  20829. "description": "数量",
  20830. "type": "number"
  20831. },
  20832. "relateNo": {
  20833. "description": "现货合同/套保计划编号",
  20834. "type": "string"
  20835. },
  20836. "unitid": {
  20837. "description": "现货商品单位id",
  20838. "type": "integer"
  20839. },
  20840. "wrstandardcode": {
  20841. "description": "现货商品代码",
  20842. "type": "string"
  20843. },
  20844. "wrstandardid": {
  20845. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20846. "type": "integer"
  20847. },
  20848. "wrstandardname": {
  20849. "description": "现货商品名称",
  20850. "type": "string"
  20851. }
  20852. }
  20853. },
  20854. "models.Ermcp3ExposureFutuDetail": {
  20855. "type": "object",
  20856. "properties": {
  20857. "accountid": {
  20858. "description": "交易账户id",
  20859. "type": "integer"
  20860. },
  20861. "accountname": {
  20862. "description": "交易账户",
  20863. "type": "string"
  20864. },
  20865. "begindate": {
  20866. "description": "开始交易日",
  20867. "type": "string"
  20868. },
  20869. "buyorsell": {
  20870. "description": "方向 0-买 1-卖",
  20871. "type": "integer"
  20872. },
  20873. "diffmgqty": {
  20874. "description": "套保品种今变化量",
  20875. "type": "number"
  20876. },
  20877. "diffneedqty": {
  20878. "description": "应套保总量变化量",
  20879. "type": "number"
  20880. },
  20881. "difftradeqty": {
  20882. "description": "交易品种今变化量",
  20883. "type": "number"
  20884. },
  20885. "enddate": {
  20886. "description": "结束交易日",
  20887. "type": "string"
  20888. },
  20889. "enumdicname": {
  20890. "description": "单位名称",
  20891. "type": "string"
  20892. },
  20893. "goodscode": {
  20894. "description": "商品代码",
  20895. "type": "string"
  20896. },
  20897. "goodsid": {
  20898. "description": "商品id",
  20899. "type": "integer"
  20900. },
  20901. "goodsname": {
  20902. "description": "商品名称",
  20903. "type": "string"
  20904. },
  20905. "holdqty": {
  20906. "description": "期末持仓量",
  20907. "type": "number"
  20908. },
  20909. "middlegoodscode": {
  20910. "description": "套保商品代码",
  20911. "type": "string"
  20912. },
  20913. "middlegoodsid": {
  20914. "description": "套保商品id",
  20915. "type": "integer"
  20916. },
  20917. "middlegoodsname": {
  20918. "description": "套保商品名称",
  20919. "type": "string"
  20920. },
  20921. "oriholdqty": {
  20922. "description": "期初持仓量",
  20923. "type": "number"
  20924. },
  20925. "todaycloseqty": {
  20926. "description": "今平仓量",
  20927. "type": "number"
  20928. },
  20929. "todayopenqty": {
  20930. "description": "今开仓量",
  20931. "type": "number"
  20932. },
  20933. "tradedate": {
  20934. "description": "交易日",
  20935. "type": "string"
  20936. },
  20937. "username": {
  20938. "description": "用户名称(交易用户)",
  20939. "type": "string"
  20940. }
  20941. }
  20942. },
  20943. "models.Ermcp3ExposureHedgeplanDetail": {
  20944. "type": "object",
  20945. "properties": {
  20946. "biztype": {
  20947. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  20948. "type": "integer"
  20949. },
  20950. "changqty": {
  20951. "description": "应套保总量变化量",
  20952. "type": "number"
  20953. },
  20954. "contracttype": {
  20955. "description": "计划类型 - 1:采购 -1:销售",
  20956. "type": "integer"
  20957. },
  20958. "convertratio": {
  20959. "description": "折算系数(套保品种)",
  20960. "type": "number"
  20961. },
  20962. "deliverygoodscode": {
  20963. "description": "现货商品代码",
  20964. "type": "string"
  20965. },
  20966. "deliverygoodsid": {
  20967. "description": "现货商品id",
  20968. "type": "integer"
  20969. },
  20970. "deliverygoodsname": {
  20971. "description": "现货商吕名称",
  20972. "type": "string"
  20973. },
  20974. "dgunitid": {
  20975. "description": "现货商品单位id",
  20976. "type": "integer"
  20977. },
  20978. "dgunitidname": {
  20979. "description": "单位名称(现货商品)",
  20980. "type": "string"
  20981. },
  20982. "diffqty": {
  20983. "description": "套保品种今变动量",
  20984. "type": "number"
  20985. },
  20986. "enumdicname": {
  20987. "description": "单位名称(品类)",
  20988. "type": "string"
  20989. },
  20990. "hedgeplanid": {
  20991. "description": "套保计划id",
  20992. "type": "string"
  20993. },
  20994. "hedgeplanno": {
  20995. "description": "套保计划名称",
  20996. "type": "string"
  20997. },
  20998. "hedgeplanstatus": {
  20999. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21000. "type": "integer"
  21001. },
  21002. "mgunitidname": {
  21003. "description": "单位名称(套保商品)",
  21004. "type": "string"
  21005. },
  21006. "middlegoodscode": {
  21007. "description": "套保品种代码",
  21008. "type": "string"
  21009. },
  21010. "middlegoodsid": {
  21011. "description": "套保品种id",
  21012. "type": "integer"
  21013. },
  21014. "middlegoodsname": {
  21015. "description": "套保品种名称",
  21016. "type": "string"
  21017. },
  21018. "needarbitrageratio": {
  21019. "description": "应套利比例",
  21020. "type": "number"
  21021. },
  21022. "needhedgeratio": {
  21023. "description": "应套保比例",
  21024. "type": "number"
  21025. },
  21026. "pricedqty": {
  21027. "description": "已定价量",
  21028. "type": "number"
  21029. },
  21030. "qty": {
  21031. "description": "合同量",
  21032. "type": "number"
  21033. },
  21034. "tradedate": {
  21035. "description": "交易日(登记日)",
  21036. "type": "string"
  21037. },
  21038. "unitid": {
  21039. "description": "品类单位id",
  21040. "type": "integer"
  21041. },
  21042. "userid": {
  21043. "description": "机构id",
  21044. "type": "integer"
  21045. },
  21046. "wrstandardcode": {
  21047. "description": "品类代码",
  21048. "type": "string"
  21049. },
  21050. "wrstandardid": {
  21051. "description": "品类id",
  21052. "type": "integer"
  21053. },
  21054. "wrstandardname": {
  21055. "description": "品类名称",
  21056. "type": "string"
  21057. }
  21058. }
  21059. },
  21060. "models.Ermcp3ExposureParamChLog": {
  21061. "type": "object",
  21062. "properties": {
  21063. "accountid": {
  21064. "description": "期货账户ID (作废, 默认为0)",
  21065. "type": "integer"
  21066. },
  21067. "aftervalue": {
  21068. "description": "应套保\\套利量变更后(调整后应套保总量)",
  21069. "type": "number"
  21070. },
  21071. "areauserid": {
  21072. "description": "所属机构\\交易用户ID",
  21073. "type": "integer"
  21074. },
  21075. "beforevalue": {
  21076. "description": "应套保\\套利量变更前(调整前应套保总量)",
  21077. "type": "number"
  21078. },
  21079. "begindate": {
  21080. "description": "开始交易日",
  21081. "type": "string"
  21082. },
  21083. "changelogtype": {
  21084. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  21085. "type": "integer"
  21086. },
  21087. "curvalue": {
  21088. "description": "当前套保\\套利量(套保总量|套利总量)",
  21089. "type": "number"
  21090. },
  21091. "diffvalue": {
  21092. "description": "应套保总量变化量",
  21093. "type": "number"
  21094. },
  21095. "enddate": {
  21096. "description": "结束交易日",
  21097. "type": "string"
  21098. },
  21099. "logdatetime": {
  21100. "description": "流水日期",
  21101. "type": "string"
  21102. },
  21103. "logid": {
  21104. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  21105. "type": "string"
  21106. },
  21107. "middlegoodscode": {
  21108. "description": "套保品种代码",
  21109. "type": "string"
  21110. },
  21111. "middlegoodsid": {
  21112. "description": "套保品种",
  21113. "type": "integer"
  21114. },
  21115. "middlegoodsname": {
  21116. "description": "套保品种名称",
  21117. "type": "string"
  21118. },
  21119. "paramaftervalue": {
  21120. "description": "参数变更后(调整后参数值)",
  21121. "type": "number"
  21122. },
  21123. "parambeforevalue": {
  21124. "description": "参数变更前(调整前参数值)",
  21125. "type": "number"
  21126. },
  21127. "tradedate": {
  21128. "description": "交易日(yyyyMMdd)",
  21129. "type": "string"
  21130. }
  21131. }
  21132. },
  21133. "models.Ermcp3ExpourseReport": {
  21134. "type": "object",
  21135. "properties": {
  21136. "accountid": {
  21137. "description": "期货账户ID (作废, 默认为0)",
  21138. "type": "integer"
  21139. },
  21140. "accountname": {
  21141. "description": "机构名称",
  21142. "type": "string"
  21143. },
  21144. "arbitrageqty": {
  21145. "description": "套利量",
  21146. "type": "number"
  21147. },
  21148. "areauserid": {
  21149. "description": "所属机构\\交易用户ID",
  21150. "type": "integer"
  21151. },
  21152. "begindate": {
  21153. "description": "开始交易日",
  21154. "type": "string"
  21155. },
  21156. "buyfutureqty": {
  21157. "description": "买入期货数量",
  21158. "type": "number"
  21159. },
  21160. "buyplanqty": {
  21161. "description": "采购计划数量",
  21162. "type": "number"
  21163. },
  21164. "buypricedqty": {
  21165. "description": "采购合同已定价数量",
  21166. "type": "number"
  21167. },
  21168. "cycletime": {
  21169. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21170. "type": "string"
  21171. },
  21172. "cycletype": {
  21173. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21174. "type": "integer"
  21175. },
  21176. "diffexposure": {
  21177. "description": "变动量(套保敞口)",
  21178. "type": "number"
  21179. },
  21180. "difffutuqty": {
  21181. "description": "变动量(期货)",
  21182. "type": "number"
  21183. },
  21184. "diffhedgeqty": {
  21185. "description": "变动量(现货应套保总量)",
  21186. "type": "number"
  21187. },
  21188. "diffmgqtya": {
  21189. "description": "套保变动量",
  21190. "type": "number"
  21191. },
  21192. "diffmgqtyb": {
  21193. "description": "套利变动量",
  21194. "type": "number"
  21195. },
  21196. "diffqty": {
  21197. "description": "变动量(总敞口)",
  21198. "type": "number"
  21199. },
  21200. "diffspotqty": {
  21201. "description": "变动量(现货)",
  21202. "type": "number"
  21203. },
  21204. "enddate": {
  21205. "description": "结束交易日",
  21206. "type": "string"
  21207. },
  21208. "enumdicname": {
  21209. "description": "单位名称",
  21210. "type": "string"
  21211. },
  21212. "hedgeqty": {
  21213. "description": "套保量",
  21214. "type": "number"
  21215. },
  21216. "mgneedhedgeratio": {
  21217. "description": "套保比例(套保品的)",
  21218. "type": "number"
  21219. },
  21220. "middlegoodsid": {
  21221. "description": "套保品种ID",
  21222. "type": "integer"
  21223. },
  21224. "middlegoodsname": {
  21225. "description": "套保商品名称",
  21226. "type": "string"
  21227. },
  21228. "middlgoodscode": {
  21229. "description": "套保商品代码",
  21230. "type": "string"
  21231. },
  21232. "needarbitrageqty": {
  21233. "description": "应套利量",
  21234. "type": "number"
  21235. },
  21236. "needarbitrageratio": {
  21237. "description": "套利比例(套保品的)",
  21238. "type": "number"
  21239. },
  21240. "needhedgeexposoure": {
  21241. "description": "应套保敞口(套保敞口)",
  21242. "type": "number"
  21243. },
  21244. "needhedgeqty": {
  21245. "description": "应套保量",
  21246. "type": "number"
  21247. },
  21248. "needhedgeratio": {
  21249. "description": "应套保敞口比例",
  21250. "type": "number"
  21251. },
  21252. "oriarbitrageqty": {
  21253. "description": "期初套利量",
  21254. "type": "number"
  21255. },
  21256. "oribuyfutureqty": {
  21257. "description": "期初买入期货数量",
  21258. "type": "number"
  21259. },
  21260. "oribuyplanqty": {
  21261. "description": "期初采购计划数量",
  21262. "type": "number"
  21263. },
  21264. "oribuypricedqty": {
  21265. "description": "期初采购合同已定价数量",
  21266. "type": "number"
  21267. },
  21268. "orihedgeqty": {
  21269. "description": "期初套保量",
  21270. "type": "number"
  21271. },
  21272. "orineedarbitrageqty": {
  21273. "description": "期初应套利量",
  21274. "type": "number"
  21275. },
  21276. "orineedhedgeexposoure": {
  21277. "description": "期初应套保敞口",
  21278. "type": "number"
  21279. },
  21280. "orineedhedgeqty": {
  21281. "description": "期初应套保量",
  21282. "type": "number"
  21283. },
  21284. "orisellfutureqty": {
  21285. "description": "期初卖出期货数量",
  21286. "type": "number"
  21287. },
  21288. "orisellplanqty": {
  21289. "description": "期初销售计划数量",
  21290. "type": "number"
  21291. },
  21292. "orisellpricedqty": {
  21293. "description": "期初销售合同已定价数量",
  21294. "type": "number"
  21295. },
  21296. "oritotalexposure": {
  21297. "description": "期初实时总敞口",
  21298. "type": "number"
  21299. },
  21300. "oritotalfutureqty": {
  21301. "description": "期初期货头寸总量",
  21302. "type": "number"
  21303. },
  21304. "oritotalneedhedgeqty": {
  21305. "description": "期初应套保总量",
  21306. "type": "number"
  21307. },
  21308. "oritotalspotqty": {
  21309. "description": "期初现货头寸总量",
  21310. "type": "number"
  21311. },
  21312. "reckondate": {
  21313. "description": "日照时期(yyyyMMdd)",
  21314. "type": "string"
  21315. },
  21316. "sellfutureqty": {
  21317. "description": "卖出期货数量",
  21318. "type": "number"
  21319. },
  21320. "sellplanqty": {
  21321. "description": "销售计划数量",
  21322. "type": "number"
  21323. },
  21324. "sellpricedqty": {
  21325. "description": "销售合同已定价数量",
  21326. "type": "number"
  21327. },
  21328. "totalexposure": {
  21329. "description": "实时总敞口(总敞口)",
  21330. "type": "number"
  21331. },
  21332. "totalfutureqty": {
  21333. "description": "期货头寸总量(期货总量)",
  21334. "type": "number"
  21335. },
  21336. "totalhedgeratio": {
  21337. "description": "敞口比例",
  21338. "type": "number"
  21339. },
  21340. "totalneedhedgeqty": {
  21341. "description": "应套保总量(现货应套保总量)",
  21342. "type": "number"
  21343. },
  21344. "totalspotqty": {
  21345. "description": "现货头寸总量",
  21346. "type": "number"
  21347. },
  21348. "unitid": {
  21349. "description": "单位id",
  21350. "type": "integer"
  21351. },
  21352. "updatetime": {
  21353. "description": "更新时间",
  21354. "type": "string"
  21355. }
  21356. }
  21357. },
  21358. "models.Ermcp3FinanceReport": {
  21359. "type": "object",
  21360. "properties": {
  21361. "accountname": {
  21362. "description": "机构名称",
  21363. "type": "string"
  21364. },
  21365. "areauserid": {
  21366. "description": "所属机构\\交易用户ID",
  21367. "type": "integer"
  21368. },
  21369. "begindate": {
  21370. "description": "开始交易日",
  21371. "type": "string"
  21372. },
  21373. "biztype": {
  21374. "description": "业务类型 - 1:套保 2:套利",
  21375. "type": "integer"
  21376. },
  21377. "brandname": {
  21378. "description": "品牌名称",
  21379. "type": "string"
  21380. },
  21381. "buypreinvoicedamount": {
  21382. "description": "采购预收票额(预收票额)",
  21383. "type": "number"
  21384. },
  21385. "buyprepaidamount": {
  21386. "description": "采购预付款额(预付货款额)",
  21387. "type": "number"
  21388. },
  21389. "buytodayinvoiceamount": {
  21390. "description": "采购今收票额(今收票额)",
  21391. "type": "number"
  21392. },
  21393. "buytodayrefundamount": {
  21394. "description": "采购今收退款额(今收退款额)",
  21395. "type": "number"
  21396. },
  21397. "buytodaysettleamount": {
  21398. "description": "采购今付款额(今付货款额)",
  21399. "type": "number"
  21400. },
  21401. "buyuninvoicedamount": {
  21402. "description": "采购应收票额(应收票额)",
  21403. "type": "number"
  21404. },
  21405. "buyunpaidamount": {
  21406. "description": "采购应付款额(应付货款额)",
  21407. "type": "number"
  21408. },
  21409. "currencyid": {
  21410. "description": "结算币种ID",
  21411. "type": "integer"
  21412. },
  21413. "currencyname": {
  21414. "description": "币种名称",
  21415. "type": "string"
  21416. },
  21417. "cycletime": {
  21418. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21419. "type": "string"
  21420. },
  21421. "cycletype": {
  21422. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21423. "type": "integer"
  21424. },
  21425. "deliverygoodscode": {
  21426. "description": "现货品种代码",
  21427. "type": "string"
  21428. },
  21429. "deliverygoodsid": {
  21430. "description": "现货品种ID",
  21431. "type": "integer"
  21432. },
  21433. "deliverygoodsname": {
  21434. "description": "现货品种名称",
  21435. "type": "string"
  21436. },
  21437. "enddate": {
  21438. "description": "结束交易日",
  21439. "type": "string"
  21440. },
  21441. "reckondate": {
  21442. "description": "日照时期(yyyyMMdd)",
  21443. "type": "string"
  21444. },
  21445. "sellpreinvoicedamount": {
  21446. "description": "销售预开票额(预开票额)",
  21447. "type": "number"
  21448. },
  21449. "sellprepaidamount": {
  21450. "description": "销售预收款额(预收货款额)",
  21451. "type": "number"
  21452. },
  21453. "selltodayinvoiceamount": {
  21454. "description": "销售今开票额(今开票额)",
  21455. "type": "number"
  21456. },
  21457. "selltodayrefundamount": {
  21458. "description": "销售今付退款额(今付退款额)",
  21459. "type": "number"
  21460. },
  21461. "selltodaysettleamount": {
  21462. "description": "销售今收款额(今收货款额)",
  21463. "type": "number"
  21464. },
  21465. "selluninvoicedamount": {
  21466. "description": "销售应开票额(应开票额)",
  21467. "type": "number"
  21468. },
  21469. "sellunpaidamount": {
  21470. "description": "销售应收款额(应收货款额)",
  21471. "type": "number"
  21472. },
  21473. "spotgoodsbrandid": {
  21474. "description": "现货品牌ID",
  21475. "type": "integer"
  21476. },
  21477. "todaypaysum": {
  21478. "description": "今付款合计",
  21479. "type": "number"
  21480. },
  21481. "todayreceivesum": {
  21482. "description": "今收款合计",
  21483. "type": "number"
  21484. },
  21485. "updatetime": {
  21486. "description": "更新时间",
  21487. "type": "string"
  21488. },
  21489. "wrfactortypeid": {
  21490. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  21491. "type": "integer"
  21492. },
  21493. "wrstandardcode": {
  21494. "description": "品类代码",
  21495. "type": "string"
  21496. },
  21497. "wrstandardid": {
  21498. "description": "现货商品ID",
  21499. "type": "integer"
  21500. },
  21501. "wrstandardname": {
  21502. "description": "品类名称",
  21503. "type": "string"
  21504. }
  21505. }
  21506. },
  21507. "models.Ermcp3GoodsGroup": {
  21508. "type": "object",
  21509. "required": [
  21510. "areauserid"
  21511. ],
  21512. "properties": {
  21513. "agreeunit": {
  21514. "description": "合约单位",
  21515. "type": "number"
  21516. },
  21517. "areauserid": {
  21518. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  21519. "type": "integer"
  21520. },
  21521. "canshort": {
  21522. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21523. "type": "integer"
  21524. },
  21525. "closepricemode": {
  21526. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21527. "type": "integer"
  21528. },
  21529. "createtime": {
  21530. "description": "创建时间",
  21531. "type": "string"
  21532. },
  21533. "creatorid": {
  21534. "description": "创建人",
  21535. "type": "integer"
  21536. },
  21537. "currencyid": {
  21538. "description": "报价货币ID",
  21539. "type": "integer"
  21540. },
  21541. "decimalplace": {
  21542. "description": "报价小数位",
  21543. "type": "integer"
  21544. },
  21545. "enumdicname": {
  21546. "description": "单位名称",
  21547. "type": "string"
  21548. },
  21549. "exchangefullname": {
  21550. "description": "交易所全称",
  21551. "type": "string"
  21552. },
  21553. "excludecfg": {
  21554. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  21555. "type": "integer"
  21556. },
  21557. "exexchangecode": {
  21558. "description": "交易所代码",
  21559. "type": "string"
  21560. },
  21561. "exexchangeid": {
  21562. "description": "外部交易所ID[通道交易]",
  21563. "type": "integer"
  21564. },
  21565. "exexchangename": {
  21566. "description": "交易所名称",
  21567. "type": "string"
  21568. },
  21569. "goodsgroupid": {
  21570. "description": "商品组ID(自增ID)",
  21571. "type": "integer"
  21572. },
  21573. "goodsgroupname": {
  21574. "description": "商品组名称",
  21575. "type": "string"
  21576. },
  21577. "goodsgroupstatus": {
  21578. "description": "商品组状态 - 1:正常 2:注销",
  21579. "type": "integer"
  21580. },
  21581. "goodunitid": {
  21582. "description": "报价单位ID",
  21583. "type": "integer"
  21584. },
  21585. "groupcategroyid": {
  21586. "description": "品种分类ID",
  21587. "type": "integer"
  21588. },
  21589. "innerdealmode": {
  21590. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21591. "type": "integer"
  21592. },
  21593. "marketid": {
  21594. "description": "所属市场ID",
  21595. "type": "integer"
  21596. },
  21597. "modifierid": {
  21598. "description": "修改人",
  21599. "type": "integer"
  21600. },
  21601. "modifytime": {
  21602. "description": "修改时间",
  21603. "type": "string"
  21604. },
  21605. "outerdealmode": {
  21606. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21607. "type": "integer"
  21608. },
  21609. "outergroupcode": {
  21610. "description": "外部商品组代码[通道交易]",
  21611. "type": "string"
  21612. },
  21613. "quoteminunit": {
  21614. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21615. "type": "integer"
  21616. },
  21617. "quotesourcegroupid": {
  21618. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21619. "type": "integer"
  21620. },
  21621. "syncgoodsqty": {
  21622. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21623. "type": "integer"
  21624. }
  21625. }
  21626. },
  21627. "models.Ermcp3HedgePlan": {
  21628. "type": "object",
  21629. "properties": {
  21630. "accountid": {
  21631. "description": "资金账号",
  21632. "type": "integer"
  21633. },
  21634. "areauserid": {
  21635. "description": "用户ID",
  21636. "type": "integer"
  21637. },
  21638. "auditid": {
  21639. "description": "审核id",
  21640. "type": "integer"
  21641. },
  21642. "auditname": {
  21643. "description": "审核人名称",
  21644. "type": "string"
  21645. },
  21646. "auditremark": {
  21647. "description": "审核备注",
  21648. "type": "string"
  21649. },
  21650. "auditsrc": {
  21651. "description": "审核来源 1-管理端 2-终端",
  21652. "type": "integer"
  21653. },
  21654. "audittime": {
  21655. "description": "审核时间",
  21656. "type": "string"
  21657. },
  21658. "contracttype": {
  21659. "description": "计划类型 - 1:采购 -1:销售",
  21660. "type": "integer"
  21661. },
  21662. "convertfactor": {
  21663. "description": "标仓系数",
  21664. "type": "number"
  21665. },
  21666. "createtime": {
  21667. "description": "创建时间",
  21668. "type": "string"
  21669. },
  21670. "currencyid": {
  21671. "description": "币种id",
  21672. "type": "integer"
  21673. },
  21674. "currencyname": {
  21675. "description": "币种名称",
  21676. "type": "string"
  21677. },
  21678. "deliverygoodscode": {
  21679. "description": "现货品种代码",
  21680. "type": "string"
  21681. },
  21682. "deliverygoodsid": {
  21683. "description": "现货品种ID",
  21684. "type": "integer"
  21685. },
  21686. "deliverygoodsname": {
  21687. "description": "现货品种名称",
  21688. "type": "string"
  21689. },
  21690. "enumdicname": {
  21691. "description": "单位名称(现货商品)",
  21692. "type": "string"
  21693. },
  21694. "hedgeplanid": {
  21695. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  21696. "type": "string"
  21697. },
  21698. "hedgeplanno": {
  21699. "description": "套保计划编号(名称)",
  21700. "type": "string"
  21701. },
  21702. "hedgeplanstatus": {
  21703. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21704. "type": "integer"
  21705. },
  21706. "planqty": {
  21707. "description": "计划数量",
  21708. "type": "number"
  21709. },
  21710. "plantime": {
  21711. "description": "计划时间",
  21712. "type": "string"
  21713. },
  21714. "producttype": {
  21715. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21716. "type": "integer"
  21717. },
  21718. "remark": {
  21719. "description": "备注",
  21720. "type": "string"
  21721. },
  21722. "spotgoodsdesc": {
  21723. "description": "商品型号",
  21724. "type": "string"
  21725. },
  21726. "taaccountname": {
  21727. "description": "资金账号名称",
  21728. "type": "string"
  21729. },
  21730. "tradeuserid": {
  21731. "description": "交易用户id",
  21732. "type": "integer"
  21733. },
  21734. "tradeusername": {
  21735. "description": "交易用户名称",
  21736. "type": "string"
  21737. },
  21738. "unitid": {
  21739. "description": "单位id(现货商品)",
  21740. "type": "integer"
  21741. },
  21742. "updatetime": {
  21743. "description": "更新时间",
  21744. "type": "string"
  21745. },
  21746. "vatrate": {
  21747. "description": "增值税率",
  21748. "type": "number"
  21749. },
  21750. "wrstandardcode": {
  21751. "description": "品类代码",
  21752. "type": "string"
  21753. },
  21754. "wrstandardid": {
  21755. "description": "品类id",
  21756. "type": "integer"
  21757. },
  21758. "wrstandardname": {
  21759. "description": "品类名称",
  21760. "type": "string"
  21761. },
  21762. "wrunitid": {
  21763. "description": "品类单位id",
  21764. "type": "integer"
  21765. },
  21766. "wrunitidame": {
  21767. "description": "品类单位名称",
  21768. "type": "string"
  21769. }
  21770. }
  21771. },
  21772. "models.Ermcp3InnerTradeLink": {
  21773. "type": "object",
  21774. "properties": {
  21775. "accountid": {
  21776. "description": "期货账号代码 | 资金账号ID",
  21777. "type": "integer"
  21778. },
  21779. "buyorsell": {
  21780. "description": "方向 - 0:买 1:卖",
  21781. "type": "integer"
  21782. },
  21783. "channelbuildtype": {
  21784. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21785. "type": "integer"
  21786. },
  21787. "currencyid": {
  21788. "description": "币种id",
  21789. "type": "integer"
  21790. },
  21791. "currencyname": {
  21792. "description": "结算币种 名称",
  21793. "type": "string"
  21794. },
  21795. "goodscode": {
  21796. "description": "商品代码",
  21797. "type": "string"
  21798. },
  21799. "goodsid": {
  21800. "description": "商品ID",
  21801. "type": "integer"
  21802. },
  21803. "goodsname": {
  21804. "description": "商品名称",
  21805. "type": "string"
  21806. },
  21807. "outtradeid": {
  21808. "description": "外部成交单号",
  21809. "type": "string"
  21810. },
  21811. "taname": {
  21812. "description": "期货账户名称",
  21813. "type": "string"
  21814. },
  21815. "tradeid": {
  21816. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21817. "type": "string"
  21818. },
  21819. "tradeprice": {
  21820. "description": "成交价格",
  21821. "type": "number"
  21822. },
  21823. "tradeqty": {
  21824. "description": "期货成交数量",
  21825. "type": "integer"
  21826. },
  21827. "tradetime": {
  21828. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  21829. "type": "string"
  21830. },
  21831. "username": {
  21832. "description": "用户名称",
  21833. "type": "string"
  21834. }
  21835. }
  21836. },
  21837. "models.Ermcp3OutTradeLink": {
  21838. "type": "object",
  21839. "properties": {
  21840. "buyorsell": {
  21841. "description": "买卖方向 - 0:买 1:卖",
  21842. "type": "integer"
  21843. },
  21844. "channelbuildtype": {
  21845. "description": "开平标志- 0:无 1:建仓 2:平仓",
  21846. "type": "integer"
  21847. },
  21848. "currencyname": {
  21849. "description": "币种名称",
  21850. "type": "string"
  21851. },
  21852. "exexchangecode": {
  21853. "description": "交易所代码",
  21854. "type": "string"
  21855. },
  21856. "exexchangename": {
  21857. "description": "交易所名称",
  21858. "type": "string"
  21859. },
  21860. "goodscode": {
  21861. "description": "合约代码",
  21862. "type": "string"
  21863. },
  21864. "goodsid": {
  21865. "description": "合约id",
  21866. "type": "integer"
  21867. },
  21868. "goodsname": {
  21869. "description": "合约名称",
  21870. "type": "string"
  21871. },
  21872. "hasinnerorder": {
  21873. "description": "是否有内部单关联 - 0:无 1:有",
  21874. "type": "integer"
  21875. },
  21876. "hedgeaccountcode": {
  21877. "description": "外部账号 | 对冲账号",
  21878. "type": "string"
  21879. },
  21880. "outtradeid": {
  21881. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21882. "type": "string"
  21883. },
  21884. "tradeprice": {
  21885. "description": "成交价格",
  21886. "type": "number"
  21887. },
  21888. "tradeqty": {
  21889. "description": "成交数量",
  21890. "type": "integer"
  21891. },
  21892. "tradetime": {
  21893. "description": "成交时间",
  21894. "type": "string"
  21895. }
  21896. }
  21897. },
  21898. "models.Ermcp3PaAreaAuditCfg": {
  21899. "type": "object",
  21900. "properties": {
  21901. "areauserid": {
  21902. "description": "用户ID",
  21903. "type": "integer"
  21904. },
  21905. "buyinauditflag": {
  21906. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  21907. "type": "integer"
  21908. },
  21909. "costratioauditflag": {
  21910. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  21911. "type": "integer"
  21912. },
  21913. "customerauditflag": {
  21914. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  21915. "type": "integer"
  21916. },
  21917. "deliveryauditflag": {
  21918. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  21919. "type": "integer"
  21920. },
  21921. "invoiceauditflag": {
  21922. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  21923. "type": "integer"
  21924. },
  21925. "mgneedhedgeratioauditflag": {
  21926. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  21927. "type": "integer"
  21928. },
  21929. "moneyauditflag": {
  21930. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  21931. "type": "integer"
  21932. },
  21933. "operatorid": {
  21934. "description": "操作人",
  21935. "type": "integer"
  21936. },
  21937. "operatorsrc": {
  21938. "description": "操作来源 - 1:管理端 2:终端",
  21939. "type": "integer"
  21940. },
  21941. "pointpriceauditflag": {
  21942. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  21943. "type": "integer"
  21944. },
  21945. "produceinauditflag": {
  21946. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  21947. "type": "integer"
  21948. },
  21949. "produceoutauditflag": {
  21950. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  21951. "type": "integer"
  21952. },
  21953. "selloutauditflag": {
  21954. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  21955. "type": "integer"
  21956. },
  21957. "sgconvertratioauditflag": {
  21958. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  21959. "type": "integer"
  21960. },
  21961. "sgvtaratioauditflag": {
  21962. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  21963. "type": "integer"
  21964. },
  21965. "spotcontractauditflag": {
  21966. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  21967. "type": "integer"
  21968. },
  21969. "updatetime": {
  21970. "description": "更新时间",
  21971. "type": "string"
  21972. }
  21973. }
  21974. },
  21975. "models.Ermcp3PaAreaSubject": {
  21976. "type": "object",
  21977. "properties": {
  21978. "areauserid": {
  21979. "description": "所属机构",
  21980. "type": "integer"
  21981. },
  21982. "canmodify": {
  21983. "description": "是否可修改 - 0:否 1:是",
  21984. "type": "integer"
  21985. },
  21986. "createtime": {
  21987. "description": "创建时间",
  21988. "type": "string"
  21989. },
  21990. "creatorid": {
  21991. "description": "创建人ID",
  21992. "type": "string"
  21993. },
  21994. "creatorsrc": {
  21995. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  21996. "type": "integer"
  21997. },
  21998. "modifierid": {
  21999. "description": "修改人",
  22000. "type": "string"
  22001. },
  22002. "modifiersrc": {
  22003. "description": "修改人来源 - 1:管理端 2:终端",
  22004. "type": "integer"
  22005. },
  22006. "modifytime": {
  22007. "description": "修改时间",
  22008. "type": "string"
  22009. },
  22010. "parentsubjectid": {
  22011. "description": "上级主体ID",
  22012. "type": "string"
  22013. },
  22014. "remark": {
  22015. "description": "备注",
  22016. "type": "string"
  22017. },
  22018. "subjectid": {
  22019. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  22020. "type": "integer"
  22021. },
  22022. "subjectname": {
  22023. "description": "主体名称",
  22024. "type": "string"
  22025. },
  22026. "subjectstatus": {
  22027. "description": "主体状态 - 1:正常 2: 停用",
  22028. "type": "integer"
  22029. },
  22030. "subjecttype": {
  22031. "description": "主体类型 - 1:交易主体 2:业务部门",
  22032. "type": "integer"
  22033. }
  22034. }
  22035. },
  22036. "models.Ermcp3PaTradeLink": {
  22037. "type": "object",
  22038. "properties": {
  22039. "accountid": {
  22040. "description": "期货账户代码 | 账号ID",
  22041. "type": "integer"
  22042. },
  22043. "agreeunit": {
  22044. "description": "合约乘数",
  22045. "type": "number"
  22046. },
  22047. "buyorsell": {
  22048. "description": "方向 - 0:买 1:卖",
  22049. "type": "integer"
  22050. },
  22051. "channelbuildtype": {
  22052. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22053. "type": "integer"
  22054. },
  22055. "charge": {
  22056. "description": "手续费",
  22057. "type": "number"
  22058. },
  22059. "closepl": {
  22060. "description": "平仓盈亏",
  22061. "type": "number"
  22062. },
  22063. "closetype": {
  22064. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  22065. "type": "integer"
  22066. },
  22067. "convertratio": {
  22068. "description": "折算系数",
  22069. "type": "number"
  22070. },
  22071. "enumdicname": {
  22072. "description": "单位名称",
  22073. "type": "string"
  22074. },
  22075. "executeprice": {
  22076. "description": "执行价 [期权]",
  22077. "type": "integer"
  22078. },
  22079. "goodscode": {
  22080. "description": "合约代码",
  22081. "type": "string"
  22082. },
  22083. "goodsgroupid": {
  22084. "description": "对冲品种ID[期货合约商品组ID]",
  22085. "type": "integer"
  22086. },
  22087. "goodsid": {
  22088. "description": "商品ID",
  22089. "type": "integer"
  22090. },
  22091. "goodsname": {
  22092. "description": "合约名称",
  22093. "type": "string"
  22094. },
  22095. "goodunitid": {
  22096. "description": "单位id",
  22097. "type": "integer"
  22098. },
  22099. "hedgeflag": {
  22100. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  22101. "type": "integer"
  22102. },
  22103. "marketid": {
  22104. "description": "市场ID",
  22105. "type": "integer"
  22106. },
  22107. "middlegoodsid": {
  22108. "description": "套保品种ID",
  22109. "type": "integer"
  22110. },
  22111. "middlegoodsqty": {
  22112. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  22113. "type": "number"
  22114. },
  22115. "optioncode": {
  22116. "description": "期权代码 [期权]",
  22117. "type": "string"
  22118. },
  22119. "ordertype": {
  22120. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  22121. "type": "integer"
  22122. },
  22123. "ordertypename": {
  22124. "description": "订单类型",
  22125. "type": "string"
  22126. },
  22127. "parentaccountid": {
  22128. "description": "所属母账户",
  22129. "type": "integer"
  22130. },
  22131. "premium": {
  22132. "description": "权利金 [期权]",
  22133. "type": "number"
  22134. },
  22135. "relatedlot": {
  22136. "description": "已关联数量(已关联数量手) | db:关联手数",
  22137. "type": "number"
  22138. },
  22139. "relatedouttradeid": {
  22140. "description": "关联外部成交单ID",
  22141. "type": "string"
  22142. },
  22143. "relatedqty": {
  22144. "description": "关联数量",
  22145. "type": "number"
  22146. },
  22147. "spotcontractid": {
  22148. "description": "现货合同ID [4:套期保值\\10\\11]",
  22149. "type": "string"
  22150. },
  22151. "taname": {
  22152. "description": "期货账户名称",
  22153. "type": "string"
  22154. },
  22155. "tradeamount": {
  22156. "description": "成交金额(账户)",
  22157. "type": "number"
  22158. },
  22159. "tradedate": {
  22160. "description": "交易日(yyyyMMdd)",
  22161. "type": "string"
  22162. },
  22163. "tradeid": {
  22164. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22165. "type": "string"
  22166. },
  22167. "tradelot": {
  22168. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  22169. "type": "integer"
  22170. },
  22171. "tradeprice": {
  22172. "description": "成交价格",
  22173. "type": "number"
  22174. },
  22175. "tradetime": {
  22176. "description": "时间 | db:成交时间",
  22177. "type": "string"
  22178. },
  22179. "tradetype": {
  22180. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  22181. "type": "integer"
  22182. },
  22183. "userid": {
  22184. "description": "所属机构 - 所属母账户的UserID",
  22185. "type": "string"
  22186. },
  22187. "username": {
  22188. "description": "用户名称",
  22189. "type": "string"
  22190. }
  22191. }
  22192. },
  22193. "models.Ermcp3ParamChangeApp": {
  22194. "type": "object",
  22195. "properties": {
  22196. "aftervalue": {
  22197. "description": "变更后",
  22198. "type": "number"
  22199. },
  22200. "applicationid": {
  22201. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  22202. "type": "string"
  22203. },
  22204. "applyid": {
  22205. "description": "申请人",
  22206. "type": "string"
  22207. },
  22208. "applyname": {
  22209. "description": "申请人名称(代码)",
  22210. "type": "string"
  22211. },
  22212. "applyremark": {
  22213. "description": "申请备注",
  22214. "type": "string"
  22215. },
  22216. "applysrc": {
  22217. "description": "申请来源 - 1:管理端 2:终端",
  22218. "type": "integer"
  22219. },
  22220. "applystatus": {
  22221. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22222. "type": "integer"
  22223. },
  22224. "applytime": {
  22225. "description": "申请时间",
  22226. "type": "string"
  22227. },
  22228. "areauserid": {
  22229. "description": "所属机构用户ID",
  22230. "type": "integer"
  22231. },
  22232. "auditid": {
  22233. "description": "审核人",
  22234. "type": "string"
  22235. },
  22236. "auditname": {
  22237. "description": "审核人名称(代码)",
  22238. "type": "string"
  22239. },
  22240. "auditremark": {
  22241. "description": "审核备注",
  22242. "type": "string"
  22243. },
  22244. "auditsrc": {
  22245. "description": "审核来源 - 1:管理端 2:终端",
  22246. "type": "integer"
  22247. },
  22248. "audittime": {
  22249. "description": "审核时间",
  22250. "type": "string"
  22251. },
  22252. "audittradedate": {
  22253. "description": "审核交易日(yyyyMMdd)",
  22254. "type": "string"
  22255. },
  22256. "beforevalue": {
  22257. "description": "变更前",
  22258. "type": "number"
  22259. },
  22260. "deliverygoodscode": {
  22261. "description": "品种代码",
  22262. "type": "string"
  22263. },
  22264. "deliverygoodsid": {
  22265. "description": "品种id",
  22266. "type": "integer"
  22267. },
  22268. "deliverygoodsname": {
  22269. "description": "品种名称",
  22270. "type": "string"
  22271. },
  22272. "middlegoodscode": {
  22273. "description": "套保品种代码",
  22274. "type": "string"
  22275. },
  22276. "middlegoodsid": {
  22277. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  22278. "type": "integer"
  22279. },
  22280. "middlegoodsname": {
  22281. "description": "套保品种名称",
  22282. "type": "string"
  22283. },
  22284. "operatetype": {
  22285. "description": "操作类型 - 1:新增 2:修改",
  22286. "type": "integer"
  22287. },
  22288. "paramchangetype": {
  22289. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  22290. "type": "integer"
  22291. },
  22292. "wrstandardcode": {
  22293. "description": "现货商品代码",
  22294. "type": "string"
  22295. },
  22296. "wrstandardid": {
  22297. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  22298. "type": "integer"
  22299. },
  22300. "wrstandardname": {
  22301. "description": "现货商品名称",
  22302. "type": "string"
  22303. }
  22304. }
  22305. },
  22306. "models.Ermcp3RootUserAccount": {
  22307. "type": "object",
  22308. "properties": {
  22309. "accountname": {
  22310. "description": "账户名称(机构名称)",
  22311. "type": "string"
  22312. },
  22313. "accountstatus": {
  22314. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22315. "type": "integer"
  22316. },
  22317. "applysrc": {
  22318. "description": "申请来源 - 1:管理端 2:终端",
  22319. "type": "integer"
  22320. },
  22321. "auditremark": {
  22322. "description": "审核备注",
  22323. "type": "string"
  22324. },
  22325. "auditsrc": {
  22326. "description": "审核来源 - 1:管理端 2:终端",
  22327. "type": "integer"
  22328. },
  22329. "audittime": {
  22330. "description": "审核时间",
  22331. "type": "string"
  22332. },
  22333. "audituserid": {
  22334. "description": "审核人",
  22335. "type": "integer"
  22336. },
  22337. "broker": {
  22338. "description": "所属经纪人ID",
  22339. "type": "integer"
  22340. },
  22341. "canceltime": {
  22342. "description": "销户时间",
  22343. "type": "string"
  22344. },
  22345. "canceluserid": {
  22346. "description": "销户人",
  22347. "type": "integer"
  22348. },
  22349. "canrecommend": {
  22350. "description": "是否可推荐 - 0:不可 1;可",
  22351. "type": "integer"
  22352. },
  22353. "createtime": {
  22354. "description": "创建时间",
  22355. "type": "string"
  22356. },
  22357. "creatorid": {
  22358. "description": "创建人",
  22359. "type": "integer"
  22360. },
  22361. "hasauth": {
  22362. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22363. "type": "integer"
  22364. },
  22365. "isanonymous": {
  22366. "description": "是否匿名下单 - 0:否 1:是",
  22367. "type": "integer"
  22368. },
  22369. "maxinvestornum": {
  22370. "description": "最大用户数(经纪会员下投资者个数)",
  22371. "type": "integer"
  22372. },
  22373. "memberuserid": {
  22374. "description": "所属会员ID",
  22375. "type": "integer"
  22376. },
  22377. "modifierid": {
  22378. "description": "修改人",
  22379. "type": "integer"
  22380. },
  22381. "modifyremark": {
  22382. "description": "变更备注",
  22383. "type": "string"
  22384. },
  22385. "modifystatus": {
  22386. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22387. "type": "integer"
  22388. },
  22389. "modifytime": {
  22390. "description": "修改时间",
  22391. "type": "string"
  22392. },
  22393. "nickname": {
  22394. "description": "昵称",
  22395. "type": "string"
  22396. },
  22397. "parenttopuser": {
  22398. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22399. "type": "string"
  22400. },
  22401. "parentuserid": {
  22402. "description": "所属机构ID",
  22403. "type": "integer"
  22404. },
  22405. "reckonaccountid": {
  22406. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22407. "type": "integer"
  22408. },
  22409. "refercount": {
  22410. "description": "推荐总人数",
  22411. "type": "integer"
  22412. },
  22413. "refereeuserid": {
  22414. "description": "推荐人ID",
  22415. "type": "integer"
  22416. },
  22417. "refernum": {
  22418. "description": "推荐码",
  22419. "type": "string"
  22420. },
  22421. "rootuserid": {
  22422. "description": "根用户ID",
  22423. "type": "integer"
  22424. },
  22425. "subaccountlevel": {
  22426. "description": "子账户层数",
  22427. "type": "integer"
  22428. },
  22429. "subarealevelpath": {
  22430. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22431. "type": "string"
  22432. },
  22433. "userid": {
  22434. "description": "用户ID",
  22435. "type": "integer"
  22436. },
  22437. "usertype": {
  22438. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22439. "type": "integer"
  22440. }
  22441. }
  22442. },
  22443. "models.Ermcp3SCMiddleGoods": {
  22444. "type": "object",
  22445. "properties": {
  22446. "biztype": {
  22447. "description": "业务类型 1:套保 2:套利",
  22448. "type": "integer"
  22449. },
  22450. "contractno": {
  22451. "description": "合同编号",
  22452. "type": "string"
  22453. },
  22454. "contracttype": {
  22455. "description": "合同类型 1:采购 -1:销售",
  22456. "type": "integer"
  22457. },
  22458. "convertratio": {
  22459. "description": "折算系数",
  22460. "type": "number"
  22461. },
  22462. "customername": {
  22463. "description": "对手手名称",
  22464. "type": "string"
  22465. },
  22466. "customeruserid": {
  22467. "description": "对手id",
  22468. "type": "integer"
  22469. },
  22470. "deliverygoodscode": {
  22471. "description": "现货品种代码",
  22472. "type": "string"
  22473. },
  22474. "deliverygoodsid": {
  22475. "description": "现货品种ID",
  22476. "type": "integer"
  22477. },
  22478. "deliverygoodsname": {
  22479. "description": "现货品种名称",
  22480. "type": "string"
  22481. },
  22482. "enumdicname": {
  22483. "description": "现货单位名称",
  22484. "type": "string"
  22485. },
  22486. "middlegoodsid": {
  22487. "description": "套保品种ID",
  22488. "type": "integer"
  22489. },
  22490. "middlegoodspricedqty3": {
  22491. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  22492. "type": "number"
  22493. },
  22494. "needhedgeratio": {
  22495. "description": "套保比例",
  22496. "type": "number"
  22497. },
  22498. "pricedqty": {
  22499. "description": "已定价量",
  22500. "type": "number"
  22501. },
  22502. "relatedmiddlegoodsqty": {
  22503. "description": "已关联量(套保品种)(期货)",
  22504. "type": "number"
  22505. },
  22506. "spotcontractid": {
  22507. "description": "合同编号",
  22508. "type": "string"
  22509. },
  22510. "unitid": {
  22511. "description": "现货单位id",
  22512. "type": "integer"
  22513. },
  22514. "userid": {
  22515. "description": "用户id",
  22516. "type": "integer"
  22517. },
  22518. "vatrate": {
  22519. "description": "增值税率",
  22520. "type": "number"
  22521. },
  22522. "wrstandardcode": {
  22523. "description": "现货商品代码",
  22524. "type": "string"
  22525. },
  22526. "wrstandardid": {
  22527. "description": "现货商品id",
  22528. "type": "integer"
  22529. },
  22530. "wrstandardname": {
  22531. "description": "现货商品名称",
  22532. "type": "string"
  22533. }
  22534. }
  22535. },
  22536. "models.Ermcp3SCMiddleGoodsReport": {
  22537. "type": "object",
  22538. "properties": {
  22539. "begindate": {
  22540. "description": "开始交易日",
  22541. "type": "string"
  22542. },
  22543. "contractno": {
  22544. "description": "合同编号",
  22545. "type": "string"
  22546. },
  22547. "contracttype": {
  22548. "description": "合同类型 1:采购 -1:销售",
  22549. "type": "integer"
  22550. },
  22551. "convertratio": {
  22552. "description": "折算系数",
  22553. "type": "number"
  22554. },
  22555. "cycletime": {
  22556. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22557. "type": "string"
  22558. },
  22559. "cycletype": {
  22560. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22561. "type": "integer"
  22562. },
  22563. "deliverygoodscode": {
  22564. "description": "品种代码",
  22565. "type": "string"
  22566. },
  22567. "deliverygoodsid": {
  22568. "description": "现货品种ID",
  22569. "type": "integer"
  22570. },
  22571. "deliverygoodsname": {
  22572. "description": "品种名称",
  22573. "type": "string"
  22574. },
  22575. "diffprice": {
  22576. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  22577. "type": "number"
  22578. },
  22579. "diffqty": {
  22580. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  22581. "type": "number"
  22582. },
  22583. "enddate": {
  22584. "description": "结束交易日",
  22585. "type": "string"
  22586. },
  22587. "hedgeplanqty": {
  22588. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  22589. "type": "number"
  22590. },
  22591. "matchname": {
  22592. "description": "交易对手方(个人:用户名称 企业:简称)",
  22593. "type": "string"
  22594. },
  22595. "middlegoodscode": {
  22596. "description": "套保品种代码",
  22597. "type": "string"
  22598. },
  22599. "middlegoodsid": {
  22600. "description": "套保品种ID",
  22601. "type": "integer"
  22602. },
  22603. "middlegoodsname": {
  22604. "description": "套保品种名称",
  22605. "type": "string"
  22606. },
  22607. "middlegoodspricedqty": {
  22608. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  22609. "type": "number"
  22610. },
  22611. "middlegoodspricedqty2": {
  22612. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  22613. "type": "number"
  22614. },
  22615. "middlegoodspricedqty3": {
  22616. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  22617. "type": "number"
  22618. },
  22619. "needhedgeratio": {
  22620. "description": "套保系数",
  22621. "type": "number"
  22622. },
  22623. "pricedamount": {
  22624. "description": "已定价额(现货)",
  22625. "type": "number"
  22626. },
  22627. "pricedamount2": {
  22628. "description": "已定价额(现货-基价额)",
  22629. "type": "number"
  22630. },
  22631. "pricedqty": {
  22632. "description": "已定价量(现货)",
  22633. "type": "number"
  22634. },
  22635. "reckondate": {
  22636. "description": "日照时期(yyyyMMdd)",
  22637. "type": "string"
  22638. },
  22639. "relatedmiddlegoodsamount": {
  22640. "description": "已关联额(期货)",
  22641. "type": "number"
  22642. },
  22643. "relatedmiddlegoodsqty": {
  22644. "description": "已关联量(套保品种)(期货)",
  22645. "type": "number"
  22646. },
  22647. "spotcontractid": {
  22648. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  22649. "type": "string"
  22650. },
  22651. "todayavgfutuprice": {
  22652. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  22653. "type": "number"
  22654. },
  22655. "todayavgprice": {
  22656. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  22657. "type": "number"
  22658. },
  22659. "todayavgprice2": {
  22660. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  22661. "type": "number"
  22662. },
  22663. "todaypricedamount": {
  22664. "description": "今日定价额(现货)",
  22665. "type": "number"
  22666. },
  22667. "todaypricedamount2": {
  22668. "description": "今日定价额(现货-基价额)",
  22669. "type": "number"
  22670. },
  22671. "todaypricedqty": {
  22672. "description": "今日定价量(现货)",
  22673. "type": "number"
  22674. },
  22675. "todayrelatedfutureqty": {
  22676. "description": "今日关联量(期货)",
  22677. "type": "number"
  22678. },
  22679. "todayrelatedmiddlegoodsamount": {
  22680. "description": "今日关联额(期货)",
  22681. "type": "number"
  22682. },
  22683. "todayrelatedmiddlegoodsqty": {
  22684. "description": "今日关联量(套保品-期货)",
  22685. "type": "number"
  22686. },
  22687. "updatetime": {
  22688. "description": "更新时间",
  22689. "type": "string"
  22690. },
  22691. "userid": {
  22692. "description": "合同所属用户id",
  22693. "type": "integer"
  22694. },
  22695. "vatrate": {
  22696. "description": "增值税率",
  22697. "type": "number"
  22698. },
  22699. "wrstandardcode": {
  22700. "description": "商品(品类) 代码",
  22701. "type": "string"
  22702. },
  22703. "wrstandardid": {
  22704. "description": "现货商品ID",
  22705. "type": "integer"
  22706. },
  22707. "wrstandardname": {
  22708. "description": "商品(品类) 名称",
  22709. "type": "string"
  22710. }
  22711. }
  22712. },
  22713. "models.Ermcp3SellBuyContract": {
  22714. "type": "object",
  22715. "properties": {
  22716. "accountid": {
  22717. "description": "期货账户id",
  22718. "type": "string"
  22719. },
  22720. "accountname": {
  22721. "description": "账户名称",
  22722. "type": "string"
  22723. },
  22724. "attachment": {
  22725. "description": "附件",
  22726. "type": "string"
  22727. },
  22728. "audittime": {
  22729. "description": "审核时间",
  22730. "type": "string"
  22731. },
  22732. "bizsubjectid": {
  22733. "description": "归属业务部门ID - SubjectID",
  22734. "type": "integer"
  22735. },
  22736. "biztype": {
  22737. "description": "业务类型 1-套保 2-套利",
  22738. "type": "integer"
  22739. },
  22740. "brandname": {
  22741. "description": "品牌名称",
  22742. "type": "string"
  22743. },
  22744. "contracctstatus": {
  22745. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22746. "type": "integer"
  22747. },
  22748. "contractmargin": {
  22749. "description": "合同保证金",
  22750. "type": "number"
  22751. },
  22752. "contractno": {
  22753. "description": "合同编号",
  22754. "type": "string"
  22755. },
  22756. "contracttype": {
  22757. "description": "合同类型 1-采购, -1-销售",
  22758. "type": "integer"
  22759. },
  22760. "convertfactor": {
  22761. "description": "标仓系数(品类)",
  22762. "type": "number"
  22763. },
  22764. "createtime": {
  22765. "description": "创建时间",
  22766. "type": "string"
  22767. },
  22768. "currencyid": {
  22769. "description": "币种id",
  22770. "type": "integer"
  22771. },
  22772. "currencyname": {
  22773. "description": "币种名称",
  22774. "type": "string"
  22775. },
  22776. "daikaiamount": {
  22777. "description": "应收(开)票额",
  22778. "type": "number"
  22779. },
  22780. "deliveryenddate": {
  22781. "description": "交割结束日",
  22782. "type": "string"
  22783. },
  22784. "deliverygoodscode": {
  22785. "description": "现货品种代码",
  22786. "type": "string"
  22787. },
  22788. "deliverygoodsid": {
  22789. "description": "现货商品ID",
  22790. "type": "integer"
  22791. },
  22792. "deliverygoodsname": {
  22793. "description": "现货品种名称",
  22794. "type": "string"
  22795. },
  22796. "deliverystartdate": {
  22797. "description": "交割开始日",
  22798. "type": "string"
  22799. },
  22800. "enddate": {
  22801. "description": "点价结束日",
  22802. "type": "string"
  22803. },
  22804. "enumdicname": {
  22805. "description": "单位名称",
  22806. "type": "string"
  22807. },
  22808. "goodscode": {
  22809. "description": "点价商品代码",
  22810. "type": "string"
  22811. },
  22812. "goodsgroupid": {
  22813. "description": "点价商品组id",
  22814. "type": "integer"
  22815. },
  22816. "goodsid": {
  22817. "description": "点价商品ID",
  22818. "type": "integer"
  22819. },
  22820. "goodsname": {
  22821. "description": "点价商品名称",
  22822. "type": "string"
  22823. },
  22824. "invoiceamount": {
  22825. "description": "已开票额",
  22826. "type": "number"
  22827. },
  22828. "loanamount": {
  22829. "description": "贷款总额=已定价额+调整金额",
  22830. "type": "number"
  22831. },
  22832. "margin": {
  22833. "description": "保证金",
  22834. "type": "number"
  22835. },
  22836. "meruserid": {
  22837. "description": "跟单员id",
  22838. "type": "integer"
  22839. },
  22840. "meruserlogincode": {
  22841. "description": "跟单员登录代码",
  22842. "type": "string"
  22843. },
  22844. "merusername": {
  22845. "description": "跟单员名称",
  22846. "type": "string"
  22847. },
  22848. "nickname": {
  22849. "description": "账户昵称",
  22850. "type": "string"
  22851. },
  22852. "orireckonrealqty": {
  22853. "description": "应交收量",
  22854. "type": "number"
  22855. },
  22856. "payamount": {
  22857. "description": "已收付额(收款或付款)",
  22858. "type": "number"
  22859. },
  22860. "preinvoiceamount": {
  22861. "description": "预收(开)票额",
  22862. "type": "number"
  22863. },
  22864. "prepayamount": {
  22865. "description": "预收付额",
  22866. "type": "number"
  22867. },
  22868. "price": {
  22869. "description": "价格",
  22870. "type": "number"
  22871. },
  22872. "pricedamount": {
  22873. "description": "已定价额",
  22874. "type": "number"
  22875. },
  22876. "pricedavg": {
  22877. "description": "已点均价",
  22878. "type": "number"
  22879. },
  22880. "pricedqty": {
  22881. "description": "已定价量",
  22882. "type": "number"
  22883. },
  22884. "pricemove": {
  22885. "description": "升贴水",
  22886. "type": "number"
  22887. },
  22888. "pricetype": {
  22889. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22890. "type": "integer"
  22891. },
  22892. "producttype": {
  22893. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22894. "type": "integer"
  22895. },
  22896. "qty": {
  22897. "description": "合同量",
  22898. "type": "number"
  22899. },
  22900. "reckonadjustamount": {
  22901. "description": "调整金额",
  22902. "type": "number"
  22903. },
  22904. "reckonedamount": {
  22905. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  22906. "type": "number"
  22907. },
  22908. "reckonotheramount": {
  22909. "description": "其它费用",
  22910. "type": "number"
  22911. },
  22912. "reckonrealqty": {
  22913. "description": "已交收量",
  22914. "type": "number"
  22915. },
  22916. "remark": {
  22917. "description": "备注",
  22918. "type": "string"
  22919. },
  22920. "saleuserid": {
  22921. "description": "业务员id",
  22922. "type": "integer"
  22923. },
  22924. "saleuserlogincode": {
  22925. "description": "业务员登录代码",
  22926. "type": "string"
  22927. },
  22928. "saleusername": {
  22929. "description": "业务员名称",
  22930. "type": "string"
  22931. },
  22932. "spotcontractid": {
  22933. "description": "合同ID",
  22934. "type": "string"
  22935. },
  22936. "spotgoodsbrandid": {
  22937. "description": "现货品牌ID(DGFactoryItem表的ID)",
  22938. "type": "integer"
  22939. },
  22940. "spotgoodsdesc": {
  22941. "description": "商品型号(商品规格)",
  22942. "type": "string"
  22943. },
  22944. "startdate": {
  22945. "description": "点价开始日",
  22946. "type": "string"
  22947. },
  22948. "subjectid": {
  22949. "description": "交易主体ID",
  22950. "type": "integer"
  22951. },
  22952. "subjectname": {
  22953. "description": "交易主体名称",
  22954. "type": "string"
  22955. },
  22956. "totalamount": {
  22957. "description": "合计总额",
  22958. "type": "number"
  22959. },
  22960. "tradeuserid": {
  22961. "description": "交易员id",
  22962. "type": "integer"
  22963. },
  22964. "tradeuserlogincode": {
  22965. "description": "交易员登录代码",
  22966. "type": "string"
  22967. },
  22968. "tradeusername": {
  22969. "description": "交易员名称",
  22970. "type": "string"
  22971. },
  22972. "unpayamount": {
  22973. "description": "应收付款额(应支付或应收款)",
  22974. "type": "number"
  22975. },
  22976. "unpricedqty": {
  22977. "description": "未定价量",
  22978. "type": "number"
  22979. },
  22980. "unsureqty": {
  22981. "description": "未确定量",
  22982. "type": "number"
  22983. },
  22984. "userid": {
  22985. "description": "机构ID",
  22986. "type": "integer"
  22987. },
  22988. "vatrate": {
  22989. "description": "增值税率",
  22990. "type": "number"
  22991. },
  22992. "wrstandardcode": {
  22993. "description": "品类代码",
  22994. "type": "string"
  22995. },
  22996. "wrstandardid": {
  22997. "description": "品类ID",
  22998. "type": "integer"
  22999. },
  23000. "wrstandardname": {
  23001. "description": "品类名称",
  23002. "type": "string"
  23003. }
  23004. }
  23005. },
  23006. "models.Ermcp3SpotGoodsPrice": {
  23007. "type": "object",
  23008. "properties": {
  23009. "areauserid": {
  23010. "description": "所属机构id",
  23011. "type": "integer"
  23012. },
  23013. "brandname": {
  23014. "description": "品牌名称",
  23015. "type": "string"
  23016. },
  23017. "currencyid": {
  23018. "description": "报价货币ID",
  23019. "type": "integer"
  23020. },
  23021. "currencyname": {
  23022. "description": "币种名称",
  23023. "type": "string"
  23024. },
  23025. "deliverygoodscode": {
  23026. "description": "现货商品代码",
  23027. "type": "string"
  23028. },
  23029. "deliverygoodsid": {
  23030. "description": "现货商品id",
  23031. "type": "integer"
  23032. },
  23033. "deliverygoodsname": {
  23034. "description": "现货商品名称",
  23035. "type": "string"
  23036. },
  23037. "enumdicname": {
  23038. "description": "现货商品单位名称",
  23039. "type": "string"
  23040. },
  23041. "gbenumdicname": {
  23042. "description": "品类单位名称",
  23043. "type": "string"
  23044. },
  23045. "gmunitid": {
  23046. "description": "品类单位id",
  23047. "type": "integer"
  23048. },
  23049. "isvalid": {
  23050. "description": "是否有效 - 0:无效 1:有效",
  23051. "type": "integer"
  23052. },
  23053. "operateid": {
  23054. "description": "最后操作人",
  23055. "type": "integer"
  23056. },
  23057. "operatesrc": {
  23058. "description": "最后操作来源 - 1:管理端 2:终端",
  23059. "type": "integer"
  23060. },
  23061. "operatetime": {
  23062. "description": "最后操作时间",
  23063. "type": "string"
  23064. },
  23065. "operatorname": {
  23066. "description": "操作人名称",
  23067. "type": "string"
  23068. },
  23069. "spotgoodsbrandid": {
  23070. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23071. "type": "integer"
  23072. },
  23073. "spotgoodsprice": {
  23074. "description": "现货价格",
  23075. "type": "number"
  23076. },
  23077. "tradedate": {
  23078. "description": "交易日(yyyyMMdd)",
  23079. "type": "string"
  23080. },
  23081. "unitid": {
  23082. "description": "现货商品单位id",
  23083. "type": "integer"
  23084. },
  23085. "wrstandardcode": {
  23086. "description": "品类代码",
  23087. "type": "string"
  23088. },
  23089. "wrstandardid": {
  23090. "description": "现货品类ID(通用则为0)",
  23091. "type": "integer"
  23092. },
  23093. "wrstandardname": {
  23094. "description": "品类名称",
  23095. "type": "string"
  23096. }
  23097. }
  23098. },
  23099. "models.Ermcp3SpotGoodsPriceLog": {
  23100. "type": "object",
  23101. "properties": {
  23102. "areauserid": {
  23103. "description": "所属机构id",
  23104. "type": "integer"
  23105. },
  23106. "brandname": {
  23107. "description": "品牌名称",
  23108. "type": "string"
  23109. },
  23110. "currencyid": {
  23111. "description": "报价货币ID",
  23112. "type": "integer"
  23113. },
  23114. "deliverygoodscode": {
  23115. "description": "现货商品代码",
  23116. "type": "string"
  23117. },
  23118. "deliverygoodsid": {
  23119. "description": "现货商品id",
  23120. "type": "integer"
  23121. },
  23122. "deliverygoodsname": {
  23123. "description": "现货商品名称",
  23124. "type": "string"
  23125. },
  23126. "enumdicname": {
  23127. "description": "现货商品单位名称",
  23128. "type": "string"
  23129. },
  23130. "gbenumdicname": {
  23131. "description": "品类单位名称",
  23132. "type": "string"
  23133. },
  23134. "gmunitid": {
  23135. "description": "品类单位id",
  23136. "type": "integer"
  23137. },
  23138. "logid": {
  23139. "description": "日志id",
  23140. "type": "integer"
  23141. },
  23142. "operateid": {
  23143. "description": "最后操作人",
  23144. "type": "integer"
  23145. },
  23146. "operatesrc": {
  23147. "description": "最后操作来源 - 1:管理端 2:终端",
  23148. "type": "integer"
  23149. },
  23150. "operatetime": {
  23151. "description": "最后操作时间",
  23152. "type": "string"
  23153. },
  23154. "operatorname": {
  23155. "description": "操作人名称",
  23156. "type": "string"
  23157. },
  23158. "spotgoodsbrandid": {
  23159. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  23160. "type": "integer"
  23161. },
  23162. "spotgoodsprice": {
  23163. "description": "现货价格",
  23164. "type": "number"
  23165. },
  23166. "tradedate": {
  23167. "description": "交易日(yyyyMMdd)",
  23168. "type": "string"
  23169. },
  23170. "unitid": {
  23171. "description": "现货商品单位id",
  23172. "type": "integer"
  23173. },
  23174. "wrstandardcode": {
  23175. "description": "品类代码",
  23176. "type": "string"
  23177. },
  23178. "wrstandardid": {
  23179. "description": "现货品类ID(通用则为0)",
  23180. "type": "integer"
  23181. },
  23182. "wrstandardname": {
  23183. "description": "品类名称",
  23184. "type": "string"
  23185. }
  23186. }
  23187. },
  23188. "models.Ermcp3SubTaaccount": {
  23189. "type": "object",
  23190. "properties": {
  23191. "accountid": {
  23192. "description": "资金账户ID",
  23193. "type": "integer"
  23194. },
  23195. "parentaccountcode": {
  23196. "description": "所属根账号代码(母账号代码)",
  23197. "type": "string"
  23198. },
  23199. "parentaccountid": {
  23200. "description": "所属根账号(母账号)",
  23201. "type": "integer"
  23202. },
  23203. "taname": {
  23204. "description": "资金账号名称",
  23205. "type": "string"
  23206. },
  23207. "tradestatus": {
  23208. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  23209. "type": "integer"
  23210. },
  23211. "username": {
  23212. "description": "交易用户",
  23213. "type": "string"
  23214. }
  23215. }
  23216. },
  23217. "models.Ermcp3TaFutuReDataReport": {
  23218. "type": "object",
  23219. "properties": {
  23220. "accountid": {
  23221. "description": "交易账户",
  23222. "type": "integer"
  23223. },
  23224. "accountname": {
  23225. "description": "交易账号名称",
  23226. "type": "string"
  23227. },
  23228. "agreeunit": {
  23229. "description": "商品合约单位",
  23230. "type": "number"
  23231. },
  23232. "begindate": {
  23233. "description": "开始交易日",
  23234. "type": "string"
  23235. },
  23236. "buyorsell": {
  23237. "description": "持仓方向",
  23238. "type": "integer"
  23239. },
  23240. "charge": {
  23241. "description": "手续费",
  23242. "type": "number"
  23243. },
  23244. "closeavgprice": {
  23245. "description": "平仓均价",
  23246. "type": "number"
  23247. },
  23248. "closepl": {
  23249. "description": "平仓损益",
  23250. "type": "number"
  23251. },
  23252. "currencyid": {
  23253. "description": "结算币种ID",
  23254. "type": "integer"
  23255. },
  23256. "currencyname": {
  23257. "description": "币种名称",
  23258. "type": "string"
  23259. },
  23260. "cycletime": {
  23261. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23262. "type": "string"
  23263. },
  23264. "cycletype": {
  23265. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23266. "type": "integer"
  23267. },
  23268. "enddate": {
  23269. "description": "结束交易日",
  23270. "type": "string"
  23271. },
  23272. "enumdicname": {
  23273. "description": "单位名称",
  23274. "type": "string"
  23275. },
  23276. "floatpl": {
  23277. "description": "浮动损益",
  23278. "type": "number"
  23279. },
  23280. "goodscode": {
  23281. "description": "交易合约代码",
  23282. "type": "string"
  23283. },
  23284. "goodsgroupid": {
  23285. "description": "交易品种",
  23286. "type": "integer"
  23287. },
  23288. "goodsgroupname": {
  23289. "description": "交易品种名称",
  23290. "type": "string"
  23291. },
  23292. "goodsgroupspotqty": {
  23293. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  23294. "type": "number"
  23295. },
  23296. "goodsid": {
  23297. "description": "交易合约",
  23298. "type": "integer"
  23299. },
  23300. "goodsname": {
  23301. "description": "交易合约名称",
  23302. "type": "string"
  23303. },
  23304. "goodunitid": {
  23305. "description": "交易合约单位id",
  23306. "type": "integer"
  23307. },
  23308. "holdamount": {
  23309. "description": "期末持仓额",
  23310. "type": "number"
  23311. },
  23312. "holdqty": {
  23313. "description": "期末持仓量",
  23314. "type": "number"
  23315. },
  23316. "lastholdamount": {
  23317. "description": "当前持仓额",
  23318. "type": "number"
  23319. },
  23320. "lastprice": {
  23321. "description": "最新价",
  23322. "type": "number"
  23323. },
  23324. "middlegoodsid": {
  23325. "description": "套保品种id",
  23326. "type": "integer"
  23327. },
  23328. "middlegoodsname": {
  23329. "description": "套保商品名称",
  23330. "type": "string"
  23331. },
  23332. "middlegoodsqty": {
  23333. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  23334. "type": "number"
  23335. },
  23336. "middlgoodscode": {
  23337. "description": "套保商品代码",
  23338. "type": "string"
  23339. },
  23340. "openamount": {
  23341. "description": "期末开仓额",
  23342. "type": "number"
  23343. },
  23344. "openavgprice": {
  23345. "description": "开仓均价",
  23346. "type": "number"
  23347. },
  23348. "oriholdamount": {
  23349. "description": "期初持仓额",
  23350. "type": "number"
  23351. },
  23352. "oriholdqty": {
  23353. "description": "期初持仓量",
  23354. "type": "number"
  23355. },
  23356. "oriopenamount": {
  23357. "description": "期初开仓额",
  23358. "type": "number"
  23359. },
  23360. "outergroupcode": {
  23361. "description": "交易品种代码",
  23362. "type": "string"
  23363. },
  23364. "qtydecimalplace": {
  23365. "description": "成交量小数位",
  23366. "type": "integer"
  23367. },
  23368. "reckondate": {
  23369. "description": "日照时期(yyyyMMdd)",
  23370. "type": "string"
  23371. },
  23372. "reckonholdamount": {
  23373. "description": "结算持仓额",
  23374. "type": "number"
  23375. },
  23376. "reckonpl": {
  23377. "description": "结算损益",
  23378. "type": "number"
  23379. },
  23380. "reckonpl2": {
  23381. "description": "结算逐笔盈亏",
  23382. "type": "number"
  23383. },
  23384. "reckonprice": {
  23385. "description": "结算价",
  23386. "type": "number"
  23387. },
  23388. "relateduserid": {
  23389. "description": "账户关联用户ID",
  23390. "type": "integer"
  23391. },
  23392. "todaycloseamount": {
  23393. "description": "今平仓额",
  23394. "type": "number"
  23395. },
  23396. "todaycloseqty": {
  23397. "description": "今平仓量",
  23398. "type": "number"
  23399. },
  23400. "todaygoodsgroupspotqty": {
  23401. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  23402. "type": "number"
  23403. },
  23404. "todaymiddlegoodsqty": {
  23405. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  23406. "type": "number"
  23407. },
  23408. "todayopenamount": {
  23409. "description": "今开仓额",
  23410. "type": "number"
  23411. },
  23412. "todayopenqty": {
  23413. "description": "今开仓量",
  23414. "type": "number"
  23415. },
  23416. "userid": {
  23417. "description": "账户所属用户ID",
  23418. "type": "integer"
  23419. }
  23420. }
  23421. },
  23422. "models.Ermcp3TradeLinkDetail": {
  23423. "type": "object",
  23424. "properties": {
  23425. "accountid": {
  23426. "description": "资金账号",
  23427. "type": "integer"
  23428. },
  23429. "agreeunit": {
  23430. "description": "合约乘数",
  23431. "type": "number"
  23432. },
  23433. "areauserid": {
  23434. "description": "所属机构",
  23435. "type": "string"
  23436. },
  23437. "bizsubjectid": {
  23438. "description": "归属业务部门ID - SubjectID",
  23439. "type": "string"
  23440. },
  23441. "buyorsell": {
  23442. "description": "方向 - 0:买 1:卖",
  23443. "type": "integer"
  23444. },
  23445. "channelbuildtype": {
  23446. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23447. "type": "integer"
  23448. },
  23449. "contractno": {
  23450. "description": "现货编号 (合同编号)",
  23451. "type": "string"
  23452. },
  23453. "convertratio": {
  23454. "description": "折算系数",
  23455. "type": "number"
  23456. },
  23457. "createtime": {
  23458. "description": "关联时间 | 创建时间",
  23459. "type": "string"
  23460. },
  23461. "creatorid": {
  23462. "description": "创建人ID",
  23463. "type": "string"
  23464. },
  23465. "creatorsrc": {
  23466. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23467. "type": "integer"
  23468. },
  23469. "enumdicname": {
  23470. "description": "单位名称",
  23471. "type": "string"
  23472. },
  23473. "goodscode": {
  23474. "description": "合约代码",
  23475. "type": "string"
  23476. },
  23477. "goodsgroupid": {
  23478. "description": "对冲品种ID[期货合约商品组ID]",
  23479. "type": "integer"
  23480. },
  23481. "goodsid": {
  23482. "description": "商品ID",
  23483. "type": "integer"
  23484. },
  23485. "goodsname": {
  23486. "description": "合约名称",
  23487. "type": "string"
  23488. },
  23489. "hedgeflag": {
  23490. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23491. "type": "integer"
  23492. },
  23493. "linkdetailid": {
  23494. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  23495. "type": "string"
  23496. },
  23497. "linkstatus": {
  23498. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  23499. "type": "integer"
  23500. },
  23501. "middlegoodscode": {
  23502. "description": "套保品种代码",
  23503. "type": "string"
  23504. },
  23505. "middlegoodsid": {
  23506. "description": "套保品种ID",
  23507. "type": "integer"
  23508. },
  23509. "middlegoodsname": {
  23510. "description": "套保品种名称",
  23511. "type": "string"
  23512. },
  23513. "relatedlot": {
  23514. "description": "关联手数",
  23515. "type": "number"
  23516. },
  23517. "relatedmode": {
  23518. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  23519. "type": "integer"
  23520. },
  23521. "relatedqty": {
  23522. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  23523. "type": "number"
  23524. },
  23525. "retcode": {
  23526. "description": "返回码",
  23527. "type": "integer"
  23528. },
  23529. "saleuserid": {
  23530. "description": "业务员ID",
  23531. "type": "string"
  23532. },
  23533. "spotcontractid": {
  23534. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  23535. "type": "string"
  23536. },
  23537. "taname": {
  23538. "description": "期货账户",
  23539. "type": "string"
  23540. },
  23541. "tradedate": {
  23542. "description": "关联交易日(yyyyMMdd)",
  23543. "type": "string"
  23544. },
  23545. "tradeid": {
  23546. "description": "期货订单号 | 内部成交单ID",
  23547. "type": "string"
  23548. },
  23549. "tradelot": {
  23550. "description": "成交数量 | 成交手数",
  23551. "type": "integer"
  23552. },
  23553. "tradeprice": {
  23554. "description": "成交价格",
  23555. "type": "number"
  23556. },
  23557. "tradetime": {
  23558. "description": "期货成交时间",
  23559. "type": "string"
  23560. },
  23561. "tradetradedate": {
  23562. "description": "成交交易日(yyyyMMdd)",
  23563. "type": "string"
  23564. },
  23565. "username": {
  23566. "description": "用户名称",
  23567. "type": "string"
  23568. }
  23569. }
  23570. },
  23571. "models.Ermcp3Wrstandard": {
  23572. "type": "object",
  23573. "properties": {
  23574. "areauserid": {
  23575. "description": "所属机构",
  23576. "type": "integer"
  23577. },
  23578. "cantrade": {
  23579. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  23580. "type": "integer"
  23581. },
  23582. "convertfactor": {
  23583. "description": "标仓系数",
  23584. "type": "number"
  23585. },
  23586. "createtime": {
  23587. "description": "创建时间",
  23588. "type": "string"
  23589. },
  23590. "creatorid": {
  23591. "description": "创建人",
  23592. "type": "integer"
  23593. },
  23594. "deliverygoodsid": {
  23595. "description": "现货品种ID",
  23596. "type": "integer"
  23597. },
  23598. "enumdicname": {
  23599. "description": "品类单位名称",
  23600. "type": "string"
  23601. },
  23602. "isvalid": {
  23603. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  23604. "type": "integer"
  23605. },
  23606. "minivalue": {
  23607. "description": "最小变动值",
  23608. "type": "integer"
  23609. },
  23610. "minivaluedp": {
  23611. "description": "最小变动值小数位",
  23612. "type": "integer"
  23613. },
  23614. "realminivalue": {
  23615. "description": "实际最小变动值",
  23616. "type": "integer"
  23617. },
  23618. "realminivaluedp": {
  23619. "description": "实际最小变动值小数位",
  23620. "type": "integer"
  23621. },
  23622. "remark": {
  23623. "description": "备注",
  23624. "type": "string"
  23625. },
  23626. "unitid": {
  23627. "description": "品类单位ID",
  23628. "type": "integer"
  23629. },
  23630. "updatetime": {
  23631. "description": "更新时间",
  23632. "type": "string"
  23633. },
  23634. "wrstandardcode": {
  23635. "description": "品类代码",
  23636. "type": "string"
  23637. },
  23638. "wrstandardid": {
  23639. "description": "品类ID(SEQ_WRSTANDARD)",
  23640. "type": "integer"
  23641. },
  23642. "wrstandardname": {
  23643. "description": "品类名称",
  23644. "type": "string"
  23645. }
  23646. }
  23647. },
  23648. "models.ErmcpBizGroupEx": {
  23649. "type": "object",
  23650. "properties": {
  23651. "acclist": {
  23652. "description": "账号列表",
  23653. "type": "array",
  23654. "items": {
  23655. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  23656. }
  23657. },
  23658. "bizgroupid": {
  23659. "description": "业务分组id",
  23660. "type": "integer"
  23661. },
  23662. "biztype": {
  23663. "description": "业务类型 1-套保 2-套利",
  23664. "type": "integer"
  23665. },
  23666. "wrlist": {
  23667. "description": "现货商品表",
  23668. "type": "array",
  23669. "items": {
  23670. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  23671. }
  23672. }
  23673. }
  23674. },
  23675. "models.ErmcpBizGroupSpotGoods": {
  23676. "type": "object",
  23677. "properties": {
  23678. "areauserid": {
  23679. "description": "所属机构id",
  23680. "type": "integer"
  23681. },
  23682. "bizgroupid": {
  23683. "description": "分组id",
  23684. "type": "integer"
  23685. },
  23686. "biztype": {
  23687. "description": "业务类型 1-套保 2-套利",
  23688. "type": "integer"
  23689. },
  23690. "deliverygoodscode": {
  23691. "description": "现货商品代码",
  23692. "type": "string"
  23693. },
  23694. "deliverygoodsid": {
  23695. "description": "现货商品id",
  23696. "type": "integer"
  23697. },
  23698. "deliverygoodsname": {
  23699. "description": "现货商品名称",
  23700. "type": "string"
  23701. },
  23702. "unitid": {
  23703. "description": "现货商品单位id",
  23704. "type": "integer"
  23705. }
  23706. }
  23707. },
  23708. "models.ErmcpBizGroupTaAccount": {
  23709. "type": "object",
  23710. "properties": {
  23711. "accountid": {
  23712. "description": "账号id",
  23713. "type": "integer"
  23714. },
  23715. "accountname": {
  23716. "description": "账号名称",
  23717. "type": "string"
  23718. },
  23719. "areauserid": {
  23720. "description": "所属机构id",
  23721. "type": "integer"
  23722. },
  23723. "bizgroupid": {
  23724. "description": "业务分组id",
  23725. "type": "integer"
  23726. },
  23727. "ismain": {
  23728. "description": "是否主账号 1-是 0-否",
  23729. "type": "integer"
  23730. }
  23731. }
  23732. },
  23733. "models.ErmcpDGFactoryItem": {
  23734. "type": "object",
  23735. "properties": {
  23736. "areauserid": {
  23737. "description": "用户id",
  23738. "type": "integer"
  23739. },
  23740. "deliverygoodsid": {
  23741. "description": "现货品种ID",
  23742. "type": "integer"
  23743. },
  23744. "dgfactoryitemid": {
  23745. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  23746. "type": "integer"
  23747. },
  23748. "dgfactoryitemtypeid": {
  23749. "description": "要素项类型",
  23750. "type": "integer"
  23751. },
  23752. "dgfactoryitemvalue": {
  23753. "description": "要素项值(类型为仓库时填写仓库名称)",
  23754. "type": "string"
  23755. },
  23756. "isvalid": {
  23757. "description": "是否有效 - 0:无效 1:有效",
  23758. "type": "integer"
  23759. },
  23760. "orderindex": {
  23761. "description": "顺序",
  23762. "type": "integer"
  23763. },
  23764. "warehouseid": {
  23765. "description": "仓库ID(类型为仓库时填写)",
  23766. "type": "integer"
  23767. }
  23768. }
  23769. },
  23770. "models.ErmcpDeliveryGoods": {
  23771. "type": "object",
  23772. "properties": {
  23773. "agreeunit": {
  23774. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  23775. "type": "integer"
  23776. },
  23777. "areauserid": {
  23778. "description": "所属机构",
  23779. "type": "integer"
  23780. },
  23781. "auditflag": {
  23782. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  23783. "type": "integer"
  23784. },
  23785. "categoryid": {
  23786. "description": "类别ID(SEQ_WRCATEGORY)",
  23787. "type": "integer"
  23788. },
  23789. "deliverygoodscode": {
  23790. "description": "现货品种代码",
  23791. "type": "string"
  23792. },
  23793. "deliverygoodsid": {
  23794. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  23795. "type": "integer"
  23796. },
  23797. "deliverygoodsname": {
  23798. "description": "现货品种名称",
  23799. "type": "string"
  23800. },
  23801. "deliverygoodstype": {
  23802. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  23803. "type": "integer"
  23804. },
  23805. "dgstatus": {
  23806. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  23807. "type": "integer"
  23808. },
  23809. "enumdicname": {
  23810. "description": "现货品种单位名称",
  23811. "type": "string"
  23812. },
  23813. "goodsunitid": {
  23814. "description": "现货品种单位ID",
  23815. "type": "integer"
  23816. },
  23817. "isvalid": {
  23818. "description": "是否有效 - 0:无效 1:有效",
  23819. "type": "integer"
  23820. },
  23821. "qtydecimalplace": {
  23822. "description": "成交量小数位",
  23823. "type": "integer"
  23824. },
  23825. "remark": {
  23826. "description": "备注",
  23827. "type": "string"
  23828. },
  23829. "standardqty": {
  23830. "description": "标准数量(库位数量) [标准品特有]",
  23831. "type": "integer"
  23832. },
  23833. "standardqtyrange": {
  23834. "description": "标准数量偏差范围 [标准品特有]",
  23835. "type": "integer"
  23836. }
  23837. }
  23838. },
  23839. "models.ErmcpFuturesCompany": {
  23840. "type": "object",
  23841. "properties": {
  23842. "brokerid": {
  23843. "description": "经纪公司代码",
  23844. "type": "string"
  23845. },
  23846. "channeladdress": {
  23847. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  23848. "type": "string"
  23849. },
  23850. "channelid": {
  23851. "description": "对冲渠道ID",
  23852. "type": "string"
  23853. },
  23854. "createtime": {
  23855. "description": "创建时间",
  23856. "type": "string"
  23857. },
  23858. "creatorid": {
  23859. "description": "创建人",
  23860. "type": "string"
  23861. },
  23862. "fcid": {
  23863. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  23864. "type": "integer"
  23865. },
  23866. "fcname": {
  23867. "description": "期货公司名称",
  23868. "type": "string"
  23869. },
  23870. "isvalid": {
  23871. "description": "是否有效 - 0:无效 1:有效",
  23872. "type": "integer"
  23873. },
  23874. "mhpaddress": {
  23875. "description": "MHP服务地址(IP:Port)",
  23876. "type": "string"
  23877. },
  23878. "riskrulegroupid": {
  23879. "description": "风控规则组ID",
  23880. "type": "string"
  23881. },
  23882. "tradefeetmpid": {
  23883. "description": "手续费模板ID[TradeConfigTmpType为2]",
  23884. "type": "string"
  23885. },
  23886. "trademargintmpid": {
  23887. "description": "保证金模板ID [TradeConfigTmpType为1]",
  23888. "type": "string"
  23889. },
  23890. "traderatetmpid": {
  23891. "description": "汇率模板ID[TradeConfigTmpType为3]",
  23892. "type": "string"
  23893. },
  23894. "updatetime": {
  23895. "description": "更新时间",
  23896. "type": "string"
  23897. },
  23898. "updatorid": {
  23899. "description": "更新人",
  23900. "type": "string"
  23901. }
  23902. }
  23903. },
  23904. "models.ErmcpGGConvertCfg": {
  23905. "type": "object",
  23906. "properties": {
  23907. "convertratio": {
  23908. "description": "折算系数",
  23909. "type": "number"
  23910. },
  23911. "destgoodsgroupid": {
  23912. "description": "目标品种ID",
  23913. "type": "integer"
  23914. },
  23915. "dstcode": {
  23916. "description": "目录品种代码",
  23917. "type": "string"
  23918. },
  23919. "dstexchangecode": {
  23920. "description": "目标期货交易所",
  23921. "type": "string"
  23922. },
  23923. "dstname": {
  23924. "description": "目标品种名称",
  23925. "type": "string"
  23926. },
  23927. "dstunitid": {
  23928. "description": "目标品种单位ID",
  23929. "type": "integer"
  23930. },
  23931. "dstunitidname": {
  23932. "description": "目标品种单位名称",
  23933. "type": "string"
  23934. },
  23935. "modifytime": {
  23936. "description": "修改时间",
  23937. "type": "string"
  23938. },
  23939. "srccode": {
  23940. "description": "源品种代码",
  23941. "type": "string"
  23942. },
  23943. "srcexchangecode": {
  23944. "description": "源期货交易所",
  23945. "type": "string"
  23946. },
  23947. "srcgoodsgroupid": {
  23948. "description": "源品种ID",
  23949. "type": "integer"
  23950. },
  23951. "srcname": {
  23952. "description": "源品种名称",
  23953. "type": "string"
  23954. },
  23955. "srcunitid": {
  23956. "description": "源品种单位ID",
  23957. "type": "integer"
  23958. },
  23959. "srcunitidname": {
  23960. "description": "源品种单位名称",
  23961. "type": "string"
  23962. }
  23963. }
  23964. },
  23965. "models.ErmcpGoods": {
  23966. "type": "object",
  23967. "required": [
  23968. "goodscode",
  23969. "goodsid",
  23970. "goodsname",
  23971. "marketid"
  23972. ],
  23973. "properties": {
  23974. "agreeunit": {
  23975. "description": "合约单位",
  23976. "type": "number"
  23977. },
  23978. "areauserid": {
  23979. "description": "所属机构",
  23980. "type": "integer"
  23981. },
  23982. "auditaccountid": {
  23983. "description": "审核操作员账号",
  23984. "type": "integer"
  23985. },
  23986. "audittime": {
  23987. "description": "审核时间",
  23988. "type": "string"
  23989. },
  23990. "cancelaccountid": {
  23991. "description": "注销操作员账号",
  23992. "type": "integer"
  23993. },
  23994. "canceltime": {
  23995. "description": "注销时间",
  23996. "type": "string"
  23997. },
  23998. "closepricemode": {
  23999. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24000. "type": "integer"
  24001. },
  24002. "closepriceparam": {
  24003. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  24004. "type": "number"
  24005. },
  24006. "createtime": {
  24007. "description": "创建时间",
  24008. "type": "string"
  24009. },
  24010. "creatorid": {
  24011. "description": "创建人",
  24012. "type": "integer"
  24013. },
  24014. "currencyid": {
  24015. "description": "报价货币ID",
  24016. "type": "integer"
  24017. },
  24018. "cutmode": {
  24019. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  24020. "type": "integer"
  24021. },
  24022. "decimalplace": {
  24023. "description": "报价小数位",
  24024. "type": "integer"
  24025. },
  24026. "delistingdate": {
  24027. "description": "商品退市时间(状态:退市) -- 已作废",
  24028. "type": "string"
  24029. },
  24030. "delistingmode": {
  24031. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  24032. "type": "integer"
  24033. },
  24034. "deliveryflag": {
  24035. "description": "交割标志 - 0:不可交割 1:可交割",
  24036. "type": "integer"
  24037. },
  24038. "enumdicname": {
  24039. "description": "单位名称",
  24040. "type": "string"
  24041. },
  24042. "forceclosemode": {
  24043. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  24044. "type": "integer"
  24045. },
  24046. "forceclosevalue": {
  24047. "description": "定期强平参数 [收益权]",
  24048. "type": "integer"
  24049. },
  24050. "goodscode": {
  24051. "description": "商品代码(内部)",
  24052. "type": "string"
  24053. },
  24054. "goodscurrencyid": {
  24055. "description": "合约货币ID",
  24056. "type": "integer"
  24057. },
  24058. "goodsgroupid": {
  24059. "description": "所属商品组ID",
  24060. "type": "integer"
  24061. },
  24062. "goodsid": {
  24063. "description": "商品ID(自增ID SEQ_GOODS)",
  24064. "type": "integer"
  24065. },
  24066. "goodsname": {
  24067. "description": "商品名称",
  24068. "type": "string"
  24069. },
  24070. "goodsquotetype": {
  24071. "description": "合约报价类型: 1-直接报价 2-间接报价",
  24072. "type": "integer"
  24073. },
  24074. "goodsstatus": {
  24075. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  24076. "type": "integer"
  24077. },
  24078. "goodstradetype": {
  24079. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  24080. "type": "integer"
  24081. },
  24082. "goodunitid": {
  24083. "description": "报价单位ID",
  24084. "type": "integer"
  24085. },
  24086. "hasquoter": {
  24087. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  24088. "type": "integer"
  24089. },
  24090. "hqprotecttime": {
  24091. "description": "行情保护时间(秒)",
  24092. "type": "integer"
  24093. },
  24094. "innerdealmode": {
  24095. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24096. "type": "integer"
  24097. },
  24098. "isbuylimited": {
  24099. "description": "是否限制建仓量 - 0:不限制 1:限制",
  24100. "type": "integer"
  24101. },
  24102. "isvisible": {
  24103. "description": "游客是否可见 - 0:不可见 1:可见",
  24104. "type": "integer"
  24105. },
  24106. "lasttradedate": {
  24107. "description": "最后交易日期(状态:待退市)",
  24108. "type": "string"
  24109. },
  24110. "listingdate": {
  24111. "description": "交易开始日期",
  24112. "type": "string"
  24113. },
  24114. "marketid": {
  24115. "description": "所属市场ID",
  24116. "type": "integer"
  24117. },
  24118. "modifierid": {
  24119. "description": "修改人",
  24120. "type": "integer"
  24121. },
  24122. "modifystatus": {
  24123. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  24124. "type": "integer"
  24125. },
  24126. "modifytime": {
  24127. "description": "修改时间",
  24128. "type": "string"
  24129. },
  24130. "outerdealmode": {
  24131. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24132. "type": "integer"
  24133. },
  24134. "outgoodscode": {
  24135. "description": "商品代码(外部)",
  24136. "type": "string"
  24137. },
  24138. "pictureurl": {
  24139. "description": "商品图片",
  24140. "type": "string"
  24141. },
  24142. "qtydecimalplace": {
  24143. "description": "成交量小数位",
  24144. "type": "integer"
  24145. },
  24146. "quotegear": {
  24147. "description": "行情档位(1-10)",
  24148. "type": "integer"
  24149. },
  24150. "quoteminunit": {
  24151. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24152. "type": "integer"
  24153. },
  24154. "quoteshowtype": {
  24155. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  24156. "type": "integer"
  24157. },
  24158. "quoteshowtypeinterval": {
  24159. "description": "行情报价间隔时间(秒)(成交价时为0)",
  24160. "type": "integer"
  24161. },
  24162. "relatedgoodsid": {
  24163. "description": "关联参考商品ID",
  24164. "type": "integer"
  24165. },
  24166. "remark": {
  24167. "description": "备注",
  24168. "type": "string"
  24169. },
  24170. "trademode": {
  24171. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24172. "type": "integer"
  24173. }
  24174. }
  24175. },
  24176. "models.ErmcpGoodsBrand": {
  24177. "type": "object",
  24178. "properties": {
  24179. "areauserid": {
  24180. "description": "所属机构",
  24181. "type": "integer"
  24182. },
  24183. "brandid": {
  24184. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  24185. "type": "integer"
  24186. },
  24187. "brandname": {
  24188. "description": "品牌名称",
  24189. "type": "string"
  24190. },
  24191. "createtime": {
  24192. "description": "创建时间",
  24193. "type": "string"
  24194. },
  24195. "creatorid": {
  24196. "description": "创建人",
  24197. "type": "integer"
  24198. },
  24199. "creatorsrc": {
  24200. "description": "创建人来源 - 1:管理端 2:终端",
  24201. "type": "integer"
  24202. },
  24203. "deliverygoodsid": {
  24204. "description": "现货品种ID",
  24205. "type": "integer"
  24206. },
  24207. "isvalid": {
  24208. "description": "是否有效 - 0:无效 1:有效",
  24209. "type": "integer"
  24210. },
  24211. "updatetime": {
  24212. "description": "更新时间",
  24213. "type": "string"
  24214. },
  24215. "updatorid": {
  24216. "description": "更新人",
  24217. "type": "integer"
  24218. },
  24219. "updatorsrc": {
  24220. "description": "更新人来源 - 1:管理端 2:终端",
  24221. "type": "integer"
  24222. },
  24223. "wrstandardid": {
  24224. "description": "现货商品ID",
  24225. "type": "integer"
  24226. }
  24227. }
  24228. },
  24229. "models.ErmcpGoodsModel": {
  24230. "type": "object",
  24231. "properties": {
  24232. "areauserid": {
  24233. "description": "所属机构",
  24234. "type": "integer"
  24235. },
  24236. "convertfactor": {
  24237. "description": "标仓系数",
  24238. "type": "number"
  24239. },
  24240. "createtime": {
  24241. "description": "创建时间",
  24242. "type": "string"
  24243. },
  24244. "creatorid": {
  24245. "description": "创建人",
  24246. "type": "integer"
  24247. },
  24248. "creatorsrc": {
  24249. "description": "创建人来源 - 1:管理端 2:终端",
  24250. "type": "integer"
  24251. },
  24252. "deliverygoodsid": {
  24253. "description": "现货品种ID",
  24254. "type": "integer"
  24255. },
  24256. "isvalid": {
  24257. "description": "是否有效 - 0:无效 1:有效",
  24258. "type": "integer"
  24259. },
  24260. "modelid": {
  24261. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  24262. "type": "integer"
  24263. },
  24264. "modelname": {
  24265. "description": "型号名称",
  24266. "type": "string"
  24267. },
  24268. "updatetime": {
  24269. "description": "更新时间",
  24270. "type": "string"
  24271. },
  24272. "updatorid": {
  24273. "description": "更新人",
  24274. "type": "integer"
  24275. },
  24276. "updatorsrc": {
  24277. "description": "更新人来源 - 1:管理端 2:终端",
  24278. "type": "integer"
  24279. },
  24280. "wrstandardid": {
  24281. "description": "现货商品ID",
  24282. "type": "integer"
  24283. }
  24284. }
  24285. },
  24286. "models.ErmcpHisExposure": {
  24287. "type": "object",
  24288. "properties": {
  24289. "needhedgeexposoure": {
  24290. "description": "应套保敞口",
  24291. "type": "number"
  24292. },
  24293. "reckondate": {
  24294. "description": "日照时期(yyyyMMdd)",
  24295. "type": "string"
  24296. },
  24297. "totalexposure": {
  24298. "description": "总敞口",
  24299. "type": "number"
  24300. }
  24301. }
  24302. },
  24303. "models.ErmcpLoginTaAccount": {
  24304. "type": "object",
  24305. "properties": {
  24306. "accountid": {
  24307. "description": "账号id",
  24308. "type": "integer"
  24309. },
  24310. "accountname": {
  24311. "description": "账号名称",
  24312. "type": "string"
  24313. }
  24314. }
  24315. },
  24316. "models.ErmcpLoginUser": {
  24317. "type": "object",
  24318. "properties": {
  24319. "acclist": {
  24320. "description": "关联资金账号",
  24321. "type": "array",
  24322. "items": {
  24323. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  24324. }
  24325. },
  24326. "accountname": {
  24327. "description": "用户名称",
  24328. "type": "string"
  24329. },
  24330. "clientroleid": {
  24331. "description": "角色id(usertype=2)",
  24332. "type": "integer"
  24333. },
  24334. "createtime": {
  24335. "description": "创建时间",
  24336. "type": "string"
  24337. },
  24338. "logincode": {
  24339. "description": "登录代码",
  24340. "type": "string"
  24341. },
  24342. "loginid": {
  24343. "description": "登录id(LOGINID)",
  24344. "type": "integer"
  24345. },
  24346. "loginname": {
  24347. "description": "登录名称(loginaccount表中的accountname字段)",
  24348. "type": "string"
  24349. },
  24350. "loginstatus": {
  24351. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  24352. "type": "integer"
  24353. },
  24354. "memberuserid": {
  24355. "description": "所属会员id",
  24356. "type": "integer"
  24357. },
  24358. "mobile": {
  24359. "description": "手机号",
  24360. "type": "string"
  24361. },
  24362. "modifytime": {
  24363. "description": "修改时间",
  24364. "type": "string"
  24365. },
  24366. "password": {
  24367. "description": "密码(不可解密)",
  24368. "type": "string"
  24369. },
  24370. "rolename": {
  24371. "description": "角色名称",
  24372. "type": "string"
  24373. },
  24374. "rolestatus": {
  24375. "description": "角色状态 1-启用 2-停用",
  24376. "type": "integer"
  24377. },
  24378. "roletype": {
  24379. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  24380. "type": "string"
  24381. },
  24382. "userid": {
  24383. "description": "用户id",
  24384. "type": "integer"
  24385. },
  24386. "usertype": {
  24387. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24388. "type": "integer"
  24389. }
  24390. }
  24391. },
  24392. "models.ErmcpLoginUserEx": {
  24393. "type": "object",
  24394. "properties": {
  24395. "accountstatus": {
  24396. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24397. "type": "integer"
  24398. },
  24399. "mobile": {
  24400. "description": "手机号",
  24401. "type": "string"
  24402. },
  24403. "querytype": {
  24404. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  24405. "type": "integer"
  24406. },
  24407. "roleid": {
  24408. "description": "角色id(交易账户-\u003e用户id)",
  24409. "type": "integer"
  24410. },
  24411. "rolename": {
  24412. "description": "角色名称(交易账户-\u003e用户名称)",
  24413. "type": "string"
  24414. },
  24415. "userlist": {
  24416. "description": "用户列表",
  24417. "type": "array",
  24418. "items": {
  24419. "$ref": "#/definitions/models.ErmcpLoginUser"
  24420. }
  24421. },
  24422. "usertype": {
  24423. "description": "用户类型 2-机构 7-企业成员(云平台)",
  24424. "type": "integer"
  24425. }
  24426. }
  24427. },
  24428. "models.ErmcpMiddleGoodsModel": {
  24429. "type": "object",
  24430. "properties": {
  24431. "areauserid": {
  24432. "description": "机构用户ID",
  24433. "type": "integer"
  24434. },
  24435. "createtime": {
  24436. "description": "修改时间",
  24437. "type": "string"
  24438. },
  24439. "enumdicname": {
  24440. "description": "单位名称",
  24441. "type": "string"
  24442. },
  24443. "evaluateratio": {
  24444. "description": "估价系数",
  24445. "type": "number"
  24446. },
  24447. "goodsgroupid": {
  24448. "description": "关联期货品种ID",
  24449. "type": "integer"
  24450. },
  24451. "goodsunitid": {
  24452. "description": "单位ID",
  24453. "type": "integer"
  24454. },
  24455. "isvalid": {
  24456. "description": "状态 0-无效(停用) 1-有效(正常)",
  24457. "type": "integer"
  24458. },
  24459. "middlegoodscode": {
  24460. "description": "套保品种代码",
  24461. "type": "string"
  24462. },
  24463. "middlegoodsid": {
  24464. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24465. "type": "integer"
  24466. },
  24467. "middlegoodsname": {
  24468. "description": "套保品种名称",
  24469. "type": "string"
  24470. },
  24471. "modifytime": {
  24472. "description": "修改时间",
  24473. "type": "string"
  24474. },
  24475. "needarbitrageratio": {
  24476. "description": "套利比例",
  24477. "type": "number"
  24478. },
  24479. "needhedgeratio": {
  24480. "description": "套保比率",
  24481. "type": "number"
  24482. },
  24483. "qtydecimalplace": {
  24484. "description": "数量小数位",
  24485. "type": "integer"
  24486. },
  24487. "relatedgoodsid": {
  24488. "description": "关联交易商品ID",
  24489. "type": "integer"
  24490. },
  24491. "relatedgoodstype": {
  24492. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  24493. "type": "integer"
  24494. },
  24495. "remark": {
  24496. "description": "备注",
  24497. "type": "string"
  24498. }
  24499. }
  24500. },
  24501. "models.ErmcpMiddlegoodsRelateGoods": {
  24502. "type": "object",
  24503. "properties": {
  24504. "agreeunit": {
  24505. "description": "合约乘数",
  24506. "type": "number"
  24507. },
  24508. "convertratio": {
  24509. "description": "折算系数",
  24510. "type": "number"
  24511. },
  24512. "enumdicname": {
  24513. "description": "单位名称(交易商品)",
  24514. "type": "string"
  24515. },
  24516. "goodscode": {
  24517. "description": "交易商品代码",
  24518. "type": "string"
  24519. },
  24520. "goodsgroupid": {
  24521. "description": "交易品种id",
  24522. "type": "integer"
  24523. },
  24524. "goodsid": {
  24525. "description": "商品Id",
  24526. "type": "integer"
  24527. },
  24528. "goodsname": {
  24529. "description": "交易商品名称",
  24530. "type": "string"
  24531. },
  24532. "goodunitid": {
  24533. "description": "交易商品单位id",
  24534. "type": "integer"
  24535. },
  24536. "middlegoodsid": {
  24537. "description": "套保商品id",
  24538. "type": "integer"
  24539. },
  24540. "middlegoodsname": {
  24541. "description": "套保商品名称",
  24542. "type": "string"
  24543. },
  24544. "middlegoodsswcode": {
  24545. "description": "套保商品代码",
  24546. "type": "string"
  24547. },
  24548. "needarbitrageratio": {
  24549. "description": "应套利比例",
  24550. "type": "number"
  24551. },
  24552. "needhedgeratio": {
  24553. "description": "应套保比例",
  24554. "type": "number"
  24555. }
  24556. }
  24557. },
  24558. "models.ErmcpRole": {
  24559. "type": "object",
  24560. "properties": {
  24561. "areauserid": {
  24562. "description": "所属机构",
  24563. "type": "integer"
  24564. },
  24565. "autoid": {
  24566. "description": "角色ID(自增ID)",
  24567. "type": "integer"
  24568. },
  24569. "modifierid": {
  24570. "description": "修改人(创建人)",
  24571. "type": "integer"
  24572. },
  24573. "modifiername": {
  24574. "description": "修改人名称",
  24575. "type": "string"
  24576. },
  24577. "modifytime": {
  24578. "description": "修改时间(创建时间)",
  24579. "type": "string"
  24580. },
  24581. "rolename": {
  24582. "description": "角色名称",
  24583. "type": "string"
  24584. },
  24585. "rolestatus": {
  24586. "description": "角色状态 - 1:启用 2:停用",
  24587. "type": "integer"
  24588. },
  24589. "roletype": {
  24590. "description": "角色类型 - 1- 管理端 2- 交易端",
  24591. "type": "integer"
  24592. }
  24593. }
  24594. },
  24595. "models.ErmcpRoleMenu": {
  24596. "type": "object",
  24597. "properties": {
  24598. "iconame": {
  24599. "description": "菜单图标",
  24600. "type": "string"
  24601. },
  24602. "ishadrole": {
  24603. "description": "是否有权限",
  24604. "type": "boolean"
  24605. },
  24606. "menutype": {
  24607. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  24608. "type": "integer"
  24609. },
  24610. "parentcode": {
  24611. "description": "上级资源代码",
  24612. "type": "string"
  24613. },
  24614. "remark": {
  24615. "description": "菜单备注",
  24616. "type": "string"
  24617. },
  24618. "resourcecode": {
  24619. "description": "菜单代码",
  24620. "type": "string"
  24621. },
  24622. "resourcelevel": {
  24623. "description": "级别",
  24624. "type": "integer"
  24625. },
  24626. "resourcename": {
  24627. "description": "菜单名称",
  24628. "type": "string"
  24629. },
  24630. "roleid": {
  24631. "description": "角色id",
  24632. "type": "integer"
  24633. },
  24634. "sort": {
  24635. "description": "排序",
  24636. "type": "integer"
  24637. },
  24638. "url": {
  24639. "description": "URL",
  24640. "type": "string"
  24641. },
  24642. "userid": {
  24643. "description": "用户id",
  24644. "type": "integer"
  24645. }
  24646. }
  24647. },
  24648. "models.ErmcpRoleMenuEx": {
  24649. "type": "object",
  24650. "properties": {
  24651. "menu": {
  24652. "description": "父级菜单",
  24653. "$ref": "#/definitions/models.ErmcpRoleMenu"
  24654. },
  24655. "subMenu": {
  24656. "description": "子级菜单",
  24657. "type": "array",
  24658. "items": {
  24659. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  24660. }
  24661. }
  24662. }
  24663. },
  24664. "models.ErmcpTaAccount": {
  24665. "type": "object",
  24666. "properties": {
  24667. "accountid": {
  24668. "description": "账户id",
  24669. "type": "integer"
  24670. },
  24671. "accountname": {
  24672. "description": "账户名称",
  24673. "type": "string"
  24674. },
  24675. "currencyid": {
  24676. "description": "币种id",
  24677. "type": "integer"
  24678. },
  24679. "hedgeaccountcode": {
  24680. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24681. "type": "string"
  24682. },
  24683. "ismain": {
  24684. "description": "是否主账户 0-否 1-是",
  24685. "type": "integer"
  24686. },
  24687. "parentaccountid": {
  24688. "description": "父账户id",
  24689. "type": "integer"
  24690. },
  24691. "relateduserid": {
  24692. "description": "关联userid",
  24693. "type": "integer"
  24694. },
  24695. "tradefeetmpid": {
  24696. "description": "手续费模板id",
  24697. "type": "integer"
  24698. },
  24699. "tradefeetmpname": {
  24700. "description": "手续费模板名称",
  24701. "type": "string"
  24702. },
  24703. "trademargintmpid": {
  24704. "description": "保证金模板id",
  24705. "type": "integer"
  24706. },
  24707. "trademargintmpname": {
  24708. "description": "保证金模板名称",
  24709. "type": "string"
  24710. },
  24711. "traderatetmpid": {
  24712. "description": "汇率模板id",
  24713. "type": "integer"
  24714. },
  24715. "traderatetmpname": {
  24716. "description": "汇率模板名称",
  24717. "type": "string"
  24718. },
  24719. "tradestatus": {
  24720. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24721. "type": "integer"
  24722. },
  24723. "userid": {
  24724. "description": "用户id",
  24725. "type": "integer"
  24726. }
  24727. }
  24728. },
  24729. "models.ErmcpTaAccountEx": {
  24730. "type": "object",
  24731. "properties": {
  24732. "mainAcc": {
  24733. "description": "主账号",
  24734. "$ref": "#/definitions/models.ErmcpTaAccountM"
  24735. },
  24736. "subacclist": {
  24737. "description": "子账号列表",
  24738. "type": "array",
  24739. "items": {
  24740. "$ref": "#/definitions/models.ErmcpTaAccount"
  24741. }
  24742. }
  24743. }
  24744. },
  24745. "models.ErmcpTaAccountInfo": {
  24746. "type": "object",
  24747. "properties": {
  24748. "accountid": {
  24749. "description": "资金账户ID",
  24750. "type": "integer"
  24751. },
  24752. "accountname": {
  24753. "description": "账户名称",
  24754. "type": "string"
  24755. },
  24756. "balance": {
  24757. "description": "期初余额",
  24758. "type": "number"
  24759. },
  24760. "capitalbalance": {
  24761. "description": "本金余额[外部子账户实际出入金余额]",
  24762. "type": "number"
  24763. },
  24764. "closepl": {
  24765. "description": "今日平仓盈亏",
  24766. "type": "number"
  24767. },
  24768. "creditdecrease": {
  24769. "description": "今日授信减少",
  24770. "type": "number"
  24771. },
  24772. "creditincrease": {
  24773. "description": "今日授信增加",
  24774. "type": "number"
  24775. },
  24776. "curdebt": {
  24777. "description": "期末欠款",
  24778. "type": "number"
  24779. },
  24780. "currencyid": {
  24781. "description": "货币ID",
  24782. "type": "integer"
  24783. },
  24784. "currentbalance": {
  24785. "description": "期末余额",
  24786. "type": "number"
  24787. },
  24788. "freezecharge": {
  24789. "description": "手续费冻结",
  24790. "type": "number"
  24791. },
  24792. "freezemargin": {
  24793. "description": "冻结保证金",
  24794. "type": "number"
  24795. },
  24796. "fromaccountid": {
  24797. "description": "所属上级账户",
  24798. "type": "integer"
  24799. },
  24800. "inamount": {
  24801. "description": "今日入金金额(包括三方入金)",
  24802. "type": "number"
  24803. },
  24804. "ismain": {
  24805. "description": "是否母账号 0:不是母账户 1:是母账户",
  24806. "type": "integer"
  24807. },
  24808. "mortgagecredit": {
  24809. "description": "授信金额",
  24810. "type": "number"
  24811. },
  24812. "oridebt": {
  24813. "description": "期初欠款",
  24814. "type": "number"
  24815. },
  24816. "orifreezecharge": {
  24817. "description": "期初手续费冻结",
  24818. "type": "number"
  24819. },
  24820. "orifreezemargin": {
  24821. "description": "期初冻结保证金",
  24822. "type": "number"
  24823. },
  24824. "orimortgagecredit": {
  24825. "description": "期初授信金额",
  24826. "type": "number"
  24827. },
  24828. "oriothercredit": {
  24829. "description": "期初其它授信金额",
  24830. "type": "number"
  24831. },
  24832. "oriotherfreezemargin": {
  24833. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  24834. "type": "number"
  24835. },
  24836. "orioutamountfreeze": {
  24837. "description": "期初出金冻结",
  24838. "type": "number"
  24839. },
  24840. "oriusedmargin": {
  24841. "description": "期初占用保证金",
  24842. "type": "number"
  24843. },
  24844. "othercredit": {
  24845. "description": "其它授信金额",
  24846. "type": "number"
  24847. },
  24848. "othercreditdecrease": {
  24849. "description": "今日其它授信减少",
  24850. "type": "number"
  24851. },
  24852. "othercreditincrease": {
  24853. "description": "今日其它授信增加",
  24854. "type": "number"
  24855. },
  24856. "otherfreezemargin": {
  24857. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  24858. "type": "number"
  24859. },
  24860. "outamount": {
  24861. "description": "今日出金金额(包括三方出金)",
  24862. "type": "number"
  24863. },
  24864. "outamountfreeze": {
  24865. "description": "出金冻结",
  24866. "type": "number"
  24867. },
  24868. "outthreshold": {
  24869. "description": "出金阈值",
  24870. "type": "number"
  24871. },
  24872. "parentaccountid": {
  24873. "description": "所属根账号",
  24874. "type": "integer"
  24875. },
  24876. "paycharge": {
  24877. "description": "今日手续费支出",
  24878. "type": "number"
  24879. },
  24880. "relateduserid": {
  24881. "description": "关联用户",
  24882. "type": "integer"
  24883. },
  24884. "signstatus": {
  24885. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  24886. "type": "integer"
  24887. },
  24888. "sublevelpath": {
  24889. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  24890. "type": "string"
  24891. },
  24892. "taaccounttype": {
  24893. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  24894. "type": "integer"
  24895. },
  24896. "thirdinamount": {
  24897. "description": "今日三方入金",
  24898. "type": "number"
  24899. },
  24900. "thirdoutamount": {
  24901. "description": "今日三方出金",
  24902. "type": "number"
  24903. },
  24904. "tradestatus": {
  24905. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24906. "type": "integer"
  24907. },
  24908. "transferamount": {
  24909. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  24910. "type": "number"
  24911. },
  24912. "usedmargin": {
  24913. "description": "占用保证金",
  24914. "type": "number"
  24915. },
  24916. "userid": {
  24917. "description": "用户ID",
  24918. "type": "integer"
  24919. }
  24920. }
  24921. },
  24922. "models.ErmcpTaAccountM": {
  24923. "type": "object",
  24924. "properties": {
  24925. "accountid": {
  24926. "description": "账户id",
  24927. "type": "integer"
  24928. },
  24929. "accountname": {
  24930. "description": "账户名称",
  24931. "type": "string"
  24932. },
  24933. "currencyid": {
  24934. "description": "币种id",
  24935. "type": "integer"
  24936. },
  24937. "fcid": {
  24938. "description": "期货公司id",
  24939. "type": "integer"
  24940. },
  24941. "fcname": {
  24942. "description": "期货公司代码",
  24943. "type": "string"
  24944. },
  24945. "hedgeaccountcode": {
  24946. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  24947. "type": "string"
  24948. },
  24949. "ismain": {
  24950. "description": "是否主账户 0-否 1-是",
  24951. "type": "integer"
  24952. },
  24953. "parentaccountid": {
  24954. "description": "父账户id",
  24955. "type": "integer"
  24956. },
  24957. "relateduserid": {
  24958. "description": "关联userid",
  24959. "type": "integer"
  24960. },
  24961. "tradefeetmpid": {
  24962. "description": "手续费模板id",
  24963. "type": "integer"
  24964. },
  24965. "tradefeetmpname": {
  24966. "description": "手续费模板名称",
  24967. "type": "string"
  24968. },
  24969. "trademargintmpid": {
  24970. "description": "保证金模板id",
  24971. "type": "integer"
  24972. },
  24973. "trademargintmpname": {
  24974. "description": "保证金模板名称",
  24975. "type": "string"
  24976. },
  24977. "traderatetmpid": {
  24978. "description": "汇率模板id",
  24979. "type": "integer"
  24980. },
  24981. "traderatetmpname": {
  24982. "description": "汇率模板名称",
  24983. "type": "string"
  24984. },
  24985. "tradestatus": {
  24986. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  24987. "type": "integer"
  24988. },
  24989. "userid": {
  24990. "description": "用户id",
  24991. "type": "integer"
  24992. }
  24993. }
  24994. },
  24995. "models.ErmcpTradeConfigTMP": {
  24996. "type": "object",
  24997. "properties": {
  24998. "areauserid": {
  24999. "description": "所属机构",
  25000. "type": "integer"
  25001. },
  25002. "basiccurrencyid": {
  25003. "description": "基本币种ID[汇率] - 目标币种",
  25004. "type": "integer"
  25005. },
  25006. "mainaccountid": {
  25007. "description": "主账户ID",
  25008. "type": "integer"
  25009. },
  25010. "modifierid": {
  25011. "description": "修改人",
  25012. "type": "integer"
  25013. },
  25014. "remark": {
  25015. "description": "备注",
  25016. "type": "string"
  25017. },
  25018. "tradeconfigtmpid": {
  25019. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  25020. "type": "integer"
  25021. },
  25022. "tradeconfigtmpname": {
  25023. "description": "交易配置模板名称",
  25024. "type": "string"
  25025. },
  25026. "tradeconfigtmptype": {
  25027. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  25028. "type": "integer"
  25029. },
  25030. "updatetime": {
  25031. "description": "更新时间",
  25032. "type": "string"
  25033. }
  25034. }
  25035. },
  25036. "models.Externalexchange": {
  25037. "type": "object",
  25038. "required": [
  25039. "autoid"
  25040. ],
  25041. "properties": {
  25042. "autoid": {
  25043. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  25044. "type": "integer"
  25045. },
  25046. "exchangefullname": {
  25047. "description": "外部交易所全称",
  25048. "type": "string"
  25049. },
  25050. "exexchangecode": {
  25051. "description": "外部交易所代码",
  25052. "type": "string"
  25053. },
  25054. "exexchangename": {
  25055. "description": "外部交易所名称(简称)",
  25056. "type": "string"
  25057. },
  25058. "ismarketprice": {
  25059. "description": "是否支持市价 - 0:不支持 1:支持",
  25060. "type": "integer"
  25061. },
  25062. "quotegear": {
  25063. "description": "行情档位(1-10)",
  25064. "type": "integer"
  25065. },
  25066. "showbrokerflag": {
  25067. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  25068. "type": "integer"
  25069. },
  25070. "updatetime": {
  25071. "description": "更新时间",
  25072. "type": "string"
  25073. }
  25074. }
  25075. },
  25076. "models.Funcmenulist": {
  25077. "type": "object",
  25078. "required": [
  25079. "resourcecode"
  25080. ],
  25081. "properties": {
  25082. "iconame": {
  25083. "description": "菜单图标",
  25084. "type": "string"
  25085. },
  25086. "menutype": {
  25087. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  25088. "type": "integer"
  25089. },
  25090. "parentcode": {
  25091. "description": "上级资源代码",
  25092. "type": "string"
  25093. },
  25094. "remark": {
  25095. "description": "备注",
  25096. "type": "string"
  25097. },
  25098. "resourcecode": {
  25099. "description": "资源代码",
  25100. "type": "string"
  25101. },
  25102. "resourcelevel": {
  25103. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  25104. "type": "integer"
  25105. },
  25106. "resourcename": {
  25107. "description": "资源名",
  25108. "type": "string"
  25109. },
  25110. "sort": {
  25111. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  25112. "type": "integer"
  25113. },
  25114. "url": {
  25115. "description": "URL",
  25116. "type": "string"
  25117. }
  25118. }
  25119. },
  25120. "models.Goods": {
  25121. "type": "object",
  25122. "required": [
  25123. "goodscode",
  25124. "goodsid",
  25125. "goodsname",
  25126. "marketid"
  25127. ],
  25128. "properties": {
  25129. "agreeunit": {
  25130. "description": "合约单位",
  25131. "type": "number"
  25132. },
  25133. "areauserid": {
  25134. "description": "所属机构",
  25135. "type": "integer"
  25136. },
  25137. "auditaccountid": {
  25138. "description": "审核操作员账号",
  25139. "type": "integer"
  25140. },
  25141. "audittime": {
  25142. "description": "审核时间",
  25143. "type": "string"
  25144. },
  25145. "cancelaccountid": {
  25146. "description": "注销操作员账号",
  25147. "type": "integer"
  25148. },
  25149. "canceltime": {
  25150. "description": "注销时间",
  25151. "type": "string"
  25152. },
  25153. "closepricemode": {
  25154. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25155. "type": "integer"
  25156. },
  25157. "closepriceparam": {
  25158. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  25159. "type": "number"
  25160. },
  25161. "createtime": {
  25162. "description": "创建时间",
  25163. "type": "string"
  25164. },
  25165. "creatorid": {
  25166. "description": "创建人",
  25167. "type": "integer"
  25168. },
  25169. "currencyid": {
  25170. "description": "报价货币ID",
  25171. "type": "integer"
  25172. },
  25173. "cutmode": {
  25174. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  25175. "type": "integer"
  25176. },
  25177. "decimalplace": {
  25178. "description": "报价小数位",
  25179. "type": "integer"
  25180. },
  25181. "delistingdate": {
  25182. "description": "商品退市时间(状态:退市) -- 已作废",
  25183. "type": "string"
  25184. },
  25185. "delistingmode": {
  25186. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  25187. "type": "integer"
  25188. },
  25189. "deliveryflag": {
  25190. "description": "交割标志 - 0:不可交割 1:可交割",
  25191. "type": "integer"
  25192. },
  25193. "forceclosemode": {
  25194. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  25195. "type": "integer"
  25196. },
  25197. "forceclosevalue": {
  25198. "description": "定期强平参数 [收益权]",
  25199. "type": "integer"
  25200. },
  25201. "goodscode": {
  25202. "description": "商品代码(内部)",
  25203. "type": "string"
  25204. },
  25205. "goodscurrencyid": {
  25206. "description": "合约货币ID",
  25207. "type": "integer"
  25208. },
  25209. "goodsgroupid": {
  25210. "description": "所属商品组ID",
  25211. "type": "integer"
  25212. },
  25213. "goodsid": {
  25214. "description": "商品ID(自增ID SEQ_GOODS)",
  25215. "type": "integer"
  25216. },
  25217. "goodsname": {
  25218. "description": "商品名称",
  25219. "type": "string"
  25220. },
  25221. "goodsquotetype": {
  25222. "description": "合约报价类型: 1-直接报价 2-间接报价",
  25223. "type": "integer"
  25224. },
  25225. "goodsstatus": {
  25226. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25227. "type": "integer"
  25228. },
  25229. "goodstradetype": {
  25230. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  25231. "type": "integer"
  25232. },
  25233. "goodunitid": {
  25234. "description": "报价单位ID",
  25235. "type": "integer"
  25236. },
  25237. "hasquoter": {
  25238. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  25239. "type": "integer"
  25240. },
  25241. "hqprotecttime": {
  25242. "description": "行情保护时间(秒)",
  25243. "type": "integer"
  25244. },
  25245. "innerdealmode": {
  25246. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25247. "type": "integer"
  25248. },
  25249. "isbuylimited": {
  25250. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25251. "type": "integer"
  25252. },
  25253. "isvisible": {
  25254. "description": "游客是否可见 - 0:不可见 1:可见",
  25255. "type": "integer"
  25256. },
  25257. "lasttradedate": {
  25258. "description": "最后交易日期(状态:待退市)",
  25259. "type": "string"
  25260. },
  25261. "listingdate": {
  25262. "description": "交易开始日期",
  25263. "type": "string"
  25264. },
  25265. "marketid": {
  25266. "description": "所属市场ID",
  25267. "type": "integer"
  25268. },
  25269. "modifierid": {
  25270. "description": "修改人",
  25271. "type": "integer"
  25272. },
  25273. "modifystatus": {
  25274. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  25275. "type": "integer"
  25276. },
  25277. "modifytime": {
  25278. "description": "修改时间",
  25279. "type": "string"
  25280. },
  25281. "outerdealmode": {
  25282. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25283. "type": "integer"
  25284. },
  25285. "outgoodscode": {
  25286. "description": "商品代码(外部)",
  25287. "type": "string"
  25288. },
  25289. "pictureurl": {
  25290. "description": "商品图片",
  25291. "type": "string"
  25292. },
  25293. "qtydecimalplace": {
  25294. "description": "成交量小数位",
  25295. "type": "integer"
  25296. },
  25297. "quotegear": {
  25298. "description": "行情档位(1-10)",
  25299. "type": "integer"
  25300. },
  25301. "quoteminunit": {
  25302. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25303. "type": "integer"
  25304. },
  25305. "quoteshowtype": {
  25306. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  25307. "type": "integer"
  25308. },
  25309. "quoteshowtypeinterval": {
  25310. "description": "行情报价间隔时间(秒)(成交价时为0)",
  25311. "type": "integer"
  25312. },
  25313. "remark": {
  25314. "description": "备注",
  25315. "type": "string"
  25316. }
  25317. }
  25318. },
  25319. "models.GoodsIDAndName": {
  25320. "type": "object",
  25321. "required": [
  25322. "goodscode",
  25323. "goodsid",
  25324. "goodsname",
  25325. "marketid"
  25326. ],
  25327. "properties": {
  25328. "goodscode": {
  25329. "description": "商品代码(内部)",
  25330. "type": "string"
  25331. },
  25332. "goodsid": {
  25333. "description": "商品ID(自增ID SEQ_GOODS)",
  25334. "type": "integer"
  25335. },
  25336. "goodsname": {
  25337. "description": "商品名称",
  25338. "type": "string"
  25339. },
  25340. "marketid": {
  25341. "description": "所属市场ID",
  25342. "type": "integer"
  25343. }
  25344. }
  25345. },
  25346. "models.Goodsgroup": {
  25347. "type": "object",
  25348. "required": [
  25349. "goodsgroupid",
  25350. "goodsgroupname",
  25351. "goodsgroupstatus",
  25352. "marketid"
  25353. ],
  25354. "properties": {
  25355. "agreeunit": {
  25356. "description": "合约单位",
  25357. "type": "number"
  25358. },
  25359. "canshort": {
  25360. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  25361. "type": "integer"
  25362. },
  25363. "closepricemode": {
  25364. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25365. "type": "integer"
  25366. },
  25367. "closepriceparam": {
  25368. "description": "强平最新价浮动比例 - 方式为2时使用",
  25369. "type": "number"
  25370. },
  25371. "createtime": {
  25372. "description": "创建时间",
  25373. "type": "string"
  25374. },
  25375. "creatorid": {
  25376. "description": "创建人",
  25377. "type": "integer"
  25378. },
  25379. "currencyid": {
  25380. "description": "报价货币ID",
  25381. "type": "integer"
  25382. },
  25383. "decimalplace": {
  25384. "description": "报价小数位",
  25385. "type": "integer"
  25386. },
  25387. "exercisetype": {
  25388. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  25389. "type": "integer"
  25390. },
  25391. "exexchangeid": {
  25392. "description": "外部交易所ID[通道交易]",
  25393. "type": "integer"
  25394. },
  25395. "goodsgroupid": {
  25396. "description": "商品组ID(自增ID)",
  25397. "type": "integer"
  25398. },
  25399. "goodsgroupname": {
  25400. "description": "商品组名称",
  25401. "type": "string"
  25402. },
  25403. "goodsgroupstatus": {
  25404. "description": "商品组状态 - 1:正常 2:注销",
  25405. "type": "integer"
  25406. },
  25407. "goodunitid": {
  25408. "description": "报价单位ID",
  25409. "type": "integer"
  25410. },
  25411. "innerdealmode": {
  25412. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25413. "type": "integer"
  25414. },
  25415. "isbuylimited": {
  25416. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25417. "type": "integer"
  25418. },
  25419. "marketid": {
  25420. "description": "所属市场ID",
  25421. "type": "integer"
  25422. },
  25423. "modifierid": {
  25424. "description": "修改人",
  25425. "type": "integer"
  25426. },
  25427. "modifytime": {
  25428. "description": "修改时间",
  25429. "type": "string"
  25430. },
  25431. "outerdealmode": {
  25432. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25433. "type": "integer"
  25434. },
  25435. "outergroupcode": {
  25436. "description": "外部商品组代码[通道交易]",
  25437. "type": "string"
  25438. },
  25439. "premiumdecimalplace": {
  25440. "description": "权利金小数位[场外期权]",
  25441. "type": "integer"
  25442. },
  25443. "premiumspreadalgorithm": {
  25444. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  25445. "type": "integer"
  25446. },
  25447. "premiumspreadvalue": {
  25448. "description": "权利金点差值[场外期权]",
  25449. "type": "number"
  25450. },
  25451. "qtydecimalplace": {
  25452. "description": "成交量小数位",
  25453. "type": "integer"
  25454. },
  25455. "quotegear": {
  25456. "description": "行情档位(1-10)",
  25457. "type": "integer"
  25458. },
  25459. "quoteminunit": {
  25460. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25461. "type": "integer"
  25462. },
  25463. "quoterid": {
  25464. "description": "报价商ID[场外期权]",
  25465. "type": "integer"
  25466. },
  25467. "quotesourcegroupid": {
  25468. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25469. "type": "integer"
  25470. },
  25471. "syncgoodsqty": {
  25472. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25473. "type": "integer"
  25474. }
  25475. }
  25476. },
  25477. "models.Goodssortbypreposition": {
  25478. "type": "object",
  25479. "required": [
  25480. "goodscode",
  25481. "tradedate"
  25482. ],
  25483. "properties": {
  25484. "goodscode": {
  25485. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  25486. "type": "string"
  25487. },
  25488. "goodsgroupcode": {
  25489. "description": "品种代码",
  25490. "type": "string"
  25491. },
  25492. "prepositionqty": {
  25493. "description": "昨持仓量",
  25494. "type": "integer"
  25495. },
  25496. "sortindex": {
  25497. "description": "排序",
  25498. "type": "integer"
  25499. },
  25500. "tradedate": {
  25501. "description": "交易日",
  25502. "type": "string"
  25503. },
  25504. "updatetime": {
  25505. "description": "更新时间",
  25506. "type": "string"
  25507. }
  25508. }
  25509. },
  25510. "models.Hedgeinnerholderdetail": {
  25511. "type": "object",
  25512. "required": [
  25513. "buyorsell",
  25514. "tradeid"
  25515. ],
  25516. "properties": {
  25517. "accountid": {
  25518. "description": "账号ID",
  25519. "type": "integer"
  25520. },
  25521. "buyorsell": {
  25522. "description": "方向 - 0:买 1:卖",
  25523. "type": "integer"
  25524. },
  25525. "freezeqty": {
  25526. "description": "冻结数量 - 按单平使用",
  25527. "type": "integer"
  25528. },
  25529. "goodsid": {
  25530. "description": "商品ID",
  25531. "type": "integer"
  25532. },
  25533. "holderamount": {
  25534. "description": "持仓金额 [商品币种]",
  25535. "type": "number"
  25536. },
  25537. "holderdays": {
  25538. "description": "剩余冻结天数",
  25539. "type": "integer"
  25540. },
  25541. "holderprice": {
  25542. "description": "持仓价格",
  25543. "type": "number"
  25544. },
  25545. "holderqty": {
  25546. "description": "持仓数量",
  25547. "type": "integer"
  25548. },
  25549. "marketid": {
  25550. "description": "市场ID",
  25551. "type": "integer"
  25552. },
  25553. "openprice": {
  25554. "description": "建仓价格",
  25555. "type": "number"
  25556. },
  25557. "openqty": {
  25558. "description": "建仓数量",
  25559. "type": "integer"
  25560. },
  25561. "parentaccountid": {
  25562. "description": "所属母账户",
  25563. "type": "integer"
  25564. },
  25565. "releaseamount": {
  25566. "description": "释放持仓金额[商品币种]",
  25567. "type": "number"
  25568. },
  25569. "tradeamount": {
  25570. "description": "成交金额[账户]",
  25571. "type": "number"
  25572. },
  25573. "tradedate": {
  25574. "description": "交易日(yyyyMMdd)",
  25575. "type": "string"
  25576. },
  25577. "tradeid": {
  25578. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25579. "type": "string"
  25580. },
  25581. "tradetime": {
  25582. "description": "交易时间",
  25583. "type": "string"
  25584. }
  25585. }
  25586. },
  25587. "models.Hedgemarketopenlog": {
  25588. "type": "object",
  25589. "required": [
  25590. "accountid"
  25591. ],
  25592. "properties": {
  25593. "accountid": {
  25594. "description": "资金账号[外部母账户]",
  25595. "type": "integer"
  25596. },
  25597. "fcname": {
  25598. "description": "期货公司名称",
  25599. "type": "string"
  25600. },
  25601. "handlestatus": {
  25602. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  25603. "type": "integer"
  25604. },
  25605. "marketid": {
  25606. "description": "市场ID",
  25607. "type": "integer"
  25608. },
  25609. "status": {
  25610. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  25611. "type": "integer"
  25612. },
  25613. "tradedate": {
  25614. "description": "交易日(yyyyMMdd)",
  25615. "type": "string"
  25616. },
  25617. "updatetime": {
  25618. "description": "更新时间",
  25619. "type": "string"
  25620. }
  25621. }
  25622. },
  25623. "models.HsbyBuyMyPayOrder": {
  25624. "type": "object",
  25625. "required": [
  25626. "goodscode",
  25627. "goodsname",
  25628. "tradeid",
  25629. "trademode"
  25630. ],
  25631. "properties": {
  25632. "agreeunit": {
  25633. "description": "合约单位",
  25634. "type": "number"
  25635. },
  25636. "buyaccountid": {
  25637. "description": "买方账号ID[报价币种]",
  25638. "type": "integer"
  25639. },
  25640. "buyorderid": {
  25641. "description": "买方委托单号",
  25642. "type": "string"
  25643. },
  25644. "createtime": {
  25645. "description": "创建时间",
  25646. "type": "string"
  25647. },
  25648. "currencysign": {
  25649. "description": "货币符号",
  25650. "type": "string"
  25651. },
  25652. "decimalplace": {
  25653. "description": "报价小数位",
  25654. "type": "integer"
  25655. },
  25656. "goodscode": {
  25657. "description": "商品代码(内部)",
  25658. "type": "string"
  25659. },
  25660. "goodsid": {
  25661. "description": "商品ID",
  25662. "type": "integer"
  25663. },
  25664. "goodsname": {
  25665. "description": "商品名称",
  25666. "type": "string"
  25667. },
  25668. "marketid": {
  25669. "description": "市场ID",
  25670. "type": "integer"
  25671. },
  25672. "offamount": {
  25673. "description": "优惠金额",
  25674. "type": "number"
  25675. },
  25676. "originalamount": {
  25677. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  25678. "type": "number"
  25679. },
  25680. "payamount": {
  25681. "description": "支付金额 = TradeAmount + TradeCharge",
  25682. "type": "number"
  25683. },
  25684. "payflag": {
  25685. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25686. "type": "integer"
  25687. },
  25688. "paylimitedtime": {
  25689. "description": "支付期限",
  25690. "type": "string"
  25691. },
  25692. "paytime": {
  25693. "description": "付款时间",
  25694. "type": "string"
  25695. },
  25696. "picurls1": {
  25697. "description": "预售商品介绍图片[多张用逗号分隔]",
  25698. "type": "string"
  25699. },
  25700. "picurls2": {
  25701. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25702. "type": "string"
  25703. },
  25704. "sellaccountid": {
  25705. "description": "卖方账号ID[报价币种]",
  25706. "type": "integer"
  25707. },
  25708. "sellorderid": {
  25709. "description": "卖方委托单号",
  25710. "type": "string"
  25711. },
  25712. "tradeamount": {
  25713. "description": "成交金额",
  25714. "type": "number"
  25715. },
  25716. "tradecharge": {
  25717. "description": "成交手续费(买方)",
  25718. "type": "number"
  25719. },
  25720. "tradedate": {
  25721. "description": "交易日(yyyyMMdd)",
  25722. "type": "string"
  25723. },
  25724. "tradeid": {
  25725. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25726. "type": "string"
  25727. },
  25728. "trademode": {
  25729. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25730. "type": "integer"
  25731. },
  25732. "tradeprice": {
  25733. "description": "成交价格",
  25734. "type": "number"
  25735. },
  25736. "tradeqty": {
  25737. "description": "成交数量",
  25738. "type": "integer"
  25739. },
  25740. "vendorname1": {
  25741. "description": "预售商品供应商名称",
  25742. "type": "string"
  25743. },
  25744. "vendorname2": {
  25745. "description": "挂牌商品供应商名称",
  25746. "type": "string"
  25747. }
  25748. }
  25749. },
  25750. "models.HsbyBuyMyTradeDetail": {
  25751. "type": "object",
  25752. "required": [
  25753. "accountid",
  25754. "buyorsell",
  25755. "goodscode",
  25756. "goodsid",
  25757. "goodsname",
  25758. "marketid",
  25759. "orderid",
  25760. "qty",
  25761. "time",
  25762. "trademode"
  25763. ],
  25764. "properties": {
  25765. "accountid": {
  25766. "description": "账户ID[报价币种]",
  25767. "type": "integer"
  25768. },
  25769. "agreeunit": {
  25770. "description": "合约单位",
  25771. "type": "number"
  25772. },
  25773. "amount": {
  25774. "description": "金额 = 价格 * 数量 * 合约单位",
  25775. "type": "number"
  25776. },
  25777. "buyorsell": {
  25778. "description": "买卖 - 0:买 1:卖",
  25779. "type": "integer"
  25780. },
  25781. "currencysign": {
  25782. "description": "货币符号",
  25783. "type": "string"
  25784. },
  25785. "decimalplace": {
  25786. "description": "报价小数位",
  25787. "type": "integer"
  25788. },
  25789. "goodscode": {
  25790. "description": "商品代码(内部)",
  25791. "type": "string"
  25792. },
  25793. "goodsid": {
  25794. "description": "商品ID",
  25795. "type": "integer"
  25796. },
  25797. "goodsname": {
  25798. "description": "商品名称",
  25799. "type": "string"
  25800. },
  25801. "marketid": {
  25802. "description": "市场ID",
  25803. "type": "integer"
  25804. },
  25805. "orderamount": {
  25806. "description": "委托金额",
  25807. "type": "number"
  25808. },
  25809. "orderid": {
  25810. "description": "单号(成交单号)",
  25811. "type": "string"
  25812. },
  25813. "picurls1": {
  25814. "description": "预售商品介绍图片[多张用逗号分隔]",
  25815. "type": "string"
  25816. },
  25817. "picurls2": {
  25818. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  25819. "type": "string"
  25820. },
  25821. "price": {
  25822. "description": "价格",
  25823. "type": "number"
  25824. },
  25825. "qty": {
  25826. "description": "数量",
  25827. "type": "integer"
  25828. },
  25829. "time": {
  25830. "description": "时间",
  25831. "type": "string"
  25832. },
  25833. "trademode": {
  25834. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25835. "type": "integer"
  25836. },
  25837. "vendorname1": {
  25838. "description": "预售商品供应商名称",
  25839. "type": "string"
  25840. },
  25841. "vendorname2": {
  25842. "description": "挂牌商品供应商名称",
  25843. "type": "string"
  25844. }
  25845. }
  25846. },
  25847. "models.HsbyGoodsOrderDetail": {
  25848. "type": "object",
  25849. "required": [
  25850. "buyorsell",
  25851. "orderid",
  25852. "ordertime"
  25853. ],
  25854. "properties": {
  25855. "buyorsell": {
  25856. "description": "买卖 - 0:买 1:卖",
  25857. "type": "integer"
  25858. },
  25859. "currencysign": {
  25860. "description": "货币符号",
  25861. "type": "string"
  25862. },
  25863. "customername": {
  25864. "description": "客户名称(企业名称),已脱敏",
  25865. "type": "string"
  25866. },
  25867. "enableqty": {
  25868. "description": "可用数量",
  25869. "type": "integer"
  25870. },
  25871. "goodunit": {
  25872. "description": "报价单位",
  25873. "type": "string"
  25874. },
  25875. "orderid": {
  25876. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25877. "type": "string"
  25878. },
  25879. "orderprice": {
  25880. "description": "委托价格",
  25881. "type": "number"
  25882. },
  25883. "ordertime": {
  25884. "description": "委托时间",
  25885. "type": "string"
  25886. }
  25887. }
  25888. },
  25889. "models.HsbyListingGoodsDetail": {
  25890. "type": "object",
  25891. "required": [
  25892. "goodscode",
  25893. "goodsid",
  25894. "goodsname",
  25895. "marketid",
  25896. "trademode"
  25897. ],
  25898. "properties": {
  25899. "agreeunit": {
  25900. "description": "合约单位",
  25901. "type": "number"
  25902. },
  25903. "buymaxqty": {
  25904. "description": "购买上限 [71] - 0为不限",
  25905. "type": "integer"
  25906. },
  25907. "currency": {
  25908. "description": "货币",
  25909. "type": "string"
  25910. },
  25911. "currencysign": {
  25912. "description": "货币符号",
  25913. "type": "string"
  25914. },
  25915. "decimalplace": {
  25916. "description": "报价小数位",
  25917. "type": "integer"
  25918. },
  25919. "desccityid": {
  25920. "description": "目的地(市)ID",
  25921. "type": "integer"
  25922. },
  25923. "descprovinceid": {
  25924. "description": "目的地(省)ID",
  25925. "type": "integer"
  25926. },
  25927. "goodscode": {
  25928. "description": "商品代码(内部)",
  25929. "type": "string"
  25930. },
  25931. "goodsdesc": {
  25932. "description": "商品详情",
  25933. "type": "string"
  25934. },
  25935. "goodsid": {
  25936. "description": "商品ID(自增ID SEQ_GOODS)",
  25937. "type": "integer"
  25938. },
  25939. "goodsname": {
  25940. "description": "商品名称",
  25941. "type": "string"
  25942. },
  25943. "goodsprice": {
  25944. "description": "商品价格",
  25945. "type": "number"
  25946. },
  25947. "hotindex": {
  25948. "description": "景点热度",
  25949. "type": "integer"
  25950. },
  25951. "last": {
  25952. "description": "现价",
  25953. "type": "number"
  25954. },
  25955. "limitdown": {
  25956. "description": "跌停价",
  25957. "type": "number"
  25958. },
  25959. "limitup": {
  25960. "description": "涨停价",
  25961. "type": "number"
  25962. },
  25963. "lotsize": {
  25964. "description": "手数最小变动单位",
  25965. "type": "integer"
  25966. },
  25967. "marketid": {
  25968. "description": "所属市场ID",
  25969. "type": "integer"
  25970. },
  25971. "picurls": {
  25972. "description": "介绍图片[多张用逗号分隔]",
  25973. "type": "string"
  25974. },
  25975. "quoteminunit": {
  25976. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25977. "type": "integer"
  25978. },
  25979. "stepvalue": {
  25980. "description": "价格最小变动单位",
  25981. "type": "number"
  25982. },
  25983. "trademode": {
  25984. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25985. "type": "integer"
  25986. },
  25987. "vendorattr": {
  25988. "description": "供应商附件(多张,逗号分隔)",
  25989. "type": "string"
  25990. },
  25991. "vendorname": {
  25992. "description": "供应商名称",
  25993. "type": "string"
  25994. },
  25995. "vendorphone": {
  25996. "description": "供应商客服电话",
  25997. "type": "string"
  25998. },
  25999. "videourls": {
  26000. "description": "介绍视频[多张用逗号分隔]",
  26001. "type": "string"
  26002. }
  26003. }
  26004. },
  26005. "models.HsbyMarketGoods": {
  26006. "type": "object",
  26007. "required": [
  26008. "accountid",
  26009. "buyorsell",
  26010. "goodscode",
  26011. "goodsid",
  26012. "goodsname",
  26013. "marketid",
  26014. "orderid",
  26015. "trademode"
  26016. ],
  26017. "properties": {
  26018. "accountid": {
  26019. "description": "账户ID[报价币种]",
  26020. "type": "integer"
  26021. },
  26022. "agreeunit": {
  26023. "description": "合约单位",
  26024. "type": "number"
  26025. },
  26026. "buyorsell": {
  26027. "description": "买卖 - 0:买 1:卖",
  26028. "type": "integer"
  26029. },
  26030. "categoryid": {
  26031. "description": "类别ID(WRCATEGORY)",
  26032. "type": "integer"
  26033. },
  26034. "currency": {
  26035. "description": "货币",
  26036. "type": "string"
  26037. },
  26038. "currencysign": {
  26039. "description": "货币符号",
  26040. "type": "string"
  26041. },
  26042. "customername": {
  26043. "description": "卖家名称",
  26044. "type": "string"
  26045. },
  26046. "decimalplace": {
  26047. "description": "报价小数位",
  26048. "type": "integer"
  26049. },
  26050. "goodscode": {
  26051. "description": "商品代码(内部)",
  26052. "type": "string"
  26053. },
  26054. "goodsid": {
  26055. "description": "商品ID",
  26056. "type": "integer"
  26057. },
  26058. "goodsname": {
  26059. "description": "商品名称",
  26060. "type": "string"
  26061. },
  26062. "goodsprice": {
  26063. "description": "商品价格",
  26064. "type": "number"
  26065. },
  26066. "hascoupon": {
  26067. "description": "是否可用优惠卷",
  26068. "type": "boolean"
  26069. },
  26070. "hotindex": {
  26071. "description": "景点热度",
  26072. "type": "integer"
  26073. },
  26074. "marketid": {
  26075. "description": "市场ID",
  26076. "type": "integer"
  26077. },
  26078. "orderid": {
  26079. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26080. "type": "string"
  26081. },
  26082. "orderprice": {
  26083. "description": "委托价格",
  26084. "type": "number"
  26085. },
  26086. "orderstatus": {
  26087. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26088. "type": "integer"
  26089. },
  26090. "picurls": {
  26091. "description": "介绍图片[多张用逗号分隔]",
  26092. "type": "string"
  26093. },
  26094. "quoteminunit": {
  26095. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26096. "type": "integer"
  26097. },
  26098. "sellUserID": {
  26099. "description": "卖方UserID",
  26100. "type": "integer"
  26101. },
  26102. "trademode": {
  26103. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26104. "type": "integer"
  26105. },
  26106. "videourls": {
  26107. "description": "介绍视频[多张用逗号分隔]",
  26108. "type": "string"
  26109. }
  26110. }
  26111. },
  26112. "models.HsbyMarketGoodsDetail": {
  26113. "type": "object",
  26114. "required": [
  26115. "accountid",
  26116. "buyorsell",
  26117. "goodscode",
  26118. "goodsid",
  26119. "goodsname",
  26120. "marketid",
  26121. "orderid",
  26122. "orderqty",
  26123. "trademode"
  26124. ],
  26125. "properties": {
  26126. "accountid": {
  26127. "description": "账户ID[报价币种]",
  26128. "type": "integer"
  26129. },
  26130. "agreeunit": {
  26131. "description": "合约单位",
  26132. "type": "number"
  26133. },
  26134. "buymaxqty": {
  26135. "description": "购买上限 [71] - 0为不限",
  26136. "type": "integer"
  26137. },
  26138. "buyorsell": {
  26139. "description": "买卖 - 0:买 1:卖",
  26140. "type": "integer"
  26141. },
  26142. "cancelqty": {
  26143. "description": "撤单数量",
  26144. "type": "integer"
  26145. },
  26146. "categoryid": {
  26147. "description": "类别ID(WRCATEGORY)",
  26148. "type": "integer"
  26149. },
  26150. "currency": {
  26151. "description": "货币",
  26152. "type": "string"
  26153. },
  26154. "currencysign": {
  26155. "description": "货币符号",
  26156. "type": "string"
  26157. },
  26158. "customername": {
  26159. "description": "卖家名称",
  26160. "type": "string"
  26161. },
  26162. "decimalplace": {
  26163. "description": "报价小数位",
  26164. "type": "integer"
  26165. },
  26166. "goodscode": {
  26167. "description": "商品代码(内部)",
  26168. "type": "string"
  26169. },
  26170. "goodsdesc": {
  26171. "description": "商品详情",
  26172. "type": "string"
  26173. },
  26174. "goodsid": {
  26175. "description": "商品ID",
  26176. "type": "integer"
  26177. },
  26178. "goodsname": {
  26179. "description": "商品名称",
  26180. "type": "string"
  26181. },
  26182. "goodsprice": {
  26183. "description": "商品价格",
  26184. "type": "number"
  26185. },
  26186. "hotindex": {
  26187. "description": "景点热度",
  26188. "type": "integer"
  26189. },
  26190. "lotsize": {
  26191. "description": "手数最小变动单位",
  26192. "type": "integer"
  26193. },
  26194. "marketid": {
  26195. "description": "市场ID",
  26196. "type": "integer"
  26197. },
  26198. "orderid": {
  26199. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26200. "type": "string"
  26201. },
  26202. "orderprice": {
  26203. "description": "委托价格",
  26204. "type": "number"
  26205. },
  26206. "orderqty": {
  26207. "description": "委托数量",
  26208. "type": "integer"
  26209. },
  26210. "orderstatus": {
  26211. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26212. "type": "integer"
  26213. },
  26214. "picurls": {
  26215. "description": "介绍图片[多张用逗号分隔]",
  26216. "type": "string"
  26217. },
  26218. "quoteminunit": {
  26219. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26220. "type": "integer"
  26221. },
  26222. "sellUserID": {
  26223. "description": "卖方UserID",
  26224. "type": "integer"
  26225. },
  26226. "trademode": {
  26227. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26228. "type": "integer"
  26229. },
  26230. "tradeqty": {
  26231. "description": "成交数量",
  26232. "type": "integer"
  26233. },
  26234. "vendorattr": {
  26235. "description": "供应商附件(多张,逗号分隔)",
  26236. "type": "string"
  26237. },
  26238. "vendorname": {
  26239. "description": "供应商名称",
  26240. "type": "string"
  26241. },
  26242. "vendorphone": {
  26243. "description": "供应商客服电话",
  26244. "type": "string"
  26245. },
  26246. "videourls": {
  26247. "description": "介绍视频[多张用逗号分隔]",
  26248. "type": "string"
  26249. }
  26250. }
  26251. },
  26252. "models.HsbyMarketInfo": {
  26253. "type": "object",
  26254. "required": [
  26255. "marketid",
  26256. "marketstatus",
  26257. "trademode"
  26258. ],
  26259. "properties": {
  26260. "marketid": {
  26261. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  26262. "type": "integer"
  26263. },
  26264. "marketname": {
  26265. "description": "市场名称",
  26266. "type": "string"
  26267. },
  26268. "marketstatus": {
  26269. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  26270. "type": "integer"
  26271. },
  26272. "trademode": {
  26273. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26274. "type": "integer"
  26275. }
  26276. }
  26277. },
  26278. "models.HsbyMyGoods": {
  26279. "type": "object",
  26280. "required": [
  26281. "accountid",
  26282. "goodscode",
  26283. "goodsid",
  26284. "goodsname",
  26285. "marketid",
  26286. "trademode"
  26287. ],
  26288. "properties": {
  26289. "accountid": {
  26290. "description": "账号Id",
  26291. "type": "integer"
  26292. },
  26293. "agreeunit": {
  26294. "description": "合约单位",
  26295. "type": "number"
  26296. },
  26297. "buyaverageprice": {
  26298. "description": "持仓均价",
  26299. "type": "number"
  26300. },
  26301. "buycurholderamount": {
  26302. "description": "买当前持仓总金额[商品币种]",
  26303. "type": "number"
  26304. },
  26305. "buycurpositionqty": {
  26306. "description": "买当前持仓总数量",
  26307. "type": "integer"
  26308. },
  26309. "buymaxqty": {
  26310. "description": "购买上限 [71] - 0为不限",
  26311. "type": "integer"
  26312. },
  26313. "currencysign": {
  26314. "description": "货币符号",
  26315. "type": "string"
  26316. },
  26317. "decimalplace": {
  26318. "description": "报价小数位",
  26319. "type": "integer"
  26320. },
  26321. "enableqty": {
  26322. "description": "可用数量",
  26323. "type": "integer"
  26324. },
  26325. "goodscode": {
  26326. "description": "商品代码(内部)",
  26327. "type": "string"
  26328. },
  26329. "goodsid": {
  26330. "description": "商品Id",
  26331. "type": "integer"
  26332. },
  26333. "goodsname": {
  26334. "description": "商品名称",
  26335. "type": "string"
  26336. },
  26337. "goodsprice": {
  26338. "description": "商品价格",
  26339. "type": "number"
  26340. },
  26341. "goodsstatus": {
  26342. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26343. "type": "integer"
  26344. },
  26345. "last": {
  26346. "description": "现价(仅使用于挂牌点选)",
  26347. "type": "number"
  26348. },
  26349. "limitdown": {
  26350. "description": "跌停价(仅使用于挂牌点选)",
  26351. "type": "number"
  26352. },
  26353. "limitup": {
  26354. "description": "涨停价(仅使用于挂牌点选)",
  26355. "type": "number"
  26356. },
  26357. "lotsize": {
  26358. "description": "手数最小变动单位",
  26359. "type": "integer"
  26360. },
  26361. "marketid": {
  26362. "description": "所属市场ID",
  26363. "type": "integer"
  26364. },
  26365. "picurls": {
  26366. "description": "介绍图片[多张用逗号分隔]",
  26367. "type": "string"
  26368. },
  26369. "quoteminunit": {
  26370. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26371. "type": "integer"
  26372. },
  26373. "stepvalue": {
  26374. "description": "价格最小变动单位",
  26375. "type": "number"
  26376. },
  26377. "trademode": {
  26378. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26379. "type": "integer"
  26380. }
  26381. }
  26382. },
  26383. "models.HsbyMyPackage": {
  26384. "type": "object",
  26385. "required": [
  26386. "goodscode",
  26387. "goodsname",
  26388. "takeorderid",
  26389. "trademode"
  26390. ],
  26391. "properties": {
  26392. "accountid": {
  26393. "description": "账户ID",
  26394. "type": "integer"
  26395. },
  26396. "address": {
  26397. "description": "提货人详细地址",
  26398. "type": "string"
  26399. },
  26400. "agreeunit": {
  26401. "description": "合约单位",
  26402. "type": "number"
  26403. },
  26404. "amount": {
  26405. "description": "提货金额",
  26406. "type": "number"
  26407. },
  26408. "auditer": {
  26409. "description": "审核人",
  26410. "type": "integer"
  26411. },
  26412. "audittime": {
  26413. "description": "审核时间",
  26414. "type": "string"
  26415. },
  26416. "averageprice": {
  26417. "description": "均价",
  26418. "type": "number"
  26419. },
  26420. "cardnum": {
  26421. "description": "提货人证件号码",
  26422. "type": "string"
  26423. },
  26424. "cardtypeid": {
  26425. "description": "提货人证件类型",
  26426. "type": "integer"
  26427. },
  26428. "checkremark": {
  26429. "description": "审核备注",
  26430. "type": "string"
  26431. },
  26432. "currencysign": {
  26433. "description": "货币符号",
  26434. "type": "string"
  26435. },
  26436. "decimalplace": {
  26437. "description": "报价小数位",
  26438. "type": "integer"
  26439. },
  26440. "goodscode": {
  26441. "description": "商品代码(内部)",
  26442. "type": "string"
  26443. },
  26444. "goodsid": {
  26445. "description": "商品ID",
  26446. "type": "integer"
  26447. },
  26448. "goodsname": {
  26449. "description": "商品名称",
  26450. "type": "string"
  26451. },
  26452. "handlestatus": {
  26453. "description": "处理状态",
  26454. "type": "integer"
  26455. },
  26456. "marketid": {
  26457. "description": "市场ID",
  26458. "type": "integer"
  26459. },
  26460. "phonenum": {
  26461. "description": "提货人联系方式",
  26462. "type": "string"
  26463. },
  26464. "picurls": {
  26465. "description": "介绍图片[多张用逗号分隔]",
  26466. "type": "string"
  26467. },
  26468. "qty": {
  26469. "description": "提货数量",
  26470. "type": "number"
  26471. },
  26472. "recivername": {
  26473. "description": "提货人姓名",
  26474. "type": "string"
  26475. },
  26476. "reqtime": {
  26477. "description": "更新时间",
  26478. "type": "string"
  26479. },
  26480. "takemode": {
  26481. "description": "提货方式 - 2:自提 3:配送",
  26482. "type": "integer"
  26483. },
  26484. "takeorderid": {
  26485. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26486. "type": "string"
  26487. },
  26488. "takeorderstatus": {
  26489. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  26490. "type": "integer"
  26491. },
  26492. "takeremark": {
  26493. "description": "提货备注",
  26494. "type": "string"
  26495. },
  26496. "tradedate": {
  26497. "description": "交易日(yyyyMMdd)",
  26498. "type": "string"
  26499. },
  26500. "trademode": {
  26501. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26502. "type": "integer"
  26503. },
  26504. "userid": {
  26505. "description": "用户ID",
  26506. "type": "integer"
  26507. },
  26508. "vendorname": {
  26509. "description": "供应商名称",
  26510. "type": "string"
  26511. }
  26512. }
  26513. },
  26514. "models.HsbyPreGoods": {
  26515. "type": "object",
  26516. "required": [
  26517. "goodscode",
  26518. "goodsid",
  26519. "goodsname",
  26520. "marketid",
  26521. "trademode"
  26522. ],
  26523. "properties": {
  26524. "agreeunit": {
  26525. "description": "合约单位",
  26526. "type": "number"
  26527. },
  26528. "currency": {
  26529. "description": "货币",
  26530. "type": "string"
  26531. },
  26532. "currencysign": {
  26533. "description": "货币符号",
  26534. "type": "string"
  26535. },
  26536. "decimalplace": {
  26537. "description": "报价小数位",
  26538. "type": "integer"
  26539. },
  26540. "desccityid": {
  26541. "description": "目的地(市)",
  26542. "type": "integer"
  26543. },
  26544. "descprovinceid": {
  26545. "description": "目的地(省)",
  26546. "type": "integer"
  26547. },
  26548. "enableqty": {
  26549. "description": "剩余数量",
  26550. "type": "integer"
  26551. },
  26552. "goodscode": {
  26553. "description": "商品代码(内部)",
  26554. "type": "string"
  26555. },
  26556. "goodsid": {
  26557. "description": "商品ID(自增ID SEQ_GOODS)",
  26558. "type": "integer"
  26559. },
  26560. "goodsname": {
  26561. "description": "商品名称",
  26562. "type": "string"
  26563. },
  26564. "goodsstatus": {
  26565. "description": "商品状态- 2:未上市 3:上市",
  26566. "type": "integer"
  26567. },
  26568. "lasttradedate": {
  26569. "description": "最后交易日期(状态:待退市)",
  26570. "type": "string"
  26571. },
  26572. "listingdate": {
  26573. "description": "交易开始日期",
  26574. "type": "string"
  26575. },
  26576. "marketid": {
  26577. "description": "所属市场ID",
  26578. "type": "integer"
  26579. },
  26580. "picurls": {
  26581. "description": "介绍图片[多张用逗号分隔]",
  26582. "type": "string"
  26583. },
  26584. "presaledqty": {
  26585. "description": "已预售量(预售结束时更新)",
  26586. "type": "integer"
  26587. },
  26588. "presaleqty": {
  26589. "description": "预售数量",
  26590. "type": "integer"
  26591. },
  26592. "quoteminunit": {
  26593. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26594. "type": "integer"
  26595. },
  26596. "refprice": {
  26597. "description": "参考价格[一口价]",
  26598. "type": "number"
  26599. },
  26600. "relatedgoodsid": {
  26601. "description": "关联交易合约ID",
  26602. "type": "integer"
  26603. },
  26604. "trademode": {
  26605. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26606. "type": "integer"
  26607. },
  26608. "videourls": {
  26609. "description": "介绍视频[多张用逗号分隔]",
  26610. "type": "string"
  26611. }
  26612. }
  26613. },
  26614. "models.HsbyPreGoodsDetail": {
  26615. "type": "object",
  26616. "required": [
  26617. "goodscode",
  26618. "goodsid",
  26619. "goodsname",
  26620. "marketid",
  26621. "trademode"
  26622. ],
  26623. "properties": {
  26624. "agreeunit": {
  26625. "description": "合约单位",
  26626. "type": "number"
  26627. },
  26628. "buymaxqty": {
  26629. "description": "购买上限 [71] - 0为不限",
  26630. "type": "integer"
  26631. },
  26632. "currency": {
  26633. "description": "货币",
  26634. "type": "string"
  26635. },
  26636. "currencysign": {
  26637. "description": "货币符号",
  26638. "type": "string"
  26639. },
  26640. "customername": {
  26641. "description": "发行单位",
  26642. "type": "string"
  26643. },
  26644. "decimalplace": {
  26645. "description": "报价小数位",
  26646. "type": "integer"
  26647. },
  26648. "desccityid": {
  26649. "description": "目的地(市)ID",
  26650. "type": "integer"
  26651. },
  26652. "descprovinceid": {
  26653. "description": "目的地(省)ID",
  26654. "type": "integer"
  26655. },
  26656. "enableqty": {
  26657. "description": "剩余数量",
  26658. "type": "integer"
  26659. },
  26660. "goodscode": {
  26661. "description": "商品代码(内部)",
  26662. "type": "string"
  26663. },
  26664. "goodsdesc": {
  26665. "description": "商品详情",
  26666. "type": "string"
  26667. },
  26668. "goodsid": {
  26669. "description": "商品ID(自增ID SEQ_GOODS)",
  26670. "type": "integer"
  26671. },
  26672. "goodsname": {
  26673. "description": "商品名称",
  26674. "type": "string"
  26675. },
  26676. "goodsstatus": {
  26677. "description": "商品状态- 2:未上市 3:上市",
  26678. "type": "integer"
  26679. },
  26680. "goodunit": {
  26681. "description": "报价单位",
  26682. "type": "string"
  26683. },
  26684. "lasttradedate": {
  26685. "description": "最后交易日期(状态:待退市)",
  26686. "type": "string"
  26687. },
  26688. "listingdate": {
  26689. "description": "交易开始日期",
  26690. "type": "string"
  26691. },
  26692. "lotsize": {
  26693. "description": "手数最小变动单位",
  26694. "type": "integer"
  26695. },
  26696. "marketid": {
  26697. "description": "所属市场ID",
  26698. "type": "integer"
  26699. },
  26700. "picurls": {
  26701. "description": "介绍图片[多张用逗号分隔]",
  26702. "type": "string"
  26703. },
  26704. "presaledqty": {
  26705. "description": "已预售量(预售结束时更新)",
  26706. "type": "integer"
  26707. },
  26708. "presaleqty": {
  26709. "description": "预售数量",
  26710. "type": "integer"
  26711. },
  26712. "quoteminunit": {
  26713. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26714. "type": "integer"
  26715. },
  26716. "refprice": {
  26717. "description": "参考价格[一口价]",
  26718. "type": "number"
  26719. },
  26720. "relatedgoodsid": {
  26721. "description": "关联交易合约ID",
  26722. "type": "integer"
  26723. },
  26724. "stepvalue": {
  26725. "description": "价格最小变动单位",
  26726. "type": "number"
  26727. },
  26728. "trademode": {
  26729. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26730. "type": "integer"
  26731. },
  26732. "vendorattr": {
  26733. "description": "供应商附件(多张,逗号分隔)",
  26734. "type": "string"
  26735. },
  26736. "vendorname": {
  26737. "description": "供应商名称",
  26738. "type": "string"
  26739. },
  26740. "vendorphone": {
  26741. "description": "供应商客服电话",
  26742. "type": "string"
  26743. },
  26744. "videourls": {
  26745. "description": "介绍视频[多张用逗号分隔]",
  26746. "type": "string"
  26747. }
  26748. }
  26749. },
  26750. "models.HsbySellCollectionOrder": {
  26751. "type": "object",
  26752. "required": [
  26753. "goodscode",
  26754. "goodsname",
  26755. "tradeid",
  26756. "trademode"
  26757. ],
  26758. "properties": {
  26759. "agreeunit": {
  26760. "description": "合约单位",
  26761. "type": "number"
  26762. },
  26763. "buyaccountid": {
  26764. "description": "买方账号ID[报价币种]",
  26765. "type": "integer"
  26766. },
  26767. "buyorderid": {
  26768. "description": "买方委托单号",
  26769. "type": "string"
  26770. },
  26771. "createtime": {
  26772. "description": "创建时间",
  26773. "type": "string"
  26774. },
  26775. "currencysign": {
  26776. "description": "货币符号",
  26777. "type": "string"
  26778. },
  26779. "decimalplace": {
  26780. "description": "报价小数位",
  26781. "type": "integer"
  26782. },
  26783. "goodscode": {
  26784. "description": "商品代码(内部)",
  26785. "type": "string"
  26786. },
  26787. "goodsid": {
  26788. "description": "商品ID",
  26789. "type": "integer"
  26790. },
  26791. "goodsname": {
  26792. "description": "商品名称",
  26793. "type": "string"
  26794. },
  26795. "marketid": {
  26796. "description": "市场ID",
  26797. "type": "integer"
  26798. },
  26799. "offamount": {
  26800. "description": "优惠金额",
  26801. "type": "number"
  26802. },
  26803. "payamount": {
  26804. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  26805. "type": "number"
  26806. },
  26807. "payflag": {
  26808. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26809. "type": "integer"
  26810. },
  26811. "paylimitedtime": {
  26812. "description": "支付期限",
  26813. "type": "string"
  26814. },
  26815. "paytime": {
  26816. "description": "付款时间",
  26817. "type": "string"
  26818. },
  26819. "picurls": {
  26820. "description": "商品介绍图片[多张用逗号分隔]",
  26821. "type": "string"
  26822. },
  26823. "sellaccountid": {
  26824. "description": "卖方账号ID[报价币种]",
  26825. "type": "integer"
  26826. },
  26827. "sellorderid": {
  26828. "description": "卖方委托单号",
  26829. "type": "string"
  26830. },
  26831. "tradeamount": {
  26832. "description": "成交金额",
  26833. "type": "number"
  26834. },
  26835. "tradecharge": {
  26836. "description": "成交手续费(买方)",
  26837. "type": "number"
  26838. },
  26839. "tradedate": {
  26840. "description": "交易日(yyyyMMdd)",
  26841. "type": "string"
  26842. },
  26843. "tradeid": {
  26844. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26845. "type": "string"
  26846. },
  26847. "trademode": {
  26848. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26849. "type": "integer"
  26850. },
  26851. "tradeprice": {
  26852. "description": "成交价格",
  26853. "type": "number"
  26854. },
  26855. "tradeqty": {
  26856. "description": "成交数量",
  26857. "type": "integer"
  26858. }
  26859. }
  26860. },
  26861. "models.HsbySellMyDetail": {
  26862. "type": "object",
  26863. "required": [
  26864. "accountid",
  26865. "buyorsell",
  26866. "goodscode",
  26867. "goodsid",
  26868. "goodsname",
  26869. "marketid",
  26870. "orderid",
  26871. "time",
  26872. "trademode"
  26873. ],
  26874. "properties": {
  26875. "accountid": {
  26876. "description": "账户ID[报价币种]",
  26877. "type": "integer"
  26878. },
  26879. "agreeunit": {
  26880. "description": "合约单位",
  26881. "type": "number"
  26882. },
  26883. "buyorsell": {
  26884. "description": "买卖 - 0:买 1:卖",
  26885. "type": "integer"
  26886. },
  26887. "currencysign": {
  26888. "description": "货币符号",
  26889. "type": "string"
  26890. },
  26891. "decimalplace": {
  26892. "description": "报价小数位",
  26893. "type": "integer"
  26894. },
  26895. "goodscode": {
  26896. "description": "商品代码(内部)",
  26897. "type": "string"
  26898. },
  26899. "goodsid": {
  26900. "description": "商品ID",
  26901. "type": "integer"
  26902. },
  26903. "goodsname": {
  26904. "description": "商品名称",
  26905. "type": "string"
  26906. },
  26907. "marketid": {
  26908. "description": "市场ID",
  26909. "type": "integer"
  26910. },
  26911. "orderid": {
  26912. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  26913. "type": "string"
  26914. },
  26915. "ordertype": {
  26916. "description": "单据类型:0 - 发布中, 1 - 已完成",
  26917. "type": "integer"
  26918. },
  26919. "picurls": {
  26920. "description": "介绍图片[多张用逗号分隔]",
  26921. "type": "string"
  26922. },
  26923. "price": {
  26924. "description": "价格",
  26925. "type": "number"
  26926. },
  26927. "qty": {
  26928. "description": "数量",
  26929. "type": "integer"
  26930. },
  26931. "time": {
  26932. "description": "时间",
  26933. "type": "string"
  26934. },
  26935. "trademode": {
  26936. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26937. "type": "integer"
  26938. },
  26939. "vendorname": {
  26940. "description": "供应商名称",
  26941. "type": "string"
  26942. }
  26943. }
  26944. },
  26945. "models.HsbyTopGoods": {
  26946. "type": "object",
  26947. "required": [
  26948. "goodscode",
  26949. "goodsid",
  26950. "goodsname",
  26951. "marketid",
  26952. "trademode"
  26953. ],
  26954. "properties": {
  26955. "agreeunit": {
  26956. "description": "合约单位",
  26957. "type": "number"
  26958. },
  26959. "currency": {
  26960. "description": "货币",
  26961. "type": "string"
  26962. },
  26963. "currencysign": {
  26964. "description": "货币符号",
  26965. "type": "string"
  26966. },
  26967. "decimalplace": {
  26968. "description": "报价小数位",
  26969. "type": "integer"
  26970. },
  26971. "desccityid": {
  26972. "description": "目的地(市)",
  26973. "type": "integer"
  26974. },
  26975. "descprovinceid": {
  26976. "description": "目的地(省)",
  26977. "type": "integer"
  26978. },
  26979. "goodscode": {
  26980. "description": "商品代码(内部)",
  26981. "type": "string"
  26982. },
  26983. "goodsid": {
  26984. "description": "商品ID(自增ID SEQ_GOODS)",
  26985. "type": "integer"
  26986. },
  26987. "goodsname": {
  26988. "description": "商品名称",
  26989. "type": "string"
  26990. },
  26991. "hotindex": {
  26992. "description": "景点热度",
  26993. "type": "integer"
  26994. },
  26995. "last": {
  26996. "description": "现价",
  26997. "type": "number"
  26998. },
  26999. "marketid": {
  27000. "description": "所属市场ID",
  27001. "type": "integer"
  27002. },
  27003. "picurls": {
  27004. "description": "介绍图片[多张用逗号分隔]",
  27005. "type": "string"
  27006. },
  27007. "quoteminunit": {
  27008. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27009. "type": "integer"
  27010. },
  27011. "trademode": {
  27012. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27013. "type": "integer"
  27014. },
  27015. "videourls": {
  27016. "description": "介绍视频[多张用逗号分隔]",
  27017. "type": "string"
  27018. }
  27019. }
  27020. },
  27021. "models.HybsMyBuyOrderDetail": {
  27022. "type": "object",
  27023. "required": [
  27024. "accountid",
  27025. "buyorsell",
  27026. "goodscode",
  27027. "goodsid",
  27028. "goodsname",
  27029. "marketid",
  27030. "orderid",
  27031. "orderqty",
  27032. "ordertime",
  27033. "trademode"
  27034. ],
  27035. "properties": {
  27036. "accountid": {
  27037. "description": "账户ID[报价币种]",
  27038. "type": "integer"
  27039. },
  27040. "agreeunit": {
  27041. "description": "合约单位",
  27042. "type": "number"
  27043. },
  27044. "buyorsell": {
  27045. "description": "买卖 - 0:买 1:卖",
  27046. "type": "integer"
  27047. },
  27048. "cancelqty": {
  27049. "description": "撤单数量",
  27050. "type": "integer"
  27051. },
  27052. "currencysign": {
  27053. "description": "货币符号",
  27054. "type": "string"
  27055. },
  27056. "decimalplace": {
  27057. "description": "报价小数位",
  27058. "type": "integer"
  27059. },
  27060. "goodscode": {
  27061. "description": "商品代码(内部)",
  27062. "type": "string"
  27063. },
  27064. "goodsid": {
  27065. "description": "商品ID",
  27066. "type": "integer"
  27067. },
  27068. "goodsname": {
  27069. "description": "商品名称",
  27070. "type": "string"
  27071. },
  27072. "listingselecttype": {
  27073. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  27074. "type": "integer"
  27075. },
  27076. "marketid": {
  27077. "description": "市场ID",
  27078. "type": "integer"
  27079. },
  27080. "mybuystatus": {
  27081. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  27082. "type": "integer"
  27083. },
  27084. "orderamount": {
  27085. "description": "委托金额",
  27086. "type": "number"
  27087. },
  27088. "orderid": {
  27089. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27090. "type": "string"
  27091. },
  27092. "orderprice": {
  27093. "description": "委托价格",
  27094. "type": "number"
  27095. },
  27096. "orderqty": {
  27097. "description": "委托数量",
  27098. "type": "integer"
  27099. },
  27100. "orderstatus": {
  27101. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27102. "type": "integer"
  27103. },
  27104. "ordertime": {
  27105. "description": "委托时间",
  27106. "type": "string"
  27107. },
  27108. "picurls1": {
  27109. "description": "预售商品介绍图片[多张用逗号分隔]",
  27110. "type": "string"
  27111. },
  27112. "picurls2": {
  27113. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  27114. "type": "string"
  27115. },
  27116. "trademode": {
  27117. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27118. "type": "integer"
  27119. },
  27120. "tradeqty": {
  27121. "description": "成交数量",
  27122. "type": "integer"
  27123. },
  27124. "vendorname1": {
  27125. "description": "预售商品供应商名称",
  27126. "type": "string"
  27127. },
  27128. "vendorname2": {
  27129. "description": "挂牌商品供应商名称",
  27130. "type": "string"
  27131. }
  27132. }
  27133. },
  27134. "models.Loginaccount": {
  27135. "type": "object",
  27136. "required": [
  27137. "loginid"
  27138. ],
  27139. "properties": {
  27140. "accountname": {
  27141. "description": "账户名称",
  27142. "type": "string"
  27143. },
  27144. "canoutin": {
  27145. "description": "是否可出入金 - 0:不可 1:可",
  27146. "type": "integer"
  27147. },
  27148. "clientroleid": {
  27149. "description": "终端角色ID",
  27150. "type": "integer"
  27151. },
  27152. "haslogined": {
  27153. "description": "是否已登录 - 0:未登录 1:已登录",
  27154. "type": "integer"
  27155. },
  27156. "hasupdatedpwd": {
  27157. "description": "是否已更改密码 - 0:未修改 1:已修改",
  27158. "type": "integer"
  27159. },
  27160. "lastloginip": {
  27161. "description": "最新登录地址",
  27162. "type": "string"
  27163. },
  27164. "lastloginmode": {
  27165. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  27166. "type": "integer"
  27167. },
  27168. "lastloginremark": {
  27169. "description": "最新登录描述",
  27170. "type": "string"
  27171. },
  27172. "lastlogintime": {
  27173. "description": "最新登录时间",
  27174. "type": "string"
  27175. },
  27176. "logincode": {
  27177. "description": "登录代码",
  27178. "type": "string"
  27179. },
  27180. "loginfailnum": {
  27181. "description": "连续登录失败次数(登录成功时清零)",
  27182. "type": "integer"
  27183. },
  27184. "loginid": {
  27185. "description": "登陆账号",
  27186. "type": "integer"
  27187. },
  27188. "loginport": {
  27189. "description": "最新登录端口",
  27190. "type": "integer"
  27191. },
  27192. "loginstatus": {
  27193. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  27194. "type": "integer"
  27195. },
  27196. "loginusertype": {
  27197. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  27198. "type": "integer"
  27199. },
  27200. "mobile": {
  27201. "description": "手机号码(加密存储)",
  27202. "type": "string"
  27203. },
  27204. "modifierid": {
  27205. "description": "修改人",
  27206. "type": "integer"
  27207. },
  27208. "modifysrc": {
  27209. "description": "审核来源 - 1:管理端 2:终端",
  27210. "type": "integer"
  27211. },
  27212. "modifytime": {
  27213. "description": "修改时间",
  27214. "type": "string"
  27215. },
  27216. "password": {
  27217. "description": "登陆密码",
  27218. "type": "string"
  27219. },
  27220. "pwdwrongcount": {
  27221. "description": "密码错误次数",
  27222. "type": "integer"
  27223. },
  27224. "relateduserid": {
  27225. "description": "关联用户ID(机构)",
  27226. "type": "integer"
  27227. },
  27228. "taaccountrighttype": {
  27229. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  27230. "type": "integer"
  27231. },
  27232. "unfreezetime": {
  27233. "description": "账户解冻时间",
  27234. "type": "string"
  27235. },
  27236. "userid": {
  27237. "description": "用户ID",
  27238. "type": "integer"
  27239. }
  27240. }
  27241. },
  27242. "models.MainAccountInfo": {
  27243. "type": "object",
  27244. "properties": {
  27245. "accountid": {
  27246. "description": "账号id",
  27247. "type": "integer"
  27248. },
  27249. "accountname": {
  27250. "description": "账号名称(taaccount表中的名称)",
  27251. "type": "string"
  27252. },
  27253. "appid": {
  27254. "description": "AppID",
  27255. "type": "string"
  27256. },
  27257. "authcode": {
  27258. "description": "授权码",
  27259. "type": "string"
  27260. },
  27261. "brokerid": {
  27262. "description": "经纪商id",
  27263. "type": "string"
  27264. },
  27265. "fcid": {
  27266. "description": "期货公司id",
  27267. "type": "integer"
  27268. },
  27269. "fcname": {
  27270. "description": "期货公司代码",
  27271. "type": "string"
  27272. },
  27273. "hedgeaccountcode": {
  27274. "description": "外部账号代码(主账号登录代码)",
  27275. "type": "string"
  27276. },
  27277. "hedgeaccountpwd": {
  27278. "description": "密码",
  27279. "type": "string"
  27280. },
  27281. "ismain": {
  27282. "description": "是否主账号",
  27283. "type": "integer"
  27284. },
  27285. "relateduserid": {
  27286. "description": "关联用户id",
  27287. "type": "integer"
  27288. },
  27289. "userid": {
  27290. "description": "关联用户id",
  27291. "type": "integer"
  27292. }
  27293. }
  27294. },
  27295. "models.Market": {
  27296. "type": "object",
  27297. "required": [
  27298. "marketid",
  27299. "marketstatus",
  27300. "openmethod",
  27301. "reckonpricealgorithm",
  27302. "trademode",
  27303. "tradeproperty"
  27304. ],
  27305. "properties": {
  27306. "auctionwrtype": {
  27307. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  27308. "type": "integer"
  27309. },
  27310. "canacceptquote": {
  27311. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  27312. "type": "integer"
  27313. },
  27314. "cangoodsexercise": {
  27315. "description": "[期权]是否可现货行权- 0:否 1:是",
  27316. "type": "integer"
  27317. },
  27318. "cangoodsexercisetype": {
  27319. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  27320. "type": "integer"
  27321. },
  27322. "canmanualquotestrike": {
  27323. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  27324. "type": "integer"
  27325. },
  27326. "canmutistage": {
  27327. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  27328. "type": "integer"
  27329. },
  27330. "canpreexercise": {
  27331. "description": "[期权]是否可预申报- 0:否 1:是",
  27332. "type": "integer"
  27333. },
  27334. "clearinterval": {
  27335. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  27336. "type": "integer"
  27337. },
  27338. "contracttmp": {
  27339. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  27340. "type": "string"
  27341. },
  27342. "exchareaid": {
  27343. "description": "所属交易所,可以没有",
  27344. "type": "integer"
  27345. },
  27346. "goodstype": {
  27347. "description": "商品类型 - 1:交易商品 2:仓单商品",
  27348. "type": "integer"
  27349. },
  27350. "hasrebate": {
  27351. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  27352. "type": "integer"
  27353. },
  27354. "hastradecredit": {
  27355. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  27356. "type": "integer"
  27357. },
  27358. "haswr": {
  27359. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  27360. "type": "integer"
  27361. },
  27362. "isdeductmargin": {
  27363. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  27364. "type": "integer"
  27365. },
  27366. "isrecordsource": {
  27367. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  27368. "type": "integer"
  27369. },
  27370. "isreleasemargin": {
  27371. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  27372. "type": "integer"
  27373. },
  27374. "marginformula": {
  27375. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27376. "type": "integer"
  27377. },
  27378. "marginformula2": {
  27379. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  27380. "type": "integer"
  27381. },
  27382. "marketid": {
  27383. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  27384. "type": "integer"
  27385. },
  27386. "marketname": {
  27387. "description": "市场名称",
  27388. "type": "string"
  27389. },
  27390. "marketserviceid": {
  27391. "description": "市场服务ID",
  27392. "type": "integer"
  27393. },
  27394. "marketstatus": {
  27395. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  27396. "type": "integer"
  27397. },
  27398. "markettype": {
  27399. "description": "市场类型- 1:非交易服务 2:交易服务",
  27400. "type": "integer"
  27401. },
  27402. "matchermode": {
  27403. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  27404. "type": "integer"
  27405. },
  27406. "openmethod": {
  27407. "description": "开盘模式 - 0 自动 1手动",
  27408. "type": "integer"
  27409. },
  27410. "otcuserid": {
  27411. "description": "场外期权做市商[场外期权]",
  27412. "type": "integer"
  27413. },
  27414. "outersynctime": {
  27415. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  27416. "type": "string"
  27417. },
  27418. "pendingflag": {
  27419. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  27420. "type": "integer"
  27421. },
  27422. "pendingtime": {
  27423. "description": "待开市时间[通道交易-对冲](HH:mm)",
  27424. "type": "string"
  27425. },
  27426. "performancetempid": {
  27427. "description": "履约计划模板ID - 作废",
  27428. "type": "integer"
  27429. },
  27430. "premiumquotemode": {
  27431. "description": "权利金报价方式 - 1:自动 2:手动",
  27432. "type": "integer"
  27433. },
  27434. "rebateratio": {
  27435. "description": "返利比率[竞价式]",
  27436. "type": "number"
  27437. },
  27438. "reckonorder": {
  27439. "description": "结算顺序",
  27440. "type": "integer"
  27441. },
  27442. "reckonpricealgorithm": {
  27443. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  27444. "type": "integer"
  27445. },
  27446. "reckonpriceparam": {
  27447. "description": "结算价参数",
  27448. "type": "integer"
  27449. },
  27450. "reckontime": {
  27451. "description": "结算时间[通道交易-对冲](HH:mm)",
  27452. "type": "string"
  27453. },
  27454. "roleprioritytype": {
  27455. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  27456. "type": "integer"
  27457. },
  27458. "selllistingauditflag": {
  27459. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  27460. "type": "integer"
  27461. },
  27462. "trademarkettype": {
  27463. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  27464. "type": "integer"
  27465. },
  27466. "trademode": {
  27467. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27468. "type": "integer"
  27469. },
  27470. "tradeproperty": {
  27471. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  27472. "type": "integer"
  27473. },
  27474. "tradetype": {
  27475. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  27476. "type": "integer"
  27477. }
  27478. }
  27479. },
  27480. "models.Marketrun": {
  27481. "type": "object",
  27482. "required": [
  27483. "marketid",
  27484. "nexttradedate",
  27485. "reckonflag",
  27486. "runstatus",
  27487. "tradedate",
  27488. "tradedate2"
  27489. ],
  27490. "properties": {
  27491. "afternexttradedate": {
  27492. "description": "下下交易日",
  27493. "type": "string"
  27494. },
  27495. "clearquoteflag": {
  27496. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  27497. "type": "integer"
  27498. },
  27499. "lastreckondate": {
  27500. "description": "最新交易日(结算成功)",
  27501. "type": "string"
  27502. },
  27503. "machinedate": {
  27504. "description": "机器时间",
  27505. "type": "string"
  27506. },
  27507. "manualflag": {
  27508. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  27509. "type": "integer"
  27510. },
  27511. "marketid": {
  27512. "description": "市场ID",
  27513. "type": "integer"
  27514. },
  27515. "nexttradedate": {
  27516. "description": "下一交易日",
  27517. "type": "string"
  27518. },
  27519. "pretradedate": {
  27520. "description": "上一交易日",
  27521. "type": "string"
  27522. },
  27523. "reckonflag": {
  27524. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  27525. "type": "integer"
  27526. },
  27527. "runstatus": {
  27528. "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.今日免清算",
  27529. "type": "integer"
  27530. },
  27531. "sectionid": {
  27532. "description": "时间段号[多时段时用]",
  27533. "type": "integer"
  27534. },
  27535. "tradedate": {
  27536. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  27537. "type": "string"
  27538. },
  27539. "tradedate2": {
  27540. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  27541. "type": "string"
  27542. },
  27543. "updatetime": {
  27544. "description": "更新时间",
  27545. "type": "string"
  27546. }
  27547. }
  27548. },
  27549. "models.Messageboard": {
  27550. "type": "object",
  27551. "required": [
  27552. "messageboardid"
  27553. ],
  27554. "properties": {
  27555. "contactnum": {
  27556. "description": "联系电话",
  27557. "type": "string"
  27558. },
  27559. "createtime": {
  27560. "description": "创建时间",
  27561. "type": "string"
  27562. },
  27563. "message": {
  27564. "description": "留言信息",
  27565. "type": "string"
  27566. },
  27567. "messageboardid": {
  27568. "description": "留言簿ID(SEQ_MessageBoard)",
  27569. "type": "integer"
  27570. },
  27571. "userid": {
  27572. "description": "用户ID",
  27573. "type": "integer"
  27574. }
  27575. }
  27576. },
  27577. "models.MyCoupon": {
  27578. "type": "object",
  27579. "required": [
  27580. "accountid",
  27581. "coupontypeid"
  27582. ],
  27583. "properties": {
  27584. "accountid": {
  27585. "description": "资金账户ID",
  27586. "type": "integer"
  27587. },
  27588. "areauserid": {
  27589. "description": "所属机构",
  27590. "type": "integer"
  27591. },
  27592. "conditionvalue": {
  27593. "description": "条件阈值(可为0)",
  27594. "type": "number"
  27595. },
  27596. "couponcategroy": {
  27597. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  27598. "type": "integer"
  27599. },
  27600. "couponname": {
  27601. "description": "优惠券名称",
  27602. "type": "string"
  27603. },
  27604. "coupontypeid": {
  27605. "description": "优惠券类型ID",
  27606. "type": "string"
  27607. },
  27608. "couponvalue": {
  27609. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27610. "type": "number"
  27611. },
  27612. "curfreezeqty": {
  27613. "description": "期末冻结数量",
  27614. "type": "integer"
  27615. },
  27616. "curqty": {
  27617. "description": "期末数量",
  27618. "type": "integer"
  27619. },
  27620. "isgeneral": {
  27621. "description": "是否通用券 - 0:否 1:是",
  27622. "type": "integer"
  27623. },
  27624. "isunusable": {
  27625. "description": "是否不可用",
  27626. "type": "boolean"
  27627. },
  27628. "limitedflag": {
  27629. "description": "是否指定商品 - 0:不限 1:限制",
  27630. "type": "integer"
  27631. },
  27632. "limitedgoodsids": {
  27633. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  27634. "type": "string"
  27635. },
  27636. "orifreezeqty": {
  27637. "description": "期初冻结数量",
  27638. "type": "integer"
  27639. },
  27640. "oriqty": {
  27641. "description": "期初数量",
  27642. "type": "integer"
  27643. },
  27644. "reasontype": {
  27645. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  27646. "type": "integer"
  27647. },
  27648. "todaydecrease": {
  27649. "description": "今日减少",
  27650. "type": "integer"
  27651. },
  27652. "todayincrease": {
  27653. "description": "今日增加",
  27654. "type": "integer"
  27655. },
  27656. "userid": {
  27657. "description": "用户ID",
  27658. "type": "integer"
  27659. },
  27660. "userscope": {
  27661. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  27662. "type": "string"
  27663. }
  27664. }
  27665. },
  27666. "models.MyCouponHold": {
  27667. "type": "object",
  27668. "required": [
  27669. "couponholdid"
  27670. ],
  27671. "properties": {
  27672. "accountid": {
  27673. "description": "资金账户ID",
  27674. "type": "integer"
  27675. },
  27676. "conditionvalue": {
  27677. "description": "条件阈值(可为0)",
  27678. "type": "number"
  27679. },
  27680. "couponcategroy": {
  27681. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  27682. "type": "integer"
  27683. },
  27684. "couponholdid": {
  27685. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  27686. "type": "string"
  27687. },
  27688. "couponname": {
  27689. "description": "优惠券名称",
  27690. "type": "string"
  27691. },
  27692. "coupontypeid": {
  27693. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  27694. "type": "string"
  27695. },
  27696. "couponvalue": {
  27697. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  27698. "type": "number"
  27699. },
  27700. "createtime": {
  27701. "description": "创建时间",
  27702. "type": "string"
  27703. },
  27704. "enddate": {
  27705. "description": "结束日期",
  27706. "type": "string"
  27707. },
  27708. "giveapplyid": {
  27709. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  27710. "type": "integer"
  27711. },
  27712. "holdstatus": {
  27713. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  27714. "type": "integer"
  27715. },
  27716. "isgeneral": {
  27717. "description": "是否通用券 - 0:否 1:是",
  27718. "type": "integer"
  27719. },
  27720. "limitedflag": {
  27721. "description": "是否指定商品 - 0:不限 1:限制",
  27722. "type": "integer"
  27723. },
  27724. "limitedgoodsids": {
  27725. "description": "指定商品IDs[逗号分隔]",
  27726. "type": "string"
  27727. },
  27728. "qty": {
  27729. "description": "数量(按1平铺)",
  27730. "type": "integer"
  27731. },
  27732. "startdate": {
  27733. "description": "开始日期",
  27734. "type": "string"
  27735. },
  27736. "userid": {
  27737. "description": "用户ID",
  27738. "type": "integer"
  27739. },
  27740. "userscope": {
  27741. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  27742. "type": "string"
  27743. }
  27744. }
  27745. },
  27746. "models.MyUsedCoupon": {
  27747. "type": "object",
  27748. "required": [
  27749. "coupontypeid",
  27750. "orderid"
  27751. ],
  27752. "properties": {
  27753. "accountid": {
  27754. "description": "资金账户ID(买方)",
  27755. "type": "integer"
  27756. },
  27757. "conditionvalue": {
  27758. "description": "条件阈值(可为0)",
  27759. "type": "number"
  27760. },
  27761. "couponcategroy": {
  27762. "description": "种类 - 1:现金券 2:折扣券",
  27763. "type": "integer"
  27764. },
  27765. "couponname": {
  27766. "description": "优惠券名称",
  27767. "type": "string"
  27768. },
  27769. "coupontypeid": {
  27770. "description": "优惠券类型ID(买方)",
  27771. "type": "string"
  27772. },
  27773. "couponvalue": {
  27774. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  27775. "type": "number"
  27776. },
  27777. "createtime": {
  27778. "description": "创建时间",
  27779. "type": "string"
  27780. },
  27781. "goodsid": {
  27782. "description": "商品ID",
  27783. "type": "integer"
  27784. },
  27785. "handlestatus": {
  27786. "description": "处理状态",
  27787. "type": "integer"
  27788. },
  27789. "marketid": {
  27790. "description": "市场ID",
  27791. "type": "integer"
  27792. },
  27793. "offamount": {
  27794. "description": "优惠金额",
  27795. "type": "number"
  27796. },
  27797. "orderid": {
  27798. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27799. "type": "string"
  27800. },
  27801. "sellaccountid": {
  27802. "description": "资金账户ID(卖方)",
  27803. "type": "integer"
  27804. },
  27805. "tradeamount": {
  27806. "description": "成交金额",
  27807. "type": "number"
  27808. },
  27809. "tradeid": {
  27810. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27811. "type": "string"
  27812. },
  27813. "usedqty": {
  27814. "description": "使用数量",
  27815. "type": "integer"
  27816. }
  27817. }
  27818. },
  27819. "models.OperationPrimaryMenu": {
  27820. "type": "object",
  27821. "properties": {
  27822. "Children": {
  27823. "description": "二级功能菜单",
  27824. "type": "array",
  27825. "items": {
  27826. "$ref": "#/definitions/models.OperationSecondaryMenu"
  27827. }
  27828. },
  27829. "Key": {
  27830. "description": "菜单KEY",
  27831. "type": "string"
  27832. },
  27833. "Label": {
  27834. "description": "菜单标题",
  27835. "type": "string"
  27836. }
  27837. }
  27838. },
  27839. "models.OperationSecondaryMenu": {
  27840. "type": "object",
  27841. "properties": {
  27842. "Key": {
  27843. "description": "菜单KEY",
  27844. "type": "string"
  27845. },
  27846. "Label": {
  27847. "description": "菜单标题",
  27848. "type": "string"
  27849. },
  27850. "TabList": {
  27851. "description": "三级功能菜单",
  27852. "type": "array",
  27853. "items": {
  27854. "$ref": "#/definitions/models.OperationTabMenu"
  27855. }
  27856. }
  27857. }
  27858. },
  27859. "models.OperationTabMenu": {
  27860. "type": "object",
  27861. "properties": {
  27862. "Key": {
  27863. "description": "菜单KEY",
  27864. "type": "string"
  27865. },
  27866. "Label": {
  27867. "description": "菜单标题",
  27868. "type": "string"
  27869. }
  27870. }
  27871. },
  27872. "models.QhjAccountOutInApply": {
  27873. "type": "object",
  27874. "properties": {
  27875. "accountcode": {
  27876. "description": "资金账号",
  27877. "type": "string"
  27878. },
  27879. "accountname": {
  27880. "description": "用户名称(名称)",
  27881. "type": "string"
  27882. },
  27883. "accountpwd": {
  27884. "description": "资金密码",
  27885. "type": "string"
  27886. },
  27887. "accountticket": {
  27888. "description": "最新账户服务流水号",
  27889. "type": "string"
  27890. },
  27891. "amount": {
  27892. "description": "金额",
  27893. "type": "number"
  27894. },
  27895. "applyremark": {
  27896. "description": "申请备注",
  27897. "type": "string"
  27898. },
  27899. "applystatus": {
  27900. "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: 复审通过,账户冻结金额检查中;",
  27901. "type": "integer"
  27902. },
  27903. "auditid": {
  27904. "description": "审核人",
  27905. "type": "integer"
  27906. },
  27907. "audittime": {
  27908. "description": "审核时间",
  27909. "type": "string"
  27910. },
  27911. "bank_apply_ticket": {
  27912. "description": "银行申请流水",
  27913. "type": "string"
  27914. },
  27915. "bankaccountname": {
  27916. "description": "银行账户名",
  27917. "type": "string"
  27918. },
  27919. "bankaccountno": {
  27920. "description": "银行卡号",
  27921. "type": "string"
  27922. },
  27923. "bankid": {
  27924. "description": "银行编号",
  27925. "type": "string"
  27926. },
  27927. "bankticket": {
  27928. "description": "银行流水",
  27929. "type": "string"
  27930. },
  27931. "branchbankid": {
  27932. "description": "银行支行号",
  27933. "type": "string"
  27934. },
  27935. "branchbankname": {
  27936. "description": "银行支行名称",
  27937. "type": "string"
  27938. },
  27939. "capamountout": {
  27940. "description": "出金(劣后本金) - 外部子账户",
  27941. "type": "number"
  27942. },
  27943. "certificatephotourl": {
  27944. "description": "凭证地址",
  27945. "type": "string"
  27946. },
  27947. "charge": {
  27948. "description": "手续费",
  27949. "type": "number"
  27950. },
  27951. "checkerrorflag": {
  27952. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  27953. "type": "integer"
  27954. },
  27955. "currency": {
  27956. "description": "币种",
  27957. "type": "string"
  27958. },
  27959. "cusbankid": {
  27960. "description": "托管银行编号",
  27961. "type": "string"
  27962. },
  27963. "exchticket": {
  27964. "description": "银行服务流水号",
  27965. "type": "string"
  27966. },
  27967. "executetype": {
  27968. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  27969. "type": "integer"
  27970. },
  27971. "extendinfo": {
  27972. "description": "扩展信息",
  27973. "type": "string"
  27974. },
  27975. "extoperateid": {
  27976. "description": "交易服务流水号",
  27977. "type": "integer"
  27978. },
  27979. "infamount": {
  27980. "description": "劣后金额(自有)",
  27981. "type": "number"
  27982. },
  27983. "logincode": {
  27984. "description": "登录账号(账号)",
  27985. "type": "string"
  27986. },
  27987. "netaddr": {
  27988. "description": "调转网址",
  27989. "type": "string"
  27990. },
  27991. "priamount": {
  27992. "description": "优先金额(授信)",
  27993. "type": "number"
  27994. },
  27995. "reauditid": {
  27996. "description": "复审人",
  27997. "type": "integer"
  27998. },
  27999. "reauditremark": {
  28000. "description": "复审备注",
  28001. "type": "string"
  28002. },
  28003. "reaudittime": {
  28004. "description": "复审时间",
  28005. "type": "string"
  28006. },
  28007. "relatedorderid": {
  28008. "description": "三方关联ID",
  28009. "type": "string"
  28010. },
  28011. "remark": {
  28012. "description": "备注",
  28013. "type": "string"
  28014. },
  28015. "remark2": {
  28016. "description": "备注(失败原因)",
  28017. "type": "string"
  28018. },
  28019. "soucreamount": {
  28020. "description": "原始出入金金额",
  28021. "type": "number"
  28022. },
  28023. "soucrecurrencyid": {
  28024. "description": "原始出入金币种",
  28025. "type": "integer"
  28026. },
  28027. "tradedate": {
  28028. "description": "交易日(yyyyMMdd)",
  28029. "type": "string"
  28030. },
  28031. "updatetime": {
  28032. "description": "更新时间(申请时间)",
  28033. "type": "string"
  28034. },
  28035. "userid": {
  28036. "description": "用户id",
  28037. "type": "integer"
  28038. },
  28039. "userinfotype": {
  28040. "description": "账户类型 1-个人 2-企业",
  28041. "type": "integer"
  28042. }
  28043. }
  28044. },
  28045. "models.QhjAgreementChangeLog": {
  28046. "type": "object",
  28047. "properties": {
  28048. "agreementcontent": {
  28049. "description": "协议内容",
  28050. "type": "string"
  28051. },
  28052. "agreementfrequency": {
  28053. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28054. "type": "integer"
  28055. },
  28056. "agreementid": {
  28057. "description": "协议ID",
  28058. "type": "integer"
  28059. },
  28060. "agreementname": {
  28061. "description": "协议名称",
  28062. "type": "string"
  28063. },
  28064. "agreementno": {
  28065. "description": "协议编号",
  28066. "type": "string"
  28067. },
  28068. "agreementtype": {
  28069. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28070. "type": "integer"
  28071. },
  28072. "agreementversion": {
  28073. "description": "协议版本号",
  28074. "type": "integer"
  28075. },
  28076. "logid": {
  28077. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  28078. "type": "integer"
  28079. },
  28080. "reviserid": {
  28081. "description": "修改人",
  28082. "type": "integer"
  28083. },
  28084. "revisersrc": {
  28085. "description": "修改来源 - 1:管理端 2:终端",
  28086. "type": "integer"
  28087. },
  28088. "updatetime": {
  28089. "description": "更新时间",
  28090. "type": "string"
  28091. }
  28092. }
  28093. },
  28094. "models.QhjAgreementConfig": {
  28095. "type": "object",
  28096. "properties": {
  28097. "agreementcontent": {
  28098. "description": "协议内容",
  28099. "type": "string"
  28100. },
  28101. "agreementfrequency": {
  28102. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  28103. "type": "integer"
  28104. },
  28105. "agreementid": {
  28106. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  28107. "type": "integer"
  28108. },
  28109. "agreementname": {
  28110. "description": "协议名称",
  28111. "type": "string"
  28112. },
  28113. "agreementno": {
  28114. "description": "协议编号",
  28115. "type": "string"
  28116. },
  28117. "agreementtype": {
  28118. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28119. "type": "integer"
  28120. },
  28121. "agreementversion": {
  28122. "description": "协议版本号(从1开始每次修改加1)",
  28123. "type": "integer"
  28124. },
  28125. "createtime": {
  28126. "description": "创建时间",
  28127. "type": "string"
  28128. },
  28129. "creatorid": {
  28130. "description": "创建人",
  28131. "type": "integer"
  28132. },
  28133. "creatorsrc": {
  28134. "description": "创建来源 - 1:管理端 2:终端",
  28135. "type": "integer"
  28136. },
  28137. "isvalid": {
  28138. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  28139. "type": "integer"
  28140. },
  28141. "reviserid": {
  28142. "description": "修改人",
  28143. "type": "integer"
  28144. },
  28145. "revisersrc": {
  28146. "description": "修改来源 - 1:管理端 2:终端",
  28147. "type": "integer"
  28148. },
  28149. "updatetime": {
  28150. "description": "更新时间",
  28151. "type": "string"
  28152. }
  28153. }
  28154. },
  28155. "models.QhjAreaFinanceConfig": {
  28156. "type": "object",
  28157. "properties": {
  28158. "additionalratio": {
  28159. "description": "追加款比例",
  28160. "type": "number"
  28161. },
  28162. "advanceratio": {
  28163. "description": "预付款比例",
  28164. "type": "number"
  28165. },
  28166. "alarmratio": {
  28167. "description": "告警比例",
  28168. "type": "number"
  28169. },
  28170. "consumptiondirectreward": {
  28171. "description": "消费直推奖励值",
  28172. "type": "number"
  28173. },
  28174. "consumptionenabled": {
  28175. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  28176. "type": "integer"
  28177. },
  28178. "consumptionindirectreward": {
  28179. "description": "消费间推奖励值",
  28180. "type": "number"
  28181. },
  28182. "consumptionmodel": {
  28183. "description": "消费奖励方式 - 1:比率 2:固定",
  28184. "type": "integer"
  28185. },
  28186. "customerservicenum": {
  28187. "description": "客服电话",
  28188. "type": "string"
  28189. },
  28190. "dayinterestrate": {
  28191. "description": "日利率",
  28192. "type": "number"
  28193. },
  28194. "disableconsumptiontips": {
  28195. "description": "关闭消费奖励提示",
  28196. "type": "string"
  28197. },
  28198. "modifierid": {
  28199. "description": "修改人ID",
  28200. "type": "integer"
  28201. },
  28202. "modifysrc": {
  28203. "description": "审核来源 - 1:管理端 2:终端",
  28204. "type": "integer"
  28205. },
  28206. "modifytime": {
  28207. "description": "修改时间",
  28208. "type": "string"
  28209. },
  28210. "promotionvalue": {
  28211. "description": "推广奖励值(固定)",
  28212. "type": "number"
  28213. },
  28214. "scoreconfigvalue1": {
  28215. "description": "提货积分配置1",
  28216. "type": "integer"
  28217. },
  28218. "scoreconfigvalue2": {
  28219. "description": "提货积分配置2",
  28220. "type": "integer"
  28221. },
  28222. "userid": {
  28223. "description": "机构用户ID其他做市关系,都设置为 1",
  28224. "type": "integer"
  28225. },
  28226. "username": {
  28227. "description": "用户名称",
  28228. "type": "string"
  28229. }
  28230. }
  28231. },
  28232. "models.QhjBankAccountSign": {
  28233. "type": "object",
  28234. "properties": {
  28235. "accountcode": {
  28236. "description": "资金账号",
  28237. "type": "string"
  28238. },
  28239. "accountname": {
  28240. "description": "资金账号对应的账号名(UserName)",
  28241. "type": "string"
  28242. },
  28243. "accountname2": {
  28244. "description": "资金账号对应的账号名(UserName) - 密文",
  28245. "type": "string"
  28246. },
  28247. "accounttype": {
  28248. "description": "账户类型(UserType)",
  28249. "type": "integer"
  28250. },
  28251. "applicationtime": {
  28252. "description": "最后一次更新的时间",
  28253. "type": "string"
  28254. },
  28255. "applyexchticket": {
  28256. "description": "申请流水",
  28257. "type": "string"
  28258. },
  28259. "auditid": {
  28260. "description": "审核人",
  28261. "type": "integer"
  28262. },
  28263. "audittime": {
  28264. "description": "审核时间",
  28265. "type": "string"
  28266. },
  28267. "bankaccountname": {
  28268. "description": "签约银行卡账号名",
  28269. "type": "string"
  28270. },
  28271. "bankaccountname2": {
  28272. "description": "签约银行卡账号名 - 密文",
  28273. "type": "string"
  28274. },
  28275. "bankaccountno": {
  28276. "description": "银行卡号",
  28277. "type": "string"
  28278. },
  28279. "bankaccountno2": {
  28280. "description": "银行卡号 - 密文",
  28281. "type": "string"
  28282. },
  28283. "bankaccounttype": {
  28284. "description": "银行账户类型 - 1-对私; 2-对公",
  28285. "type": "integer"
  28286. },
  28287. "bankcardtype": {
  28288. "description": "银行卡类型",
  28289. "type": "integer"
  28290. },
  28291. "bankchildaccount": {
  28292. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  28293. "type": "string"
  28294. },
  28295. "bankcity": {
  28296. "description": "开户行城市",
  28297. "type": "string"
  28298. },
  28299. "bankid": {
  28300. "description": "签约银行ID",
  28301. "type": "string"
  28302. },
  28303. "bankname": {
  28304. "description": "签约银行名称",
  28305. "type": "string"
  28306. },
  28307. "bankprovince": {
  28308. "description": "开户行省份",
  28309. "type": "string"
  28310. },
  28311. "branchbankid": {
  28312. "description": "签约银行支行号",
  28313. "type": "string"
  28314. },
  28315. "branchbankname": {
  28316. "description": "签约银行支行名称",
  28317. "type": "string"
  28318. },
  28319. "cardno": {
  28320. "description": "证件号码",
  28321. "type": "string"
  28322. },
  28323. "cardno2": {
  28324. "description": "证件号码 - 密文",
  28325. "type": "string"
  28326. },
  28327. "cardtype": {
  28328. "description": "证件类型",
  28329. "type": "string"
  28330. },
  28331. "currency": {
  28332. "description": "币种",
  28333. "type": "string"
  28334. },
  28335. "cusbankid": {
  28336. "description": "托管银行编号",
  28337. "type": "string"
  28338. },
  28339. "direct": {
  28340. "description": "方向(可以判断那方先发起的签约)",
  28341. "type": "integer"
  28342. },
  28343. "exchticket": {
  28344. "description": "最后一次签约成功的流水号",
  28345. "type": "string"
  28346. },
  28347. "extendinfo": {
  28348. "description": "扩展信息(JSON字符串)",
  28349. "type": "string"
  28350. },
  28351. "mobilephone": {
  28352. "description": "手机号",
  28353. "type": "string"
  28354. },
  28355. "mobilephone2": {
  28356. "description": "手机号 - 密文",
  28357. "type": "string"
  28358. },
  28359. "netaddr": {
  28360. "description": "调转网址",
  28361. "type": "string"
  28362. },
  28363. "relateduserid": {
  28364. "description": "关联使用者userid",
  28365. "type": "integer"
  28366. },
  28367. "signstatus": {
  28368. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  28369. "type": "integer"
  28370. },
  28371. "updatetime": {
  28372. "description": "更新时间(签解约更新时间)",
  28373. "type": "string"
  28374. }
  28375. }
  28376. },
  28377. "models.QhjBankInfo": {
  28378. "type": "object",
  28379. "properties": {
  28380. "bankid": {
  28381. "description": "银行ID",
  28382. "type": "string"
  28383. },
  28384. "bankname": {
  28385. "description": "银行名称",
  28386. "type": "string"
  28387. },
  28388. "clearbankno": {
  28389. "description": "清算系统银行编号",
  28390. "type": "string"
  28391. },
  28392. "orderindex": {
  28393. "description": "排序顺序",
  28394. "type": "integer"
  28395. },
  28396. "status": {
  28397. "description": "状态 - 0:正常 1:注销",
  28398. "type": "integer"
  28399. }
  28400. }
  28401. },
  28402. "models.QhjBrokerApply": {
  28403. "type": "object",
  28404. "properties": {
  28405. "applicantid": {
  28406. "description": "申请人",
  28407. "type": "integer"
  28408. },
  28409. "applysrc": {
  28410. "description": "申请来源 - 1:管理端 2:终端",
  28411. "type": "integer"
  28412. },
  28413. "applystatus": {
  28414. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  28415. "type": "integer"
  28416. },
  28417. "applytime": {
  28418. "description": "申请时间",
  28419. "type": "string"
  28420. },
  28421. "auditorid": {
  28422. "description": "审核人",
  28423. "type": "integer"
  28424. },
  28425. "auditremark": {
  28426. "description": "审核备注",
  28427. "type": "string"
  28428. },
  28429. "auditsrc": {
  28430. "description": "审核来源 - 1:管理端 2:终端",
  28431. "type": "integer"
  28432. },
  28433. "audittime": {
  28434. "description": "审核时间",
  28435. "type": "string"
  28436. },
  28437. "audittradedate": {
  28438. "description": "审核交易日(yyyyMMdd)",
  28439. "type": "string"
  28440. },
  28441. "brokerapplyid": {
  28442. "description": "申请ID(SEQ_BROKERAPPLY)",
  28443. "type": "integer"
  28444. },
  28445. "cardbackphotourl": {
  28446. "description": "证件背面图片地址",
  28447. "type": "string"
  28448. },
  28449. "cardfrontphotourl": {
  28450. "description": "证件正面图片地址",
  28451. "type": "string"
  28452. },
  28453. "cardnum": {
  28454. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  28455. "type": "string"
  28456. },
  28457. "customername": {
  28458. "description": "姓名",
  28459. "type": "string"
  28460. },
  28461. "logincode": {
  28462. "description": "登录代码",
  28463. "type": "string"
  28464. },
  28465. "mobile": {
  28466. "description": "手机号码",
  28467. "type": "string"
  28468. },
  28469. "parentuserid": {
  28470. "description": "所属机构id",
  28471. "type": "integer"
  28472. },
  28473. "parentusername": {
  28474. "description": "所属机构名称",
  28475. "type": "string"
  28476. },
  28477. "refereeuserid": {
  28478. "description": "推荐人id(经纪人)",
  28479. "type": "integer"
  28480. },
  28481. "refernum": {
  28482. "description": "推荐码",
  28483. "type": "string"
  28484. },
  28485. "remark": {
  28486. "description": "备注",
  28487. "type": "string"
  28488. },
  28489. "subarealevelpath": {
  28490. "description": "层级路径",
  28491. "type": "string"
  28492. },
  28493. "tradedate": {
  28494. "description": "交易日(yyyyMMdd)",
  28495. "type": "string"
  28496. },
  28497. "userid": {
  28498. "description": "申请人用户ID",
  28499. "type": "integer"
  28500. },
  28501. "userinfotype": {
  28502. "description": "用户类型 1-个人 2-企业",
  28503. "type": "integer"
  28504. },
  28505. "username": {
  28506. "description": "用户名称",
  28507. "type": "string"
  28508. }
  28509. }
  28510. },
  28511. "models.QhjBrokerApplyEx": {
  28512. "type": "object",
  28513. "properties": {
  28514. "applylist": {
  28515. "description": "经纪人申请记录(只返回最新一条)",
  28516. "type": "array",
  28517. "items": {
  28518. "$ref": "#/definitions/models.QhjBrokerApply"
  28519. }
  28520. },
  28521. "canrecommend": {
  28522. "description": "是否经纪人 0-不是 1-是",
  28523. "type": "integer"
  28524. },
  28525. "refernum": {
  28526. "description": "推荐码",
  28527. "type": "string"
  28528. },
  28529. "userid": {
  28530. "description": "用户id",
  28531. "type": "integer"
  28532. },
  28533. "userinfotype": {
  28534. "description": "用户类型 1-个人 2-企业",
  28535. "type": "integer"
  28536. }
  28537. }
  28538. },
  28539. "models.QhjBrokerRewardLog": {
  28540. "type": "object",
  28541. "properties": {
  28542. "accountid": {
  28543. "description": "资金账号ID",
  28544. "type": "integer"
  28545. },
  28546. "createtime": {
  28547. "description": "创建时间(时间)",
  28548. "type": "string"
  28549. },
  28550. "handlestatus": {
  28551. "description": "处理状态",
  28552. "type": "integer"
  28553. },
  28554. "logid": {
  28555. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28556. "type": "string"
  28557. },
  28558. "marketid": {
  28559. "description": "市场ID",
  28560. "type": "integer"
  28561. },
  28562. "mmaccountid": {
  28563. "description": "做市商资金账号ID",
  28564. "type": "string"
  28565. },
  28566. "mmuserid": {
  28567. "description": "做市商用户ID",
  28568. "type": "string"
  28569. },
  28570. "rewardamount": {
  28571. "description": "奖励金额",
  28572. "type": "number"
  28573. },
  28574. "rewardmodel": {
  28575. "description": "消费奖励方式 - 1:比率 2:固定",
  28576. "type": "integer"
  28577. },
  28578. "rewardtype": {
  28579. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  28580. "type": "integer"
  28581. },
  28582. "rewardvalue": {
  28583. "description": "配置奖励值",
  28584. "type": "number"
  28585. },
  28586. "srcamount": {
  28587. "description": "成交金额 [消费奖励] (金额)",
  28588. "type": "number"
  28589. },
  28590. "srcgoodsid": {
  28591. "description": "来源商品ID [消费奖励]",
  28592. "type": "string"
  28593. },
  28594. "srctime": {
  28595. "description": "来源时间 (成交时间) [消费奖励]",
  28596. "type": "string"
  28597. },
  28598. "srctradeid": {
  28599. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  28600. "type": "string"
  28601. },
  28602. "srcuserid": {
  28603. "description": "来源用户ID(推广账户)",
  28604. "type": "string"
  28605. },
  28606. "srcusername": {
  28607. "description": "推广账户名称",
  28608. "type": "string"
  28609. },
  28610. "tradedate": {
  28611. "description": "交易日(yyyyMMdd)",
  28612. "type": "string"
  28613. },
  28614. "userid": {
  28615. "description": "经纪人用户ID",
  28616. "type": "integer"
  28617. }
  28618. }
  28619. },
  28620. "models.QhjContract": {
  28621. "type": "object",
  28622. "properties": {
  28623. "contractconfirmtime": {
  28624. "description": "合同确认时间(时间)",
  28625. "type": "string"
  28626. },
  28627. "currisklevel": {
  28628. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  28629. "type": "integer"
  28630. },
  28631. "decimalplace": {
  28632. "description": "商品报价小数位",
  28633. "type": "integer"
  28634. },
  28635. "enumdicname": {
  28636. "description": "单位名称",
  28637. "type": "string"
  28638. },
  28639. "goodscode": {
  28640. "description": "商品代码",
  28641. "type": "string"
  28642. },
  28643. "goodsid": {
  28644. "description": "商品ID [5:融资单]",
  28645. "type": "integer"
  28646. },
  28647. "goodsname": {
  28648. "description": "商品名称",
  28649. "type": "string"
  28650. },
  28651. "goodunitid": {
  28652. "description": "商品单位id",
  28653. "type": "integer"
  28654. },
  28655. "initmargin": {
  28656. "description": "初始保证金(首付款)",
  28657. "type": "number"
  28658. },
  28659. "lenderamount": {
  28660. "description": "贷款金额(总额|订单总额)",
  28661. "type": "number"
  28662. },
  28663. "marginratio": {
  28664. "description": "保证金比率(首付比例)",
  28665. "type": "number"
  28666. },
  28667. "payamount": {
  28668. "description": "已付(已付货款)",
  28669. "type": "number"
  28670. },
  28671. "reckonrecovermargin": {
  28672. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  28673. "type": "number"
  28674. },
  28675. "recoveredmargin": {
  28676. "description": "已追缴保证金",
  28677. "type": "number"
  28678. },
  28679. "remainamount": {
  28680. "description": "合同剩余金额(融资额)",
  28681. "type": "number"
  28682. },
  28683. "scfcontractid": {
  28684. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28685. "type": "string"
  28686. },
  28687. "scfcontractstatus": {
  28688. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  28689. "type": "integer"
  28690. },
  28691. "scfcontracttype": {
  28692. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  28693. "type": "integer"
  28694. },
  28695. "totalinterest": {
  28696. "description": "已计总利息(利息)",
  28697. "type": "number"
  28698. },
  28699. "tradeprice": {
  28700. "description": "成交价格(成本价格)",
  28701. "type": "number"
  28702. },
  28703. "userid": {
  28704. "description": "用户ID",
  28705. "type": "integer"
  28706. },
  28707. "username": {
  28708. "description": "用户名称",
  28709. "type": "string"
  28710. },
  28711. "wrqty": {
  28712. "description": "仓单数量(数量)",
  28713. "type": "number"
  28714. }
  28715. }
  28716. },
  28717. "models.QhjContractLog": {
  28718. "type": "object",
  28719. "properties": {
  28720. "amount": {
  28721. "description": "支付金额",
  28722. "type": "number"
  28723. },
  28724. "amounttype": {
  28725. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  28726. "type": "integer"
  28727. },
  28728. "logid": {
  28729. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28730. "type": "string"
  28731. },
  28732. "remainamount": {
  28733. "description": "剩余货款",
  28734. "type": "number"
  28735. },
  28736. "scfcontractid": {
  28737. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  28738. "type": "integer"
  28739. },
  28740. "updatetime": {
  28741. "description": "更新时间",
  28742. "type": "string"
  28743. }
  28744. }
  28745. },
  28746. "models.QhjCusBankSignBankEx": {
  28747. "type": "object",
  28748. "properties": {
  28749. "banklst": {
  28750. "description": "银行列表",
  28751. "type": "array",
  28752. "items": {
  28753. "$ref": "#/definitions/models.QhjBankInfo"
  28754. }
  28755. },
  28756. "canallot": {
  28757. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  28758. "type": "integer"
  28759. },
  28760. "canallotquery": {
  28761. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  28762. "type": "integer"
  28763. },
  28764. "canbindcard": {
  28765. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  28766. "type": "integer"
  28767. },
  28768. "caninamount": {
  28769. "description": "是否可入金 - 0:不可 1:可以",
  28770. "type": "integer"
  28771. },
  28772. "caninamount2": {
  28773. "description": "是否可入金(网银端) - 0:不可 1:可以",
  28774. "type": "integer"
  28775. },
  28776. "canmodifybankcard": {
  28777. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  28778. "type": "integer"
  28779. },
  28780. "canmodifyphone": {
  28781. "description": "是否可修改手机号 - 0:不可 1:可以",
  28782. "type": "integer"
  28783. },
  28784. "canmodifysigninfo": {
  28785. "description": "是否可修改签约信息 - 0:不可 1:可以",
  28786. "type": "integer"
  28787. },
  28788. "canoutamount": {
  28789. "description": "是否可出金 - 0:不可 1:可以",
  28790. "type": "integer"
  28791. },
  28792. "canoutamount2": {
  28793. "description": "是否可出金(网银端) - 0:不可 1:可以",
  28794. "type": "integer"
  28795. },
  28796. "canrelease": {
  28797. "description": "是否可解约 - 0:不可 1:可以",
  28798. "type": "integer"
  28799. },
  28800. "canrelease2": {
  28801. "description": "是否可解约(网银端) - 0:不可 1:可以",
  28802. "type": "integer"
  28803. },
  28804. "cansign": {
  28805. "description": "是否可签约 - 0:不可 1:可以",
  28806. "type": "integer"
  28807. },
  28808. "cansign2": {
  28809. "description": "是否可签约(网银端) - 0:不可 1:可以",
  28810. "type": "integer"
  28811. },
  28812. "currency": {
  28813. "description": "币种",
  28814. "type": "string"
  28815. },
  28816. "cusbankid": {
  28817. "description": "托管银行编号(对应清算中心TRAN_NO)",
  28818. "type": "string"
  28819. },
  28820. "cusbankname": {
  28821. "description": "银行业务名称",
  28822. "type": "string"
  28823. },
  28824. "cusbankshortname": {
  28825. "description": "银行业务简称",
  28826. "type": "string"
  28827. },
  28828. "exchbankid": {
  28829. "description": "交易所开户银行ID",
  28830. "type": "string"
  28831. },
  28832. "exchpaybankaccname": {
  28833. "description": "交易所支出结算账户户名",
  28834. "type": "string"
  28835. },
  28836. "exchpaybankaccno": {
  28837. "description": "交易所支出结算账户",
  28838. "type": "string"
  28839. },
  28840. "isneedcheck": {
  28841. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  28842. "type": "integer"
  28843. },
  28844. "isneedclear": {
  28845. "description": "是否需要清算 - 0:不需要 1:需要",
  28846. "type": "integer"
  28847. },
  28848. "lastcheckstatus": {
  28849. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  28850. "type": "integer"
  28851. },
  28852. "lastchecktime": {
  28853. "description": "最后对账时间",
  28854. "type": "string"
  28855. },
  28856. "lastclearstatus": {
  28857. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  28858. "type": "integer"
  28859. },
  28860. "lastcleartime": {
  28861. "description": "最后清算时间",
  28862. "type": "string"
  28863. },
  28864. "lastsignintime": {
  28865. "description": "最后签到时间",
  28866. "type": "string"
  28867. },
  28868. "lastsignouttime": {
  28869. "description": "最后签退时间",
  28870. "type": "string"
  28871. },
  28872. "riskinfo": {
  28873. "description": "签约风险提示书",
  28874. "type": "string"
  28875. },
  28876. "signstatus": {
  28877. "description": "当前签到/签退状态 - 1:签到 2:签退",
  28878. "type": "integer"
  28879. },
  28880. "tradedate": {
  28881. "description": "交易日(yyyyMMdd)",
  28882. "type": "string"
  28883. },
  28884. "updatetime": {
  28885. "description": "当前签到/签退更新时间",
  28886. "type": "string"
  28887. }
  28888. }
  28889. },
  28890. "models.QhjCustomer": {
  28891. "type": "object",
  28892. "properties": {
  28893. "address": {
  28894. "description": "通讯地址",
  28895. "type": "string"
  28896. },
  28897. "attachment1": {
  28898. "description": "附件1",
  28899. "type": "string"
  28900. },
  28901. "attachment2": {
  28902. "description": "附件2",
  28903. "type": "string"
  28904. },
  28905. "audittime": {
  28906. "description": "审核时间",
  28907. "type": "string"
  28908. },
  28909. "cardbackphotourl": {
  28910. "description": "证件反面图片地址",
  28911. "type": "string"
  28912. },
  28913. "cardfrontphotourl": {
  28914. "description": "证件正面图片地址",
  28915. "type": "string"
  28916. },
  28917. "cardnum": {
  28918. "description": "证件号码",
  28919. "type": "string"
  28920. },
  28921. "cardtype": {
  28922. "description": "证件类型",
  28923. "type": "integer"
  28924. },
  28925. "cardtypename": {
  28926. "description": "证件类型名称",
  28927. "type": "string"
  28928. },
  28929. "cityid": {
  28930. "description": "市",
  28931. "type": "integer"
  28932. },
  28933. "cityname": {
  28934. "description": "城市名称",
  28935. "type": "string"
  28936. },
  28937. "contactname": {
  28938. "description": "联系人",
  28939. "type": "string"
  28940. },
  28941. "countryid": {
  28942. "description": "国家",
  28943. "type": "integer"
  28944. },
  28945. "countryname": {
  28946. "description": "国家名称",
  28947. "type": "string"
  28948. },
  28949. "createtime": {
  28950. "description": "创建时间",
  28951. "type": "string"
  28952. },
  28953. "customername": {
  28954. "description": "客户名称",
  28955. "type": "string"
  28956. },
  28957. "districtid": {
  28958. "description": "区域",
  28959. "type": "integer"
  28960. },
  28961. "districtname": {
  28962. "description": "地区名称",
  28963. "type": "string"
  28964. },
  28965. "email": {
  28966. "description": "邮件",
  28967. "type": "string"
  28968. },
  28969. "legalpersonname": {
  28970. "description": "法人姓名(企业)",
  28971. "type": "string"
  28972. },
  28973. "logincode": {
  28974. "description": "登录账号(代码)",
  28975. "type": "string"
  28976. },
  28977. "memberuserid": {
  28978. "description": "所属机构ID(所属会员)",
  28979. "type": "integer"
  28980. },
  28981. "memberusername": {
  28982. "description": "所属会员名称",
  28983. "type": "string"
  28984. },
  28985. "mobile": {
  28986. "description": "手机号码",
  28987. "type": "string"
  28988. },
  28989. "modifytime": {
  28990. "description": "修改时间",
  28991. "type": "string"
  28992. },
  28993. "nickname": {
  28994. "description": "昵称",
  28995. "type": "string"
  28996. },
  28997. "parentuserid": {
  28998. "description": "上级机构(所属机构)",
  28999. "type": "integer"
  29000. },
  29001. "parentusername": {
  29002. "description": "所属机构名称",
  29003. "type": "string"
  29004. },
  29005. "provinceid": {
  29006. "description": "省",
  29007. "type": "integer"
  29008. },
  29009. "provincename": {
  29010. "description": "省名称",
  29011. "type": "string"
  29012. },
  29013. "proxystatementurl": {
  29014. "description": "授权委托书",
  29015. "type": "string"
  29016. },
  29017. "remark": {
  29018. "description": "备注",
  29019. "type": "string"
  29020. },
  29021. "status": {
  29022. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  29023. "type": "integer"
  29024. },
  29025. "statusdesc": {
  29026. "description": "账户状态中文描述",
  29027. "type": "string"
  29028. },
  29029. "taxpayernum": {
  29030. "description": "纳税人识别号",
  29031. "type": "string"
  29032. },
  29033. "telphone": {
  29034. "description": "联系电话",
  29035. "type": "string"
  29036. },
  29037. "userid": {
  29038. "description": "用户ID",
  29039. "type": "integer"
  29040. },
  29041. "userinfotype": {
  29042. "description": "客户类型 1-个人 2-企业",
  29043. "type": "integer"
  29044. },
  29045. "username": {
  29046. "description": "用户名称",
  29047. "type": "string"
  29048. }
  29049. }
  29050. },
  29051. "models.QhjCustomerSignLog": {
  29052. "type": "object",
  29053. "properties": {
  29054. "agreementcontent": {
  29055. "description": "协议内容",
  29056. "type": "string"
  29057. },
  29058. "agreementid": {
  29059. "description": "协议ID",
  29060. "type": "integer"
  29061. },
  29062. "agreementname": {
  29063. "description": "协议名称",
  29064. "type": "string"
  29065. },
  29066. "agreementno": {
  29067. "description": "协议编号",
  29068. "type": "string"
  29069. },
  29070. "agreementtype": {
  29071. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29072. "type": "integer"
  29073. },
  29074. "agreementversion": {
  29075. "description": "协议版本号",
  29076. "type": "integer"
  29077. },
  29078. "createtime": {
  29079. "description": "创建时间",
  29080. "type": "string"
  29081. },
  29082. "goodscode": {
  29083. "description": "商品代码",
  29084. "type": "string"
  29085. },
  29086. "goodsid": {
  29087. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29088. "type": "integer"
  29089. },
  29090. "goodsname": {
  29091. "description": "商品名称",
  29092. "type": "string"
  29093. },
  29094. "logid": {
  29095. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  29096. "type": "integer"
  29097. },
  29098. "nodetype": {
  29099. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  29100. "type": "integer"
  29101. },
  29102. "signadressurl": {
  29103. "description": "签约文件地址",
  29104. "type": "string"
  29105. },
  29106. "signtimestamp": {
  29107. "description": "签约状态时间戳",
  29108. "type": "string"
  29109. },
  29110. "userid": {
  29111. "description": "客户ID",
  29112. "type": "integer"
  29113. },
  29114. "username": {
  29115. "description": "客户名称",
  29116. "type": "string"
  29117. }
  29118. }
  29119. },
  29120. "models.QhjCustomerSignStatus": {
  29121. "type": "object",
  29122. "properties": {
  29123. "createtime": {
  29124. "description": "创建时间",
  29125. "type": "string"
  29126. },
  29127. "goodscode": {
  29128. "description": "商品代码",
  29129. "type": "string"
  29130. },
  29131. "goodsid": {
  29132. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  29133. "type": "integer"
  29134. },
  29135. "goodsname": {
  29136. "description": "商品名称",
  29137. "type": "string"
  29138. },
  29139. "nodetype": {
  29140. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  29141. "type": "integer"
  29142. },
  29143. "signtimestamp": {
  29144. "description": "签约状态时间戳",
  29145. "type": "string"
  29146. },
  29147. "tradedate": {
  29148. "description": "创建交易日(yyyyMMdd)",
  29149. "type": "string"
  29150. },
  29151. "updatetime": {
  29152. "description": "更新时间",
  29153. "type": "string"
  29154. },
  29155. "userid": {
  29156. "description": "客户ID",
  29157. "type": "integer"
  29158. },
  29159. "username": {
  29160. "description": "客户名称",
  29161. "type": "string"
  29162. }
  29163. }
  29164. },
  29165. "models.QhjMgrAccountOutInApply": {
  29166. "type": "object",
  29167. "properties": {
  29168. "accountcode": {
  29169. "description": "资金账号",
  29170. "type": "string"
  29171. },
  29172. "accountname": {
  29173. "description": "用户名称(名称)",
  29174. "type": "string"
  29175. },
  29176. "accountpwd": {
  29177. "description": "资金密码",
  29178. "type": "string"
  29179. },
  29180. "accountticket": {
  29181. "description": "最新账户服务流水号",
  29182. "type": "string"
  29183. },
  29184. "amount": {
  29185. "description": "金额",
  29186. "type": "number"
  29187. },
  29188. "applyremark": {
  29189. "description": "申请备注",
  29190. "type": "string"
  29191. },
  29192. "applystatus": {
  29193. "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: 复审通过,账户冻结金额检查中;",
  29194. "type": "integer"
  29195. },
  29196. "auditid": {
  29197. "description": "审核人",
  29198. "type": "integer"
  29199. },
  29200. "audittime": {
  29201. "description": "审核时间",
  29202. "type": "string"
  29203. },
  29204. "bank_apply_ticket": {
  29205. "description": "银行申请流水",
  29206. "type": "string"
  29207. },
  29208. "bankaccountname": {
  29209. "description": "银行账户名",
  29210. "type": "string"
  29211. },
  29212. "bankaccountno": {
  29213. "description": "银行卡号",
  29214. "type": "string"
  29215. },
  29216. "bankid": {
  29217. "description": "银行编号",
  29218. "type": "string"
  29219. },
  29220. "bankname": {
  29221. "description": "银行名称",
  29222. "type": "string"
  29223. },
  29224. "bankticket": {
  29225. "description": "银行流水",
  29226. "type": "string"
  29227. },
  29228. "branchbankid": {
  29229. "description": "银行支行号",
  29230. "type": "string"
  29231. },
  29232. "branchbankname": {
  29233. "description": "银行支行名称",
  29234. "type": "string"
  29235. },
  29236. "capamountout": {
  29237. "description": "出金(劣后本金) - 外部子账户",
  29238. "type": "number"
  29239. },
  29240. "certificatephotourl": {
  29241. "description": "凭证地址",
  29242. "type": "string"
  29243. },
  29244. "charge": {
  29245. "description": "手续费",
  29246. "type": "number"
  29247. },
  29248. "checkerrorflag": {
  29249. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  29250. "type": "integer"
  29251. },
  29252. "currency": {
  29253. "description": "币种",
  29254. "type": "string"
  29255. },
  29256. "cusbankid": {
  29257. "description": "托管银行编号",
  29258. "type": "string"
  29259. },
  29260. "exchticket": {
  29261. "description": "银行服务流水号",
  29262. "type": "string"
  29263. },
  29264. "executetype": {
  29265. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  29266. "type": "integer"
  29267. },
  29268. "extendinfo": {
  29269. "description": "扩展信息",
  29270. "type": "string"
  29271. },
  29272. "extoperateid": {
  29273. "description": "交易服务流水号",
  29274. "type": "integer"
  29275. },
  29276. "infamount": {
  29277. "description": "劣后金额(自有)",
  29278. "type": "number"
  29279. },
  29280. "logincode": {
  29281. "description": "登录账号(账号)",
  29282. "type": "string"
  29283. },
  29284. "netaddr": {
  29285. "description": "调转网址",
  29286. "type": "string"
  29287. },
  29288. "priamount": {
  29289. "description": "优先金额(授信)",
  29290. "type": "number"
  29291. },
  29292. "reauditid": {
  29293. "description": "复审人",
  29294. "type": "integer"
  29295. },
  29296. "reauditremark": {
  29297. "description": "复审备注",
  29298. "type": "string"
  29299. },
  29300. "reaudittime": {
  29301. "description": "复审时间",
  29302. "type": "string"
  29303. },
  29304. "relatedorderid": {
  29305. "description": "三方关联ID",
  29306. "type": "string"
  29307. },
  29308. "remark": {
  29309. "description": "备注",
  29310. "type": "string"
  29311. },
  29312. "remark2": {
  29313. "description": "备注(失败原因)",
  29314. "type": "string"
  29315. },
  29316. "soucreamount": {
  29317. "description": "原始出入金金额",
  29318. "type": "number"
  29319. },
  29320. "soucrecurrencyid": {
  29321. "description": "原始出入金币种",
  29322. "type": "integer"
  29323. },
  29324. "tradedate": {
  29325. "description": "交易日(yyyyMMdd)",
  29326. "type": "string"
  29327. },
  29328. "updatetime": {
  29329. "description": "更新时间(申请时间)",
  29330. "type": "string"
  29331. },
  29332. "userid": {
  29333. "description": "用户id",
  29334. "type": "integer"
  29335. },
  29336. "userinfotype": {
  29337. "description": "账户类型 1-个人 2-企业",
  29338. "type": "integer"
  29339. }
  29340. }
  29341. },
  29342. "models.QhjMgrBrokerApply": {
  29343. "type": "object",
  29344. "properties": {
  29345. "applicantid": {
  29346. "description": "申请人",
  29347. "type": "integer"
  29348. },
  29349. "applysrc": {
  29350. "description": "申请来源 - 1:管理端 2:终端",
  29351. "type": "integer"
  29352. },
  29353. "applystatus": {
  29354. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  29355. "type": "integer"
  29356. },
  29357. "applytime": {
  29358. "description": "申请时间",
  29359. "type": "string"
  29360. },
  29361. "auditorid": {
  29362. "description": "审核人",
  29363. "type": "integer"
  29364. },
  29365. "auditremark": {
  29366. "description": "审核备注",
  29367. "type": "string"
  29368. },
  29369. "auditsrc": {
  29370. "description": "审核来源 - 1:管理端 2:终端",
  29371. "type": "integer"
  29372. },
  29373. "audittime": {
  29374. "description": "审核时间",
  29375. "type": "string"
  29376. },
  29377. "audittradedate": {
  29378. "description": "审核交易日(yyyyMMdd)",
  29379. "type": "string"
  29380. },
  29381. "brokerapplyid": {
  29382. "description": "申请ID(SEQ_BROKERAPPLY)",
  29383. "type": "integer"
  29384. },
  29385. "cardbackphotourl": {
  29386. "description": "证件背面图片地址",
  29387. "type": "string"
  29388. },
  29389. "cardfrontphotourl": {
  29390. "description": "证件正面图片地址",
  29391. "type": "string"
  29392. },
  29393. "cardnum": {
  29394. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  29395. "type": "string"
  29396. },
  29397. "customername": {
  29398. "description": "姓名",
  29399. "type": "string"
  29400. },
  29401. "filterstatus": {
  29402. "description": "筛选条件",
  29403. "type": "string"
  29404. },
  29405. "logincode": {
  29406. "description": "登录代码",
  29407. "type": "string"
  29408. },
  29409. "mobile": {
  29410. "description": "手机号码",
  29411. "type": "string"
  29412. },
  29413. "parentuserid": {
  29414. "description": "所属机构id",
  29415. "type": "integer"
  29416. },
  29417. "parentusername": {
  29418. "description": "所属机构名称",
  29419. "type": "string"
  29420. },
  29421. "refereeuserid": {
  29422. "description": "推荐人id(经纪人)",
  29423. "type": "integer"
  29424. },
  29425. "refernum": {
  29426. "description": "推荐码",
  29427. "type": "string"
  29428. },
  29429. "remark": {
  29430. "description": "备注",
  29431. "type": "string"
  29432. },
  29433. "subarealevelpath": {
  29434. "description": "层级路径",
  29435. "type": "string"
  29436. },
  29437. "tradedate": {
  29438. "description": "交易日(yyyyMMdd)",
  29439. "type": "string"
  29440. },
  29441. "userid": {
  29442. "description": "申请人用户ID",
  29443. "type": "integer"
  29444. },
  29445. "userinfotype": {
  29446. "description": "用户类型 1-个人 2-企业",
  29447. "type": "integer"
  29448. },
  29449. "username": {
  29450. "description": "用户名称",
  29451. "type": "string"
  29452. }
  29453. }
  29454. },
  29455. "models.QhjMgrBrokerRewardReport": {
  29456. "type": "object",
  29457. "properties": {
  29458. "createtime": {
  29459. "description": "创建时间(注册时间)",
  29460. "type": "string"
  29461. },
  29462. "cycletime": {
  29463. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  29464. "type": "string"
  29465. },
  29466. "cycletype": {
  29467. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  29468. "type": "integer"
  29469. },
  29470. "directtotalnum": {
  29471. "description": "直推总人数【期末】",
  29472. "type": "integer"
  29473. },
  29474. "indirecttotalnum": {
  29475. "description": "间推总人数【期末】",
  29476. "type": "integer"
  29477. },
  29478. "mobile": {
  29479. "description": "电话号码",
  29480. "type": "string"
  29481. },
  29482. "refereeuserid": {
  29483. "description": "推荐人id(经纪人id)",
  29484. "type": "integer"
  29485. },
  29486. "refereeusername": {
  29487. "description": "推荐人名称(经纪人) 上级经纪人名称",
  29488. "type": "string"
  29489. },
  29490. "refernum": {
  29491. "description": "推荐码",
  29492. "type": "string"
  29493. },
  29494. "subarealevelpath": {
  29495. "description": "用户层级路径",
  29496. "type": "string"
  29497. },
  29498. "todayrewardamount": {
  29499. "description": "奖励总金额【汇总】",
  29500. "type": "number"
  29501. },
  29502. "updatetime": {
  29503. "description": "更新时间",
  29504. "type": "string"
  29505. },
  29506. "userid": {
  29507. "description": "经纪人用户ID",
  29508. "type": "integer"
  29509. },
  29510. "userinfotype": {
  29511. "description": "用户类型 1-个人 2-企业",
  29512. "type": "integer"
  29513. },
  29514. "username": {
  29515. "description": "用户名称",
  29516. "type": "string"
  29517. }
  29518. }
  29519. },
  29520. "models.QhjMgrContract": {
  29521. "type": "object",
  29522. "properties": {
  29523. "contractconfirmtime": {
  29524. "description": "合同确认时间(时间)",
  29525. "type": "string"
  29526. },
  29527. "currisklevel": {
  29528. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  29529. "type": "integer"
  29530. },
  29531. "decimalplace": {
  29532. "description": "商品报价小数位",
  29533. "type": "integer"
  29534. },
  29535. "enumdicname": {
  29536. "description": "单位名称",
  29537. "type": "string"
  29538. },
  29539. "goodscode": {
  29540. "description": "商品代码",
  29541. "type": "string"
  29542. },
  29543. "goodsid": {
  29544. "description": "商品ID [5:融资单]",
  29545. "type": "integer"
  29546. },
  29547. "goodsname": {
  29548. "description": "商品名称",
  29549. "type": "string"
  29550. },
  29551. "goodunitid": {
  29552. "description": "商品单位id",
  29553. "type": "integer"
  29554. },
  29555. "initmargin": {
  29556. "description": "初始保证金(首付款)",
  29557. "type": "number"
  29558. },
  29559. "lenderamount": {
  29560. "description": "贷款金额(总额|订单总额)",
  29561. "type": "number"
  29562. },
  29563. "logincode": {
  29564. "description": "账号(登录代码)",
  29565. "type": "string"
  29566. },
  29567. "marginratio": {
  29568. "description": "保证金比率(首付比例)",
  29569. "type": "number"
  29570. },
  29571. "mobile": {
  29572. "description": "电话号码(用户资料里的电话)",
  29573. "type": "string"
  29574. },
  29575. "payamount": {
  29576. "description": "已付(已付货款)",
  29577. "type": "number"
  29578. },
  29579. "reckonrecovermargin": {
  29580. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  29581. "type": "number"
  29582. },
  29583. "recoveredmargin": {
  29584. "description": "已追缴保证金",
  29585. "type": "number"
  29586. },
  29587. "remainamount": {
  29588. "description": "合同剩余金额(融资额)",
  29589. "type": "number"
  29590. },
  29591. "scfcontractid": {
  29592. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29593. "type": "string"
  29594. },
  29595. "scfcontractstatus": {
  29596. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  29597. "type": "integer"
  29598. },
  29599. "scfcontracttype": {
  29600. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  29601. "type": "integer"
  29602. },
  29603. "totalinterest": {
  29604. "description": "已计总利息(利息)",
  29605. "type": "number"
  29606. },
  29607. "tradedate": {
  29608. "description": "交易日",
  29609. "type": "string"
  29610. },
  29611. "tradeprice": {
  29612. "description": "成交价格(成本价格)",
  29613. "type": "number"
  29614. },
  29615. "userid": {
  29616. "description": "用户ID",
  29617. "type": "integer"
  29618. },
  29619. "userinfotype": {
  29620. "description": "用户类型 1-个人 2-企业",
  29621. "type": "integer"
  29622. },
  29623. "username": {
  29624. "description": "用户名称",
  29625. "type": "string"
  29626. },
  29627. "wrqty": {
  29628. "description": "仓单数量(数量)",
  29629. "type": "number"
  29630. }
  29631. }
  29632. },
  29633. "models.QhjMgrCustomer": {
  29634. "type": "object",
  29635. "properties": {
  29636. "address": {
  29637. "description": "通讯地址",
  29638. "type": "string"
  29639. },
  29640. "attachment1": {
  29641. "description": "附件1",
  29642. "type": "string"
  29643. },
  29644. "audittime": {
  29645. "description": "审核时间",
  29646. "type": "string"
  29647. },
  29648. "birthday": {
  29649. "description": "生日",
  29650. "type": "string"
  29651. },
  29652. "brokerid": {
  29653. "description": "所属客户经理id",
  29654. "type": "integer"
  29655. },
  29656. "brokername": {
  29657. "description": "所属客户经理名称",
  29658. "type": "string"
  29659. },
  29660. "cardbackphotourl": {
  29661. "description": "证件反面图片地址",
  29662. "type": "string"
  29663. },
  29664. "cardfrontphotourl": {
  29665. "description": "证件正面图片地址",
  29666. "type": "string"
  29667. },
  29668. "cardnum": {
  29669. "description": "证件号码",
  29670. "type": "string"
  29671. },
  29672. "cardtype": {
  29673. "description": "证件类型",
  29674. "type": "integer"
  29675. },
  29676. "cardtypename": {
  29677. "description": "证件类型名称",
  29678. "type": "string"
  29679. },
  29680. "cityid": {
  29681. "description": "市",
  29682. "type": "integer"
  29683. },
  29684. "cityname": {
  29685. "description": "城市名称",
  29686. "type": "string"
  29687. },
  29688. "contactname": {
  29689. "description": "联系人",
  29690. "type": "string"
  29691. },
  29692. "countryid": {
  29693. "description": "国家",
  29694. "type": "integer"
  29695. },
  29696. "countryname": {
  29697. "description": "国家名称",
  29698. "type": "string"
  29699. },
  29700. "createtime": {
  29701. "description": "创建时间",
  29702. "type": "string"
  29703. },
  29704. "customername": {
  29705. "description": "客户名称",
  29706. "type": "string"
  29707. },
  29708. "districtid": {
  29709. "description": "区域",
  29710. "type": "integer"
  29711. },
  29712. "districtname": {
  29713. "description": "地区名称",
  29714. "type": "string"
  29715. },
  29716. "email": {
  29717. "description": "邮件",
  29718. "type": "string"
  29719. },
  29720. "legalpersonname": {
  29721. "description": "法人姓名(企业)",
  29722. "type": "string"
  29723. },
  29724. "logincode": {
  29725. "description": "登录账号(代码)",
  29726. "type": "string"
  29727. },
  29728. "memberuserid": {
  29729. "description": "所属机构ID(所属会员)",
  29730. "type": "integer"
  29731. },
  29732. "memberusername": {
  29733. "description": "所属会员名称",
  29734. "type": "string"
  29735. },
  29736. "mobile": {
  29737. "description": "手机号码",
  29738. "type": "string"
  29739. },
  29740. "modifytime": {
  29741. "description": "修改时间",
  29742. "type": "string"
  29743. },
  29744. "nickname": {
  29745. "description": "昵称",
  29746. "type": "string"
  29747. },
  29748. "parentuserid": {
  29749. "description": "上级机构(所属机构)",
  29750. "type": "integer"
  29751. },
  29752. "parentusername": {
  29753. "description": "所属机构名称",
  29754. "type": "string"
  29755. },
  29756. "provinceid": {
  29757. "description": "省",
  29758. "type": "integer"
  29759. },
  29760. "provincename": {
  29761. "description": "省名称",
  29762. "type": "string"
  29763. },
  29764. "proxystatementurl": {
  29765. "description": "授权委托书",
  29766. "type": "string"
  29767. },
  29768. "querytype": {
  29769. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  29770. "type": "integer"
  29771. },
  29772. "remark": {
  29773. "description": "备注",
  29774. "type": "string"
  29775. },
  29776. "sex": {
  29777. "description": "性别 0-女 1-男",
  29778. "type": "integer"
  29779. },
  29780. "status": {
  29781. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29782. "type": "integer"
  29783. },
  29784. "statusdesc": {
  29785. "description": "账户状态中文描述",
  29786. "type": "string"
  29787. },
  29788. "taxpayernum": {
  29789. "description": "纳税人识别号",
  29790. "type": "string"
  29791. },
  29792. "telphone": {
  29793. "description": "联系电话",
  29794. "type": "string"
  29795. },
  29796. "userid": {
  29797. "description": "用户ID",
  29798. "type": "integer"
  29799. },
  29800. "userinfotype": {
  29801. "description": "客户类型 1-个人 2-企业",
  29802. "type": "integer"
  29803. },
  29804. "username": {
  29805. "description": "用户名称",
  29806. "type": "string"
  29807. }
  29808. }
  29809. },
  29810. "models.QhjMgrPickGoods": {
  29811. "type": "object",
  29812. "properties": {
  29813. "enumdicname": {
  29814. "description": "单位名称(提货商品)",
  29815. "type": "string"
  29816. },
  29817. "goodsid": {
  29818. "description": "商品id",
  29819. "type": "integer"
  29820. },
  29821. "imageaddress": {
  29822. "description": "图片",
  29823. "type": "string"
  29824. },
  29825. "modifierid": {
  29826. "description": "修改人",
  29827. "type": "integer"
  29828. },
  29829. "modifiername": {
  29830. "description": "修改人名称",
  29831. "type": "string"
  29832. },
  29833. "modifysrc": {
  29834. "description": "修改来源 - 1:管理端 2:终端",
  29835. "type": "integer"
  29836. },
  29837. "pickupgoodsagreeunit": {
  29838. "description": "合约乘数",
  29839. "type": "number"
  29840. },
  29841. "pickupgoodsdesc": {
  29842. "description": "描述",
  29843. "type": "string"
  29844. },
  29845. "pickupgoodsid": {
  29846. "description": "提货商品ID",
  29847. "type": "string"
  29848. },
  29849. "pickupgoodsname": {
  29850. "description": "提货商品名称",
  29851. "type": "string"
  29852. },
  29853. "pickupgoodsstatus": {
  29854. "description": "状态 - 1:正常 2:停用 3:注销",
  29855. "type": "integer"
  29856. },
  29857. "pickupgoodsunitid": {
  29858. "description": "单位ID",
  29859. "type": "integer"
  29860. },
  29861. "pickupratio": {
  29862. "description": "提货系数",
  29863. "type": "number"
  29864. },
  29865. "preparedays": {
  29866. "description": "备货期(天)",
  29867. "type": "integer"
  29868. },
  29869. "remark": {
  29870. "description": "备注",
  29871. "type": "string"
  29872. },
  29873. "updatetime": {
  29874. "description": "更新时间",
  29875. "type": "string"
  29876. }
  29877. }
  29878. },
  29879. "models.QhjMgrPositionRsp": {
  29880. "type": "object",
  29881. "properties": {
  29882. "accountid": {
  29883. "description": "账号Id",
  29884. "type": "integer"
  29885. },
  29886. "accountname": {
  29887. "description": "用户名称",
  29888. "type": "string"
  29889. },
  29890. "agreeunit": {
  29891. "description": "合约乘数",
  29892. "type": "number"
  29893. },
  29894. "averageprice": {
  29895. "description": "均价",
  29896. "type": "number"
  29897. },
  29898. "avialqty": {
  29899. "description": "可用数量",
  29900. "type": "number"
  29901. },
  29902. "decimalplace": {
  29903. "description": "报价小数位",
  29904. "type": "integer"
  29905. },
  29906. "enumdicname": {
  29907. "description": "单位名称(商品)",
  29908. "type": "string"
  29909. },
  29910. "frozenqty": {
  29911. "description": "冻结数量",
  29912. "type": "number"
  29913. },
  29914. "goodscode": {
  29915. "description": "商品代码(内部)",
  29916. "type": "string"
  29917. },
  29918. "goodsid": {
  29919. "description": "商品Id",
  29920. "type": "integer"
  29921. },
  29922. "goodsname": {
  29923. "description": "商品名称",
  29924. "type": "string"
  29925. },
  29926. "goodunitid": {
  29927. "description": "报价单位ID",
  29928. "type": "integer"
  29929. },
  29930. "holderamount": {
  29931. "description": "金额",
  29932. "type": "number"
  29933. },
  29934. "holderqty": {
  29935. "description": "持有数量",
  29936. "type": "number"
  29937. },
  29938. "holdertype": {
  29939. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  29940. "type": "integer"
  29941. },
  29942. "logincode": {
  29943. "description": "登录代码(账户)",
  29944. "type": "string"
  29945. },
  29946. "marketid": {
  29947. "description": "市场id",
  29948. "type": "integer"
  29949. },
  29950. "qtydecimalplace": {
  29951. "description": "成交量小数位",
  29952. "type": "integer"
  29953. },
  29954. "trademode": {
  29955. "description": "交易模式",
  29956. "type": "integer"
  29957. },
  29958. "userid": {
  29959. "description": "用户id",
  29960. "type": "integer"
  29961. },
  29962. "userinfotype": {
  29963. "description": "账户类型 1-个人 2-企业",
  29964. "type": "integer"
  29965. }
  29966. }
  29967. },
  29968. "models.QhjMgrSubArea": {
  29969. "type": "object",
  29970. "properties": {
  29971. "accountname": {
  29972. "description": "账户名称(机构名称)",
  29973. "type": "string"
  29974. },
  29975. "memberuserid": {
  29976. "description": "所属会员ID",
  29977. "type": "integer"
  29978. },
  29979. "parenttopuser": {
  29980. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29981. "type": "string"
  29982. },
  29983. "parentuserid": {
  29984. "description": "所属机构ID",
  29985. "type": "integer"
  29986. },
  29987. "rootuserid": {
  29988. "description": "根用户ID",
  29989. "type": "string"
  29990. },
  29991. "subaccountlevel": {
  29992. "description": "子账户层数",
  29993. "type": "integer"
  29994. },
  29995. "subarealevelpath": {
  29996. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29997. "type": "string"
  29998. },
  29999. "userid": {
  30000. "description": "用户ID",
  30001. "type": "integer"
  30002. },
  30003. "usertype": {
  30004. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30005. "type": "integer"
  30006. }
  30007. }
  30008. },
  30009. "models.QhjMgrTradeDetailRsp": {
  30010. "type": "object",
  30011. "properties": {
  30012. "accountid": {
  30013. "description": "资金账号",
  30014. "type": "integer"
  30015. },
  30016. "accountname": {
  30017. "description": "用户名称",
  30018. "type": "string"
  30019. },
  30020. "agreeunit": {
  30021. "description": "合约乘数",
  30022. "type": "number"
  30023. },
  30024. "buyorsell": {
  30025. "description": "成交类型(方向) 0:买 1:卖",
  30026. "type": "integer"
  30027. },
  30028. "decimalplace": {
  30029. "description": "报价小数位",
  30030. "type": "integer"
  30031. },
  30032. "enumdicname": {
  30033. "description": "单位名称(商品)",
  30034. "type": "string"
  30035. },
  30036. "goodscode": {
  30037. "description": "商品代码(内部)",
  30038. "type": "string"
  30039. },
  30040. "goodsid": {
  30041. "description": "商品id",
  30042. "type": "integer"
  30043. },
  30044. "goodsname": {
  30045. "description": "商品名称",
  30046. "type": "string"
  30047. },
  30048. "goodunitid": {
  30049. "description": "报价单位ID",
  30050. "type": "integer"
  30051. },
  30052. "logincode": {
  30053. "description": "登录代码(账户)",
  30054. "type": "string"
  30055. },
  30056. "marketid": {
  30057. "description": "市场id",
  30058. "type": "integer"
  30059. },
  30060. "orderid": {
  30061. "description": "关联委托单号",
  30062. "type": "string"
  30063. },
  30064. "qtydecimalplace": {
  30065. "description": "成交量小数位",
  30066. "type": "integer"
  30067. },
  30068. "tradeamount": {
  30069. "description": "金额",
  30070. "type": "number"
  30071. },
  30072. "tradedate": {
  30073. "description": "交易日",
  30074. "type": "string"
  30075. },
  30076. "tradeid": {
  30077. "description": "成交单号",
  30078. "type": "string"
  30079. },
  30080. "trademode": {
  30081. "description": "交易模式",
  30082. "type": "integer"
  30083. },
  30084. "tradeprice": {
  30085. "description": "价格",
  30086. "type": "number"
  30087. },
  30088. "tradeqty": {
  30089. "description": "数量",
  30090. "type": "number"
  30091. },
  30092. "tradetime": {
  30093. "description": "成交时间",
  30094. "type": "string"
  30095. },
  30096. "userid": {
  30097. "description": "用户id",
  30098. "type": "integer"
  30099. },
  30100. "userinfotype": {
  30101. "description": "账户类型 1-个人 2-企业",
  30102. "type": "integer"
  30103. }
  30104. }
  30105. },
  30106. "models.QhjMgrTradeOrderDetailRsp": {
  30107. "type": "object",
  30108. "properties": {
  30109. "accountid": {
  30110. "description": "资金账号",
  30111. "type": "integer"
  30112. },
  30113. "accountname": {
  30114. "description": "用户名称",
  30115. "type": "string"
  30116. },
  30117. "agreeunit": {
  30118. "description": "合约乘数",
  30119. "type": "number"
  30120. },
  30121. "amount": {
  30122. "description": "金额",
  30123. "type": "number"
  30124. },
  30125. "decimalplace": {
  30126. "description": "报价小数位",
  30127. "type": "integer"
  30128. },
  30129. "enumdicname": {
  30130. "description": "单位名称(商品)",
  30131. "type": "string"
  30132. },
  30133. "goodscode": {
  30134. "description": "商品代码(内部)",
  30135. "type": "string"
  30136. },
  30137. "goodsid": {
  30138. "description": "商品id",
  30139. "type": "integer"
  30140. },
  30141. "goodsname": {
  30142. "description": "商品名称",
  30143. "type": "string"
  30144. },
  30145. "goodunitid": {
  30146. "description": "报价单位ID",
  30147. "type": "integer"
  30148. },
  30149. "logincode": {
  30150. "description": "登录代码(账户)",
  30151. "type": "string"
  30152. },
  30153. "marketid": {
  30154. "description": "市场id",
  30155. "type": "integer"
  30156. },
  30157. "orderid": {
  30158. "description": "关联委托单号",
  30159. "type": "string"
  30160. },
  30161. "orderprice": {
  30162. "description": "价格",
  30163. "type": "number"
  30164. },
  30165. "orderqty": {
  30166. "description": "数量",
  30167. "type": "number"
  30168. },
  30169. "orderstatus": {
  30170. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30171. "type": "integer"
  30172. },
  30173. "ordertime": {
  30174. "description": "委托时间",
  30175. "type": "string"
  30176. },
  30177. "qtydecimalplace": {
  30178. "description": "成交量小数位",
  30179. "type": "integer"
  30180. },
  30181. "tradedate": {
  30182. "description": "交易日",
  30183. "type": "string"
  30184. },
  30185. "trademode": {
  30186. "description": "交易模式",
  30187. "type": "integer"
  30188. },
  30189. "userid": {
  30190. "description": "用户id",
  30191. "type": "integer"
  30192. },
  30193. "userinfotype": {
  30194. "description": "账户类型 1-个人 2-企业",
  30195. "type": "integer"
  30196. }
  30197. }
  30198. },
  30199. "models.QhjMgrTradePayOrder": {
  30200. "type": "object",
  30201. "properties": {
  30202. "accountname": {
  30203. "description": "用户名称",
  30204. "type": "string"
  30205. },
  30206. "advanceratio": {
  30207. "description": "首付比率",
  30208. "type": "number"
  30209. },
  30210. "agreeunit": {
  30211. "description": "合约乘数",
  30212. "type": "number"
  30213. },
  30214. "buyaccountid": {
  30215. "description": "买方账号ID[报价币种]",
  30216. "type": "integer"
  30217. },
  30218. "buyorderid": {
  30219. "description": "买方委托单号(关联单号)",
  30220. "type": "string"
  30221. },
  30222. "createtime": {
  30223. "description": "创建时间",
  30224. "type": "string"
  30225. },
  30226. "decimalplace": {
  30227. "description": "报价小数位",
  30228. "type": "integer"
  30229. },
  30230. "enumdicname": {
  30231. "description": "单位名称(商品)",
  30232. "type": "string"
  30233. },
  30234. "goodscode": {
  30235. "description": "商品代码(内部)",
  30236. "type": "string"
  30237. },
  30238. "goodsid": {
  30239. "description": "商品ID",
  30240. "type": "integer"
  30241. },
  30242. "goodsname": {
  30243. "description": "商品名称",
  30244. "type": "string"
  30245. },
  30246. "goodunitid": {
  30247. "description": "报价单位ID",
  30248. "type": "integer"
  30249. },
  30250. "logincode": {
  30251. "description": "登录代码(账户)",
  30252. "type": "string"
  30253. },
  30254. "marketid": {
  30255. "description": "市场id",
  30256. "type": "integer"
  30257. },
  30258. "offamount": {
  30259. "description": "优惠金额",
  30260. "type": "number"
  30261. },
  30262. "operatetype": {
  30263. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30264. "type": "integer"
  30265. },
  30266. "payamount": {
  30267. "description": "支付金额(金额)",
  30268. "type": "number"
  30269. },
  30270. "payflag": {
  30271. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30272. "type": "integer"
  30273. },
  30274. "paylimitedtime": {
  30275. "description": "支付期限",
  30276. "type": "string"
  30277. },
  30278. "paytime": {
  30279. "description": "付款时间",
  30280. "type": "string"
  30281. },
  30282. "qtydecimalplace": {
  30283. "description": "成交量小数位",
  30284. "type": "integer"
  30285. },
  30286. "sellaccountid": {
  30287. "description": "卖方账号ID[报价币种]",
  30288. "type": "integer"
  30289. },
  30290. "sellorderid": {
  30291. "description": "卖方委托单号",
  30292. "type": "string"
  30293. },
  30294. "tradeamount": {
  30295. "description": "成交金额(优惠后金额)",
  30296. "type": "number"
  30297. },
  30298. "tradecharge": {
  30299. "description": "成交手续费(买方)",
  30300. "type": "number"
  30301. },
  30302. "tradedate": {
  30303. "description": "交易日(yyyyMMdd)",
  30304. "type": "string"
  30305. },
  30306. "tradeid": {
  30307. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30308. "type": "string"
  30309. },
  30310. "trademode": {
  30311. "description": "交易模式",
  30312. "type": "integer"
  30313. },
  30314. "tradeprice": {
  30315. "description": "成交价格(价格)",
  30316. "type": "number"
  30317. },
  30318. "tradeqty": {
  30319. "description": "成交数量(数量)",
  30320. "type": "number"
  30321. },
  30322. "tradetime": {
  30323. "description": "成交时间",
  30324. "type": "string"
  30325. },
  30326. "userid": {
  30327. "description": "用户id",
  30328. "type": "integer"
  30329. },
  30330. "userinfotype": {
  30331. "description": "账户类型 1-个人 2-企业",
  30332. "type": "integer"
  30333. }
  30334. }
  30335. },
  30336. "models.QhjMyTeamEx": {
  30337. "type": "object",
  30338. "properties": {
  30339. "accountname": {
  30340. "description": "用户名称",
  30341. "type": "string"
  30342. },
  30343. "accountstatus": {
  30344. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30345. "type": "integer"
  30346. },
  30347. "createtime": {
  30348. "description": "创建时间",
  30349. "type": "string"
  30350. },
  30351. "mobile": {
  30352. "description": "手机号码",
  30353. "type": "string"
  30354. },
  30355. "refereeuserid": {
  30356. "description": "推荐人id",
  30357. "type": "integer"
  30358. },
  30359. "refernum": {
  30360. "description": "推荐码",
  30361. "type": "string"
  30362. },
  30363. "subList": {
  30364. "type": "array",
  30365. "items": {
  30366. "$ref": "#/definitions/models.QhjMyTeamEx"
  30367. }
  30368. },
  30369. "userid": {
  30370. "description": "用户id",
  30371. "type": "integer"
  30372. },
  30373. "userinfotype": {
  30374. "description": "用户类型 1-个人 2-企业",
  30375. "type": "integer"
  30376. }
  30377. }
  30378. },
  30379. "models.QhjNodeAgreementConfig": {
  30380. "type": "object",
  30381. "properties": {
  30382. "agreementcontent": {
  30383. "description": "协议内容",
  30384. "type": "string"
  30385. },
  30386. "agreementid": {
  30387. "description": "协议ID",
  30388. "type": "integer"
  30389. },
  30390. "agreementname": {
  30391. "description": "协议名称",
  30392. "type": "string"
  30393. },
  30394. "agreementno": {
  30395. "description": "协议编号",
  30396. "type": "string"
  30397. },
  30398. "agreementtype": {
  30399. "description": "协议类型 - 1:注册 2:登录 3:交易",
  30400. "type": "integer"
  30401. },
  30402. "agreementversion": {
  30403. "description": "协议版本号",
  30404. "type": "integer"
  30405. },
  30406. "configid": {
  30407. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  30408. "type": "integer"
  30409. },
  30410. "createtime": {
  30411. "description": "创建时间",
  30412. "type": "string"
  30413. },
  30414. "goodsid": {
  30415. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  30416. "type": "integer"
  30417. },
  30418. "nodetype": {
  30419. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  30420. "type": "integer"
  30421. }
  30422. }
  30423. },
  30424. "models.QhjParentAreaList": {
  30425. "type": "object",
  30426. "properties": {
  30427. "accountname": {
  30428. "description": "账户名称(机构名称)",
  30429. "type": "string"
  30430. },
  30431. "userid": {
  30432. "description": "用户ID",
  30433. "type": "integer"
  30434. },
  30435. "usertype": {
  30436. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  30437. "type": "integer"
  30438. }
  30439. }
  30440. },
  30441. "models.QhjPayOrder": {
  30442. "type": "object",
  30443. "properties": {
  30444. "advanceratio": {
  30445. "description": "首付比率",
  30446. "type": "number"
  30447. },
  30448. "buyaccountid": {
  30449. "description": "买方账号ID[报价币种]",
  30450. "type": "integer"
  30451. },
  30452. "buyorderid": {
  30453. "description": "买方委托单号",
  30454. "type": "string"
  30455. },
  30456. "createtime": {
  30457. "description": "创建时间",
  30458. "type": "string"
  30459. },
  30460. "decimalplace": {
  30461. "description": "商品报价小数位",
  30462. "type": "integer"
  30463. },
  30464. "enumdicname": {
  30465. "description": "单位名称",
  30466. "type": "string"
  30467. },
  30468. "goodscode": {
  30469. "description": "商品代码",
  30470. "type": "string"
  30471. },
  30472. "goodsid": {
  30473. "description": "商品ID",
  30474. "type": "integer"
  30475. },
  30476. "goodsname": {
  30477. "description": "商品名称",
  30478. "type": "string"
  30479. },
  30480. "goodunitid": {
  30481. "description": "商品单位id",
  30482. "type": "integer"
  30483. },
  30484. "marketid": {
  30485. "description": "市场ID",
  30486. "type": "integer"
  30487. },
  30488. "offamount": {
  30489. "description": "优惠金额",
  30490. "type": "number"
  30491. },
  30492. "operatetype": {
  30493. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  30494. "type": "integer"
  30495. },
  30496. "payamount": {
  30497. "description": "支付金额",
  30498. "type": "number"
  30499. },
  30500. "payflag": {
  30501. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  30502. "type": "integer"
  30503. },
  30504. "paylimitedtime": {
  30505. "description": "支付期限",
  30506. "type": "string"
  30507. },
  30508. "paytime": {
  30509. "description": "付款时间",
  30510. "type": "string"
  30511. },
  30512. "qtydecimalplace": {
  30513. "description": "成交量小数位",
  30514. "type": "integer"
  30515. },
  30516. "sellaccountid": {
  30517. "description": "卖方账号ID[报价币种]",
  30518. "type": "integer"
  30519. },
  30520. "sellorderid": {
  30521. "description": "卖方委托单号",
  30522. "type": "string"
  30523. },
  30524. "tradeamount": {
  30525. "description": "成交金额(优惠后金额)",
  30526. "type": "number"
  30527. },
  30528. "tradecharge": {
  30529. "description": "成交手续费(买方)",
  30530. "type": "number"
  30531. },
  30532. "tradedate": {
  30533. "description": "交易日(yyyyMMdd)",
  30534. "type": "string"
  30535. },
  30536. "tradeid": {
  30537. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30538. "type": "string"
  30539. },
  30540. "tradeprice": {
  30541. "description": "成交价格",
  30542. "type": "number"
  30543. },
  30544. "tradeqty": {
  30545. "description": "成交数量",
  30546. "type": "number"
  30547. }
  30548. }
  30549. },
  30550. "models.QhjPickArea": {
  30551. "type": "object",
  30552. "properties": {
  30553. "address": {
  30554. "description": "详细地址",
  30555. "type": "string"
  30556. },
  30557. "cityid": {
  30558. "description": "市",
  30559. "type": "integer"
  30560. },
  30561. "cityname": {
  30562. "description": "城市名称",
  30563. "type": "string"
  30564. },
  30565. "countryid": {
  30566. "description": "国家",
  30567. "type": "integer"
  30568. },
  30569. "countryname": {
  30570. "description": "国家名称",
  30571. "type": "string"
  30572. },
  30573. "districtid": {
  30574. "description": "地区",
  30575. "type": "integer"
  30576. },
  30577. "districtname": {
  30578. "description": "地区名称",
  30579. "type": "string"
  30580. },
  30581. "fromuserid": {
  30582. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  30583. "type": "integer"
  30584. },
  30585. "fromusername": {
  30586. "description": "所属机构名称",
  30587. "type": "string"
  30588. },
  30589. "provinceid": {
  30590. "description": "省",
  30591. "type": "integer"
  30592. },
  30593. "provincename": {
  30594. "description": "省名称",
  30595. "type": "string"
  30596. },
  30597. "suborgtype": {
  30598. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  30599. "type": "integer"
  30600. },
  30601. "userid": {
  30602. "description": "机构用户ID 其他做市关系,都设置为 1",
  30603. "type": "integer"
  30604. },
  30605. "username": {
  30606. "description": "机构用户名称(门店门称)",
  30607. "type": "string"
  30608. }
  30609. }
  30610. },
  30611. "models.QhjPickGoods": {
  30612. "type": "object",
  30613. "properties": {
  30614. "enumdicname": {
  30615. "description": "单位名称(提货商品)",
  30616. "type": "string"
  30617. },
  30618. "goodsid": {
  30619. "description": "商品id",
  30620. "type": "integer"
  30621. },
  30622. "imageaddress": {
  30623. "description": "图片",
  30624. "type": "string"
  30625. },
  30626. "modifierid": {
  30627. "description": "修改人",
  30628. "type": "integer"
  30629. },
  30630. "modifiername": {
  30631. "description": "修改人名称",
  30632. "type": "string"
  30633. },
  30634. "modifysrc": {
  30635. "description": "修改来源 - 1:管理端 2:终端",
  30636. "type": "integer"
  30637. },
  30638. "pickupgoodsagreeunit": {
  30639. "description": "合约乘数",
  30640. "type": "number"
  30641. },
  30642. "pickupgoodsdesc": {
  30643. "description": "描述",
  30644. "type": "string"
  30645. },
  30646. "pickupgoodsid": {
  30647. "description": "提货商品ID",
  30648. "type": "string"
  30649. },
  30650. "pickupgoodsname": {
  30651. "description": "提货商品名称",
  30652. "type": "string"
  30653. },
  30654. "pickupgoodsstatus": {
  30655. "description": "状态 - 1:正常 2:停用 3:注销",
  30656. "type": "integer"
  30657. },
  30658. "pickupgoodsunitid": {
  30659. "description": "单位ID",
  30660. "type": "integer"
  30661. },
  30662. "pickupratio": {
  30663. "description": "提货系数",
  30664. "type": "number"
  30665. },
  30666. "preparedays": {
  30667. "description": "备货期(天)",
  30668. "type": "integer"
  30669. },
  30670. "remark": {
  30671. "description": "备注",
  30672. "type": "string"
  30673. },
  30674. "updatetime": {
  30675. "description": "更新时间",
  30676. "type": "string"
  30677. }
  30678. }
  30679. },
  30680. "models.QhjRSTriggerLog": {
  30681. "type": "object",
  30682. "properties": {
  30683. "accountid": {
  30684. "description": "用户资金账户",
  30685. "type": "integer"
  30686. },
  30687. "accountname": {
  30688. "description": "账号名称(ACCOUNTID对应的名称)",
  30689. "type": "string"
  30690. },
  30691. "currencyid": {
  30692. "description": "币种id",
  30693. "type": "integer"
  30694. },
  30695. "currencyname": {
  30696. "description": "币种名称",
  30697. "type": "string"
  30698. },
  30699. "decimalplace": {
  30700. "description": "商品报价小数位",
  30701. "type": "integer"
  30702. },
  30703. "enumdicname": {
  30704. "description": "单位名称",
  30705. "type": "string"
  30706. },
  30707. "goodscode": {
  30708. "description": "定投商品代码",
  30709. "type": "string"
  30710. },
  30711. "goodsid": {
  30712. "description": "定投商品ID",
  30713. "type": "integer"
  30714. },
  30715. "goodsname": {
  30716. "description": "定投商品名称",
  30717. "type": "string"
  30718. },
  30719. "goodunitid": {
  30720. "description": "定投商品单位id",
  30721. "type": "integer"
  30722. },
  30723. "logid": {
  30724. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  30725. "type": "string"
  30726. },
  30727. "logincode": {
  30728. "description": "账号(登录代码)",
  30729. "type": "string"
  30730. },
  30731. "qtydecimalplace": {
  30732. "description": "成交量小数位",
  30733. "type": "integer"
  30734. },
  30735. "regularlycycle": {
  30736. "description": "定投频率 - 1:每周 2:每月",
  30737. "type": "integer"
  30738. },
  30739. "regularlycyclevalue": {
  30740. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30741. "type": "string"
  30742. },
  30743. "regularlymode": {
  30744. "description": "定投方式 - 1:按数量 2:按金额",
  30745. "type": "integer"
  30746. },
  30747. "regularlymodevalue": {
  30748. "description": "定投方式值 - 数量或金额",
  30749. "type": "number"
  30750. },
  30751. "regularlystrategyid": {
  30752. "description": "定投策略ID",
  30753. "type": "integer"
  30754. },
  30755. "retcode": {
  30756. "description": "错误码",
  30757. "type": "string"
  30758. },
  30759. "tradeid": {
  30760. "description": "成交单ID",
  30761. "type": "string"
  30762. },
  30763. "triggeramount": {
  30764. "description": "触发金额",
  30765. "type": "number"
  30766. },
  30767. "triggerqty": {
  30768. "description": "触发数量",
  30769. "type": "number"
  30770. },
  30771. "triggerstatus": {
  30772. "description": "触发状态 - 1:成功 2:失败",
  30773. "type": "integer"
  30774. },
  30775. "triggertime": {
  30776. "description": "触发时间",
  30777. "type": "string"
  30778. },
  30779. "triggertradedate": {
  30780. "description": "触发交易日",
  30781. "type": "string"
  30782. },
  30783. "userid": {
  30784. "description": "所属用户ID",
  30785. "type": "integer"
  30786. },
  30787. "userinfotype": {
  30788. "description": "用户类型 1-个人 2-企业",
  30789. "type": "integer"
  30790. },
  30791. "username": {
  30792. "description": "用户名称(userid对应的名称)",
  30793. "type": "string"
  30794. }
  30795. }
  30796. },
  30797. "models.QhjRStrategy": {
  30798. "type": "object",
  30799. "properties": {
  30800. "accountid": {
  30801. "description": "用户资金账户",
  30802. "type": "integer"
  30803. },
  30804. "accountname": {
  30805. "description": "账号名称(ACCOUNTID对应的名称)",
  30806. "type": "string"
  30807. },
  30808. "currencyid": {
  30809. "description": "币种id",
  30810. "type": "integer"
  30811. },
  30812. "currencyname": {
  30813. "description": "币种名称",
  30814. "type": "string"
  30815. },
  30816. "decimalplace": {
  30817. "description": "商品报价小数位",
  30818. "type": "integer"
  30819. },
  30820. "enumdicname": {
  30821. "description": "单位名称",
  30822. "type": "string"
  30823. },
  30824. "goodscode": {
  30825. "description": "定投商品代码",
  30826. "type": "string"
  30827. },
  30828. "goodsid": {
  30829. "description": "定投商品ID",
  30830. "type": "integer"
  30831. },
  30832. "goodsname": {
  30833. "description": "定投商品名称",
  30834. "type": "string"
  30835. },
  30836. "goodunitid": {
  30837. "description": "定投商品单位id",
  30838. "type": "integer"
  30839. },
  30840. "lasteffecttradedate": {
  30841. "description": "最新生效交易日",
  30842. "type": "string"
  30843. },
  30844. "laststoptradedate": {
  30845. "description": "最新暂停交易日",
  30846. "type": "string"
  30847. },
  30848. "lasttriggertradedate": {
  30849. "description": "最新触发交易日",
  30850. "type": "string"
  30851. },
  30852. "logincode": {
  30853. "description": "账号(登录代码)",
  30854. "type": "string"
  30855. },
  30856. "nexttriggeramount": {
  30857. "description": "下次触发金额",
  30858. "type": "number"
  30859. },
  30860. "nexttriggerdate": {
  30861. "description": "下次触发日期",
  30862. "type": "string"
  30863. },
  30864. "nexttriggerqty": {
  30865. "description": "下次触发数量 [按小数位放大值]",
  30866. "type": "number"
  30867. },
  30868. "qtydecimalplace": {
  30869. "description": "成交量小数位",
  30870. "type": "integer"
  30871. },
  30872. "regularlycycle": {
  30873. "description": "定投频率 - 1:每周 2:每月",
  30874. "type": "integer"
  30875. },
  30876. "regularlycyclevalue": {
  30877. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  30878. "type": "string"
  30879. },
  30880. "regularlymode": {
  30881. "description": "定投方式 - 1:按数量 2:按金额",
  30882. "type": "integer"
  30883. },
  30884. "regularlymodevalue": {
  30885. "description": "定投方式值 - 数量或金额",
  30886. "type": "number"
  30887. },
  30888. "regularlystrategyid": {
  30889. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  30890. "type": "integer"
  30891. },
  30892. "regularlystrategystatus": {
  30893. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  30894. "type": "integer"
  30895. },
  30896. "remark": {
  30897. "description": "备注",
  30898. "type": "string"
  30899. },
  30900. "triggersuccesstimes": {
  30901. "description": "累计定投成功次数",
  30902. "type": "string"
  30903. },
  30904. "triggertotalamount": {
  30905. "description": "累计定投金额(成功)",
  30906. "type": "number"
  30907. },
  30908. "triggertotalqty": {
  30909. "description": "累计定投数量(成功) [按小数位放大值]",
  30910. "type": "number"
  30911. },
  30912. "triggertotaltimes": {
  30913. "description": "累计定投总次数",
  30914. "type": "string"
  30915. },
  30916. "updatesrc": {
  30917. "description": "更新来源 - 1:管理端 2:终端",
  30918. "type": "integer"
  30919. },
  30920. "updatetime": {
  30921. "description": "更新时间",
  30922. "type": "string"
  30923. },
  30924. "updatorid": {
  30925. "description": "更新人",
  30926. "type": "string"
  30927. },
  30928. "userid": {
  30929. "description": "所属用户ID",
  30930. "type": "integer"
  30931. },
  30932. "userinfotype": {
  30933. "description": "用户类型 1-个人 2-企业",
  30934. "type": "integer"
  30935. },
  30936. "username": {
  30937. "description": "用户名称(userid对应的名称)",
  30938. "type": "string"
  30939. }
  30940. }
  30941. },
  30942. "models.QhjReckonPriceLog": {
  30943. "type": "object",
  30944. "properties": {
  30945. "decimalplace": {
  30946. "description": "商品报价小数位",
  30947. "type": "integer"
  30948. },
  30949. "goodscode": {
  30950. "description": "商品代码",
  30951. "type": "string"
  30952. },
  30953. "goodsid": {
  30954. "description": "商品ID",
  30955. "type": "integer"
  30956. },
  30957. "goodsname": {
  30958. "description": "商品名称",
  30959. "type": "string"
  30960. },
  30961. "lastreckonprice": {
  30962. "description": "上日结算价",
  30963. "type": "number"
  30964. },
  30965. "nextdnlimitprice": {
  30966. "description": "下个交易日跌停价",
  30967. "type": "number"
  30968. },
  30969. "nexttrade": {
  30970. "description": "下个交易日",
  30971. "type": "string"
  30972. },
  30973. "nextuplimitprice": {
  30974. "description": "下个交易日涨停价",
  30975. "type": "number"
  30976. },
  30977. "reckonprice": {
  30978. "description": "今日结算价(定投价)",
  30979. "type": "number"
  30980. },
  30981. "reckontime": {
  30982. "description": "结算时间",
  30983. "type": "string"
  30984. },
  30985. "totalholderqty": {
  30986. "description": "总持仓数",
  30987. "type": "integer"
  30988. },
  30989. "totalstock": {
  30990. "description": "总库存",
  30991. "type": "integer"
  30992. },
  30993. "tradedate": {
  30994. "description": "交易日",
  30995. "type": "string"
  30996. },
  30997. "updowncount": {
  30998. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  30999. "type": "integer"
  31000. },
  31001. "updownflag": {
  31002. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  31003. "type": "integer"
  31004. },
  31005. "updownrate": {
  31006. "description": "今日涨跌幅",
  31007. "type": "number"
  31008. },
  31009. "updownrate_2d": {
  31010. "description": "连续两日涨跌幅",
  31011. "type": "number"
  31012. },
  31013. "updownrate_3d": {
  31014. "description": "连续三日涨跌幅",
  31015. "type": "number"
  31016. }
  31017. }
  31018. },
  31019. "models.QhjScoreLog": {
  31020. "type": "object",
  31021. "properties": {
  31022. "accountid": {
  31023. "description": "账户ID",
  31024. "type": "integer"
  31025. },
  31026. "createtime": {
  31027. "description": "创建时间(时间)",
  31028. "type": "string"
  31029. },
  31030. "goodsid": {
  31031. "description": "商品ID",
  31032. "type": "integer"
  31033. },
  31034. "hasuploaded": {
  31035. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  31036. "type": "integer"
  31037. },
  31038. "logid": {
  31039. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31040. "type": "string"
  31041. },
  31042. "marketid": {
  31043. "description": "市场ID",
  31044. "type": "integer"
  31045. },
  31046. "relatedamount": {
  31047. "description": "关联金额",
  31048. "type": "number"
  31049. },
  31050. "relatedorderid": {
  31051. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  31052. "type": "string"
  31053. },
  31054. "scoreconfigvalue1": {
  31055. "description": "积分配置1",
  31056. "type": "integer"
  31057. },
  31058. "scoreconfigvalue2": {
  31059. "description": "积分配置1",
  31060. "type": "integer"
  31061. },
  31062. "scoretype": {
  31063. "description": "积分类型 - 1:提货积分",
  31064. "type": "integer"
  31065. },
  31066. "scorevalue": {
  31067. "description": "积分",
  31068. "type": "number"
  31069. },
  31070. "tradedate": {
  31071. "description": "交易日(yyyyMMdd)",
  31072. "type": "string"
  31073. },
  31074. "uploadedtime": {
  31075. "description": "同步时间",
  31076. "type": "string"
  31077. },
  31078. "userid": {
  31079. "description": "用户ID",
  31080. "type": "integer"
  31081. }
  31082. }
  31083. },
  31084. "models.QhjSiteColumnDetail": {
  31085. "type": "object",
  31086. "properties": {
  31087. "author": {
  31088. "description": "作者",
  31089. "type": "string"
  31090. },
  31091. "brief": {
  31092. "description": "简介",
  31093. "type": "string"
  31094. },
  31095. "columnid": {
  31096. "description": "所属栏目",
  31097. "type": "integer"
  31098. },
  31099. "context": {
  31100. "description": "内容",
  31101. "type": "string"
  31102. },
  31103. "coverimage": {
  31104. "description": "封面图片",
  31105. "type": "string"
  31106. },
  31107. "creaedate": {
  31108. "description": "创建时间",
  31109. "type": "string"
  31110. },
  31111. "creatorid": {
  31112. "description": "创建人",
  31113. "type": "integer"
  31114. },
  31115. "hits": {
  31116. "description": "点击数",
  31117. "type": "integer"
  31118. },
  31119. "id": {
  31120. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  31121. "type": "integer"
  31122. },
  31123. "isshow": {
  31124. "description": "是否展示 - 0:不展示 1:展示",
  31125. "type": "integer"
  31126. },
  31127. "istop": {
  31128. "description": "是否置顶 - 0:不置 1:置顶",
  31129. "type": "integer"
  31130. },
  31131. "modifierid": {
  31132. "description": "操作人",
  31133. "type": "integer"
  31134. },
  31135. "publishdate": {
  31136. "description": "发布日期",
  31137. "type": "string"
  31138. },
  31139. "status": {
  31140. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  31141. "type": "integer"
  31142. },
  31143. "title": {
  31144. "description": "标题",
  31145. "type": "string"
  31146. },
  31147. "updatedate": {
  31148. "description": "修改时间",
  31149. "type": "string"
  31150. },
  31151. "userid": {
  31152. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  31153. "type": "integer"
  31154. },
  31155. "username": {
  31156. "description": "用户名称",
  31157. "type": "string"
  31158. }
  31159. }
  31160. },
  31161. "models.QhjTeamOrder": {
  31162. "type": "object",
  31163. "properties": {
  31164. "accountid": {
  31165. "description": "账户ID[报价币种]",
  31166. "type": "integer"
  31167. },
  31168. "accountname": {
  31169. "description": "账户名称",
  31170. "type": "string"
  31171. },
  31172. "agreeunit": {
  31173. "description": "合约乘数",
  31174. "type": "number"
  31175. },
  31176. "buyorsell": {
  31177. "description": "方向 - 0:买 1:卖",
  31178. "type": "integer"
  31179. },
  31180. "decimalplace": {
  31181. "description": "报价小数位",
  31182. "type": "integer"
  31183. },
  31184. "enumdicname": {
  31185. "description": "单位名称",
  31186. "type": "string"
  31187. },
  31188. "goodscode": {
  31189. "description": "商品代码(内部)",
  31190. "type": "string"
  31191. },
  31192. "goodsid": {
  31193. "description": "商品ID",
  31194. "type": "integer"
  31195. },
  31196. "goodsname": {
  31197. "description": "商品名称",
  31198. "type": "string"
  31199. },
  31200. "goodunitid": {
  31201. "description": "报价单位ID",
  31202. "type": "integer"
  31203. },
  31204. "marketid": {
  31205. "description": "市场ID",
  31206. "type": "integer"
  31207. },
  31208. "marketname": {
  31209. "description": "市场名称",
  31210. "type": "string"
  31211. },
  31212. "qtydecimalplace": {
  31213. "description": "成交量小数位",
  31214. "type": "integer"
  31215. },
  31216. "refereeuserid": {
  31217. "description": "推荐人ID",
  31218. "type": "integer"
  31219. },
  31220. "tradeamount": {
  31221. "description": "成交金额[账户币种,用于所有权]",
  31222. "type": "number"
  31223. },
  31224. "tradedate": {
  31225. "description": "交易日(yyyyMMdd)",
  31226. "type": "string"
  31227. },
  31228. "trademode": {
  31229. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31230. "type": "integer"
  31231. },
  31232. "tradeprice": {
  31233. "description": "成交价格",
  31234. "type": "number"
  31235. },
  31236. "tradeqty": {
  31237. "description": "成交数量",
  31238. "type": "number"
  31239. },
  31240. "tradetime": {
  31241. "description": "成交时间",
  31242. "type": "string"
  31243. },
  31244. "userid": {
  31245. "description": "用户ID",
  31246. "type": "integer"
  31247. }
  31248. }
  31249. },
  31250. "models.QhjTradeGoodsPickup": {
  31251. "type": "object",
  31252. "properties": {
  31253. "accountid": {
  31254. "description": "账户ID",
  31255. "type": "integer"
  31256. },
  31257. "address": {
  31258. "description": "提货人详细地址",
  31259. "type": "string"
  31260. },
  31261. "amount": {
  31262. "description": "提货金额",
  31263. "type": "number"
  31264. },
  31265. "artradedate": {
  31266. "description": "自动收货交易日(yyyyMMdd)",
  31267. "type": "string"
  31268. },
  31269. "auditer": {
  31270. "description": "审核人",
  31271. "type": "integer"
  31272. },
  31273. "auditsrc": {
  31274. "description": "更新来源 - 1:管理端 2:终端",
  31275. "type": "integer"
  31276. },
  31277. "audittime": {
  31278. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  31279. "type": "string"
  31280. },
  31281. "audittradedate": {
  31282. "description": "审核交易日(yyyyMMdd)",
  31283. "type": "string"
  31284. },
  31285. "cardnum": {
  31286. "description": "提货人证件号码",
  31287. "type": "string"
  31288. },
  31289. "cardtypeid": {
  31290. "description": "提货人证件类型",
  31291. "type": "integer"
  31292. },
  31293. "checkremark": {
  31294. "description": "审核备注",
  31295. "type": "string"
  31296. },
  31297. "cityid": {
  31298. "description": "市",
  31299. "type": "integer"
  31300. },
  31301. "cityname": {
  31302. "description": "城市名称",
  31303. "type": "string"
  31304. },
  31305. "confirmtime": {
  31306. "description": "取货时间 或 收货时间",
  31307. "type": "string"
  31308. },
  31309. "countryid": {
  31310. "description": "国家",
  31311. "type": "integer"
  31312. },
  31313. "countryname": {
  31314. "description": "国家名称",
  31315. "type": "string"
  31316. },
  31317. "decimalplace": {
  31318. "description": "商品报价小数位",
  31319. "type": "integer"
  31320. },
  31321. "districtid": {
  31322. "description": "地区",
  31323. "type": "integer"
  31324. },
  31325. "districtname": {
  31326. "description": "地区名称",
  31327. "type": "string"
  31328. },
  31329. "enumdicname": {
  31330. "description": "单位名称(提货商品)",
  31331. "type": "string"
  31332. },
  31333. "expresscompany": {
  31334. "description": "物流公司",
  31335. "type": "string"
  31336. },
  31337. "expressnum": {
  31338. "description": "物流单号",
  31339. "type": "string"
  31340. },
  31341. "goodsagreeunit": {
  31342. "description": "交易商品乘数",
  31343. "type": "number"
  31344. },
  31345. "goodscode": {
  31346. "description": "商品代码",
  31347. "type": "string"
  31348. },
  31349. "goodsid": {
  31350. "description": "商品ID",
  31351. "type": "integer"
  31352. },
  31353. "goodsname": {
  31354. "description": "商品名称",
  31355. "type": "string"
  31356. },
  31357. "goodsqty": {
  31358. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  31359. "type": "number"
  31360. },
  31361. "handlestatus": {
  31362. "description": "处理状态",
  31363. "type": "integer"
  31364. },
  31365. "logincode": {
  31366. "description": "账号(登录代码, 有可能为空)",
  31367. "type": "string"
  31368. },
  31369. "marketid": {
  31370. "description": "市场ID",
  31371. "type": "integer"
  31372. },
  31373. "phonenum": {
  31374. "description": "提货人联系方式",
  31375. "type": "string"
  31376. },
  31377. "pickupgoodsagreeunit": {
  31378. "description": "提货商品合约乘数",
  31379. "type": "number"
  31380. },
  31381. "pickupgoodsid": {
  31382. "description": "提货商品ID",
  31383. "type": "string"
  31384. },
  31385. "pickupgoodsname": {
  31386. "description": "提货商品名称",
  31387. "type": "string"
  31388. },
  31389. "pickupgoodsqty": {
  31390. "description": "提货商品手数(数量)",
  31391. "type": "number"
  31392. },
  31393. "pickupgoodsunitid": {
  31394. "description": "单位ID(提货商品)",
  31395. "type": "integer"
  31396. },
  31397. "pickupratio": {
  31398. "description": "提货系数",
  31399. "type": "number"
  31400. },
  31401. "preparedays": {
  31402. "description": "备货期(天)-提货单明细表",
  31403. "type": "integer"
  31404. },
  31405. "provinceid": {
  31406. "description": "省",
  31407. "type": "integer"
  31408. },
  31409. "provincename": {
  31410. "description": "省名称",
  31411. "type": "string"
  31412. },
  31413. "qty": {
  31414. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  31415. "type": "number"
  31416. },
  31417. "qtydecimalplace": {
  31418. "description": "商品数量小数位",
  31419. "type": "integer"
  31420. },
  31421. "recivername": {
  31422. "description": "提货人姓名",
  31423. "type": "string"
  31424. },
  31425. "reqtime": {
  31426. "description": "提货申请时间",
  31427. "type": "string"
  31428. },
  31429. "storeuserid": {
  31430. "description": "门店用户ID (千海金)",
  31431. "type": "integer"
  31432. },
  31433. "storeusername": {
  31434. "description": "门店用户名称",
  31435. "type": "string"
  31436. },
  31437. "takemode": {
  31438. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  31439. "type": "integer"
  31440. },
  31441. "takeorderid": {
  31442. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  31443. "type": "string"
  31444. },
  31445. "takeorderstatus": {
  31446. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  31447. "type": "integer"
  31448. },
  31449. "takeremark": {
  31450. "description": "提货备注",
  31451. "type": "string"
  31452. },
  31453. "tradedate": {
  31454. "description": "交易日(yyyyMMdd)",
  31455. "type": "string"
  31456. },
  31457. "updatetime": {
  31458. "description": "更新时间",
  31459. "type": "string"
  31460. },
  31461. "userid": {
  31462. "description": "用户ID",
  31463. "type": "integer"
  31464. },
  31465. "userinfotype": {
  31466. "description": "客户类型 1-个人 2-企业",
  31467. "type": "integer"
  31468. },
  31469. "username": {
  31470. "description": "用户名称",
  31471. "type": "string"
  31472. }
  31473. }
  31474. },
  31475. "models.QhjUserNodeCfgAndStatus": {
  31476. "type": "object",
  31477. "properties": {
  31478. "agreementcontent": {
  31479. "description": "协议内容",
  31480. "type": "string"
  31481. },
  31482. "agreementid": {
  31483. "description": "协议ID",
  31484. "type": "integer"
  31485. },
  31486. "agreementname": {
  31487. "description": "协议名称",
  31488. "type": "string"
  31489. },
  31490. "agreementno": {
  31491. "description": "协议编号",
  31492. "type": "string"
  31493. },
  31494. "agreementtype": {
  31495. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31496. "type": "integer"
  31497. },
  31498. "agreementversion": {
  31499. "description": "协议版本号",
  31500. "type": "integer"
  31501. },
  31502. "configid": {
  31503. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  31504. "type": "integer"
  31505. },
  31506. "createtime": {
  31507. "description": "创建时间",
  31508. "type": "string"
  31509. },
  31510. "goodsid": {
  31511. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31512. "type": "integer"
  31513. },
  31514. "nodetype": {
  31515. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  31516. "type": "integer"
  31517. },
  31518. "signtimestamp": {
  31519. "description": "签约状态时间戳(最近一次)",
  31520. "type": "string"
  31521. },
  31522. "tradedate": {
  31523. "description": "签约交易日(yyyyMMdd)",
  31524. "type": "string"
  31525. },
  31526. "userid": {
  31527. "description": "客户ID",
  31528. "type": "integer"
  31529. }
  31530. }
  31531. },
  31532. "models.Qhjgoodsex": {
  31533. "type": "object",
  31534. "properties": {
  31535. "canfinance": {
  31536. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  31537. "type": "integer"
  31538. },
  31539. "canregularlybuy": {
  31540. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  31541. "type": "integer"
  31542. },
  31543. "defaulttradeuserid": {
  31544. "description": "默认交易用户ID",
  31545. "type": "integer"
  31546. },
  31547. "deliverygoodsid": {
  31548. "description": "现货品种ID",
  31549. "type": "integer"
  31550. },
  31551. "goodsid": {
  31552. "description": "商品ID(自增ID SEQ_GOODS)",
  31553. "type": "integer"
  31554. },
  31555. "minamount": {
  31556. "description": "最小购买金额",
  31557. "type": "number"
  31558. },
  31559. "regularlybuyminamount": {
  31560. "description": "定投最小金额",
  31561. "type": "number"
  31562. },
  31563. "regularlybuyminqty": {
  31564. "description": "定投最小数量",
  31565. "type": "number"
  31566. },
  31567. "spotgoodsbrandid": {
  31568. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  31569. "type": "integer"
  31570. },
  31571. "visibilityforenterprise": {
  31572. "description": "企业客户是否可见 - 0:不可见 1:可见",
  31573. "type": "integer"
  31574. },
  31575. "visibilityforpersonal": {
  31576. "description": "个人客户是否可见 - 0:不可见 1:可见",
  31577. "type": "integer"
  31578. },
  31579. "wrstandardid": {
  31580. "description": "现货商品ID",
  31581. "type": "integer"
  31582. }
  31583. }
  31584. },
  31585. "models.QueryErrorInfosRsp": {
  31586. "type": "object",
  31587. "required": [
  31588. "errorid"
  31589. ],
  31590. "properties": {
  31591. "description": {
  31592. "description": "异常描述",
  31593. "type": "string"
  31594. },
  31595. "errorcode": {
  31596. "description": "异常代码",
  31597. "type": "string"
  31598. },
  31599. "errorid": {
  31600. "description": "异常ID",
  31601. "type": "integer"
  31602. },
  31603. "modulecode": {
  31604. "description": "所属模块",
  31605. "type": "string"
  31606. },
  31607. "operatecode": {
  31608. "description": "所属操作",
  31609. "type": "string"
  31610. },
  31611. "rownumber": {
  31612. "description": "行号",
  31613. "type": "string"
  31614. }
  31615. }
  31616. },
  31617. "models.QueryHedgeOrderDetailRsp": {
  31618. "type": "object",
  31619. "properties": {
  31620. "accountid": {
  31621. "description": "账户ID",
  31622. "type": "integer"
  31623. },
  31624. "buyorsell": {
  31625. "description": "买卖 - 0:买 1:卖",
  31626. "type": "integer"
  31627. },
  31628. "cancellogincode": {
  31629. "description": "撤单人",
  31630. "type": "string"
  31631. },
  31632. "channelbuildtype": {
  31633. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  31634. "type": "integer"
  31635. },
  31636. "channelinnerorderstatus": {
  31637. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  31638. "type": "integer"
  31639. },
  31640. "channeloperatetype": {
  31641. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  31642. "type": "integer"
  31643. },
  31644. "closetype": {
  31645. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31646. "type": "integer"
  31647. },
  31648. "curexchangerate": {
  31649. "description": "当前汇率",
  31650. "type": "number"
  31651. },
  31652. "decimalplace": {
  31653. "description": "商品报价小数位",
  31654. "type": "integer"
  31655. },
  31656. "exchangefullname": {
  31657. "description": "外部交易所全称",
  31658. "type": "string"
  31659. },
  31660. "goodscode": {
  31661. "description": "商品代码(内部)",
  31662. "type": "string"
  31663. },
  31664. "goodsid": {
  31665. "description": "商品ID",
  31666. "type": "integer"
  31667. },
  31668. "goodsname": {
  31669. "description": "商品名称",
  31670. "type": "string"
  31671. },
  31672. "marketid": {
  31673. "description": "市场ID",
  31674. "type": "integer"
  31675. },
  31676. "openfreezemargin": {
  31677. "description": "冻结保证金(冻结交易金额)",
  31678. "type": "number"
  31679. },
  31680. "orderid": {
  31681. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31682. "type": "string"
  31683. },
  31684. "orderlogincode": {
  31685. "description": "委托人",
  31686. "type": "string"
  31687. },
  31688. "orderprice": {
  31689. "description": "委托价格(账户)",
  31690. "type": "number"
  31691. },
  31692. "orderqty": {
  31693. "description": "委托数量",
  31694. "type": "integer"
  31695. },
  31696. "ordertime": {
  31697. "description": "委托时间",
  31698. "type": "string"
  31699. },
  31700. "pricemode": {
  31701. "description": "取价方式 - 1:市价 2: 限价",
  31702. "type": "integer"
  31703. },
  31704. "tradedate": {
  31705. "description": "交易日(yyyyMMdd)",
  31706. "type": "string"
  31707. },
  31708. "tradeqty": {
  31709. "description": "成交数量",
  31710. "type": "integer"
  31711. }
  31712. }
  31713. },
  31714. "models.QueryHedgeTradeDetailRsp": {
  31715. "type": "object",
  31716. "properties": {
  31717. "accountid": {
  31718. "description": "账号ID",
  31719. "type": "integer"
  31720. },
  31721. "buyorsell": {
  31722. "description": "方向 - 0:买 1:卖",
  31723. "type": "integer"
  31724. },
  31725. "channelbuildtype": {
  31726. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31727. "type": "integer"
  31728. },
  31729. "closecharge": {
  31730. "description": "平仓手续费(账户)",
  31731. "type": "number"
  31732. },
  31733. "closecharge2": {
  31734. "description": "平仓手续费(商品)",
  31735. "type": "number"
  31736. },
  31737. "closepl": {
  31738. "description": "平仓盈亏(账户)",
  31739. "type": "number"
  31740. },
  31741. "closepl2": {
  31742. "description": "平仓盈亏(商品)",
  31743. "type": "number"
  31744. },
  31745. "closepl3": {
  31746. "description": "平仓盈亏(账户)(逐笔)",
  31747. "type": "number"
  31748. },
  31749. "closepl4": {
  31750. "description": "平仓盈亏(商品)(逐笔)",
  31751. "type": "number"
  31752. },
  31753. "closetype": {
  31754. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  31755. "type": "integer"
  31756. },
  31757. "curexchangerate": {
  31758. "description": "当前汇率",
  31759. "type": "number"
  31760. },
  31761. "decimalplace": {
  31762. "description": "商品报价小数位",
  31763. "type": "integer"
  31764. },
  31765. "exchangefullname": {
  31766. "description": "外部交易所全称",
  31767. "type": "string"
  31768. },
  31769. "goodscode": {
  31770. "description": "商品代码(内部)",
  31771. "type": "string"
  31772. },
  31773. "goodsid": {
  31774. "description": "商品ID",
  31775. "type": "integer"
  31776. },
  31777. "goodsname": {
  31778. "description": "商品名称",
  31779. "type": "string"
  31780. },
  31781. "marketid": {
  31782. "description": "市场ID",
  31783. "type": "integer"
  31784. },
  31785. "opencharge": {
  31786. "description": "建仓手续费(账户)",
  31787. "type": "number"
  31788. },
  31789. "opencharge2": {
  31790. "description": "建仓手续费(商品)",
  31791. "type": "number"
  31792. },
  31793. "orderid": {
  31794. "description": "委托单号",
  31795. "type": "string"
  31796. },
  31797. "orderlogincode": {
  31798. "description": "委托人",
  31799. "type": "string"
  31800. },
  31801. "tradeamount": {
  31802. "description": "成交金额(账户)",
  31803. "type": "number"
  31804. },
  31805. "tradedate": {
  31806. "description": "交易日(yyyyMMdd)",
  31807. "type": "string"
  31808. },
  31809. "tradeid": {
  31810. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31811. "type": "string"
  31812. },
  31813. "tradeprice": {
  31814. "description": "成交价格",
  31815. "type": "number"
  31816. },
  31817. "tradeqty": {
  31818. "description": "成交数量",
  31819. "type": "integer"
  31820. },
  31821. "tradetime": {
  31822. "description": "成交时间",
  31823. "type": "string"
  31824. },
  31825. "tradetype": {
  31826. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  31827. "type": "integer"
  31828. }
  31829. }
  31830. },
  31831. "models.QuotePrimaryMenu": {
  31832. "type": "object",
  31833. "properties": {
  31834. "Index": {
  31835. "description": "序号",
  31836. "type": "integer"
  31837. },
  31838. "Key": {
  31839. "description": "键名",
  31840. "type": "string"
  31841. },
  31842. "Name": {
  31843. "description": "菜单名称",
  31844. "type": "string"
  31845. },
  31846. "SubMenus": {
  31847. "description": "子菜单",
  31848. "type": "array",
  31849. "items": {
  31850. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  31851. }
  31852. },
  31853. "SubTitleType": {
  31854. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  31855. "type": "integer"
  31856. },
  31857. "TradeModes": {
  31858. "description": "包含市场交易类型",
  31859. "type": "string"
  31860. }
  31861. }
  31862. },
  31863. "models.QuoteSecondaryMenu": {
  31864. "type": "object",
  31865. "properties": {
  31866. "ExExchangeCode": {
  31867. "description": "外部交易所代码",
  31868. "type": "string"
  31869. },
  31870. "ExExchangeID": {
  31871. "description": "外部交易所ID",
  31872. "type": "integer"
  31873. },
  31874. "GoodsGroupIDs": {
  31875. "description": "商品组ID列表",
  31876. "type": "array",
  31877. "items": {
  31878. "type": "integer"
  31879. }
  31880. },
  31881. "Index": {
  31882. "description": "序号",
  31883. "type": "integer"
  31884. },
  31885. "MarketID": {
  31886. "description": "市场ID",
  31887. "type": "integer"
  31888. },
  31889. "MenuTitle": {
  31890. "description": "菜单标题(市场名称或外部交易所名称)",
  31891. "type": "string"
  31892. },
  31893. "TradeMode": {
  31894. "description": "交易模式",
  31895. "type": "integer"
  31896. }
  31897. }
  31898. },
  31899. "models.RoleMenu": {
  31900. "type": "object",
  31901. "properties": {
  31902. "hasright": {
  31903. "description": "是否有权限 0-没有权限 1-有权限",
  31904. "type": "integer"
  31905. },
  31906. "iconame": {
  31907. "description": "菜单图标",
  31908. "type": "string"
  31909. },
  31910. "menutype": {
  31911. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  31912. "type": "integer"
  31913. },
  31914. "parentcode": {
  31915. "description": "上级资源代码",
  31916. "type": "string"
  31917. },
  31918. "remark": {
  31919. "description": "菜单备注",
  31920. "type": "string"
  31921. },
  31922. "resourcecode": {
  31923. "description": "菜单代码",
  31924. "type": "string"
  31925. },
  31926. "resourcelevel": {
  31927. "description": "级别",
  31928. "type": "integer"
  31929. },
  31930. "resourcename": {
  31931. "description": "菜单名称",
  31932. "type": "string"
  31933. },
  31934. "roleid": {
  31935. "description": "角色id",
  31936. "type": "integer"
  31937. },
  31938. "sort": {
  31939. "description": "排序",
  31940. "type": "integer"
  31941. },
  31942. "subMenu": {
  31943. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  31944. "type": "array",
  31945. "items": {
  31946. "$ref": "#/definitions/models.RoleMenu"
  31947. }
  31948. },
  31949. "url": {
  31950. "description": "URL",
  31951. "type": "string"
  31952. },
  31953. "userid": {
  31954. "description": "用户id",
  31955. "type": "integer"
  31956. }
  31957. }
  31958. },
  31959. "models.SearchGoods": {
  31960. "type": "object",
  31961. "required": [
  31962. "goodscode",
  31963. "goodsid",
  31964. "goodsname",
  31965. "marketid",
  31966. "trademode"
  31967. ],
  31968. "properties": {
  31969. "goodscode": {
  31970. "description": "商品代码(内部)",
  31971. "type": "string"
  31972. },
  31973. "goodsid": {
  31974. "description": "商品ID(自增ID SEQ_GOODS)",
  31975. "type": "integer"
  31976. },
  31977. "goodsname": {
  31978. "description": "商品名称",
  31979. "type": "string"
  31980. },
  31981. "marketid": {
  31982. "description": "所属市场ID",
  31983. "type": "integer"
  31984. },
  31985. "marketname": {
  31986. "description": "市场名称",
  31987. "type": "string"
  31988. },
  31989. "trademode": {
  31990. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31991. "type": "integer"
  31992. }
  31993. }
  31994. },
  31995. "models.Systemparam": {
  31996. "type": "object",
  31997. "required": [
  31998. "paramcode"
  31999. ],
  32000. "properties": {
  32001. "loginid": {
  32002. "description": "更新用户账号,登录账号",
  32003. "type": "string"
  32004. },
  32005. "modifyflag": {
  32006. "description": "修改标志0 不允许修改 1 允许修改",
  32007. "type": "integer"
  32008. },
  32009. "paramcode": {
  32010. "description": "参数代码",
  32011. "type": "string"
  32012. },
  32013. "paramname": {
  32014. "description": "参数名",
  32015. "type": "string"
  32016. },
  32017. "paramtype": {
  32018. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  32019. "type": "integer"
  32020. },
  32021. "paramvalue": {
  32022. "description": "参数值",
  32023. "type": "string"
  32024. },
  32025. "paramvalue2": {
  32026. "description": "参数值(CLOB)",
  32027. "type": "string"
  32028. },
  32029. "regexpress": {
  32030. "description": "正则表达式",
  32031. "type": "string"
  32032. },
  32033. "remark": {
  32034. "description": "备注",
  32035. "type": "string"
  32036. },
  32037. "serverip": {
  32038. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  32039. "type": "string"
  32040. },
  32041. "showflag": {
  32042. "description": "是否显示0 不显示 1 显示",
  32043. "type": "integer"
  32044. },
  32045. "updatetime": {
  32046. "description": "更新时间",
  32047. "type": "string"
  32048. },
  32049. "userid": {
  32050. "description": "更新用户ID",
  32051. "type": "integer"
  32052. }
  32053. }
  32054. },
  32055. "models.Szdz3convertconfig": {
  32056. "type": "object",
  32057. "required": [
  32058. "converttype",
  32059. "innergoodsid",
  32060. "outergoodscode"
  32061. ],
  32062. "properties": {
  32063. "canin": {
  32064. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  32065. "type": "integer"
  32066. },
  32067. "canout": {
  32068. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  32069. "type": "integer"
  32070. },
  32071. "converttype": {
  32072. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  32073. "type": "integer"
  32074. },
  32075. "createtime": {
  32076. "description": "创建时间",
  32077. "type": "string"
  32078. },
  32079. "creatorid": {
  32080. "description": "创建人",
  32081. "type": "integer"
  32082. },
  32083. "daymaxvalue": {
  32084. "description": "当日最大转入限制",
  32085. "type": "number"
  32086. },
  32087. "freezedays": {
  32088. "description": "冻结天数 [5:花生米转交易]",
  32089. "type": "integer"
  32090. },
  32091. "innergoodsid": {
  32092. "description": "内部商品ID[交易]",
  32093. "type": "integer"
  32094. },
  32095. "inratio": {
  32096. "description": "目标值",
  32097. "type": "integer"
  32098. },
  32099. "modifierid": {
  32100. "description": "修改人",
  32101. "type": "integer"
  32102. },
  32103. "modifytime": {
  32104. "description": "修改时间",
  32105. "type": "string"
  32106. },
  32107. "outergoodscode": {
  32108. "description": "外部商品代码[JD\\PD]",
  32109. "type": "string"
  32110. },
  32111. "outratio": {
  32112. "description": "源值",
  32113. "type": "integer"
  32114. },
  32115. "pddecimalplace": {
  32116. "description": "PD小数位",
  32117. "type": "integer"
  32118. },
  32119. "timemaxvalue": {
  32120. "description": "单次最大转入限制",
  32121. "type": "number"
  32122. },
  32123. "timeminvalue": {
  32124. "description": "单次最小转入限制",
  32125. "type": "number"
  32126. }
  32127. }
  32128. },
  32129. "models.Szdz3searchwhitelist": {
  32130. "type": "object",
  32131. "required": [
  32132. "userid"
  32133. ],
  32134. "properties": {
  32135. "createtime": {
  32136. "description": "创建时间",
  32137. "type": "string"
  32138. },
  32139. "creatorid": {
  32140. "description": "创建人",
  32141. "type": "integer"
  32142. },
  32143. "modifierid": {
  32144. "description": "修改人",
  32145. "type": "integer"
  32146. },
  32147. "modifytime": {
  32148. "description": "修改时间",
  32149. "type": "string"
  32150. },
  32151. "userid": {
  32152. "description": "用户ID",
  32153. "type": "integer"
  32154. }
  32155. }
  32156. },
  32157. "models.TBGoods": {
  32158. "type": "object",
  32159. "properties": {
  32160. "agreeunit": {
  32161. "description": "合约乘数",
  32162. "type": "number"
  32163. },
  32164. "enumdicname": {
  32165. "description": "单位名称",
  32166. "type": "string"
  32167. },
  32168. "goodscode": {
  32169. "description": "商品代码(内部)",
  32170. "type": "string"
  32171. },
  32172. "goodsid": {
  32173. "description": "商品ID(自增ID SEQ_GOODS)",
  32174. "type": "integer"
  32175. },
  32176. "goodsname": {
  32177. "description": "商品名称",
  32178. "type": "string"
  32179. }
  32180. }
  32181. },
  32182. "models.TBGoodsGroup": {
  32183. "type": "object",
  32184. "properties": {
  32185. "GDLST": {
  32186. "description": "商品列表",
  32187. "type": "array",
  32188. "items": {
  32189. "$ref": "#/definitions/models.TBGoods"
  32190. }
  32191. },
  32192. "convertratio": {
  32193. "description": "折算系数",
  32194. "type": "number"
  32195. },
  32196. "enumdicname": {
  32197. "description": "单位名称",
  32198. "type": "string"
  32199. },
  32200. "exexchangecode": {
  32201. "description": "交易所代码",
  32202. "type": "string"
  32203. },
  32204. "exexchangename": {
  32205. "description": "交易所名称",
  32206. "type": "string"
  32207. },
  32208. "goodsgroupid": {
  32209. "description": "商品组ID(自增ID)",
  32210. "type": "integer"
  32211. },
  32212. "goodsgroupname": {
  32213. "description": "商品组名称",
  32214. "type": "string"
  32215. },
  32216. "goodunitid": {
  32217. "description": "报价单位ID",
  32218. "type": "integer"
  32219. }
  32220. }
  32221. },
  32222. "models.TBMiddleGoods": {
  32223. "type": "object",
  32224. "properties": {
  32225. "GPLST": {
  32226. "description": "期货品种列表",
  32227. "type": "array",
  32228. "items": {
  32229. "$ref": "#/definitions/models.TBGoodsGroup"
  32230. }
  32231. },
  32232. "WDLST": {
  32233. "description": "商品信息列表(现货品类)",
  32234. "type": "array",
  32235. "items": {
  32236. "$ref": "#/definitions/models.TBWrstandard"
  32237. }
  32238. },
  32239. "areauserid": {
  32240. "description": "机构用户ID",
  32241. "type": "integer"
  32242. },
  32243. "enumdicname": {
  32244. "description": "单位名称",
  32245. "type": "string"
  32246. },
  32247. "goodsunitid": {
  32248. "description": "套保品种单位id",
  32249. "type": "integer"
  32250. },
  32251. "middlegoodscode": {
  32252. "description": "套保品种代码",
  32253. "type": "string"
  32254. },
  32255. "middlegoodsid": {
  32256. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  32257. "type": "integer"
  32258. },
  32259. "middlegoodsname": {
  32260. "description": "套保品种名称",
  32261. "type": "string"
  32262. },
  32263. "needarbitrageratio": {
  32264. "description": "套利比率",
  32265. "type": "number"
  32266. },
  32267. "needhedgeratio": {
  32268. "description": "套保比率",
  32269. "type": "number"
  32270. }
  32271. }
  32272. },
  32273. "models.TBWrstandard": {
  32274. "type": "object",
  32275. "properties": {
  32276. "convertratio": {
  32277. "description": "折算系数",
  32278. "type": "number"
  32279. },
  32280. "deliverygoodsname": {
  32281. "description": "品种名称",
  32282. "type": "string"
  32283. },
  32284. "enumdicname": {
  32285. "description": "单位名称",
  32286. "type": "string"
  32287. },
  32288. "vatrate": {
  32289. "description": "增值税率",
  32290. "type": "number"
  32291. },
  32292. "wrstandardcode": {
  32293. "description": "现货商品代码",
  32294. "type": "string"
  32295. },
  32296. "wrstandardid": {
  32297. "description": "现货商品ID(SEQ_WRSTANDARD)",
  32298. "type": "integer"
  32299. },
  32300. "wrstandardname": {
  32301. "description": "现货商品名称",
  32302. "type": "string"
  32303. }
  32304. }
  32305. },
  32306. "models.Taaccount": {
  32307. "type": "object",
  32308. "required": [
  32309. "accountid",
  32310. "userid"
  32311. ],
  32312. "properties": {
  32313. "accountflag": {
  32314. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  32315. "type": "integer"
  32316. },
  32317. "accountid": {
  32318. "description": "资金账户ID",
  32319. "type": "integer"
  32320. },
  32321. "accountname": {
  32322. "description": "账户名称",
  32323. "type": "string"
  32324. },
  32325. "balance": {
  32326. "description": "期初余额",
  32327. "type": "number"
  32328. },
  32329. "capitalbalance": {
  32330. "description": "本金余额[外部子账户实际出入金余额]",
  32331. "type": "number"
  32332. },
  32333. "changeflag": {
  32334. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  32335. "type": "integer"
  32336. },
  32337. "changetime": {
  32338. "description": "账户状态变更时间",
  32339. "type": "string"
  32340. },
  32341. "closepl": {
  32342. "description": "今日平仓盈亏",
  32343. "type": "number"
  32344. },
  32345. "creditdecrease": {
  32346. "description": "今日授信减少",
  32347. "type": "number"
  32348. },
  32349. "creditincrease": {
  32350. "description": "今日授信增加",
  32351. "type": "number"
  32352. },
  32353. "curamount": {
  32354. "description": "总市值(从持仓中统计)",
  32355. "type": "number"
  32356. },
  32357. "currencyid": {
  32358. "description": "货币ID",
  32359. "type": "integer"
  32360. },
  32361. "currentbalance": {
  32362. "description": "期末余额",
  32363. "type": "number"
  32364. },
  32365. "freezecharge": {
  32366. "description": "手续费冻结",
  32367. "type": "number"
  32368. },
  32369. "freezemargin": {
  32370. "description": "冻结保证金",
  32371. "type": "number"
  32372. },
  32373. "fromaccountid": {
  32374. "description": "所属上级账户",
  32375. "type": "integer"
  32376. },
  32377. "inamount": {
  32378. "description": "今日入金金额(包括三方入金)",
  32379. "type": "number"
  32380. },
  32381. "ismain": {
  32382. "description": "是否母账号 0:不是母账户 1:是母账户",
  32383. "type": "integer"
  32384. },
  32385. "ismarketaccount": {
  32386. "description": "是否机构接单账号 0:不是 1:是",
  32387. "type": "integer"
  32388. },
  32389. "isreckonaccount": {
  32390. "description": "是否机构分润账号 0:不是 1:是",
  32391. "type": "integer"
  32392. },
  32393. "mortgagecredit": {
  32394. "description": "授信金额",
  32395. "type": "number"
  32396. },
  32397. "orifreezecharge": {
  32398. "description": "期初手续费冻结",
  32399. "type": "number"
  32400. },
  32401. "orifreezemargin": {
  32402. "description": "期初冻结保证金",
  32403. "type": "number"
  32404. },
  32405. "orimortgagecredit": {
  32406. "description": "期初授信金额",
  32407. "type": "number"
  32408. },
  32409. "oriothercredit": {
  32410. "description": "期初其它授信金额",
  32411. "type": "number"
  32412. },
  32413. "oriotherfreezemargin": {
  32414. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  32415. "type": "number"
  32416. },
  32417. "orioutamountfreeze": {
  32418. "description": "期初出金冻结",
  32419. "type": "number"
  32420. },
  32421. "oriusedmargin": {
  32422. "description": "期初占用保证金",
  32423. "type": "number"
  32424. },
  32425. "othercredit": {
  32426. "description": "其它授信金额",
  32427. "type": "number"
  32428. },
  32429. "othercreditdecrease": {
  32430. "description": "今日其它授信减少",
  32431. "type": "number"
  32432. },
  32433. "othercreditincrease": {
  32434. "description": "今日其它授信增加",
  32435. "type": "number"
  32436. },
  32437. "otherfreezemargin": {
  32438. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  32439. "type": "number"
  32440. },
  32441. "otherincome": {
  32442. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  32443. "type": "number"
  32444. },
  32445. "otherpay": {
  32446. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  32447. "type": "number"
  32448. },
  32449. "outamount": {
  32450. "description": "今日出金金额(包括三方出金)",
  32451. "type": "number"
  32452. },
  32453. "outamountfreeze": {
  32454. "description": "出金冻结",
  32455. "type": "number"
  32456. },
  32457. "outthreshold": {
  32458. "description": "出金阈值",
  32459. "type": "number"
  32460. },
  32461. "parentaccountid": {
  32462. "description": "所属根账号",
  32463. "type": "integer"
  32464. },
  32465. "paycharge": {
  32466. "description": "今日手续费支出",
  32467. "type": "number"
  32468. },
  32469. "relatedaccountstatus": {
  32470. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  32471. "type": "integer"
  32472. },
  32473. "relateduserid": {
  32474. "description": "关联用户",
  32475. "type": "integer"
  32476. },
  32477. "remainamount": {
  32478. "description": "融资额(从融资合同中统计)",
  32479. "type": "number"
  32480. },
  32481. "serivcegroup": {
  32482. "description": "服务分组",
  32483. "type": "integer"
  32484. },
  32485. "signstatus": {
  32486. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  32487. "type": "integer"
  32488. },
  32489. "sublevelpath": {
  32490. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  32491. "type": "string"
  32492. },
  32493. "taaccounttype": {
  32494. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  32495. "type": "integer"
  32496. },
  32497. "thirdinamount": {
  32498. "description": "今日三方入金",
  32499. "type": "number"
  32500. },
  32501. "thirdoutamount": {
  32502. "description": "今日三方出金",
  32503. "type": "number"
  32504. },
  32505. "tradestatus": {
  32506. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  32507. "type": "integer"
  32508. },
  32509. "tradestatuschangetime": {
  32510. "description": "激活时间",
  32511. "type": "string"
  32512. },
  32513. "transferamount": {
  32514. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  32515. "type": "number"
  32516. },
  32517. "usedmargin": {
  32518. "description": "占用保证金",
  32519. "type": "number"
  32520. },
  32521. "userid": {
  32522. "description": "用户ID",
  32523. "type": "integer"
  32524. }
  32525. }
  32526. },
  32527. "models.Tablecolumnconfig": {
  32528. "type": "object",
  32529. "required": [
  32530. "autoid"
  32531. ],
  32532. "properties": {
  32533. "aligntype": {
  32534. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  32535. "type": "integer"
  32536. },
  32537. "autoid": {
  32538. "description": "AutoID",
  32539. "type": "integer"
  32540. },
  32541. "columnfield": {
  32542. "description": "列字段",
  32543. "type": "string"
  32544. },
  32545. "columntitle": {
  32546. "description": "列Title",
  32547. "type": "string"
  32548. },
  32549. "columnwidth": {
  32550. "description": "列宽",
  32551. "type": "string"
  32552. },
  32553. "formatterstring": {
  32554. "description": "格式化字符",
  32555. "type": "string"
  32556. },
  32557. "formattertype": {
  32558. "description": "格式化类型",
  32559. "type": "string"
  32560. },
  32561. "groupname": {
  32562. "description": "表头分组名称",
  32563. "type": "string"
  32564. },
  32565. "isshow": {
  32566. "description": "是否显示 - 0:不显示 1:显示",
  32567. "type": "integer"
  32568. },
  32569. "needsummary": {
  32570. "description": "是否需要汇总 - 0:不需要 1:需要",
  32571. "type": "integer"
  32572. },
  32573. "orderindex": {
  32574. "description": "顺序",
  32575. "type": "integer"
  32576. },
  32577. "remark": {
  32578. "description": "备注",
  32579. "type": "string"
  32580. },
  32581. "summarytype": {
  32582. "description": "汇总类型 - 1:加总 2:最后一个",
  32583. "type": "integer"
  32584. },
  32585. "tablekey": {
  32586. "description": "列表Key",
  32587. "type": "string"
  32588. }
  32589. }
  32590. },
  32591. "models.TjmdMarketSection": {
  32592. "type": "object",
  32593. "properties": {
  32594. "marketsectionid": {
  32595. "description": "市场版块ID(SEQ_MARKETSECTION)",
  32596. "type": "integer"
  32597. },
  32598. "marketsectionname": {
  32599. "description": "市场版块名称",
  32600. "type": "string"
  32601. },
  32602. "mlist": {
  32603. "description": "市场列表(板块下面有多少个市场)",
  32604. "type": "array",
  32605. "items": {
  32606. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  32607. }
  32608. },
  32609. "orderindex": {
  32610. "description": "排序",
  32611. "type": "integer"
  32612. },
  32613. "pictureurl": {
  32614. "description": "图片url, 规格(90*90)",
  32615. "type": "string"
  32616. },
  32617. "remark": {
  32618. "description": "备注",
  32619. "type": "string"
  32620. }
  32621. }
  32622. },
  32623. "models.TjmdMarketSectionConfig": {
  32624. "type": "object",
  32625. "properties": {
  32626. "auctionwrtype": {
  32627. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  32628. "type": "integer"
  32629. },
  32630. "canacceptquote": {
  32631. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  32632. "type": "integer"
  32633. },
  32634. "cangoodsexercise": {
  32635. "description": "[期权]是否可现货行权- 0:否 1:是",
  32636. "type": "integer"
  32637. },
  32638. "cangoodsexercisetype": {
  32639. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  32640. "type": "integer"
  32641. },
  32642. "canmanualquotestrike": {
  32643. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  32644. "type": "integer"
  32645. },
  32646. "canmutistage": {
  32647. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  32648. "type": "integer"
  32649. },
  32650. "canpreexercise": {
  32651. "description": "[期权]是否可预申报- 0:否 1:是",
  32652. "type": "integer"
  32653. },
  32654. "clearinterval": {
  32655. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  32656. "type": "integer"
  32657. },
  32658. "contracttmp": {
  32659. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  32660. "type": "string"
  32661. },
  32662. "exchareaid": {
  32663. "description": "所属交易所,可以没有",
  32664. "type": "integer"
  32665. },
  32666. "financemarketid": {
  32667. "description": "融资回购市场ID [仓单贸易]",
  32668. "type": "integer"
  32669. },
  32670. "goodstype": {
  32671. "description": "商品类型 - 1:交易商品 2:仓单商品",
  32672. "type": "integer"
  32673. },
  32674. "hasrebate": {
  32675. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  32676. "type": "integer"
  32677. },
  32678. "hastradecredit": {
  32679. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  32680. "type": "integer"
  32681. },
  32682. "haswr": {
  32683. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  32684. "type": "integer"
  32685. },
  32686. "isdeductmargin": {
  32687. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  32688. "type": "integer"
  32689. },
  32690. "isrecordsource": {
  32691. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  32692. "type": "integer"
  32693. },
  32694. "isreleasemargin": {
  32695. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  32696. "type": "integer"
  32697. },
  32698. "isupdatereckonprice": {
  32699. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  32700. "type": "integer"
  32701. },
  32702. "listingmode": {
  32703. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  32704. "type": "integer"
  32705. },
  32706. "marginformula": {
  32707. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32708. "type": "integer"
  32709. },
  32710. "marginformula2": {
  32711. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32712. "type": "integer"
  32713. },
  32714. "marketid": {
  32715. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  32716. "type": "integer"
  32717. },
  32718. "marketname": {
  32719. "description": "市场名称",
  32720. "type": "string"
  32721. },
  32722. "marketsectionid": {
  32723. "description": "市场版块ID(SEQ_MARKETSECTION)",
  32724. "type": "integer"
  32725. },
  32726. "marketserviceid": {
  32727. "description": "市场服务ID",
  32728. "type": "integer"
  32729. },
  32730. "marketstatus": {
  32731. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  32732. "type": "integer"
  32733. },
  32734. "markettype": {
  32735. "description": "市场类型- 1:非交易服务 2:交易服务",
  32736. "type": "integer"
  32737. },
  32738. "matchermode": {
  32739. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  32740. "type": "integer"
  32741. },
  32742. "nowrquotaflag": {
  32743. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  32744. "type": "integer"
  32745. },
  32746. "openmethod": {
  32747. "description": "开盘模式 - 0 自动 1手动",
  32748. "type": "integer"
  32749. },
  32750. "orderindex": {
  32751. "description": "排序",
  32752. "type": "integer"
  32753. },
  32754. "otcuserid": {
  32755. "description": "场外期权做市商[场外期权]",
  32756. "type": "integer"
  32757. },
  32758. "outersynctime": {
  32759. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  32760. "type": "string"
  32761. },
  32762. "paylaterflag": {
  32763. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  32764. "type": "integer"
  32765. },
  32766. "pendingflag": {
  32767. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  32768. "type": "integer"
  32769. },
  32770. "pendingtime": {
  32771. "description": "待开市时间[通道交易-对冲](HH:mm)",
  32772. "type": "string"
  32773. },
  32774. "performancetempid": {
  32775. "description": "履约计划模板ID - 作废",
  32776. "type": "integer"
  32777. },
  32778. "premiumquotemode": {
  32779. "description": "权利金报价方式 - 1:自动 2:手动",
  32780. "type": "integer"
  32781. },
  32782. "rebateratio": {
  32783. "description": "返利比率[竞价式]",
  32784. "type": "number"
  32785. },
  32786. "reckonorder": {
  32787. "description": "结算顺序",
  32788. "type": "integer"
  32789. },
  32790. "reckonpricealgorithm": {
  32791. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  32792. "type": "integer"
  32793. },
  32794. "reckonpriceparam": {
  32795. "description": "结算价参数",
  32796. "type": "integer"
  32797. },
  32798. "reckontime": {
  32799. "description": "结算时间[通道交易-对冲](HH:mm)",
  32800. "type": "string"
  32801. },
  32802. "roleprioritytype": {
  32803. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  32804. "type": "integer"
  32805. },
  32806. "selllistingauditflag": {
  32807. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  32808. "type": "integer"
  32809. },
  32810. "trademarkettype": {
  32811. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  32812. "type": "integer"
  32813. },
  32814. "trademode": {
  32815. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32816. "type": "integer"
  32817. },
  32818. "tradeproperty": {
  32819. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  32820. "type": "integer"
  32821. },
  32822. "tradetype": {
  32823. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  32824. "type": "integer"
  32825. },
  32826. "updatereckonpriceinterval": {
  32827. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  32828. "type": "integer"
  32829. }
  32830. }
  32831. },
  32832. "models.TjmdQuoteGoods": {
  32833. "type": "object",
  32834. "properties": {
  32835. "buyqty": {
  32836. "description": "买量(暂不做, 无值, 保留字段)",
  32837. "type": "number"
  32838. },
  32839. "goodscode": {
  32840. "description": "合约代码",
  32841. "type": "string"
  32842. },
  32843. "goodsgroupid": {
  32844. "description": "商品组ID(自增ID)",
  32845. "type": "integer"
  32846. },
  32847. "goodsgroupname": {
  32848. "description": "商品组名称",
  32849. "type": "string"
  32850. },
  32851. "goodsid": {
  32852. "description": "合约id",
  32853. "type": "integer"
  32854. },
  32855. "goodsname": {
  32856. "description": "合约名称",
  32857. "type": "string"
  32858. },
  32859. "refgoodscode": {
  32860. "description": "标的合约代码",
  32861. "type": "string"
  32862. },
  32863. "refgoodsid": {
  32864. "description": "标的合约id",
  32865. "type": "integer"
  32866. },
  32867. "refgoodsname": {
  32868. "description": "标的合约名称",
  32869. "type": "string"
  32870. },
  32871. "sellqty": {
  32872. "description": "卖量(暂不做, 无值, 保留字段)",
  32873. "type": "number"
  32874. }
  32875. }
  32876. },
  32877. "models.TjmdTodayAccountMargin": {
  32878. "type": "object",
  32879. "properties": {
  32880. "accountid": {
  32881. "description": "账号ID",
  32882. "type": "integer"
  32883. },
  32884. "goodsid": {
  32885. "description": "商品ID",
  32886. "type": "integer"
  32887. },
  32888. "infoc": {
  32889. "description": "配置参数",
  32890. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  32891. },
  32892. "marketid": {
  32893. "description": "市场ID",
  32894. "type": "integer"
  32895. }
  32896. }
  32897. },
  32898. "models.TjmdTradeOrderDetail": {
  32899. "type": "object",
  32900. "properties": {
  32901. "buyorsell": {
  32902. "description": "买卖方向 0-买 1-卖",
  32903. "type": "integer"
  32904. },
  32905. "goodsid": {
  32906. "description": "商品id",
  32907. "type": "integer"
  32908. },
  32909. "marketmaxsub": {
  32910. "description": "市价最大偏移范围 [浮动价 - 点差]",
  32911. "type": "number"
  32912. },
  32913. "orderid": {
  32914. "description": "委托单号",
  32915. "type": "string"
  32916. },
  32917. "orderprice": {
  32918. "description": "委托价格",
  32919. "type": "number"
  32920. },
  32921. "orderqty": {
  32922. "description": "委托数量",
  32923. "type": "integer"
  32924. },
  32925. "pricemode": {
  32926. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  32927. "type": "integer"
  32928. },
  32929. "userid": {
  32930. "description": "用户id",
  32931. "type": "integer"
  32932. },
  32933. "username": {
  32934. "description": "用户名称(已脱敏)",
  32935. "type": "string"
  32936. }
  32937. }
  32938. },
  32939. "models.TjmdTransferApply": {
  32940. "type": "object",
  32941. "properties": {
  32942. "applyid": {
  32943. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  32944. "type": "integer"
  32945. },
  32946. "applystatus": {
  32947. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  32948. "type": "integer"
  32949. },
  32950. "applytime": {
  32951. "description": "申请时间(时间)",
  32952. "type": "string"
  32953. },
  32954. "auditremark": {
  32955. "description": "审核备注(拒绝原因?)",
  32956. "type": "string"
  32957. },
  32958. "begindate": {
  32959. "description": "开始交易日(yyyymmdd)",
  32960. "type": "string"
  32961. },
  32962. "buyorsell": {
  32963. "description": "买卖 - 0:买 1:卖",
  32964. "type": "integer"
  32965. },
  32966. "enddate": {
  32967. "description": "结束交易日(yyyymmdd)",
  32968. "type": "string"
  32969. },
  32970. "goodscode": {
  32971. "description": "商品代码",
  32972. "type": "string"
  32973. },
  32974. "goodsid": {
  32975. "description": "商品ID",
  32976. "type": "integer"
  32977. },
  32978. "goodsname": {
  32979. "description": "商品名称",
  32980. "type": "string"
  32981. },
  32982. "marketid": {
  32983. "description": "市场ID",
  32984. "type": "integer"
  32985. },
  32986. "qty": {
  32987. "description": "转让数量(数量)",
  32988. "type": "number"
  32989. },
  32990. "tradeid": {
  32991. "description": "成交单号(关联持仓)",
  32992. "type": "string"
  32993. },
  32994. "transferamount": {
  32995. "description": "转让总金额(金额)",
  32996. "type": "number"
  32997. },
  32998. "transferprice": {
  32999. "description": "转让价格(协议价格)",
  33000. "type": "number"
  33001. }
  33002. }
  33003. },
  33004. "models.TradeHolderDetail": {
  33005. "type": "object",
  33006. "properties": {
  33007. "accountid": {
  33008. "description": "账号ID",
  33009. "type": "integer"
  33010. },
  33011. "agreeunit": {
  33012. "description": "合约乘数",
  33013. "type": "number"
  33014. },
  33015. "buyorsell": {
  33016. "description": "方向 - 0:买 1:卖",
  33017. "type": "integer"
  33018. },
  33019. "currencyid": {
  33020. "description": "商品币种id",
  33021. "type": "integer"
  33022. },
  33023. "currencyname": {
  33024. "description": "币种名称",
  33025. "type": "string"
  33026. },
  33027. "decimalplace": {
  33028. "description": "商品价格小数位",
  33029. "type": "integer"
  33030. },
  33031. "enumdicname": {
  33032. "description": "商品单位名称",
  33033. "type": "string"
  33034. },
  33035. "expirecycle": {
  33036. "description": "行权周期(天) - 1:滚动行权时填写",
  33037. "type": "integer"
  33038. },
  33039. "expiredate": {
  33040. "description": "行权日(yyyyMMdd) - 到期日",
  33041. "type": "string"
  33042. },
  33043. "expiretype": {
  33044. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  33045. "type": "integer"
  33046. },
  33047. "freezeqty": {
  33048. "description": "冻结数量",
  33049. "type": "number"
  33050. },
  33051. "goodscode": {
  33052. "description": "商品代码",
  33053. "type": "string"
  33054. },
  33055. "goodsid": {
  33056. "description": "商品ID",
  33057. "type": "integer"
  33058. },
  33059. "goodsname": {
  33060. "description": "商品名称",
  33061. "type": "string"
  33062. },
  33063. "goodunitid": {
  33064. "description": "商品单位id",
  33065. "type": "integer"
  33066. },
  33067. "holderamount": {
  33068. "description": "持仓金额",
  33069. "type": "number"
  33070. },
  33071. "holdercredit": {
  33072. "description": "持仓授信金额",
  33073. "type": "number"
  33074. },
  33075. "holderdays": {
  33076. "description": "剩余冻结天数",
  33077. "type": "integer"
  33078. },
  33079. "holderprice": {
  33080. "description": "持仓价格",
  33081. "type": "number"
  33082. },
  33083. "holderqty": {
  33084. "description": "持仓数量",
  33085. "type": "number"
  33086. },
  33087. "isconfirmexercise": {
  33088. "description": "是否确认行权- 0:否 1:是",
  33089. "type": "integer"
  33090. },
  33091. "ispreexercise": {
  33092. "description": "是否预申报- 0:否 1:是 2:不可行权",
  33093. "type": "integer"
  33094. },
  33095. "marketid": {
  33096. "description": "市场id",
  33097. "type": "integer"
  33098. },
  33099. "marketname": {
  33100. "description": "市场名称",
  33101. "type": "string"
  33102. },
  33103. "openprice": {
  33104. "description": "建仓价格",
  33105. "type": "number"
  33106. },
  33107. "openqty": {
  33108. "description": "建仓数量",
  33109. "type": "number"
  33110. },
  33111. "optiontype": {
  33112. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  33113. "type": "integer"
  33114. },
  33115. "preexerciseprice": {
  33116. "description": "预申报价格",
  33117. "type": "number"
  33118. },
  33119. "premium": {
  33120. "description": "权利金",
  33121. "type": "number"
  33122. },
  33123. "qtydecimalplace": {
  33124. "description": "商品成交量小数位",
  33125. "type": "integer"
  33126. },
  33127. "refgoodscode": {
  33128. "description": "标的合约代码",
  33129. "type": "string"
  33130. },
  33131. "refgoodsid": {
  33132. "description": "标的合约id",
  33133. "type": "integer"
  33134. },
  33135. "releaseamount": {
  33136. "description": "释放持仓金额",
  33137. "type": "number"
  33138. },
  33139. "releaseholdercredit": {
  33140. "description": "释放持仓授信金额",
  33141. "type": "number"
  33142. },
  33143. "taname": {
  33144. "description": "资金账号名称",
  33145. "type": "string"
  33146. },
  33147. "tradeamount": {
  33148. "description": "成交金额",
  33149. "type": "number"
  33150. },
  33151. "tradedate": {
  33152. "description": "交易日(yyyyMMdd)",
  33153. "type": "string"
  33154. },
  33155. "tradeid": {
  33156. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33157. "type": "string"
  33158. },
  33159. "trademode": {
  33160. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  33161. "type": "integer"
  33162. },
  33163. "tradeproperty": {
  33164. "description": "交易属性",
  33165. "type": "integer"
  33166. },
  33167. "tradetime": {
  33168. "description": "交易时间",
  33169. "type": "string"
  33170. },
  33171. "userid": {
  33172. "description": "用户id",
  33173. "type": "integer"
  33174. },
  33175. "username": {
  33176. "description": "用户名称",
  33177. "type": "string"
  33178. }
  33179. }
  33180. },
  33181. "models.UserCollectConfig": {
  33182. "type": "object",
  33183. "properties": {
  33184. "accountstatus": {
  33185. "description": "账户状态 - 1:正常 2:停用 3:注销",
  33186. "type": "integer"
  33187. },
  33188. "collectaccountname": {
  33189. "description": "收款人账户名称",
  33190. "type": "string"
  33191. },
  33192. "collectaccountno": {
  33193. "description": "收款人账户",
  33194. "type": "string"
  33195. },
  33196. "collectbankname": {
  33197. "description": "收款人开户行",
  33198. "type": "string"
  33199. },
  33200. "collectbranchbankname": {
  33201. "description": "收款人开户支行",
  33202. "type": "string"
  33203. },
  33204. "collectconfigid": {
  33205. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  33206. "type": "string"
  33207. },
  33208. "remark": {
  33209. "description": "备注",
  33210. "type": "string"
  33211. },
  33212. "userid": {
  33213. "description": "收款人用户ID",
  33214. "type": "integer"
  33215. }
  33216. }
  33217. },
  33218. "models.UserReceiveInfo": {
  33219. "type": "object",
  33220. "properties": {
  33221. "address": {
  33222. "description": "提货人详细地址",
  33223. "type": "string"
  33224. },
  33225. "autoid": {
  33226. "description": "AutoID",
  33227. "type": "integer"
  33228. },
  33229. "cardnum": {
  33230. "description": "证件号码(加密存储)",
  33231. "type": "string"
  33232. },
  33233. "cardtypeid": {
  33234. "description": "证件类型",
  33235. "type": "integer"
  33236. },
  33237. "cityid": {
  33238. "description": "市",
  33239. "type": "integer"
  33240. },
  33241. "cityname": {
  33242. "description": "城市名称",
  33243. "type": "string"
  33244. },
  33245. "countryid": {
  33246. "description": "国家",
  33247. "type": "integer"
  33248. },
  33249. "countryname": {
  33250. "description": "国家名称",
  33251. "type": "string"
  33252. },
  33253. "districtid": {
  33254. "description": "地区",
  33255. "type": "integer"
  33256. },
  33257. "districtname": {
  33258. "description": "地区名称",
  33259. "type": "string"
  33260. },
  33261. "hasencrypt": {
  33262. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33263. "type": "integer"
  33264. },
  33265. "isdefault": {
  33266. "description": "是否默认地址 - 0:否 1:是",
  33267. "type": "integer"
  33268. },
  33269. "phonenum": {
  33270. "description": "提货人联系方式(加密存储)",
  33271. "type": "string"
  33272. },
  33273. "provinceid": {
  33274. "description": "省",
  33275. "type": "integer"
  33276. },
  33277. "provincename": {
  33278. "description": "省名称",
  33279. "type": "string"
  33280. },
  33281. "receivername": {
  33282. "description": "提货人姓名",
  33283. "type": "string"
  33284. },
  33285. "takeremark": {
  33286. "description": "提货备注",
  33287. "type": "string"
  33288. },
  33289. "userid": {
  33290. "description": "用户ID",
  33291. "type": "integer"
  33292. }
  33293. }
  33294. },
  33295. "models.Useraccount": {
  33296. "type": "object",
  33297. "required": [
  33298. "userid"
  33299. ],
  33300. "properties": {
  33301. "accountname": {
  33302. "description": "账户名称(机构名称)",
  33303. "type": "string"
  33304. },
  33305. "accountstatus": {
  33306. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  33307. "type": "integer"
  33308. },
  33309. "applysrc": {
  33310. "description": "申请来源 - 1:管理端 2:终端",
  33311. "type": "integer"
  33312. },
  33313. "auditremark": {
  33314. "description": "审核备注",
  33315. "type": "string"
  33316. },
  33317. "auditsrc": {
  33318. "description": "审核来源 - 1:管理端 2:终端",
  33319. "type": "integer"
  33320. },
  33321. "audittime": {
  33322. "description": "审核时间",
  33323. "type": "string"
  33324. },
  33325. "audituserid": {
  33326. "description": "审核人",
  33327. "type": "integer"
  33328. },
  33329. "broker": {
  33330. "description": "所属经纪人ID",
  33331. "type": "integer"
  33332. },
  33333. "canceltime": {
  33334. "description": "销户时间",
  33335. "type": "string"
  33336. },
  33337. "canceluserid": {
  33338. "description": "销户人",
  33339. "type": "integer"
  33340. },
  33341. "canrecommend": {
  33342. "description": "是否可推荐 - 0:不可 1;可",
  33343. "type": "integer"
  33344. },
  33345. "createtime": {
  33346. "description": "创建时间",
  33347. "type": "string"
  33348. },
  33349. "creatorid": {
  33350. "description": "创建人",
  33351. "type": "integer"
  33352. },
  33353. "hasauth": {
  33354. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  33355. "type": "integer"
  33356. },
  33357. "isanonymous": {
  33358. "description": "是否匿名下单 - 0:否 1:是",
  33359. "type": "integer"
  33360. },
  33361. "maxinvestornum": {
  33362. "description": "最大用户数(经纪会员下投资者个数)",
  33363. "type": "integer"
  33364. },
  33365. "memberuserid": {
  33366. "description": "所属会员ID",
  33367. "type": "integer"
  33368. },
  33369. "modifierid": {
  33370. "description": "修改人",
  33371. "type": "integer"
  33372. },
  33373. "modifyremark": {
  33374. "description": "变更备注",
  33375. "type": "string"
  33376. },
  33377. "modifystatus": {
  33378. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  33379. "type": "integer"
  33380. },
  33381. "modifytime": {
  33382. "description": "修改时间",
  33383. "type": "string"
  33384. },
  33385. "parenttopuser": {
  33386. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  33387. "type": "string"
  33388. },
  33389. "parentuserid": {
  33390. "description": "所属机构ID",
  33391. "type": "integer"
  33392. },
  33393. "reckonaccountid": {
  33394. "description": "默认结算资金账号ID(机构分润使用) 作废",
  33395. "type": "integer"
  33396. },
  33397. "refercount": {
  33398. "description": "推荐总人数",
  33399. "type": "integer"
  33400. },
  33401. "refereeuserid": {
  33402. "description": "推荐人ID",
  33403. "type": "integer"
  33404. },
  33405. "refernum": {
  33406. "description": "推荐码",
  33407. "type": "string"
  33408. },
  33409. "rootuserid": {
  33410. "description": "根用户ID",
  33411. "type": "integer"
  33412. },
  33413. "subaccountlevel": {
  33414. "description": "子账户层数",
  33415. "type": "integer"
  33416. },
  33417. "subarealevelpath": {
  33418. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  33419. "type": "string"
  33420. },
  33421. "userid": {
  33422. "description": "用户ID",
  33423. "type": "integer"
  33424. },
  33425. "usertype": {
  33426. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  33427. "type": "integer"
  33428. }
  33429. }
  33430. },
  33431. "models.Userfavoritegoods": {
  33432. "type": "object",
  33433. "required": [
  33434. "goodsid"
  33435. ],
  33436. "properties": {
  33437. "goodsid": {
  33438. "description": "商品ID",
  33439. "type": "integer"
  33440. }
  33441. }
  33442. },
  33443. "models.Userinfo": {
  33444. "type": "object",
  33445. "required": [
  33446. "userid"
  33447. ],
  33448. "properties": {
  33449. "address": {
  33450. "description": "地址",
  33451. "type": "string"
  33452. },
  33453. "attachment1": {
  33454. "description": "附件1",
  33455. "type": "string"
  33456. },
  33457. "attachment2": {
  33458. "description": "附件2",
  33459. "type": "string"
  33460. },
  33461. "bankaccount": {
  33462. "description": "银行帐号 (加密存储)",
  33463. "type": "string"
  33464. },
  33465. "bankaccountname": {
  33466. "description": "收款人名称",
  33467. "type": "string"
  33468. },
  33469. "bankcardfrontphotourl": {
  33470. "description": "银行卡正面照地址",
  33471. "type": "string"
  33472. },
  33473. "bankid": {
  33474. "description": "银行编码",
  33475. "type": "string"
  33476. },
  33477. "bankname": {
  33478. "description": "银行名称",
  33479. "type": "string"
  33480. },
  33481. "biznature": {
  33482. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  33483. "type": "integer"
  33484. },
  33485. "bizscope": {
  33486. "description": "企业经营范围(企业)",
  33487. "type": "string"
  33488. },
  33489. "cardbackphotourl": {
  33490. "description": "证件背面图片地址",
  33491. "type": "string"
  33492. },
  33493. "cardfrontphotourl": {
  33494. "description": "证件正面图片地址",
  33495. "type": "string"
  33496. },
  33497. "cardnum": {
  33498. "description": "证件号码(加密存储)",
  33499. "type": "string"
  33500. },
  33501. "cardtypeid": {
  33502. "description": "证件类型ID",
  33503. "type": "integer"
  33504. },
  33505. "cityid": {
  33506. "description": "市",
  33507. "type": "integer"
  33508. },
  33509. "company": {
  33510. "description": "公司(个人)",
  33511. "type": "string"
  33512. },
  33513. "contactname": {
  33514. "description": "联系人",
  33515. "type": "string"
  33516. },
  33517. "countryid": {
  33518. "description": "国家",
  33519. "type": "integer"
  33520. },
  33521. "createtime": {
  33522. "description": "创建时间",
  33523. "type": "string"
  33524. },
  33525. "creatorid": {
  33526. "description": "创建人",
  33527. "type": "integer"
  33528. },
  33529. "customername": {
  33530. "description": "客户名称(企业名称)",
  33531. "type": "string"
  33532. },
  33533. "districtid": {
  33534. "description": "地区",
  33535. "type": "integer"
  33536. },
  33537. "email": {
  33538. "description": "邮件(加密存储)",
  33539. "type": "string"
  33540. },
  33541. "fax": {
  33542. "description": "传真(加密存储)",
  33543. "type": "string"
  33544. },
  33545. "halfbodyphotourl": {
  33546. "description": "半身照地址",
  33547. "type": "string"
  33548. },
  33549. "hasencrypt": {
  33550. "description": "数据是否已加密 - 0:未加密 1:已加密",
  33551. "type": "integer"
  33552. },
  33553. "headurl": {
  33554. "description": "头像地址",
  33555. "type": "string"
  33556. },
  33557. "legalcardbackphotourl": {
  33558. "description": "法人身份证背面照地址",
  33559. "type": "string"
  33560. },
  33561. "legalcardfrontphotourl": {
  33562. "description": "法人身份证正面照地址",
  33563. "type": "string"
  33564. },
  33565. "legalpersonname": {
  33566. "description": "法人姓名(企业)",
  33567. "type": "string"
  33568. },
  33569. "mobile": {
  33570. "description": "手机号码(加密存储)",
  33571. "type": "string"
  33572. },
  33573. "mobile2": {
  33574. "description": "手机号码[明文-尚志]",
  33575. "type": "string"
  33576. },
  33577. "modifierid": {
  33578. "description": "修改人",
  33579. "type": "integer"
  33580. },
  33581. "modifiertime": {
  33582. "description": "修改时间",
  33583. "type": "string"
  33584. },
  33585. "needinvoice": {
  33586. "description": "是否需要发票 - 0:不需要 1:需要",
  33587. "type": "integer"
  33588. },
  33589. "nickname": {
  33590. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  33591. "type": "string"
  33592. },
  33593. "openmode": {
  33594. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  33595. "type": "integer"
  33596. },
  33597. "otherurl": {
  33598. "description": "其它图片地址[使用分号分隔]",
  33599. "type": "string"
  33600. },
  33601. "postalcode": {
  33602. "description": "邮政编码",
  33603. "type": "string"
  33604. },
  33605. "provinceid": {
  33606. "description": "省",
  33607. "type": "integer"
  33608. },
  33609. "qq": {
  33610. "description": "QQ(加密存储",
  33611. "type": "string"
  33612. },
  33613. "remark": {
  33614. "description": "备注",
  33615. "type": "string"
  33616. },
  33617. "sex": {
  33618. "description": "用户性别 0: 女 1: 男",
  33619. "type": "integer"
  33620. },
  33621. "signpdfurl": {
  33622. "description": "签约pdf文件",
  33623. "type": "string"
  33624. },
  33625. "telphone": {
  33626. "description": "联系电话(加密存储)",
  33627. "type": "string"
  33628. },
  33629. "userid": {
  33630. "description": "用户ID",
  33631. "type": "integer"
  33632. },
  33633. "userinfotype": {
  33634. "description": "用户信息类型 - 1:个人 2:企业",
  33635. "type": "integer"
  33636. },
  33637. "userstatus": {
  33638. "description": "用户状态 - 1:正常 2:注销",
  33639. "type": "integer"
  33640. },
  33641. "usertype": {
  33642. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  33643. "type": "integer"
  33644. },
  33645. "wechat": {
  33646. "description": "微信(加密存储)",
  33647. "type": "string"
  33648. },
  33649. "wskhinfo": {
  33650. "description": "开户申请信息(JSON)",
  33651. "type": "string"
  33652. }
  33653. }
  33654. },
  33655. "models.WRSConverTDetail": {
  33656. "type": "object",
  33657. "properties": {
  33658. "convertratio": {
  33659. "description": "套保系数",
  33660. "type": "number"
  33661. },
  33662. "deliverygoodscode": {
  33663. "description": "现货商品代码",
  33664. "type": "string"
  33665. },
  33666. "deliverygoodsid": {
  33667. "description": "现货品种ID",
  33668. "type": "integer"
  33669. },
  33670. "deliverygoodsname": {
  33671. "description": "现货商品名称",
  33672. "type": "string"
  33673. },
  33674. "enumdicname": {
  33675. "description": "单位名称",
  33676. "type": "string"
  33677. },
  33678. "goodsunitid": {
  33679. "description": "套保品种单位id",
  33680. "type": "integer"
  33681. },
  33682. "middlegoodscode": {
  33683. "description": "套保品种代码",
  33684. "type": "string"
  33685. },
  33686. "middlegoodsid": {
  33687. "description": "套保品种ID",
  33688. "type": "integer"
  33689. },
  33690. "middlegoodsname": {
  33691. "description": "套保品种名称",
  33692. "type": "string"
  33693. },
  33694. "modifytime": {
  33695. "description": "修改时间",
  33696. "type": "string"
  33697. },
  33698. "wrstandardid": {
  33699. "description": "品类ID",
  33700. "type": "integer"
  33701. }
  33702. }
  33703. },
  33704. "models.WRStandardInfo": {
  33705. "type": "object",
  33706. "required": [
  33707. "wrstandardid"
  33708. ],
  33709. "properties": {
  33710. "areauserid": {
  33711. "description": "所属机构",
  33712. "type": "integer"
  33713. },
  33714. "convertfactor": {
  33715. "description": "标仓系数",
  33716. "type": "number"
  33717. },
  33718. "createtime": {
  33719. "description": "创建时间",
  33720. "type": "string"
  33721. },
  33722. "creatorid": {
  33723. "description": "创建人",
  33724. "type": "integer"
  33725. },
  33726. "deliverygoodsid": {
  33727. "description": "品种ID",
  33728. "type": "integer"
  33729. },
  33730. "deliverygoodsname": {
  33731. "description": "交割商品名称",
  33732. "type": "string"
  33733. },
  33734. "factoryitemjson": {
  33735. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  33736. "type": "string"
  33737. },
  33738. "isvalid": {
  33739. "description": "是否有效 - 0:无效 1:有效",
  33740. "type": "integer"
  33741. },
  33742. "minivalue": {
  33743. "description": "最小变动值",
  33744. "type": "integer"
  33745. },
  33746. "minivaluedp": {
  33747. "description": "最小变动值小数位",
  33748. "type": "integer"
  33749. },
  33750. "realminivalue": {
  33751. "description": "实际最小变动值",
  33752. "type": "integer"
  33753. },
  33754. "realminivaluedp": {
  33755. "description": "实际最小变动值小数位",
  33756. "type": "integer"
  33757. },
  33758. "remark": {
  33759. "description": "备注",
  33760. "type": "string"
  33761. },
  33762. "unitid": {
  33763. "description": "单位ID",
  33764. "type": "integer"
  33765. },
  33766. "unitname": {
  33767. "description": "单位",
  33768. "type": "string"
  33769. },
  33770. "updatetime": {
  33771. "description": "更新时间",
  33772. "type": "string"
  33773. },
  33774. "updatorid": {
  33775. "description": "更新人",
  33776. "type": "integer"
  33777. },
  33778. "wrsstatus": {
  33779. "description": "状态 - 作废 - 0:未激活 1:正常",
  33780. "type": "integer"
  33781. },
  33782. "wrstandardcode": {
  33783. "description": "现货品类代码",
  33784. "type": "string"
  33785. },
  33786. "wrstandardid": {
  33787. "description": "现货品类ID(SEQ_WRSTANDARD)",
  33788. "type": "integer"
  33789. },
  33790. "wrstandardname": {
  33791. "description": "现货品类名称",
  33792. "type": "string"
  33793. }
  33794. }
  33795. },
  33796. "models.WRTradeBargainApply": {
  33797. "type": "object",
  33798. "properties": {
  33799. "accountid": {
  33800. "description": "摘牌资金账号",
  33801. "type": "integer"
  33802. },
  33803. "applyprice": {
  33804. "description": "申请价格(议价价格)",
  33805. "type": "string"
  33806. },
  33807. "applyqty": {
  33808. "description": "摘牌数量(议价数量)",
  33809. "type": "number"
  33810. },
  33811. "applyremark": {
  33812. "description": "申请备注",
  33813. "type": "string"
  33814. },
  33815. "applystatus": {
  33816. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  33817. "type": "integer"
  33818. },
  33819. "applytime": {
  33820. "description": "申请时间(议价时间)",
  33821. "type": "string"
  33822. },
  33823. "begindate": {
  33824. "description": "开始交易日(yyyymmdd)",
  33825. "type": "string"
  33826. },
  33827. "buyorsell": {
  33828. "description": "买卖(挂牌类型) - 0:买 1:卖",
  33829. "type": "integer"
  33830. },
  33831. "confirmremark": {
  33832. "description": "确认备注",
  33833. "type": "string"
  33834. },
  33835. "confirmtime": {
  33836. "description": "确认时间",
  33837. "type": "string"
  33838. },
  33839. "confirmuserid": {
  33840. "description": "确认人",
  33841. "type": "integer"
  33842. },
  33843. "deliverygoodscode": {
  33844. "description": "品种代码",
  33845. "type": "string"
  33846. },
  33847. "deliverygoodsid": {
  33848. "description": "品种ID",
  33849. "type": "integer"
  33850. },
  33851. "deliverygoodsname": {
  33852. "description": "品种名称",
  33853. "type": "string"
  33854. },
  33855. "deliverymonth": {
  33856. "description": "交收月",
  33857. "type": "string"
  33858. },
  33859. "enddate": {
  33860. "description": "结束交易日(yyyymmdd)",
  33861. "type": "string"
  33862. },
  33863. "enumdicname": {
  33864. "description": "单位名称",
  33865. "type": "string"
  33866. },
  33867. "fixedprice": {
  33868. "description": "挂牌价格",
  33869. "type": "number"
  33870. },
  33871. "handlestatus": {
  33872. "description": "处理状态",
  33873. "type": "integer"
  33874. },
  33875. "marginvalue": {
  33876. "description": "履约保证金比例",
  33877. "type": "number"
  33878. },
  33879. "marketid": {
  33880. "description": "市场ID",
  33881. "type": "integer"
  33882. },
  33883. "matchaccountid": {
  33884. "description": "挂牌方资金账号",
  33885. "type": "integer"
  33886. },
  33887. "matchuserid": {
  33888. "description": "挂牌方用户id",
  33889. "type": "integer"
  33890. },
  33891. "matchusername": {
  33892. "description": "挂牌方用户名称(已脱敏)",
  33893. "type": "string"
  33894. },
  33895. "minivalue": {
  33896. "description": "现货商品最小变动值",
  33897. "type": "integer"
  33898. },
  33899. "optioncompare": {
  33900. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  33901. "type": "string"
  33902. },
  33903. "orderqty": {
  33904. "description": "挂牌数量",
  33905. "type": "integer"
  33906. },
  33907. "refprice": {
  33908. "description": "参考价格",
  33909. "type": "string"
  33910. },
  33911. "retcode": {
  33912. "description": "委托返回代码",
  33913. "type": "integer"
  33914. },
  33915. "templatename": {
  33916. "description": "履约方式(履约模板名称)",
  33917. "type": "string"
  33918. },
  33919. "tradedate": {
  33920. "description": "交易日(yyyyMMdd)",
  33921. "type": "string"
  33922. },
  33923. "userid": {
  33924. "description": "摘牌人用户ID(议价人ID)",
  33925. "type": "integer"
  33926. },
  33927. "username": {
  33928. "description": "议价人名字(已脱敏)",
  33929. "type": "string"
  33930. },
  33931. "validtime": {
  33932. "description": "有效期限",
  33933. "type": "string"
  33934. },
  33935. "warehouseid": {
  33936. "description": "仓库ID",
  33937. "type": "integer"
  33938. },
  33939. "warehousename": {
  33940. "description": "仓库名称",
  33941. "type": "string"
  33942. },
  33943. "wrbargainid": {
  33944. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  33945. "type": "string"
  33946. },
  33947. "wrfactortypeid": {
  33948. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  33949. "type": "string"
  33950. },
  33951. "wrfactortypename": {
  33952. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  33953. "type": "string"
  33954. },
  33955. "wrstandardcode": {
  33956. "description": "现货商品代码",
  33957. "type": "string"
  33958. },
  33959. "wrstandardid": {
  33960. "description": "现货商品ID",
  33961. "type": "integer"
  33962. },
  33963. "wrstandardname": {
  33964. "description": "商品名称",
  33965. "type": "string"
  33966. },
  33967. "wrtradeorderid": {
  33968. "description": "关联委托单ID",
  33969. "type": "string"
  33970. },
  33971. "wrtypename": {
  33972. "description": "商品",
  33973. "type": "string"
  33974. }
  33975. }
  33976. },
  33977. "models.Warehouseinfo": {
  33978. "type": "object",
  33979. "required": [
  33980. "autoid",
  33981. "warehousecode"
  33982. ],
  33983. "properties": {
  33984. "address": {
  33985. "description": "详细地址",
  33986. "type": "string"
  33987. },
  33988. "areauserid": {
  33989. "description": "所属机构",
  33990. "type": "integer"
  33991. },
  33992. "autoid": {
  33993. "description": "自增ID",
  33994. "type": "integer"
  33995. },
  33996. "cityid": {
  33997. "description": "市",
  33998. "type": "integer"
  33999. },
  34000. "contactname": {
  34001. "description": "联系人",
  34002. "type": "string"
  34003. },
  34004. "contactnum": {
  34005. "description": "联系电话",
  34006. "type": "string"
  34007. },
  34008. "countryid": {
  34009. "description": "国家",
  34010. "type": "integer"
  34011. },
  34012. "createtime": {
  34013. "description": "创建时间",
  34014. "type": "string"
  34015. },
  34016. "districtid": {
  34017. "description": "区",
  34018. "type": "integer"
  34019. },
  34020. "hasvideo": {
  34021. "description": "是否有视频 - 0:无 1:有",
  34022. "type": "integer"
  34023. },
  34024. "provinceid": {
  34025. "description": "省",
  34026. "type": "integer"
  34027. },
  34028. "remark": {
  34029. "description": "审核备注",
  34030. "type": "string"
  34031. },
  34032. "videourl": {
  34033. "description": "视频地址",
  34034. "type": "string"
  34035. },
  34036. "warehousecode": {
  34037. "description": "仓库代码",
  34038. "type": "string"
  34039. },
  34040. "warehousename": {
  34041. "description": "仓库名称",
  34042. "type": "string"
  34043. },
  34044. "warehousestatus": {
  34045. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  34046. "type": "integer"
  34047. },
  34048. "warehousetype": {
  34049. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  34050. "type": "integer"
  34051. }
  34052. }
  34053. },
  34054. "models.WrAverageTradePrice": {
  34055. "type": "object",
  34056. "properties": {
  34057. "averageprice": {
  34058. "description": "成交均价",
  34059. "type": "number"
  34060. },
  34061. "tradedate": {
  34062. "description": "交易日yyyymm",
  34063. "type": "string"
  34064. }
  34065. }
  34066. },
  34067. "models.WrBsGoodsInfo": {
  34068. "type": "object",
  34069. "properties": {
  34070. "buyorsell": {
  34071. "description": "买卖方向 0-买 1-卖",
  34072. "type": "integer"
  34073. },
  34074. "goodsid": {
  34075. "description": "交易合约ID",
  34076. "type": "integer"
  34077. },
  34078. "lstitem": {
  34079. "description": "商品信息项",
  34080. "type": "array",
  34081. "items": {
  34082. "$ref": "#/definitions/models.WrTypeItem"
  34083. }
  34084. },
  34085. "lststep": {
  34086. "description": "履约规则",
  34087. "type": "array",
  34088. "items": {
  34089. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34090. }
  34091. }
  34092. }
  34093. },
  34094. "models.WrBuybackDetail": {
  34095. "type": "object",
  34096. "properties": {
  34097. "buybackamount": {
  34098. "description": "回购金额",
  34099. "type": "number"
  34100. },
  34101. "buybackqty": {
  34102. "description": "回购数量",
  34103. "type": "number"
  34104. },
  34105. "buybackreleasemargin": {
  34106. "description": "回购释放保证金",
  34107. "type": "number"
  34108. },
  34109. "buybacktime": {
  34110. "description": "回购时间",
  34111. "type": "string"
  34112. },
  34113. "errordesc": {
  34114. "description": "错误描述",
  34115. "type": "string"
  34116. },
  34117. "handlestatus": {
  34118. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  34119. "type": "integer"
  34120. },
  34121. "relatedwrid": {
  34122. "description": "关联仓单ID",
  34123. "type": "integer"
  34124. },
  34125. "scfcontractid": {
  34126. "description": "SCF合同ID",
  34127. "type": "string"
  34128. },
  34129. "scfwrbuybackid": {
  34130. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  34131. "type": "integer"
  34132. },
  34133. "tradedate": {
  34134. "description": "交易日(yyyyMMdd)",
  34135. "type": "string"
  34136. }
  34137. }
  34138. },
  34139. "models.WrDeliveryAvalidHoldLB": {
  34140. "type": "object",
  34141. "properties": {
  34142. "accountid": {
  34143. "description": "资金账号",
  34144. "type": "integer"
  34145. },
  34146. "avalidqty": {
  34147. "description": "数量(可点选数量)",
  34148. "type": "number"
  34149. },
  34150. "deliverygoodsid": {
  34151. "description": "品种id",
  34152. "type": "integer"
  34153. },
  34154. "enumdicname": {
  34155. "description": "单位名称",
  34156. "type": "string"
  34157. },
  34158. "goodsid": {
  34159. "description": "x合约商品id",
  34160. "type": "integer"
  34161. },
  34162. "ladingbillid": {
  34163. "description": "提单id",
  34164. "type": "string"
  34165. },
  34166. "pgoodscode": {
  34167. "description": "p商品代码(点价合约)",
  34168. "type": "string"
  34169. },
  34170. "pgoodsid": {
  34171. "description": "p商品id(点价合约)",
  34172. "type": "integer"
  34173. },
  34174. "pgoodsname": {
  34175. "description": "p商品名称(点价合约)",
  34176. "type": "string"
  34177. },
  34178. "pricemove": {
  34179. "description": "升贴水",
  34180. "type": "number"
  34181. },
  34182. "subnum": {
  34183. "description": "提单子id",
  34184. "type": "integer"
  34185. },
  34186. "userid": {
  34187. "description": "用户id",
  34188. "type": "integer"
  34189. },
  34190. "username": {
  34191. "description": "仓单持有人",
  34192. "type": "string"
  34193. },
  34194. "warehousecode": {
  34195. "description": "仓库代码",
  34196. "type": "string"
  34197. },
  34198. "warehouseid": {
  34199. "description": "仓库id",
  34200. "type": "integer"
  34201. },
  34202. "warehousename": {
  34203. "description": "仓库名称",
  34204. "type": "string"
  34205. },
  34206. "wrfactortypeid": {
  34207. "description": "仓单要素id",
  34208. "type": "string"
  34209. },
  34210. "wrstandardcode": {
  34211. "description": "品代码",
  34212. "type": "string"
  34213. },
  34214. "wrstandardid": {
  34215. "description": "品类d",
  34216. "type": "integer"
  34217. },
  34218. "wrstandardname": {
  34219. "description": "品类名称",
  34220. "type": "string"
  34221. },
  34222. "wrtypename": {
  34223. "description": "商品",
  34224. "type": "string"
  34225. },
  34226. "xgoodscode": {
  34227. "description": "x合约代码",
  34228. "type": "string"
  34229. },
  34230. "xgoodsname": {
  34231. "description": "x合约名称",
  34232. "type": "string"
  34233. }
  34234. }
  34235. },
  34236. "models.WrDeliveryDetail": {
  34237. "type": "object",
  34238. "properties": {
  34239. "accountid": {
  34240. "description": "账号ID",
  34241. "type": "integer"
  34242. },
  34243. "averageprice": {
  34244. "description": "交割均价 = 交割金额 / 交割数量",
  34245. "type": "number"
  34246. },
  34247. "begindate": {
  34248. "description": "开始交易日(yyyymmdd)",
  34249. "type": "string"
  34250. },
  34251. "buyorsell": {
  34252. "description": "方向 - 0:买 1:卖",
  34253. "type": "integer"
  34254. },
  34255. "deliveryamount": {
  34256. "description": "货款金额(X总货款+P总货款)",
  34257. "type": "number"
  34258. },
  34259. "deliveryid": {
  34260. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  34261. "type": "string"
  34262. },
  34263. "deliveryorderid": {
  34264. "description": "申报单号",
  34265. "type": "string"
  34266. },
  34267. "deliverypricemove": {
  34268. "description": "升贴水(升贴水总额)",
  34269. "type": "number"
  34270. },
  34271. "deliveryqty": {
  34272. "description": "交收数量(点选数量)",
  34273. "type": "number"
  34274. },
  34275. "deliverystatus": {
  34276. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  34277. "type": "integer"
  34278. },
  34279. "deliverytime": {
  34280. "description": "交割时间",
  34281. "type": "string"
  34282. },
  34283. "deliverytotalamount": {
  34284. "description": "交收金额",
  34285. "type": "number"
  34286. },
  34287. "enddate": {
  34288. "description": "结束交易日(yyyymmdd)",
  34289. "type": "string"
  34290. },
  34291. "enumdicname": {
  34292. "description": "单位名称",
  34293. "type": "string"
  34294. },
  34295. "matchaccountid": {
  34296. "description": "对手账号ID",
  34297. "type": "integer"
  34298. },
  34299. "matchusername": {
  34300. "description": "对手方名称(仓单持有人)",
  34301. "type": "string"
  34302. },
  34303. "p1goodsremainamount": {
  34304. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  34305. "type": "number"
  34306. },
  34307. "pdeliverycloseqty": {
  34308. "description": "p合约平仓数量",
  34309. "type": "number"
  34310. },
  34311. "pdeliveryprice": {
  34312. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  34313. "type": "number"
  34314. },
  34315. "pgoodscode": {
  34316. "description": "商品代码",
  34317. "type": "string"
  34318. },
  34319. "pgoodsid": {
  34320. "description": "p点选合约id",
  34321. "type": "integer"
  34322. },
  34323. "pgoodsname": {
  34324. "description": "商品名称",
  34325. "type": "string"
  34326. },
  34327. "ppricemode": {
  34328. "description": "点价价格方式 - 1:商品价 2:固定值",
  34329. "type": "integer"
  34330. },
  34331. "tradedate": {
  34332. "description": "交易日(yyyymmdd)",
  34333. "type": "string"
  34334. },
  34335. "userid": {
  34336. "description": "用户id",
  34337. "type": "integer"
  34338. },
  34339. "username": {
  34340. "description": "用户名称",
  34341. "type": "string"
  34342. },
  34343. "warehousename": {
  34344. "description": "仓库名称",
  34345. "type": "string"
  34346. },
  34347. "wrfactortypeid": {
  34348. "description": "仓单要素类型ID",
  34349. "type": "string"
  34350. },
  34351. "wrtypename": {
  34352. "description": "商品",
  34353. "type": "string"
  34354. },
  34355. "xdeliverycloseqty": {
  34356. "description": "合约数量",
  34357. "type": "number"
  34358. },
  34359. "xgoodsamount": {
  34360. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  34361. "type": "number"
  34362. },
  34363. "xgoodscode": {
  34364. "description": "商品代码",
  34365. "type": "string"
  34366. },
  34367. "xgoodsid": {
  34368. "description": "x交易合约ID",
  34369. "type": "integer"
  34370. },
  34371. "xgoodsname": {
  34372. "description": "商品名称",
  34373. "type": "string"
  34374. }
  34375. }
  34376. },
  34377. "models.WrDeliveryGoodsSection": {
  34378. "type": "object",
  34379. "properties": {
  34380. "dglst": {
  34381. "description": "板块商品列表",
  34382. "type": "array",
  34383. "items": {
  34384. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  34385. }
  34386. },
  34387. "imagepath": {
  34388. "description": "图片地址",
  34389. "type": "string"
  34390. },
  34391. "orderindex": {
  34392. "description": "排序",
  34393. "type": "integer"
  34394. },
  34395. "sectionid": {
  34396. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  34397. "type": "integer"
  34398. },
  34399. "sectionname": {
  34400. "description": "版块名称",
  34401. "type": "string"
  34402. },
  34403. "sectiontype": {
  34404. "description": "版块类型 - 1:指数版块 2:普通版块",
  34405. "type": "integer"
  34406. }
  34407. }
  34408. },
  34409. "models.WrDeliveryGoodsSectionConfig": {
  34410. "type": "object",
  34411. "properties": {
  34412. "deliverygoodscode": {
  34413. "description": "现货商品代码",
  34414. "type": "string"
  34415. },
  34416. "deliverygoodsid": {
  34417. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  34418. "type": "integer"
  34419. },
  34420. "deliverygoodsname": {
  34421. "description": "现货商品名称",
  34422. "type": "string"
  34423. },
  34424. "orderindex": {
  34425. "description": "排序",
  34426. "type": "integer"
  34427. }
  34428. }
  34429. },
  34430. "models.WrFAProductDetail": {
  34431. "type": "object",
  34432. "properties": {
  34433. "accountid": {
  34434. "description": "资金账号",
  34435. "type": "integer"
  34436. },
  34437. "areauserid": {
  34438. "description": "金融机构ID",
  34439. "type": "integer"
  34440. },
  34441. "financingdays": {
  34442. "description": "天数(天)",
  34443. "type": "integer"
  34444. },
  34445. "interestminlen": {
  34446. "description": "最小起息天数",
  34447. "type": "integer"
  34448. },
  34449. "interestrate": {
  34450. "description": "利率",
  34451. "type": "number"
  34452. },
  34453. "interestratemode": {
  34454. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34455. "type": "integer"
  34456. },
  34457. "interestsettlemode": {
  34458. "description": "结息方式 - 1:按日结息 3:按月结息",
  34459. "type": "integer"
  34460. },
  34461. "interestsettlevalue": {
  34462. "description": "结息方式值",
  34463. "type": "integer"
  34464. },
  34465. "isautoloan": {
  34466. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  34467. "type": "integer"
  34468. },
  34469. "loantag": {
  34470. "description": "放款标识: \"放款快\" 或者为空",
  34471. "type": "string"
  34472. },
  34473. "marginratio": {
  34474. "description": "保证金比率质押率 - [仓单质押]",
  34475. "type": "number"
  34476. },
  34477. "productdetailid": {
  34478. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  34479. "type": "integer"
  34480. },
  34481. "productid": {
  34482. "description": "金融产品ID",
  34483. "type": "integer"
  34484. },
  34485. "productname": {
  34486. "description": "产品名称",
  34487. "type": "string"
  34488. },
  34489. "updatetime": {
  34490. "description": "更新时间",
  34491. "type": "string"
  34492. },
  34493. "username": {
  34494. "description": "融出方",
  34495. "type": "string"
  34496. }
  34497. }
  34498. },
  34499. "models.WrFactorTypeInfo": {
  34500. "type": "object",
  34501. "properties": {
  34502. "deliverygoodscode": {
  34503. "description": "品种代码",
  34504. "type": "string"
  34505. },
  34506. "deliverygoodsname": {
  34507. "description": "品种名称",
  34508. "type": "string"
  34509. },
  34510. "dgfactoryitemid": {
  34511. "description": "选择项id",
  34512. "type": "integer"
  34513. },
  34514. "dgfactoryitemtypeid": {
  34515. "description": "要素选择项ID (1-仓库 2-品牌)",
  34516. "type": "integer"
  34517. },
  34518. "dgfactoryitemvalue": {
  34519. "description": "要素项值",
  34520. "type": "string"
  34521. },
  34522. "itemtypename": {
  34523. "description": "要素项名称",
  34524. "type": "string"
  34525. },
  34526. "optioncompare": {
  34527. "description": "选择比较串",
  34528. "type": "string"
  34529. },
  34530. "warehouseid": {
  34531. "description": "仓库id",
  34532. "type": "integer"
  34533. },
  34534. "wrfactortypeid": {
  34535. "description": "仓单要素ID",
  34536. "type": "string"
  34537. },
  34538. "wrfactortypename": {
  34539. "description": "要素名称",
  34540. "type": "string"
  34541. },
  34542. "wrfactortypename2": {
  34543. "description": "要素名称(不含仓库)",
  34544. "type": "string"
  34545. },
  34546. "wrstandardcode": {
  34547. "description": "品类代码",
  34548. "type": "string"
  34549. },
  34550. "wrstandardid": {
  34551. "description": "品类id",
  34552. "type": "integer"
  34553. },
  34554. "wrstandardname": {
  34555. "description": "品类名称",
  34556. "type": "string"
  34557. }
  34558. }
  34559. },
  34560. "models.WrFilterItem": {
  34561. "type": "object",
  34562. "properties": {
  34563. "itemcode": {
  34564. "description": "代码",
  34565. "type": "string"
  34566. },
  34567. "itemid": {
  34568. "description": "项id",
  34569. "type": "integer"
  34570. },
  34571. "itemname": {
  34572. "description": "名称",
  34573. "type": "string"
  34574. },
  34575. "itemtype": {
  34576. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  34577. "type": "integer"
  34578. }
  34579. }
  34580. },
  34581. "models.WrFinanceBuyApply": {
  34582. "type": "object",
  34583. "properties": {
  34584. "applydate": {
  34585. "description": "申请时间",
  34586. "type": "string"
  34587. },
  34588. "applystatus": {
  34589. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  34590. "type": "integer"
  34591. },
  34592. "applyuserid": {
  34593. "description": "申请人",
  34594. "type": "integer"
  34595. },
  34596. "auditdate": {
  34597. "description": "审核时间",
  34598. "type": "string"
  34599. },
  34600. "auditremark": {
  34601. "description": "审核备注",
  34602. "type": "string"
  34603. },
  34604. "audituserid": {
  34605. "description": "审核人",
  34606. "type": "integer"
  34607. },
  34608. "buyaccountid": {
  34609. "description": "买方资金账号",
  34610. "type": "integer"
  34611. },
  34612. "buyorsell": {
  34613. "description": "买卖 - 0:买 1:卖",
  34614. "type": "integer"
  34615. },
  34616. "buyuserid": {
  34617. "description": "买方用户ID",
  34618. "type": "integer"
  34619. },
  34620. "buyusername": {
  34621. "description": "买方名称",
  34622. "type": "string"
  34623. },
  34624. "buywrtradeorderid": {
  34625. "description": "融资方买委托单ID",
  34626. "type": "string"
  34627. },
  34628. "deliverygoodscode": {
  34629. "description": "品种代码",
  34630. "type": "string"
  34631. },
  34632. "deliverygoodsid": {
  34633. "description": "品种ID",
  34634. "type": "integer"
  34635. },
  34636. "deliverygoodsname": {
  34637. "description": "品种名称",
  34638. "type": "string"
  34639. },
  34640. "deliverymonth": {
  34641. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  34642. "type": "string"
  34643. },
  34644. "enumdicname": {
  34645. "description": "单位名称",
  34646. "type": "string"
  34647. },
  34648. "financeaccountid": {
  34649. "description": "融资方资金帐户ID",
  34650. "type": "integer"
  34651. },
  34652. "financeapplyid": {
  34653. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34654. "type": "string"
  34655. },
  34656. "financeareauserid": {
  34657. "description": "融资方用户ID",
  34658. "type": "string"
  34659. },
  34660. "financename": {
  34661. "description": "融出方名称",
  34662. "type": "string"
  34663. },
  34664. "financetype": {
  34665. "description": "融资类型 1-融资回购",
  34666. "type": "integer"
  34667. },
  34668. "financingdays": {
  34669. "description": "天数(天)",
  34670. "type": "integer"
  34671. },
  34672. "freezebuymargin": {
  34673. "description": "冻结融资保证金(买方)",
  34674. "type": "number"
  34675. },
  34676. "handleremark": {
  34677. "description": "处理备注",
  34678. "type": "string"
  34679. },
  34680. "handlestatus": {
  34681. "description": "处理状态",
  34682. "type": "integer"
  34683. },
  34684. "interestminlen": {
  34685. "description": "最小起息天数",
  34686. "type": "integer"
  34687. },
  34688. "interestrate": {
  34689. "description": "利率",
  34690. "type": "number"
  34691. },
  34692. "interestratemode": {
  34693. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  34694. "type": "integer"
  34695. },
  34696. "interestsettlemode": {
  34697. "description": "结息方式 - 1:按日结息 3:按月结息",
  34698. "type": "integer"
  34699. },
  34700. "interestsettlevalue": {
  34701. "description": "结息方式值",
  34702. "type": "integer"
  34703. },
  34704. "isautoloan": {
  34705. "description": "是否自动放款 - 0:手动 1:自动",
  34706. "type": "integer"
  34707. },
  34708. "marginratio": {
  34709. "description": "保证金比率质押率 - [仓单质押]",
  34710. "type": "number"
  34711. },
  34712. "marketid": {
  34713. "description": "市场ID",
  34714. "type": "integer"
  34715. },
  34716. "minivalue": {
  34717. "description": "现货商品最小变动值",
  34718. "type": "integer"
  34719. },
  34720. "optioncompare": {
  34721. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  34722. "type": "string"
  34723. },
  34724. "orderqty": {
  34725. "description": "委托数量(商品数量)",
  34726. "type": "number"
  34727. },
  34728. "productdetailid": {
  34729. "description": "产品组合ID",
  34730. "type": "integer"
  34731. },
  34732. "productid": {
  34733. "description": "金融产品ID",
  34734. "type": "integer"
  34735. },
  34736. "productname": {
  34737. "description": "产品名称",
  34738. "type": "string"
  34739. },
  34740. "remark": {
  34741. "description": "备注",
  34742. "type": "string"
  34743. },
  34744. "scfcontractid": {
  34745. "description": "仓单回购合同ID",
  34746. "type": "string"
  34747. },
  34748. "sellaccountid": {
  34749. "description": "卖方资金账号",
  34750. "type": "integer"
  34751. },
  34752. "selluserid": {
  34753. "description": "卖方用户ID",
  34754. "type": "integer"
  34755. },
  34756. "sellwrtradeorderid": {
  34757. "description": "卖方委托单ID",
  34758. "type": "string"
  34759. },
  34760. "tradeamount": {
  34761. "description": "成交金额(借款金额)",
  34762. "type": "number"
  34763. },
  34764. "tradedate": {
  34765. "description": "交易日(yyyyMMdd)",
  34766. "type": "string"
  34767. },
  34768. "tradeprice": {
  34769. "description": "成交价格",
  34770. "type": "number"
  34771. },
  34772. "warehouseid": {
  34773. "description": "仓库ID",
  34774. "type": "integer"
  34775. },
  34776. "warehousename": {
  34777. "description": "仓库名称",
  34778. "type": "string"
  34779. },
  34780. "wrfactortypeid": {
  34781. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  34782. "type": "string"
  34783. },
  34784. "wrfactortypename": {
  34785. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  34786. "type": "string"
  34787. },
  34788. "wrpricetype": {
  34789. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  34790. "type": "integer"
  34791. },
  34792. "wrstandardcode": {
  34793. "description": "现货商品代码",
  34794. "type": "string"
  34795. },
  34796. "wrstandardid": {
  34797. "description": "现货商品ID",
  34798. "type": "integer"
  34799. },
  34800. "wrstandardname": {
  34801. "description": "商品名称",
  34802. "type": "string"
  34803. },
  34804. "wrtypename": {
  34805. "description": "商品",
  34806. "type": "string"
  34807. }
  34808. }
  34809. },
  34810. "models.WrFriendApply": {
  34811. "type": "object",
  34812. "properties": {
  34813. "applicantid": {
  34814. "description": "申请人",
  34815. "type": "integer"
  34816. },
  34817. "applyname": {
  34818. "description": "申请人名称",
  34819. "type": "string"
  34820. },
  34821. "applysrc": {
  34822. "description": "申请来源 - 1:管理端 2:终端",
  34823. "type": "integer"
  34824. },
  34825. "applystatus": {
  34826. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  34827. "type": "integer"
  34828. },
  34829. "applytime": {
  34830. "description": "申请时间",
  34831. "type": "string"
  34832. },
  34833. "auditname": {
  34834. "description": "审核人名称",
  34835. "type": "string"
  34836. },
  34837. "auditorid": {
  34838. "description": "审核人",
  34839. "type": "integer"
  34840. },
  34841. "auditremark": {
  34842. "description": "审核备注",
  34843. "type": "string"
  34844. },
  34845. "auditsrc": {
  34846. "description": "审核来源 - 1:管理端 2:终端",
  34847. "type": "integer"
  34848. },
  34849. "audittime": {
  34850. "description": "审核时间",
  34851. "type": "string"
  34852. },
  34853. "friendapplyid": {
  34854. "description": "申请ID(SEQ_FRIENDAPPLY)",
  34855. "type": "string"
  34856. },
  34857. "friendname": {
  34858. "description": "好友名字(已脱敏)",
  34859. "type": "string"
  34860. },
  34861. "frienduserid": {
  34862. "description": "好友用户ID",
  34863. "type": "string"
  34864. },
  34865. "remark": {
  34866. "description": "备注",
  34867. "type": "string"
  34868. },
  34869. "userid": {
  34870. "description": "申请人用户ID",
  34871. "type": "integer"
  34872. }
  34873. }
  34874. },
  34875. "models.WrFtDeliveryGoods": {
  34876. "type": "object",
  34877. "properties": {
  34878. "deliverygoodscode": {
  34879. "description": "品种代码",
  34880. "type": "string"
  34881. },
  34882. "deliverygoodsid": {
  34883. "description": "品种ID",
  34884. "type": "integer"
  34885. },
  34886. "deliverygoodsname": {
  34887. "description": "品种名称",
  34888. "type": "string"
  34889. },
  34890. "wdlst": {
  34891. "description": "商品列表",
  34892. "type": "array",
  34893. "items": {
  34894. "$ref": "#/definitions/models.WrFtWrstandard"
  34895. }
  34896. }
  34897. }
  34898. },
  34899. "models.WrFtWrstandard": {
  34900. "type": "object",
  34901. "properties": {
  34902. "enumdicname": {
  34903. "description": "单位名称",
  34904. "type": "string"
  34905. },
  34906. "minivalue": {
  34907. "description": "最小变动值",
  34908. "type": "integer"
  34909. },
  34910. "wrstandardcode": {
  34911. "description": "现货商品代码",
  34912. "type": "string"
  34913. },
  34914. "wrstandardid": {
  34915. "description": "现货商品ID",
  34916. "type": "integer"
  34917. },
  34918. "wrstandardname": {
  34919. "description": "商品名称",
  34920. "type": "string"
  34921. }
  34922. }
  34923. },
  34924. "models.WrGoodsInfo": {
  34925. "type": "object",
  34926. "properties": {
  34927. "haswr": {
  34928. "description": "0:仓单预售 1:仓单贸易",
  34929. "type": "integer"
  34930. },
  34931. "lstitem": {
  34932. "description": "商品信息项",
  34933. "type": "array",
  34934. "items": {
  34935. "$ref": "#/definitions/models.WrTypeItem"
  34936. }
  34937. },
  34938. "lststep": {
  34939. "description": "履约规则",
  34940. "type": "array",
  34941. "items": {
  34942. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  34943. }
  34944. },
  34945. "marketid": {
  34946. "description": "市场id",
  34947. "type": "integer"
  34948. }
  34949. }
  34950. },
  34951. "models.WrGoodsPerformanceStep": {
  34952. "type": "object",
  34953. "properties": {
  34954. "autoid": {
  34955. "description": "AutoID",
  34956. "type": "integer"
  34957. },
  34958. "isauto": {
  34959. "description": "是否自动 - 0:不自动 1:自动",
  34960. "type": "integer"
  34961. },
  34962. "remark": {
  34963. "description": "备注",
  34964. "type": "string"
  34965. },
  34966. "stepdate": {
  34967. "description": "天数信息(T+N)",
  34968. "type": "string"
  34969. },
  34970. "stepdays": {
  34971. "description": "距离上一步天数",
  34972. "type": "integer"
  34973. },
  34974. "stepindex": {
  34975. "description": "步骤序号",
  34976. "type": "integer"
  34977. },
  34978. "stepinfo": {
  34979. "description": "步骤信息(步骤名称+步骤值)",
  34980. "type": "string"
  34981. },
  34982. "steptypeid": {
  34983. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34984. "type": "integer"
  34985. },
  34986. "steptypename": {
  34987. "description": "步骤名称",
  34988. "type": "string"
  34989. },
  34990. "stepvalue": {
  34991. "description": "步骤值",
  34992. "type": "number"
  34993. },
  34994. "templateid": {
  34995. "description": "履约计划模板ID",
  34996. "type": "integer"
  34997. }
  34998. }
  34999. },
  35000. "models.WrHoldLB": {
  35001. "type": "object",
  35002. "properties": {
  35003. "accountid": {
  35004. "description": "持有人帐户ID",
  35005. "type": "integer"
  35006. },
  35007. "createtime": {
  35008. "description": "创建时间(过户时间)",
  35009. "type": "string"
  35010. },
  35011. "deliverygoodscode": {
  35012. "description": "品种代码",
  35013. "type": "string"
  35014. },
  35015. "deliverygoodsid": {
  35016. "description": "品种ID",
  35017. "type": "integer"
  35018. },
  35019. "deliverygoodsname": {
  35020. "description": "品种名称",
  35021. "type": "string"
  35022. },
  35023. "enableqty": {
  35024. "description": "可用数量",
  35025. "type": "number"
  35026. },
  35027. "enumdicname": {
  35028. "description": "单位名称",
  35029. "type": "string"
  35030. },
  35031. "freezerqty": {
  35032. "description": "冻结数量",
  35033. "type": "number"
  35034. },
  35035. "ladingbillid": {
  35036. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  35037. "type": "string"
  35038. },
  35039. "minivalue": {
  35040. "description": "现货商品最小变动值",
  35041. "type": "integer"
  35042. },
  35043. "optioncompare": {
  35044. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35045. "type": "string"
  35046. },
  35047. "parentsubnum": {
  35048. "description": "拆分父子单号",
  35049. "type": "integer"
  35050. },
  35051. "pledgeqty": {
  35052. "description": "质押数量",
  35053. "type": "number"
  35054. },
  35055. "qty": {
  35056. "description": "数量",
  35057. "type": "number"
  35058. },
  35059. "subnum": {
  35060. "description": "提单子单号",
  35061. "type": "integer"
  35062. },
  35063. "tradedate": {
  35064. "description": "交易日(yyyyMMdd)",
  35065. "type": "string"
  35066. },
  35067. "userid": {
  35068. "description": "持有人ID",
  35069. "type": "integer"
  35070. },
  35071. "warehouseid": {
  35072. "description": "仓库ID",
  35073. "type": "integer"
  35074. },
  35075. "warehousename": {
  35076. "description": "仓库名称",
  35077. "type": "string"
  35078. },
  35079. "wrfactortypeid": {
  35080. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35081. "type": "string"
  35082. },
  35083. "wrfactortypename": {
  35084. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35085. "type": "string"
  35086. },
  35087. "wrholdeno": {
  35088. "description": "仓单编号",
  35089. "type": "string"
  35090. },
  35091. "wrid": {
  35092. "description": "仓单变更ID",
  35093. "type": "string"
  35094. },
  35095. "wrstandardcode": {
  35096. "description": "现货商品代码",
  35097. "type": "string"
  35098. },
  35099. "wrstandardid": {
  35100. "description": "现货商品ID",
  35101. "type": "integer"
  35102. },
  35103. "wrstandardname": {
  35104. "description": "商品名称",
  35105. "type": "string"
  35106. },
  35107. "wrtypename": {
  35108. "description": "商品",
  35109. "type": "string"
  35110. }
  35111. }
  35112. },
  35113. "models.WrMarketTradeConfig": {
  35114. "type": "object",
  35115. "properties": {
  35116. "basisdownratio": {
  35117. "description": "浮动价基差下限比例(仓单贸易)",
  35118. "type": "number"
  35119. },
  35120. "basisupratio": {
  35121. "description": "浮动价基差上限比例(仓单贸易)",
  35122. "type": "number"
  35123. },
  35124. "buychargealgorithm": {
  35125. "description": "买方手续费收取方式 1:比率 2:固定",
  35126. "type": "integer"
  35127. },
  35128. "buychargealgorithm2": {
  35129. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  35130. "type": "integer"
  35131. },
  35132. "buychargealgorithmvalue": {
  35133. "description": "买方手续费设置值(交易所部分)",
  35134. "type": "number"
  35135. },
  35136. "buychargealgorithmvalue2": {
  35137. "description": "买方手续费设置值(会员部分)",
  35138. "type": "number"
  35139. },
  35140. "buychargealgorithmvalue3": {
  35141. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  35142. "type": "number"
  35143. },
  35144. "buychargealgorithmvalue4": {
  35145. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  35146. "type": "number"
  35147. },
  35148. "buyfirstmarginalgorithm": {
  35149. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  35150. "type": "integer"
  35151. },
  35152. "buyfirstmarginvalue": {
  35153. "description": "买方出价保证金设置值 - [竞拍]",
  35154. "type": "number"
  35155. },
  35156. "buymarginalgorithm": {
  35157. "description": "买方保证金方式 - 1:比率 2:固定",
  35158. "type": "integer"
  35159. },
  35160. "buymarginvalue": {
  35161. "description": "买方保证金设置值",
  35162. "type": "number"
  35163. },
  35164. "buyreleaseratio": {
  35165. "description": "买方释放比率[2:分步履约]",
  35166. "type": "number"
  35167. },
  35168. "executemode": {
  35169. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  35170. "type": "integer"
  35171. },
  35172. "executeside": {
  35173. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  35174. "type": "integer"
  35175. },
  35176. "failedchargealgorithm": {
  35177. "description": "流拍手续费收取方式 1:比率 2:固定",
  35178. "type": "integer"
  35179. },
  35180. "failedchargevalue": {
  35181. "description": "流拍手续费设置值",
  35182. "type": "number"
  35183. },
  35184. "failedchargevalue2": {
  35185. "description": "流拍卖方手续费设置值",
  35186. "type": "number"
  35187. },
  35188. "holddays": {
  35189. "description": "合同期限[2:分步履约]",
  35190. "type": "integer"
  35191. },
  35192. "marketid": {
  35193. "description": "市场ID-仓单贸易、竞拍、预售",
  35194. "type": "integer"
  35195. },
  35196. "minqty": {
  35197. "description": "最小执行量[2:分步履约]",
  35198. "type": "number"
  35199. },
  35200. "modifierid": {
  35201. "description": "修改人",
  35202. "type": "integer"
  35203. },
  35204. "performancetempid": {
  35205. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  35206. "type": "integer"
  35207. },
  35208. "performancetempid2": {
  35209. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  35210. "type": "integer"
  35211. },
  35212. "performancetempid2s": {
  35213. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  35214. "type": "string"
  35215. },
  35216. "performancetempids": {
  35217. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  35218. "type": "string"
  35219. },
  35220. "performanceway": {
  35221. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  35222. "type": "integer"
  35223. },
  35224. "sellchargealgorithm": {
  35225. "description": "卖方手续费收取方式 1:比率 2:固定",
  35226. "type": "integer"
  35227. },
  35228. "sellchargealgorithm2": {
  35229. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  35230. "type": "integer"
  35231. },
  35232. "sellchargealgorithmvalue": {
  35233. "description": "卖方手续费设置值(交易所部分)",
  35234. "type": "number"
  35235. },
  35236. "sellchargealgorithmvalue2": {
  35237. "description": "卖方手续费设置值(会员部分)",
  35238. "type": "number"
  35239. },
  35240. "sellchargealgorithmvalue3": {
  35241. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  35242. "type": "number"
  35243. },
  35244. "sellchargealgorithmvalue4": {
  35245. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  35246. "type": "number"
  35247. },
  35248. "sellmarginalgorithm": {
  35249. "description": "卖方保证金方式 - 1:比率 2:固定",
  35250. "type": "integer"
  35251. },
  35252. "sellmarginvalue": {
  35253. "description": "卖方保证金设置值",
  35254. "type": "number"
  35255. },
  35256. "sellmarginvalue2": {
  35257. "description": "卖方保证金设置值(无仓单)",
  35258. "type": "number"
  35259. },
  35260. "sellreleaseratio": {
  35261. "description": "卖方释放比率[2:分步履约]",
  35262. "type": "number"
  35263. },
  35264. "updatetime": {
  35265. "description": "更新时间",
  35266. "type": "string"
  35267. }
  35268. }
  35269. },
  35270. "models.WrOrderDetail": {
  35271. "type": "object",
  35272. "properties": {
  35273. "accountid": {
  35274. "description": "交易账号(资金账号)",
  35275. "type": "integer"
  35276. },
  35277. "allfriendsflag": {
  35278. "description": "是否全好友可见 - 0:否 1:是",
  35279. "type": "integer"
  35280. },
  35281. "amount": {
  35282. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  35283. "type": "number"
  35284. },
  35285. "begindate": {
  35286. "description": "开始交易日(yyyymmdd)",
  35287. "type": "string"
  35288. },
  35289. "buyorsell": {
  35290. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  35291. "type": "integer"
  35292. },
  35293. "canbargain": {
  35294. "description": "是否可议价 - 0:不可 1:可",
  35295. "type": "integer"
  35296. },
  35297. "cancelqty": {
  35298. "description": "撤销数量",
  35299. "type": "number"
  35300. },
  35301. "canpart": {
  35302. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  35303. "type": "integer"
  35304. },
  35305. "delistminqty": {
  35306. "description": "起摘数量",
  35307. "type": "integer"
  35308. },
  35309. "deliverygoodscode": {
  35310. "description": "品种代码",
  35311. "type": "string"
  35312. },
  35313. "deliverygoodsid": {
  35314. "description": "品种ID",
  35315. "type": "integer"
  35316. },
  35317. "deliverygoodsname": {
  35318. "description": "品种名称",
  35319. "type": "string"
  35320. },
  35321. "deliverymonth": {
  35322. "description": "交收月",
  35323. "type": "string"
  35324. },
  35325. "enddate": {
  35326. "description": "结束交易日(yyyymmdd)",
  35327. "type": "string"
  35328. },
  35329. "enumdicname": {
  35330. "description": "单位名称",
  35331. "type": "string"
  35332. },
  35333. "fixedprice": {
  35334. "description": "固定价格 - [挂牌]",
  35335. "type": "number"
  35336. },
  35337. "freezecharge": {
  35338. "description": "冻结手续费",
  35339. "type": "number"
  35340. },
  35341. "freezemargin": {
  35342. "description": "冻结保证金(保证金)",
  35343. "type": "number"
  35344. },
  35345. "futupricemove": {
  35346. "description": "期货升贴水",
  35347. "type": "number"
  35348. },
  35349. "futushow": {
  35350. "description": "期货合约/升贴水",
  35351. "type": "string"
  35352. },
  35353. "goodscode": {
  35354. "description": "期货合约",
  35355. "type": "string"
  35356. },
  35357. "goodsid": {
  35358. "description": "期货商品id",
  35359. "type": "integer"
  35360. },
  35361. "goodsname": {
  35362. "description": "商品名称",
  35363. "type": "string"
  35364. },
  35365. "haswr": {
  35366. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  35367. "type": "integer"
  35368. },
  35369. "isspecified": {
  35370. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  35371. "type": "integer"
  35372. },
  35373. "ladingbillid": {
  35374. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  35375. "type": "string"
  35376. },
  35377. "marginvalue": {
  35378. "description": "保证金设置值(履约保证金)",
  35379. "type": "number"
  35380. },
  35381. "marketid": {
  35382. "description": "市场ID",
  35383. "type": "integer"
  35384. },
  35385. "matchusername": {
  35386. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  35387. "type": "string"
  35388. },
  35389. "minivalue": {
  35390. "description": "现货商品最小变动值",
  35391. "type": "integer"
  35392. },
  35393. "optioncompare": {
  35394. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35395. "type": "string"
  35396. },
  35397. "orderqty": {
  35398. "description": "委托数量",
  35399. "type": "number"
  35400. },
  35401. "ordertime": {
  35402. "description": "委托时间(挂牌时间)",
  35403. "type": "string"
  35404. },
  35405. "performancetemplateid": {
  35406. "description": "履约模板id",
  35407. "type": "integer"
  35408. },
  35409. "pricemove": {
  35410. "description": "升贴水(浮动价时填写) - [挂牌]",
  35411. "type": "number"
  35412. },
  35413. "taname": {
  35414. "description": "交易用户名称(资金账号名称)",
  35415. "type": "string"
  35416. },
  35417. "tradedate": {
  35418. "description": "交易日(yyyyMMdd)",
  35419. "type": "string"
  35420. },
  35421. "tradeprice": {
  35422. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  35423. "type": "number"
  35424. },
  35425. "tradeqty": {
  35426. "description": "成交数量",
  35427. "type": "number"
  35428. },
  35429. "userid": {
  35430. "description": "用户ID",
  35431. "type": "integer"
  35432. },
  35433. "validtime": {
  35434. "description": "挂牌有效期",
  35435. "type": "string"
  35436. },
  35437. "validtype": {
  35438. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  35439. "type": "integer"
  35440. },
  35441. "warehouseid": {
  35442. "description": "仓库ID",
  35443. "type": "integer"
  35444. },
  35445. "warehousename": {
  35446. "description": "仓库名称",
  35447. "type": "string"
  35448. },
  35449. "wrfactortypeid": {
  35450. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35451. "type": "string"
  35452. },
  35453. "wrfactortypename": {
  35454. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35455. "type": "string"
  35456. },
  35457. "wrpricetype": {
  35458. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  35459. "type": "integer"
  35460. },
  35461. "wrstandardcode": {
  35462. "description": "现货商品代码",
  35463. "type": "string"
  35464. },
  35465. "wrstandardid": {
  35466. "description": "现货商品ID",
  35467. "type": "integer"
  35468. },
  35469. "wrstandardname": {
  35470. "description": "商品名称",
  35471. "type": "string"
  35472. },
  35473. "wrtradeorderid": {
  35474. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35475. "type": "string"
  35476. },
  35477. "wrtradeorderstatus": {
  35478. "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:撤单解冻贷款失败",
  35479. "type": "integer"
  35480. },
  35481. "wrtradetype": {
  35482. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  35483. "type": "integer"
  35484. },
  35485. "wrtypename": {
  35486. "description": "商品",
  35487. "type": "string"
  35488. }
  35489. }
  35490. },
  35491. "models.WrOrderQuote": {
  35492. "type": "object",
  35493. "properties": {
  35494. "buyprice": {
  35495. "description": "买价",
  35496. "type": "number"
  35497. },
  35498. "buypricemove": {
  35499. "description": "买升贴水(基差)",
  35500. "type": "number"
  35501. },
  35502. "buyqty": {
  35503. "description": "买量",
  35504. "type": "number"
  35505. },
  35506. "deliverygoodscode": {
  35507. "description": "品种代码",
  35508. "type": "string"
  35509. },
  35510. "deliverygoodsid": {
  35511. "description": "品种id",
  35512. "type": "integer"
  35513. },
  35514. "deliverygoodsname": {
  35515. "description": "品种名称",
  35516. "type": "string"
  35517. },
  35518. "deliverymonth": {
  35519. "description": "交收月",
  35520. "type": "string"
  35521. },
  35522. "enumdicname": {
  35523. "description": "单位名称",
  35524. "type": "string"
  35525. },
  35526. "goodscode": {
  35527. "description": "商品合约(浮动价列表才有)",
  35528. "type": "string"
  35529. },
  35530. "goodsid": {
  35531. "description": "商品id(浮动价列表才有)",
  35532. "type": "integer"
  35533. },
  35534. "minivalue": {
  35535. "description": "现货商品最小变动值",
  35536. "type": "integer"
  35537. },
  35538. "sellprice": {
  35539. "description": "卖价",
  35540. "type": "number"
  35541. },
  35542. "sellpricemove": {
  35543. "description": "卖升贴水(基差)",
  35544. "type": "number"
  35545. },
  35546. "sellqty": {
  35547. "description": "卖量",
  35548. "type": "number"
  35549. },
  35550. "warehousecode": {
  35551. "description": "仓库代码",
  35552. "type": "string"
  35553. },
  35554. "warehouseid": {
  35555. "description": "仓库id",
  35556. "type": "integer"
  35557. },
  35558. "warehousename": {
  35559. "description": "仓库名称",
  35560. "type": "string"
  35561. },
  35562. "wrfactortypeid": {
  35563. "description": "仓单要素id",
  35564. "type": "string"
  35565. },
  35566. "wrfactortypename": {
  35567. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35568. "type": "string"
  35569. },
  35570. "wrgoodsname": {
  35571. "description": "商品(商品名称+仓库要素名称 拼接)",
  35572. "type": "string"
  35573. },
  35574. "wrstandardcode": {
  35575. "description": "商品代码",
  35576. "type": "string"
  35577. },
  35578. "wrstandardid": {
  35579. "description": "商品id",
  35580. "type": "integer"
  35581. },
  35582. "wrstandardname": {
  35583. "description": "商品名称",
  35584. "type": "string"
  35585. }
  35586. }
  35587. },
  35588. "models.WrOrderQuoteDetail": {
  35589. "type": "object",
  35590. "properties": {
  35591. "buyorsell": {
  35592. "description": "买卖 - 0:买 1:卖",
  35593. "type": "integer"
  35594. },
  35595. "delistminqty": {
  35596. "description": "起摘数量",
  35597. "type": "number"
  35598. },
  35599. "deliverymonth": {
  35600. "description": "交收月",
  35601. "type": "string"
  35602. },
  35603. "enumdicname": {
  35604. "description": "单位名称",
  35605. "type": "string"
  35606. },
  35607. "fixedprice": {
  35608. "description": "买(卖)价",
  35609. "type": "number"
  35610. },
  35611. "marketid": {
  35612. "description": "市场id",
  35613. "type": "integer"
  35614. },
  35615. "minivalue": {
  35616. "description": "现货商品最小变动值",
  35617. "type": "integer"
  35618. },
  35619. "orderqty": {
  35620. "description": "买(卖)量(=委托量-成交量)",
  35621. "type": "number"
  35622. },
  35623. "ordertime": {
  35624. "description": "委托时间",
  35625. "type": "string"
  35626. },
  35627. "pricemove": {
  35628. "description": "买(卖)升贴水- 基差",
  35629. "type": "number"
  35630. },
  35631. "userid": {
  35632. "description": "购买方(销售方)用户ID",
  35633. "type": "integer"
  35634. },
  35635. "username": {
  35636. "description": "购买方(销售方)",
  35637. "type": "string"
  35638. },
  35639. "wrtradeorderid": {
  35640. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  35641. "type": "string"
  35642. }
  35643. }
  35644. },
  35645. "models.WrOutInApply": {
  35646. "type": "object",
  35647. "properties": {
  35648. "applyid": {
  35649. "description": "申请单id",
  35650. "type": "string"
  35651. },
  35652. "applystatus": {
  35653. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  35654. "type": "integer"
  35655. },
  35656. "applytime": {
  35657. "description": "申请时间",
  35658. "type": "string"
  35659. },
  35660. "applytype": {
  35661. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  35662. "type": "integer"
  35663. },
  35664. "begindate": {
  35665. "description": "开始交易日(yyyymmdd)",
  35666. "type": "string"
  35667. },
  35668. "deliverygoodscode": {
  35669. "description": "品种代码",
  35670. "type": "string"
  35671. },
  35672. "deliverygoodsid": {
  35673. "description": "品种ID",
  35674. "type": "integer"
  35675. },
  35676. "deliverygoodsname": {
  35677. "description": "品种名称",
  35678. "type": "string"
  35679. },
  35680. "enddate": {
  35681. "description": "结束交易日(yyyymmdd)",
  35682. "type": "string"
  35683. },
  35684. "enumdicname": {
  35685. "description": "单位名称",
  35686. "type": "string"
  35687. },
  35688. "expresscompany": {
  35689. "description": "物流公司",
  35690. "type": "string"
  35691. },
  35692. "expressnum": {
  35693. "description": "物流单号",
  35694. "type": "string"
  35695. },
  35696. "minivalue": {
  35697. "description": "现货商品最小变动值",
  35698. "type": "integer"
  35699. },
  35700. "optioncompare": {
  35701. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35702. "type": "string"
  35703. },
  35704. "qty": {
  35705. "description": "数量",
  35706. "type": "integer"
  35707. },
  35708. "userid": {
  35709. "description": "用户id",
  35710. "type": "integer"
  35711. },
  35712. "warehouseid": {
  35713. "description": "仓库ID",
  35714. "type": "integer"
  35715. },
  35716. "warehousename": {
  35717. "description": "仓库名称",
  35718. "type": "string"
  35719. },
  35720. "wrfactortypeid": {
  35721. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35722. "type": "string"
  35723. },
  35724. "wrfactortypename": {
  35725. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35726. "type": "string"
  35727. },
  35728. "wrstandardcode": {
  35729. "description": "现货商品代码",
  35730. "type": "string"
  35731. },
  35732. "wrstandardid": {
  35733. "description": "现货商品ID",
  35734. "type": "integer"
  35735. },
  35736. "wrstandardname": {
  35737. "description": "商品名称",
  35738. "type": "string"
  35739. },
  35740. "wrtypename": {
  35741. "description": "商品",
  35742. "type": "string"
  35743. }
  35744. }
  35745. },
  35746. "models.WrPerformancePlan": {
  35747. "type": "object",
  35748. "required": [
  35749. "userid"
  35750. ],
  35751. "properties": {
  35752. "activatemonth": {
  35753. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  35754. "type": "string"
  35755. },
  35756. "amount": {
  35757. "description": "履约金额(总金额)",
  35758. "type": "number"
  35759. },
  35760. "begindate": {
  35761. "description": "开始交易日(yyyymmdd)",
  35762. "type": "string"
  35763. },
  35764. "buyaccountid": {
  35765. "description": "买方账号",
  35766. "type": "integer"
  35767. },
  35768. "buyerfreezeamount": {
  35769. "description": "履约冻结(买履约)",
  35770. "type": "number"
  35771. },
  35772. "buyerfreezeamountremain": {
  35773. "description": "履约冻结剩余(买履约)",
  35774. "type": "number"
  35775. },
  35776. "buyorsell": {
  35777. "description": "买卖方向 0-买 1-卖",
  35778. "type": "integer"
  35779. },
  35780. "buypaidamount": {
  35781. "description": "买方已冻/已扣金额 (已付金额)",
  35782. "type": "number"
  35783. },
  35784. "buyusername": {
  35785. "description": "买方名字",
  35786. "type": "string"
  35787. },
  35788. "contractid": {
  35789. "description": "合同ID",
  35790. "type": "integer"
  35791. },
  35792. "createtime": {
  35793. "description": "创建时间",
  35794. "type": "string"
  35795. },
  35796. "creatorid": {
  35797. "description": "创建人",
  35798. "type": "integer"
  35799. },
  35800. "curstepdeadline": {
  35801. "description": "当前步骤到期时间",
  35802. "type": "string"
  35803. },
  35804. "curstepid": {
  35805. "description": "当前步骤ID",
  35806. "type": "string"
  35807. },
  35808. "curstepname": {
  35809. "description": "当前步骤名称",
  35810. "type": "string"
  35811. },
  35812. "deliverygoodscode": {
  35813. "description": "品种代码",
  35814. "type": "string"
  35815. },
  35816. "deliverygoodsid": {
  35817. "description": "品种ID",
  35818. "type": "integer"
  35819. },
  35820. "deliverygoodsname": {
  35821. "description": "品种名称",
  35822. "type": "string"
  35823. },
  35824. "enddate": {
  35825. "description": "结束交易日(yyyymmdd)",
  35826. "type": "string"
  35827. },
  35828. "enumdicname": {
  35829. "description": "单位名称",
  35830. "type": "string"
  35831. },
  35832. "expressfee": {
  35833. "description": "运费",
  35834. "type": "number"
  35835. },
  35836. "expressfeeconfirmed": {
  35837. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  35838. "type": "integer"
  35839. },
  35840. "hasovershort": {
  35841. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  35842. "type": "integer"
  35843. },
  35844. "haswr": {
  35845. "description": "类型 0-仓单预售 1-仓单贸易",
  35846. "type": "integer"
  35847. },
  35848. "marketid": {
  35849. "description": "市场ID",
  35850. "type": "integer"
  35851. },
  35852. "middleaccountid": {
  35853. "description": "中间商资金账号ID",
  35854. "type": "integer"
  35855. },
  35856. "middleuserid": {
  35857. "description": "中间商用户ID",
  35858. "type": "integer"
  35859. },
  35860. "minivalue": {
  35861. "description": "现货商品最小变动值",
  35862. "type": "integer"
  35863. },
  35864. "optioncompare": {
  35865. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35866. "type": "string"
  35867. },
  35868. "overshortamount": {
  35869. "description": "溢短金额",
  35870. "type": "number"
  35871. },
  35872. "overshortqty": {
  35873. "description": "溢短数量",
  35874. "type": "number"
  35875. },
  35876. "paymenttype": {
  35877. "description": "付款方式 - 1:冻结 2:扣款",
  35878. "type": "integer"
  35879. },
  35880. "performanceplanid": {
  35881. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  35882. "type": "string"
  35883. },
  35884. "performancestatus": {
  35885. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  35886. "type": "integer"
  35887. },
  35888. "performancetype": {
  35889. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  35890. "type": "integer"
  35891. },
  35892. "qty": {
  35893. "description": "履约数量",
  35894. "type": "number"
  35895. },
  35896. "relatedorderid": {
  35897. "description": "关联单号(履约类型的关联单号)",
  35898. "type": "string"
  35899. },
  35900. "remark": {
  35901. "description": "备注",
  35902. "type": "string"
  35903. },
  35904. "sellaccountid": {
  35905. "description": "卖方账号",
  35906. "type": "integer"
  35907. },
  35908. "sellerfreezeamount": {
  35909. "description": "履约冻结(卖履约)",
  35910. "type": "number"
  35911. },
  35912. "sellerfreezeamountremain": {
  35913. "description": "履约冻结剩余(卖履约)",
  35914. "type": "number"
  35915. },
  35916. "sellreceivedamount": {
  35917. "description": "卖方已收金额",
  35918. "type": "number"
  35919. },
  35920. "sellusername": {
  35921. "description": "卖方名字",
  35922. "type": "string"
  35923. },
  35924. "shipremark": {
  35925. "description": "发货备注[物流单号]",
  35926. "type": "string"
  35927. },
  35928. "starttime": {
  35929. "description": "开始时间",
  35930. "type": "string"
  35931. },
  35932. "steptypeid": {
  35933. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  35934. "type": "integer"
  35935. },
  35936. "typename": {
  35937. "description": "履约类型 名称",
  35938. "type": "string"
  35939. },
  35940. "unpaidamount": {
  35941. "description": "剩余款(待支付金额)",
  35942. "type": "number"
  35943. },
  35944. "userid": {
  35945. "description": "用户id",
  35946. "type": "integer"
  35947. },
  35948. "warehouseid": {
  35949. "description": "仓库ID",
  35950. "type": "integer"
  35951. },
  35952. "warehousename": {
  35953. "description": "仓库名称",
  35954. "type": "string"
  35955. },
  35956. "wrfactortypeid": {
  35957. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35958. "type": "string"
  35959. },
  35960. "wrfactortypename": {
  35961. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35962. "type": "string"
  35963. },
  35964. "wrstandardcode": {
  35965. "description": "现货商品代码",
  35966. "type": "string"
  35967. },
  35968. "wrstandardid": {
  35969. "description": "现货商品ID",
  35970. "type": "integer"
  35971. },
  35972. "wrstandardname": {
  35973. "description": "商品名称",
  35974. "type": "string"
  35975. },
  35976. "wrtransferuserid": {
  35977. "description": "仓单受让用户",
  35978. "type": "integer"
  35979. },
  35980. "wrtypename": {
  35981. "description": "商品",
  35982. "type": "string"
  35983. }
  35984. }
  35985. },
  35986. "models.WrPerformancePlanStep": {
  35987. "type": "object",
  35988. "properties": {
  35989. "delaydays": {
  35990. "description": "延期申请天数",
  35991. "type": "integer"
  35992. },
  35993. "deliverygoodscode": {
  35994. "description": "品种代码",
  35995. "type": "string"
  35996. },
  35997. "deliverygoodsid": {
  35998. "description": "品种ID",
  35999. "type": "integer"
  36000. },
  36001. "deliverygoodsname": {
  36002. "description": "品种名称",
  36003. "type": "string"
  36004. },
  36005. "endtime": {
  36006. "description": "结束日期",
  36007. "type": "string"
  36008. },
  36009. "enumdicname": {
  36010. "description": "单位名称",
  36011. "type": "string"
  36012. },
  36013. "executeside": {
  36014. "description": "步骤执行方 - 1:买方 2:卖方",
  36015. "type": "integer"
  36016. },
  36017. "handlestatus": {
  36018. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  36019. "type": "integer"
  36020. },
  36021. "isauto": {
  36022. "description": "是否自动 - 0:不自动 1:自动",
  36023. "type": "integer"
  36024. },
  36025. "islastreceivestep": {
  36026. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  36027. "type": "integer"
  36028. },
  36029. "minivalue": {
  36030. "description": "现货商品最小变动值",
  36031. "type": "integer"
  36032. },
  36033. "optioncompare": {
  36034. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36035. "type": "string"
  36036. },
  36037. "overdays": {
  36038. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  36039. "type": "integer"
  36040. },
  36041. "performancestepid": {
  36042. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  36043. "type": "string"
  36044. },
  36045. "planid": {
  36046. "description": "所属履约计划ID",
  36047. "type": "string"
  36048. },
  36049. "realamount": {
  36050. "description": "实际完成金额",
  36051. "type": "number"
  36052. },
  36053. "relatedorderid": {
  36054. "description": "关联单号",
  36055. "type": "string"
  36056. },
  36057. "remaindays": {
  36058. "description": "剩余天数",
  36059. "type": "integer"
  36060. },
  36061. "remark": {
  36062. "description": "错误备注",
  36063. "type": "string"
  36064. },
  36065. "starttime": {
  36066. "description": "开始日期",
  36067. "type": "string"
  36068. },
  36069. "stepamount": {
  36070. "description": "步骤金额",
  36071. "type": "number"
  36072. },
  36073. "stepdays": {
  36074. "description": "距离上一步天数(分钟)",
  36075. "type": "integer"
  36076. },
  36077. "stepindex": {
  36078. "description": "步骤序号",
  36079. "type": "integer"
  36080. },
  36081. "steplanchtype": {
  36082. "description": "步骤启动类型 - 1:系统自动 2:手动",
  36083. "type": "integer"
  36084. },
  36085. "stepremark": {
  36086. "description": "步骤备注",
  36087. "type": "string"
  36088. },
  36089. "stepstatus": {
  36090. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  36091. "type": "integer"
  36092. },
  36093. "steptypeid": {
  36094. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  36095. "type": "integer"
  36096. },
  36097. "steptypename": {
  36098. "description": "步骤名称",
  36099. "type": "string"
  36100. },
  36101. "stepvalue": {
  36102. "description": "步骤值",
  36103. "type": "number"
  36104. },
  36105. "warehouseid": {
  36106. "description": "仓库ID",
  36107. "type": "integer"
  36108. },
  36109. "warehousename": {
  36110. "description": "仓库名称",
  36111. "type": "string"
  36112. },
  36113. "wrfactortypeid": {
  36114. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36115. "type": "string"
  36116. },
  36117. "wrfactortypename": {
  36118. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36119. "type": "string"
  36120. },
  36121. "wrstandardcode": {
  36122. "description": "现货商品代码",
  36123. "type": "string"
  36124. },
  36125. "wrstandardid": {
  36126. "description": "现货商品ID",
  36127. "type": "integer"
  36128. },
  36129. "wrstandardname": {
  36130. "description": "商品名称",
  36131. "type": "string"
  36132. },
  36133. "wrtypename": {
  36134. "description": "商品",
  36135. "type": "string"
  36136. }
  36137. }
  36138. },
  36139. "models.WrPerformanceStepType": {
  36140. "type": "object",
  36141. "properties": {
  36142. "canauto": {
  36143. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  36144. "type": "integer"
  36145. },
  36146. "steptypeid": {
  36147. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  36148. "type": "integer"
  36149. },
  36150. "steptypename": {
  36151. "description": "步骤类型名称",
  36152. "type": "string"
  36153. }
  36154. }
  36155. },
  36156. "models.WrPerformanceTemplateEx": {
  36157. "type": "object",
  36158. "properties": {
  36159. "autoid": {
  36160. "description": "AutoID 模板id",
  36161. "type": "integer"
  36162. },
  36163. "createtime": {
  36164. "description": "创建时间",
  36165. "type": "string"
  36166. },
  36167. "creatorid": {
  36168. "description": "创建人",
  36169. "type": "integer"
  36170. },
  36171. "lstStep": {
  36172. "description": "步骤信息列表",
  36173. "type": "array",
  36174. "items": {
  36175. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  36176. }
  36177. },
  36178. "paymenttype": {
  36179. "description": "支付方式 - 1:冻结 2:扣款",
  36180. "type": "integer"
  36181. },
  36182. "takemode": {
  36183. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  36184. "type": "integer"
  36185. },
  36186. "templatename": {
  36187. "description": "模板名称",
  36188. "type": "string"
  36189. },
  36190. "templatetype": {
  36191. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  36192. "type": "integer"
  36193. },
  36194. "userid": {
  36195. "description": "所属用户",
  36196. "type": "integer"
  36197. }
  36198. }
  36199. },
  36200. "models.WrPosition": {
  36201. "type": "object",
  36202. "properties": {
  36203. "accountid": {
  36204. "description": "帐户ID",
  36205. "type": "integer"
  36206. },
  36207. "buyexcuteqty": {
  36208. "description": "采购履约中数量",
  36209. "type": "number"
  36210. },
  36211. "creditcurqty": {
  36212. "description": "授信当前数量(预售仓单:预售当前量)",
  36213. "type": "number"
  36214. },
  36215. "creditenableqty": {
  36216. "description": "授信可用数量(预售仓单: 可用数量)",
  36217. "type": "number"
  36218. },
  36219. "creditfreezeqty": {
  36220. "description": "授信冻结数量(预售仓单: 当前数量)",
  36221. "type": "number"
  36222. },
  36223. "credittotalqty": {
  36224. "description": "授信总数量(预售仓单:预售总量)",
  36225. "type": "number"
  36226. },
  36227. "credittradeqty": {
  36228. "description": "授信成交数量(预售仓单:成交总量)",
  36229. "type": "number"
  36230. },
  36231. "deliverygoodscode": {
  36232. "description": "品种代码",
  36233. "type": "string"
  36234. },
  36235. "deliverygoodsid": {
  36236. "description": "品种ID",
  36237. "type": "integer"
  36238. },
  36239. "deliverygoodsname": {
  36240. "description": "品种名称",
  36241. "type": "string"
  36242. },
  36243. "enalbeqty": {
  36244. "description": "可用数量",
  36245. "type": "number"
  36246. },
  36247. "enumdicname": {
  36248. "description": "单位名称",
  36249. "type": "string"
  36250. },
  36251. "freezeqty": {
  36252. "description": "总冻结数量",
  36253. "type": "number"
  36254. },
  36255. "haswr": {
  36256. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36257. "type": "integer"
  36258. },
  36259. "minivalue": {
  36260. "description": "现货商品最小变动值",
  36261. "type": "integer"
  36262. },
  36263. "modifytime": {
  36264. "description": "修改时间(过户时间)",
  36265. "type": "string"
  36266. },
  36267. "optioncompare": {
  36268. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36269. "type": "string"
  36270. },
  36271. "pledgeqty": {
  36272. "description": "质押数量",
  36273. "type": "number"
  36274. },
  36275. "querytype": {
  36276. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  36277. "type": "integer"
  36278. },
  36279. "sellexcuteqty": {
  36280. "description": "销售履约中数量",
  36281. "type": "number"
  36282. },
  36283. "totalqty": {
  36284. "description": "总数量(库存数量)",
  36285. "type": "number"
  36286. },
  36287. "warehouseid": {
  36288. "description": "仓库ID",
  36289. "type": "integer"
  36290. },
  36291. "warehousename": {
  36292. "description": "仓库名称",
  36293. "type": "string"
  36294. },
  36295. "wrfactortypeid": {
  36296. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36297. "type": "string"
  36298. },
  36299. "wrfactortypename": {
  36300. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36301. "type": "string"
  36302. },
  36303. "wrpositionid": {
  36304. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  36305. "type": "string"
  36306. },
  36307. "wrpositionno": {
  36308. "description": "仓单编号",
  36309. "type": "string"
  36310. },
  36311. "wrstandardcode": {
  36312. "description": "现货商品代码",
  36313. "type": "string"
  36314. },
  36315. "wrstandardid": {
  36316. "description": "现货商品ID",
  36317. "type": "integer"
  36318. },
  36319. "wrstandardname": {
  36320. "description": "商品名称",
  36321. "type": "string"
  36322. },
  36323. "wrtypename": {
  36324. "description": "商品",
  36325. "type": "string"
  36326. },
  36327. "wruserid": {
  36328. "description": "持有人ID",
  36329. "type": "integer"
  36330. }
  36331. }
  36332. },
  36333. "models.WrQuoteOrderMyq": {
  36334. "type": "object",
  36335. "properties": {
  36336. "buyorsell": {
  36337. "description": "买卖 - 0:买 1:卖",
  36338. "type": "integer"
  36339. },
  36340. "canbargain": {
  36341. "description": "是否可议价 - 0:不可 1:可",
  36342. "type": "integer"
  36343. },
  36344. "canpart": {
  36345. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  36346. "type": "integer"
  36347. },
  36348. "delistminqty": {
  36349. "description": "起摘数量",
  36350. "type": "number"
  36351. },
  36352. "deliverygoodscode": {
  36353. "description": "品种代码",
  36354. "type": "string"
  36355. },
  36356. "deliverygoodsid": {
  36357. "description": "品种ID",
  36358. "type": "integer"
  36359. },
  36360. "deliverygoodsname": {
  36361. "description": "品种名称",
  36362. "type": "string"
  36363. },
  36364. "deliverymonth": {
  36365. "description": "交收月",
  36366. "type": "string"
  36367. },
  36368. "enumdicname": {
  36369. "description": "单位名称",
  36370. "type": "string"
  36371. },
  36372. "fixedprice": {
  36373. "description": "买(卖)价",
  36374. "type": "number"
  36375. },
  36376. "goodscode": {
  36377. "description": "商品合约代码",
  36378. "type": "string"
  36379. },
  36380. "marginflag": {
  36381. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  36382. "type": "integer"
  36383. },
  36384. "marginvalue": {
  36385. "description": "保证金设置值",
  36386. "type": "number"
  36387. },
  36388. "minivalue": {
  36389. "description": "现货商品最小变动值",
  36390. "type": "integer"
  36391. },
  36392. "orderqty": {
  36393. "description": "买(卖)量(=委托量-成交量)",
  36394. "type": "number"
  36395. },
  36396. "ordertime": {
  36397. "description": "委托时间",
  36398. "type": "string"
  36399. },
  36400. "performancetemplateid": {
  36401. "description": "履约模板id",
  36402. "type": "integer"
  36403. },
  36404. "pricemove": {
  36405. "description": "买(卖)升贴水- 基差",
  36406. "type": "number"
  36407. },
  36408. "templatename": {
  36409. "description": "履约模板名称",
  36410. "type": "string"
  36411. },
  36412. "userid": {
  36413. "description": "购买方(销售方)用户ID",
  36414. "type": "integer"
  36415. },
  36416. "username": {
  36417. "description": "购买方(销售方)",
  36418. "type": "string"
  36419. },
  36420. "validtime": {
  36421. "description": "有效期限",
  36422. "type": "string"
  36423. },
  36424. "validtype": {
  36425. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  36426. "type": "integer"
  36427. },
  36428. "warehousename": {
  36429. "description": "仓库名称",
  36430. "type": "string"
  36431. },
  36432. "wrfactortypeid": {
  36433. "description": "仓单要素id",
  36434. "type": "string"
  36435. },
  36436. "wrstandardcode": {
  36437. "description": "现货商品代码",
  36438. "type": "string"
  36439. },
  36440. "wrstandardid": {
  36441. "description": "现货商品ID",
  36442. "type": "integer"
  36443. },
  36444. "wrstandardname": {
  36445. "description": "商品名称",
  36446. "type": "string"
  36447. },
  36448. "wrtradeorderid": {
  36449. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36450. "type": "string"
  36451. },
  36452. "wrtypename": {
  36453. "description": "商品",
  36454. "type": "string"
  36455. }
  36456. }
  36457. },
  36458. "models.WrScfContract": {
  36459. "type": "object",
  36460. "properties": {
  36461. "borroweruserid": {
  36462. "description": "借款用户ID",
  36463. "type": "integer"
  36464. },
  36465. "buybackwrpositionqty": {
  36466. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  36467. "type": "number"
  36468. },
  36469. "closeinterest": {
  36470. "description": "已结利息 -\u003e 已结费用",
  36471. "type": "number"
  36472. },
  36473. "currisklevel": {
  36474. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  36475. "type": "integer"
  36476. },
  36477. "deadline": {
  36478. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  36479. "type": "string"
  36480. },
  36481. "deliverygoodscode": {
  36482. "description": "品种代码",
  36483. "type": "string"
  36484. },
  36485. "deliverygoodsid": {
  36486. "description": "品种ID",
  36487. "type": "integer"
  36488. },
  36489. "deliverygoodsname": {
  36490. "description": "品种名称",
  36491. "type": "string"
  36492. },
  36493. "enumdicname": {
  36494. "description": "单位名称",
  36495. "type": "string"
  36496. },
  36497. "financingdays": {
  36498. "description": "天数(天)",
  36499. "type": "integer"
  36500. },
  36501. "initmargin": {
  36502. "description": "保证金 - [仓单回购]",
  36503. "type": "number"
  36504. },
  36505. "interestamount": {
  36506. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  36507. "type": "number"
  36508. },
  36509. "interestdebt": {
  36510. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  36511. "type": "number"
  36512. },
  36513. "interestminlen": {
  36514. "description": "最小起息天数",
  36515. "type": "integer"
  36516. },
  36517. "interestrate": {
  36518. "description": "利率",
  36519. "type": "number"
  36520. },
  36521. "interestratemode": {
  36522. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  36523. "type": "integer"
  36524. },
  36525. "interestsettlemode": {
  36526. "description": "结息方式 - 1:按日结息 3:按月结息",
  36527. "type": "integer"
  36528. },
  36529. "interestsettlevalue": {
  36530. "description": "结息方式值",
  36531. "type": "integer"
  36532. },
  36533. "isautoloan": {
  36534. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  36535. "type": "integer"
  36536. },
  36537. "lastcloseinterestday": {
  36538. "description": "最近结息日(yyyyMMdd)",
  36539. "type": "string"
  36540. },
  36541. "lenderamount": {
  36542. "description": "贷款金额 -\u003e 借款金额",
  36543. "type": "number"
  36544. },
  36545. "lenderuserid": {
  36546. "description": "贷款方用户ID -\u003e 融出方用户ID",
  36547. "type": "integer"
  36548. },
  36549. "lenderusername": {
  36550. "description": "融出方",
  36551. "type": "string"
  36552. },
  36553. "marginratio": {
  36554. "description": "保证金比率质押率 - [仓单质押]",
  36555. "type": "number"
  36556. },
  36557. "marketid": {
  36558. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  36559. "type": "integer"
  36560. },
  36561. "minivalue": {
  36562. "description": "现货商品最小变动值",
  36563. "type": "integer"
  36564. },
  36565. "optioncompare": {
  36566. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36567. "type": "string"
  36568. },
  36569. "pricemove": {
  36570. "description": "估值升贴水值",
  36571. "type": "number"
  36572. },
  36573. "productdetailid": {
  36574. "description": "产品组合ID",
  36575. "type": "integer"
  36576. },
  36577. "productid": {
  36578. "description": "金融产品ID",
  36579. "type": "integer"
  36580. },
  36581. "productname": {
  36582. "description": "产品名称",
  36583. "type": "string"
  36584. },
  36585. "remainamount": {
  36586. "description": "合同剩余金额 -\u003e 剩余金额",
  36587. "type": "number"
  36588. },
  36589. "remainwrpositionqty": {
  36590. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  36591. "type": "number"
  36592. },
  36593. "remark": {
  36594. "description": "备注",
  36595. "type": "string"
  36596. },
  36597. "scfcontractid": {
  36598. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  36599. "type": "string"
  36600. },
  36601. "scfcontractstatus": {
  36602. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  36603. "type": "integer"
  36604. },
  36605. "scfcontracttype": {
  36606. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  36607. "type": "integer"
  36608. },
  36609. "startinterestday": {
  36610. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  36611. "type": "string"
  36612. },
  36613. "totalinterest": {
  36614. "description": "已计利息 -\u003e 已计费用",
  36615. "type": "number"
  36616. },
  36617. "unpaidinterest": {
  36618. "description": "未结费用",
  36619. "type": "number"
  36620. },
  36621. "updatetime": {
  36622. "description": "更新时间",
  36623. "type": "string"
  36624. },
  36625. "warehouseid": {
  36626. "description": "仓库ID",
  36627. "type": "integer"
  36628. },
  36629. "warehousename": {
  36630. "description": "仓库名称",
  36631. "type": "string"
  36632. },
  36633. "wrfactortypeid": {
  36634. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36635. "type": "string"
  36636. },
  36637. "wrfactortypename": {
  36638. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36639. "type": "string"
  36640. },
  36641. "wrqty": {
  36642. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  36643. "type": "number"
  36644. },
  36645. "wrstandardcode": {
  36646. "description": "现货商品代码",
  36647. "type": "string"
  36648. },
  36649. "wrstandardid": {
  36650. "description": "现货商品ID",
  36651. "type": "integer"
  36652. },
  36653. "wrstandardname": {
  36654. "description": "商品名称",
  36655. "type": "string"
  36656. },
  36657. "wrtypename": {
  36658. "description": "商品",
  36659. "type": "string"
  36660. }
  36661. }
  36662. },
  36663. "models.WrScfContractInterest": {
  36664. "type": "object",
  36665. "properties": {
  36666. "closeinterest": {
  36667. "description": "已结利息",
  36668. "type": "number"
  36669. },
  36670. "closeintereststatus": {
  36671. "description": "结息状态 - 1:未结 2:已结",
  36672. "type": "integer"
  36673. },
  36674. "closetime": {
  36675. "description": "结息时间",
  36676. "type": "string"
  36677. },
  36678. "closetradedate": {
  36679. "description": "结息交易日",
  36680. "type": "string"
  36681. },
  36682. "creatorid": {
  36683. "description": "操作人ID",
  36684. "type": "integer"
  36685. },
  36686. "dayrate": {
  36687. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  36688. "type": "number"
  36689. },
  36690. "interest": {
  36691. "description": "利息",
  36692. "type": "number"
  36693. },
  36694. "interestamount": {
  36695. "description": "计息金额",
  36696. "type": "number"
  36697. },
  36698. "interestday": {
  36699. "description": "计息日(yyyyMMdd)",
  36700. "type": "string"
  36701. },
  36702. "scfcontractid": {
  36703. "description": "SCF合同ID",
  36704. "type": "string"
  36705. },
  36706. "scfcontractinterestid": {
  36707. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  36708. "type": "integer"
  36709. },
  36710. "updatetime": {
  36711. "description": "更新时间",
  36712. "type": "string"
  36713. }
  36714. }
  36715. },
  36716. "models.WrSiteColumnDetail": {
  36717. "type": "object",
  36718. "properties": {
  36719. "brief": {
  36720. "description": "简介",
  36721. "type": "string"
  36722. },
  36723. "context": {
  36724. "description": "内容",
  36725. "type": "string"
  36726. },
  36727. "coverimage": {
  36728. "description": "封面图片",
  36729. "type": "string"
  36730. },
  36731. "creaedate": {
  36732. "description": "创建时间",
  36733. "type": "string"
  36734. },
  36735. "id": {
  36736. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  36737. "type": "integer"
  36738. },
  36739. "istop": {
  36740. "description": "是否置顶 - 0:不置 1:置顶",
  36741. "type": "integer"
  36742. },
  36743. "publishdate": {
  36744. "description": "发布日期",
  36745. "type": "string"
  36746. },
  36747. "title": {
  36748. "description": "标题",
  36749. "type": "string"
  36750. },
  36751. "updatedate": {
  36752. "description": "修改时间",
  36753. "type": "string"
  36754. }
  36755. }
  36756. },
  36757. "models.WrSpecialMatchOrder": {
  36758. "type": "object",
  36759. "properties": {
  36760. "amount": {
  36761. "description": "金额 = 数量 * 价格",
  36762. "type": "number"
  36763. },
  36764. "buyorsell": {
  36765. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36766. "type": "integer"
  36767. },
  36768. "cancelqty": {
  36769. "description": "撤销数量",
  36770. "type": "number"
  36771. },
  36772. "deliverygoodscode": {
  36773. "description": "品种代码",
  36774. "type": "string"
  36775. },
  36776. "deliverygoodsid": {
  36777. "description": "品种ID",
  36778. "type": "integer"
  36779. },
  36780. "deliverygoodsname": {
  36781. "description": "品种名称",
  36782. "type": "string"
  36783. },
  36784. "enumdicname": {
  36785. "description": "单位名称",
  36786. "type": "string"
  36787. },
  36788. "fixedprice": {
  36789. "description": "固定价格(价格)",
  36790. "type": "number"
  36791. },
  36792. "haswr": {
  36793. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36794. "type": "integer"
  36795. },
  36796. "isspecified": {
  36797. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  36798. "type": "integer"
  36799. },
  36800. "marketid": {
  36801. "description": "市场ID",
  36802. "type": "integer"
  36803. },
  36804. "matchuserid": {
  36805. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  36806. "type": "integer"
  36807. },
  36808. "matchusername": {
  36809. "description": "指定方",
  36810. "type": "string"
  36811. },
  36812. "minivalue": {
  36813. "description": "现货商品最小变动值",
  36814. "type": "integer"
  36815. },
  36816. "optioncompare": {
  36817. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36818. "type": "string"
  36819. },
  36820. "orderqty": {
  36821. "description": "委托数量",
  36822. "type": "number"
  36823. },
  36824. "ordertime": {
  36825. "description": "委托时间",
  36826. "type": "string"
  36827. },
  36828. "pricemove": {
  36829. "description": "升贴水(浮动价时填写) - [挂牌]",
  36830. "type": "number"
  36831. },
  36832. "tradedate": {
  36833. "description": "交易日(yyyyMMdd)",
  36834. "type": "string"
  36835. },
  36836. "tradeprice": {
  36837. "description": "成交价格",
  36838. "type": "number"
  36839. },
  36840. "tradeqty": {
  36841. "description": "成交数量",
  36842. "type": "number"
  36843. },
  36844. "userid": {
  36845. "description": "用户ID",
  36846. "type": "integer"
  36847. },
  36848. "username": {
  36849. "description": "发起方",
  36850. "type": "string"
  36851. },
  36852. "warehouseid": {
  36853. "description": "仓库ID",
  36854. "type": "integer"
  36855. },
  36856. "warehousename": {
  36857. "description": "仓库名称",
  36858. "type": "string"
  36859. },
  36860. "wrfactortypeid": {
  36861. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36862. "type": "string"
  36863. },
  36864. "wrfactortypename": {
  36865. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36866. "type": "string"
  36867. },
  36868. "wrpricetype": {
  36869. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36870. "type": "integer"
  36871. },
  36872. "wrstandardcode": {
  36873. "description": "现货商品代码",
  36874. "type": "string"
  36875. },
  36876. "wrstandardid": {
  36877. "description": "现货商品ID",
  36878. "type": "integer"
  36879. },
  36880. "wrstandardname": {
  36881. "description": "商品名称",
  36882. "type": "string"
  36883. },
  36884. "wrtradeorderid": {
  36885. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36886. "type": "string"
  36887. },
  36888. "wrtradeorderstatus": {
  36889. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  36890. "type": "integer"
  36891. },
  36892. "wrtradetype": {
  36893. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36894. "type": "integer"
  36895. },
  36896. "wrtypename": {
  36897. "description": "商品",
  36898. "type": "string"
  36899. }
  36900. }
  36901. },
  36902. "models.WrSpotGroupTradeSum": {
  36903. "type": "object",
  36904. "properties": {
  36905. "deliverygoodscode": {
  36906. "description": "现货品种代码",
  36907. "type": "string"
  36908. },
  36909. "deliverygoodsid": {
  36910. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  36911. "type": "integer"
  36912. },
  36913. "deliverygoodsname": {
  36914. "description": "现货品种名称",
  36915. "type": "string"
  36916. },
  36917. "lastavgprice": {
  36918. "description": "上上个交易日价格(前2天价格)",
  36919. "type": "string"
  36920. },
  36921. "lastreckondate": {
  36922. "description": "上上个交易日(前2天交易日)",
  36923. "type": "string"
  36924. },
  36925. "reckondate": {
  36926. "description": "上个交易日(前1天交易日)",
  36927. "type": "string"
  36928. },
  36929. "todayavgprice": {
  36930. "description": "上个交易日价格(前1天价格)",
  36931. "type": "string"
  36932. },
  36933. "updown": {
  36934. "description": "涨跌",
  36935. "type": "string"
  36936. },
  36937. "updownratio": {
  36938. "description": "涨幅(已格式化, 直接显示即可)",
  36939. "type": "string"
  36940. }
  36941. }
  36942. },
  36943. "models.WrSpotGroupTradeSumDetail": {
  36944. "type": "object",
  36945. "properties": {
  36946. "deliverygoodsid": {
  36947. "description": "现货商品id",
  36948. "type": "integer"
  36949. },
  36950. "price": {
  36951. "description": "价格",
  36952. "type": "number"
  36953. },
  36954. "reckondate": {
  36955. "description": "日期(yyymmdd, 如:20211031)",
  36956. "type": "string"
  36957. }
  36958. }
  36959. },
  36960. "models.WrSpotGroupTradeSumEx": {
  36961. "type": "object",
  36962. "properties": {
  36963. "lst": {
  36964. "description": "指数列表",
  36965. "type": "array",
  36966. "items": {
  36967. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  36968. }
  36969. },
  36970. "prereckondate": {
  36971. "description": "上上个交易日(yyymmdd)",
  36972. "type": "string"
  36973. },
  36974. "reckondate": {
  36975. "description": "上个交易日(yyyymmdd)",
  36976. "type": "string"
  36977. }
  36978. }
  36979. },
  36980. "models.WrStandardFactoryItem": {
  36981. "type": "object",
  36982. "properties": {
  36983. "dgfactoryitemid": {
  36984. "description": "选择项id",
  36985. "type": "integer"
  36986. },
  36987. "dgfactoryitemvalue": {
  36988. "description": "要素项值",
  36989. "type": "string"
  36990. },
  36991. "warehouseid": {
  36992. "description": "仓库id",
  36993. "type": "integer"
  36994. }
  36995. }
  36996. },
  36997. "models.WrStandardFactoryItemEx": {
  36998. "type": "object",
  36999. "properties": {
  37000. "dgfactoryitemtypeid": {
  37001. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  37002. "type": "integer"
  37003. },
  37004. "itemlst": {
  37005. "description": "要素项列表",
  37006. "type": "array",
  37007. "items": {
  37008. "$ref": "#/definitions/models.WrStandardFactoryItem"
  37009. }
  37010. },
  37011. "itemtypename": {
  37012. "description": "要素项类型名称",
  37013. "type": "string"
  37014. },
  37015. "wrstandardid": {
  37016. "description": "品类",
  37017. "type": "integer"
  37018. }
  37019. }
  37020. },
  37021. "models.WrTradeDetail": {
  37022. "type": "object",
  37023. "properties": {
  37024. "accountid": {
  37025. "description": "资金账号",
  37026. "type": "integer"
  37027. },
  37028. "begindate": {
  37029. "description": "开始交易日(yyyymmdd)",
  37030. "type": "string"
  37031. },
  37032. "buyorsell": {
  37033. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  37034. "type": "integer"
  37035. },
  37036. "chargevalue": {
  37037. "description": "手续费",
  37038. "type": "number"
  37039. },
  37040. "deliverygoodscode": {
  37041. "description": "品种代码",
  37042. "type": "string"
  37043. },
  37044. "deliverygoodsid": {
  37045. "description": "品种ID",
  37046. "type": "integer"
  37047. },
  37048. "deliverygoodsname": {
  37049. "description": "品种名称",
  37050. "type": "string"
  37051. },
  37052. "deliverymonth": {
  37053. "description": "交收月",
  37054. "type": "string"
  37055. },
  37056. "enddate": {
  37057. "description": "结束交易日(yyyymmdd)",
  37058. "type": "string"
  37059. },
  37060. "enumdicname": {
  37061. "description": "单位名称",
  37062. "type": "string"
  37063. },
  37064. "haswr": {
  37065. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  37066. "type": "integer"
  37067. },
  37068. "marketid": {
  37069. "description": "市场ID",
  37070. "type": "integer"
  37071. },
  37072. "matchaccountid": {
  37073. "description": "对手账号",
  37074. "type": "integer"
  37075. },
  37076. "matchusername": {
  37077. "description": "对手方",
  37078. "type": "string"
  37079. },
  37080. "minivalue": {
  37081. "description": "现货商品最小变动值",
  37082. "type": "integer"
  37083. },
  37084. "optioncompare": {
  37085. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37086. "type": "string"
  37087. },
  37088. "tradedate": {
  37089. "description": "交易日(yyyyMMdd)",
  37090. "type": "string"
  37091. },
  37092. "tradeprice": {
  37093. "description": "成交价格",
  37094. "type": "number"
  37095. },
  37096. "tradeqty": {
  37097. "description": "成交数量",
  37098. "type": "number"
  37099. },
  37100. "tradetime": {
  37101. "description": "成交时间",
  37102. "type": "string"
  37103. },
  37104. "userid": {
  37105. "description": "用户ID",
  37106. "type": "integer"
  37107. },
  37108. "warehouseid": {
  37109. "description": "仓库ID",
  37110. "type": "integer"
  37111. },
  37112. "warehousename": {
  37113. "description": "仓库名称",
  37114. "type": "string"
  37115. },
  37116. "wrfactortypeid": {
  37117. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37118. "type": "string"
  37119. },
  37120. "wrfactortypename": {
  37121. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37122. "type": "string"
  37123. },
  37124. "wrstandardcode": {
  37125. "description": "现货商品代码",
  37126. "type": "string"
  37127. },
  37128. "wrstandardid": {
  37129. "description": "现货商品ID",
  37130. "type": "integer"
  37131. },
  37132. "wrstandardname": {
  37133. "description": "商品名称",
  37134. "type": "string"
  37135. },
  37136. "wrtradedetailid": {
  37137. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  37138. "type": "string"
  37139. },
  37140. "wrtradetype": {
  37141. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  37142. "type": "integer"
  37143. },
  37144. "wrtypename": {
  37145. "description": "商品",
  37146. "type": "string"
  37147. }
  37148. }
  37149. },
  37150. "models.WrTradeOrderDetail": {
  37151. "type": "object",
  37152. "properties": {
  37153. "buyorsell": {
  37154. "description": "买卖方向 0-买 1-卖",
  37155. "type": "integer"
  37156. },
  37157. "goodsid": {
  37158. "description": "商品id",
  37159. "type": "integer"
  37160. },
  37161. "orderid": {
  37162. "description": "委托单号",
  37163. "type": "string"
  37164. },
  37165. "orderprice": {
  37166. "description": "委托价格",
  37167. "type": "number"
  37168. },
  37169. "orderqty": {
  37170. "description": "委托数量",
  37171. "type": "integer"
  37172. },
  37173. "userid": {
  37174. "description": "用户id",
  37175. "type": "integer"
  37176. },
  37177. "username": {
  37178. "description": "用户名称(已脱敏)",
  37179. "type": "string"
  37180. }
  37181. }
  37182. },
  37183. "models.WrTypeItem": {
  37184. "type": "object",
  37185. "properties": {
  37186. "name": {
  37187. "description": "名称",
  37188. "type": "string"
  37189. },
  37190. "value": {
  37191. "description": "值",
  37192. "type": "string"
  37193. }
  37194. }
  37195. },
  37196. "models.WrUserFriend": {
  37197. "type": "object",
  37198. "properties": {
  37199. "friendname": {
  37200. "description": "朋友名称(已脱敏)",
  37201. "type": "string"
  37202. },
  37203. "frienduserid": {
  37204. "description": "朋友id",
  37205. "type": "integer"
  37206. },
  37207. "isfriend": {
  37208. "description": "是否好友 0-不是 1-是",
  37209. "type": "integer"
  37210. },
  37211. "userid": {
  37212. "description": "用户id",
  37213. "type": "integer"
  37214. }
  37215. }
  37216. },
  37217. "models.WrUserReceiptInfo": {
  37218. "type": "object",
  37219. "properties": {
  37220. "address": {
  37221. "description": "地址[发票类型:企业]",
  37222. "type": "string"
  37223. },
  37224. "autoid": {
  37225. "description": "AutoID",
  37226. "type": "integer"
  37227. },
  37228. "contactinfo": {
  37229. "description": "联系方式",
  37230. "type": "string"
  37231. },
  37232. "idnum": {
  37233. "description": "身份证号码[发票类型:个人]",
  37234. "type": "string"
  37235. },
  37236. "isdefault": {
  37237. "description": "是否默认地址 - 0:否 1:是",
  37238. "type": "integer"
  37239. },
  37240. "receiptaccount": {
  37241. "description": "发票帐号[发票类型:企业]",
  37242. "type": "string"
  37243. },
  37244. "receiptbank": {
  37245. "description": "发票开户行[发票类型:企业]",
  37246. "type": "string"
  37247. },
  37248. "receipttype": {
  37249. "description": "发票类型 - 1:个人 2:企业",
  37250. "type": "integer"
  37251. },
  37252. "taxpayerid": {
  37253. "description": "纳税人识别号",
  37254. "type": "string"
  37255. },
  37256. "userid": {
  37257. "description": "用户ID",
  37258. "type": "integer"
  37259. },
  37260. "username": {
  37261. "description": "户名(个人姓名或企业名称)",
  37262. "type": "string"
  37263. }
  37264. }
  37265. },
  37266. "models.XHBRAND": {
  37267. "type": "object",
  37268. "properties": {
  37269. "brandid": {
  37270. "description": "品牌id",
  37271. "type": "integer"
  37272. },
  37273. "brandname": {
  37274. "description": "品牌名称",
  37275. "type": "string"
  37276. },
  37277. "isvalid": {
  37278. "description": "是否有效 0-无效 1-有效",
  37279. "type": "integer"
  37280. }
  37281. }
  37282. },
  37283. "models.XHDeliveryGoods": {
  37284. "type": "object",
  37285. "properties": {
  37286. "areauserid": {
  37287. "description": "所属机构",
  37288. "type": "integer"
  37289. },
  37290. "bdlst": {
  37291. "description": "品牌列表",
  37292. "type": "array",
  37293. "items": {
  37294. "$ref": "#/definitions/models.XHBRAND"
  37295. }
  37296. },
  37297. "deliverygoodscode": {
  37298. "description": "现货品种代码",
  37299. "type": "string"
  37300. },
  37301. "deliverygoodsid": {
  37302. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  37303. "type": "integer"
  37304. },
  37305. "deliverygoodsname": {
  37306. "description": "现货品种名称",
  37307. "type": "string"
  37308. },
  37309. "dgstatus": {
  37310. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  37311. "type": "integer"
  37312. },
  37313. "isvalid": {
  37314. "description": "是否有效 - 0:无效 1:有效",
  37315. "type": "integer"
  37316. },
  37317. "remark": {
  37318. "description": "备注",
  37319. "type": "string"
  37320. },
  37321. "unitid": {
  37322. "description": "单位id(目前看,数据库中是空值)",
  37323. "type": "integer"
  37324. },
  37325. "wdlst": {
  37326. "description": "品类(现货商品)列表",
  37327. "type": "array",
  37328. "items": {
  37329. "$ref": "#/definitions/models.XHWrstandard"
  37330. }
  37331. }
  37332. }
  37333. },
  37334. "models.XHMiddleGoods": {
  37335. "type": "object",
  37336. "properties": {
  37337. "GPLST": {
  37338. "description": "期货品种列表",
  37339. "type": "array",
  37340. "items": {
  37341. "$ref": "#/definitions/models.TBGoodsGroup"
  37342. }
  37343. },
  37344. "convertratio": {
  37345. "description": "拆算系数",
  37346. "type": "number"
  37347. },
  37348. "costratio": {
  37349. "description": "成本权重",
  37350. "type": "number"
  37351. },
  37352. "deliverygoodsid": {
  37353. "description": "现货商品id",
  37354. "type": "integer"
  37355. },
  37356. "enumdicname": {
  37357. "description": "单位名称",
  37358. "type": "string"
  37359. },
  37360. "middlegoodscode": {
  37361. "description": "套保品种代码",
  37362. "type": "string"
  37363. },
  37364. "middlegoodsid": {
  37365. "description": "套保品种id",
  37366. "type": "integer"
  37367. },
  37368. "middlegoodsname": {
  37369. "description": "套保品种名称",
  37370. "type": "string"
  37371. },
  37372. "unitid": {
  37373. "description": "单位id",
  37374. "type": "integer"
  37375. }
  37376. }
  37377. },
  37378. "models.XHWrstandard": {
  37379. "type": "object",
  37380. "properties": {
  37381. "deliverygoodsid": {
  37382. "description": "品种ID",
  37383. "type": "integer"
  37384. },
  37385. "enumdicname": {
  37386. "description": "单位名称",
  37387. "type": "string"
  37388. },
  37389. "mglst": {
  37390. "description": "套保品列表",
  37391. "type": "array",
  37392. "items": {
  37393. "$ref": "#/definitions/models.XHMiddleGoods"
  37394. }
  37395. },
  37396. "unitid": {
  37397. "description": "单位id",
  37398. "type": "integer"
  37399. },
  37400. "vatrate": {
  37401. "description": "增值税率",
  37402. "type": "number"
  37403. },
  37404. "wrstandardcode": {
  37405. "description": "现货商品代码",
  37406. "type": "string"
  37407. },
  37408. "wrstandardid": {
  37409. "description": "现货商品ID(SEQ_WRSTANDARD)",
  37410. "type": "integer"
  37411. },
  37412. "wrstandardname": {
  37413. "description": "现货商品名称",
  37414. "type": "string"
  37415. }
  37416. }
  37417. },
  37418. "order.QueryHisTradeDetailRsp": {
  37419. "type": "object",
  37420. "required": [
  37421. "accountid",
  37422. "buyorsell",
  37423. "goodsid",
  37424. "histradedate",
  37425. "marketid",
  37426. "memberuserid",
  37427. "orderid",
  37428. "tradeamount",
  37429. "tradedate",
  37430. "tradeid",
  37431. "tradeprice",
  37432. "tradeqty",
  37433. "tradetime"
  37434. ],
  37435. "properties": {
  37436. "accountid": {
  37437. "description": "账户ID[报价币种]",
  37438. "type": "integer"
  37439. },
  37440. "advanceratio": {
  37441. "description": "首付比率",
  37442. "type": "number"
  37443. },
  37444. "buildtype": {
  37445. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  37446. "type": "integer"
  37447. },
  37448. "buyorsell": {
  37449. "description": "方向 - 0:买 1:卖",
  37450. "type": "integer"
  37451. },
  37452. "charge": {
  37453. "description": "手续费",
  37454. "type": "number"
  37455. },
  37456. "closecharge": {
  37457. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37458. "type": "number"
  37459. },
  37460. "closeexchagechargevalue": {
  37461. "description": "平仓交易所手续费设置值",
  37462. "type": "number"
  37463. },
  37464. "closefeealgorithm": {
  37465. "description": "平仓手续费收取方式 1:比率 2:固定",
  37466. "type": "integer"
  37467. },
  37468. "closememberchargevalue": {
  37469. "description": "平仓会员手续费设置值",
  37470. "type": "number"
  37471. },
  37472. "closepl": {
  37473. "description": "平仓盈亏",
  37474. "type": "number"
  37475. },
  37476. "closepl2": {
  37477. "description": "平仓盈亏[逐笔]",
  37478. "type": "number"
  37479. },
  37480. "closeqty": {
  37481. "description": "平仓数量(先建后平操作 需要记录)",
  37482. "type": "number"
  37483. },
  37484. "creditamount": {
  37485. "description": "授信金额",
  37486. "type": "number"
  37487. },
  37488. "decimalplace": {
  37489. "description": "商品报价小数位",
  37490. "type": "integer"
  37491. },
  37492. "enumdicname": {
  37493. "description": "单位名称",
  37494. "type": "string"
  37495. },
  37496. "gcaccountid": {
  37497. "description": "账户ID[合约币种]",
  37498. "type": "integer"
  37499. },
  37500. "goodscode": {
  37501. "description": "商品代码",
  37502. "type": "string"
  37503. },
  37504. "goodsid": {
  37505. "description": "商品ID",
  37506. "type": "integer"
  37507. },
  37508. "goodsname": {
  37509. "description": "商品名称",
  37510. "type": "string"
  37511. },
  37512. "goodunitid": {
  37513. "description": "商品单位id",
  37514. "type": "integer"
  37515. },
  37516. "histradedate": {
  37517. "description": "历史交易日",
  37518. "type": "string"
  37519. },
  37520. "intclosepl": {
  37521. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  37522. "type": "integer"
  37523. },
  37524. "isconfirmexercise": {
  37525. "description": "是否确认行权- 0:否 1:是",
  37526. "type": "integer"
  37527. },
  37528. "ismain": {
  37529. "description": "是否主单 - 0:不是 1:是",
  37530. "type": "integer"
  37531. },
  37532. "ispreexercise": {
  37533. "description": "是否预申报- 0:否 1:是",
  37534. "type": "integer"
  37535. },
  37536. "isreckoned": {
  37537. "description": "是否结算 - 0:未结算 1:已结算",
  37538. "type": "integer"
  37539. },
  37540. "isvaliddata": {
  37541. "description": "是否有效 - 0:无效 1:有效",
  37542. "type": "integer"
  37543. },
  37544. "listingselecttype": {
  37545. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37546. "type": "integer"
  37547. },
  37548. "marketid": {
  37549. "description": "市场ID",
  37550. "type": "integer"
  37551. },
  37552. "marketname": {
  37553. "description": "市场名称",
  37554. "type": "string"
  37555. },
  37556. "matchaccountid": {
  37557. "description": "对手账号id",
  37558. "type": "integer"
  37559. },
  37560. "memberuserid": {
  37561. "description": "会员id 个人投资者 需要填写",
  37562. "type": "integer"
  37563. },
  37564. "opencharge": {
  37565. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  37566. "type": "number"
  37567. },
  37568. "openexchagechargevalue": {
  37569. "description": "建仓交易所手续费设置值",
  37570. "type": "number"
  37571. },
  37572. "openfeealgorithm": {
  37573. "description": "建仓手续费收取方式 1:比率 2:固定",
  37574. "type": "integer"
  37575. },
  37576. "openmemberchargevalue": {
  37577. "description": "建仓会员手续费设置值",
  37578. "type": "number"
  37579. },
  37580. "openqty": {
  37581. "description": "开仓数量(先建后平操作 需要记录)",
  37582. "type": "number"
  37583. },
  37584. "optiontype": {
  37585. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37586. "type": "integer"
  37587. },
  37588. "orderid": {
  37589. "description": "委托单号",
  37590. "type": "string"
  37591. },
  37592. "payamount": {
  37593. "description": "支付金额(付款金额)",
  37594. "type": "number"
  37595. },
  37596. "performanceplanid": {
  37597. "description": "履约计划ID[期权]",
  37598. "type": "integer"
  37599. },
  37600. "performancestatus": {
  37601. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  37602. "type": "integer"
  37603. },
  37604. "preexerciseprice": {
  37605. "description": "预申报价格",
  37606. "type": "number"
  37607. },
  37608. "premium": {
  37609. "description": "权利金 - [持仓单的权利金]",
  37610. "type": "number"
  37611. },
  37612. "qtydecimalplace": {
  37613. "description": "商品报价小数位",
  37614. "type": "integer"
  37615. },
  37616. "recvamount": {
  37617. "description": "到账金额 = 成交金额 - 手续费",
  37618. "type": "number"
  37619. },
  37620. "relatedouttradeid": {
  37621. "description": "关联外部成交单ID",
  37622. "type": "integer"
  37623. },
  37624. "status": {
  37625. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  37626. "type": "integer"
  37627. },
  37628. "totalamount": {
  37629. "description": "订单总额 = 成交金额 + 手续费",
  37630. "type": "number"
  37631. },
  37632. "tradeamount": {
  37633. "description": "成交金额[账户币种,用于所有权]",
  37634. "type": "number"
  37635. },
  37636. "tradedate": {
  37637. "description": "交易日(yyyyMMdd)",
  37638. "type": "string"
  37639. },
  37640. "tradeid": {
  37641. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37642. "type": "string"
  37643. },
  37644. "trademode": {
  37645. "description": "交易模式",
  37646. "type": "integer"
  37647. },
  37648. "tradeprice": {
  37649. "description": "成交价格",
  37650. "type": "number"
  37651. },
  37652. "tradeproperty": {
  37653. "description": "交易属性",
  37654. "type": "integer"
  37655. },
  37656. "tradeqty": {
  37657. "description": "成交数量",
  37658. "type": "number"
  37659. },
  37660. "tradetime": {
  37661. "description": "成交时间",
  37662. "type": "string"
  37663. },
  37664. "tradetype": {
  37665. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  37666. "type": "integer"
  37667. }
  37668. }
  37669. },
  37670. "order.QueryHisTradeOrderDetailRsp": {
  37671. "type": "object",
  37672. "required": [
  37673. "accountid",
  37674. "buildtype",
  37675. "buyorsell",
  37676. "goodsid",
  37677. "histradedate",
  37678. "marketid",
  37679. "memberuserid",
  37680. "operatetype",
  37681. "orderid",
  37682. "orderqty",
  37683. "ordertime",
  37684. "pricemode",
  37685. "tradedate",
  37686. "validtype"
  37687. ],
  37688. "properties": {
  37689. "accountid": {
  37690. "description": "账户ID[报价币种]",
  37691. "type": "integer"
  37692. },
  37693. "buildtype": {
  37694. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  37695. "type": "integer"
  37696. },
  37697. "buyorsell": {
  37698. "description": "买卖 - 0:买 1:卖",
  37699. "type": "integer"
  37700. },
  37701. "cancelorderid": {
  37702. "description": "撤单单号(撤单时填写)",
  37703. "type": "string"
  37704. },
  37705. "cancelqty": {
  37706. "description": "撤单数量",
  37707. "type": "number"
  37708. },
  37709. "clientordertime": {
  37710. "description": "客户端委托时间",
  37711. "type": "string"
  37712. },
  37713. "clientticket": {
  37714. "description": "客户端流水号",
  37715. "type": "string"
  37716. },
  37717. "clienttype": {
  37718. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  37719. "type": "integer"
  37720. },
  37721. "closeexchagechargevalue": {
  37722. "description": "平仓交易所手续费设置值",
  37723. "type": "number"
  37724. },
  37725. "closefeealgorithm": {
  37726. "description": "平仓手续费收取方式 1:比率 2:固定",
  37727. "type": "integer"
  37728. },
  37729. "closefreezecharge": {
  37730. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  37731. "type": "number"
  37732. },
  37733. "closememberchargevalue": {
  37734. "description": "平仓会员手续费设置值",
  37735. "type": "number"
  37736. },
  37737. "closeqty": {
  37738. "description": "平仓数量(先建后平操作 需要记录)",
  37739. "type": "number"
  37740. },
  37741. "closetradeqty": {
  37742. "description": "平仓成交数量(先建后平操作,需要记录)",
  37743. "type": "number"
  37744. },
  37745. "closeunfreezecharge": {
  37746. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  37747. "type": "number"
  37748. },
  37749. "decimalplace": {
  37750. "description": "商品报价小数位",
  37751. "type": "integer"
  37752. },
  37753. "delistingtype": {
  37754. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  37755. "type": "integer"
  37756. },
  37757. "enumdicname": {
  37758. "description": "单位名称",
  37759. "type": "string"
  37760. },
  37761. "freezecharge": {
  37762. "description": "冻结手续费",
  37763. "type": "number"
  37764. },
  37765. "freezemargin": {
  37766. "description": "冻结保证金(冻结交易金额)",
  37767. "type": "number"
  37768. },
  37769. "gcaccountid": {
  37770. "description": "账户ID[合约币种]",
  37771. "type": "integer"
  37772. },
  37773. "goodscode": {
  37774. "description": "商品代码",
  37775. "type": "string"
  37776. },
  37777. "goodsid": {
  37778. "description": "商品ID",
  37779. "type": "integer"
  37780. },
  37781. "goodsname": {
  37782. "description": "商品名称",
  37783. "type": "string"
  37784. },
  37785. "goodunitid": {
  37786. "description": "商品单位id",
  37787. "type": "integer"
  37788. },
  37789. "histradedate": {
  37790. "description": "历史交易日",
  37791. "type": "string"
  37792. },
  37793. "isconfirmexercise": {
  37794. "description": "是否确认行权- 0:否 1:是",
  37795. "type": "integer"
  37796. },
  37797. "ispreexercise": {
  37798. "description": "是否预申报- 0:否 1:是",
  37799. "type": "integer"
  37800. },
  37801. "isvaliddata": {
  37802. "description": "是否有效 - 0:无效 1:有效",
  37803. "type": "integer"
  37804. },
  37805. "listingselecttype": {
  37806. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  37807. "type": "integer"
  37808. },
  37809. "marginalgorithm": {
  37810. "description": "保证金收取方式 1:比率 2:固定",
  37811. "type": "integer"
  37812. },
  37813. "marginvalue": {
  37814. "description": "即市保证金设置值",
  37815. "type": "number"
  37816. },
  37817. "marketid": {
  37818. "description": "市场ID",
  37819. "type": "integer"
  37820. },
  37821. "marketmaxsub": {
  37822. "description": "市价最大偏移范围",
  37823. "type": "number"
  37824. },
  37825. "marketname": {
  37826. "description": "市场名称",
  37827. "type": "string"
  37828. },
  37829. "memberuserid": {
  37830. "description": "所属会员UserID",
  37831. "type": "integer"
  37832. },
  37833. "openexchagechargevalue": {
  37834. "description": "建仓交易所手续费设置值",
  37835. "type": "number"
  37836. },
  37837. "openfeealgorithm": {
  37838. "description": "建仓手续费收取方式 1:比率 2:固定",
  37839. "type": "integer"
  37840. },
  37841. "openfreezecharge": {
  37842. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  37843. "type": "number"
  37844. },
  37845. "openmemberchargevalue": {
  37846. "description": "建仓会员手续费设置值",
  37847. "type": "number"
  37848. },
  37849. "openqty": {
  37850. "description": "开仓数量(先建后平操作,需要记录)",
  37851. "type": "number"
  37852. },
  37853. "opentradeqty": {
  37854. "description": "开仓成交数量(先建后平操作,需要记录)",
  37855. "type": "number"
  37856. },
  37857. "openunfreezecharge": {
  37858. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  37859. "type": "number"
  37860. },
  37861. "operatetype": {
  37862. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  37863. "type": "integer"
  37864. },
  37865. "operatorid": {
  37866. "description": "登录账号(LoginID)",
  37867. "type": "integer"
  37868. },
  37869. "optiontype": {
  37870. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  37871. "type": "integer"
  37872. },
  37873. "orderid": {
  37874. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37875. "type": "string"
  37876. },
  37877. "orderprice": {
  37878. "description": "委托价格",
  37879. "type": "number"
  37880. },
  37881. "orderqty": {
  37882. "description": "委托数量",
  37883. "type": "number"
  37884. },
  37885. "ordersrc": {
  37886. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  37887. "type": "integer"
  37888. },
  37889. "orderstatus": {
  37890. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37891. "type": "integer"
  37892. },
  37893. "ordertime": {
  37894. "description": "委托时间",
  37895. "type": "string"
  37896. },
  37897. "preexerciseprice": {
  37898. "description": "预申报价格",
  37899. "type": "number"
  37900. },
  37901. "premium": {
  37902. "description": "权利金",
  37903. "type": "number"
  37904. },
  37905. "preorderid": {
  37906. "description": "关联预埋单号(止盈止损单时填写)",
  37907. "type": "string"
  37908. },
  37909. "pricemode": {
  37910. "description": "取价方式 - 1:市价 2: 限价",
  37911. "type": "integer"
  37912. },
  37913. "qtydecimalplace": {
  37914. "description": "成交量小数位",
  37915. "type": "integer"
  37916. },
  37917. "quoteid": {
  37918. "description": "报价单ID",
  37919. "type": "integer"
  37920. },
  37921. "relatedid": {
  37922. "description": "关联单号(交割单)",
  37923. "type": "string"
  37924. },
  37925. "retcode": {
  37926. "description": "错误代码",
  37927. "type": "integer"
  37928. },
  37929. "sessionid": {
  37930. "description": "会话ID",
  37931. "type": "integer"
  37932. },
  37933. "tradedate": {
  37934. "description": "交易日(yyyyMMdd)",
  37935. "type": "string"
  37936. },
  37937. "trademode": {
  37938. "description": "交易模式",
  37939. "type": "integer"
  37940. },
  37941. "tradeproperty": {
  37942. "description": "交易属性",
  37943. "type": "integer"
  37944. },
  37945. "tradeqty": {
  37946. "description": "成交数量",
  37947. "type": "number"
  37948. },
  37949. "unfreezecharge": {
  37950. "description": "解冻手续费",
  37951. "type": "number"
  37952. },
  37953. "unfreezemargin": {
  37954. "description": "解冻保证金",
  37955. "type": "number"
  37956. },
  37957. "updatetime": {
  37958. "description": "更新时间",
  37959. "type": "string"
  37960. },
  37961. "uuid": {
  37962. "description": "发起端唯一id",
  37963. "type": "string"
  37964. },
  37965. "validtime": {
  37966. "description": "有效期限",
  37967. "type": "string"
  37968. },
  37969. "validtype": {
  37970. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  37971. "type": "integer"
  37972. },
  37973. "volumetype": {
  37974. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  37975. "type": "integer"
  37976. }
  37977. }
  37978. },
  37979. "order.QueryTradeDetailRsp": {
  37980. "type": "object",
  37981. "required": [
  37982. "accountid",
  37983. "buyorsell",
  37984. "goodsid",
  37985. "marketid",
  37986. "memberuserid",
  37987. "orderid",
  37988. "tradeamount",
  37989. "tradedate",
  37990. "tradeid",
  37991. "tradeprice",
  37992. "tradeqty",
  37993. "tradetime"
  37994. ],
  37995. "properties": {
  37996. "accountid": {
  37997. "description": "账户ID[报价币种]",
  37998. "type": "integer"
  37999. },
  38000. "advanceratio": {
  38001. "description": "首付比率",
  38002. "type": "number"
  38003. },
  38004. "buildtype": {
  38005. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  38006. "type": "integer"
  38007. },
  38008. "buyorsell": {
  38009. "description": "方向 - 0:买 1:卖",
  38010. "type": "integer"
  38011. },
  38012. "charge": {
  38013. "description": "手续费",
  38014. "type": "number"
  38015. },
  38016. "closecharge": {
  38017. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  38018. "type": "number"
  38019. },
  38020. "closeexchagechargevalue": {
  38021. "description": "平仓交易所手续费设置值",
  38022. "type": "number"
  38023. },
  38024. "closefeealgorithm": {
  38025. "description": "平仓手续费收取方式 1:比率 2:固定",
  38026. "type": "integer"
  38027. },
  38028. "closememberchargevalue": {
  38029. "description": "平仓会员手续费设置值",
  38030. "type": "number"
  38031. },
  38032. "closepl": {
  38033. "description": "平仓盈亏",
  38034. "type": "number"
  38035. },
  38036. "closepl2": {
  38037. "description": "平仓盈亏[逐笔]",
  38038. "type": "number"
  38039. },
  38040. "closeqty": {
  38041. "description": "平仓数量(先建后平操作 需要记录)",
  38042. "type": "number"
  38043. },
  38044. "creditamount": {
  38045. "description": "授信金额",
  38046. "type": "number"
  38047. },
  38048. "decimalplace": {
  38049. "description": "商品报价小数位",
  38050. "type": "integer"
  38051. },
  38052. "enumdicname": {
  38053. "description": "单位名称",
  38054. "type": "string"
  38055. },
  38056. "gcaccountid": {
  38057. "description": "账户ID[合约币种]",
  38058. "type": "integer"
  38059. },
  38060. "goodscode": {
  38061. "description": "商品代码",
  38062. "type": "string"
  38063. },
  38064. "goodsid": {
  38065. "description": "商品ID",
  38066. "type": "integer"
  38067. },
  38068. "goodsname": {
  38069. "description": "商品名称",
  38070. "type": "string"
  38071. },
  38072. "goodunitid": {
  38073. "description": "商品单位id",
  38074. "type": "integer"
  38075. },
  38076. "intclosepl": {
  38077. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  38078. "type": "integer"
  38079. },
  38080. "isconfirmexercise": {
  38081. "description": "是否确认行权- 0:否 1:是",
  38082. "type": "integer"
  38083. },
  38084. "ismain": {
  38085. "description": "是否主单 - 0:不是 1:是",
  38086. "type": "integer"
  38087. },
  38088. "ispreexercise": {
  38089. "description": "是否预申报- 0:否 1:是",
  38090. "type": "integer"
  38091. },
  38092. "isreckoned": {
  38093. "description": "是否结算 - 0:未结算 1:已结算",
  38094. "type": "integer"
  38095. },
  38096. "listingselecttype": {
  38097. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38098. "type": "integer"
  38099. },
  38100. "marketid": {
  38101. "description": "市场ID",
  38102. "type": "integer"
  38103. },
  38104. "marketname": {
  38105. "description": "市场名称",
  38106. "type": "string"
  38107. },
  38108. "matchaccountid": {
  38109. "description": "对手账号id",
  38110. "type": "integer"
  38111. },
  38112. "memberuserid": {
  38113. "description": "会员id 个人投资者 需要填写",
  38114. "type": "integer"
  38115. },
  38116. "opencharge": {
  38117. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  38118. "type": "number"
  38119. },
  38120. "openexchagechargevalue": {
  38121. "description": "建仓交易所手续费设置值",
  38122. "type": "number"
  38123. },
  38124. "openfeealgorithm": {
  38125. "description": "建仓手续费收取方式 1:比率 2:固定",
  38126. "type": "integer"
  38127. },
  38128. "openmemberchargevalue": {
  38129. "description": "建仓会员手续费设置值",
  38130. "type": "number"
  38131. },
  38132. "openqty": {
  38133. "description": "开仓数量(先建后平操作 需要记录)",
  38134. "type": "number"
  38135. },
  38136. "optiontype": {
  38137. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  38138. "type": "integer"
  38139. },
  38140. "orderid": {
  38141. "description": "委托单号",
  38142. "type": "string"
  38143. },
  38144. "payamount": {
  38145. "description": "支付金额(付款金额)",
  38146. "type": "number"
  38147. },
  38148. "performanceplanid": {
  38149. "description": "履约计划ID[期权]",
  38150. "type": "integer"
  38151. },
  38152. "performancestatus": {
  38153. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  38154. "type": "integer"
  38155. },
  38156. "preexerciseprice": {
  38157. "description": "预申报价格",
  38158. "type": "number"
  38159. },
  38160. "premium": {
  38161. "description": "权利金 - [持仓单的权利金]",
  38162. "type": "number"
  38163. },
  38164. "qtydecimalplace": {
  38165. "description": "商品报价小数位",
  38166. "type": "integer"
  38167. },
  38168. "recvamount": {
  38169. "description": "到账金额 = 成交金额 - 手续费",
  38170. "type": "number"
  38171. },
  38172. "relatedouttradeid": {
  38173. "description": "关联外部成交单ID",
  38174. "type": "integer"
  38175. },
  38176. "status": {
  38177. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  38178. "type": "integer"
  38179. },
  38180. "totalamount": {
  38181. "description": "订单总额 = 成交金额 + 手续费",
  38182. "type": "number"
  38183. },
  38184. "tradeamount": {
  38185. "description": "成交金额[账户币种,用于所有权]",
  38186. "type": "number"
  38187. },
  38188. "tradedate": {
  38189. "description": "交易日(yyyyMMdd)",
  38190. "type": "string"
  38191. },
  38192. "tradeid": {
  38193. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38194. "type": "string"
  38195. },
  38196. "trademode": {
  38197. "description": "交易模式",
  38198. "type": "integer"
  38199. },
  38200. "tradeprice": {
  38201. "description": "成交价格",
  38202. "type": "number"
  38203. },
  38204. "tradeproperty": {
  38205. "description": "交易属性",
  38206. "type": "integer"
  38207. },
  38208. "tradeqty": {
  38209. "description": "成交数量",
  38210. "type": "number"
  38211. },
  38212. "tradetime": {
  38213. "description": "成交时间",
  38214. "type": "string"
  38215. },
  38216. "tradetype": {
  38217. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  38218. "type": "integer"
  38219. }
  38220. }
  38221. },
  38222. "order.QueryTradeOrderDetailRsp": {
  38223. "type": "object",
  38224. "required": [
  38225. "accountid",
  38226. "buildtype",
  38227. "buyorsell",
  38228. "goodsid",
  38229. "marketid",
  38230. "operatetype",
  38231. "orderqty",
  38232. "ordertime",
  38233. "pricemode",
  38234. "tradedate",
  38235. "validtype"
  38236. ],
  38237. "properties": {
  38238. "accountid": {
  38239. "description": "账户ID[报价币种]",
  38240. "type": "integer"
  38241. },
  38242. "buildtype": {
  38243. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  38244. "type": "integer"
  38245. },
  38246. "buyorsell": {
  38247. "description": "买卖 - 0:买 1:卖",
  38248. "type": "integer"
  38249. },
  38250. "cancelorderid": {
  38251. "description": "撤单单号(撤单时填写)",
  38252. "type": "string"
  38253. },
  38254. "cancelqty": {
  38255. "description": "撤单数量",
  38256. "type": "number"
  38257. },
  38258. "clienttype": {
  38259. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  38260. "type": "integer"
  38261. },
  38262. "closefreezecharge": {
  38263. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  38264. "type": "number"
  38265. },
  38266. "closeqty": {
  38267. "description": "平仓数量(先建后平操作 需要记录)",
  38268. "type": "number"
  38269. },
  38270. "closetradeqty": {
  38271. "description": "平仓成交数量(先建后平操作,需要记录)",
  38272. "type": "number"
  38273. },
  38274. "closeunfreezecharge": {
  38275. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  38276. "type": "number"
  38277. },
  38278. "decimalplace": {
  38279. "description": "商品报价小数位",
  38280. "type": "integer"
  38281. },
  38282. "delistingtype": {
  38283. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  38284. "type": "integer"
  38285. },
  38286. "enableqty": {
  38287. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  38288. "type": "number"
  38289. },
  38290. "enumdicname": {
  38291. "description": "单位名称",
  38292. "type": "string"
  38293. },
  38294. "freezecharge": {
  38295. "description": "冻结手续费",
  38296. "type": "number"
  38297. },
  38298. "freezemargin": {
  38299. "description": "冻结保证金(冻结交易金额)",
  38300. "type": "number"
  38301. },
  38302. "goodscode": {
  38303. "description": "商品代码",
  38304. "type": "string"
  38305. },
  38306. "goodsid": {
  38307. "description": "商品ID",
  38308. "type": "integer"
  38309. },
  38310. "goodsname": {
  38311. "description": "商品名称",
  38312. "type": "string"
  38313. },
  38314. "goodunitid": {
  38315. "description": "商品单位id",
  38316. "type": "integer"
  38317. },
  38318. "listingselecttype": {
  38319. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  38320. "type": "integer"
  38321. },
  38322. "marketid": {
  38323. "description": "市场ID",
  38324. "type": "integer"
  38325. },
  38326. "marketname": {
  38327. "description": "市场名称",
  38328. "type": "string"
  38329. },
  38330. "openfreezecharge": {
  38331. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  38332. "type": "number"
  38333. },
  38334. "openqty": {
  38335. "description": "开仓数量(先建后平操作,需要记录)",
  38336. "type": "number"
  38337. },
  38338. "opentradeqty": {
  38339. "description": "开仓成交数量(先建后平操作,需要记录)",
  38340. "type": "number"
  38341. },
  38342. "openunfreezecharge": {
  38343. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  38344. "type": "number"
  38345. },
  38346. "operatetype": {
  38347. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  38348. "type": "integer"
  38349. },
  38350. "operatorid": {
  38351. "description": "登录账号(LoginID)",
  38352. "type": "integer"
  38353. },
  38354. "orderid": {
  38355. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38356. "type": "string"
  38357. },
  38358. "orderprice": {
  38359. "description": "委托价格",
  38360. "type": "number"
  38361. },
  38362. "orderqty": {
  38363. "description": "委托数量",
  38364. "type": "number"
  38365. },
  38366. "ordersrc": {
  38367. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  38368. "type": "integer"
  38369. },
  38370. "orderstatus": {
  38371. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  38372. "type": "integer"
  38373. },
  38374. "ordertime": {
  38375. "description": "委托时间",
  38376. "type": "string"
  38377. },
  38378. "preorderid": {
  38379. "description": "关联预埋单号(止盈止损单时填写)",
  38380. "type": "string"
  38381. },
  38382. "pricemode": {
  38383. "description": "取价方式 - 1:市价 2: 限价",
  38384. "type": "integer"
  38385. },
  38386. "qtydecimalplace": {
  38387. "description": "商品报价小数位",
  38388. "type": "integer"
  38389. },
  38390. "relatedid": {
  38391. "description": "关联单号(交割单)",
  38392. "type": "string"
  38393. },
  38394. "tradedate": {
  38395. "description": "交易日(yyyyMMdd)",
  38396. "type": "string"
  38397. },
  38398. "trademode": {
  38399. "description": "交易模式",
  38400. "type": "integer"
  38401. },
  38402. "tradeqty": {
  38403. "description": "成交数量",
  38404. "type": "number"
  38405. },
  38406. "unfreezecharge": {
  38407. "description": "解冻手续费",
  38408. "type": "number"
  38409. },
  38410. "unfreezemargin": {
  38411. "description": "解冻保证金",
  38412. "type": "number"
  38413. },
  38414. "validtime": {
  38415. "description": "有效期限",
  38416. "type": "string"
  38417. },
  38418. "validtype": {
  38419. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  38420. "type": "integer"
  38421. },
  38422. "volumetype": {
  38423. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  38424. "type": "integer"
  38425. }
  38426. }
  38427. },
  38428. "order.QueryTradePositionRsp": {
  38429. "type": "object",
  38430. "required": [
  38431. "goodsid"
  38432. ],
  38433. "properties": {
  38434. "accountid": {
  38435. "description": "资金账户",
  38436. "type": "integer"
  38437. },
  38438. "agreeunit": {
  38439. "description": "合约单位",
  38440. "type": "number"
  38441. },
  38442. "averageprice": {
  38443. "description": "持仓均价",
  38444. "type": "number"
  38445. },
  38446. "buyorsell": {
  38447. "description": "方向 - 0:买 1:卖",
  38448. "type": "integer"
  38449. },
  38450. "closetotalqty": {
  38451. "description": "平仓总数量",
  38452. "type": "number"
  38453. },
  38454. "curholderamount": {
  38455. "description": "当前持仓总金额[商品币种]",
  38456. "type": "number"
  38457. },
  38458. "curpositionqty": {
  38459. "description": "当前持仓总数量",
  38460. "type": "number"
  38461. },
  38462. "currencyid": {
  38463. "description": "报价货币ID",
  38464. "type": "integer"
  38465. },
  38466. "curtdposition": {
  38467. "description": "期末今日头寸",
  38468. "type": "number"
  38469. },
  38470. "decimalplace": {
  38471. "description": "报价小数位",
  38472. "type": "integer"
  38473. },
  38474. "enableqty": {
  38475. "description": "可用量",
  38476. "type": "number"
  38477. },
  38478. "fretdposition": {
  38479. "description": "冻结今日头寸",
  38480. "type": "number"
  38481. },
  38482. "frozenqty": {
  38483. "description": "持仓冻结数量",
  38484. "type": "number"
  38485. },
  38486. "goodscode": {
  38487. "description": "商品代码",
  38488. "type": "string"
  38489. },
  38490. "goodsid": {
  38491. "description": "商品Id",
  38492. "type": "integer"
  38493. },
  38494. "goodsname": {
  38495. "description": "商品名称",
  38496. "type": "string"
  38497. },
  38498. "goodunit": {
  38499. "description": "报价单位",
  38500. "type": "string"
  38501. },
  38502. "goodunitid": {
  38503. "description": "报价单位ID",
  38504. "type": "integer"
  38505. },
  38506. "holderamount": {
  38507. "description": "期初持仓总金额[商品币种]",
  38508. "type": "number"
  38509. },
  38510. "lastprice": {
  38511. "description": "最新价",
  38512. "type": "number"
  38513. },
  38514. "marketamount": {
  38515. "description": "市值",
  38516. "type": "number"
  38517. },
  38518. "marketid": {
  38519. "description": "所属市场ID",
  38520. "type": "integer"
  38521. },
  38522. "openreqqty": {
  38523. "description": "开仓申请数量(用于比较最大持仓数量)",
  38524. "type": "number"
  38525. },
  38526. "opentotalqty": {
  38527. "description": "开仓总数量",
  38528. "type": "number"
  38529. },
  38530. "otherfrozenqty": {
  38531. "description": "持仓其他冻结数量(交割冻结)",
  38532. "type": "number"
  38533. },
  38534. "positionpl": {
  38535. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  38536. "type": "number"
  38537. },
  38538. "positionplrate": {
  38539. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  38540. "type": "number"
  38541. },
  38542. "positionqty": {
  38543. "description": "期初持仓数量",
  38544. "type": "number"
  38545. },
  38546. "qtydecimalplace": {
  38547. "description": "成交量小数位",
  38548. "type": "integer"
  38549. },
  38550. "refgoodscode": {
  38551. "description": "参考商品代码",
  38552. "type": "string"
  38553. },
  38554. "refgoodsid": {
  38555. "description": "参考商品ID",
  38556. "type": "integer"
  38557. },
  38558. "tnqty": {
  38559. "description": "T+N冻结总量",
  38560. "type": "number"
  38561. },
  38562. "tnusedqty": {
  38563. "description": "T+N使用量(可以使用T+N的冻结数量)",
  38564. "type": "number"
  38565. },
  38566. "trademode": {
  38567. "description": "交易模式",
  38568. "type": "integer"
  38569. },
  38570. "tradeproperty": {
  38571. "description": "交易属性",
  38572. "type": "integer"
  38573. },
  38574. "usedmargin": {
  38575. "description": "占用保证金[商品币种]",
  38576. "type": "number"
  38577. }
  38578. }
  38579. },
  38580. "pb.GoodsMarginCfgStruct": {
  38581. "type": "object",
  38582. "properties": {
  38583. "CustomerTypeID": {
  38584. "description": "投资者客户类型",
  38585. "type": "integer"
  38586. },
  38587. "GoodsID": {
  38588. "description": "商品ID",
  38589. "type": "integer"
  38590. },
  38591. "IsDefault": {
  38592. "description": "是否默认标志位",
  38593. "type": "integer"
  38594. },
  38595. "LockMarginValue": {
  38596. "description": "锁仓保证金",
  38597. "type": "number"
  38598. },
  38599. "MarginAlgorithm": {
  38600. "description": "保证金计算方式",
  38601. "type": "integer"
  38602. },
  38603. "MarketMarginValue": {
  38604. "description": "即市保证金值",
  38605. "type": "number"
  38606. },
  38607. "RealMarginAlgorithm": {
  38608. "description": "实付保证金计算方式",
  38609. "type": "integer"
  38610. },
  38611. "RealMarginValue": {
  38612. "description": "实付比例",
  38613. "type": "number"
  38614. },
  38615. "ReckonMarginValue": {
  38616. "description": "结算保证金值",
  38617. "type": "number"
  38618. }
  38619. }
  38620. },
  38621. "quote.HistoryData": {
  38622. "type": "object",
  38623. "properties": {
  38624. "c": {
  38625. "description": "收盘价",
  38626. "type": "number"
  38627. },
  38628. "f": {
  38629. "description": "是否补充数据",
  38630. "type": "boolean"
  38631. },
  38632. "h": {
  38633. "description": "最高价",
  38634. "type": "number"
  38635. },
  38636. "hv": {
  38637. "description": "持仓量",
  38638. "type": "integer"
  38639. },
  38640. "l": {
  38641. "description": "最低价",
  38642. "type": "number"
  38643. },
  38644. "o": {
  38645. "description": "开盘价",
  38646. "type": "number"
  38647. },
  38648. "s": {
  38649. "description": "结算价,日线周期(包括)以上才有",
  38650. "type": "number"
  38651. },
  38652. "ts": {
  38653. "description": "时间",
  38654. "type": "string"
  38655. },
  38656. "tt": {
  38657. "description": "总金额",
  38658. "type": "number"
  38659. },
  38660. "tv": {
  38661. "description": "总量(成交量)",
  38662. "type": "integer"
  38663. }
  38664. }
  38665. },
  38666. "quote.HistoryTikData": {
  38667. "type": "object",
  38668. "properties": {
  38669. "AV": {
  38670. "description": "卖量",
  38671. "type": "integer"
  38672. },
  38673. "Ask": {
  38674. "description": "卖价",
  38675. "type": "number"
  38676. },
  38677. "BV": {
  38678. "description": "买量",
  38679. "type": "integer"
  38680. },
  38681. "Bid": {
  38682. "description": "买价",
  38683. "type": "number"
  38684. },
  38685. "HI": {
  38686. "description": "单笔持仓",
  38687. "type": "integer"
  38688. },
  38689. "HV": {
  38690. "description": "持仓量",
  38691. "type": "integer"
  38692. },
  38693. "PE": {
  38694. "description": "现价",
  38695. "type": "number"
  38696. },
  38697. "TDR": {
  38698. "description": "交易方向,0:买 1:卖",
  38699. "type": "integer"
  38700. },
  38701. "TK": {
  38702. "description": "交易类型",
  38703. "type": "integer"
  38704. },
  38705. "TS": {
  38706. "description": "行情时间文本",
  38707. "type": "string"
  38708. },
  38709. "TT": {
  38710. "description": "现金额",
  38711. "type": "number"
  38712. },
  38713. "Vol": {
  38714. "description": "现量",
  38715. "type": "integer"
  38716. }
  38717. }
  38718. },
  38719. "quote.QueryQuoteDayRsp": {
  38720. "type": "object",
  38721. "properties": {
  38722. "ask": {
  38723. "description": "卖1",
  38724. "type": "number"
  38725. },
  38726. "ask10": {
  38727. "description": "卖10",
  38728. "type": "number"
  38729. },
  38730. "ask2": {
  38731. "description": "卖2",
  38732. "type": "number"
  38733. },
  38734. "ask3": {
  38735. "description": "卖3",
  38736. "type": "number"
  38737. },
  38738. "ask4": {
  38739. "description": "卖4",
  38740. "type": "number"
  38741. },
  38742. "ask5": {
  38743. "description": "卖5",
  38744. "type": "number"
  38745. },
  38746. "ask6": {
  38747. "description": "卖6",
  38748. "type": "number"
  38749. },
  38750. "ask7": {
  38751. "description": "卖7",
  38752. "type": "number"
  38753. },
  38754. "ask8": {
  38755. "description": "卖8",
  38756. "type": "number"
  38757. },
  38758. "ask9": {
  38759. "description": "卖9",
  38760. "type": "number"
  38761. },
  38762. "askorderid": {
  38763. "description": "卖单号1",
  38764. "type": "integer"
  38765. },
  38766. "askorderid2": {
  38767. "description": "卖单号2",
  38768. "type": "integer"
  38769. },
  38770. "askorderid3": {
  38771. "description": "卖单号3",
  38772. "type": "integer"
  38773. },
  38774. "askorderid4": {
  38775. "description": "卖单号4",
  38776. "type": "integer"
  38777. },
  38778. "askorderid5": {
  38779. "description": "卖单号5",
  38780. "type": "integer"
  38781. },
  38782. "askordervolume": {
  38783. "description": "卖单量1",
  38784. "type": "integer"
  38785. },
  38786. "askordervolume10": {
  38787. "description": "卖单量10",
  38788. "type": "integer"
  38789. },
  38790. "askordervolume2": {
  38791. "description": "卖单量2",
  38792. "type": "integer"
  38793. },
  38794. "askordervolume3": {
  38795. "description": "卖单量3",
  38796. "type": "integer"
  38797. },
  38798. "askordervolume4": {
  38799. "description": "卖单量4",
  38800. "type": "integer"
  38801. },
  38802. "askordervolume5": {
  38803. "description": "卖单量5",
  38804. "type": "integer"
  38805. },
  38806. "askordervolume6": {
  38807. "description": "卖单量6",
  38808. "type": "integer"
  38809. },
  38810. "askordervolume7": {
  38811. "description": "卖单量7",
  38812. "type": "integer"
  38813. },
  38814. "askordervolume8": {
  38815. "description": "卖单量8",
  38816. "type": "integer"
  38817. },
  38818. "askordervolume9": {
  38819. "description": "卖单量9",
  38820. "type": "integer"
  38821. },
  38822. "askqueueinfo": {
  38823. "description": "大利市卖港股用",
  38824. "type": "string"
  38825. },
  38826. "askvolume": {
  38827. "description": "卖量1",
  38828. "type": "integer"
  38829. },
  38830. "askvolume10": {
  38831. "description": "卖量10",
  38832. "type": "integer"
  38833. },
  38834. "askvolume2": {
  38835. "description": "卖量2",
  38836. "type": "integer"
  38837. },
  38838. "askvolume3": {
  38839. "description": "卖量3",
  38840. "type": "integer"
  38841. },
  38842. "askvolume4": {
  38843. "description": "卖量4",
  38844. "type": "integer"
  38845. },
  38846. "askvolume5": {
  38847. "description": "卖量5",
  38848. "type": "integer"
  38849. },
  38850. "askvolume6": {
  38851. "description": "卖量6",
  38852. "type": "integer"
  38853. },
  38854. "askvolume7": {
  38855. "description": "卖量7",
  38856. "type": "integer"
  38857. },
  38858. "askvolume8": {
  38859. "description": "卖量8",
  38860. "type": "integer"
  38861. },
  38862. "askvolume9": {
  38863. "description": "卖量9",
  38864. "type": "integer"
  38865. },
  38866. "averageprice": {
  38867. "description": "均价",
  38868. "type": "number"
  38869. },
  38870. "bid": {
  38871. "description": "买1",
  38872. "type": "number"
  38873. },
  38874. "bid10": {
  38875. "description": "买10",
  38876. "type": "number"
  38877. },
  38878. "bid2": {
  38879. "description": "买2",
  38880. "type": "number"
  38881. },
  38882. "bid3": {
  38883. "description": "买3",
  38884. "type": "number"
  38885. },
  38886. "bid4": {
  38887. "description": "买4",
  38888. "type": "number"
  38889. },
  38890. "bid5": {
  38891. "description": "买5",
  38892. "type": "number"
  38893. },
  38894. "bid6": {
  38895. "description": "买6",
  38896. "type": "number"
  38897. },
  38898. "bid7": {
  38899. "description": "买7",
  38900. "type": "number"
  38901. },
  38902. "bid8": {
  38903. "description": "买8",
  38904. "type": "number"
  38905. },
  38906. "bid9": {
  38907. "description": "买9",
  38908. "type": "number"
  38909. },
  38910. "bidorderid": {
  38911. "description": "买单号1",
  38912. "type": "integer"
  38913. },
  38914. "bidorderid2": {
  38915. "description": "买单号2",
  38916. "type": "integer"
  38917. },
  38918. "bidorderid3": {
  38919. "description": "买单号3",
  38920. "type": "integer"
  38921. },
  38922. "bidorderid4": {
  38923. "description": "买单号4",
  38924. "type": "integer"
  38925. },
  38926. "bidorderid5": {
  38927. "description": "买单号5",
  38928. "type": "integer"
  38929. },
  38930. "bidordervolume": {
  38931. "description": "买单量1",
  38932. "type": "integer"
  38933. },
  38934. "bidordervolume10": {
  38935. "description": "买单量10",
  38936. "type": "integer"
  38937. },
  38938. "bidordervolume2": {
  38939. "description": "买单量2",
  38940. "type": "integer"
  38941. },
  38942. "bidordervolume3": {
  38943. "description": "买单量3",
  38944. "type": "integer"
  38945. },
  38946. "bidordervolume4": {
  38947. "description": "买单量4",
  38948. "type": "integer"
  38949. },
  38950. "bidordervolume5": {
  38951. "description": "买单量5",
  38952. "type": "integer"
  38953. },
  38954. "bidordervolume6": {
  38955. "description": "买单量6",
  38956. "type": "integer"
  38957. },
  38958. "bidordervolume7": {
  38959. "description": "买单量7",
  38960. "type": "integer"
  38961. },
  38962. "bidordervolume8": {
  38963. "description": "买单量8",
  38964. "type": "integer"
  38965. },
  38966. "bidordervolume9": {
  38967. "description": "买单量9",
  38968. "type": "integer"
  38969. },
  38970. "bidqueueinfo": {
  38971. "description": "大利市买港股用",
  38972. "type": "string"
  38973. },
  38974. "bidvolume": {
  38975. "description": "买量1",
  38976. "type": "integer"
  38977. },
  38978. "bidvolume10": {
  38979. "description": "买量10",
  38980. "type": "integer"
  38981. },
  38982. "bidvolume2": {
  38983. "description": "买量2",
  38984. "type": "integer"
  38985. },
  38986. "bidvolume3": {
  38987. "description": "买量3",
  38988. "type": "integer"
  38989. },
  38990. "bidvolume4": {
  38991. "description": "买量4",
  38992. "type": "integer"
  38993. },
  38994. "bidvolume5": {
  38995. "description": "买量5",
  38996. "type": "integer"
  38997. },
  38998. "bidvolume6": {
  38999. "description": "买量6",
  39000. "type": "integer"
  39001. },
  39002. "bidvolume7": {
  39003. "description": "买量7",
  39004. "type": "integer"
  39005. },
  39006. "bidvolume8": {
  39007. "description": "买量8",
  39008. "type": "integer"
  39009. },
  39010. "bidvolume9": {
  39011. "description": "买量9",
  39012. "type": "integer"
  39013. },
  39014. "calloptionpremiums": {
  39015. "description": "认购期权1",
  39016. "type": "integer"
  39017. },
  39018. "calloptionpremiums2": {
  39019. "description": "认购期权2",
  39020. "type": "integer"
  39021. },
  39022. "calloptionpremiums3": {
  39023. "description": "认购期权3",
  39024. "type": "integer"
  39025. },
  39026. "calloptionpremiums4": {
  39027. "description": "认购期权4",
  39028. "type": "integer"
  39029. },
  39030. "calloptionpremiums5": {
  39031. "description": "认购期权5",
  39032. "type": "integer"
  39033. },
  39034. "cleartime": {
  39035. "description": "清盘时间",
  39036. "type": "integer"
  39037. },
  39038. "exchangecode": {
  39039. "description": "交易所代码",
  39040. "type": "integer"
  39041. },
  39042. "exchangedate": {
  39043. "description": "交易日",
  39044. "type": "integer"
  39045. },
  39046. "goodscode": {
  39047. "description": "商品代码",
  39048. "type": "string"
  39049. },
  39050. "grepmarketprice": {
  39051. "description": "暗盘价 港股专用",
  39052. "type": "number"
  39053. },
  39054. "highest": {
  39055. "description": "最高价",
  39056. "type": "number"
  39057. },
  39058. "holdincrement": {
  39059. "description": "单笔持仓",
  39060. "type": "integer"
  39061. },
  39062. "holdvolume": {
  39063. "description": "持仓",
  39064. "type": "integer"
  39065. },
  39066. "iep": {
  39067. "description": "平衡价 港股专用",
  39068. "type": "number"
  39069. },
  39070. "iev": {
  39071. "description": "平衡量 港股专用",
  39072. "type": "number"
  39073. },
  39074. "inventory": {
  39075. "description": "库存",
  39076. "type": "integer"
  39077. },
  39078. "iscleared": {
  39079. "description": "是否清盘标志",
  39080. "type": "integer"
  39081. },
  39082. "issettled": {
  39083. "description": "是否结算标志",
  39084. "type": "integer"
  39085. },
  39086. "last": {
  39087. "description": "最新价",
  39088. "type": "number"
  39089. },
  39090. "lastlot": {
  39091. "description": "最新成交手数",
  39092. "type": "integer"
  39093. },
  39094. "lasttime": {
  39095. "description": "行情时间(只有现价变化行情时间才变化)",
  39096. "type": "string"
  39097. },
  39098. "lastturnover": {
  39099. "description": "最新成交金额",
  39100. "type": "number"
  39101. },
  39102. "lastvolume": {
  39103. "description": "最新成交量",
  39104. "type": "integer"
  39105. },
  39106. "limitdown": {
  39107. "description": "跌停价",
  39108. "type": "number"
  39109. },
  39110. "limitup": {
  39111. "description": "涨停价",
  39112. "type": "number"
  39113. },
  39114. "lowest": {
  39115. "description": "最低价",
  39116. "type": "number"
  39117. },
  39118. "nontotalholdervolume": {
  39119. "description": "非交易持仓量",
  39120. "type": "integer"
  39121. },
  39122. "nontotallot": {
  39123. "description": "非交易总手数",
  39124. "type": "integer"
  39125. },
  39126. "nontotalturnover": {
  39127. "description": "非交易总金额",
  39128. "type": "integer"
  39129. },
  39130. "nontotalvolume": {
  39131. "description": "非交易总量",
  39132. "type": "integer"
  39133. },
  39134. "opened": {
  39135. "description": "开盘价",
  39136. "type": "number"
  39137. },
  39138. "opentime": {
  39139. "description": "开盘时间",
  39140. "type": "string"
  39141. },
  39142. "orderid": {
  39143. "description": "序号",
  39144. "type": "integer"
  39145. },
  39146. "preclose": {
  39147. "description": "昨收",
  39148. "type": "number"
  39149. },
  39150. "preholdvolume": {
  39151. "description": "昨持仓",
  39152. "type": "integer"
  39153. },
  39154. "presettle": {
  39155. "description": "昨结价",
  39156. "type": "number"
  39157. },
  39158. "publictradetype": {
  39159. "description": "公共交易标志类型 港股专用",
  39160. "type": "string"
  39161. },
  39162. "putoptionpremiums": {
  39163. "description": "认沽期权1",
  39164. "type": "integer"
  39165. },
  39166. "putoptionpremiums2": {
  39167. "description": "认沽期权2",
  39168. "type": "integer"
  39169. },
  39170. "putoptionpremiums3": {
  39171. "description": "认沽期权3",
  39172. "type": "integer"
  39173. },
  39174. "putoptionpremiums4": {
  39175. "description": "认沽期权4",
  39176. "type": "integer"
  39177. },
  39178. "putoptionpremiums5": {
  39179. "description": "认沽期权5",
  39180. "type": "integer"
  39181. },
  39182. "settle": {
  39183. "description": "结算价",
  39184. "type": "number"
  39185. },
  39186. "strikeprice": {
  39187. "description": "发行价",
  39188. "type": "number"
  39189. },
  39190. "totalaskvolume": {
  39191. "description": "内盘",
  39192. "type": "integer"
  39193. },
  39194. "totalbidvolume": {
  39195. "description": "外盘",
  39196. "type": "integer"
  39197. },
  39198. "totallot": {
  39199. "description": "总手数",
  39200. "type": "integer"
  39201. },
  39202. "totalturnover": {
  39203. "description": "总金额",
  39204. "type": "number"
  39205. },
  39206. "totalvolume": {
  39207. "description": "总量",
  39208. "type": "integer"
  39209. },
  39210. "utclasttime": {
  39211. "description": "utc的行情时间",
  39212. "type": "string"
  39213. }
  39214. }
  39215. },
  39216. "quote.QueryTSDataRsp": {
  39217. "type": "object",
  39218. "properties": {
  39219. "Count": {
  39220. "description": "交易日应有数据个数",
  39221. "type": "integer"
  39222. },
  39223. "decimalPlace": {
  39224. "description": "小数位",
  39225. "type": "integer"
  39226. },
  39227. "endTime": {
  39228. "description": "结束时间",
  39229. "type": "string"
  39230. },
  39231. "goodsCode": {
  39232. "description": "商品代码",
  39233. "type": "string"
  39234. },
  39235. "historyDatas": {
  39236. "description": "历史数据",
  39237. "type": "array",
  39238. "items": {
  39239. "$ref": "#/definitions/quote.HistoryData"
  39240. }
  39241. },
  39242. "outGoodsCode": {
  39243. "description": "外部商品代码",
  39244. "type": "string"
  39245. },
  39246. "preSettle": {
  39247. "description": "昨结价",
  39248. "type": "number"
  39249. },
  39250. "runSteps": {
  39251. "description": "交易日开休市计划",
  39252. "type": "array",
  39253. "items": {
  39254. "$ref": "#/definitions/quote.TSDataRunStep"
  39255. }
  39256. },
  39257. "startTime": {
  39258. "description": "开始时间",
  39259. "type": "string"
  39260. },
  39261. "tradeDate": {
  39262. "description": "交易日",
  39263. "type": "string"
  39264. }
  39265. }
  39266. },
  39267. "quote.TSDataRunStep": {
  39268. "type": "object",
  39269. "properties": {
  39270. "end": {
  39271. "description": "真实结束时间",
  39272. "type": "string"
  39273. },
  39274. "endflag": {
  39275. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  39276. "type": "integer"
  39277. },
  39278. "endtime": {
  39279. "description": "结束时间(HH:mm)",
  39280. "type": "string"
  39281. },
  39282. "endweekday": {
  39283. "description": "结束周几",
  39284. "type": "integer"
  39285. },
  39286. "groupid": {
  39287. "description": "分组ID",
  39288. "type": "integer"
  39289. },
  39290. "runstep": {
  39291. "description": "运行阶段 - 2:连续交易",
  39292. "type": "integer"
  39293. },
  39294. "sectionid": {
  39295. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  39296. "type": "integer"
  39297. },
  39298. "start": {
  39299. "description": "真实开始时间",
  39300. "type": "string"
  39301. },
  39302. "startflag": {
  39303. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  39304. "type": "integer"
  39305. },
  39306. "starttime": {
  39307. "description": "起始时间(HH:mm)",
  39308. "type": "string"
  39309. },
  39310. "startweekday": {
  39311. "description": "起始周几",
  39312. "type": "integer"
  39313. },
  39314. "tradeweekday": {
  39315. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  39316. "type": "integer"
  39317. }
  39318. }
  39319. },
  39320. "szdz.QueryConvertLogRsp": {
  39321. "type": "object",
  39322. "required": [
  39323. "logid"
  39324. ],
  39325. "properties": {
  39326. "accountid": {
  39327. "description": "资金账户ID",
  39328. "type": "integer"
  39329. },
  39330. "clientticket": {
  39331. "description": "客户端流水号",
  39332. "type": "string"
  39333. },
  39334. "converttype": {
  39335. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  39336. "type": "integer"
  39337. },
  39338. "createtime": {
  39339. "description": "记账时间",
  39340. "type": "string"
  39341. },
  39342. "daymaxvalue": {
  39343. "description": "配置当日最大转入限制",
  39344. "type": "number"
  39345. },
  39346. "daymaxvalue2": {
  39347. "description": "配置当日最大转入限制(转入)",
  39348. "type": "number"
  39349. },
  39350. "goodscode": {
  39351. "description": "商品代码",
  39352. "type": "string"
  39353. },
  39354. "goodsname": {
  39355. "description": "商品名称",
  39356. "type": "string"
  39357. },
  39358. "handlestatus": {
  39359. "description": "处理状态",
  39360. "type": "integer"
  39361. },
  39362. "innergoodsid": {
  39363. "description": "内部商品ID",
  39364. "type": "integer"
  39365. },
  39366. "inratio": {
  39367. "description": "配置转入比值",
  39368. "type": "integer"
  39369. },
  39370. "invalue": {
  39371. "description": "目标值",
  39372. "type": "number"
  39373. },
  39374. "logid": {
  39375. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39376. "type": "integer"
  39377. },
  39378. "mobile": {
  39379. "description": "手机号码(加密存储)",
  39380. "type": "string"
  39381. },
  39382. "outergoodscode": {
  39383. "description": "外部商品代码[JD\\PD]",
  39384. "type": "string"
  39385. },
  39386. "outratio": {
  39387. "description": "配置转出比值",
  39388. "type": "integer"
  39389. },
  39390. "outvalue": {
  39391. "description": "源值",
  39392. "type": "number"
  39393. },
  39394. "pddecimalplace": {
  39395. "description": "PD小数位",
  39396. "type": "integer"
  39397. },
  39398. "qty": {
  39399. "description": "数量",
  39400. "type": "string"
  39401. },
  39402. "remark": {
  39403. "description": "备注",
  39404. "type": "string"
  39405. },
  39406. "sessionid": {
  39407. "description": "会话ID",
  39408. "type": "integer"
  39409. },
  39410. "timemaxvalue": {
  39411. "description": "配置单次最大转入限制",
  39412. "type": "number"
  39413. },
  39414. "timemaxvalue2": {
  39415. "description": "配置单次最大转入限制(转入)",
  39416. "type": "number"
  39417. },
  39418. "timeminvalue": {
  39419. "description": "配置单次最小数量限制",
  39420. "type": "number"
  39421. },
  39422. "timeminvalue2": {
  39423. "description": "配置单次最小数量限制(转入)",
  39424. "type": "number"
  39425. },
  39426. "tradedate": {
  39427. "description": "交易日(yyyyMMdd)",
  39428. "type": "string"
  39429. },
  39430. "userid": {
  39431. "description": "用户ID",
  39432. "type": "integer"
  39433. }
  39434. }
  39435. },
  39436. "szdz.QueryGoodsPickupRsp": {
  39437. "type": "object",
  39438. "required": [
  39439. "takeorderid"
  39440. ],
  39441. "properties": {
  39442. "accountid": {
  39443. "description": "账户ID",
  39444. "type": "integer"
  39445. },
  39446. "address": {
  39447. "description": "提货人详细地址",
  39448. "type": "string"
  39449. },
  39450. "auditer": {
  39451. "description": "审核人",
  39452. "type": "integer"
  39453. },
  39454. "audittime": {
  39455. "description": "审核时间",
  39456. "type": "string"
  39457. },
  39458. "cardnum": {
  39459. "description": "提货人证件号码",
  39460. "type": "string"
  39461. },
  39462. "cardtypeid": {
  39463. "description": "提货人证件类型",
  39464. "type": "integer"
  39465. },
  39466. "checkremark": {
  39467. "description": "审核备注",
  39468. "type": "string"
  39469. },
  39470. "goodscode": {
  39471. "description": "商品代码",
  39472. "type": "string"
  39473. },
  39474. "goodsid": {
  39475. "description": "商品ID",
  39476. "type": "integer"
  39477. },
  39478. "goodsname": {
  39479. "description": "商品名称",
  39480. "type": "string"
  39481. },
  39482. "handlestatus": {
  39483. "description": "处理状态",
  39484. "type": "integer"
  39485. },
  39486. "marketid": {
  39487. "description": "市场ID",
  39488. "type": "integer"
  39489. },
  39490. "phonenum": {
  39491. "description": "提货人联系方式",
  39492. "type": "string"
  39493. },
  39494. "qty": {
  39495. "description": "提货数量",
  39496. "type": "number"
  39497. },
  39498. "recivername": {
  39499. "description": "提货人姓名",
  39500. "type": "string"
  39501. },
  39502. "reqtime": {
  39503. "description": "更新时间",
  39504. "type": "string"
  39505. },
  39506. "takemode": {
  39507. "description": "提货方式 - 2:自提 3:配送",
  39508. "type": "integer"
  39509. },
  39510. "takeorderid": {
  39511. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  39512. "type": "string"
  39513. },
  39514. "takeorderstatus": {
  39515. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  39516. "type": "integer"
  39517. },
  39518. "takeremark": {
  39519. "description": "提货备注",
  39520. "type": "string"
  39521. },
  39522. "tradedate": {
  39523. "description": "交易日(yyyyMMdd)",
  39524. "type": "string"
  39525. },
  39526. "userid": {
  39527. "description": "用户ID",
  39528. "type": "integer"
  39529. }
  39530. }
  39531. },
  39532. "szdz.QueryRecieptOrderRsp": {
  39533. "type": "object",
  39534. "required": [
  39535. "ordertime"
  39536. ],
  39537. "properties": {
  39538. "accountName": {
  39539. "description": "所属账号名称(已脱敏)",
  39540. "type": "string"
  39541. },
  39542. "accountid": {
  39543. "description": "资金账号",
  39544. "type": "integer"
  39545. },
  39546. "buyorsell": {
  39547. "description": "方向 - 0:买 1:卖",
  39548. "type": "integer"
  39549. },
  39550. "enableqty": {
  39551. "description": "可摘数量",
  39552. "type": "integer"
  39553. },
  39554. "goodscode": {
  39555. "description": "商品代码",
  39556. "type": "string"
  39557. },
  39558. "goodsid": {
  39559. "description": "商品ID",
  39560. "type": "integer"
  39561. },
  39562. "goodsname": {
  39563. "description": "商品名称",
  39564. "type": "string"
  39565. },
  39566. "orderid": {
  39567. "description": "委托单号",
  39568. "type": "string"
  39569. },
  39570. "orderprice": {
  39571. "description": "委托价格",
  39572. "type": "number"
  39573. },
  39574. "ordertime": {
  39575. "description": "委托时间",
  39576. "type": "string"
  39577. },
  39578. "tradedate": {
  39579. "description": "交易日(yyyyMMdd)",
  39580. "type": "string"
  39581. }
  39582. }
  39583. },
  39584. "szdz.QuerySZDZTradePositionRsp": {
  39585. "type": "object",
  39586. "properties": {
  39587. "accountid": {
  39588. "description": "账号Id",
  39589. "type": "integer"
  39590. },
  39591. "agreeunit": {
  39592. "description": "合约单位",
  39593. "type": "number"
  39594. },
  39595. "averageprice": {
  39596. "description": "持仓均价",
  39597. "type": "number"
  39598. },
  39599. "buyorsell": {
  39600. "description": "方向 - 0:买 1:卖",
  39601. "type": "integer"
  39602. },
  39603. "closetotalqty": {
  39604. "description": "平仓总数量",
  39605. "type": "integer"
  39606. },
  39607. "curholderamount": {
  39608. "description": "当前持仓总金额",
  39609. "type": "number"
  39610. },
  39611. "curpositionqty": {
  39612. "description": "当前持仓总数量",
  39613. "type": "integer"
  39614. },
  39615. "currencyid": {
  39616. "description": "报价货币ID",
  39617. "type": "integer"
  39618. },
  39619. "curtdposition": {
  39620. "description": "期末今日头寸",
  39621. "type": "integer"
  39622. },
  39623. "decimalplace": {
  39624. "description": "报价小数位",
  39625. "type": "integer"
  39626. },
  39627. "enableqty": {
  39628. "description": "可用量",
  39629. "type": "integer"
  39630. },
  39631. "fretdposition": {
  39632. "description": "冻结今日头寸",
  39633. "type": "integer"
  39634. },
  39635. "frozenqty": {
  39636. "description": "持仓冻结数量",
  39637. "type": "integer"
  39638. },
  39639. "goodscode": {
  39640. "description": "商品代码(内部)",
  39641. "type": "string"
  39642. },
  39643. "goodsid": {
  39644. "description": "商品Id",
  39645. "type": "integer"
  39646. },
  39647. "goodsname": {
  39648. "description": "商品名称",
  39649. "type": "string"
  39650. },
  39651. "goodunit": {
  39652. "description": "报价单位",
  39653. "type": "string"
  39654. },
  39655. "goodunitid": {
  39656. "description": "报价单位ID",
  39657. "type": "integer"
  39658. },
  39659. "holderamount": {
  39660. "description": "期初持仓总金额",
  39661. "type": "number"
  39662. },
  39663. "marketid": {
  39664. "description": "市场ID",
  39665. "type": "integer"
  39666. },
  39667. "openreqqty": {
  39668. "description": "开仓申请数量",
  39669. "type": "integer"
  39670. },
  39671. "opentotalqty": {
  39672. "description": "开仓总数量",
  39673. "type": "integer"
  39674. },
  39675. "otherfrozenqty": {
  39676. "description": "持仓其他冻结数量(交割冻结)",
  39677. "type": "integer"
  39678. },
  39679. "positionqty": {
  39680. "description": "期初持仓数量",
  39681. "type": "integer"
  39682. },
  39683. "szdz3freezqty": {
  39684. "description": "尚志大宗转换冻结总数量",
  39685. "type": "integer"
  39686. },
  39687. "tnqty": {
  39688. "description": "T+N冻结总量",
  39689. "type": "integer"
  39690. },
  39691. "tnusedqty": {
  39692. "description": "T+N使用量",
  39693. "type": "integer"
  39694. },
  39695. "trademode": {
  39696. "description": "交易模式",
  39697. "type": "integer"
  39698. },
  39699. "usedmargin": {
  39700. "description": "占用保证金",
  39701. "type": "number"
  39702. }
  39703. }
  39704. },
  39705. "taaccount.QueryAmountLogRsp": {
  39706. "type": "object",
  39707. "required": [
  39708. "accountid",
  39709. "amount",
  39710. "amountadjusttype",
  39711. "autoid",
  39712. "balance",
  39713. "createtime",
  39714. "currentbalance",
  39715. "operatetype"
  39716. ],
  39717. "properties": {
  39718. "OPERATETYPENAME": {
  39719. "description": "资金操作类型名称",
  39720. "type": "string"
  39721. },
  39722. "accountid": {
  39723. "description": "资金账户ID",
  39724. "type": "integer"
  39725. },
  39726. "agoodscode": {
  39727. "description": "竞拍商品代码",
  39728. "type": "string"
  39729. },
  39730. "agoodsname": {
  39731. "description": "竞拍商品名称",
  39732. "type": "string"
  39733. },
  39734. "amount": {
  39735. "description": "资金金额",
  39736. "type": "number"
  39737. },
  39738. "amountadjusttype": {
  39739. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39740. "type": "integer"
  39741. },
  39742. "autoid": {
  39743. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39744. "type": "integer"
  39745. },
  39746. "balance": {
  39747. "description": "期初余额",
  39748. "type": "number"
  39749. },
  39750. "businesscode": {
  39751. "description": "业务编号",
  39752. "type": "integer"
  39753. },
  39754. "createtime": {
  39755. "description": "发生时间",
  39756. "type": "string"
  39757. },
  39758. "currencyid": {
  39759. "description": "币种ID",
  39760. "type": "integer"
  39761. },
  39762. "currentbalance": {
  39763. "description": "期末余额(变动后金额)",
  39764. "type": "number"
  39765. },
  39766. "dgoodscode": {
  39767. "description": "交割商品代码",
  39768. "type": "string"
  39769. },
  39770. "dgoodsname": {
  39771. "description": "交割商品名称",
  39772. "type": "string"
  39773. },
  39774. "goodscode": {
  39775. "description": "商品代码",
  39776. "type": "string"
  39777. },
  39778. "goodsid": {
  39779. "description": "商品ID",
  39780. "type": "integer"
  39781. },
  39782. "goodsname": {
  39783. "description": "商品名称",
  39784. "type": "string"
  39785. },
  39786. "marketid": {
  39787. "description": "市场ID",
  39788. "type": "integer"
  39789. },
  39790. "marketname": {
  39791. "description": "市场名称",
  39792. "type": "string"
  39793. },
  39794. "moneyticket": {
  39795. "description": "资金流水号:银行端流水号",
  39796. "type": "integer"
  39797. },
  39798. "operatetype": {
  39799. "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:营销收款",
  39800. "type": "integer"
  39801. },
  39802. "relationorderid": {
  39803. "description": "关联单号",
  39804. "type": "string"
  39805. },
  39806. "remark": {
  39807. "description": "备注",
  39808. "type": "string"
  39809. },
  39810. "trademode": {
  39811. "description": "交易模式",
  39812. "type": "integer"
  39813. }
  39814. }
  39815. },
  39816. "taaccount.QueryHisAmountLogRsp": {
  39817. "type": "object",
  39818. "required": [
  39819. "accountid",
  39820. "amount",
  39821. "amountadjusttype",
  39822. "autoid",
  39823. "balance",
  39824. "createtime",
  39825. "currentbalance",
  39826. "histradedate",
  39827. "operatetype"
  39828. ],
  39829. "properties": {
  39830. "OPERATETYPENAME": {
  39831. "description": "资金操作类型名称",
  39832. "type": "string"
  39833. },
  39834. "accountid": {
  39835. "description": "资金账户ID",
  39836. "type": "integer"
  39837. },
  39838. "agoodscode": {
  39839. "description": "竞拍商品代码",
  39840. "type": "string"
  39841. },
  39842. "agoodsname": {
  39843. "description": "竞拍商品名称",
  39844. "type": "string"
  39845. },
  39846. "amount": {
  39847. "description": "资金金额",
  39848. "type": "number"
  39849. },
  39850. "amountadjusttype": {
  39851. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  39852. "type": "integer"
  39853. },
  39854. "autoid": {
  39855. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  39856. "type": "integer"
  39857. },
  39858. "balance": {
  39859. "description": "期初余额",
  39860. "type": "number"
  39861. },
  39862. "businesscode": {
  39863. "description": "业务编号",
  39864. "type": "integer"
  39865. },
  39866. "createtime": {
  39867. "description": "发生时间",
  39868. "type": "string"
  39869. },
  39870. "currencyid": {
  39871. "description": "币种ID",
  39872. "type": "integer"
  39873. },
  39874. "currentbalance": {
  39875. "description": "期末余额(变动后金额)",
  39876. "type": "number"
  39877. },
  39878. "dgoodscode": {
  39879. "description": "交割商品代码",
  39880. "type": "string"
  39881. },
  39882. "dgoodsname": {
  39883. "description": "交割商品名称",
  39884. "type": "string"
  39885. },
  39886. "goodscode": {
  39887. "description": "商品代码",
  39888. "type": "string"
  39889. },
  39890. "goodsid": {
  39891. "description": "商品ID",
  39892. "type": "integer"
  39893. },
  39894. "goodsname": {
  39895. "description": "商品名称",
  39896. "type": "string"
  39897. },
  39898. "histradedate": {
  39899. "description": "历史交易日",
  39900. "type": "string"
  39901. },
  39902. "isvaliddata": {
  39903. "description": "是否有效 - 0:无效 1:有效",
  39904. "type": "integer"
  39905. },
  39906. "marketid": {
  39907. "description": "市场ID",
  39908. "type": "integer"
  39909. },
  39910. "marketname": {
  39911. "description": "市场名称",
  39912. "type": "string"
  39913. },
  39914. "moneyticket": {
  39915. "description": "资金流水号:银行端流水号",
  39916. "type": "integer"
  39917. },
  39918. "operatetype": {
  39919. "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:营销收款",
  39920. "type": "integer"
  39921. },
  39922. "relationorderid": {
  39923. "description": "关联单号",
  39924. "type": "string"
  39925. },
  39926. "remark": {
  39927. "description": "备注",
  39928. "type": "string"
  39929. },
  39930. "trademode": {
  39931. "description": "交易模式",
  39932. "type": "integer"
  39933. }
  39934. }
  39935. },
  39936. "trade.QueryRecieptOrderRsp": {
  39937. "type": "object",
  39938. "required": [
  39939. "ordertime"
  39940. ],
  39941. "properties": {
  39942. "accountName": {
  39943. "description": "所属账号名称(已脱敏)",
  39944. "type": "string"
  39945. },
  39946. "accountid": {
  39947. "description": "资金账号",
  39948. "type": "integer"
  39949. },
  39950. "buyorsell": {
  39951. "description": "方向 - 0:买 1:卖",
  39952. "type": "integer"
  39953. },
  39954. "enableqty": {
  39955. "description": "可摘数量",
  39956. "type": "integer"
  39957. },
  39958. "goodscode": {
  39959. "description": "商品代码",
  39960. "type": "string"
  39961. },
  39962. "goodsid": {
  39963. "description": "商品ID",
  39964. "type": "integer"
  39965. },
  39966. "goodsname": {
  39967. "description": "商品名称",
  39968. "type": "string"
  39969. },
  39970. "orderid": {
  39971. "description": "委托单号",
  39972. "type": "string"
  39973. },
  39974. "orderprice": {
  39975. "description": "委托价格",
  39976. "type": "number"
  39977. },
  39978. "ordertime": {
  39979. "description": "委托时间",
  39980. "type": "string"
  39981. },
  39982. "tradedate": {
  39983. "description": "交易日(yyyyMMdd)",
  39984. "type": "string"
  39985. }
  39986. }
  39987. },
  39988. "user.LoginQueryRsp": {
  39989. "type": "object",
  39990. "properties": {
  39991. "areaRoles": {
  39992. "description": "所属角色信息",
  39993. "type": "array",
  39994. "items": {
  39995. "$ref": "#/definitions/models.Arearole"
  39996. }
  39997. },
  39998. "externalExchanges": {
  39999. "description": "外部交易所",
  40000. "type": "array",
  40001. "items": {
  40002. "$ref": "#/definitions/models.Externalexchange"
  40003. }
  40004. },
  40005. "goodsgroups": {
  40006. "description": "商品组",
  40007. "type": "array",
  40008. "items": {
  40009. "$ref": "#/definitions/models.Goodsgroup"
  40010. }
  40011. },
  40012. "loginAccount": {
  40013. "description": "登录账号",
  40014. "$ref": "#/definitions/models.Loginaccount"
  40015. },
  40016. "markets": {
  40017. "description": "市场",
  40018. "type": "array",
  40019. "items": {
  40020. "$ref": "#/definitions/models.Market"
  40021. }
  40022. },
  40023. "systemParams": {
  40024. "description": "系统参数",
  40025. "type": "array",
  40026. "items": {
  40027. "$ref": "#/definitions/models.Systemparam"
  40028. }
  40029. },
  40030. "userAccount": {
  40031. "description": "用户账号",
  40032. "$ref": "#/definitions/models.Useraccount"
  40033. },
  40034. "userInfo": {
  40035. "description": "用户信息",
  40036. "$ref": "#/definitions/models.Userinfo"
  40037. },
  40038. "username": {
  40039. "description": "用户姓名",
  40040. "type": "string"
  40041. }
  40042. }
  40043. }
  40044. },
  40045. "securityDefinitions": {
  40046. "ApiKeyAuth": {
  40047. "type": "apiKey",
  40048. "name": "Authorization",
  40049. "in": "header"
  40050. }
  40051. }
  40052. }`
  40053. type swaggerInfo struct {
  40054. Version string
  40055. Host string
  40056. BasePath string
  40057. Schemes []string
  40058. Title string
  40059. Description string
  40060. }
  40061. // SwaggerInfo holds exported Swagger Info so clients can modify it
  40062. var SwaggerInfo = swaggerInfo{
  40063. Version: "1.0",
  40064. Host: "",
  40065. BasePath: "/api",
  40066. Schemes: []string{},
  40067. Title: "MTP2.0 查询服务 API",
  40068. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  40069. }
  40070. type s struct{}
  40071. func (s *s) ReadDoc() string {
  40072. sInfo := SwaggerInfo
  40073. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  40074. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  40075. "marshal": func(v interface{}) string {
  40076. a, _ := json.Marshal(v)
  40077. return string(a)
  40078. },
  40079. }).Parse(doc)
  40080. if err != nil {
  40081. return doc
  40082. }
  40083. var tpl bytes.Buffer
  40084. if err := t.Execute(&tpl, sInfo); err != nil {
  40085. return doc
  40086. }
  40087. return tpl.String()
  40088. }
  40089. func init() {
  40090. swag.Register(swag.Name, &s{})
  40091. }