docs.go 1.5 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819
  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:我的 3:首页(PC) 4:首页推广(移动-新会)",
  652. "name": "imageType",
  653. "in": "query"
  654. }
  655. ],
  656. "responses": {
  657. "200": {
  658. "description": "OK",
  659. "schema": {
  660. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  661. }
  662. },
  663. "500": {
  664. "description": "Internal Server Error",
  665. "schema": {
  666. "$ref": "#/definitions/app.Response"
  667. }
  668. }
  669. }
  670. }
  671. },
  672. "/Common/QueryNotice": {
  673. "get": {
  674. "security": [
  675. {
  676. "ApiKeyAuth": []
  677. }
  678. ],
  679. "produces": [
  680. "application/json"
  681. ],
  682. "tags": [
  683. "通用服务"
  684. ],
  685. "summary": "通知公告系统消息查询",
  686. "parameters": [
  687. {
  688. "type": "integer",
  689. "description": "页码",
  690. "name": "page",
  691. "in": "query"
  692. },
  693. {
  694. "type": "integer",
  695. "description": "每页条数",
  696. "name": "pagesize",
  697. "in": "query"
  698. },
  699. {
  700. "type": "integer",
  701. "description": "登录账号",
  702. "name": "loginID",
  703. "in": "query",
  704. "required": true
  705. },
  706. {
  707. "type": "integer",
  708. "description": "消息类型 - 1:公告通知 2:系统消息",
  709. "name": "msgType",
  710. "in": "query"
  711. },
  712. {
  713. "type": "boolean",
  714. "description": "是否只获取未读信息",
  715. "name": "onlyUnRead",
  716. "in": "query"
  717. },
  718. {
  719. "type": "integer",
  720. "description": "自增ID,传入后会返回这个ID后面的记录",
  721. "name": "lastID",
  722. "in": "query"
  723. }
  724. ],
  725. "responses": {
  726. "200": {
  727. "description": "OK",
  728. "schema": {
  729. "$ref": "#/definitions/common.QueryNoticeRsp"
  730. }
  731. },
  732. "500": {
  733. "description": "Internal Server Error",
  734. "schema": {
  735. "$ref": "#/definitions/app.Response"
  736. }
  737. }
  738. }
  739. }
  740. },
  741. "/Common/QueryProvincesAndCities": {
  742. "get": {
  743. "produces": [
  744. "application/json"
  745. ],
  746. "tags": [
  747. "通用服务"
  748. ],
  749. "summary": "查询省市信息(不包括区)",
  750. "parameters": [
  751. {
  752. "type": "integer",
  753. "description": "省ID",
  754. "name": "provinceID",
  755. "in": "query"
  756. }
  757. ],
  758. "responses": {
  759. "200": {
  760. "description": "OK",
  761. "schema": {
  762. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  763. }
  764. },
  765. "500": {
  766. "description": "Internal Server Error",
  767. "schema": {
  768. "$ref": "#/definitions/app.Response"
  769. }
  770. }
  771. }
  772. }
  773. },
  774. "/Common/QueryTableDefine": {
  775. "get": {
  776. "produces": [
  777. "application/json"
  778. ],
  779. "tags": [
  780. "通用服务"
  781. ],
  782. "summary": "查询交易端列表头信息",
  783. "parameters": [
  784. {
  785. "type": "string",
  786. "description": "表key",
  787. "name": "tableKey",
  788. "in": "query"
  789. },
  790. {
  791. "type": "integer",
  792. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  793. "name": "tableType",
  794. "in": "query"
  795. }
  796. ],
  797. "responses": {
  798. "200": {
  799. "description": "OK",
  800. "schema": {
  801. "$ref": "#/definitions/common.QueryTableDefineRsp"
  802. }
  803. },
  804. "500": {
  805. "description": "Internal Server Error",
  806. "schema": {
  807. "$ref": "#/definitions/app.Response"
  808. }
  809. }
  810. }
  811. }
  812. },
  813. "/Common/QueryTraderMenu": {
  814. "get": {
  815. "produces": [
  816. "application/json"
  817. ],
  818. "tags": [
  819. "通用服务"
  820. ],
  821. "summary": "查询交易端菜单",
  822. "parameters": [
  823. {
  824. "type": "integer",
  825. "description": "登录账号",
  826. "name": "loginid",
  827. "in": "query",
  828. "required": true
  829. }
  830. ],
  831. "responses": {
  832. "200": {
  833. "description": "OK",
  834. "schema": {
  835. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  836. }
  837. },
  838. "500": {
  839. "description": "Internal Server Error",
  840. "schema": {
  841. "$ref": "#/definitions/app.Response"
  842. }
  843. }
  844. }
  845. }
  846. },
  847. "/Delivery/QueryDeliveryRelation": {
  848. "get": {
  849. "security": [
  850. {
  851. "ApiKeyAuth": []
  852. }
  853. ],
  854. "produces": [
  855. "application/json"
  856. ],
  857. "tags": [
  858. "交割服务"
  859. ],
  860. "summary": "查询商品交割关系表",
  861. "parameters": [
  862. {
  863. "type": "integer",
  864. "description": "商品ID",
  865. "name": "goodsid",
  866. "in": "query"
  867. },
  868. {
  869. "type": "integer",
  870. "description": "品种ID",
  871. "name": "deliverygoodsid",
  872. "in": "query"
  873. },
  874. {
  875. "type": "integer",
  876. "description": "市场ID",
  877. "name": "marketid",
  878. "in": "query"
  879. }
  880. ],
  881. "responses": {
  882. "200": {
  883. "description": "OK",
  884. "schema": {
  885. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  886. }
  887. },
  888. "500": {
  889. "description": "Internal Server Error",
  890. "schema": {
  891. "$ref": "#/definitions/app.Response"
  892. }
  893. }
  894. }
  895. }
  896. },
  897. "/Ermcp/GetErmcpGoods": {
  898. "get": {
  899. "security": [
  900. {
  901. "ApiKeyAuth": []
  902. }
  903. ],
  904. "produces": [
  905. "application/json"
  906. ],
  907. "tags": [
  908. "企业风险管理(app)"
  909. ],
  910. "summary": "查询企业风管期货商品信息",
  911. "parameters": [
  912. {
  913. "type": "integer",
  914. "description": "用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)",
  915. "name": "userid",
  916. "in": "query"
  917. },
  918. {
  919. "type": "string",
  920. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  921. "name": "lastUpdateTime",
  922. "in": "query"
  923. }
  924. ],
  925. "responses": {
  926. "200": {
  927. "description": "OK",
  928. "schema": {
  929. "$ref": "#/definitions/models.ErmcpGoods"
  930. }
  931. },
  932. "500": {
  933. "description": "Internal Server Error",
  934. "schema": {
  935. "$ref": "#/definitions/app.Response"
  936. }
  937. }
  938. }
  939. }
  940. },
  941. "/Ermcp/GetErmcpGoodsSortByPosition": {
  942. "get": {
  943. "security": [
  944. {
  945. "ApiKeyAuth": []
  946. }
  947. ],
  948. "produces": [
  949. "application/json"
  950. ],
  951. "tags": [
  952. "企业风险管理(app)"
  953. ],
  954. "summary": "查询企业风管期货主力、次主力商品信息",
  955. "parameters": [
  956. {
  957. "type": "string",
  958. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  959. "name": "sortIndex",
  960. "in": "query"
  961. }
  962. ],
  963. "responses": {
  964. "200": {
  965. "description": "OK",
  966. "schema": {
  967. "$ref": "#/definitions/models.Goodssortbypreposition"
  968. }
  969. },
  970. "500": {
  971. "description": "Internal Server Error",
  972. "schema": {
  973. "$ref": "#/definitions/app.Response"
  974. }
  975. }
  976. }
  977. }
  978. },
  979. "/Ermcp/GetErmcpOutAccountStatus": {
  980. "get": {
  981. "security": [
  982. {
  983. "ApiKeyAuth": []
  984. }
  985. ],
  986. "produces": [
  987. "application/json"
  988. ],
  989. "tags": [
  990. "企业风险管理(app)"
  991. ],
  992. "summary": "获取目标登录账号当前对冲账号在线状态",
  993. "parameters": [
  994. {
  995. "type": "integer",
  996. "description": "登录账号",
  997. "name": "loginID",
  998. "in": "query",
  999. "required": true
  1000. }
  1001. ],
  1002. "responses": {
  1003. "200": {
  1004. "description": "OK",
  1005. "schema": {
  1006. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1007. }
  1008. },
  1009. "500": {
  1010. "description": "Internal Server Error",
  1011. "schema": {
  1012. "$ref": "#/definitions/app.Response"
  1013. }
  1014. }
  1015. }
  1016. }
  1017. },
  1018. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1019. "get": {
  1020. "security": [
  1021. {
  1022. "ApiKeyAuth": []
  1023. }
  1024. ],
  1025. "produces": [
  1026. "application/json"
  1027. ],
  1028. "tags": [
  1029. "企业风险管理(app)"
  1030. ],
  1031. "summary": "获取企业风管终端权限",
  1032. "parameters": [
  1033. {
  1034. "type": "integer",
  1035. "description": "登录账号",
  1036. "name": "loginID",
  1037. "in": "query",
  1038. "required": true
  1039. }
  1040. ],
  1041. "responses": {
  1042. "200": {
  1043. "description": "OK",
  1044. "schema": {
  1045. "$ref": "#/definitions/models.Funcmenulist"
  1046. }
  1047. },
  1048. "500": {
  1049. "description": "Internal Server Error",
  1050. "schema": {
  1051. "$ref": "#/definitions/app.Response"
  1052. }
  1053. }
  1054. }
  1055. }
  1056. },
  1057. "/Ermcp/QueryAccMgrBizGroupSet": {
  1058. "get": {
  1059. "security": [
  1060. {
  1061. "ApiKeyAuth": []
  1062. }
  1063. ],
  1064. "produces": [
  1065. "application/json"
  1066. ],
  1067. "tags": [
  1068. "企业风险管理(app)"
  1069. ],
  1070. "summary": "查询业务类型分组(账户管理/账户设置)",
  1071. "parameters": [
  1072. {
  1073. "type": "integer",
  1074. "description": "用户ID",
  1075. "name": "userid",
  1076. "in": "query",
  1077. "required": true
  1078. },
  1079. {
  1080. "type": "integer",
  1081. "description": "现货商品id",
  1082. "name": "deliverygoodsid",
  1083. "in": "query"
  1084. }
  1085. ],
  1086. "responses": {
  1087. "200": {
  1088. "description": "OK",
  1089. "schema": {
  1090. "type": "array",
  1091. "items": {
  1092. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1093. }
  1094. }
  1095. },
  1096. "500": {
  1097. "description": "Internal Server Error",
  1098. "schema": {
  1099. "$ref": "#/definitions/app.Response"
  1100. }
  1101. }
  1102. }
  1103. }
  1104. },
  1105. "/Ermcp/QueryAccMgrLoginUser": {
  1106. "get": {
  1107. "security": [
  1108. {
  1109. "ApiKeyAuth": []
  1110. }
  1111. ],
  1112. "produces": [
  1113. "application/json"
  1114. ],
  1115. "tags": [
  1116. "企业风险管理(app)"
  1117. ],
  1118. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1119. "parameters": [
  1120. {
  1121. "type": "integer",
  1122. "description": "用户ID",
  1123. "name": "userid",
  1124. "in": "query",
  1125. "required": true
  1126. },
  1127. {
  1128. "type": "integer",
  1129. "description": "用户类型 2-机构 7-企业成员",
  1130. "name": "usertype",
  1131. "in": "query"
  1132. },
  1133. {
  1134. "type": "integer",
  1135. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1136. "name": "querytype",
  1137. "in": "query",
  1138. "required": true
  1139. }
  1140. ],
  1141. "responses": {
  1142. "200": {
  1143. "description": "OK",
  1144. "schema": {
  1145. "type": "array",
  1146. "items": {
  1147. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1148. }
  1149. }
  1150. },
  1151. "500": {
  1152. "description": "Internal Server Error",
  1153. "schema": {
  1154. "$ref": "#/definitions/app.Response"
  1155. }
  1156. }
  1157. }
  1158. }
  1159. },
  1160. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1161. "get": {
  1162. "security": [
  1163. {
  1164. "ApiKeyAuth": []
  1165. }
  1166. ],
  1167. "produces": [
  1168. "application/json"
  1169. ],
  1170. "tags": [
  1171. "企业风险管理(app)"
  1172. ],
  1173. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1174. "parameters": [
  1175. {
  1176. "type": "integer",
  1177. "description": "用户ID",
  1178. "name": "userid",
  1179. "in": "query"
  1180. },
  1181. {
  1182. "type": "integer",
  1183. "description": "主账号id",
  1184. "name": "accountid",
  1185. "in": "query"
  1186. }
  1187. ],
  1188. "responses": {
  1189. "200": {
  1190. "description": "OK",
  1191. "schema": {
  1192. "type": "array",
  1193. "items": {
  1194. "$ref": "#/definitions/models.MainAccountInfo"
  1195. }
  1196. }
  1197. },
  1198. "500": {
  1199. "description": "Internal Server Error",
  1200. "schema": {
  1201. "$ref": "#/definitions/app.Response"
  1202. }
  1203. }
  1204. }
  1205. }
  1206. },
  1207. "/Ermcp/QueryAccMgrRole": {
  1208. "get": {
  1209. "security": [
  1210. {
  1211. "ApiKeyAuth": []
  1212. }
  1213. ],
  1214. "produces": [
  1215. "application/json"
  1216. ],
  1217. "tags": [
  1218. "企业风险管理(app)"
  1219. ],
  1220. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1221. "parameters": [
  1222. {
  1223. "type": "integer",
  1224. "description": "用户ID",
  1225. "name": "userid",
  1226. "in": "query",
  1227. "required": true
  1228. }
  1229. ],
  1230. "responses": {
  1231. "200": {
  1232. "description": "OK",
  1233. "schema": {
  1234. "type": "array",
  1235. "items": {
  1236. "$ref": "#/definitions/models.ErmcpRole"
  1237. }
  1238. }
  1239. },
  1240. "500": {
  1241. "description": "Internal Server Error",
  1242. "schema": {
  1243. "$ref": "#/definitions/app.Response"
  1244. }
  1245. }
  1246. }
  1247. }
  1248. },
  1249. "/Ermcp/QueryAccMgrRoleMenu": {
  1250. "get": {
  1251. "security": [
  1252. {
  1253. "ApiKeyAuth": []
  1254. }
  1255. ],
  1256. "produces": [
  1257. "application/json"
  1258. ],
  1259. "tags": [
  1260. "企业风险管理(app)"
  1261. ],
  1262. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1263. "parameters": [
  1264. {
  1265. "type": "integer",
  1266. "description": "用户ID",
  1267. "name": "userid",
  1268. "in": "query",
  1269. "required": true
  1270. },
  1271. {
  1272. "type": "string",
  1273. "description": "角色id(可多个,逗号隔开)",
  1274. "name": "roleid",
  1275. "in": "query"
  1276. },
  1277. {
  1278. "type": "integer",
  1279. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1280. "name": "menutype",
  1281. "in": "query"
  1282. }
  1283. ],
  1284. "responses": {
  1285. "200": {
  1286. "description": "OK",
  1287. "schema": {
  1288. "type": "array",
  1289. "items": {
  1290. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1291. }
  1292. }
  1293. },
  1294. "500": {
  1295. "description": "Internal Server Error",
  1296. "schema": {
  1297. "$ref": "#/definitions/app.Response"
  1298. }
  1299. }
  1300. }
  1301. }
  1302. },
  1303. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1304. "get": {
  1305. "security": [
  1306. {
  1307. "ApiKeyAuth": []
  1308. }
  1309. ],
  1310. "produces": [
  1311. "application/json"
  1312. ],
  1313. "tags": [
  1314. "企业风险管理(app)"
  1315. ],
  1316. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1317. "parameters": [
  1318. {
  1319. "type": "integer",
  1320. "description": "用户ID",
  1321. "name": "userid",
  1322. "in": "query",
  1323. "required": true
  1324. },
  1325. {
  1326. "type": "integer",
  1327. "description": "账号id",
  1328. "name": "accountid",
  1329. "in": "query"
  1330. }
  1331. ],
  1332. "responses": {
  1333. "200": {
  1334. "description": "OK",
  1335. "schema": {
  1336. "type": "array",
  1337. "items": {
  1338. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1339. }
  1340. }
  1341. },
  1342. "500": {
  1343. "description": "Internal Server Error",
  1344. "schema": {
  1345. "$ref": "#/definitions/app.Response"
  1346. }
  1347. }
  1348. }
  1349. }
  1350. },
  1351. "/Ermcp/QueryAccMgrTaaccount": {
  1352. "get": {
  1353. "security": [
  1354. {
  1355. "ApiKeyAuth": []
  1356. }
  1357. ],
  1358. "produces": [
  1359. "application/json"
  1360. ],
  1361. "tags": [
  1362. "企业风险管理(app)"
  1363. ],
  1364. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1365. "parameters": [
  1366. {
  1367. "type": "integer",
  1368. "description": "用户ID",
  1369. "name": "userid",
  1370. "in": "query",
  1371. "required": true
  1372. }
  1373. ],
  1374. "responses": {
  1375. "200": {
  1376. "description": "OK",
  1377. "schema": {
  1378. "type": "array",
  1379. "items": {
  1380. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1381. }
  1382. }
  1383. },
  1384. "500": {
  1385. "description": "Internal Server Error",
  1386. "schema": {
  1387. "$ref": "#/definitions/app.Response"
  1388. }
  1389. }
  1390. }
  1391. }
  1392. },
  1393. "/Ermcp/QueryAvaildGoodsGroup": {
  1394. "get": {
  1395. "security": [
  1396. {
  1397. "ApiKeyAuth": []
  1398. }
  1399. ],
  1400. "produces": [
  1401. "application/json"
  1402. ],
  1403. "tags": [
  1404. "企业风险管理(app)"
  1405. ],
  1406. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1407. "parameters": [
  1408. {
  1409. "type": "integer",
  1410. "description": "所属机构ID",
  1411. "name": "userid",
  1412. "in": "query",
  1413. "required": true
  1414. }
  1415. ],
  1416. "responses": {
  1417. "200": {
  1418. "description": "OK",
  1419. "schema": {
  1420. "type": "array",
  1421. "items": {
  1422. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1423. }
  1424. }
  1425. },
  1426. "500": {
  1427. "description": "Internal Server Error",
  1428. "schema": {
  1429. "$ref": "#/definitions/app.Response"
  1430. }
  1431. }
  1432. }
  1433. }
  1434. },
  1435. "/Ermcp/QueryBusinessDj": {
  1436. "get": {
  1437. "security": [
  1438. {
  1439. "ApiKeyAuth": []
  1440. }
  1441. ],
  1442. "produces": [
  1443. "application/json"
  1444. ],
  1445. "tags": [
  1446. "企业风险管理(app)"
  1447. ],
  1448. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1449. "parameters": [
  1450. {
  1451. "type": "integer",
  1452. "description": "用户ID",
  1453. "name": "UserId",
  1454. "in": "query",
  1455. "required": true
  1456. },
  1457. {
  1458. "type": "integer",
  1459. "description": "用户类型 2-机构 7-企业成员",
  1460. "name": "usertype",
  1461. "in": "query"
  1462. },
  1463. {
  1464. "type": "string",
  1465. "description": "现货合同ID, 不填则查所有",
  1466. "name": "relatedid",
  1467. "in": "query"
  1468. },
  1469. {
  1470. "type": "string",
  1471. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1472. "name": "applystatus",
  1473. "in": "query"
  1474. }
  1475. ],
  1476. "responses": {
  1477. "200": {
  1478. "description": "OK",
  1479. "schema": {
  1480. "type": "array",
  1481. "items": {
  1482. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1483. }
  1484. }
  1485. },
  1486. "500": {
  1487. "description": "Internal Server Error",
  1488. "schema": {
  1489. "$ref": "#/definitions/app.Response"
  1490. }
  1491. }
  1492. }
  1493. }
  1494. },
  1495. "/Ermcp/QueryBusinessFp": {
  1496. "get": {
  1497. "security": [
  1498. {
  1499. "ApiKeyAuth": []
  1500. }
  1501. ],
  1502. "produces": [
  1503. "application/json"
  1504. ],
  1505. "tags": [
  1506. "企业风险管理(app)"
  1507. ],
  1508. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1509. "parameters": [
  1510. {
  1511. "type": "integer",
  1512. "description": "用户ID",
  1513. "name": "UserId",
  1514. "in": "query",
  1515. "required": true
  1516. },
  1517. {
  1518. "type": "integer",
  1519. "description": "用户类型 2-机构 7-企业成员",
  1520. "name": "usertype",
  1521. "in": "query"
  1522. },
  1523. {
  1524. "type": "string",
  1525. "description": "现货合同ID, 不填则查所有",
  1526. "name": "relatedid",
  1527. "in": "query"
  1528. },
  1529. {
  1530. "type": "string",
  1531. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1532. "name": "applystatus",
  1533. "in": "query"
  1534. }
  1535. ],
  1536. "responses": {
  1537. "200": {
  1538. "description": "OK",
  1539. "schema": {
  1540. "type": "array",
  1541. "items": {
  1542. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1543. }
  1544. }
  1545. },
  1546. "500": {
  1547. "description": "Internal Server Error",
  1548. "schema": {
  1549. "$ref": "#/definitions/app.Response"
  1550. }
  1551. }
  1552. }
  1553. }
  1554. },
  1555. "/Ermcp/QueryBusinessJs": {
  1556. "get": {
  1557. "security": [
  1558. {
  1559. "ApiKeyAuth": []
  1560. }
  1561. ],
  1562. "produces": [
  1563. "application/json"
  1564. ],
  1565. "tags": [
  1566. "企业风险管理(app)"
  1567. ],
  1568. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1569. "parameters": [
  1570. {
  1571. "type": "integer",
  1572. "description": "用户ID",
  1573. "name": "UserId",
  1574. "in": "query",
  1575. "required": true
  1576. },
  1577. {
  1578. "type": "integer",
  1579. "description": "用户类型 2-机构 7-企业成员",
  1580. "name": "usertype",
  1581. "in": "query"
  1582. },
  1583. {
  1584. "type": "string",
  1585. "description": "现货合同ID, 不填则查所有",
  1586. "name": "relatedid",
  1587. "in": "query"
  1588. },
  1589. {
  1590. "type": "string",
  1591. "description": "操作申请id",
  1592. "name": "operateapplyid",
  1593. "in": "query"
  1594. },
  1595. {
  1596. "type": "string",
  1597. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1598. "name": "applystatus",
  1599. "in": "query"
  1600. }
  1601. ],
  1602. "responses": {
  1603. "200": {
  1604. "description": "OK",
  1605. "schema": {
  1606. "type": "array",
  1607. "items": {
  1608. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1609. }
  1610. }
  1611. },
  1612. "500": {
  1613. "description": "Internal Server Error",
  1614. "schema": {
  1615. "$ref": "#/definitions/app.Response"
  1616. }
  1617. }
  1618. }
  1619. }
  1620. },
  1621. "/Ermcp/QueryBusinessJsEx": {
  1622. "get": {
  1623. "security": [
  1624. {
  1625. "ApiKeyAuth": []
  1626. }
  1627. ],
  1628. "produces": [
  1629. "application/json"
  1630. ],
  1631. "tags": [
  1632. "企业风险管理(app)"
  1633. ],
  1634. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1635. "parameters": [
  1636. {
  1637. "type": "integer",
  1638. "description": "用户ID",
  1639. "name": "UserId",
  1640. "in": "query",
  1641. "required": true
  1642. },
  1643. {
  1644. "type": "integer",
  1645. "description": "用户类型 2-机构 7-企业成员",
  1646. "name": "usertype",
  1647. "in": "query"
  1648. },
  1649. {
  1650. "type": "string",
  1651. "description": "现货合同ID, 不填则查所有",
  1652. "name": "relatedid",
  1653. "in": "query"
  1654. },
  1655. {
  1656. "type": "string",
  1657. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1658. "name": "applystatus",
  1659. "in": "query"
  1660. }
  1661. ],
  1662. "responses": {
  1663. "200": {
  1664. "description": "OK",
  1665. "schema": {
  1666. "type": "array",
  1667. "items": {
  1668. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1669. }
  1670. }
  1671. },
  1672. "500": {
  1673. "description": "Internal Server Error",
  1674. "schema": {
  1675. "$ref": "#/definitions/app.Response"
  1676. }
  1677. }
  1678. }
  1679. }
  1680. },
  1681. "/Ermcp/QueryBusinessKx": {
  1682. "get": {
  1683. "security": [
  1684. {
  1685. "ApiKeyAuth": []
  1686. }
  1687. ],
  1688. "produces": [
  1689. "application/json"
  1690. ],
  1691. "tags": [
  1692. "企业风险管理(app)"
  1693. ],
  1694. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1695. "parameters": [
  1696. {
  1697. "type": "integer",
  1698. "description": "用户ID",
  1699. "name": "UserId",
  1700. "in": "query",
  1701. "required": true
  1702. },
  1703. {
  1704. "type": "integer",
  1705. "description": "用户类型 2-机构 7-企业成员",
  1706. "name": "usertype",
  1707. "in": "query"
  1708. },
  1709. {
  1710. "type": "string",
  1711. "description": "现货合同ID, 不填则查所有",
  1712. "name": "relatedid",
  1713. "in": "query"
  1714. },
  1715. {
  1716. "type": "string",
  1717. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1718. "name": "applystatus",
  1719. "in": "query"
  1720. }
  1721. ],
  1722. "responses": {
  1723. "200": {
  1724. "description": "OK",
  1725. "schema": {
  1726. "type": "array",
  1727. "items": {
  1728. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1729. }
  1730. }
  1731. },
  1732. "500": {
  1733. "description": "Internal Server Error",
  1734. "schema": {
  1735. "$ref": "#/definitions/app.Response"
  1736. }
  1737. }
  1738. }
  1739. }
  1740. },
  1741. "/Ermcp/QueryChangeLog": {
  1742. "get": {
  1743. "security": [
  1744. {
  1745. "ApiKeyAuth": []
  1746. }
  1747. ],
  1748. "produces": [
  1749. "application/json"
  1750. ],
  1751. "tags": [
  1752. "企业风险管理(app)"
  1753. ],
  1754. "summary": "查询变更记录",
  1755. "parameters": [
  1756. {
  1757. "type": "string",
  1758. "description": "合同ID",
  1759. "name": "RelatedId",
  1760. "in": "query",
  1761. "required": true
  1762. }
  1763. ],
  1764. "responses": {
  1765. "200": {
  1766. "description": "OK",
  1767. "schema": {
  1768. "type": "array",
  1769. "items": {
  1770. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1771. }
  1772. }
  1773. },
  1774. "500": {
  1775. "description": "Internal Server Error",
  1776. "schema": {
  1777. "$ref": "#/definitions/app.Response"
  1778. }
  1779. }
  1780. }
  1781. }
  1782. },
  1783. "/Ermcp/QueryErmcpHisOrderDetails": {
  1784. "get": {
  1785. "security": [
  1786. {
  1787. "ApiKeyAuth": []
  1788. }
  1789. ],
  1790. "produces": [
  1791. "application/json"
  1792. ],
  1793. "tags": [
  1794. "企业风险管理(app)"
  1795. ],
  1796. "summary": "获取企业风管期货历史委托单信息",
  1797. "parameters": [
  1798. {
  1799. "type": "integer",
  1800. "description": "资金账户ID",
  1801. "name": "accountID",
  1802. "in": "query",
  1803. "required": true
  1804. },
  1805. {
  1806. "type": "string",
  1807. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1808. "name": "startDate",
  1809. "in": "query"
  1810. },
  1811. {
  1812. "type": "string",
  1813. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1814. "name": "endDate",
  1815. "in": "query"
  1816. }
  1817. ],
  1818. "responses": {
  1819. "200": {
  1820. "description": "OK",
  1821. "schema": {
  1822. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1823. }
  1824. },
  1825. "500": {
  1826. "description": "Internal Server Error",
  1827. "schema": {
  1828. "$ref": "#/definitions/app.Response"
  1829. }
  1830. }
  1831. }
  1832. }
  1833. },
  1834. "/Ermcp/QueryErmcpHisTradeDetails": {
  1835. "get": {
  1836. "security": [
  1837. {
  1838. "ApiKeyAuth": []
  1839. }
  1840. ],
  1841. "produces": [
  1842. "application/json"
  1843. ],
  1844. "tags": [
  1845. "企业风险管理(app)"
  1846. ],
  1847. "summary": "获取企业风管期货历史成交单信息",
  1848. "parameters": [
  1849. {
  1850. "type": "integer",
  1851. "description": "资金账户ID",
  1852. "name": "accountID",
  1853. "in": "query",
  1854. "required": true
  1855. },
  1856. {
  1857. "type": "integer",
  1858. "description": "商品ID",
  1859. "name": "goodsID",
  1860. "in": "query"
  1861. },
  1862. {
  1863. "type": "integer",
  1864. "description": "买卖方向,0:买 1:卖",
  1865. "name": "buyOrSell",
  1866. "in": "query"
  1867. },
  1868. {
  1869. "type": "integer",
  1870. "description": "关联委托单号",
  1871. "name": "orderID",
  1872. "in": "query"
  1873. },
  1874. {
  1875. "type": "string",
  1876. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1877. "name": "startDate",
  1878. "in": "query"
  1879. },
  1880. {
  1881. "type": "string",
  1882. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1883. "name": "endDate",
  1884. "in": "query"
  1885. }
  1886. ],
  1887. "responses": {
  1888. "200": {
  1889. "description": "OK",
  1890. "schema": {
  1891. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1892. }
  1893. },
  1894. "500": {
  1895. "description": "Internal Server Error",
  1896. "schema": {
  1897. "$ref": "#/definitions/app.Response"
  1898. }
  1899. }
  1900. }
  1901. }
  1902. },
  1903. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1904. "get": {
  1905. "security": [
  1906. {
  1907. "ApiKeyAuth": []
  1908. }
  1909. ],
  1910. "produces": [
  1911. "application/json"
  1912. ],
  1913. "tags": [
  1914. "企业风险管理(app)"
  1915. ],
  1916. "summary": "获取企业风管期货内部持仓单信息",
  1917. "parameters": [
  1918. {
  1919. "type": "integer",
  1920. "description": "资金账户ID",
  1921. "name": "accountID",
  1922. "in": "query",
  1923. "required": true
  1924. },
  1925. {
  1926. "type": "integer",
  1927. "description": "商品ID",
  1928. "name": "goodsID",
  1929. "in": "query"
  1930. },
  1931. {
  1932. "type": "integer",
  1933. "description": "买卖方向,0:买 1:卖",
  1934. "name": "buyOrSell",
  1935. "in": "query"
  1936. }
  1937. ],
  1938. "responses": {
  1939. "200": {
  1940. "description": "OK",
  1941. "schema": {
  1942. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1943. }
  1944. },
  1945. "500": {
  1946. "description": "Internal Server Error",
  1947. "schema": {
  1948. "$ref": "#/definitions/app.Response"
  1949. }
  1950. }
  1951. }
  1952. }
  1953. },
  1954. "/Ermcp/QueryErmcpOrderDetails": {
  1955. "get": {
  1956. "security": [
  1957. {
  1958. "ApiKeyAuth": []
  1959. }
  1960. ],
  1961. "produces": [
  1962. "application/json"
  1963. ],
  1964. "tags": [
  1965. "企业风险管理(app)"
  1966. ],
  1967. "summary": "获取企业风管期货委托单信息",
  1968. "parameters": [
  1969. {
  1970. "type": "integer",
  1971. "description": "资金账户ID",
  1972. "name": "accountID",
  1973. "in": "query",
  1974. "required": true
  1975. }
  1976. ],
  1977. "responses": {
  1978. "200": {
  1979. "description": "OK",
  1980. "schema": {
  1981. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1982. }
  1983. },
  1984. "500": {
  1985. "description": "Internal Server Error",
  1986. "schema": {
  1987. "$ref": "#/definitions/app.Response"
  1988. }
  1989. }
  1990. }
  1991. }
  1992. },
  1993. "/Ermcp/QueryErmcpTradeDetails": {
  1994. "get": {
  1995. "security": [
  1996. {
  1997. "ApiKeyAuth": []
  1998. }
  1999. ],
  2000. "produces": [
  2001. "application/json"
  2002. ],
  2003. "tags": [
  2004. "企业风险管理(app)"
  2005. ],
  2006. "summary": "获取企业风管期货成交单信息",
  2007. "parameters": [
  2008. {
  2009. "type": "integer",
  2010. "description": "资金账户ID",
  2011. "name": "accountID",
  2012. "in": "query",
  2013. "required": true
  2014. },
  2015. {
  2016. "type": "integer",
  2017. "description": "商品ID",
  2018. "name": "goodsID",
  2019. "in": "query"
  2020. },
  2021. {
  2022. "type": "integer",
  2023. "description": "买卖方向,0:买 1:卖",
  2024. "name": "buyOrSell",
  2025. "in": "query"
  2026. },
  2027. {
  2028. "type": "integer",
  2029. "description": "关联委托单号",
  2030. "name": "orderID",
  2031. "in": "query"
  2032. }
  2033. ],
  2034. "responses": {
  2035. "200": {
  2036. "description": "OK",
  2037. "schema": {
  2038. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2039. }
  2040. },
  2041. "500": {
  2042. "description": "Internal Server Error",
  2043. "schema": {
  2044. "$ref": "#/definitions/app.Response"
  2045. }
  2046. }
  2047. }
  2048. }
  2049. },
  2050. "/Ermcp/QueryErmcpTradePosition": {
  2051. "get": {
  2052. "security": [
  2053. {
  2054. "ApiKeyAuth": []
  2055. }
  2056. ],
  2057. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2058. "produces": [
  2059. "application/json"
  2060. ],
  2061. "tags": [
  2062. "企业风险管理(app)"
  2063. ],
  2064. "summary": "获取企业风管期货持仓头寸信息",
  2065. "parameters": [
  2066. {
  2067. "type": "integer",
  2068. "description": "资金账户ID",
  2069. "name": "accountID",
  2070. "in": "query",
  2071. "required": true
  2072. },
  2073. {
  2074. "type": "integer",
  2075. "description": "所属市场ID",
  2076. "name": "marketID",
  2077. "in": "query"
  2078. }
  2079. ],
  2080. "responses": {
  2081. "200": {
  2082. "description": "OK",
  2083. "schema": {
  2084. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2085. }
  2086. },
  2087. "500": {
  2088. "description": "Internal Server Error",
  2089. "schema": {
  2090. "$ref": "#/definitions/app.Response"
  2091. }
  2092. }
  2093. }
  2094. }
  2095. },
  2096. "/Ermcp/QueryExposureDetail": {
  2097. "get": {
  2098. "security": [
  2099. {
  2100. "ApiKeyAuth": []
  2101. }
  2102. ],
  2103. "produces": [
  2104. "application/json"
  2105. ],
  2106. "tags": [
  2107. "企业风险管理(app)"
  2108. ],
  2109. "summary": "查询敞口现货明细",
  2110. "parameters": [
  2111. {
  2112. "type": "integer",
  2113. "description": "所属机构ID",
  2114. "name": "areaUserId",
  2115. "in": "query",
  2116. "required": true
  2117. },
  2118. {
  2119. "type": "integer",
  2120. "description": "套保商品",
  2121. "name": "middleGoodsId",
  2122. "in": "query",
  2123. "required": true
  2124. }
  2125. ],
  2126. "responses": {
  2127. "200": {
  2128. "description": "OK",
  2129. "schema": {
  2130. "type": "array",
  2131. "items": {
  2132. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2133. }
  2134. }
  2135. },
  2136. "500": {
  2137. "description": "Internal Server Error",
  2138. "schema": {
  2139. "$ref": "#/definitions/app.Response"
  2140. }
  2141. }
  2142. }
  2143. }
  2144. },
  2145. "/Ermcp/QueryExposureGoods": {
  2146. "get": {
  2147. "security": [
  2148. {
  2149. "ApiKeyAuth": []
  2150. }
  2151. ],
  2152. "produces": [
  2153. "application/json"
  2154. ],
  2155. "tags": [
  2156. "企业风险管理(app)"
  2157. ],
  2158. "summary": "查询敞口主力合约",
  2159. "parameters": [
  2160. {
  2161. "type": "integer",
  2162. "description": "套保商品id",
  2163. "name": "middlegoodsid",
  2164. "in": "query",
  2165. "required": true
  2166. }
  2167. ],
  2168. "responses": {
  2169. "200": {
  2170. "description": "OK",
  2171. "schema": {
  2172. "type": "array",
  2173. "items": {
  2174. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2175. }
  2176. }
  2177. },
  2178. "500": {
  2179. "description": "Internal Server Error",
  2180. "schema": {
  2181. "$ref": "#/definitions/app.Response"
  2182. }
  2183. }
  2184. }
  2185. }
  2186. },
  2187. "/Ermcp/QueryExposureHedgePosition": {
  2188. "get": {
  2189. "security": [
  2190. {
  2191. "ApiKeyAuth": []
  2192. }
  2193. ],
  2194. "produces": [
  2195. "application/json"
  2196. ],
  2197. "tags": [
  2198. "企业风险管理(app)"
  2199. ],
  2200. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2201. "parameters": [
  2202. {
  2203. "type": "integer",
  2204. "description": "用户id",
  2205. "name": "userid",
  2206. "in": "query",
  2207. "required": true
  2208. }
  2209. ],
  2210. "responses": {
  2211. "200": {
  2212. "description": "OK",
  2213. "schema": {
  2214. "type": "array",
  2215. "items": {
  2216. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2217. }
  2218. }
  2219. },
  2220. "500": {
  2221. "description": "Internal Server Error",
  2222. "schema": {
  2223. "$ref": "#/definitions/app.Response"
  2224. }
  2225. }
  2226. }
  2227. }
  2228. },
  2229. "/Ermcp/QueryExposureHedgePositionDetail": {
  2230. "get": {
  2231. "security": [
  2232. {
  2233. "ApiKeyAuth": []
  2234. }
  2235. ],
  2236. "produces": [
  2237. "application/json"
  2238. ],
  2239. "tags": [
  2240. "企业风险管理(app)"
  2241. ],
  2242. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2243. "parameters": [
  2244. {
  2245. "type": "integer",
  2246. "description": "所属机构ID",
  2247. "name": "userid",
  2248. "in": "query",
  2249. "required": true
  2250. },
  2251. {
  2252. "type": "integer",
  2253. "description": "商品id",
  2254. "name": "goodsId",
  2255. "in": "query",
  2256. "required": true
  2257. }
  2258. ],
  2259. "responses": {
  2260. "200": {
  2261. "description": "OK",
  2262. "schema": {
  2263. "type": "array",
  2264. "items": {
  2265. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2266. }
  2267. }
  2268. },
  2269. "500": {
  2270. "description": "Internal Server Error",
  2271. "schema": {
  2272. "$ref": "#/definitions/app.Response"
  2273. }
  2274. }
  2275. }
  2276. }
  2277. },
  2278. "/Ermcp/QueryExposureSpot": {
  2279. "get": {
  2280. "security": [
  2281. {
  2282. "ApiKeyAuth": []
  2283. }
  2284. ],
  2285. "produces": [
  2286. "application/json"
  2287. ],
  2288. "tags": [
  2289. "企业风险管理(app)"
  2290. ],
  2291. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2292. "parameters": [
  2293. {
  2294. "type": "integer",
  2295. "description": "所属机构ID",
  2296. "name": "areaUserId",
  2297. "in": "query",
  2298. "required": true
  2299. }
  2300. ],
  2301. "responses": {
  2302. "200": {
  2303. "description": "OK",
  2304. "schema": {
  2305. "type": "array",
  2306. "items": {
  2307. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2308. }
  2309. }
  2310. },
  2311. "500": {
  2312. "description": "Internal Server Error",
  2313. "schema": {
  2314. "$ref": "#/definitions/app.Response"
  2315. }
  2316. }
  2317. }
  2318. }
  2319. },
  2320. "/Ermcp/QueryExposureSpotDetail": {
  2321. "get": {
  2322. "security": [
  2323. {
  2324. "ApiKeyAuth": []
  2325. }
  2326. ],
  2327. "produces": [
  2328. "application/json"
  2329. ],
  2330. "tags": [
  2331. "企业风险管理(app)"
  2332. ],
  2333. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2334. "parameters": [
  2335. {
  2336. "type": "integer",
  2337. "description": "所属机构ID",
  2338. "name": "areaUserId",
  2339. "in": "query",
  2340. "required": true
  2341. },
  2342. {
  2343. "type": "integer",
  2344. "description": "现货品种ID",
  2345. "name": "wrstandardId",
  2346. "in": "query",
  2347. "required": true
  2348. }
  2349. ],
  2350. "responses": {
  2351. "200": {
  2352. "description": "OK",
  2353. "schema": {
  2354. "type": "array",
  2355. "items": {
  2356. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2357. }
  2358. }
  2359. },
  2360. "500": {
  2361. "description": "Internal Server Error",
  2362. "schema": {
  2363. "$ref": "#/definitions/app.Response"
  2364. }
  2365. }
  2366. }
  2367. }
  2368. },
  2369. "/Ermcp/QueryFuturesCompany": {
  2370. "get": {
  2371. "security": [
  2372. {
  2373. "ApiKeyAuth": []
  2374. }
  2375. ],
  2376. "produces": [
  2377. "application/json"
  2378. ],
  2379. "tags": [
  2380. "企业风险管理(app)"
  2381. ],
  2382. "summary": "查询期货公司",
  2383. "responses": {
  2384. "200": {
  2385. "description": "OK",
  2386. "schema": {
  2387. "type": "array",
  2388. "items": {
  2389. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2390. }
  2391. }
  2392. },
  2393. "500": {
  2394. "description": "Internal Server Error",
  2395. "schema": {
  2396. "$ref": "#/definitions/app.Response"
  2397. }
  2398. }
  2399. }
  2400. }
  2401. },
  2402. "/Ermcp/QueryGGConvertConfig": {
  2403. "get": {
  2404. "security": [
  2405. {
  2406. "ApiKeyAuth": []
  2407. }
  2408. ],
  2409. "produces": [
  2410. "application/json"
  2411. ],
  2412. "tags": [
  2413. "企业风险管理(app)"
  2414. ],
  2415. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2416. "parameters": [
  2417. {
  2418. "type": "integer",
  2419. "description": "品种id(不填则查所有)",
  2420. "name": "goodsgroupid",
  2421. "in": "query"
  2422. }
  2423. ],
  2424. "responses": {
  2425. "200": {
  2426. "description": "OK",
  2427. "schema": {
  2428. "type": "array",
  2429. "items": {
  2430. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2431. }
  2432. }
  2433. },
  2434. "500": {
  2435. "description": "Internal Server Error",
  2436. "schema": {
  2437. "$ref": "#/definitions/app.Response"
  2438. }
  2439. }
  2440. }
  2441. }
  2442. },
  2443. "/Ermcp/QueryGoodsBrand": {
  2444. "get": {
  2445. "security": [
  2446. {
  2447. "ApiKeyAuth": []
  2448. }
  2449. ],
  2450. "produces": [
  2451. "application/json"
  2452. ],
  2453. "tags": [
  2454. "企业风险管理(app)"
  2455. ],
  2456. "summary": "查询商品品牌",
  2457. "parameters": [
  2458. {
  2459. "type": "integer",
  2460. "description": "用户ID",
  2461. "name": "userid",
  2462. "in": "query",
  2463. "required": true
  2464. },
  2465. {
  2466. "type": "integer",
  2467. "description": "现货商品ID",
  2468. "name": "wrstandardid",
  2469. "in": "query"
  2470. }
  2471. ],
  2472. "responses": {
  2473. "200": {
  2474. "description": "OK",
  2475. "schema": {
  2476. "type": "array",
  2477. "items": {
  2478. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2479. }
  2480. }
  2481. },
  2482. "500": {
  2483. "description": "Internal Server Error",
  2484. "schema": {
  2485. "$ref": "#/definitions/app.Response"
  2486. }
  2487. }
  2488. }
  2489. }
  2490. },
  2491. "/Ermcp/QueryGoodsModel": {
  2492. "get": {
  2493. "security": [
  2494. {
  2495. "ApiKeyAuth": []
  2496. }
  2497. ],
  2498. "produces": [
  2499. "application/json"
  2500. ],
  2501. "tags": [
  2502. "企业风险管理(app)"
  2503. ],
  2504. "summary": "查询商品型号",
  2505. "parameters": [
  2506. {
  2507. "type": "integer",
  2508. "description": "用户ID",
  2509. "name": "userid",
  2510. "in": "query",
  2511. "required": true
  2512. }
  2513. ],
  2514. "responses": {
  2515. "200": {
  2516. "description": "OK",
  2517. "schema": {
  2518. "type": "array",
  2519. "items": {
  2520. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2521. }
  2522. }
  2523. },
  2524. "500": {
  2525. "description": "Internal Server Error",
  2526. "schema": {
  2527. "$ref": "#/definitions/app.Response"
  2528. }
  2529. }
  2530. }
  2531. }
  2532. },
  2533. "/Ermcp/QueryHisExposure": {
  2534. "get": {
  2535. "security": [
  2536. {
  2537. "ApiKeyAuth": []
  2538. }
  2539. ],
  2540. "produces": [
  2541. "application/json"
  2542. ],
  2543. "tags": [
  2544. "企业风险管理(app)"
  2545. ],
  2546. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2547. "parameters": [
  2548. {
  2549. "type": "integer",
  2550. "description": "用户id",
  2551. "name": "userid",
  2552. "in": "query",
  2553. "required": true
  2554. },
  2555. {
  2556. "type": "integer",
  2557. "description": "每个品种记录数",
  2558. "name": "lastNum",
  2559. "in": "query",
  2560. "required": true
  2561. }
  2562. ],
  2563. "responses": {
  2564. "200": {
  2565. "description": "OK",
  2566. "schema": {
  2567. "type": "array",
  2568. "items": {
  2569. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2570. }
  2571. }
  2572. },
  2573. "500": {
  2574. "description": "Internal Server Error",
  2575. "schema": {
  2576. "$ref": "#/definitions/app.Response"
  2577. }
  2578. }
  2579. }
  2580. }
  2581. },
  2582. "/Ermcp/QueryMiddleGoods": {
  2583. "get": {
  2584. "security": [
  2585. {
  2586. "ApiKeyAuth": []
  2587. }
  2588. ],
  2589. "produces": [
  2590. "application/json"
  2591. ],
  2592. "tags": [
  2593. "企业风险管理(app)"
  2594. ],
  2595. "summary": "查询套保品种(菜单:套保品种)",
  2596. "parameters": [
  2597. {
  2598. "type": "integer",
  2599. "description": "所属机构ID",
  2600. "name": "userid",
  2601. "in": "query",
  2602. "required": true
  2603. },
  2604. {
  2605. "type": "integer",
  2606. "description": "状态 0-停用 1-正常",
  2607. "name": "status",
  2608. "in": "query",
  2609. "required": true
  2610. }
  2611. ],
  2612. "responses": {
  2613. "200": {
  2614. "description": "OK",
  2615. "schema": {
  2616. "type": "array",
  2617. "items": {
  2618. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2619. }
  2620. }
  2621. },
  2622. "500": {
  2623. "description": "Internal Server Error",
  2624. "schema": {
  2625. "$ref": "#/definitions/app.Response"
  2626. }
  2627. }
  2628. }
  2629. }
  2630. },
  2631. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2632. "get": {
  2633. "security": [
  2634. {
  2635. "ApiKeyAuth": []
  2636. }
  2637. ],
  2638. "produces": [
  2639. "application/json"
  2640. ],
  2641. "tags": [
  2642. "企业风险管理(app)"
  2643. ],
  2644. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2645. "parameters": [
  2646. {
  2647. "type": "integer",
  2648. "description": "所属机构ID",
  2649. "name": "userid",
  2650. "in": "query",
  2651. "required": true
  2652. },
  2653. {
  2654. "type": "integer",
  2655. "description": "套保品种id",
  2656. "name": "middlegoodsid",
  2657. "in": "query",
  2658. "required": true
  2659. }
  2660. ],
  2661. "responses": {
  2662. "200": {
  2663. "description": "OK",
  2664. "schema": {
  2665. "type": "array",
  2666. "items": {
  2667. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2668. }
  2669. }
  2670. },
  2671. "500": {
  2672. "description": "Internal Server Error",
  2673. "schema": {
  2674. "$ref": "#/definitions/app.Response"
  2675. }
  2676. }
  2677. }
  2678. }
  2679. },
  2680. "/Ermcp/QueryMiddleGoodsDetail": {
  2681. "get": {
  2682. "security": [
  2683. {
  2684. "ApiKeyAuth": []
  2685. }
  2686. ],
  2687. "produces": [
  2688. "application/json"
  2689. ],
  2690. "tags": [
  2691. "企业风险管理(app)"
  2692. ],
  2693. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2694. "parameters": [
  2695. {
  2696. "type": "integer",
  2697. "description": "所属机构ID",
  2698. "name": "userid",
  2699. "in": "query",
  2700. "required": true
  2701. },
  2702. {
  2703. "type": "integer",
  2704. "description": "套保品种id",
  2705. "name": "middlegoodsid",
  2706. "in": "query"
  2707. }
  2708. ],
  2709. "responses": {
  2710. "200": {
  2711. "description": "OK",
  2712. "schema": {
  2713. "type": "array",
  2714. "items": {
  2715. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2716. }
  2717. }
  2718. },
  2719. "500": {
  2720. "description": "Internal Server Error",
  2721. "schema": {
  2722. "$ref": "#/definitions/app.Response"
  2723. }
  2724. }
  2725. }
  2726. }
  2727. },
  2728. "/Ermcp/QueryPendingAuditInfo": {
  2729. "get": {
  2730. "security": [
  2731. {
  2732. "ApiKeyAuth": []
  2733. }
  2734. ],
  2735. "produces": [
  2736. "application/json"
  2737. ],
  2738. "tags": [
  2739. "企业风险管理(app)"
  2740. ],
  2741. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2742. "parameters": [
  2743. {
  2744. "type": "integer",
  2745. "description": "用户ID",
  2746. "name": "UserId",
  2747. "in": "query",
  2748. "required": true
  2749. }
  2750. ],
  2751. "responses": {
  2752. "200": {
  2753. "description": "OK",
  2754. "schema": {
  2755. "type": "array",
  2756. "items": {
  2757. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2758. }
  2759. }
  2760. },
  2761. "500": {
  2762. "description": "Internal Server Error",
  2763. "schema": {
  2764. "$ref": "#/definitions/app.Response"
  2765. }
  2766. }
  2767. }
  2768. }
  2769. },
  2770. "/Ermcp/QueryRealtimeExposure": {
  2771. "get": {
  2772. "security": [
  2773. {
  2774. "ApiKeyAuth": []
  2775. }
  2776. ],
  2777. "produces": [
  2778. "application/json"
  2779. ],
  2780. "tags": [
  2781. "企业风险管理(app)"
  2782. ],
  2783. "summary": "查询实时敞口",
  2784. "parameters": [
  2785. {
  2786. "type": "integer",
  2787. "description": "所属机构ID",
  2788. "name": "userid",
  2789. "in": "query",
  2790. "required": true
  2791. }
  2792. ],
  2793. "responses": {
  2794. "200": {
  2795. "description": "OK",
  2796. "schema": {
  2797. "type": "array",
  2798. "items": {
  2799. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2800. }
  2801. }
  2802. },
  2803. "500": {
  2804. "description": "Internal Server Error",
  2805. "schema": {
  2806. "$ref": "#/definitions/app.Response"
  2807. }
  2808. }
  2809. }
  2810. }
  2811. },
  2812. "/Ermcp/QueryRealtimeExposurePosition": {
  2813. "get": {
  2814. "security": [
  2815. {
  2816. "ApiKeyAuth": []
  2817. }
  2818. ],
  2819. "produces": [
  2820. "application/json"
  2821. ],
  2822. "tags": [
  2823. "企业风险管理(app)"
  2824. ],
  2825. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2826. "parameters": [
  2827. {
  2828. "type": "integer",
  2829. "description": "用户id",
  2830. "name": "userid",
  2831. "in": "query",
  2832. "required": true
  2833. },
  2834. {
  2835. "type": "integer",
  2836. "description": "套保商品ID",
  2837. "name": "middleGoodsId",
  2838. "in": "query",
  2839. "required": true
  2840. }
  2841. ],
  2842. "responses": {
  2843. "200": {
  2844. "description": "OK",
  2845. "schema": {
  2846. "type": "array",
  2847. "items": {
  2848. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2849. }
  2850. }
  2851. },
  2852. "500": {
  2853. "description": "Internal Server Error",
  2854. "schema": {
  2855. "$ref": "#/definitions/app.Response"
  2856. }
  2857. }
  2858. }
  2859. }
  2860. },
  2861. "/Ermcp/QueryRoleMenu": {
  2862. "get": {
  2863. "security": [
  2864. {
  2865. "ApiKeyAuth": []
  2866. }
  2867. ],
  2868. "produces": [
  2869. "application/json"
  2870. ],
  2871. "tags": [
  2872. "企业风险管理(app)"
  2873. ],
  2874. "summary": "查询角色菜单和权限",
  2875. "parameters": [
  2876. {
  2877. "type": "integer",
  2878. "description": "登录ID",
  2879. "name": "loginid",
  2880. "in": "query",
  2881. "required": true
  2882. },
  2883. {
  2884. "type": "integer",
  2885. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2886. "name": "menutype",
  2887. "in": "query"
  2888. }
  2889. ],
  2890. "responses": {
  2891. "200": {
  2892. "description": "OK",
  2893. "schema": {
  2894. "type": "array",
  2895. "items": {
  2896. "$ref": "#/definitions/models.RoleMenu"
  2897. }
  2898. }
  2899. },
  2900. "500": {
  2901. "description": "Internal Server Error",
  2902. "schema": {
  2903. "$ref": "#/definitions/app.Response"
  2904. }
  2905. }
  2906. }
  2907. }
  2908. },
  2909. "/Ermcp/QueryTradeConfigTMP": {
  2910. "get": {
  2911. "security": [
  2912. {
  2913. "ApiKeyAuth": []
  2914. }
  2915. ],
  2916. "produces": [
  2917. "application/json"
  2918. ],
  2919. "tags": [
  2920. "企业风险管理(app)"
  2921. ],
  2922. "summary": "查询交易模板配置",
  2923. "parameters": [
  2924. {
  2925. "type": "integer",
  2926. "description": "所属机构id",
  2927. "name": "areauserid",
  2928. "in": "query"
  2929. }
  2930. ],
  2931. "responses": {
  2932. "200": {
  2933. "description": "OK",
  2934. "schema": {
  2935. "type": "array",
  2936. "items": {
  2937. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2938. }
  2939. }
  2940. },
  2941. "500": {
  2942. "description": "Internal Server Error",
  2943. "schema": {
  2944. "$ref": "#/definitions/app.Response"
  2945. }
  2946. }
  2947. }
  2948. }
  2949. },
  2950. "/Ermcp/QueryUserInfo": {
  2951. "get": {
  2952. "security": [
  2953. {
  2954. "ApiKeyAuth": []
  2955. }
  2956. ],
  2957. "produces": [
  2958. "application/json"
  2959. ],
  2960. "tags": [
  2961. "企业风险管理(app)"
  2962. ],
  2963. "summary": "查询客户资料",
  2964. "parameters": [
  2965. {
  2966. "type": "integer",
  2967. "description": "所属机构用户ID",
  2968. "name": "MemberUserID",
  2969. "in": "query",
  2970. "required": true
  2971. },
  2972. {
  2973. "type": "integer",
  2974. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2975. "name": "queryType",
  2976. "in": "query",
  2977. "required": true
  2978. }
  2979. ],
  2980. "responses": {
  2981. "200": {
  2982. "description": "OK",
  2983. "schema": {
  2984. "type": "array",
  2985. "items": {
  2986. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2987. }
  2988. }
  2989. },
  2990. "500": {
  2991. "description": "Internal Server Error",
  2992. "schema": {
  2993. "$ref": "#/definitions/app.Response"
  2994. }
  2995. }
  2996. }
  2997. }
  2998. },
  2999. "/Ermcp/QueryWarehouseInfo": {
  3000. "get": {
  3001. "security": [
  3002. {
  3003. "ApiKeyAuth": []
  3004. }
  3005. ],
  3006. "produces": [
  3007. "application/json"
  3008. ],
  3009. "tags": [
  3010. "企业风险管理(app)"
  3011. ],
  3012. "summary": "查询仓库信息",
  3013. "parameters": [
  3014. {
  3015. "type": "integer",
  3016. "description": "用户ID",
  3017. "name": "userid",
  3018. "in": "query",
  3019. "required": true
  3020. },
  3021. {
  3022. "type": "string",
  3023. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3024. "name": "status",
  3025. "in": "query"
  3026. }
  3027. ],
  3028. "responses": {
  3029. "200": {
  3030. "description": "OK",
  3031. "schema": {
  3032. "type": "array",
  3033. "items": {
  3034. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3035. }
  3036. }
  3037. },
  3038. "500": {
  3039. "description": "Internal Server Error",
  3040. "schema": {
  3041. "$ref": "#/definitions/app.Response"
  3042. }
  3043. }
  3044. }
  3045. }
  3046. },
  3047. "/Ermcp3/QryAreaExpourseContractDetail": {
  3048. "get": {
  3049. "security": [
  3050. {
  3051. "ApiKeyAuth": []
  3052. }
  3053. ],
  3054. "produces": [
  3055. "application/json"
  3056. ],
  3057. "tags": [
  3058. "企业风险管理v3(app)"
  3059. ],
  3060. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3061. "parameters": [
  3062. {
  3063. "type": "integer",
  3064. "description": "用户ID",
  3065. "name": "userid",
  3066. "in": "query",
  3067. "required": true
  3068. },
  3069. {
  3070. "type": "integer",
  3071. "description": "套保商品id",
  3072. "name": "middlegoodsid",
  3073. "in": "query",
  3074. "required": true
  3075. },
  3076. {
  3077. "type": "integer",
  3078. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3079. "name": "cycletype",
  3080. "in": "query",
  3081. "required": true
  3082. },
  3083. {
  3084. "type": "string",
  3085. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3086. "name": "cycletime",
  3087. "in": "query",
  3088. "required": true
  3089. }
  3090. ],
  3091. "responses": {
  3092. "200": {
  3093. "description": "OK",
  3094. "schema": {
  3095. "type": "array",
  3096. "items": {
  3097. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3098. }
  3099. }
  3100. },
  3101. "500": {
  3102. "description": "Internal Server Error",
  3103. "schema": {
  3104. "$ref": "#/definitions/app.Response"
  3105. }
  3106. }
  3107. }
  3108. }
  3109. },
  3110. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3111. "get": {
  3112. "security": [
  3113. {
  3114. "ApiKeyAuth": []
  3115. }
  3116. ],
  3117. "produces": [
  3118. "application/json"
  3119. ],
  3120. "tags": [
  3121. "企业风险管理v3(app)"
  3122. ],
  3123. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3124. "parameters": [
  3125. {
  3126. "type": "integer",
  3127. "description": "用户ID",
  3128. "name": "userid",
  3129. "in": "query",
  3130. "required": true
  3131. },
  3132. {
  3133. "type": "integer",
  3134. "description": "套保商品id",
  3135. "name": "middlegoodsid",
  3136. "in": "query",
  3137. "required": true
  3138. },
  3139. {
  3140. "type": "integer",
  3141. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3142. "name": "cycletype",
  3143. "in": "query",
  3144. "required": true
  3145. },
  3146. {
  3147. "type": "string",
  3148. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3149. "name": "cycletime",
  3150. "in": "query",
  3151. "required": true
  3152. }
  3153. ],
  3154. "responses": {
  3155. "200": {
  3156. "description": "OK",
  3157. "schema": {
  3158. "type": "array",
  3159. "items": {
  3160. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3161. }
  3162. }
  3163. },
  3164. "500": {
  3165. "description": "Internal Server Error",
  3166. "schema": {
  3167. "$ref": "#/definitions/app.Response"
  3168. }
  3169. }
  3170. }
  3171. }
  3172. },
  3173. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3174. "get": {
  3175. "security": [
  3176. {
  3177. "ApiKeyAuth": []
  3178. }
  3179. ],
  3180. "produces": [
  3181. "application/json"
  3182. ],
  3183. "tags": [
  3184. "企业风险管理v3(app)"
  3185. ],
  3186. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3187. "parameters": [
  3188. {
  3189. "type": "integer",
  3190. "description": "用户ID",
  3191. "name": "userid",
  3192. "in": "query",
  3193. "required": true
  3194. },
  3195. {
  3196. "type": "integer",
  3197. "description": "套保商品id",
  3198. "name": "middlegoodsid",
  3199. "in": "query",
  3200. "required": true
  3201. },
  3202. {
  3203. "type": "integer",
  3204. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3205. "name": "cycletype",
  3206. "in": "query",
  3207. "required": true
  3208. },
  3209. {
  3210. "type": "string",
  3211. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3212. "name": "cycletime",
  3213. "in": "query",
  3214. "required": true
  3215. }
  3216. ],
  3217. "responses": {
  3218. "200": {
  3219. "description": "OK",
  3220. "schema": {
  3221. "type": "array",
  3222. "items": {
  3223. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3224. }
  3225. }
  3226. },
  3227. "500": {
  3228. "description": "Internal Server Error",
  3229. "schema": {
  3230. "$ref": "#/definitions/app.Response"
  3231. }
  3232. }
  3233. }
  3234. }
  3235. },
  3236. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3237. "get": {
  3238. "security": [
  3239. {
  3240. "ApiKeyAuth": []
  3241. }
  3242. ],
  3243. "produces": [
  3244. "application/json"
  3245. ],
  3246. "tags": [
  3247. "企业风险管理v3(app)"
  3248. ],
  3249. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3250. "parameters": [
  3251. {
  3252. "type": "integer",
  3253. "description": "用户ID",
  3254. "name": "userid",
  3255. "in": "query",
  3256. "required": true
  3257. },
  3258. {
  3259. "type": "integer",
  3260. "description": "套保商品id",
  3261. "name": "middlegoodsid",
  3262. "in": "query",
  3263. "required": true
  3264. },
  3265. {
  3266. "type": "integer",
  3267. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3268. "name": "cycletype",
  3269. "in": "query",
  3270. "required": true
  3271. },
  3272. {
  3273. "type": "string",
  3274. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3275. "name": "cycletime",
  3276. "in": "query",
  3277. "required": true
  3278. }
  3279. ],
  3280. "responses": {
  3281. "200": {
  3282. "description": "OK",
  3283. "schema": {
  3284. "type": "array",
  3285. "items": {
  3286. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3287. }
  3288. }
  3289. },
  3290. "500": {
  3291. "description": "Internal Server Error",
  3292. "schema": {
  3293. "$ref": "#/definitions/app.Response"
  3294. }
  3295. }
  3296. }
  3297. }
  3298. },
  3299. "/Ermcp3/QryAreaExpourseReport": {
  3300. "get": {
  3301. "security": [
  3302. {
  3303. "ApiKeyAuth": []
  3304. }
  3305. ],
  3306. "produces": [
  3307. "application/json"
  3308. ],
  3309. "tags": [
  3310. "企业风险管理v3(app)"
  3311. ],
  3312. "summary": "查询敞口报表",
  3313. "parameters": [
  3314. {
  3315. "type": "integer",
  3316. "description": "用户ID",
  3317. "name": "userid",
  3318. "in": "query",
  3319. "required": true
  3320. },
  3321. {
  3322. "type": "integer",
  3323. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3324. "name": "querytype",
  3325. "in": "query",
  3326. "required": true
  3327. },
  3328. {
  3329. "type": "integer",
  3330. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3331. "name": "cycletype",
  3332. "in": "query",
  3333. "required": true
  3334. },
  3335. {
  3336. "type": "string",
  3337. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3338. "name": "cycletime",
  3339. "in": "query",
  3340. "required": true
  3341. }
  3342. ],
  3343. "responses": {
  3344. "200": {
  3345. "description": "OK",
  3346. "schema": {
  3347. "type": "array",
  3348. "items": {
  3349. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3350. }
  3351. }
  3352. },
  3353. "500": {
  3354. "description": "Internal Server Error",
  3355. "schema": {
  3356. "$ref": "#/definitions/app.Response"
  3357. }
  3358. }
  3359. }
  3360. }
  3361. },
  3362. "/Ermcp3/QryAreaSpotplReport": {
  3363. "get": {
  3364. "security": [
  3365. {
  3366. "ApiKeyAuth": []
  3367. }
  3368. ],
  3369. "description": "目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1",
  3370. "produces": [
  3371. "application/json"
  3372. ],
  3373. "tags": [
  3374. "企业风险管理v3(app)"
  3375. ],
  3376. "summary": "查询现货报表",
  3377. "parameters": [
  3378. {
  3379. "type": "integer",
  3380. "description": "用户ID",
  3381. "name": "userid",
  3382. "in": "query",
  3383. "required": true
  3384. },
  3385. {
  3386. "type": "integer",
  3387. "description": "查询类型 1-报表 2-报表明细",
  3388. "name": "querytype",
  3389. "in": "query",
  3390. "required": true
  3391. },
  3392. {
  3393. "type": "integer",
  3394. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3395. "name": "cycletype",
  3396. "in": "query",
  3397. "required": true
  3398. },
  3399. {
  3400. "type": "string",
  3401. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3402. "name": "cycletime",
  3403. "in": "query",
  3404. "required": true
  3405. },
  3406. {
  3407. "type": "integer",
  3408. "description": "现货品种id(明细必填)",
  3409. "name": "deliverygoodsid",
  3410. "in": "query"
  3411. },
  3412. {
  3413. "type": "integer",
  3414. "description": "币种id(明细必填)",
  3415. "name": "currencyid",
  3416. "in": "query"
  3417. },
  3418. {
  3419. "type": "integer",
  3420. "description": "日/周/月报表汇总维度 1:品种+品类",
  3421. "name": "sumflag",
  3422. "in": "query"
  3423. }
  3424. ],
  3425. "responses": {
  3426. "200": {
  3427. "description": "OK",
  3428. "schema": {
  3429. "type": "array",
  3430. "items": {
  3431. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3432. }
  3433. }
  3434. },
  3435. "500": {
  3436. "description": "Internal Server Error",
  3437. "schema": {
  3438. "$ref": "#/definitions/app.Response"
  3439. }
  3440. }
  3441. }
  3442. }
  3443. },
  3444. "/Ermcp3/QryAreaStockReport": {
  3445. "get": {
  3446. "security": [
  3447. {
  3448. "ApiKeyAuth": []
  3449. }
  3450. ],
  3451. "produces": [
  3452. "application/json"
  3453. ],
  3454. "tags": [
  3455. "企业风险管理v3(app)"
  3456. ],
  3457. "summary": "查询库存报表",
  3458. "parameters": [
  3459. {
  3460. "type": "integer",
  3461. "description": "用户ID",
  3462. "name": "userid",
  3463. "in": "query",
  3464. "required": true
  3465. },
  3466. {
  3467. "type": "integer",
  3468. "description": "查询类型 1-报表 2-报表明细",
  3469. "name": "querytype",
  3470. "in": "query",
  3471. "required": true
  3472. },
  3473. {
  3474. "type": "integer",
  3475. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3476. "name": "cycletype",
  3477. "in": "query",
  3478. "required": true
  3479. },
  3480. {
  3481. "type": "string",
  3482. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3483. "name": "cycletime",
  3484. "in": "query",
  3485. "required": true
  3486. },
  3487. {
  3488. "type": "string",
  3489. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3490. "name": "sumfields",
  3491. "in": "query"
  3492. },
  3493. {
  3494. "type": "integer",
  3495. "description": "品种ID",
  3496. "name": "deliverygoodsid",
  3497. "in": "query"
  3498. },
  3499. {
  3500. "type": "integer",
  3501. "description": "品类ID",
  3502. "name": "wrstandardid",
  3503. "in": "query"
  3504. },
  3505. {
  3506. "type": "integer",
  3507. "description": "品牌ID",
  3508. "name": "spotgoodsbrandid",
  3509. "in": "query"
  3510. },
  3511. {
  3512. "type": "integer",
  3513. "description": "仓库ID",
  3514. "name": "warehouseinfoid",
  3515. "in": "query"
  3516. }
  3517. ],
  3518. "responses": {
  3519. "200": {
  3520. "description": "OK",
  3521. "schema": {
  3522. "type": "array",
  3523. "items": {
  3524. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3525. }
  3526. }
  3527. },
  3528. "500": {
  3529. "description": "Internal Server Error",
  3530. "schema": {
  3531. "$ref": "#/definitions/app.Response"
  3532. }
  3533. }
  3534. }
  3535. }
  3536. },
  3537. "/Ermcp3/QryAreaSumPL": {
  3538. "get": {
  3539. "security": [
  3540. {
  3541. "ApiKeyAuth": []
  3542. }
  3543. ],
  3544. "produces": [
  3545. "application/json"
  3546. ],
  3547. "tags": [
  3548. "企业风险管理v3(app)"
  3549. ],
  3550. "summary": "查询汇总损益表",
  3551. "parameters": [
  3552. {
  3553. "type": "integer",
  3554. "description": "用户ID",
  3555. "name": "userid",
  3556. "in": "query",
  3557. "required": true
  3558. },
  3559. {
  3560. "type": "integer",
  3561. "description": "查询类型 1-报表 2-报表明细",
  3562. "name": "querytype",
  3563. "in": "query",
  3564. "required": true
  3565. },
  3566. {
  3567. "type": "integer",
  3568. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3569. "name": "cycletype",
  3570. "in": "query",
  3571. "required": true
  3572. },
  3573. {
  3574. "type": "string",
  3575. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3576. "name": "cycletime",
  3577. "in": "query",
  3578. "required": true
  3579. },
  3580. {
  3581. "type": "integer",
  3582. "description": "币种id(明细必填)",
  3583. "name": "currencyid",
  3584. "in": "query"
  3585. }
  3586. ],
  3587. "responses": {
  3588. "200": {
  3589. "description": "OK",
  3590. "schema": {
  3591. "type": "array",
  3592. "items": {
  3593. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3594. }
  3595. }
  3596. },
  3597. "500": {
  3598. "description": "Internal Server Error",
  3599. "schema": {
  3600. "$ref": "#/definitions/app.Response"
  3601. }
  3602. }
  3603. }
  3604. }
  3605. },
  3606. "/Ermcp3/QryFinanceReport": {
  3607. "get": {
  3608. "security": [
  3609. {
  3610. "ApiKeyAuth": []
  3611. }
  3612. ],
  3613. "produces": [
  3614. "application/json"
  3615. ],
  3616. "tags": [
  3617. "企业风险管理v3(app)"
  3618. ],
  3619. "summary": "查询财务报表",
  3620. "parameters": [
  3621. {
  3622. "type": "integer",
  3623. "description": "用户ID",
  3624. "name": "userid",
  3625. "in": "query",
  3626. "required": true
  3627. },
  3628. {
  3629. "type": "integer",
  3630. "description": "查询类型 1-报表 2-报表明细",
  3631. "name": "querytype",
  3632. "in": "query",
  3633. "required": true
  3634. },
  3635. {
  3636. "type": "integer",
  3637. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3638. "name": "cycletype",
  3639. "in": "query",
  3640. "required": true
  3641. },
  3642. {
  3643. "type": "string",
  3644. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3645. "name": "cycletime",
  3646. "in": "query",
  3647. "required": true
  3648. },
  3649. {
  3650. "type": "integer",
  3651. "description": "币种id(报表明细必填)",
  3652. "name": "currencyid",
  3653. "in": "query"
  3654. },
  3655. {
  3656. "type": "string",
  3657. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3658. "name": "sumfields",
  3659. "in": "query"
  3660. }
  3661. ],
  3662. "responses": {
  3663. "200": {
  3664. "description": "OK",
  3665. "schema": {
  3666. "type": "array",
  3667. "items": {
  3668. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3669. }
  3670. }
  3671. },
  3672. "500": {
  3673. "description": "Internal Server Error",
  3674. "schema": {
  3675. "$ref": "#/definitions/app.Response"
  3676. }
  3677. }
  3678. }
  3679. }
  3680. },
  3681. "/Ermcp3/QrySCMiddleGoodsReport": {
  3682. "get": {
  3683. "security": [
  3684. {
  3685. "ApiKeyAuth": []
  3686. }
  3687. ],
  3688. "produces": [
  3689. "application/json"
  3690. ],
  3691. "tags": [
  3692. "企业风险管理v3(app)"
  3693. ],
  3694. "summary": "查询定价报表",
  3695. "parameters": [
  3696. {
  3697. "type": "integer",
  3698. "description": "用户ID",
  3699. "name": "userid",
  3700. "in": "query",
  3701. "required": true
  3702. },
  3703. {
  3704. "type": "integer",
  3705. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3706. "name": "cycletype",
  3707. "in": "query",
  3708. "required": true
  3709. },
  3710. {
  3711. "type": "string",
  3712. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3713. "name": "cycletime",
  3714. "in": "query",
  3715. "required": true
  3716. },
  3717. {
  3718. "type": "integer",
  3719. "description": "合同id",
  3720. "name": "spotcontractid",
  3721. "in": "query"
  3722. },
  3723. {
  3724. "type": "integer",
  3725. "description": "套保品种id",
  3726. "name": "middlegoodsid",
  3727. "in": "query"
  3728. },
  3729. {
  3730. "type": "integer",
  3731. "description": "现货品种id",
  3732. "name": "deliverygoodsid",
  3733. "in": "query"
  3734. },
  3735. {
  3736. "type": "integer",
  3737. "description": "现货商品id",
  3738. "name": "wrstandardid",
  3739. "in": "query"
  3740. },
  3741. {
  3742. "type": "string",
  3743. "description": "合同编号(模糊匹配)",
  3744. "name": "contractno",
  3745. "in": "query"
  3746. }
  3747. ],
  3748. "responses": {
  3749. "200": {
  3750. "description": "OK",
  3751. "schema": {
  3752. "type": "array",
  3753. "items": {
  3754. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  3755. }
  3756. }
  3757. },
  3758. "500": {
  3759. "description": "Internal Server Error",
  3760. "schema": {
  3761. "$ref": "#/definitions/app.Response"
  3762. }
  3763. }
  3764. }
  3765. }
  3766. },
  3767. "/Ermcp3/QryTaFutureDataReport": {
  3768. "get": {
  3769. "security": [
  3770. {
  3771. "ApiKeyAuth": []
  3772. }
  3773. ],
  3774. "produces": [
  3775. "application/json"
  3776. ],
  3777. "tags": [
  3778. "企业风险管理v3(app)"
  3779. ],
  3780. "summary": "查询期货报表",
  3781. "parameters": [
  3782. {
  3783. "type": "integer",
  3784. "description": "用户ID",
  3785. "name": "userid",
  3786. "in": "query",
  3787. "required": true
  3788. },
  3789. {
  3790. "type": "integer",
  3791. "description": "查询类型 1-报表 2-报表明细",
  3792. "name": "querytype",
  3793. "in": "query",
  3794. "required": true
  3795. },
  3796. {
  3797. "type": "integer",
  3798. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3799. "name": "cycletype",
  3800. "in": "query",
  3801. "required": true
  3802. },
  3803. {
  3804. "type": "string",
  3805. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3806. "name": "cycletime",
  3807. "in": "query",
  3808. "required": true
  3809. },
  3810. {
  3811. "type": "integer",
  3812. "description": "币种id(查明细必填)",
  3813. "name": "currencyid",
  3814. "in": "query"
  3815. },
  3816. {
  3817. "type": "integer",
  3818. "description": "品种id(查明细必填)",
  3819. "name": "goodsgroupid",
  3820. "in": "query"
  3821. },
  3822. {
  3823. "type": "integer",
  3824. "description": "商品id(查明细必填)",
  3825. "name": "goodsid",
  3826. "in": "query"
  3827. },
  3828. {
  3829. "type": "integer",
  3830. "description": "买卖方向(查明细必填)",
  3831. "name": "buyorsell",
  3832. "in": "query"
  3833. }
  3834. ],
  3835. "responses": {
  3836. "200": {
  3837. "description": "OK",
  3838. "schema": {
  3839. "type": "array",
  3840. "items": {
  3841. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3842. }
  3843. }
  3844. },
  3845. "500": {
  3846. "description": "Internal Server Error",
  3847. "schema": {
  3848. "$ref": "#/definitions/app.Response"
  3849. }
  3850. }
  3851. }
  3852. }
  3853. },
  3854. "/Ermcp3/QueryAreaStock": {
  3855. "get": {
  3856. "security": [
  3857. {
  3858. "ApiKeyAuth": []
  3859. }
  3860. ],
  3861. "produces": [
  3862. "application/json"
  3863. ],
  3864. "tags": [
  3865. "企业风险管理v3(app)"
  3866. ],
  3867. "summary": "查询机构库存(库存管理/当前库存)",
  3868. "parameters": [
  3869. {
  3870. "type": "integer",
  3871. "description": "用户ID",
  3872. "name": "userid",
  3873. "in": "query",
  3874. "required": true
  3875. }
  3876. ],
  3877. "responses": {
  3878. "200": {
  3879. "description": "OK",
  3880. "schema": {
  3881. "type": "array",
  3882. "items": {
  3883. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3884. }
  3885. }
  3886. },
  3887. "500": {
  3888. "description": "Internal Server Error",
  3889. "schema": {
  3890. "$ref": "#/definitions/app.Response"
  3891. }
  3892. }
  3893. }
  3894. }
  3895. },
  3896. "/Ermcp3/QueryAreaStockApply": {
  3897. "get": {
  3898. "security": [
  3899. {
  3900. "ApiKeyAuth": []
  3901. }
  3902. ],
  3903. "produces": [
  3904. "application/json"
  3905. ],
  3906. "tags": [
  3907. "企业风险管理v3(app)"
  3908. ],
  3909. "summary": "查询库存申请(出入库记录|库存审核)",
  3910. "parameters": [
  3911. {
  3912. "type": "integer",
  3913. "description": "用户ID",
  3914. "name": "userid",
  3915. "in": "query",
  3916. "required": true
  3917. },
  3918. {
  3919. "type": "integer",
  3920. "description": "用户类型 2-机构 7-企业成员",
  3921. "name": "usertype",
  3922. "in": "query"
  3923. },
  3924. {
  3925. "type": "integer",
  3926. "description": "现货商品ID",
  3927. "name": "deliverygoodsid",
  3928. "in": "query"
  3929. },
  3930. {
  3931. "type": "string",
  3932. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3933. "name": "inouttype",
  3934. "in": "query"
  3935. },
  3936. {
  3937. "type": "integer",
  3938. "description": "合同ID",
  3939. "name": "spotcontractid",
  3940. "in": "query"
  3941. },
  3942. {
  3943. "type": "integer",
  3944. "description": "品类ID",
  3945. "name": "wrstandardid",
  3946. "in": "query"
  3947. },
  3948. {
  3949. "type": "integer",
  3950. "description": "品牌ID",
  3951. "name": "spotgoodsbrandid",
  3952. "in": "query"
  3953. },
  3954. {
  3955. "type": "integer",
  3956. "description": "仓库ID",
  3957. "name": "warehouseinfoid",
  3958. "in": "query"
  3959. },
  3960. {
  3961. "type": "string",
  3962. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3963. "name": "applystatus",
  3964. "in": "query"
  3965. }
  3966. ],
  3967. "responses": {
  3968. "200": {
  3969. "description": "OK",
  3970. "schema": {
  3971. "type": "array",
  3972. "items": {
  3973. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3974. }
  3975. }
  3976. },
  3977. "500": {
  3978. "description": "Internal Server Error",
  3979. "schema": {
  3980. "$ref": "#/definitions/app.Response"
  3981. }
  3982. }
  3983. }
  3984. }
  3985. },
  3986. "/Ermcp3/QueryAreaStockApplySum": {
  3987. "get": {
  3988. "security": [
  3989. {
  3990. "ApiKeyAuth": []
  3991. }
  3992. ],
  3993. "produces": [
  3994. "application/json"
  3995. ],
  3996. "tags": [
  3997. "企业风险管理v3(app)"
  3998. ],
  3999. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4000. "parameters": [
  4001. {
  4002. "type": "integer",
  4003. "description": "合同ID",
  4004. "name": "spotcontractid",
  4005. "in": "query",
  4006. "required": true
  4007. }
  4008. ],
  4009. "responses": {
  4010. "200": {
  4011. "description": "OK",
  4012. "schema": {
  4013. "type": "array",
  4014. "items": {
  4015. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4016. }
  4017. }
  4018. },
  4019. "500": {
  4020. "description": "Internal Server Error",
  4021. "schema": {
  4022. "$ref": "#/definitions/app.Response"
  4023. }
  4024. }
  4025. }
  4026. }
  4027. },
  4028. "/Ermcp3/QueryDGFactoryItem": {
  4029. "get": {
  4030. "security": [
  4031. {
  4032. "ApiKeyAuth": []
  4033. }
  4034. ],
  4035. "produces": [
  4036. "application/json"
  4037. ],
  4038. "tags": [
  4039. "企业风险管理v3(app)"
  4040. ],
  4041. "summary": "查询品种要素定义项",
  4042. "parameters": [
  4043. {
  4044. "type": "integer",
  4045. "description": "用户id",
  4046. "name": "userid",
  4047. "in": "query"
  4048. },
  4049. {
  4050. "type": "integer",
  4051. "description": "用户类型 2-机构 7-企业成员",
  4052. "name": "usertype",
  4053. "in": "query"
  4054. },
  4055. {
  4056. "type": "integer",
  4057. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4058. "name": "dgfactoryitemid",
  4059. "in": "query"
  4060. },
  4061. {
  4062. "type": "integer",
  4063. "description": "现货品种ID",
  4064. "name": "deliverygoodsid",
  4065. "in": "query"
  4066. },
  4067. {
  4068. "type": "integer",
  4069. "description": "要素项类型",
  4070. "name": "dgfactoryitemtypeid",
  4071. "in": "query"
  4072. },
  4073. {
  4074. "type": "integer",
  4075. "description": "顺序",
  4076. "name": "orderindex",
  4077. "in": "query"
  4078. }
  4079. ],
  4080. "responses": {
  4081. "200": {
  4082. "description": "OK",
  4083. "schema": {
  4084. "type": "array",
  4085. "items": {
  4086. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4087. }
  4088. }
  4089. },
  4090. "500": {
  4091. "description": "Internal Server Error",
  4092. "schema": {
  4093. "$ref": "#/definitions/app.Response"
  4094. }
  4095. }
  4096. }
  4097. }
  4098. },
  4099. "/Ermcp3/QueryDeliveryGoods": {
  4100. "get": {
  4101. "security": [
  4102. {
  4103. "ApiKeyAuth": []
  4104. }
  4105. ],
  4106. "produces": [
  4107. "application/json"
  4108. ],
  4109. "tags": [
  4110. "企业风险管理v3(app)"
  4111. ],
  4112. "summary": "查询现货商品",
  4113. "parameters": [
  4114. {
  4115. "type": "integer",
  4116. "description": "用户id",
  4117. "name": "userid",
  4118. "in": "query",
  4119. "required": true
  4120. },
  4121. {
  4122. "type": "integer",
  4123. "description": "用户类型 2-机构 7-企业成员",
  4124. "name": "usertype",
  4125. "in": "query"
  4126. },
  4127. {
  4128. "type": "integer",
  4129. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4130. "name": "excludecfg",
  4131. "in": "query"
  4132. }
  4133. ],
  4134. "responses": {
  4135. "200": {
  4136. "description": "OK",
  4137. "schema": {
  4138. "type": "array",
  4139. "items": {
  4140. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4141. }
  4142. }
  4143. },
  4144. "500": {
  4145. "description": "Internal Server Error",
  4146. "schema": {
  4147. "$ref": "#/definitions/app.Response"
  4148. }
  4149. }
  4150. }
  4151. }
  4152. },
  4153. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4154. "get": {
  4155. "security": [
  4156. {
  4157. "ApiKeyAuth": []
  4158. }
  4159. ],
  4160. "produces": [
  4161. "application/json"
  4162. ],
  4163. "tags": [
  4164. "企业风险管理v3(app)"
  4165. ],
  4166. "summary": "查询现货商品详情",
  4167. "parameters": [
  4168. {
  4169. "type": "integer",
  4170. "description": "用户id",
  4171. "name": "userid",
  4172. "in": "query",
  4173. "required": true
  4174. },
  4175. {
  4176. "type": "integer",
  4177. "description": "用户类型 2-机构 7-企业成员",
  4178. "name": "usertype",
  4179. "in": "query"
  4180. },
  4181. {
  4182. "type": "integer",
  4183. "description": "现货商品id",
  4184. "name": "deliverygoodsid",
  4185. "in": "query"
  4186. },
  4187. {
  4188. "type": "integer",
  4189. "description": "过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示",
  4190. "name": "filtersubempty",
  4191. "in": "query"
  4192. }
  4193. ],
  4194. "responses": {
  4195. "200": {
  4196. "description": "OK",
  4197. "schema": {
  4198. "type": "array",
  4199. "items": {
  4200. "$ref": "#/definitions/models.XHDeliveryGoods"
  4201. }
  4202. }
  4203. },
  4204. "500": {
  4205. "description": "Internal Server Error",
  4206. "schema": {
  4207. "$ref": "#/definitions/app.Response"
  4208. }
  4209. }
  4210. }
  4211. }
  4212. },
  4213. "/Ermcp3/QueryErmcp3ContractMiddleGoodsCfg": {
  4214. "get": {
  4215. "security": [
  4216. {
  4217. "ApiKeyAuth": []
  4218. }
  4219. ],
  4220. "produces": [
  4221. "application/json"
  4222. ],
  4223. "tags": [
  4224. "企业风险管理v3(app)"
  4225. ],
  4226. "summary": "查询现货合同期现配置信息",
  4227. "parameters": [
  4228. {
  4229. "type": "string",
  4230. "description": "合同id",
  4231. "name": "spotcontractid",
  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.Ermcp3ContractMiddleGoodsCfg"
  4243. }
  4244. }
  4245. },
  4246. "500": {
  4247. "description": "Internal Server Error",
  4248. "schema": {
  4249. "$ref": "#/definitions/app.Response"
  4250. }
  4251. }
  4252. }
  4253. }
  4254. },
  4255. "/Ermcp3/QueryExposureDetail": {
  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. "type": "integer",
  4285. "description": "套保商品",
  4286. "name": "middlegoodsid",
  4287. "in": "query",
  4288. "required": true
  4289. }
  4290. ],
  4291. "responses": {
  4292. "200": {
  4293. "description": "OK",
  4294. "schema": {
  4295. "type": "array",
  4296. "items": {
  4297. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4298. }
  4299. }
  4300. },
  4301. "500": {
  4302. "description": "Internal Server Error",
  4303. "schema": {
  4304. "$ref": "#/definitions/app.Response"
  4305. }
  4306. }
  4307. }
  4308. }
  4309. },
  4310. "/Ermcp3/QueryExposureSpot": {
  4311. "get": {
  4312. "security": [
  4313. {
  4314. "ApiKeyAuth": []
  4315. }
  4316. ],
  4317. "produces": [
  4318. "application/json"
  4319. ],
  4320. "tags": [
  4321. "企业风险管理v3(app)"
  4322. ],
  4323. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4324. "parameters": [
  4325. {
  4326. "type": "integer",
  4327. "description": "用户id",
  4328. "name": "userid",
  4329. "in": "query",
  4330. "required": true
  4331. },
  4332. {
  4333. "type": "integer",
  4334. "description": "用户类型 2-机构 7-企业成员",
  4335. "name": "usertype",
  4336. "in": "query"
  4337. }
  4338. ],
  4339. "responses": {
  4340. "200": {
  4341. "description": "OK",
  4342. "schema": {
  4343. "type": "array",
  4344. "items": {
  4345. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4346. }
  4347. }
  4348. },
  4349. "500": {
  4350. "description": "Internal Server Error",
  4351. "schema": {
  4352. "$ref": "#/definitions/app.Response"
  4353. }
  4354. }
  4355. }
  4356. }
  4357. },
  4358. "/Ermcp3/QueryExposureSpotDetail": {
  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": "现货商品ID",
  4389. "name": "wrstandardid",
  4390. "in": "query",
  4391. "required": true
  4392. }
  4393. ],
  4394. "responses": {
  4395. "200": {
  4396. "description": "OK",
  4397. "schema": {
  4398. "type": "array",
  4399. "items": {
  4400. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4401. }
  4402. }
  4403. },
  4404. "500": {
  4405. "description": "Internal Server Error",
  4406. "schema": {
  4407. "$ref": "#/definitions/app.Response"
  4408. }
  4409. }
  4410. }
  4411. }
  4412. },
  4413. "/Ermcp3/QueryGoodsGroup": {
  4414. "get": {
  4415. "security": [
  4416. {
  4417. "ApiKeyAuth": []
  4418. }
  4419. ],
  4420. "produces": [
  4421. "application/json"
  4422. ],
  4423. "tags": [
  4424. "企业风险管理v3(app)"
  4425. ],
  4426. "summary": "查询期货商品组",
  4427. "parameters": [
  4428. {
  4429. "type": "integer",
  4430. "description": "用户id",
  4431. "name": "userid",
  4432. "in": "query",
  4433. "required": true
  4434. },
  4435. {
  4436. "type": "integer",
  4437. "description": "用户类型 2-机构 7-企业成员",
  4438. "name": "usertype",
  4439. "in": "query"
  4440. },
  4441. {
  4442. "type": "integer",
  4443. "description": "排除套保品中已关联的商品组 1-排除",
  4444. "name": "excludecfg",
  4445. "in": "query"
  4446. }
  4447. ],
  4448. "responses": {
  4449. "200": {
  4450. "description": "OK",
  4451. "schema": {
  4452. "type": "array",
  4453. "items": {
  4454. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4455. }
  4456. }
  4457. },
  4458. "500": {
  4459. "description": "Internal Server Error",
  4460. "schema": {
  4461. "$ref": "#/definitions/app.Response"
  4462. }
  4463. }
  4464. }
  4465. }
  4466. },
  4467. "/Ermcp3/QueryGoodsWrstandard": {
  4468. "get": {
  4469. "security": [
  4470. {
  4471. "ApiKeyAuth": []
  4472. }
  4473. ],
  4474. "produces": [
  4475. "application/json"
  4476. ],
  4477. "tags": [
  4478. "企业风险管理v3(app)"
  4479. ],
  4480. "summary": "查询商品品类",
  4481. "parameters": [
  4482. {
  4483. "type": "integer",
  4484. "description": "用户id",
  4485. "name": "userid",
  4486. "in": "query",
  4487. "required": true
  4488. },
  4489. {
  4490. "type": "integer",
  4491. "description": "用户类型 2-机构 7-企业成员",
  4492. "name": "usertype",
  4493. "in": "query"
  4494. },
  4495. {
  4496. "type": "integer",
  4497. "description": "现货商品id",
  4498. "name": "deliverygoodsid",
  4499. "in": "query"
  4500. }
  4501. ],
  4502. "responses": {
  4503. "200": {
  4504. "description": "OK",
  4505. "schema": {
  4506. "type": "array",
  4507. "items": {
  4508. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4509. }
  4510. }
  4511. },
  4512. "500": {
  4513. "description": "Internal Server Error",
  4514. "schema": {
  4515. "$ref": "#/definitions/app.Response"
  4516. }
  4517. }
  4518. }
  4519. }
  4520. },
  4521. "/Ermcp3/QueryGoodsbrand": {
  4522. "get": {
  4523. "security": [
  4524. {
  4525. "ApiKeyAuth": []
  4526. }
  4527. ],
  4528. "produces": [
  4529. "application/json"
  4530. ],
  4531. "tags": [
  4532. "企业风险管理v3(app)"
  4533. ],
  4534. "summary": "查询商品品牌",
  4535. "parameters": [
  4536. {
  4537. "type": "integer",
  4538. "description": "用户id",
  4539. "name": "userid",
  4540. "in": "query",
  4541. "required": true
  4542. },
  4543. {
  4544. "type": "integer",
  4545. "description": "用户类型 2-机构 7-企业成员",
  4546. "name": "usertype",
  4547. "in": "query"
  4548. }
  4549. ],
  4550. "responses": {
  4551. "200": {
  4552. "description": "OK",
  4553. "schema": {
  4554. "type": "array",
  4555. "items": {
  4556. "$ref": "#/definitions/models.Ermcp3Brand"
  4557. }
  4558. }
  4559. },
  4560. "500": {
  4561. "description": "Internal Server Error",
  4562. "schema": {
  4563. "$ref": "#/definitions/app.Response"
  4564. }
  4565. }
  4566. }
  4567. }
  4568. },
  4569. "/Ermcp3/QueryHPMiddleGoods": {
  4570. "get": {
  4571. "security": [
  4572. {
  4573. "ApiKeyAuth": []
  4574. }
  4575. ],
  4576. "produces": [
  4577. "application/json"
  4578. ],
  4579. "tags": [
  4580. "企业风险管理v3(app)"
  4581. ],
  4582. "summary": "查询可关联套保计划",
  4583. "parameters": [
  4584. {
  4585. "type": "integer",
  4586. "description": "用户ID(填登录用户的userid)",
  4587. "name": "userid",
  4588. "in": "query",
  4589. "required": true
  4590. },
  4591. {
  4592. "type": "integer",
  4593. "description": "买卖方向 0-买 1-卖",
  4594. "name": "buyorsell",
  4595. "in": "query",
  4596. "required": true
  4597. },
  4598. {
  4599. "type": "integer",
  4600. "description": "商品组id",
  4601. "name": "goodsgroupid",
  4602. "in": "query",
  4603. "required": true
  4604. },
  4605. {
  4606. "type": "string",
  4607. "description": "套保计划编号(模糊匹配)",
  4608. "name": "hedgeplanno",
  4609. "in": "query"
  4610. },
  4611. {
  4612. "type": "string",
  4613. "description": "现货商品名称(模糊匹配)",
  4614. "name": "wrstandardname",
  4615. "in": "query"
  4616. }
  4617. ],
  4618. "responses": {
  4619. "200": {
  4620. "description": "OK",
  4621. "schema": {
  4622. "type": "array",
  4623. "items": {
  4624. "$ref": "#/definitions/models.Ermcp3HPMiddleGoods"
  4625. }
  4626. }
  4627. },
  4628. "500": {
  4629. "description": "Internal Server Error",
  4630. "schema": {
  4631. "$ref": "#/definitions/app.Response"
  4632. }
  4633. }
  4634. }
  4635. }
  4636. },
  4637. "/Ermcp3/QueryHedgePlan": {
  4638. "get": {
  4639. "security": [
  4640. {
  4641. "ApiKeyAuth": []
  4642. }
  4643. ],
  4644. "produces": [
  4645. "application/json"
  4646. ],
  4647. "tags": [
  4648. "企业风险管理v3(app)"
  4649. ],
  4650. "summary": "查询套保计划",
  4651. "parameters": [
  4652. {
  4653. "type": "integer",
  4654. "description": "用户ID",
  4655. "name": "userid",
  4656. "in": "query",
  4657. "required": true
  4658. },
  4659. {
  4660. "type": "integer",
  4661. "description": "用户类型 2-机构 7-企业成员",
  4662. "name": "usertype",
  4663. "in": "query"
  4664. },
  4665. {
  4666. "type": "string",
  4667. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4668. "name": "hedgeplanstatus",
  4669. "in": "query",
  4670. "required": true
  4671. }
  4672. ],
  4673. "responses": {
  4674. "200": {
  4675. "description": "OK",
  4676. "schema": {
  4677. "type": "array",
  4678. "items": {
  4679. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4680. }
  4681. }
  4682. },
  4683. "500": {
  4684. "description": "Internal Server Error",
  4685. "schema": {
  4686. "$ref": "#/definitions/app.Response"
  4687. }
  4688. }
  4689. }
  4690. }
  4691. },
  4692. "/Ermcp3/QueryInnerTradeLink": {
  4693. "get": {
  4694. "security": [
  4695. {
  4696. "ApiKeyAuth": []
  4697. }
  4698. ],
  4699. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  4700. "produces": [
  4701. "application/json"
  4702. ],
  4703. "tags": [
  4704. "企业风险管理v3(app)"
  4705. ],
  4706. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  4707. "parameters": [
  4708. {
  4709. "type": "integer",
  4710. "description": "外部成交单号",
  4711. "name": "outtradeid",
  4712. "in": "query",
  4713. "required": true
  4714. }
  4715. ],
  4716. "responses": {
  4717. "200": {
  4718. "description": "OK",
  4719. "schema": {
  4720. "type": "array",
  4721. "items": {
  4722. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  4723. }
  4724. }
  4725. },
  4726. "500": {
  4727. "description": "Internal Server Error",
  4728. "schema": {
  4729. "$ref": "#/definitions/app.Response"
  4730. }
  4731. }
  4732. }
  4733. }
  4734. },
  4735. "/Ermcp3/QueryMiddleGoodsDetail": {
  4736. "get": {
  4737. "security": [
  4738. {
  4739. "ApiKeyAuth": []
  4740. }
  4741. ],
  4742. "produces": [
  4743. "application/json"
  4744. ],
  4745. "tags": [
  4746. "企业风险管理v3(app)"
  4747. ],
  4748. "summary": "查询套保品种详情(套保品种/商品详情)",
  4749. "parameters": [
  4750. {
  4751. "type": "integer",
  4752. "description": "用户id",
  4753. "name": "userid",
  4754. "in": "query",
  4755. "required": true
  4756. },
  4757. {
  4758. "type": "integer",
  4759. "description": "用户类型 2-机构 7-企业成员",
  4760. "name": "usertype",
  4761. "in": "query"
  4762. },
  4763. {
  4764. "type": "integer",
  4765. "description": "套保品种id",
  4766. "name": "middlegoodsid",
  4767. "in": "query"
  4768. }
  4769. ],
  4770. "responses": {
  4771. "200": {
  4772. "description": "OK",
  4773. "schema": {
  4774. "type": "array",
  4775. "items": {
  4776. "$ref": "#/definitions/models.TBMiddleGoods"
  4777. }
  4778. }
  4779. },
  4780. "500": {
  4781. "description": "Internal Server Error",
  4782. "schema": {
  4783. "$ref": "#/definitions/app.Response"
  4784. }
  4785. }
  4786. }
  4787. }
  4788. },
  4789. "/Ermcp3/QueryOutTradeLink": {
  4790. "get": {
  4791. "security": [
  4792. {
  4793. "ApiKeyAuth": []
  4794. }
  4795. ],
  4796. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  4797. "produces": [
  4798. "application/json"
  4799. ],
  4800. "tags": [
  4801. "企业风险管理v3(app)"
  4802. ],
  4803. "summary": "查询外部成交单关联",
  4804. "parameters": [
  4805. {
  4806. "type": "integer",
  4807. "description": "用户ID(填登录用户的userid)",
  4808. "name": "userid",
  4809. "in": "query",
  4810. "required": true
  4811. },
  4812. {
  4813. "type": "string",
  4814. "description": "外部订单号(模糊匹配)",
  4815. "name": "outtradeid",
  4816. "in": "query"
  4817. },
  4818. {
  4819. "type": "string",
  4820. "description": "合约名称/代码(模糊匹配)",
  4821. "name": "goodsname",
  4822. "in": "query"
  4823. },
  4824. {
  4825. "type": "integer",
  4826. "description": "关联状态 0-未关联 1-已关联",
  4827. "name": "hasinnerorder",
  4828. "in": "query"
  4829. }
  4830. ],
  4831. "responses": {
  4832. "200": {
  4833. "description": "OK",
  4834. "schema": {
  4835. "type": "array",
  4836. "items": {
  4837. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  4838. }
  4839. }
  4840. },
  4841. "500": {
  4842. "description": "Internal Server Error",
  4843. "schema": {
  4844. "$ref": "#/definitions/app.Response"
  4845. }
  4846. }
  4847. }
  4848. }
  4849. },
  4850. "/Ermcp3/QueryPaAreaAuditCfg": {
  4851. "get": {
  4852. "security": [
  4853. {
  4854. "ApiKeyAuth": []
  4855. }
  4856. ],
  4857. "produces": [
  4858. "application/json"
  4859. ],
  4860. "tags": [
  4861. "企业风险管理v3(app)"
  4862. ],
  4863. "summary": "查询审核设置",
  4864. "parameters": [
  4865. {
  4866. "type": "integer",
  4867. "description": "用户id",
  4868. "name": "userid",
  4869. "in": "query",
  4870. "required": true
  4871. }
  4872. ],
  4873. "responses": {
  4874. "200": {
  4875. "description": "OK",
  4876. "schema": {
  4877. "type": "array",
  4878. "items": {
  4879. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  4880. }
  4881. }
  4882. },
  4883. "500": {
  4884. "description": "Internal Server Error",
  4885. "schema": {
  4886. "$ref": "#/definitions/app.Response"
  4887. }
  4888. }
  4889. }
  4890. }
  4891. },
  4892. "/Ermcp3/QueryPaAreaSubject": {
  4893. "get": {
  4894. "security": [
  4895. {
  4896. "ApiKeyAuth": []
  4897. }
  4898. ],
  4899. "produces": [
  4900. "application/json"
  4901. ],
  4902. "tags": [
  4903. "企业风险管理v3(app)"
  4904. ],
  4905. "summary": "查询交易主体",
  4906. "parameters": [
  4907. {
  4908. "type": "integer",
  4909. "description": "用户id",
  4910. "name": "userid",
  4911. "in": "query",
  4912. "required": true
  4913. },
  4914. {
  4915. "type": "integer",
  4916. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  4917. "name": "subjectid",
  4918. "in": "query"
  4919. },
  4920. {
  4921. "type": "integer",
  4922. "description": "主体类型 - 1:交易主体 2:业务部门",
  4923. "name": "subjecttype",
  4924. "in": "query"
  4925. },
  4926. {
  4927. "type": "integer",
  4928. "description": "主体状态 - 1:正常 2: 停用",
  4929. "name": "subjectstatus",
  4930. "in": "query"
  4931. }
  4932. ],
  4933. "responses": {
  4934. "200": {
  4935. "description": "OK",
  4936. "schema": {
  4937. "type": "array",
  4938. "items": {
  4939. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  4940. }
  4941. }
  4942. },
  4943. "500": {
  4944. "description": "Internal Server Error",
  4945. "schema": {
  4946. "$ref": "#/definitions/app.Response"
  4947. }
  4948. }
  4949. }
  4950. }
  4951. },
  4952. "/Ermcp3/QueryPaTradeLink": {
  4953. "get": {
  4954. "security": [
  4955. {
  4956. "ApiKeyAuth": []
  4957. }
  4958. ],
  4959. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  4960. "produces": [
  4961. "application/json"
  4962. ],
  4963. "tags": [
  4964. "企业风险管理v3(app)"
  4965. ],
  4966. "summary": "查询期现单据关联",
  4967. "parameters": [
  4968. {
  4969. "type": "integer",
  4970. "description": "用户ID",
  4971. "name": "userid",
  4972. "in": "query",
  4973. "required": true
  4974. }
  4975. ],
  4976. "responses": {
  4977. "200": {
  4978. "description": "OK",
  4979. "schema": {
  4980. "type": "array",
  4981. "items": {
  4982. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  4983. }
  4984. }
  4985. },
  4986. "500": {
  4987. "description": "Internal Server Error",
  4988. "schema": {
  4989. "$ref": "#/definitions/app.Response"
  4990. }
  4991. }
  4992. }
  4993. }
  4994. },
  4995. "/Ermcp3/QueryPaTradeLinkDetail": {
  4996. "get": {
  4997. "security": [
  4998. {
  4999. "ApiKeyAuth": []
  5000. }
  5001. ],
  5002. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  5003. "produces": [
  5004. "application/json"
  5005. ],
  5006. "tags": [
  5007. "企业风险管理v3(app)"
  5008. ],
  5009. "summary": "查询期现关联记录",
  5010. "parameters": [
  5011. {
  5012. "type": "integer",
  5013. "description": "用户ID(填登录用户的userid)",
  5014. "name": "userid",
  5015. "in": "query",
  5016. "required": true
  5017. },
  5018. {
  5019. "type": "integer",
  5020. "description": "关联状态 1:成功 2:失败 3:解绑",
  5021. "name": "linkstatus",
  5022. "in": "query"
  5023. },
  5024. {
  5025. "type": "string",
  5026. "description": "期货订单号(模糊匹配)",
  5027. "name": "tradeid",
  5028. "in": "query"
  5029. },
  5030. {
  5031. "type": "string",
  5032. "description": "现货编号(模糊匹配)",
  5033. "name": "contractno",
  5034. "in": "query"
  5035. },
  5036. {
  5037. "type": "string",
  5038. "description": "期货账户(模糊匹配)",
  5039. "name": "taname",
  5040. "in": "query"
  5041. }
  5042. ],
  5043. "responses": {
  5044. "200": {
  5045. "description": "OK",
  5046. "schema": {
  5047. "type": "array",
  5048. "items": {
  5049. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  5050. }
  5051. }
  5052. },
  5053. "500": {
  5054. "description": "Internal Server Error",
  5055. "schema": {
  5056. "$ref": "#/definitions/app.Response"
  5057. }
  5058. }
  5059. }
  5060. }
  5061. },
  5062. "/Ermcp3/QueryParamChangeApp": {
  5063. "get": {
  5064. "security": [
  5065. {
  5066. "ApiKeyAuth": []
  5067. }
  5068. ],
  5069. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  5070. "produces": [
  5071. "application/json"
  5072. ],
  5073. "tags": [
  5074. "企业风险管理v3(app)"
  5075. ],
  5076. "summary": "查询现货商品参数变更申请(流水)",
  5077. "parameters": [
  5078. {
  5079. "type": "integer",
  5080. "description": "用户ID",
  5081. "name": "userid",
  5082. "in": "query",
  5083. "required": true
  5084. },
  5085. {
  5086. "type": "integer",
  5087. "description": "现货品种id",
  5088. "name": "deliverygoodsid",
  5089. "in": "query"
  5090. },
  5091. {
  5092. "type": "integer",
  5093. "description": "现货商品id",
  5094. "name": "wrstandardid",
  5095. "in": "query"
  5096. },
  5097. {
  5098. "type": "integer",
  5099. "description": "套保商品id",
  5100. "name": "middlegoodsid",
  5101. "in": "query"
  5102. },
  5103. {
  5104. "type": "integer",
  5105. "description": "操作类型 1:新增 2:修改",
  5106. "name": "operatetype",
  5107. "in": "query"
  5108. },
  5109. {
  5110. "type": "integer",
  5111. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  5112. "name": "paramchangetype",
  5113. "in": "query"
  5114. },
  5115. {
  5116. "type": "string",
  5117. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5118. "name": "ftstatus",
  5119. "in": "query"
  5120. }
  5121. ],
  5122. "responses": {
  5123. "200": {
  5124. "description": "OK",
  5125. "schema": {
  5126. "type": "array",
  5127. "items": {
  5128. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5129. }
  5130. }
  5131. },
  5132. "500": {
  5133. "description": "Internal Server Error",
  5134. "schema": {
  5135. "$ref": "#/definitions/app.Response"
  5136. }
  5137. }
  5138. }
  5139. }
  5140. },
  5141. "/Ermcp3/QueryRootUserAccount": {
  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",
  5159. "name": "userid",
  5160. "in": "query",
  5161. "required": true
  5162. }
  5163. ],
  5164. "responses": {
  5165. "200": {
  5166. "description": "OK",
  5167. "schema": {
  5168. "type": "array",
  5169. "items": {
  5170. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5171. }
  5172. }
  5173. },
  5174. "500": {
  5175. "description": "Internal Server Error",
  5176. "schema": {
  5177. "$ref": "#/definitions/app.Response"
  5178. }
  5179. }
  5180. }
  5181. }
  5182. },
  5183. "/Ermcp3/QuerySCMiddleGoods": {
  5184. "get": {
  5185. "security": [
  5186. {
  5187. "ApiKeyAuth": []
  5188. }
  5189. ],
  5190. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5191. "produces": [
  5192. "application/json"
  5193. ],
  5194. "tags": [
  5195. "企业风险管理v3(app)"
  5196. ],
  5197. "summary": "查询现货订单",
  5198. "parameters": [
  5199. {
  5200. "type": "integer",
  5201. "description": "用户ID(填登录用户的userid)",
  5202. "name": "userid",
  5203. "in": "query",
  5204. "required": true
  5205. },
  5206. {
  5207. "type": "integer",
  5208. "description": "买卖方向 0-买 1-卖",
  5209. "name": "buyorsell",
  5210. "in": "query",
  5211. "required": true
  5212. },
  5213. {
  5214. "type": "integer",
  5215. "description": "商品组id",
  5216. "name": "goodsgroupid",
  5217. "in": "query",
  5218. "required": true
  5219. },
  5220. {
  5221. "type": "integer",
  5222. "description": "业务类型 1:套保 2:套利",
  5223. "name": "biztype",
  5224. "in": "query"
  5225. },
  5226. {
  5227. "type": "string",
  5228. "description": "现货编号(模糊匹配)",
  5229. "name": "contractno",
  5230. "in": "query"
  5231. },
  5232. {
  5233. "type": "string",
  5234. "description": "对手方(模糊匹配)",
  5235. "name": "customername",
  5236. "in": "query"
  5237. },
  5238. {
  5239. "type": "string",
  5240. "description": "现货商品名称(模糊匹配)",
  5241. "name": "wrstandardname",
  5242. "in": "query"
  5243. }
  5244. ],
  5245. "responses": {
  5246. "200": {
  5247. "description": "OK",
  5248. "schema": {
  5249. "type": "array",
  5250. "items": {
  5251. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5252. }
  5253. }
  5254. },
  5255. "500": {
  5256. "description": "Internal Server Error",
  5257. "schema": {
  5258. "$ref": "#/definitions/app.Response"
  5259. }
  5260. }
  5261. }
  5262. }
  5263. },
  5264. "/Ermcp3/QuerySpotContract": {
  5265. "get": {
  5266. "security": [
  5267. {
  5268. "ApiKeyAuth": []
  5269. }
  5270. ],
  5271. "produces": [
  5272. "application/json"
  5273. ],
  5274. "tags": [
  5275. "企业风险管理v3(app)"
  5276. ],
  5277. "summary": "查询现货合同",
  5278. "parameters": [
  5279. {
  5280. "type": "integer",
  5281. "description": "用户id(当指定contractid, userid可不填)",
  5282. "name": "userid",
  5283. "in": "query",
  5284. "required": true
  5285. },
  5286. {
  5287. "type": "integer",
  5288. "description": "用户类型 2-机构 7-企业成员",
  5289. "name": "usertype",
  5290. "in": "query"
  5291. },
  5292. {
  5293. "type": "integer",
  5294. "description": "合同类型 1-采购, -1-销售",
  5295. "name": "contracttype",
  5296. "in": "query"
  5297. },
  5298. {
  5299. "type": "string",
  5300. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5301. "name": "querytype",
  5302. "in": "query"
  5303. },
  5304. {
  5305. "type": "string",
  5306. "description": "合同ID(SpotContractId)",
  5307. "name": "contractid",
  5308. "in": "query"
  5309. },
  5310. {
  5311. "type": "string",
  5312. "description": "合同编号(模糊匹配)",
  5313. "name": "contractno",
  5314. "in": "query"
  5315. },
  5316. {
  5317. "type": "string",
  5318. "description": "商品名称(模糊匹配)",
  5319. "name": "wrstandardname",
  5320. "in": "query"
  5321. },
  5322. {
  5323. "type": "string",
  5324. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5325. "name": "status",
  5326. "in": "query"
  5327. },
  5328. {
  5329. "type": "integer",
  5330. "description": "是否只查今日的合同 1-查今日合同",
  5331. "name": "istoday",
  5332. "in": "query"
  5333. }
  5334. ],
  5335. "responses": {
  5336. "200": {
  5337. "description": "OK",
  5338. "schema": {
  5339. "type": "array",
  5340. "items": {
  5341. "$ref": "#/definitions/models.Ermcp3Contract"
  5342. }
  5343. }
  5344. },
  5345. "500": {
  5346. "description": "Internal Server Error",
  5347. "schema": {
  5348. "$ref": "#/definitions/app.Response"
  5349. }
  5350. }
  5351. }
  5352. }
  5353. },
  5354. "/Ermcp3/QuerySpotContractBS": {
  5355. "get": {
  5356. "security": [
  5357. {
  5358. "ApiKeyAuth": []
  5359. }
  5360. ],
  5361. "produces": [
  5362. "application/json"
  5363. ],
  5364. "tags": [
  5365. "企业风险管理v3(app)"
  5366. ],
  5367. "summary": "查询合同(采购/销售)",
  5368. "parameters": [
  5369. {
  5370. "type": "integer",
  5371. "description": "用户id",
  5372. "name": "userid",
  5373. "in": "query",
  5374. "required": true
  5375. },
  5376. {
  5377. "type": "integer",
  5378. "description": "用户类型 2-机构 7-企业成员",
  5379. "name": "usertype",
  5380. "in": "query"
  5381. },
  5382. {
  5383. "type": "integer",
  5384. "description": "合同类型 1-采购, -1-销售",
  5385. "name": "contracttype",
  5386. "in": "query",
  5387. "required": true
  5388. },
  5389. {
  5390. "type": "integer",
  5391. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5392. "name": "querytype",
  5393. "in": "query"
  5394. },
  5395. {
  5396. "type": "string",
  5397. "description": "合同ID(SpotContractId)",
  5398. "name": "contractid",
  5399. "in": "query"
  5400. },
  5401. {
  5402. "type": "string",
  5403. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5404. "name": "status",
  5405. "in": "query"
  5406. },
  5407. {
  5408. "type": "integer",
  5409. "description": "是否只查今日的合同 1-查今日合同",
  5410. "name": "istoday",
  5411. "in": "query"
  5412. }
  5413. ],
  5414. "responses": {
  5415. "200": {
  5416. "description": "OK",
  5417. "schema": {
  5418. "type": "array",
  5419. "items": {
  5420. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5421. }
  5422. }
  5423. },
  5424. "500": {
  5425. "description": "Internal Server Error",
  5426. "schema": {
  5427. "$ref": "#/definitions/app.Response"
  5428. }
  5429. }
  5430. }
  5431. }
  5432. },
  5433. "/Ermcp3/QuerySpotGoodsPrice": {
  5434. "get": {
  5435. "security": [
  5436. {
  5437. "ApiKeyAuth": []
  5438. }
  5439. ],
  5440. "produces": [
  5441. "application/json"
  5442. ],
  5443. "tags": [
  5444. "企业风险管理v3(app)"
  5445. ],
  5446. "summary": "查询现货市价(现货市价)",
  5447. "parameters": [
  5448. {
  5449. "type": "integer",
  5450. "description": "用户ID",
  5451. "name": "userid",
  5452. "in": "query",
  5453. "required": true
  5454. }
  5455. ],
  5456. "responses": {
  5457. "200": {
  5458. "description": "OK",
  5459. "schema": {
  5460. "type": "array",
  5461. "items": {
  5462. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5463. }
  5464. }
  5465. },
  5466. "500": {
  5467. "description": "Internal Server Error",
  5468. "schema": {
  5469. "$ref": "#/definitions/app.Response"
  5470. }
  5471. }
  5472. }
  5473. }
  5474. },
  5475. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5476. "get": {
  5477. "security": [
  5478. {
  5479. "ApiKeyAuth": []
  5480. }
  5481. ],
  5482. "produces": [
  5483. "application/json"
  5484. ],
  5485. "tags": [
  5486. "企业风险管理v3(app)"
  5487. ],
  5488. "summary": "查询现货市价详情(现货市价/详情)",
  5489. "parameters": [
  5490. {
  5491. "type": "integer",
  5492. "description": "用户ID",
  5493. "name": "userid",
  5494. "in": "query",
  5495. "required": true
  5496. },
  5497. {
  5498. "type": "integer",
  5499. "description": "现货商品ID",
  5500. "name": "deliverygoodsid",
  5501. "in": "query",
  5502. "required": true
  5503. },
  5504. {
  5505. "type": "integer",
  5506. "description": "品牌ID",
  5507. "name": "brandid",
  5508. "in": "query"
  5509. },
  5510. {
  5511. "type": "integer",
  5512. "description": "品类ID",
  5513. "name": "wrstandardid",
  5514. "in": "query"
  5515. }
  5516. ],
  5517. "responses": {
  5518. "200": {
  5519. "description": "OK",
  5520. "schema": {
  5521. "type": "array",
  5522. "items": {
  5523. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5524. }
  5525. }
  5526. },
  5527. "500": {
  5528. "description": "Internal Server Error",
  5529. "schema": {
  5530. "$ref": "#/definitions/app.Response"
  5531. }
  5532. }
  5533. }
  5534. }
  5535. },
  5536. "/Ermcp3/QuerySubTaaccount": {
  5537. "get": {
  5538. "security": [
  5539. {
  5540. "ApiKeyAuth": []
  5541. }
  5542. ],
  5543. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5544. "produces": [
  5545. "application/json"
  5546. ],
  5547. "tags": [
  5548. "企业风险管理v3(app)"
  5549. ],
  5550. "summary": "查询期货子账户",
  5551. "parameters": [
  5552. {
  5553. "type": "integer",
  5554. "description": "母账号id",
  5555. "name": "parentaccountid",
  5556. "in": "query"
  5557. },
  5558. {
  5559. "type": "string",
  5560. "description": "母账号代码",
  5561. "name": "parentaccountcode",
  5562. "in": "query"
  5563. }
  5564. ],
  5565. "responses": {
  5566. "200": {
  5567. "description": "OK",
  5568. "schema": {
  5569. "type": "array",
  5570. "items": {
  5571. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5572. }
  5573. }
  5574. },
  5575. "500": {
  5576. "description": "Internal Server Error",
  5577. "schema": {
  5578. "$ref": "#/definitions/app.Response"
  5579. }
  5580. }
  5581. }
  5582. }
  5583. },
  5584. "/Ermcp8/QueryErmcp2HedgedItem": {
  5585. "get": {
  5586. "security": [
  5587. {
  5588. "ApiKeyAuth": []
  5589. }
  5590. ],
  5591. "description": "已完成项目查询: 项目状态 = 3:正常完结 or 5:异常完结",
  5592. "produces": [
  5593. "application/json"
  5594. ],
  5595. "tags": [
  5596. "企业风险管理v8"
  5597. ],
  5598. "summary": "查询被套期项目信息",
  5599. "parameters": [
  5600. {
  5601. "type": "string",
  5602. "description": "用户ID",
  5603. "name": "userid",
  5604. "in": "query",
  5605. "required": true
  5606. },
  5607. {
  5608. "type": "integer",
  5609. "description": "套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  5610. "name": "HedgedType",
  5611. "in": "query"
  5612. },
  5613. {
  5614. "type": "integer",
  5615. "description": "项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5616. "name": "HedgedItemStatus",
  5617. "in": "query"
  5618. }
  5619. ],
  5620. "responses": {
  5621. "200": {
  5622. "description": "OK",
  5623. "schema": {
  5624. "type": "array",
  5625. "items": {
  5626. "$ref": "#/definitions/models.Ermcp2hedgeditem"
  5627. }
  5628. }
  5629. },
  5630. "500": {
  5631. "description": "Internal Server Error",
  5632. "schema": {
  5633. "$ref": "#/definitions/app.Response"
  5634. }
  5635. }
  5636. }
  5637. }
  5638. },
  5639. "/Erms2/QueryArbitrageStrategy": {
  5640. "get": {
  5641. "security": [
  5642. {
  5643. "ApiKeyAuth": []
  5644. }
  5645. ],
  5646. "produces": [
  5647. "application/json"
  5648. ],
  5649. "tags": [
  5650. "风险管理"
  5651. ],
  5652. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  5653. "parameters": [
  5654. {
  5655. "type": "integer",
  5656. "description": "账户ID",
  5657. "name": "userid",
  5658. "in": "query",
  5659. "required": true
  5660. },
  5661. {
  5662. "type": "string",
  5663. "description": "商品组ID(品种ID)",
  5664. "name": "goodsgroupid",
  5665. "in": "query"
  5666. }
  5667. ],
  5668. "responses": {
  5669. "200": {
  5670. "description": "OK",
  5671. "schema": {
  5672. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  5673. }
  5674. },
  5675. "500": {
  5676. "description": "Internal Server Error",
  5677. "schema": {
  5678. "$ref": "#/definitions/app.Response"
  5679. }
  5680. }
  5681. }
  5682. }
  5683. },
  5684. "/Erms2/QueryInnerTradeDetail": {
  5685. "get": {
  5686. "security": [
  5687. {
  5688. "ApiKeyAuth": []
  5689. }
  5690. ],
  5691. "produces": [
  5692. "application/json"
  5693. ],
  5694. "tags": [
  5695. "风险管理"
  5696. ],
  5697. "summary": "查询内部成交单信息",
  5698. "parameters": [
  5699. {
  5700. "type": "integer",
  5701. "description": "资金账户",
  5702. "name": "accountid",
  5703. "in": "query",
  5704. "required": true
  5705. }
  5706. ],
  5707. "responses": {
  5708. "200": {
  5709. "description": "OK",
  5710. "schema": {
  5711. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  5712. }
  5713. },
  5714. "500": {
  5715. "description": "Internal Server Error",
  5716. "schema": {
  5717. "$ref": "#/definitions/app.Response"
  5718. }
  5719. }
  5720. }
  5721. }
  5722. },
  5723. "/Erms2/QuerySpotContract": {
  5724. "get": {
  5725. "security": [
  5726. {
  5727. "ApiKeyAuth": []
  5728. }
  5729. ],
  5730. "produces": [
  5731. "application/json"
  5732. ],
  5733. "tags": [
  5734. "风险管理"
  5735. ],
  5736. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  5737. "parameters": [
  5738. {
  5739. "type": "integer",
  5740. "description": "策略申请ID",
  5741. "name": "asapplyid",
  5742. "in": "query",
  5743. "required": true
  5744. },
  5745. {
  5746. "type": "integer",
  5747. "description": "现货合同ID",
  5748. "name": "spotcontractid",
  5749. "in": "query"
  5750. }
  5751. ],
  5752. "responses": {
  5753. "200": {
  5754. "description": "OK",
  5755. "schema": {
  5756. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  5757. }
  5758. },
  5759. "500": {
  5760. "description": "Internal Server Error",
  5761. "schema": {
  5762. "$ref": "#/definitions/app.Response"
  5763. }
  5764. }
  5765. }
  5766. }
  5767. },
  5768. "/Erms3/AddErms2ASApply": {
  5769. "post": {
  5770. "security": [
  5771. {
  5772. "ApiKeyAuth": []
  5773. }
  5774. ],
  5775. "produces": [
  5776. "application/json"
  5777. ],
  5778. "tags": [
  5779. "风险管理v3"
  5780. ],
  5781. "summary": "新增期现套利业务申请",
  5782. "parameters": [
  5783. {
  5784. "description": "申请参数",
  5785. "name": "jsonBody",
  5786. "in": "body",
  5787. "required": true,
  5788. "schema": {
  5789. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  5790. }
  5791. }
  5792. ],
  5793. "responses": {
  5794. "200": {
  5795. "description": "OK",
  5796. "schema": {
  5797. "$ref": "#/definitions/app.Response"
  5798. }
  5799. },
  5800. "500": {
  5801. "description": "Internal Server Error",
  5802. "schema": {
  5803. "$ref": "#/definitions/app.Response"
  5804. }
  5805. }
  5806. }
  5807. }
  5808. },
  5809. "/Erms3/AddErms2SpotTradeApply": {
  5810. "post": {
  5811. "security": [
  5812. {
  5813. "ApiKeyAuth": []
  5814. }
  5815. ],
  5816. "produces": [
  5817. "application/json"
  5818. ],
  5819. "tags": [
  5820. "风险管理v3"
  5821. ],
  5822. "summary": "新增现货贸易业务申请",
  5823. "parameters": [
  5824. {
  5825. "description": "申请参数",
  5826. "name": "jsonBody",
  5827. "in": "body",
  5828. "required": true,
  5829. "schema": {
  5830. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  5831. }
  5832. }
  5833. ],
  5834. "responses": {
  5835. "200": {
  5836. "description": "OK",
  5837. "schema": {
  5838. "$ref": "#/definitions/app.Response"
  5839. }
  5840. },
  5841. "500": {
  5842. "description": "Internal Server Error",
  5843. "schema": {
  5844. "$ref": "#/definitions/app.Response"
  5845. }
  5846. }
  5847. }
  5848. }
  5849. },
  5850. "/Erms3/AddSpotContractApply": {
  5851. "post": {
  5852. "security": [
  5853. {
  5854. "ApiKeyAuth": []
  5855. }
  5856. ],
  5857. "produces": [
  5858. "application/json"
  5859. ],
  5860. "tags": [
  5861. "风险管理v3"
  5862. ],
  5863. "summary": "新增现货合同申请",
  5864. "parameters": [
  5865. {
  5866. "description": "申请参数",
  5867. "name": "jsonBody",
  5868. "in": "body",
  5869. "required": true,
  5870. "schema": {
  5871. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  5872. }
  5873. }
  5874. ],
  5875. "responses": {
  5876. "200": {
  5877. "description": "OK",
  5878. "schema": {
  5879. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  5880. }
  5881. },
  5882. "500": {
  5883. "description": "Internal Server Error",
  5884. "schema": {
  5885. "$ref": "#/definitions/app.Response"
  5886. }
  5887. }
  5888. }
  5889. }
  5890. },
  5891. "/Erms3/AddUserInfoApply": {
  5892. "post": {
  5893. "security": [
  5894. {
  5895. "ApiKeyAuth": []
  5896. }
  5897. ],
  5898. "produces": [
  5899. "application/json"
  5900. ],
  5901. "tags": [
  5902. "风险管理v3"
  5903. ],
  5904. "summary": "新增客户申请",
  5905. "parameters": [
  5906. {
  5907. "description": "用户信息",
  5908. "name": "jsonBody",
  5909. "in": "body",
  5910. "required": true,
  5911. "schema": {
  5912. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5913. }
  5914. }
  5915. ],
  5916. "responses": {
  5917. "200": {
  5918. "description": "OK",
  5919. "schema": {
  5920. "$ref": "#/definitions/app.Response"
  5921. }
  5922. },
  5923. "500": {
  5924. "description": "Internal Server Error",
  5925. "schema": {
  5926. "$ref": "#/definitions/app.Response"
  5927. }
  5928. }
  5929. }
  5930. }
  5931. },
  5932. "/Erms3/DeleteUserInfoApply": {
  5933. "get": {
  5934. "security": [
  5935. {
  5936. "ApiKeyAuth": []
  5937. }
  5938. ],
  5939. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5940. "produces": [
  5941. "application/json"
  5942. ],
  5943. "tags": [
  5944. "风险管理v3"
  5945. ],
  5946. "summary": "删除客户申请",
  5947. "parameters": [
  5948. {
  5949. "type": "integer",
  5950. "description": "用户ID",
  5951. "name": "userID",
  5952. "in": "query",
  5953. "required": true
  5954. }
  5955. ],
  5956. "responses": {
  5957. "200": {
  5958. "description": "OK",
  5959. "schema": {
  5960. "$ref": "#/definitions/app.Response"
  5961. }
  5962. },
  5963. "500": {
  5964. "description": "Internal Server Error",
  5965. "schema": {
  5966. "$ref": "#/definitions/app.Response"
  5967. }
  5968. }
  5969. }
  5970. }
  5971. },
  5972. "/Erms3/ModifyUserInfoApply": {
  5973. "post": {
  5974. "security": [
  5975. {
  5976. "ApiKeyAuth": []
  5977. }
  5978. ],
  5979. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5980. "produces": [
  5981. "application/json"
  5982. ],
  5983. "tags": [
  5984. "风险管理v3"
  5985. ],
  5986. "summary": "修改客户申请",
  5987. "parameters": [
  5988. {
  5989. "description": "用户信息",
  5990. "name": "jsonBody",
  5991. "in": "body",
  5992. "required": true,
  5993. "schema": {
  5994. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5995. }
  5996. }
  5997. ],
  5998. "responses": {
  5999. "200": {
  6000. "description": "OK",
  6001. "schema": {
  6002. "$ref": "#/definitions/app.Response"
  6003. }
  6004. },
  6005. "500": {
  6006. "description": "Internal Server Error",
  6007. "schema": {
  6008. "$ref": "#/definitions/app.Response"
  6009. }
  6010. }
  6011. }
  6012. }
  6013. },
  6014. "/Erms3/QueryBusinessInfo": {
  6015. "get": {
  6016. "security": [
  6017. {
  6018. "ApiKeyAuth": []
  6019. }
  6020. ],
  6021. "produces": [
  6022. "application/json"
  6023. ],
  6024. "tags": [
  6025. "风险管理v3"
  6026. ],
  6027. "summary": "查询业务表单数据",
  6028. "parameters": [
  6029. {
  6030. "type": "string",
  6031. "description": "资金账号ID列表,用逗号分隔",
  6032. "name": "accountids",
  6033. "in": "query",
  6034. "required": true
  6035. },
  6036. {
  6037. "type": "integer",
  6038. "description": "状态,0为未结束 1为已结束",
  6039. "name": "status",
  6040. "in": "query",
  6041. "required": true
  6042. }
  6043. ],
  6044. "responses": {
  6045. "200": {
  6046. "description": "OK",
  6047. "schema": {
  6048. "type": "array",
  6049. "items": {
  6050. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  6051. }
  6052. }
  6053. },
  6054. "500": {
  6055. "description": "Internal Server Error",
  6056. "schema": {
  6057. "$ref": "#/definitions/app.Response"
  6058. }
  6059. }
  6060. }
  6061. }
  6062. },
  6063. "/Erms3/QueryPendingAuditContract": {
  6064. "get": {
  6065. "security": [
  6066. {
  6067. "ApiKeyAuth": []
  6068. }
  6069. ],
  6070. "produces": [
  6071. "application/json"
  6072. ],
  6073. "tags": [
  6074. "风险管理v3"
  6075. ],
  6076. "summary": "查询待审核合同",
  6077. "parameters": [
  6078. {
  6079. "type": "string",
  6080. "description": "资金账号ID列表,逗号隔开",
  6081. "name": "accountids",
  6082. "in": "query",
  6083. "required": true
  6084. },
  6085. {
  6086. "type": "integer",
  6087. "description": "合同类型 1-采购 -1-销售",
  6088. "name": "contracttype",
  6089. "in": "query",
  6090. "required": true
  6091. },
  6092. {
  6093. "type": "integer",
  6094. "description": "合同模式 1-普通 2-回购",
  6095. "name": "contractmode",
  6096. "in": "query",
  6097. "required": true
  6098. }
  6099. ],
  6100. "responses": {
  6101. "200": {
  6102. "description": "OK",
  6103. "schema": {
  6104. "type": "array",
  6105. "items": {
  6106. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  6107. }
  6108. }
  6109. },
  6110. "500": {
  6111. "description": "Internal Server Error",
  6112. "schema": {
  6113. "$ref": "#/definitions/app.Response"
  6114. }
  6115. }
  6116. }
  6117. }
  6118. },
  6119. "/Erms3/QueryPendingBusiness": {
  6120. "get": {
  6121. "security": [
  6122. {
  6123. "ApiKeyAuth": []
  6124. }
  6125. ],
  6126. "produces": [
  6127. "application/json"
  6128. ],
  6129. "tags": [
  6130. "风险管理v3"
  6131. ],
  6132. "summary": "查询待审核基差贸易业务",
  6133. "parameters": [
  6134. {
  6135. "type": "string",
  6136. "description": "资金账号ID列表,逗号隔开",
  6137. "name": "accountids",
  6138. "in": "query",
  6139. "required": true
  6140. }
  6141. ],
  6142. "responses": {
  6143. "200": {
  6144. "description": "OK",
  6145. "schema": {
  6146. "type": "array",
  6147. "items": {
  6148. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  6149. }
  6150. }
  6151. },
  6152. "500": {
  6153. "description": "Internal Server Error",
  6154. "schema": {
  6155. "$ref": "#/definitions/app.Response"
  6156. }
  6157. }
  6158. }
  6159. }
  6160. },
  6161. "/Erms3/QuerySpotContractAppleForm": {
  6162. "get": {
  6163. "security": [
  6164. {
  6165. "ApiKeyAuth": []
  6166. }
  6167. ],
  6168. "produces": [
  6169. "application/json"
  6170. ],
  6171. "tags": [
  6172. "风险管理v3"
  6173. ],
  6174. "summary": "查询合同申请表单数据",
  6175. "parameters": [
  6176. {
  6177. "type": "integer",
  6178. "description": "登录账号",
  6179. "name": "loginID",
  6180. "in": "query",
  6181. "required": true
  6182. }
  6183. ],
  6184. "responses": {
  6185. "200": {
  6186. "description": "OK",
  6187. "schema": {
  6188. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  6189. }
  6190. },
  6191. "500": {
  6192. "description": "Internal Server Error",
  6193. "schema": {
  6194. "$ref": "#/definitions/app.Response"
  6195. }
  6196. }
  6197. }
  6198. }
  6199. },
  6200. "/Erms3/QuerySpotContractDetail": {
  6201. "get": {
  6202. "security": [
  6203. {
  6204. "ApiKeyAuth": []
  6205. }
  6206. ],
  6207. "produces": [
  6208. "application/json"
  6209. ],
  6210. "tags": [
  6211. "风险管理v3"
  6212. ],
  6213. "summary": "查询合同详细信息",
  6214. "parameters": [
  6215. {
  6216. "type": "string",
  6217. "description": "资金账号ID列表,用逗号分隔",
  6218. "name": "accountids",
  6219. "in": "query",
  6220. "required": true
  6221. },
  6222. {
  6223. "type": "integer",
  6224. "description": "合同类型,1为采购合同 -1为销售合同",
  6225. "name": "contracttype",
  6226. "in": "query",
  6227. "required": true
  6228. },
  6229. {
  6230. "type": "integer",
  6231. "description": "合同模式,1为普通合同 2为回购销售合同",
  6232. "name": "contractmode",
  6233. "in": "query",
  6234. "required": true
  6235. },
  6236. {
  6237. "type": "integer",
  6238. "description": "状态,0为履约中 1为已完成",
  6239. "name": "status",
  6240. "in": "query",
  6241. "required": true
  6242. }
  6243. ],
  6244. "responses": {
  6245. "200": {
  6246. "description": "OK",
  6247. "schema": {
  6248. "type": "array",
  6249. "items": {
  6250. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  6251. }
  6252. }
  6253. },
  6254. "500": {
  6255. "description": "Internal Server Error",
  6256. "schema": {
  6257. "$ref": "#/definitions/app.Response"
  6258. }
  6259. }
  6260. }
  6261. }
  6262. },
  6263. "/Erms3/QueryUserInfoApplies": {
  6264. "get": {
  6265. "security": [
  6266. {
  6267. "ApiKeyAuth": []
  6268. }
  6269. ],
  6270. "produces": [
  6271. "application/json"
  6272. ],
  6273. "tags": [
  6274. "风险管理v3"
  6275. ],
  6276. "summary": "客户申请信息查询",
  6277. "parameters": [
  6278. {
  6279. "type": "integer",
  6280. "description": "页码",
  6281. "name": "page",
  6282. "in": "query"
  6283. },
  6284. {
  6285. "type": "integer",
  6286. "description": "每页条数",
  6287. "name": "pagesize",
  6288. "in": "query"
  6289. },
  6290. {
  6291. "type": "string",
  6292. "description": "客户名称,支持模糊查询",
  6293. "name": "userName",
  6294. "in": "query"
  6295. }
  6296. ],
  6297. "responses": {
  6298. "200": {
  6299. "description": "OK",
  6300. "schema": {
  6301. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  6302. }
  6303. },
  6304. "500": {
  6305. "description": "Internal Server Error",
  6306. "schema": {
  6307. "$ref": "#/definitions/app.Response"
  6308. }
  6309. }
  6310. }
  6311. }
  6312. },
  6313. "/Erms3/QueryUserInfos": {
  6314. "get": {
  6315. "security": [
  6316. {
  6317. "ApiKeyAuth": []
  6318. }
  6319. ],
  6320. "produces": [
  6321. "application/json"
  6322. ],
  6323. "tags": [
  6324. "风险管理v3"
  6325. ],
  6326. "summary": "客户信息查询",
  6327. "parameters": [
  6328. {
  6329. "type": "integer",
  6330. "description": "页码",
  6331. "name": "page",
  6332. "in": "query"
  6333. },
  6334. {
  6335. "type": "integer",
  6336. "description": "每页条数",
  6337. "name": "pagesize",
  6338. "in": "query"
  6339. },
  6340. {
  6341. "type": "string",
  6342. "description": "客户名称,支持模糊查询",
  6343. "name": "userName",
  6344. "in": "query"
  6345. }
  6346. ],
  6347. "responses": {
  6348. "200": {
  6349. "description": "OK",
  6350. "schema": {
  6351. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  6352. }
  6353. },
  6354. "500": {
  6355. "description": "Internal Server Error",
  6356. "schema": {
  6357. "$ref": "#/definitions/app.Response"
  6358. }
  6359. }
  6360. }
  6361. }
  6362. },
  6363. "/HSBY/GetHsbyMyCount": {
  6364. "get": {
  6365. "security": [
  6366. {
  6367. "ApiKeyAuth": []
  6368. }
  6369. ],
  6370. "description": "说明: 不包括已完成的数量。",
  6371. "produces": [
  6372. "application/json"
  6373. ],
  6374. "tags": [
  6375. "定制【海商报业】"
  6376. ],
  6377. "summary": "获取我的订单与包裹数量",
  6378. "parameters": [
  6379. {
  6380. "type": "string",
  6381. "description": "资金账户列表,格式:1,2,3",
  6382. "name": "accountIDs",
  6383. "in": "query",
  6384. "required": true
  6385. }
  6386. ],
  6387. "responses": {
  6388. "200": {
  6389. "description": "OK",
  6390. "schema": {
  6391. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  6392. }
  6393. },
  6394. "500": {
  6395. "description": "Internal Server Error",
  6396. "schema": {
  6397. "$ref": "#/definitions/app.Response"
  6398. }
  6399. }
  6400. }
  6401. }
  6402. },
  6403. "/HSBY/QueryClientFixedADConfigs": {
  6404. "get": {
  6405. "security": [
  6406. {
  6407. "ApiKeyAuth": []
  6408. }
  6409. ],
  6410. "produces": [
  6411. "application/json"
  6412. ],
  6413. "tags": [
  6414. "定制【海商报业】"
  6415. ],
  6416. "summary": "获取终端固定广告配置",
  6417. "responses": {
  6418. "200": {
  6419. "description": "OK",
  6420. "schema": {
  6421. "$ref": "#/definitions/models.Clientfixedadconfig"
  6422. }
  6423. },
  6424. "500": {
  6425. "description": "Internal Server Error",
  6426. "schema": {
  6427. "$ref": "#/definitions/app.Response"
  6428. }
  6429. }
  6430. }
  6431. }
  6432. },
  6433. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  6434. "get": {
  6435. "security": [
  6436. {
  6437. "ApiKeyAuth": []
  6438. }
  6439. ],
  6440. "produces": [
  6441. "application/json"
  6442. ],
  6443. "tags": [
  6444. "定制【海商报业】"
  6445. ],
  6446. "summary": "查询\"我的订单 - 已完成\"单据信息",
  6447. "parameters": [
  6448. {
  6449. "type": "integer",
  6450. "description": "页码",
  6451. "name": "page",
  6452. "in": "query"
  6453. },
  6454. {
  6455. "type": "integer",
  6456. "description": "每页条数",
  6457. "name": "pagesize",
  6458. "in": "query"
  6459. },
  6460. {
  6461. "type": "string",
  6462. "description": "资金账户列表,格式:1,2,3",
  6463. "name": "accountIDs",
  6464. "in": "query",
  6465. "required": true
  6466. }
  6467. ],
  6468. "responses": {
  6469. "200": {
  6470. "description": "OK",
  6471. "schema": {
  6472. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  6473. }
  6474. },
  6475. "500": {
  6476. "description": "Internal Server Error",
  6477. "schema": {
  6478. "$ref": "#/definitions/app.Response"
  6479. }
  6480. }
  6481. }
  6482. }
  6483. },
  6484. "/HSBY/QueryHsbyGoodsOrderDetails": {
  6485. "get": {
  6486. "security": [
  6487. {
  6488. "ApiKeyAuth": []
  6489. }
  6490. ],
  6491. "description": "说明:查询结果已按委托价格和委托时间排序",
  6492. "produces": [
  6493. "application/json"
  6494. ],
  6495. "tags": [
  6496. "定制【海商报业】"
  6497. ],
  6498. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  6499. "parameters": [
  6500. {
  6501. "type": "integer",
  6502. "description": "商品ID",
  6503. "name": "goodsID",
  6504. "in": "query",
  6505. "required": true
  6506. },
  6507. {
  6508. "type": "string",
  6509. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  6510. "name": "accountIDs",
  6511. "in": "query"
  6512. },
  6513. {
  6514. "type": "integer",
  6515. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  6516. "name": "buyOrSell",
  6517. "in": "query"
  6518. },
  6519. {
  6520. "type": "number",
  6521. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  6522. "name": "price",
  6523. "in": "query"
  6524. },
  6525. {
  6526. "type": "integer",
  6527. "description": "档位,不传则默认为3档",
  6528. "name": "speed",
  6529. "in": "query"
  6530. }
  6531. ],
  6532. "responses": {
  6533. "200": {
  6534. "description": "OK",
  6535. "schema": {
  6536. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  6537. }
  6538. },
  6539. "500": {
  6540. "description": "Internal Server Error",
  6541. "schema": {
  6542. "$ref": "#/definitions/app.Response"
  6543. }
  6544. }
  6545. }
  6546. }
  6547. },
  6548. "/HSBY/QueryHsbyListingGoodsDetail": {
  6549. "get": {
  6550. "security": [
  6551. {
  6552. "ApiKeyAuth": []
  6553. }
  6554. ],
  6555. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  6556. "produces": [
  6557. "application/json"
  6558. ],
  6559. "tags": [
  6560. "定制【海商报业】"
  6561. ],
  6562. "summary": "查询二级市场(挂牌点选)商品信息详情",
  6563. "parameters": [
  6564. {
  6565. "type": "integer",
  6566. "description": "商品ID",
  6567. "name": "goodsID",
  6568. "in": "query",
  6569. "required": true
  6570. },
  6571. {
  6572. "type": "integer",
  6573. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  6574. "name": "accountID",
  6575. "in": "query"
  6576. }
  6577. ],
  6578. "responses": {
  6579. "200": {
  6580. "description": "OK",
  6581. "schema": {
  6582. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  6583. }
  6584. },
  6585. "500": {
  6586. "description": "Internal Server Error",
  6587. "schema": {
  6588. "$ref": "#/definitions/app.Response"
  6589. }
  6590. }
  6591. }
  6592. }
  6593. },
  6594. "/HSBY/QueryHsbyMarketGoodsDetail": {
  6595. "get": {
  6596. "security": [
  6597. {
  6598. "ApiKeyAuth": []
  6599. }
  6600. ],
  6601. "produces": [
  6602. "application/json"
  6603. ],
  6604. "tags": [
  6605. "定制【海商报业】"
  6606. ],
  6607. "summary": "查询三级市场(商城)商品信息详情",
  6608. "parameters": [
  6609. {
  6610. "type": "integer",
  6611. "description": "委托单号",
  6612. "name": "orderID",
  6613. "in": "query",
  6614. "required": true
  6615. },
  6616. {
  6617. "type": "integer",
  6618. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  6619. "name": "accountID",
  6620. "in": "query"
  6621. }
  6622. ],
  6623. "responses": {
  6624. "200": {
  6625. "description": "OK",
  6626. "schema": {
  6627. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6628. }
  6629. },
  6630. "500": {
  6631. "description": "Internal Server Error",
  6632. "schema": {
  6633. "$ref": "#/definitions/app.Response"
  6634. }
  6635. }
  6636. }
  6637. }
  6638. },
  6639. "/HSBY/QueryHsbyMarketGoodses": {
  6640. "get": {
  6641. "security": [
  6642. {
  6643. "ApiKeyAuth": []
  6644. }
  6645. ],
  6646. "produces": [
  6647. "application/json"
  6648. ],
  6649. "tags": [
  6650. "定制【海商报业】"
  6651. ],
  6652. "summary": "查询特卖商品列表(三级商城)",
  6653. "parameters": [
  6654. {
  6655. "type": "integer",
  6656. "description": "页码",
  6657. "name": "page",
  6658. "in": "query"
  6659. },
  6660. {
  6661. "type": "integer",
  6662. "description": "每页条数",
  6663. "name": "pagesize",
  6664. "in": "query"
  6665. },
  6666. {
  6667. "type": "string",
  6668. "description": "市场ID列表,格式:1,2,3",
  6669. "name": "marketIDs",
  6670. "in": "query",
  6671. "required": true
  6672. },
  6673. {
  6674. "type": "integer",
  6675. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  6676. "name": "accountID",
  6677. "in": "query",
  6678. "required": true
  6679. },
  6680. {
  6681. "type": "integer",
  6682. "description": "类别ID",
  6683. "name": "categoryID",
  6684. "in": "query"
  6685. },
  6686. {
  6687. "type": "string",
  6688. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6689. "name": "goodsIDs",
  6690. "in": "query"
  6691. },
  6692. {
  6693. "type": "integer",
  6694. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  6695. "name": "couponTypeID",
  6696. "in": "query"
  6697. }
  6698. ],
  6699. "responses": {
  6700. "200": {
  6701. "description": "OK",
  6702. "schema": {
  6703. "$ref": "#/definitions/models.HsbyMarketGoods"
  6704. }
  6705. },
  6706. "500": {
  6707. "description": "Internal Server Error",
  6708. "schema": {
  6709. "$ref": "#/definitions/app.Response"
  6710. }
  6711. }
  6712. }
  6713. }
  6714. },
  6715. "/HSBY/QueryHsbyMarkets": {
  6716. "get": {
  6717. "security": [
  6718. {
  6719. "ApiKeyAuth": []
  6720. }
  6721. ],
  6722. "produces": [
  6723. "application/json"
  6724. ],
  6725. "tags": [
  6726. "定制【海商报业】"
  6727. ],
  6728. "summary": "查询海商报业相关市场信息",
  6729. "responses": {
  6730. "200": {
  6731. "description": "OK",
  6732. "schema": {
  6733. "$ref": "#/definitions/models.HsbyMarketInfo"
  6734. }
  6735. },
  6736. "500": {
  6737. "description": "Internal Server Error",
  6738. "schema": {
  6739. "$ref": "#/definitions/app.Response"
  6740. }
  6741. }
  6742. }
  6743. }
  6744. },
  6745. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  6746. "get": {
  6747. "security": [
  6748. {
  6749. "ApiKeyAuth": []
  6750. }
  6751. ],
  6752. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  6753. "produces": [
  6754. "application/json"
  6755. ],
  6756. "tags": [
  6757. "定制【海商报业】"
  6758. ],
  6759. "summary": "查询“我的订单”信息",
  6760. "parameters": [
  6761. {
  6762. "type": "string",
  6763. "description": "资金账户列表,格式:1,2,3",
  6764. "name": "accountIDs",
  6765. "in": "query",
  6766. "required": true
  6767. }
  6768. ],
  6769. "responses": {
  6770. "200": {
  6771. "description": "OK",
  6772. "schema": {
  6773. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  6774. }
  6775. },
  6776. "500": {
  6777. "description": "Internal Server Error",
  6778. "schema": {
  6779. "$ref": "#/definitions/app.Response"
  6780. }
  6781. }
  6782. }
  6783. }
  6784. },
  6785. "/HSBY/QueryHsbyMyGoods": {
  6786. "get": {
  6787. "security": [
  6788. {
  6789. "ApiKeyAuth": []
  6790. }
  6791. ],
  6792. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  6793. "produces": [
  6794. "application/json"
  6795. ],
  6796. "tags": [
  6797. "定制【海商报业】"
  6798. ],
  6799. "summary": "查询“我的商品”信息",
  6800. "parameters": [
  6801. {
  6802. "type": "string",
  6803. "description": "资金账户列表,格式:1,2,3",
  6804. "name": "accountIDs",
  6805. "in": "query",
  6806. "required": true
  6807. }
  6808. ],
  6809. "responses": {
  6810. "200": {
  6811. "description": "OK",
  6812. "schema": {
  6813. "$ref": "#/definitions/models.HsbyMyGoods"
  6814. }
  6815. },
  6816. "500": {
  6817. "description": "Internal Server Error",
  6818. "schema": {
  6819. "$ref": "#/definitions/app.Response"
  6820. }
  6821. }
  6822. }
  6823. }
  6824. },
  6825. "/HSBY/QueryHsbyMyPackages": {
  6826. "get": {
  6827. "security": [
  6828. {
  6829. "ApiKeyAuth": []
  6830. }
  6831. ],
  6832. "produces": [
  6833. "application/json"
  6834. ],
  6835. "tags": [
  6836. "定制【海商报业】"
  6837. ],
  6838. "summary": "查询我的包裹信息",
  6839. "parameters": [
  6840. {
  6841. "type": "string",
  6842. "description": "资金账户列表,格式:1,2,3",
  6843. "name": "accountIDs",
  6844. "in": "query",
  6845. "required": true
  6846. },
  6847. {
  6848. "type": "integer",
  6849. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6850. "name": "takeOrderStatus",
  6851. "in": "query"
  6852. }
  6853. ],
  6854. "responses": {
  6855. "200": {
  6856. "description": "OK",
  6857. "schema": {
  6858. "$ref": "#/definitions/models.HsbyMyPackage"
  6859. }
  6860. },
  6861. "500": {
  6862. "description": "Internal Server Error",
  6863. "schema": {
  6864. "$ref": "#/definitions/app.Response"
  6865. }
  6866. }
  6867. }
  6868. }
  6869. },
  6870. "/HSBY/QueryHsbyPreGoodsDetail": {
  6871. "get": {
  6872. "security": [
  6873. {
  6874. "ApiKeyAuth": []
  6875. }
  6876. ],
  6877. "produces": [
  6878. "application/json"
  6879. ],
  6880. "tags": [
  6881. "定制【海商报业】"
  6882. ],
  6883. "summary": "查询一级市场(预售)商品信息详情",
  6884. "parameters": [
  6885. {
  6886. "type": "integer",
  6887. "description": "商品ID",
  6888. "name": "goodsID",
  6889. "in": "query",
  6890. "required": true
  6891. },
  6892. {
  6893. "type": "integer",
  6894. "description": "资金账户,主要用于获取预售商品购买上限",
  6895. "name": "accountID",
  6896. "in": "query"
  6897. }
  6898. ],
  6899. "responses": {
  6900. "200": {
  6901. "description": "OK",
  6902. "schema": {
  6903. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6904. }
  6905. },
  6906. "500": {
  6907. "description": "Internal Server Error",
  6908. "schema": {
  6909. "$ref": "#/definitions/app.Response"
  6910. }
  6911. }
  6912. }
  6913. }
  6914. },
  6915. "/HSBY/QueryHsbyPreGoodses": {
  6916. "get": {
  6917. "security": [
  6918. {
  6919. "ApiKeyAuth": []
  6920. }
  6921. ],
  6922. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6923. "produces": [
  6924. "application/json"
  6925. ],
  6926. "tags": [
  6927. "定制【海商报业】"
  6928. ],
  6929. "summary": "查询新品上市商品列表(一级市场预售)",
  6930. "parameters": [
  6931. {
  6932. "type": "integer",
  6933. "description": "页码",
  6934. "name": "page",
  6935. "in": "query"
  6936. },
  6937. {
  6938. "type": "integer",
  6939. "description": "每页条数",
  6940. "name": "pagesize",
  6941. "in": "query"
  6942. },
  6943. {
  6944. "type": "string",
  6945. "description": "市场ID列表,格式:1,2,3",
  6946. "name": "marketIDs",
  6947. "in": "query",
  6948. "required": true
  6949. },
  6950. {
  6951. "type": "integer",
  6952. "description": "目的地(省)ID",
  6953. "name": "descProvinceID",
  6954. "in": "query"
  6955. },
  6956. {
  6957. "type": "integer",
  6958. "description": "目的地(市)ID",
  6959. "name": "descCityID",
  6960. "in": "query"
  6961. }
  6962. ],
  6963. "responses": {
  6964. "200": {
  6965. "description": "OK",
  6966. "schema": {
  6967. "$ref": "#/definitions/models.HsbyPreGoods"
  6968. }
  6969. },
  6970. "500": {
  6971. "description": "Internal Server Error",
  6972. "schema": {
  6973. "$ref": "#/definitions/app.Response"
  6974. }
  6975. }
  6976. }
  6977. }
  6978. },
  6979. "/HSBY/QueryHsbySellMyDetails": {
  6980. "get": {
  6981. "security": [
  6982. {
  6983. "ApiKeyAuth": []
  6984. }
  6985. ],
  6986. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6987. "produces": [
  6988. "application/json"
  6989. ],
  6990. "tags": [
  6991. "定制【海商报业】"
  6992. ],
  6993. "summary": "查询\"我的闲置\"单据信息",
  6994. "parameters": [
  6995. {
  6996. "type": "integer",
  6997. "description": "页码",
  6998. "name": "page",
  6999. "in": "query"
  7000. },
  7001. {
  7002. "type": "integer",
  7003. "description": "每页条数",
  7004. "name": "pagesize",
  7005. "in": "query"
  7006. },
  7007. {
  7008. "type": "string",
  7009. "description": "资金账户列表,格式:1,2,3",
  7010. "name": "accountIDs",
  7011. "in": "query",
  7012. "required": true
  7013. },
  7014. {
  7015. "type": "integer",
  7016. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  7017. "name": "orderType",
  7018. "in": "query"
  7019. }
  7020. ],
  7021. "responses": {
  7022. "200": {
  7023. "description": "OK",
  7024. "schema": {
  7025. "$ref": "#/definitions/models.HsbySellMyDetail"
  7026. }
  7027. },
  7028. "500": {
  7029. "description": "Internal Server Error",
  7030. "schema": {
  7031. "$ref": "#/definitions/app.Response"
  7032. }
  7033. }
  7034. }
  7035. }
  7036. },
  7037. "/HSBY/QueryHsbyTopGoodses": {
  7038. "get": {
  7039. "security": [
  7040. {
  7041. "ApiKeyAuth": []
  7042. }
  7043. ],
  7044. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  7045. "produces": [
  7046. "application/json"
  7047. ],
  7048. "tags": [
  7049. "定制【海商报业】"
  7050. ],
  7051. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  7052. "parameters": [
  7053. {
  7054. "type": "integer",
  7055. "description": "页码",
  7056. "name": "page",
  7057. "in": "query"
  7058. },
  7059. {
  7060. "type": "integer",
  7061. "description": "每页条数",
  7062. "name": "pagesize",
  7063. "in": "query"
  7064. },
  7065. {
  7066. "type": "string",
  7067. "description": "市场ID列表,格式:1,2,3",
  7068. "name": "marketIDs",
  7069. "in": "query",
  7070. "required": true
  7071. },
  7072. {
  7073. "type": "integer",
  7074. "description": "目的地(省)ID",
  7075. "name": "descProvinceID",
  7076. "in": "query"
  7077. },
  7078. {
  7079. "type": "integer",
  7080. "description": "目的地(市)ID",
  7081. "name": "descCityID",
  7082. "in": "query"
  7083. }
  7084. ],
  7085. "responses": {
  7086. "200": {
  7087. "description": "OK",
  7088. "schema": {
  7089. "$ref": "#/definitions/models.HsbyTopGoods"
  7090. }
  7091. },
  7092. "500": {
  7093. "description": "Internal Server Error",
  7094. "schema": {
  7095. "$ref": "#/definitions/app.Response"
  7096. }
  7097. }
  7098. }
  7099. }
  7100. },
  7101. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  7102. "get": {
  7103. "security": [
  7104. {
  7105. "ApiKeyAuth": []
  7106. }
  7107. ],
  7108. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  7109. "produces": [
  7110. "application/json"
  7111. ],
  7112. "tags": [
  7113. "定制【海商报业】"
  7114. ],
  7115. "summary": "查询游客三级市场(商城)商品信息详情",
  7116. "parameters": [
  7117. {
  7118. "type": "integer",
  7119. "description": "商品ID",
  7120. "name": "goodsID",
  7121. "in": "query",
  7122. "required": true
  7123. }
  7124. ],
  7125. "responses": {
  7126. "200": {
  7127. "description": "OK",
  7128. "schema": {
  7129. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  7130. }
  7131. },
  7132. "500": {
  7133. "description": "Internal Server Error",
  7134. "schema": {
  7135. "$ref": "#/definitions/app.Response"
  7136. }
  7137. }
  7138. }
  7139. }
  7140. },
  7141. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  7142. "get": {
  7143. "security": [
  7144. {
  7145. "ApiKeyAuth": []
  7146. }
  7147. ],
  7148. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  7149. "produces": [
  7150. "application/json"
  7151. ],
  7152. "tags": [
  7153. "定制【海商报业】"
  7154. ],
  7155. "summary": "查询游客特卖商品列表(三级商城)",
  7156. "parameters": [
  7157. {
  7158. "type": "integer",
  7159. "description": "页码",
  7160. "name": "page",
  7161. "in": "query"
  7162. },
  7163. {
  7164. "type": "integer",
  7165. "description": "每页条数",
  7166. "name": "pagesize",
  7167. "in": "query"
  7168. },
  7169. {
  7170. "type": "string",
  7171. "description": "市场ID列表,格式:1,2,3",
  7172. "name": "marketIDs",
  7173. "in": "query",
  7174. "required": true
  7175. },
  7176. {
  7177. "type": "integer",
  7178. "description": "类别ID",
  7179. "name": "categoryID",
  7180. "in": "query"
  7181. },
  7182. {
  7183. "type": "string",
  7184. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  7185. "name": "goodsIDs",
  7186. "in": "query"
  7187. }
  7188. ],
  7189. "responses": {
  7190. "200": {
  7191. "description": "OK",
  7192. "schema": {
  7193. "$ref": "#/definitions/models.HsbyMarketGoods"
  7194. }
  7195. },
  7196. "500": {
  7197. "description": "Internal Server Error",
  7198. "schema": {
  7199. "$ref": "#/definitions/app.Response"
  7200. }
  7201. }
  7202. }
  7203. }
  7204. },
  7205. "/HSBY/QueryMyCollectionOrders": {
  7206. "get": {
  7207. "security": [
  7208. {
  7209. "ApiKeyAuth": []
  7210. }
  7211. ],
  7212. "produces": [
  7213. "application/json"
  7214. ],
  7215. "tags": [
  7216. "定制【海商报业】"
  7217. ],
  7218. "summary": "我的闲置中收款信息查询",
  7219. "parameters": [
  7220. {
  7221. "type": "integer",
  7222. "description": "页码",
  7223. "name": "page",
  7224. "in": "query"
  7225. },
  7226. {
  7227. "type": "integer",
  7228. "description": "每页条数",
  7229. "name": "pagesize",
  7230. "in": "query"
  7231. },
  7232. {
  7233. "type": "string",
  7234. "description": "资金账户,格式:1,2,3",
  7235. "name": "accountIDs",
  7236. "in": "query",
  7237. "required": true
  7238. }
  7239. ],
  7240. "responses": {
  7241. "200": {
  7242. "description": "OK",
  7243. "schema": {
  7244. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  7245. }
  7246. },
  7247. "500": {
  7248. "description": "Internal Server Error",
  7249. "schema": {
  7250. "$ref": "#/definitions/app.Response"
  7251. }
  7252. }
  7253. }
  7254. }
  7255. },
  7256. "/HSBY/QueryMyCouponHolds": {
  7257. "get": {
  7258. "security": [
  7259. {
  7260. "ApiKeyAuth": []
  7261. }
  7262. ],
  7263. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  7264. "produces": [
  7265. "application/json"
  7266. ],
  7267. "tags": [
  7268. "定制【海商报业】"
  7269. ],
  7270. "summary": "我的优惠卷持仓查询",
  7271. "parameters": [
  7272. {
  7273. "type": "string",
  7274. "description": "资金账户列表,格式:1,2,3",
  7275. "name": "accountIDs",
  7276. "in": "query",
  7277. "required": true
  7278. },
  7279. {
  7280. "type": "string",
  7281. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  7282. "name": "holdStatus",
  7283. "in": "query"
  7284. }
  7285. ],
  7286. "responses": {
  7287. "200": {
  7288. "description": "OK",
  7289. "schema": {
  7290. "$ref": "#/definitions/models.MyCouponHold"
  7291. }
  7292. },
  7293. "500": {
  7294. "description": "Internal Server Error",
  7295. "schema": {
  7296. "$ref": "#/definitions/app.Response"
  7297. }
  7298. }
  7299. }
  7300. }
  7301. },
  7302. "/HSBY/QueryMyCoupons": {
  7303. "get": {
  7304. "security": [
  7305. {
  7306. "ApiKeyAuth": []
  7307. }
  7308. ],
  7309. "produces": [
  7310. "application/json"
  7311. ],
  7312. "tags": [
  7313. "定制【海商报业】"
  7314. ],
  7315. "summary": "我的优惠卷查询",
  7316. "parameters": [
  7317. {
  7318. "type": "string",
  7319. "description": "资金账户列表,格式:1,2,3",
  7320. "name": "accountIDs",
  7321. "in": "query",
  7322. "required": true
  7323. },
  7324. {
  7325. "type": "integer",
  7326. "description": "商品ID, 一般与sellUserID配套传入",
  7327. "name": "goodsID",
  7328. "in": "query"
  7329. },
  7330. {
  7331. "type": "integer",
  7332. "description": "卖方UserID",
  7333. "name": "sellUserID",
  7334. "in": "query"
  7335. }
  7336. ],
  7337. "responses": {
  7338. "200": {
  7339. "description": "OK",
  7340. "schema": {
  7341. "$ref": "#/definitions/models.MyCoupon"
  7342. }
  7343. },
  7344. "500": {
  7345. "description": "Internal Server Error",
  7346. "schema": {
  7347. "$ref": "#/definitions/app.Response"
  7348. }
  7349. }
  7350. }
  7351. }
  7352. },
  7353. "/HSBY/QueryMyPayOrders": {
  7354. "get": {
  7355. "security": [
  7356. {
  7357. "ApiKeyAuth": []
  7358. }
  7359. ],
  7360. "produces": [
  7361. "application/json"
  7362. ],
  7363. "tags": [
  7364. "定制【海商报业】"
  7365. ],
  7366. "summary": "获取我的订单中待付款信息",
  7367. "parameters": [
  7368. {
  7369. "type": "integer",
  7370. "description": "页码",
  7371. "name": "page",
  7372. "in": "query"
  7373. },
  7374. {
  7375. "type": "integer",
  7376. "description": "每页条数",
  7377. "name": "pagesize",
  7378. "in": "query"
  7379. },
  7380. {
  7381. "type": "string",
  7382. "description": "资金账户列表,格式:1,2,3",
  7383. "name": "accountIDs",
  7384. "in": "query",
  7385. "required": true
  7386. },
  7387. {
  7388. "type": "integer",
  7389. "description": "买方委托单号",
  7390. "name": "buyOrderID",
  7391. "in": "query"
  7392. },
  7393. {
  7394. "type": "integer",
  7395. "description": "卖方委托单号",
  7396. "name": "sellOrderID",
  7397. "in": "query"
  7398. }
  7399. ],
  7400. "responses": {
  7401. "200": {
  7402. "description": "OK",
  7403. "schema": {
  7404. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  7405. }
  7406. },
  7407. "500": {
  7408. "description": "Internal Server Error",
  7409. "schema": {
  7410. "$ref": "#/definitions/app.Response"
  7411. }
  7412. }
  7413. }
  7414. }
  7415. },
  7416. "/HSBY/QueryMyUsedCoupon": {
  7417. "get": {
  7418. "security": [
  7419. {
  7420. "ApiKeyAuth": []
  7421. }
  7422. ],
  7423. "produces": [
  7424. "application/json"
  7425. ],
  7426. "tags": [
  7427. "定制【海商报业】"
  7428. ],
  7429. "summary": "已使用优惠卷查询",
  7430. "parameters": [
  7431. {
  7432. "type": "string",
  7433. "description": "资金账户列表,格式:1,2,3",
  7434. "name": "accountIDs",
  7435. "in": "query",
  7436. "required": true
  7437. }
  7438. ],
  7439. "responses": {
  7440. "200": {
  7441. "description": "OK",
  7442. "schema": {
  7443. "$ref": "#/definitions/models.MyUsedCoupon"
  7444. }
  7445. },
  7446. "500": {
  7447. "description": "Internal Server Error",
  7448. "schema": {
  7449. "$ref": "#/definitions/app.Response"
  7450. }
  7451. }
  7452. }
  7453. }
  7454. },
  7455. "/HSBY/QueryProvincesAndCities": {
  7456. "get": {
  7457. "security": [
  7458. {
  7459. "ApiKeyAuth": []
  7460. }
  7461. ],
  7462. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  7463. "produces": [
  7464. "application/json"
  7465. ],
  7466. "tags": [
  7467. "定制【海商报业】"
  7468. ],
  7469. "summary": "查询省市信息(不包括区)",
  7470. "parameters": [
  7471. {
  7472. "type": "integer",
  7473. "description": "省ID",
  7474. "name": "provinceID",
  7475. "in": "query"
  7476. }
  7477. ],
  7478. "responses": {
  7479. "200": {
  7480. "description": "OK",
  7481. "schema": {
  7482. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  7483. }
  7484. },
  7485. "500": {
  7486. "description": "Internal Server Error",
  7487. "schema": {
  7488. "$ref": "#/definitions/app.Response"
  7489. }
  7490. }
  7491. }
  7492. }
  7493. },
  7494. "/HSBY/SetHsbyMyPackagesStatus": {
  7495. "post": {
  7496. "security": [
  7497. {
  7498. "ApiKeyAuth": []
  7499. }
  7500. ],
  7501. "produces": [
  7502. "application/json"
  7503. ],
  7504. "tags": [
  7505. "定制【海商报业】"
  7506. ],
  7507. "summary": "设置我的包裹已收货状态",
  7508. "parameters": [
  7509. {
  7510. "type": "string",
  7511. "description": "提货单号",
  7512. "name": "takeOrderID",
  7513. "in": "query",
  7514. "required": true
  7515. },
  7516. {
  7517. "type": "integer",
  7518. "description": "资金账号",
  7519. "name": "accountID",
  7520. "in": "query",
  7521. "required": true
  7522. }
  7523. ],
  7524. "responses": {
  7525. "200": {
  7526. "description": "OK",
  7527. "schema": {
  7528. "$ref": "#/definitions/app.Response"
  7529. }
  7530. },
  7531. "500": {
  7532. "description": "Internal Server Error",
  7533. "schema": {
  7534. "$ref": "#/definitions/app.Response"
  7535. }
  7536. }
  7537. }
  7538. }
  7539. },
  7540. "/Market/GetAllExExchanges": {
  7541. "get": {
  7542. "security": [
  7543. {
  7544. "ApiKeyAuth": []
  7545. }
  7546. ],
  7547. "produces": [
  7548. "application/json"
  7549. ],
  7550. "tags": [
  7551. "通用市场"
  7552. ],
  7553. "summary": "获取所有外部交易所信息",
  7554. "responses": {
  7555. "200": {
  7556. "description": "OK",
  7557. "schema": {
  7558. "$ref": "#/definitions/models.Goods"
  7559. }
  7560. },
  7561. "500": {
  7562. "description": "Internal Server Error",
  7563. "schema": {
  7564. "$ref": "#/definitions/app.Response"
  7565. }
  7566. }
  7567. }
  7568. }
  7569. },
  7570. "/Market/QueryGoodsesByLoginID": {
  7571. "get": {
  7572. "security": [
  7573. {
  7574. "ApiKeyAuth": []
  7575. }
  7576. ],
  7577. "produces": [
  7578. "application/json"
  7579. ],
  7580. "tags": [
  7581. "通用市场"
  7582. ],
  7583. "summary": "获取登录账号有权限的商品信息",
  7584. "parameters": [
  7585. {
  7586. "type": "integer",
  7587. "description": "登录账号",
  7588. "name": "loginID",
  7589. "in": "query",
  7590. "required": true
  7591. },
  7592. {
  7593. "type": "string",
  7594. "description": "市场ID列表,格式:1,2,3",
  7595. "name": "marketIDs",
  7596. "in": "query"
  7597. }
  7598. ],
  7599. "responses": {
  7600. "200": {
  7601. "description": "OK",
  7602. "schema": {
  7603. "$ref": "#/definitions/models.Goods"
  7604. }
  7605. },
  7606. "500": {
  7607. "description": "Internal Server Error",
  7608. "schema": {
  7609. "$ref": "#/definitions/app.Response"
  7610. }
  7611. }
  7612. }
  7613. }
  7614. },
  7615. "/Market/QueryMarketRun": {
  7616. "get": {
  7617. "security": [
  7618. {
  7619. "ApiKeyAuth": []
  7620. }
  7621. ],
  7622. "produces": [
  7623. "application/json"
  7624. ],
  7625. "tags": [
  7626. "通用市场"
  7627. ],
  7628. "summary": "查询市场运行信息",
  7629. "parameters": [
  7630. {
  7631. "type": "integer",
  7632. "description": "市场ID,不传返回所有",
  7633. "name": "marketID",
  7634. "in": "query"
  7635. }
  7636. ],
  7637. "responses": {
  7638. "200": {
  7639. "description": "OK",
  7640. "schema": {
  7641. "$ref": "#/definitions/models.Marketrun"
  7642. }
  7643. },
  7644. "500": {
  7645. "description": "Internal Server Error",
  7646. "schema": {
  7647. "$ref": "#/definitions/app.Response"
  7648. }
  7649. }
  7650. }
  7651. }
  7652. },
  7653. "/Market/QueryMarketsByLoginID": {
  7654. "get": {
  7655. "security": [
  7656. {
  7657. "ApiKeyAuth": []
  7658. }
  7659. ],
  7660. "produces": [
  7661. "application/json"
  7662. ],
  7663. "tags": [
  7664. "通用市场"
  7665. ],
  7666. "summary": "获取登录账号有权限的市场信息",
  7667. "parameters": [
  7668. {
  7669. "type": "integer",
  7670. "description": "登录账号",
  7671. "name": "loginID",
  7672. "in": "query",
  7673. "required": true
  7674. }
  7675. ],
  7676. "responses": {
  7677. "200": {
  7678. "description": "OK",
  7679. "schema": {
  7680. "$ref": "#/definitions/models.Market"
  7681. }
  7682. },
  7683. "500": {
  7684. "description": "Internal Server Error",
  7685. "schema": {
  7686. "$ref": "#/definitions/app.Response"
  7687. }
  7688. }
  7689. }
  7690. }
  7691. },
  7692. "/Order/QueryHisTradeDetail": {
  7693. "get": {
  7694. "security": [
  7695. {
  7696. "ApiKeyAuth": []
  7697. }
  7698. ],
  7699. "produces": [
  7700. "application/json"
  7701. ],
  7702. "tags": [
  7703. "通用单据"
  7704. ],
  7705. "summary": "历史成交单查询(合约市场)",
  7706. "parameters": [
  7707. {
  7708. "type": "string",
  7709. "description": "资金账户 - 格式:1,2,3",
  7710. "name": "accountID",
  7711. "in": "query",
  7712. "required": true
  7713. },
  7714. {
  7715. "type": "integer",
  7716. "description": "成交单号",
  7717. "name": "tradeID",
  7718. "in": "query"
  7719. },
  7720. {
  7721. "type": "integer",
  7722. "description": "委托单号",
  7723. "name": "orderID",
  7724. "in": "query"
  7725. },
  7726. {
  7727. "type": "integer",
  7728. "description": "商品ID",
  7729. "name": "goodsID",
  7730. "in": "query"
  7731. },
  7732. {
  7733. "type": "string",
  7734. "description": "交易模式 - 格式:1,2,3",
  7735. "name": "tradeMode",
  7736. "in": "query"
  7737. },
  7738. {
  7739. "type": "integer",
  7740. "description": "委托单据类型",
  7741. "name": "buildType",
  7742. "in": "query"
  7743. },
  7744. {
  7745. "type": "string",
  7746. "description": "成交类别 - 格式:1,2,3",
  7747. "name": "tradeType",
  7748. "in": "query"
  7749. },
  7750. {
  7751. "type": "string",
  7752. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7753. "name": "startDate",
  7754. "in": "query"
  7755. },
  7756. {
  7757. "type": "string",
  7758. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7759. "name": "endDate",
  7760. "in": "query"
  7761. }
  7762. ],
  7763. "responses": {
  7764. "200": {
  7765. "description": "OK",
  7766. "schema": {
  7767. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  7768. }
  7769. },
  7770. "500": {
  7771. "description": "Internal Server Error",
  7772. "schema": {
  7773. "$ref": "#/definitions/app.Response"
  7774. }
  7775. }
  7776. }
  7777. }
  7778. },
  7779. "/Order/QueryHisTradeOrderDetail": {
  7780. "get": {
  7781. "security": [
  7782. {
  7783. "ApiKeyAuth": []
  7784. }
  7785. ],
  7786. "produces": [
  7787. "application/json"
  7788. ],
  7789. "tags": [
  7790. "通用单据"
  7791. ],
  7792. "summary": "历史委托单查询请求(合约市场)",
  7793. "parameters": [
  7794. {
  7795. "type": "string",
  7796. "description": "资金账户 - 格式:1,2,3",
  7797. "name": "accountID",
  7798. "in": "query",
  7799. "required": true
  7800. },
  7801. {
  7802. "type": "string",
  7803. "description": "交易模式 - 格式:1,2,3",
  7804. "name": "tradeMode",
  7805. "in": "query"
  7806. },
  7807. {
  7808. "type": "string",
  7809. "description": "委托状态 - 格式:1,2,3",
  7810. "name": "orderStatus",
  7811. "in": "query"
  7812. },
  7813. {
  7814. "type": "integer",
  7815. "description": "委托单号",
  7816. "name": "orderID",
  7817. "in": "query"
  7818. },
  7819. {
  7820. "type": "string",
  7821. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7822. "name": "startDate",
  7823. "in": "query"
  7824. },
  7825. {
  7826. "type": "string",
  7827. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7828. "name": "endDate",
  7829. "in": "query"
  7830. }
  7831. ],
  7832. "responses": {
  7833. "200": {
  7834. "description": "OK",
  7835. "schema": {
  7836. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  7837. }
  7838. },
  7839. "500": {
  7840. "description": "Internal Server Error",
  7841. "schema": {
  7842. "$ref": "#/definitions/app.Response"
  7843. }
  7844. }
  7845. }
  7846. }
  7847. },
  7848. "/Order/QueryTradeDetail": {
  7849. "get": {
  7850. "security": [
  7851. {
  7852. "ApiKeyAuth": []
  7853. }
  7854. ],
  7855. "produces": [
  7856. "application/json"
  7857. ],
  7858. "tags": [
  7859. "通用单据"
  7860. ],
  7861. "summary": "成交单查询(合约市场)",
  7862. "parameters": [
  7863. {
  7864. "type": "string",
  7865. "description": "资金账户 - 格式:1,2,3",
  7866. "name": "accountID",
  7867. "in": "query",
  7868. "required": true
  7869. },
  7870. {
  7871. "type": "integer",
  7872. "description": "成交单号",
  7873. "name": "tradeID",
  7874. "in": "query"
  7875. },
  7876. {
  7877. "type": "integer",
  7878. "description": "委托单号",
  7879. "name": "orderID",
  7880. "in": "query"
  7881. },
  7882. {
  7883. "type": "string",
  7884. "description": "交易模式 - 格式:1,2,3",
  7885. "name": "tradeMode",
  7886. "in": "query"
  7887. },
  7888. {
  7889. "type": "integer",
  7890. "description": "委托单据类型",
  7891. "name": "buildType",
  7892. "in": "query"
  7893. },
  7894. {
  7895. "type": "string",
  7896. "description": "成交类别 - 格式:1,2,3",
  7897. "name": "tradeType",
  7898. "in": "query"
  7899. },
  7900. {
  7901. "type": "integer",
  7902. "description": "商品ID",
  7903. "name": "goodsID",
  7904. "in": "query"
  7905. }
  7906. ],
  7907. "responses": {
  7908. "200": {
  7909. "description": "OK",
  7910. "schema": {
  7911. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7912. }
  7913. },
  7914. "500": {
  7915. "description": "Internal Server Error",
  7916. "schema": {
  7917. "$ref": "#/definitions/app.Response"
  7918. }
  7919. }
  7920. }
  7921. }
  7922. },
  7923. "/Order/QueryTradeHolderDetail": {
  7924. "get": {
  7925. "security": [
  7926. {
  7927. "ApiKeyAuth": []
  7928. }
  7929. ],
  7930. "produces": [
  7931. "application/json"
  7932. ],
  7933. "tags": [
  7934. "通用单据"
  7935. ],
  7936. "summary": "查询持仓明细",
  7937. "parameters": [
  7938. {
  7939. "type": "integer",
  7940. "description": "用户id",
  7941. "name": "userid",
  7942. "in": "query"
  7943. },
  7944. {
  7945. "type": "string",
  7946. "description": "资金账号, 格式 1,2,3",
  7947. "name": "accids",
  7948. "in": "query"
  7949. },
  7950. {
  7951. "type": "string",
  7952. "description": "交易模式, 格式 1,2,3",
  7953. "name": "trademodes",
  7954. "in": "query"
  7955. },
  7956. {
  7957. "type": "string",
  7958. "description": "市场id, 格式 1,2,3",
  7959. "name": "marketids",
  7960. "in": "query"
  7961. },
  7962. {
  7963. "type": "integer",
  7964. "description": "商品id",
  7965. "name": "goodsid",
  7966. "in": "query"
  7967. },
  7968. {
  7969. "type": "integer",
  7970. "description": "买卖方向 0-买 1-卖",
  7971. "name": "buyorsell",
  7972. "in": "query"
  7973. }
  7974. ],
  7975. "responses": {
  7976. "200": {
  7977. "description": "OK",
  7978. "schema": {
  7979. "type": "array",
  7980. "items": {
  7981. "$ref": "#/definitions/models.TradeHolderDetail"
  7982. }
  7983. }
  7984. },
  7985. "500": {
  7986. "description": "Internal Server Error",
  7987. "schema": {
  7988. "$ref": "#/definitions/app.Response"
  7989. }
  7990. }
  7991. }
  7992. }
  7993. },
  7994. "/Order/QueryTradeOrderDetail": {
  7995. "get": {
  7996. "security": [
  7997. {
  7998. "ApiKeyAuth": []
  7999. }
  8000. ],
  8001. "produces": [
  8002. "application/json"
  8003. ],
  8004. "tags": [
  8005. "通用单据"
  8006. ],
  8007. "summary": "委托单查询请求(合约市场)",
  8008. "parameters": [
  8009. {
  8010. "type": "string",
  8011. "description": "资金账户 - 格式:1,2,3",
  8012. "name": "accountID",
  8013. "in": "query",
  8014. "required": true
  8015. },
  8016. {
  8017. "type": "string",
  8018. "description": "交易模式 - 格式:1,2,3",
  8019. "name": "tradeMode",
  8020. "in": "query"
  8021. },
  8022. {
  8023. "type": "string",
  8024. "description": "委托状态 - 格式:1,2,3",
  8025. "name": "orderStatus",
  8026. "in": "query"
  8027. },
  8028. {
  8029. "type": "integer",
  8030. "description": "委托单号",
  8031. "name": "orderID",
  8032. "in": "query"
  8033. }
  8034. ],
  8035. "responses": {
  8036. "200": {
  8037. "description": "OK",
  8038. "schema": {
  8039. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  8040. }
  8041. },
  8042. "500": {
  8043. "description": "Internal Server Error",
  8044. "schema": {
  8045. "$ref": "#/definitions/app.Response"
  8046. }
  8047. }
  8048. }
  8049. }
  8050. },
  8051. "/Order/QueryTradePosition": {
  8052. "get": {
  8053. "security": [
  8054. {
  8055. "ApiKeyAuth": []
  8056. }
  8057. ],
  8058. "produces": [
  8059. "application/json"
  8060. ],
  8061. "tags": [
  8062. "通用单据"
  8063. ],
  8064. "summary": "持仓汇总查询(合约市场)",
  8065. "parameters": [
  8066. {
  8067. "type": "string",
  8068. "description": "资金账户 - 格式:1,2,3",
  8069. "name": "accountID",
  8070. "in": "query",
  8071. "required": true
  8072. },
  8073. {
  8074. "type": "string",
  8075. "description": "交易模式 - 格式:1,2,3",
  8076. "name": "tradeMode",
  8077. "in": "query"
  8078. }
  8079. ],
  8080. "responses": {
  8081. "200": {
  8082. "description": "OK",
  8083. "schema": {
  8084. "$ref": "#/definitions/order.QueryTradePositionRsp"
  8085. }
  8086. },
  8087. "500": {
  8088. "description": "Internal Server Error",
  8089. "schema": {
  8090. "$ref": "#/definitions/app.Response"
  8091. }
  8092. }
  8093. }
  8094. }
  8095. },
  8096. "/Qhj/QueryAccountInOutApply": {
  8097. "get": {
  8098. "security": [
  8099. {
  8100. "ApiKeyAuth": []
  8101. }
  8102. ],
  8103. "produces": [
  8104. "application/json"
  8105. ],
  8106. "tags": [
  8107. "大连千海金"
  8108. ],
  8109. "summary": "查询充值提现",
  8110. "parameters": [
  8111. {
  8112. "type": "integer",
  8113. "description": "用户ID",
  8114. "name": "userid",
  8115. "in": "query",
  8116. "required": true
  8117. },
  8118. {
  8119. "type": "string",
  8120. "description": "申请起始日期(格式yyyymmdd)",
  8121. "name": "begindate",
  8122. "in": "query"
  8123. },
  8124. {
  8125. "type": "string",
  8126. "description": "申请截止日期(格式yyyymmdd)",
  8127. "name": "enddate",
  8128. "in": "query"
  8129. },
  8130. {
  8131. "type": "string",
  8132. "description": "模糊搜索名称",
  8133. "name": "likename",
  8134. "in": "query"
  8135. }
  8136. ],
  8137. "responses": {
  8138. "200": {
  8139. "description": "OK",
  8140. "schema": {
  8141. "type": "array",
  8142. "items": {
  8143. "$ref": "#/definitions/models.QhjAccountOutInApply"
  8144. }
  8145. }
  8146. },
  8147. "500": {
  8148. "description": "Internal Server Error",
  8149. "schema": {
  8150. "$ref": "#/definitions/app.Response"
  8151. }
  8152. }
  8153. }
  8154. }
  8155. },
  8156. "/Qhj/QueryAreaFinanceConfig": {
  8157. "get": {
  8158. "security": [
  8159. {
  8160. "ApiKeyAuth": []
  8161. }
  8162. ],
  8163. "produces": [
  8164. "application/json"
  8165. ],
  8166. "tags": [
  8167. "大连千海金"
  8168. ],
  8169. "summary": "查询企业配置表",
  8170. "parameters": [
  8171. {
  8172. "type": "integer",
  8173. "description": "机构用户ID 其他做市关系,都设置为 1",
  8174. "name": "userid",
  8175. "in": "query"
  8176. }
  8177. ],
  8178. "responses": {
  8179. "200": {
  8180. "description": "OK",
  8181. "schema": {
  8182. "type": "array",
  8183. "items": {
  8184. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  8185. }
  8186. }
  8187. },
  8188. "500": {
  8189. "description": "Internal Server Error",
  8190. "schema": {
  8191. "$ref": "#/definitions/app.Response"
  8192. }
  8193. }
  8194. }
  8195. }
  8196. },
  8197. "/Qhj/QueryBankAccountSign": {
  8198. "get": {
  8199. "security": [
  8200. {
  8201. "ApiKeyAuth": []
  8202. }
  8203. ],
  8204. "produces": [
  8205. "application/json"
  8206. ],
  8207. "tags": [
  8208. "大连千海金"
  8209. ],
  8210. "summary": "查询签约银行信息(提现账户管理)",
  8211. "parameters": [
  8212. {
  8213. "type": "integer",
  8214. "description": "用户ID",
  8215. "name": "userid",
  8216. "in": "query",
  8217. "required": true
  8218. }
  8219. ],
  8220. "responses": {
  8221. "200": {
  8222. "description": "OK",
  8223. "schema": {
  8224. "type": "array",
  8225. "items": {
  8226. "$ref": "#/definitions/models.QhjBankAccountSign"
  8227. }
  8228. }
  8229. },
  8230. "500": {
  8231. "description": "Internal Server Error",
  8232. "schema": {
  8233. "$ref": "#/definitions/app.Response"
  8234. }
  8235. }
  8236. }
  8237. }
  8238. },
  8239. "/Qhj/QueryBankInfo": {
  8240. "get": {
  8241. "security": [
  8242. {
  8243. "ApiKeyAuth": []
  8244. }
  8245. ],
  8246. "produces": [
  8247. "application/json"
  8248. ],
  8249. "tags": [
  8250. "大连千海金"
  8251. ],
  8252. "summary": "查询开户行",
  8253. "responses": {
  8254. "200": {
  8255. "description": "OK",
  8256. "schema": {
  8257. "type": "array",
  8258. "items": {
  8259. "$ref": "#/definitions/models.QhjBankInfo"
  8260. }
  8261. }
  8262. },
  8263. "500": {
  8264. "description": "Internal Server Error",
  8265. "schema": {
  8266. "$ref": "#/definitions/app.Response"
  8267. }
  8268. }
  8269. }
  8270. }
  8271. },
  8272. "/Qhj/QueryBrokerApply": {
  8273. "get": {
  8274. "security": [
  8275. {
  8276. "ApiKeyAuth": []
  8277. }
  8278. ],
  8279. "produces": [
  8280. "application/json"
  8281. ],
  8282. "tags": [
  8283. "大连千海金"
  8284. ],
  8285. "summary": "查询经纪人申请",
  8286. "parameters": [
  8287. {
  8288. "type": "integer",
  8289. "description": "所属机构ID",
  8290. "name": "userid",
  8291. "in": "query"
  8292. },
  8293. {
  8294. "type": "string",
  8295. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8296. "name": "filterstatus",
  8297. "in": "query"
  8298. }
  8299. ],
  8300. "responses": {
  8301. "200": {
  8302. "description": "OK",
  8303. "schema": {
  8304. "type": "array",
  8305. "items": {
  8306. "$ref": "#/definitions/models.QhjBrokerApply"
  8307. }
  8308. }
  8309. },
  8310. "500": {
  8311. "description": "Internal Server Error",
  8312. "schema": {
  8313. "$ref": "#/definitions/app.Response"
  8314. }
  8315. }
  8316. }
  8317. }
  8318. },
  8319. "/Qhj/QueryBrokerApplyEx": {
  8320. "get": {
  8321. "security": [
  8322. {
  8323. "ApiKeyAuth": []
  8324. }
  8325. ],
  8326. "produces": [
  8327. "application/json"
  8328. ],
  8329. "tags": [
  8330. "大连千海金"
  8331. ],
  8332. "summary": "查询经纪人信息和申请记录",
  8333. "parameters": [
  8334. {
  8335. "type": "integer",
  8336. "description": "所属机构ID",
  8337. "name": "userid",
  8338. "in": "query"
  8339. }
  8340. ],
  8341. "responses": {
  8342. "200": {
  8343. "description": "OK",
  8344. "schema": {
  8345. "type": "array",
  8346. "items": {
  8347. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  8348. }
  8349. }
  8350. },
  8351. "500": {
  8352. "description": "Internal Server Error",
  8353. "schema": {
  8354. "$ref": "#/definitions/app.Response"
  8355. }
  8356. }
  8357. }
  8358. }
  8359. },
  8360. "/Qhj/QueryBrokerRewardLog": {
  8361. "get": {
  8362. "security": [
  8363. {
  8364. "ApiKeyAuth": []
  8365. }
  8366. ],
  8367. "produces": [
  8368. "application/json"
  8369. ],
  8370. "tags": [
  8371. "大连千海金"
  8372. ],
  8373. "summary": "查询奖励流水(我的奖励)",
  8374. "parameters": [
  8375. {
  8376. "type": "integer",
  8377. "description": "用户ID",
  8378. "name": "userid",
  8379. "in": "query",
  8380. "required": true
  8381. },
  8382. {
  8383. "type": "string",
  8384. "description": "开始交易日(yyyymmdd)",
  8385. "name": "begindate",
  8386. "in": "query"
  8387. },
  8388. {
  8389. "type": "string",
  8390. "description": "结束交易日(yyyymmdd)",
  8391. "name": "enddate",
  8392. "in": "query"
  8393. }
  8394. ],
  8395. "responses": {
  8396. "200": {
  8397. "description": "OK",
  8398. "schema": {
  8399. "type": "array",
  8400. "items": {
  8401. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  8402. }
  8403. }
  8404. },
  8405. "500": {
  8406. "description": "Internal Server Error",
  8407. "schema": {
  8408. "$ref": "#/definitions/app.Response"
  8409. }
  8410. }
  8411. }
  8412. }
  8413. },
  8414. "/Qhj/QueryContract": {
  8415. "get": {
  8416. "security": [
  8417. {
  8418. "ApiKeyAuth": []
  8419. }
  8420. ],
  8421. "produces": [
  8422. "application/json"
  8423. ],
  8424. "tags": [
  8425. "大连千海金"
  8426. ],
  8427. "summary": "查询融资明细(合同)",
  8428. "parameters": [
  8429. {
  8430. "type": "integer",
  8431. "description": "用户ID",
  8432. "name": "userid",
  8433. "in": "query"
  8434. },
  8435. {
  8436. "type": "integer",
  8437. "description": "scf合同id",
  8438. "name": "scfcontractid",
  8439. "in": "query"
  8440. }
  8441. ],
  8442. "responses": {
  8443. "200": {
  8444. "description": "OK",
  8445. "schema": {
  8446. "type": "array",
  8447. "items": {
  8448. "$ref": "#/definitions/models.QhjContract"
  8449. }
  8450. }
  8451. },
  8452. "500": {
  8453. "description": "Internal Server Error",
  8454. "schema": {
  8455. "$ref": "#/definitions/app.Response"
  8456. }
  8457. }
  8458. }
  8459. }
  8460. },
  8461. "/Qhj/QueryContractLog": {
  8462. "get": {
  8463. "security": [
  8464. {
  8465. "ApiKeyAuth": []
  8466. }
  8467. ],
  8468. "produces": [
  8469. "application/json"
  8470. ],
  8471. "tags": [
  8472. "大连千海金"
  8473. ],
  8474. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  8475. "parameters": [
  8476. {
  8477. "type": "integer",
  8478. "description": "scf合同id",
  8479. "name": "scfcontractid",
  8480. "in": "query",
  8481. "required": true
  8482. },
  8483. {
  8484. "type": "string",
  8485. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  8486. "name": "amounttype",
  8487. "in": "query"
  8488. }
  8489. ],
  8490. "responses": {
  8491. "200": {
  8492. "description": "OK",
  8493. "schema": {
  8494. "type": "array",
  8495. "items": {
  8496. "$ref": "#/definitions/models.QhjContractLog"
  8497. }
  8498. }
  8499. },
  8500. "500": {
  8501. "description": "Internal Server Error",
  8502. "schema": {
  8503. "$ref": "#/definitions/app.Response"
  8504. }
  8505. }
  8506. }
  8507. }
  8508. },
  8509. "/Qhj/QueryCusBankSignBank": {
  8510. "get": {
  8511. "security": [
  8512. {
  8513. "ApiKeyAuth": []
  8514. }
  8515. ],
  8516. "produces": [
  8517. "application/json"
  8518. ],
  8519. "tags": [
  8520. "大连千海金"
  8521. ],
  8522. "summary": "查询托管银行",
  8523. "responses": {
  8524. "200": {
  8525. "description": "OK",
  8526. "schema": {
  8527. "type": "array",
  8528. "items": {
  8529. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  8530. }
  8531. }
  8532. },
  8533. "500": {
  8534. "description": "Internal Server Error",
  8535. "schema": {
  8536. "$ref": "#/definitions/app.Response"
  8537. }
  8538. }
  8539. }
  8540. }
  8541. },
  8542. "/Qhj/QueryCustomerInfo": {
  8543. "get": {
  8544. "security": [
  8545. {
  8546. "ApiKeyAuth": []
  8547. }
  8548. ],
  8549. "produces": [
  8550. "application/json"
  8551. ],
  8552. "tags": [
  8553. "大连千海金"
  8554. ],
  8555. "summary": "查询客户资料",
  8556. "parameters": [
  8557. {
  8558. "type": "integer",
  8559. "description": "用户ID",
  8560. "name": "userid",
  8561. "in": "query",
  8562. "required": true
  8563. },
  8564. {
  8565. "type": "integer",
  8566. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8567. "name": "querytype",
  8568. "in": "query",
  8569. "required": true
  8570. },
  8571. {
  8572. "type": "integer",
  8573. "description": "客户类型 1-个人 2-企业",
  8574. "name": "userinfotype",
  8575. "in": "query"
  8576. },
  8577. {
  8578. "type": "string",
  8579. "description": "客户名称(模糊匹配)",
  8580. "name": "customername",
  8581. "in": "query"
  8582. },
  8583. {
  8584. "type": "string",
  8585. "description": "昵称(模糊匹配)",
  8586. "name": "nickname",
  8587. "in": "query"
  8588. },
  8589. {
  8590. "type": "integer",
  8591. "description": "是否包含子级 1-包含",
  8592. "name": "includesub",
  8593. "in": "query"
  8594. }
  8595. ],
  8596. "responses": {
  8597. "200": {
  8598. "description": "OK",
  8599. "schema": {
  8600. "type": "array",
  8601. "items": {
  8602. "$ref": "#/definitions/models.QhjCustomer"
  8603. }
  8604. }
  8605. },
  8606. "500": {
  8607. "description": "Internal Server Error",
  8608. "schema": {
  8609. "$ref": "#/definitions/app.Response"
  8610. }
  8611. }
  8612. }
  8613. }
  8614. },
  8615. "/Qhj/QueryGoodsEx": {
  8616. "get": {
  8617. "security": [
  8618. {
  8619. "ApiKeyAuth": []
  8620. }
  8621. ],
  8622. "produces": [
  8623. "application/json"
  8624. ],
  8625. "tags": [
  8626. "大连千海金"
  8627. ],
  8628. "summary": "交易商品扩展表",
  8629. "parameters": [
  8630. {
  8631. "type": "integer",
  8632. "description": "商品id",
  8633. "name": "goodsid",
  8634. "in": "query"
  8635. }
  8636. ],
  8637. "responses": {
  8638. "200": {
  8639. "description": "OK",
  8640. "schema": {
  8641. "type": "array",
  8642. "items": {
  8643. "$ref": "#/definitions/models.Qhjgoodsex"
  8644. }
  8645. }
  8646. },
  8647. "500": {
  8648. "description": "Internal Server Error",
  8649. "schema": {
  8650. "$ref": "#/definitions/app.Response"
  8651. }
  8652. }
  8653. }
  8654. }
  8655. },
  8656. "/Qhj/QueryMyTeam": {
  8657. "get": {
  8658. "security": [
  8659. {
  8660. "ApiKeyAuth": []
  8661. }
  8662. ],
  8663. "produces": [
  8664. "application/json"
  8665. ],
  8666. "tags": [
  8667. "大连千海金"
  8668. ],
  8669. "summary": "查询我的团队",
  8670. "parameters": [
  8671. {
  8672. "type": "integer",
  8673. "description": "用户ID",
  8674. "name": "userid",
  8675. "in": "query",
  8676. "required": true
  8677. }
  8678. ],
  8679. "responses": {
  8680. "200": {
  8681. "description": "OK",
  8682. "schema": {
  8683. "type": "array",
  8684. "items": {
  8685. "$ref": "#/definitions/models.QhjMyTeamEx"
  8686. }
  8687. }
  8688. },
  8689. "500": {
  8690. "description": "Internal Server Error",
  8691. "schema": {
  8692. "$ref": "#/definitions/app.Response"
  8693. }
  8694. }
  8695. }
  8696. }
  8697. },
  8698. "/Qhj/QueryMyTeamOrder": {
  8699. "get": {
  8700. "security": [
  8701. {
  8702. "ApiKeyAuth": []
  8703. }
  8704. ],
  8705. "produces": [
  8706. "application/json"
  8707. ],
  8708. "tags": [
  8709. "大连千海金"
  8710. ],
  8711. "summary": "查询团队订单(我的团队/团队订单)",
  8712. "parameters": [
  8713. {
  8714. "type": "integer",
  8715. "description": "页码",
  8716. "name": "page",
  8717. "in": "query"
  8718. },
  8719. {
  8720. "type": "integer",
  8721. "description": "每页条数",
  8722. "name": "pagesize",
  8723. "in": "query"
  8724. },
  8725. {
  8726. "type": "integer",
  8727. "description": "用户ID",
  8728. "name": "userid",
  8729. "in": "query",
  8730. "required": true
  8731. },
  8732. {
  8733. "type": "integer",
  8734. "description": "交易模式",
  8735. "name": "trademode",
  8736. "in": "query"
  8737. },
  8738. {
  8739. "type": "string",
  8740. "description": "名称(模糊搜索账户)",
  8741. "name": "filtername",
  8742. "in": "query"
  8743. }
  8744. ],
  8745. "responses": {
  8746. "200": {
  8747. "description": "OK",
  8748. "schema": {
  8749. "type": "array",
  8750. "items": {
  8751. "$ref": "#/definitions/models.QhjTeamOrder"
  8752. }
  8753. }
  8754. },
  8755. "500": {
  8756. "description": "Internal Server Error",
  8757. "schema": {
  8758. "$ref": "#/definitions/app.Response"
  8759. }
  8760. }
  8761. }
  8762. }
  8763. },
  8764. "/Qhj/QueryParentAreaList": {
  8765. "get": {
  8766. "security": [
  8767. {
  8768. "ApiKeyAuth": []
  8769. }
  8770. ],
  8771. "produces": [
  8772. "application/json"
  8773. ],
  8774. "tags": [
  8775. "大连千海金"
  8776. ],
  8777. "summary": "查询所属机构列表",
  8778. "parameters": [
  8779. {
  8780. "type": "integer",
  8781. "description": "用户ID",
  8782. "name": "userid",
  8783. "in": "query",
  8784. "required": true
  8785. }
  8786. ],
  8787. "responses": {
  8788. "200": {
  8789. "description": "OK",
  8790. "schema": {
  8791. "type": "array",
  8792. "items": {
  8793. "$ref": "#/definitions/models.QhjParentAreaList"
  8794. }
  8795. }
  8796. },
  8797. "500": {
  8798. "description": "Internal Server Error",
  8799. "schema": {
  8800. "$ref": "#/definitions/app.Response"
  8801. }
  8802. }
  8803. }
  8804. }
  8805. },
  8806. "/Qhj/QueryPayOrder": {
  8807. "get": {
  8808. "security": [
  8809. {
  8810. "ApiKeyAuth": []
  8811. }
  8812. ],
  8813. "produces": [
  8814. "application/json"
  8815. ],
  8816. "tags": [
  8817. "大连千海金"
  8818. ],
  8819. "summary": "查询待付款单据",
  8820. "parameters": [
  8821. {
  8822. "type": "integer",
  8823. "description": "资金账号id",
  8824. "name": "accountid",
  8825. "in": "query",
  8826. "required": true
  8827. },
  8828. {
  8829. "type": "integer",
  8830. "description": "成交单号",
  8831. "name": "tradeid",
  8832. "in": "query"
  8833. },
  8834. {
  8835. "type": "string",
  8836. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8837. "name": "payflag",
  8838. "in": "query"
  8839. }
  8840. ],
  8841. "responses": {
  8842. "200": {
  8843. "description": "OK",
  8844. "schema": {
  8845. "type": "array",
  8846. "items": {
  8847. "$ref": "#/definitions/models.QhjPayOrder"
  8848. }
  8849. }
  8850. },
  8851. "500": {
  8852. "description": "Internal Server Error",
  8853. "schema": {
  8854. "$ref": "#/definitions/app.Response"
  8855. }
  8856. }
  8857. }
  8858. }
  8859. },
  8860. "/Qhj/QueryPickArea": {
  8861. "get": {
  8862. "security": [
  8863. {
  8864. "ApiKeyAuth": []
  8865. }
  8866. ],
  8867. "produces": [
  8868. "application/json"
  8869. ],
  8870. "tags": [
  8871. "大连千海金"
  8872. ],
  8873. "summary": "查询提货门店",
  8874. "parameters": [
  8875. {
  8876. "type": "integer",
  8877. "description": "用户ID",
  8878. "name": "userid",
  8879. "in": "query"
  8880. }
  8881. ],
  8882. "responses": {
  8883. "200": {
  8884. "description": "OK",
  8885. "schema": {
  8886. "type": "array",
  8887. "items": {
  8888. "$ref": "#/definitions/models.QhjPickArea"
  8889. }
  8890. }
  8891. },
  8892. "500": {
  8893. "description": "Internal Server Error",
  8894. "schema": {
  8895. "$ref": "#/definitions/app.Response"
  8896. }
  8897. }
  8898. }
  8899. }
  8900. },
  8901. "/Qhj/QueryPickGoods": {
  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. "required": true
  8922. },
  8923. {
  8924. "type": "string",
  8925. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8926. "name": "status",
  8927. "in": "query"
  8928. }
  8929. ],
  8930. "responses": {
  8931. "200": {
  8932. "description": "OK",
  8933. "schema": {
  8934. "type": "array",
  8935. "items": {
  8936. "$ref": "#/definitions/models.QhjPickGoods"
  8937. }
  8938. }
  8939. },
  8940. "500": {
  8941. "description": "Internal Server Error",
  8942. "schema": {
  8943. "$ref": "#/definitions/app.Response"
  8944. }
  8945. }
  8946. }
  8947. }
  8948. },
  8949. "/Qhj/QueryRSTriggerLog": {
  8950. "get": {
  8951. "security": [
  8952. {
  8953. "ApiKeyAuth": []
  8954. }
  8955. ],
  8956. "produces": [
  8957. "application/json"
  8958. ],
  8959. "tags": [
  8960. "大连千海金"
  8961. ],
  8962. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8963. "parameters": [
  8964. {
  8965. "type": "integer",
  8966. "description": "用户ID",
  8967. "name": "userid",
  8968. "in": "query"
  8969. },
  8970. {
  8971. "type": "integer",
  8972. "description": "定投策略id",
  8973. "name": "regularlystrategyid",
  8974. "in": "query"
  8975. },
  8976. {
  8977. "type": "integer",
  8978. "description": "商品id",
  8979. "name": "goodsid",
  8980. "in": "query"
  8981. },
  8982. {
  8983. "type": "string",
  8984. "description": "开始交易日(yyyymmdd)",
  8985. "name": "begindate",
  8986. "in": "query"
  8987. },
  8988. {
  8989. "type": "string",
  8990. "description": "结束交易日(yyyymmdd)",
  8991. "name": "enddate",
  8992. "in": "query"
  8993. },
  8994. {
  8995. "type": "string",
  8996. "description": "名称(模糊搜索账户)",
  8997. "name": "filtername",
  8998. "in": "query"
  8999. }
  9000. ],
  9001. "responses": {
  9002. "200": {
  9003. "description": "OK",
  9004. "schema": {
  9005. "type": "array",
  9006. "items": {
  9007. "$ref": "#/definitions/models.QhjRSTriggerLog"
  9008. }
  9009. }
  9010. },
  9011. "500": {
  9012. "description": "Internal Server Error",
  9013. "schema": {
  9014. "$ref": "#/definitions/app.Response"
  9015. }
  9016. }
  9017. }
  9018. }
  9019. },
  9020. "/Qhj/QueryRStrategy": {
  9021. "get": {
  9022. "security": [
  9023. {
  9024. "ApiKeyAuth": []
  9025. }
  9026. ],
  9027. "produces": [
  9028. "application/json"
  9029. ],
  9030. "tags": [
  9031. "大连千海金"
  9032. ],
  9033. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  9034. "parameters": [
  9035. {
  9036. "type": "integer",
  9037. "description": "用户ID",
  9038. "name": "userid",
  9039. "in": "query"
  9040. },
  9041. {
  9042. "type": "integer",
  9043. "description": "商品id",
  9044. "name": "goodsid",
  9045. "in": "query"
  9046. },
  9047. {
  9048. "type": "string",
  9049. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  9050. "name": "status",
  9051. "in": "query"
  9052. },
  9053. {
  9054. "type": "string",
  9055. "description": "名称(模糊搜索账户)",
  9056. "name": "filtername",
  9057. "in": "query"
  9058. }
  9059. ],
  9060. "responses": {
  9061. "200": {
  9062. "description": "OK",
  9063. "schema": {
  9064. "type": "array",
  9065. "items": {
  9066. "$ref": "#/definitions/models.QhjRStrategy"
  9067. }
  9068. }
  9069. },
  9070. "500": {
  9071. "description": "Internal Server Error",
  9072. "schema": {
  9073. "$ref": "#/definitions/app.Response"
  9074. }
  9075. }
  9076. }
  9077. }
  9078. },
  9079. "/Qhj/QueryReckonPriceLog": {
  9080. "get": {
  9081. "security": [
  9082. {
  9083. "ApiKeyAuth": []
  9084. }
  9085. ],
  9086. "produces": [
  9087. "application/json"
  9088. ],
  9089. "tags": [
  9090. "大连千海金"
  9091. ],
  9092. "summary": "查询定投价(结算价)",
  9093. "parameters": [
  9094. {
  9095. "type": "integer",
  9096. "description": "商品ID",
  9097. "name": "goodsid",
  9098. "in": "query"
  9099. },
  9100. {
  9101. "type": "string",
  9102. "description": "交易日 格式(yyyymmdd)",
  9103. "name": "tradedate",
  9104. "in": "query"
  9105. }
  9106. ],
  9107. "responses": {
  9108. "200": {
  9109. "description": "OK",
  9110. "schema": {
  9111. "type": "array",
  9112. "items": {
  9113. "$ref": "#/definitions/models.QhjReckonPriceLog"
  9114. }
  9115. }
  9116. },
  9117. "500": {
  9118. "description": "Internal Server Error",
  9119. "schema": {
  9120. "$ref": "#/definitions/app.Response"
  9121. }
  9122. }
  9123. }
  9124. }
  9125. },
  9126. "/Qhj/QueryScoreLog": {
  9127. "get": {
  9128. "security": [
  9129. {
  9130. "ApiKeyAuth": []
  9131. }
  9132. ],
  9133. "produces": [
  9134. "application/json"
  9135. ],
  9136. "tags": [
  9137. "大连千海金"
  9138. ],
  9139. "summary": "查询积分流水(我的积分)",
  9140. "parameters": [
  9141. {
  9142. "type": "integer",
  9143. "description": "用户ID",
  9144. "name": "userid",
  9145. "in": "query",
  9146. "required": true
  9147. },
  9148. {
  9149. "type": "string",
  9150. "description": "开始交易日(yyyymmdd)",
  9151. "name": "begindate",
  9152. "in": "query"
  9153. },
  9154. {
  9155. "type": "string",
  9156. "description": "结束交易日(yyyymmdd)",
  9157. "name": "enddate",
  9158. "in": "query"
  9159. },
  9160. {
  9161. "type": "integer",
  9162. "description": "最近多少条",
  9163. "name": "lastnum",
  9164. "in": "query"
  9165. }
  9166. ],
  9167. "responses": {
  9168. "200": {
  9169. "description": "OK",
  9170. "schema": {
  9171. "type": "array",
  9172. "items": {
  9173. "$ref": "#/definitions/models.QhjScoreLog"
  9174. }
  9175. }
  9176. },
  9177. "500": {
  9178. "description": "Internal Server Error",
  9179. "schema": {
  9180. "$ref": "#/definitions/app.Response"
  9181. }
  9182. }
  9183. }
  9184. }
  9185. },
  9186. "/Qhj/QuerySiteColumnDetail": {
  9187. "get": {
  9188. "security": [
  9189. {
  9190. "ApiKeyAuth": []
  9191. }
  9192. ],
  9193. "produces": [
  9194. "application/json"
  9195. ],
  9196. "tags": [
  9197. "大连千海金"
  9198. ],
  9199. "summary": "查询资讯",
  9200. "parameters": [
  9201. {
  9202. "type": "integer",
  9203. "description": "用户ID",
  9204. "name": "userid",
  9205. "in": "query",
  9206. "required": true
  9207. }
  9208. ],
  9209. "responses": {
  9210. "200": {
  9211. "description": "OK",
  9212. "schema": {
  9213. "type": "array",
  9214. "items": {
  9215. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  9216. }
  9217. }
  9218. },
  9219. "500": {
  9220. "description": "Internal Server Error",
  9221. "schema": {
  9222. "$ref": "#/definitions/app.Response"
  9223. }
  9224. }
  9225. }
  9226. }
  9227. },
  9228. "/Qhj/QueryTradeGoodsPickup": {
  9229. "get": {
  9230. "security": [
  9231. {
  9232. "ApiKeyAuth": []
  9233. }
  9234. ],
  9235. "produces": [
  9236. "application/json"
  9237. ],
  9238. "tags": [
  9239. "大连千海金"
  9240. ],
  9241. "summary": "查询提货",
  9242. "parameters": [
  9243. {
  9244. "type": "integer",
  9245. "description": "用户ID",
  9246. "name": "userid",
  9247. "in": "query",
  9248. "required": true
  9249. },
  9250. {
  9251. "type": "integer",
  9252. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  9253. "name": "takeorderstatus",
  9254. "in": "query"
  9255. }
  9256. ],
  9257. "responses": {
  9258. "200": {
  9259. "description": "OK",
  9260. "schema": {
  9261. "type": "array",
  9262. "items": {
  9263. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  9264. }
  9265. }
  9266. },
  9267. "500": {
  9268. "description": "Internal Server Error",
  9269. "schema": {
  9270. "$ref": "#/definitions/app.Response"
  9271. }
  9272. }
  9273. }
  9274. }
  9275. },
  9276. "/Qhj/QueryUserCollectConfig": {
  9277. "get": {
  9278. "security": [
  9279. {
  9280. "ApiKeyAuth": []
  9281. }
  9282. ],
  9283. "produces": [
  9284. "application/json"
  9285. ],
  9286. "tags": [
  9287. "大连千海金"
  9288. ],
  9289. "summary": "查询提现账户设置",
  9290. "parameters": [
  9291. {
  9292. "type": "integer",
  9293. "description": "用户ID",
  9294. "name": "userid",
  9295. "in": "query",
  9296. "required": true
  9297. }
  9298. ],
  9299. "responses": {
  9300. "200": {
  9301. "description": "OK",
  9302. "schema": {
  9303. "type": "array",
  9304. "items": {
  9305. "$ref": "#/definitions/models.UserCollectConfig"
  9306. }
  9307. }
  9308. },
  9309. "500": {
  9310. "description": "Internal Server Error",
  9311. "schema": {
  9312. "$ref": "#/definitions/app.Response"
  9313. }
  9314. }
  9315. }
  9316. }
  9317. },
  9318. "/Qhj/QueryUserReceiveInfo": {
  9319. "get": {
  9320. "security": [
  9321. {
  9322. "ApiKeyAuth": []
  9323. }
  9324. ],
  9325. "produces": [
  9326. "application/json"
  9327. ],
  9328. "tags": [
  9329. "大连千海金"
  9330. ],
  9331. "summary": "查询收货地址信息",
  9332. "parameters": [
  9333. {
  9334. "type": "integer",
  9335. "description": "用户ID",
  9336. "name": "userid",
  9337. "in": "query",
  9338. "required": true
  9339. }
  9340. ],
  9341. "responses": {
  9342. "200": {
  9343. "description": "OK",
  9344. "schema": {
  9345. "type": "array",
  9346. "items": {
  9347. "$ref": "#/definitions/models.UserReceiveInfo"
  9348. }
  9349. }
  9350. },
  9351. "500": {
  9352. "description": "Internal Server Error",
  9353. "schema": {
  9354. "$ref": "#/definitions/app.Response"
  9355. }
  9356. }
  9357. }
  9358. }
  9359. },
  9360. "/QhjMgr/QueryAccountInOutApply": {
  9361. "get": {
  9362. "security": [
  9363. {
  9364. "ApiKeyAuth": []
  9365. }
  9366. ],
  9367. "produces": [
  9368. "application/json"
  9369. ],
  9370. "tags": [
  9371. "大连千海金(PCWeb)"
  9372. ],
  9373. "summary": "查询充值提现",
  9374. "parameters": [
  9375. {
  9376. "type": "integer",
  9377. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9378. "name": "querytype",
  9379. "in": "query",
  9380. "required": true
  9381. },
  9382. {
  9383. "type": "integer",
  9384. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9385. "name": "applystatus",
  9386. "in": "query"
  9387. },
  9388. {
  9389. "type": "string",
  9390. "description": "申请起始日期(格式yyyymmdd)",
  9391. "name": "begindate",
  9392. "in": "query"
  9393. },
  9394. {
  9395. "type": "string",
  9396. "description": "申请截止日期(格式yyyymmdd)",
  9397. "name": "enddate",
  9398. "in": "query"
  9399. },
  9400. {
  9401. "type": "string",
  9402. "description": "模糊搜索名称",
  9403. "name": "likename",
  9404. "in": "query"
  9405. }
  9406. ],
  9407. "responses": {
  9408. "200": {
  9409. "description": "OK",
  9410. "schema": {
  9411. "type": "array",
  9412. "items": {
  9413. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  9414. }
  9415. }
  9416. },
  9417. "500": {
  9418. "description": "Internal Server Error",
  9419. "schema": {
  9420. "$ref": "#/definitions/app.Response"
  9421. }
  9422. }
  9423. }
  9424. }
  9425. },
  9426. "/QhjMgr/QueryBrokerApply": {
  9427. "get": {
  9428. "security": [
  9429. {
  9430. "ApiKeyAuth": []
  9431. }
  9432. ],
  9433. "produces": [
  9434. "application/json"
  9435. ],
  9436. "tags": [
  9437. "大连千海金(PCWeb)"
  9438. ],
  9439. "summary": "查询经纪人申请",
  9440. "parameters": [
  9441. {
  9442. "type": "integer",
  9443. "description": "所属机构ID",
  9444. "name": "userid",
  9445. "in": "query"
  9446. },
  9447. {
  9448. "type": "string",
  9449. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9450. "name": "filterstatus",
  9451. "in": "query"
  9452. },
  9453. {
  9454. "type": "string",
  9455. "description": "名称(模糊匹配)",
  9456. "name": "filtername",
  9457. "in": "query"
  9458. },
  9459. {
  9460. "type": "integer",
  9461. "description": "是否包含子级 1-包含",
  9462. "name": "includesub",
  9463. "in": "query"
  9464. }
  9465. ],
  9466. "responses": {
  9467. "200": {
  9468. "description": "OK",
  9469. "schema": {
  9470. "type": "array",
  9471. "items": {
  9472. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  9473. }
  9474. }
  9475. },
  9476. "500": {
  9477. "description": "Internal Server Error",
  9478. "schema": {
  9479. "$ref": "#/definitions/app.Response"
  9480. }
  9481. }
  9482. }
  9483. }
  9484. },
  9485. "/QhjMgr/QueryBrokerRewardReport": {
  9486. "get": {
  9487. "security": [
  9488. {
  9489. "ApiKeyAuth": []
  9490. }
  9491. ],
  9492. "produces": [
  9493. "application/json"
  9494. ],
  9495. "tags": [
  9496. "大连千海金(PCWeb)"
  9497. ],
  9498. "summary": "查询经纪人奖励报表(废弃)",
  9499. "parameters": [
  9500. {
  9501. "type": "integer",
  9502. "description": "所属机构ID",
  9503. "name": "userid",
  9504. "in": "query",
  9505. "required": true
  9506. },
  9507. {
  9508. "type": "integer",
  9509. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9510. "name": "cycletype",
  9511. "in": "query",
  9512. "required": true
  9513. },
  9514. {
  9515. "type": "string",
  9516. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  9517. "name": "cycletime",
  9518. "in": "query",
  9519. "required": true
  9520. },
  9521. {
  9522. "type": "string",
  9523. "description": "名称(模糊匹配)",
  9524. "name": "filtername",
  9525. "in": "query"
  9526. },
  9527. {
  9528. "type": "integer",
  9529. "description": "是否包含子级 1-包含",
  9530. "name": "includesub",
  9531. "in": "query"
  9532. }
  9533. ],
  9534. "responses": {
  9535. "200": {
  9536. "description": "OK",
  9537. "schema": {
  9538. "type": "array",
  9539. "items": {
  9540. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  9541. }
  9542. }
  9543. },
  9544. "500": {
  9545. "description": "Internal Server Error",
  9546. "schema": {
  9547. "$ref": "#/definitions/app.Response"
  9548. }
  9549. }
  9550. }
  9551. }
  9552. },
  9553. "/QhjMgr/QueryContract": {
  9554. "get": {
  9555. "security": [
  9556. {
  9557. "ApiKeyAuth": []
  9558. }
  9559. ],
  9560. "produces": [
  9561. "application/json"
  9562. ],
  9563. "tags": [
  9564. "大连千海金(PCWeb)"
  9565. ],
  9566. "summary": "查询融资信息(合同)",
  9567. "parameters": [
  9568. {
  9569. "type": "integer",
  9570. "description": "用户ID",
  9571. "name": "userid",
  9572. "in": "query"
  9573. },
  9574. {
  9575. "type": "integer",
  9576. "description": "商品id",
  9577. "name": "goodsid",
  9578. "in": "query"
  9579. },
  9580. {
  9581. "type": "string",
  9582. "description": "名称(模糊搜索账户)",
  9583. "name": "filtername",
  9584. "in": "query"
  9585. },
  9586. {
  9587. "type": "string",
  9588. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  9589. "name": "risklevel",
  9590. "in": "query"
  9591. },
  9592. {
  9593. "type": "string",
  9594. "description": "开始交易日(yyyymmdd)",
  9595. "name": "begindate",
  9596. "in": "query"
  9597. },
  9598. {
  9599. "type": "string",
  9600. "description": "结束交易日(yyyymmdd)",
  9601. "name": "enddate",
  9602. "in": "query"
  9603. }
  9604. ],
  9605. "responses": {
  9606. "200": {
  9607. "description": "OK",
  9608. "schema": {
  9609. "type": "array",
  9610. "items": {
  9611. "$ref": "#/definitions/models.QhjMgrContract"
  9612. }
  9613. }
  9614. },
  9615. "500": {
  9616. "description": "Internal Server Error",
  9617. "schema": {
  9618. "$ref": "#/definitions/app.Response"
  9619. }
  9620. }
  9621. }
  9622. }
  9623. },
  9624. "/QhjMgr/QueryCustomerInfo": {
  9625. "get": {
  9626. "security": [
  9627. {
  9628. "ApiKeyAuth": []
  9629. }
  9630. ],
  9631. "produces": [
  9632. "application/json"
  9633. ],
  9634. "tags": [
  9635. "大连千海金(PCWeb)"
  9636. ],
  9637. "summary": "查询客户资料",
  9638. "parameters": [
  9639. {
  9640. "type": "integer",
  9641. "description": "用户ID",
  9642. "name": "userid",
  9643. "in": "query",
  9644. "required": true
  9645. },
  9646. {
  9647. "type": "integer",
  9648. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9649. "name": "querytype",
  9650. "in": "query",
  9651. "required": true
  9652. },
  9653. {
  9654. "type": "integer",
  9655. "description": "客户类型 1-个人 2-企业",
  9656. "name": "userinfotype",
  9657. "in": "query"
  9658. },
  9659. {
  9660. "type": "string",
  9661. "description": "客户名称(模糊匹配)",
  9662. "name": "customername",
  9663. "in": "query"
  9664. },
  9665. {
  9666. "type": "string",
  9667. "description": "昵称(模糊匹配)",
  9668. "name": "nickname",
  9669. "in": "query"
  9670. },
  9671. {
  9672. "type": "string",
  9673. "description": "所属客户经理(模糊匹配)",
  9674. "name": "brokername",
  9675. "in": "query"
  9676. },
  9677. {
  9678. "type": "string",
  9679. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  9680. "name": "birthday",
  9681. "in": "query"
  9682. },
  9683. {
  9684. "type": "integer",
  9685. "description": "是否包含子级 1-包含",
  9686. "name": "includesub",
  9687. "in": "query"
  9688. }
  9689. ],
  9690. "responses": {
  9691. "200": {
  9692. "description": "OK",
  9693. "schema": {
  9694. "type": "array",
  9695. "items": {
  9696. "$ref": "#/definitions/models.QhjMgrCustomer"
  9697. }
  9698. }
  9699. },
  9700. "500": {
  9701. "description": "Internal Server Error",
  9702. "schema": {
  9703. "$ref": "#/definitions/app.Response"
  9704. }
  9705. }
  9706. }
  9707. }
  9708. },
  9709. "/QhjMgr/QueryPickGoods": {
  9710. "get": {
  9711. "security": [
  9712. {
  9713. "ApiKeyAuth": []
  9714. }
  9715. ],
  9716. "produces": [
  9717. "application/json"
  9718. ],
  9719. "tags": [
  9720. "大连千海金(PCWeb)"
  9721. ],
  9722. "summary": "查询提货商品",
  9723. "parameters": [
  9724. {
  9725. "type": "string",
  9726. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9727. "name": "status",
  9728. "in": "query"
  9729. }
  9730. ],
  9731. "responses": {
  9732. "200": {
  9733. "description": "OK",
  9734. "schema": {
  9735. "type": "array",
  9736. "items": {
  9737. "$ref": "#/definitions/models.QhjMgrPickGoods"
  9738. }
  9739. }
  9740. },
  9741. "500": {
  9742. "description": "Internal Server Error",
  9743. "schema": {
  9744. "$ref": "#/definitions/app.Response"
  9745. }
  9746. }
  9747. }
  9748. }
  9749. },
  9750. "/QhjMgr/QuerySubArea": {
  9751. "get": {
  9752. "security": [
  9753. {
  9754. "ApiKeyAuth": []
  9755. }
  9756. ],
  9757. "produces": [
  9758. "application/json"
  9759. ],
  9760. "tags": [
  9761. "大连千海金(PCWeb)"
  9762. ],
  9763. "summary": "查询子机构列表",
  9764. "parameters": [
  9765. {
  9766. "type": "integer",
  9767. "description": "用户ID",
  9768. "name": "userid",
  9769. "in": "query",
  9770. "required": true
  9771. }
  9772. ],
  9773. "responses": {
  9774. "200": {
  9775. "description": "OK",
  9776. "schema": {
  9777. "type": "array",
  9778. "items": {
  9779. "$ref": "#/definitions/models.QhjMgrSubArea"
  9780. }
  9781. }
  9782. },
  9783. "500": {
  9784. "description": "Internal Server Error",
  9785. "schema": {
  9786. "$ref": "#/definitions/app.Response"
  9787. }
  9788. }
  9789. }
  9790. }
  9791. },
  9792. "/QhjMgr/QueryTradeDetail": {
  9793. "get": {
  9794. "security": [
  9795. {
  9796. "ApiKeyAuth": []
  9797. }
  9798. ],
  9799. "produces": [
  9800. "application/json"
  9801. ],
  9802. "tags": [
  9803. "大连千海金(PCWeb)"
  9804. ],
  9805. "summary": "查询成交明细",
  9806. "parameters": [
  9807. {
  9808. "type": "integer",
  9809. "description": "用户ID",
  9810. "name": "userid",
  9811. "in": "query",
  9812. "required": true
  9813. },
  9814. {
  9815. "type": "integer",
  9816. "description": "用户类型 1-个人 2-企业",
  9817. "name": "userinfotype",
  9818. "in": "query"
  9819. },
  9820. {
  9821. "type": "integer",
  9822. "description": "交易模式",
  9823. "name": "trademode",
  9824. "in": "query"
  9825. },
  9826. {
  9827. "type": "integer",
  9828. "description": "商品id",
  9829. "name": "goodsid",
  9830. "in": "query"
  9831. },
  9832. {
  9833. "type": "string",
  9834. "description": "名称(模糊搜索账户)",
  9835. "name": "filtername",
  9836. "in": "query"
  9837. },
  9838. {
  9839. "type": "string",
  9840. "description": "开始交易日(yyyymmdd)",
  9841. "name": "begindate",
  9842. "in": "query"
  9843. },
  9844. {
  9845. "type": "string",
  9846. "description": "结束交易日(yyyymmdd)",
  9847. "name": "enddate",
  9848. "in": "query"
  9849. },
  9850. {
  9851. "type": "integer",
  9852. "description": "是否包含子级 1-包含",
  9853. "name": "includesub",
  9854. "in": "query"
  9855. }
  9856. ],
  9857. "responses": {
  9858. "200": {
  9859. "description": "OK",
  9860. "schema": {
  9861. "type": "array",
  9862. "items": {
  9863. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  9864. }
  9865. }
  9866. },
  9867. "500": {
  9868. "description": "Internal Server Error",
  9869. "schema": {
  9870. "$ref": "#/definitions/app.Response"
  9871. }
  9872. }
  9873. }
  9874. }
  9875. },
  9876. "/QhjMgr/QueryTradeOrderDetail": {
  9877. "get": {
  9878. "security": [
  9879. {
  9880. "ApiKeyAuth": []
  9881. }
  9882. ],
  9883. "produces": [
  9884. "application/json"
  9885. ],
  9886. "tags": [
  9887. "大连千海金(PCWeb)"
  9888. ],
  9889. "summary": "查询委托明细",
  9890. "parameters": [
  9891. {
  9892. "type": "integer",
  9893. "description": "用户ID",
  9894. "name": "userid",
  9895. "in": "query",
  9896. "required": true
  9897. },
  9898. {
  9899. "type": "integer",
  9900. "description": "用户类型 1-个人 2-企业",
  9901. "name": "userinfotype",
  9902. "in": "query"
  9903. },
  9904. {
  9905. "type": "integer",
  9906. "description": "交易模式",
  9907. "name": "trademode",
  9908. "in": "query"
  9909. },
  9910. {
  9911. "type": "integer",
  9912. "description": "商品id",
  9913. "name": "goodsid",
  9914. "in": "query"
  9915. },
  9916. {
  9917. "type": "string",
  9918. "description": "名称(模糊搜索账户)",
  9919. "name": "filtername",
  9920. "in": "query"
  9921. },
  9922. {
  9923. "type": "string",
  9924. "description": "开始交易日(yyyymmdd)",
  9925. "name": "begindate",
  9926. "in": "query"
  9927. },
  9928. {
  9929. "type": "string",
  9930. "description": "结束交易日(yyyymmdd)",
  9931. "name": "enddate",
  9932. "in": "query"
  9933. },
  9934. {
  9935. "type": "integer",
  9936. "description": "是否包含子级 1-包含",
  9937. "name": "includesub",
  9938. "in": "query"
  9939. }
  9940. ],
  9941. "responses": {
  9942. "200": {
  9943. "description": "OK",
  9944. "schema": {
  9945. "type": "array",
  9946. "items": {
  9947. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  9948. }
  9949. }
  9950. },
  9951. "500": {
  9952. "description": "Internal Server Error",
  9953. "schema": {
  9954. "$ref": "#/definitions/app.Response"
  9955. }
  9956. }
  9957. }
  9958. }
  9959. },
  9960. "/QhjMgr/QueryTradePayOrder": {
  9961. "get": {
  9962. "security": [
  9963. {
  9964. "ApiKeyAuth": []
  9965. }
  9966. ],
  9967. "produces": [
  9968. "application/json"
  9969. ],
  9970. "tags": [
  9971. "大连千海金(PCWeb)"
  9972. ],
  9973. "summary": "查询待付款单",
  9974. "parameters": [
  9975. {
  9976. "type": "integer",
  9977. "description": "用户ID",
  9978. "name": "userid",
  9979. "in": "query",
  9980. "required": true
  9981. },
  9982. {
  9983. "type": "string",
  9984. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9985. "name": "payflag",
  9986. "in": "query"
  9987. },
  9988. {
  9989. "type": "integer",
  9990. "description": "用户类型 1-个人 2-企业",
  9991. "name": "userinfotype",
  9992. "in": "query"
  9993. },
  9994. {
  9995. "type": "integer",
  9996. "description": "交易模式",
  9997. "name": "trademode",
  9998. "in": "query"
  9999. },
  10000. {
  10001. "type": "integer",
  10002. "description": "商品id",
  10003. "name": "goodsid",
  10004. "in": "query"
  10005. },
  10006. {
  10007. "type": "string",
  10008. "description": "名称(模糊搜索账户)",
  10009. "name": "filtername",
  10010. "in": "query"
  10011. },
  10012. {
  10013. "type": "string",
  10014. "description": "开始交易日(yyyymmdd)",
  10015. "name": "begindate",
  10016. "in": "query"
  10017. },
  10018. {
  10019. "type": "string",
  10020. "description": "结束交易日(yyyymmdd)",
  10021. "name": "enddate",
  10022. "in": "query"
  10023. },
  10024. {
  10025. "type": "integer",
  10026. "description": "是否包含子级 1-包含",
  10027. "name": "includesub",
  10028. "in": "query"
  10029. }
  10030. ],
  10031. "responses": {
  10032. "200": {
  10033. "description": "OK",
  10034. "schema": {
  10035. "type": "array",
  10036. "items": {
  10037. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  10038. }
  10039. }
  10040. },
  10041. "500": {
  10042. "description": "Internal Server Error",
  10043. "schema": {
  10044. "$ref": "#/definitions/app.Response"
  10045. }
  10046. }
  10047. }
  10048. }
  10049. },
  10050. "/QhjMgr/QueryTradePosition": {
  10051. "get": {
  10052. "security": [
  10053. {
  10054. "ApiKeyAuth": []
  10055. }
  10056. ],
  10057. "produces": [
  10058. "application/json"
  10059. ],
  10060. "tags": [
  10061. "大连千海金(PCWeb)"
  10062. ],
  10063. "summary": "查询持仓汇总",
  10064. "parameters": [
  10065. {
  10066. "type": "integer",
  10067. "description": "用户ID",
  10068. "name": "userid",
  10069. "in": "query",
  10070. "required": true
  10071. },
  10072. {
  10073. "type": "integer",
  10074. "description": "用户类型 1-个人 2-企业",
  10075. "name": "userinfotype",
  10076. "in": "query"
  10077. },
  10078. {
  10079. "type": "integer",
  10080. "description": "交易模式",
  10081. "name": "trademode",
  10082. "in": "query"
  10083. },
  10084. {
  10085. "type": "integer",
  10086. "description": "商品id",
  10087. "name": "goodsid",
  10088. "in": "query"
  10089. },
  10090. {
  10091. "type": "string",
  10092. "description": "名称(模糊搜索账户)",
  10093. "name": "filtername",
  10094. "in": "query"
  10095. },
  10096. {
  10097. "type": "integer",
  10098. "description": "是否包含子级 1-包含",
  10099. "name": "includesub",
  10100. "in": "query"
  10101. }
  10102. ],
  10103. "responses": {
  10104. "200": {
  10105. "description": "OK",
  10106. "schema": {
  10107. "type": "array",
  10108. "items": {
  10109. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  10110. }
  10111. }
  10112. },
  10113. "500": {
  10114. "description": "Internal Server Error",
  10115. "schema": {
  10116. "$ref": "#/definitions/app.Response"
  10117. }
  10118. }
  10119. }
  10120. }
  10121. },
  10122. "/QhjSys/QueryAgreementChangeLog": {
  10123. "get": {
  10124. "security": [
  10125. {
  10126. "ApiKeyAuth": []
  10127. }
  10128. ],
  10129. "produces": [
  10130. "application/json"
  10131. ],
  10132. "tags": [
  10133. "大连千海金(协议和签约信息)"
  10134. ],
  10135. "summary": "查询协议配置变更流水",
  10136. "parameters": [
  10137. {
  10138. "type": "integer",
  10139. "description": "协议ID",
  10140. "name": "agreementid",
  10141. "in": "query"
  10142. },
  10143. {
  10144. "type": "integer",
  10145. "description": "协议版本号",
  10146. "name": "agreementversion",
  10147. "in": "query"
  10148. },
  10149. {
  10150. "type": "integer",
  10151. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10152. "name": "agreementtype",
  10153. "in": "query"
  10154. },
  10155. {
  10156. "type": "string",
  10157. "description": "协议编号(模糊匹配)",
  10158. "name": "agreementno",
  10159. "in": "query"
  10160. },
  10161. {
  10162. "type": "string",
  10163. "description": "协议名称(模糊匹配)",
  10164. "name": "agreementname",
  10165. "in": "query"
  10166. }
  10167. ],
  10168. "responses": {
  10169. "200": {
  10170. "description": "OK",
  10171. "schema": {
  10172. "type": "array",
  10173. "items": {
  10174. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  10175. }
  10176. }
  10177. },
  10178. "500": {
  10179. "description": "Internal Server Error",
  10180. "schema": {
  10181. "$ref": "#/definitions/app.Response"
  10182. }
  10183. }
  10184. }
  10185. }
  10186. },
  10187. "/QhjSys/QueryAgreementConfig": {
  10188. "get": {
  10189. "security": [
  10190. {
  10191. "ApiKeyAuth": []
  10192. }
  10193. ],
  10194. "produces": [
  10195. "application/json"
  10196. ],
  10197. "tags": [
  10198. "大连千海金(协议和签约信息)"
  10199. ],
  10200. "summary": "查询协议配置",
  10201. "parameters": [
  10202. {
  10203. "type": "integer",
  10204. "description": "协议ID",
  10205. "name": "agreementid",
  10206. "in": "query"
  10207. },
  10208. {
  10209. "type": "integer",
  10210. "description": "协议版本号",
  10211. "name": "agreementversion",
  10212. "in": "query"
  10213. },
  10214. {
  10215. "type": "integer",
  10216. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10217. "name": "agreementtype",
  10218. "in": "query"
  10219. },
  10220. {
  10221. "type": "integer",
  10222. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  10223. "name": "isvalid",
  10224. "in": "query"
  10225. },
  10226. {
  10227. "type": "string",
  10228. "description": "协议编号(模糊匹配)",
  10229. "name": "agreementno",
  10230. "in": "query"
  10231. },
  10232. {
  10233. "type": "string",
  10234. "description": "协议名称(模糊匹配)",
  10235. "name": "agreementname",
  10236. "in": "query"
  10237. }
  10238. ],
  10239. "responses": {
  10240. "200": {
  10241. "description": "OK",
  10242. "schema": {
  10243. "type": "array",
  10244. "items": {
  10245. "$ref": "#/definitions/models.QhjAgreementConfig"
  10246. }
  10247. }
  10248. },
  10249. "500": {
  10250. "description": "Internal Server Error",
  10251. "schema": {
  10252. "$ref": "#/definitions/app.Response"
  10253. }
  10254. }
  10255. }
  10256. }
  10257. },
  10258. "/QhjSys/QueryCustomerSignStatus": {
  10259. "get": {
  10260. "security": [
  10261. {
  10262. "ApiKeyAuth": []
  10263. }
  10264. ],
  10265. "produces": [
  10266. "application/json"
  10267. ],
  10268. "tags": [
  10269. "大连千海金(协议和签约信息)"
  10270. ],
  10271. "summary": "查询客户协议签约状态",
  10272. "parameters": [
  10273. {
  10274. "type": "integer",
  10275. "description": "客户ID",
  10276. "name": "userid",
  10277. "in": "query"
  10278. },
  10279. {
  10280. "type": "integer",
  10281. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  10282. "name": "nodetype",
  10283. "in": "query"
  10284. },
  10285. {
  10286. "type": "integer",
  10287. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10288. "name": "goodsid",
  10289. "in": "query"
  10290. },
  10291. {
  10292. "type": "string",
  10293. "description": "创建交易日(yyyyMMdd)",
  10294. "name": "tradedate",
  10295. "in": "query"
  10296. },
  10297. {
  10298. "type": "string",
  10299. "description": "用户名称(模糊匹配)",
  10300. "name": "username",
  10301. "in": "query"
  10302. }
  10303. ],
  10304. "responses": {
  10305. "200": {
  10306. "description": "OK",
  10307. "schema": {
  10308. "type": "array",
  10309. "items": {
  10310. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  10311. }
  10312. }
  10313. },
  10314. "500": {
  10315. "description": "Internal Server Error",
  10316. "schema": {
  10317. "$ref": "#/definitions/app.Response"
  10318. }
  10319. }
  10320. }
  10321. }
  10322. },
  10323. "/QhjSys/QueryNodeAgreementConfig": {
  10324. "get": {
  10325. "security": [
  10326. {
  10327. "ApiKeyAuth": []
  10328. }
  10329. ],
  10330. "produces": [
  10331. "application/json"
  10332. ],
  10333. "tags": [
  10334. "大连千海金(协议和签约信息)"
  10335. ],
  10336. "summary": "查询协议节点配置",
  10337. "parameters": [
  10338. {
  10339. "type": "integer",
  10340. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10341. "name": "configid",
  10342. "in": "query"
  10343. },
  10344. {
  10345. "type": "integer",
  10346. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10347. "name": "nodetype",
  10348. "in": "query"
  10349. },
  10350. {
  10351. "type": "integer",
  10352. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10353. "name": "goodsid",
  10354. "in": "query"
  10355. },
  10356. {
  10357. "type": "integer",
  10358. "description": "协议ID",
  10359. "name": "agreementid",
  10360. "in": "query"
  10361. },
  10362. {
  10363. "type": "integer",
  10364. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10365. "name": "agreementtype",
  10366. "in": "query"
  10367. },
  10368. {
  10369. "type": "integer",
  10370. "description": "协议版本号",
  10371. "name": "agreementversion",
  10372. "in": "query"
  10373. },
  10374. {
  10375. "type": "string",
  10376. "description": "协议编号(模糊匹配)",
  10377. "name": "agreementno",
  10378. "in": "query"
  10379. },
  10380. {
  10381. "type": "string",
  10382. "description": "协议名称(模糊匹配)",
  10383. "name": "agreementname",
  10384. "in": "query"
  10385. }
  10386. ],
  10387. "responses": {
  10388. "200": {
  10389. "description": "OK",
  10390. "schema": {
  10391. "type": "array",
  10392. "items": {
  10393. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  10394. }
  10395. }
  10396. },
  10397. "500": {
  10398. "description": "Internal Server Error",
  10399. "schema": {
  10400. "$ref": "#/definitions/app.Response"
  10401. }
  10402. }
  10403. }
  10404. }
  10405. },
  10406. "/QhjSys/QueryQhjCustomerSignLog": {
  10407. "get": {
  10408. "security": [
  10409. {
  10410. "ApiKeyAuth": []
  10411. }
  10412. ],
  10413. "produces": [
  10414. "application/json"
  10415. ],
  10416. "tags": [
  10417. "大连千海金(协议和签约信息)"
  10418. ],
  10419. "summary": "查询客户协议签约流水",
  10420. "parameters": [
  10421. {
  10422. "type": "integer",
  10423. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  10424. "name": "logid",
  10425. "in": "query"
  10426. },
  10427. {
  10428. "type": "integer",
  10429. "description": "客户ID",
  10430. "name": "userid",
  10431. "in": "query"
  10432. },
  10433. {
  10434. "type": "integer",
  10435. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10436. "name": "nodetype",
  10437. "in": "query"
  10438. },
  10439. {
  10440. "type": "integer",
  10441. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10442. "name": "goodsid",
  10443. "in": "query"
  10444. },
  10445. {
  10446. "type": "integer",
  10447. "description": "协议ID",
  10448. "name": "agreementid",
  10449. "in": "query"
  10450. },
  10451. {
  10452. "type": "string",
  10453. "description": "用户名称(模糊匹配)",
  10454. "name": "username",
  10455. "in": "query"
  10456. },
  10457. {
  10458. "type": "string",
  10459. "description": "协议编号(模糊匹配)",
  10460. "name": "agreementno",
  10461. "in": "query"
  10462. },
  10463. {
  10464. "type": "string",
  10465. "description": "协议名称(模糊匹配)",
  10466. "name": "agreementname",
  10467. "in": "query"
  10468. }
  10469. ],
  10470. "responses": {
  10471. "200": {
  10472. "description": "OK",
  10473. "schema": {
  10474. "type": "array",
  10475. "items": {
  10476. "$ref": "#/definitions/models.QhjCustomerSignLog"
  10477. }
  10478. }
  10479. },
  10480. "500": {
  10481. "description": "Internal Server Error",
  10482. "schema": {
  10483. "$ref": "#/definitions/app.Response"
  10484. }
  10485. }
  10486. }
  10487. }
  10488. },
  10489. "/QhjSys/QueryUserNodeCfgAndStatus": {
  10490. "get": {
  10491. "security": [
  10492. {
  10493. "ApiKeyAuth": []
  10494. }
  10495. ],
  10496. "produces": [
  10497. "application/json"
  10498. ],
  10499. "tags": [
  10500. "大连千海金(协议和签约信息)"
  10501. ],
  10502. "summary": "查询用户协议节点配置和状态",
  10503. "parameters": [
  10504. {
  10505. "type": "integer",
  10506. "description": "客户ID",
  10507. "name": "userid",
  10508. "in": "query"
  10509. },
  10510. {
  10511. "type": "integer",
  10512. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  10513. "name": "configid",
  10514. "in": "query"
  10515. },
  10516. {
  10517. "type": "string",
  10518. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  10519. "name": "nodetype",
  10520. "in": "query"
  10521. },
  10522. {
  10523. "type": "integer",
  10524. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  10525. "name": "goodsid",
  10526. "in": "query"
  10527. },
  10528. {
  10529. "type": "integer",
  10530. "description": "协议ID",
  10531. "name": "agreementid",
  10532. "in": "query"
  10533. },
  10534. {
  10535. "type": "integer",
  10536. "description": "协议类型 - 1:注册 2:登录 3:交易",
  10537. "name": "agreementtype",
  10538. "in": "query"
  10539. },
  10540. {
  10541. "type": "integer",
  10542. "description": "协议版本号",
  10543. "name": "agreementversion",
  10544. "in": "query"
  10545. },
  10546. {
  10547. "type": "string",
  10548. "description": "协议编号(模糊匹配)",
  10549. "name": "agreementno",
  10550. "in": "query"
  10551. },
  10552. {
  10553. "type": "string",
  10554. "description": "协议名称(模糊匹配)",
  10555. "name": "agreementname",
  10556. "in": "query"
  10557. }
  10558. ],
  10559. "responses": {
  10560. "200": {
  10561. "description": "OK",
  10562. "schema": {
  10563. "type": "array",
  10564. "items": {
  10565. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  10566. }
  10567. }
  10568. },
  10569. "500": {
  10570. "description": "Internal Server Error",
  10571. "schema": {
  10572. "$ref": "#/definitions/app.Response"
  10573. }
  10574. }
  10575. }
  10576. }
  10577. },
  10578. "/Quote/QueryHistoryDatas": {
  10579. "get": {
  10580. "security": [
  10581. {
  10582. "ApiKeyAuth": []
  10583. }
  10584. ],
  10585. "produces": [
  10586. "application/json"
  10587. ],
  10588. "tags": [
  10589. "行情服务"
  10590. ],
  10591. "summary": "查询行情历史数据",
  10592. "parameters": [
  10593. {
  10594. "type": "integer",
  10595. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  10596. "name": "cycleType",
  10597. "in": "query",
  10598. "required": true
  10599. },
  10600. {
  10601. "type": "string",
  10602. "description": "商品代码",
  10603. "name": "goodsCode",
  10604. "in": "query",
  10605. "required": true
  10606. },
  10607. {
  10608. "type": "string",
  10609. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10610. "name": "startTime",
  10611. "in": "query"
  10612. },
  10613. {
  10614. "type": "string",
  10615. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10616. "name": "endTime",
  10617. "in": "query"
  10618. },
  10619. {
  10620. "type": "integer",
  10621. "description": "条数",
  10622. "name": "count",
  10623. "in": "query"
  10624. },
  10625. {
  10626. "type": "boolean",
  10627. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10628. "name": "isAsc",
  10629. "in": "query"
  10630. }
  10631. ],
  10632. "responses": {
  10633. "200": {
  10634. "description": "OK",
  10635. "schema": {
  10636. "$ref": "#/definitions/quote.HistoryData"
  10637. }
  10638. },
  10639. "500": {
  10640. "description": "Internal Server Error",
  10641. "schema": {
  10642. "$ref": "#/definitions/app.Response"
  10643. }
  10644. }
  10645. }
  10646. }
  10647. },
  10648. "/Quote/QueryHistoryTikDatas": {
  10649. "get": {
  10650. "security": [
  10651. {
  10652. "ApiKeyAuth": []
  10653. }
  10654. ],
  10655. "produces": [
  10656. "application/json"
  10657. ],
  10658. "tags": [
  10659. "行情服务"
  10660. ],
  10661. "summary": "查询行情Tik数据",
  10662. "parameters": [
  10663. {
  10664. "type": "string",
  10665. "description": "商品代码",
  10666. "name": "goodsCode",
  10667. "in": "query",
  10668. "required": true
  10669. },
  10670. {
  10671. "type": "string",
  10672. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  10673. "name": "startTime",
  10674. "in": "query"
  10675. },
  10676. {
  10677. "type": "string",
  10678. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  10679. "name": "endTime",
  10680. "in": "query"
  10681. },
  10682. {
  10683. "type": "integer",
  10684. "description": "条数",
  10685. "name": "count",
  10686. "in": "query"
  10687. },
  10688. {
  10689. "type": "boolean",
  10690. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  10691. "name": "isAsc",
  10692. "in": "query"
  10693. }
  10694. ],
  10695. "responses": {
  10696. "200": {
  10697. "description": "OK",
  10698. "schema": {
  10699. "$ref": "#/definitions/quote.HistoryTikData"
  10700. }
  10701. },
  10702. "500": {
  10703. "description": "Internal Server Error",
  10704. "schema": {
  10705. "$ref": "#/definitions/app.Response"
  10706. }
  10707. }
  10708. }
  10709. }
  10710. },
  10711. "/Quote/QueryQuoteDay": {
  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": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  10729. "name": "goodsCodes",
  10730. "in": "query"
  10731. }
  10732. ],
  10733. "responses": {
  10734. "200": {
  10735. "description": "OK",
  10736. "schema": {
  10737. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  10738. }
  10739. },
  10740. "500": {
  10741. "description": "Internal Server Error",
  10742. "schema": {
  10743. "$ref": "#/definitions/app.Response"
  10744. }
  10745. }
  10746. }
  10747. }
  10748. },
  10749. "/Quote/QueryTSData": {
  10750. "get": {
  10751. "security": [
  10752. {
  10753. "ApiKeyAuth": []
  10754. }
  10755. ],
  10756. "produces": [
  10757. "application/json"
  10758. ],
  10759. "tags": [
  10760. "行情服务"
  10761. ],
  10762. "summary": "分时图数据查询",
  10763. "parameters": [
  10764. {
  10765. "type": "string",
  10766. "description": "商品代码",
  10767. "name": "goodsCode",
  10768. "in": "query",
  10769. "required": true
  10770. }
  10771. ],
  10772. "responses": {
  10773. "200": {
  10774. "description": "OK",
  10775. "schema": {
  10776. "$ref": "#/definitions/quote.QueryTSDataRsp"
  10777. }
  10778. },
  10779. "500": {
  10780. "description": "Internal Server Error",
  10781. "schema": {
  10782. "$ref": "#/definitions/app.Response"
  10783. }
  10784. }
  10785. }
  10786. }
  10787. },
  10788. "/SZDZ/QueryConvertConfig": {
  10789. "get": {
  10790. "security": [
  10791. {
  10792. "ApiKeyAuth": []
  10793. }
  10794. ],
  10795. "produces": [
  10796. "application/json"
  10797. ],
  10798. "tags": [
  10799. "定制【尚志大宗】"
  10800. ],
  10801. "summary": "查询交易系统转换设置",
  10802. "parameters": [
  10803. {
  10804. "type": "integer",
  10805. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  10806. "name": "convertType",
  10807. "in": "query"
  10808. },
  10809. {
  10810. "type": "string",
  10811. "description": "外部商品代码[JD\\PD]",
  10812. "name": "outerGoodsCode",
  10813. "in": "query"
  10814. },
  10815. {
  10816. "type": "string",
  10817. "description": "内部商品ID列表[交易],格式:1,2,3",
  10818. "name": "innerGoodsIDs",
  10819. "in": "query"
  10820. }
  10821. ],
  10822. "responses": {
  10823. "200": {
  10824. "description": "OK",
  10825. "schema": {
  10826. "$ref": "#/definitions/models.Szdz3convertconfig"
  10827. }
  10828. },
  10829. "500": {
  10830. "description": "Internal Server Error",
  10831. "schema": {
  10832. "$ref": "#/definitions/app.Response"
  10833. }
  10834. }
  10835. }
  10836. }
  10837. },
  10838. "/SZDZ/QueryConvertLog": {
  10839. "get": {
  10840. "security": [
  10841. {
  10842. "ApiKeyAuth": []
  10843. }
  10844. ],
  10845. "produces": [
  10846. "application/json"
  10847. ],
  10848. "tags": [
  10849. "定制【尚志大宗】"
  10850. ],
  10851. "summary": "交易系统转换流水查询",
  10852. "parameters": [
  10853. {
  10854. "type": "string",
  10855. "description": "资金账户 - 格式:1,2,3",
  10856. "name": "accountID",
  10857. "in": "query",
  10858. "required": true
  10859. },
  10860. {
  10861. "type": "string",
  10862. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10863. "name": "startDate",
  10864. "in": "query"
  10865. },
  10866. {
  10867. "type": "string",
  10868. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  10869. "name": "endDate",
  10870. "in": "query"
  10871. }
  10872. ],
  10873. "responses": {
  10874. "200": {
  10875. "description": "OK",
  10876. "schema": {
  10877. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  10878. }
  10879. },
  10880. "500": {
  10881. "description": "Internal Server Error",
  10882. "schema": {
  10883. "$ref": "#/definitions/app.Response"
  10884. }
  10885. }
  10886. }
  10887. }
  10888. },
  10889. "/SZDZ/QueryGoodsPickup": {
  10890. "get": {
  10891. "security": [
  10892. {
  10893. "ApiKeyAuth": []
  10894. }
  10895. ],
  10896. "produces": [
  10897. "application/json"
  10898. ],
  10899. "tags": [
  10900. "定制【尚志大宗】"
  10901. ],
  10902. "summary": "商品提货单查询",
  10903. "parameters": [
  10904. {
  10905. "type": "string",
  10906. "description": "资金账户 - 格式:1,2,3",
  10907. "name": "accountID",
  10908. "in": "query",
  10909. "required": true
  10910. },
  10911. {
  10912. "type": "integer",
  10913. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  10914. "name": "takeOrderStatus",
  10915. "in": "query"
  10916. }
  10917. ],
  10918. "responses": {
  10919. "200": {
  10920. "description": "OK",
  10921. "schema": {
  10922. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  10923. }
  10924. },
  10925. "500": {
  10926. "description": "Internal Server Error",
  10927. "schema": {
  10928. "$ref": "#/definitions/app.Response"
  10929. }
  10930. }
  10931. }
  10932. }
  10933. },
  10934. "/SZDZ/QueryRecieptOrder": {
  10935. "get": {
  10936. "security": [
  10937. {
  10938. "ApiKeyAuth": []
  10939. }
  10940. ],
  10941. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10942. "produces": [
  10943. "application/json"
  10944. ],
  10945. "tags": [
  10946. "定制【尚志大宗】"
  10947. ],
  10948. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  10949. "parameters": [
  10950. {
  10951. "type": "integer",
  10952. "description": "页码",
  10953. "name": "page",
  10954. "in": "query"
  10955. },
  10956. {
  10957. "type": "integer",
  10958. "description": "每页条数",
  10959. "name": "pagesize",
  10960. "in": "query"
  10961. },
  10962. {
  10963. "type": "integer",
  10964. "description": "商品ID",
  10965. "name": "goodsID",
  10966. "in": "query",
  10967. "required": true
  10968. },
  10969. {
  10970. "type": "string",
  10971. "description": "所属账户名称",
  10972. "name": "accountName",
  10973. "in": "query"
  10974. },
  10975. {
  10976. "type": "integer",
  10977. "description": "市场ID",
  10978. "name": "marketID",
  10979. "in": "query"
  10980. },
  10981. {
  10982. "type": "integer",
  10983. "description": "方向 - 0:买 1:卖",
  10984. "name": "buyorsell",
  10985. "in": "query",
  10986. "required": true
  10987. }
  10988. ],
  10989. "responses": {
  10990. "200": {
  10991. "description": "OK",
  10992. "schema": {
  10993. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10994. }
  10995. },
  10996. "500": {
  10997. "description": "Internal Server Error",
  10998. "schema": {
  10999. "$ref": "#/definitions/app.Response"
  11000. }
  11001. }
  11002. }
  11003. }
  11004. },
  11005. "/SZDZ/QuerySZDZTradePosition": {
  11006. "get": {
  11007. "security": [
  11008. {
  11009. "ApiKeyAuth": []
  11010. }
  11011. ],
  11012. "produces": [
  11013. "application/json"
  11014. ],
  11015. "tags": [
  11016. "定制【尚志大宗】"
  11017. ],
  11018. "summary": "持仓汇总查询(尚志大宗)",
  11019. "parameters": [
  11020. {
  11021. "type": "integer",
  11022. "description": "资金账户",
  11023. "name": "accountID",
  11024. "in": "query",
  11025. "required": true
  11026. }
  11027. ],
  11028. "responses": {
  11029. "200": {
  11030. "description": "OK",
  11031. "schema": {
  11032. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  11033. }
  11034. },
  11035. "500": {
  11036. "description": "Internal Server Error",
  11037. "schema": {
  11038. "$ref": "#/definitions/app.Response"
  11039. }
  11040. }
  11041. }
  11042. }
  11043. },
  11044. "/SZDZ/SearchWhite": {
  11045. "get": {
  11046. "security": [
  11047. {
  11048. "ApiKeyAuth": []
  11049. }
  11050. ],
  11051. "produces": [
  11052. "application/json"
  11053. ],
  11054. "tags": [
  11055. "定制【尚志大宗】"
  11056. ],
  11057. "summary": "搜索白名单",
  11058. "parameters": [
  11059. {
  11060. "type": "integer",
  11061. "description": "用户ID",
  11062. "name": "userID",
  11063. "in": "query",
  11064. "required": true
  11065. }
  11066. ],
  11067. "responses": {
  11068. "200": {
  11069. "description": "OK",
  11070. "schema": {
  11071. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  11072. }
  11073. },
  11074. "500": {
  11075. "description": "Internal Server Error",
  11076. "schema": {
  11077. "$ref": "#/definitions/app.Response"
  11078. }
  11079. }
  11080. }
  11081. }
  11082. },
  11083. "/Search/SearchGoodses": {
  11084. "get": {
  11085. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  11086. "produces": [
  11087. "application/json"
  11088. ],
  11089. "tags": [
  11090. "检索服务"
  11091. ],
  11092. "summary": "检索商品信息",
  11093. "parameters": [
  11094. {
  11095. "type": "string",
  11096. "description": "检索内容",
  11097. "name": "content",
  11098. "in": "query",
  11099. "required": true
  11100. },
  11101. {
  11102. "type": "string",
  11103. "description": "交易模式,格式:1,2,3",
  11104. "name": "tradeModes",
  11105. "in": "query"
  11106. }
  11107. ],
  11108. "responses": {
  11109. "200": {
  11110. "description": "OK",
  11111. "schema": {
  11112. "$ref": "#/definitions/models.SearchGoods"
  11113. }
  11114. },
  11115. "500": {
  11116. "description": "Internal Server Error",
  11117. "schema": {
  11118. "$ref": "#/definitions/app.Response"
  11119. }
  11120. }
  11121. }
  11122. }
  11123. },
  11124. "/TaAccount/GetTaAccounts": {
  11125. "get": {
  11126. "security": [
  11127. {
  11128. "ApiKeyAuth": []
  11129. }
  11130. ],
  11131. "produces": [
  11132. "application/json"
  11133. ],
  11134. "tags": [
  11135. "资金账户"
  11136. ],
  11137. "summary": "获取资金账户信息",
  11138. "parameters": [
  11139. {
  11140. "type": "integer",
  11141. "description": "登录账户",
  11142. "name": "loginID",
  11143. "in": "query",
  11144. "required": true
  11145. },
  11146. {
  11147. "type": "integer",
  11148. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  11149. "name": "taAccountType",
  11150. "in": "query"
  11151. }
  11152. ],
  11153. "responses": {
  11154. "200": {
  11155. "description": "OK",
  11156. "schema": {
  11157. "$ref": "#/definitions/models.Taaccount"
  11158. }
  11159. },
  11160. "500": {
  11161. "description": "Internal Server Error",
  11162. "schema": {
  11163. "$ref": "#/definitions/app.Response"
  11164. }
  11165. }
  11166. }
  11167. }
  11168. },
  11169. "/TaAccount/QueryAmountLog": {
  11170. "get": {
  11171. "security": [
  11172. {
  11173. "ApiKeyAuth": []
  11174. }
  11175. ],
  11176. "produces": [
  11177. "application/json"
  11178. ],
  11179. "tags": [
  11180. "资金账户"
  11181. ],
  11182. "summary": "资金流水查询(当前)",
  11183. "parameters": [
  11184. {
  11185. "type": "integer",
  11186. "description": "页码",
  11187. "name": "page",
  11188. "in": "query"
  11189. },
  11190. {
  11191. "type": "integer",
  11192. "description": "每页条数",
  11193. "name": "pagesize",
  11194. "in": "query"
  11195. },
  11196. {
  11197. "type": "string",
  11198. "description": "资金账户 - 格式:1,2,3",
  11199. "name": "accountID",
  11200. "in": "query",
  11201. "required": true
  11202. },
  11203. {
  11204. "type": "string",
  11205. "description": "资金操作类型 - 格式:1,2,3",
  11206. "name": "OperateType",
  11207. "in": "query"
  11208. }
  11209. ],
  11210. "responses": {
  11211. "200": {
  11212. "description": "OK",
  11213. "schema": {
  11214. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  11215. }
  11216. },
  11217. "500": {
  11218. "description": "Internal Server Error",
  11219. "schema": {
  11220. "$ref": "#/definitions/app.Response"
  11221. }
  11222. }
  11223. }
  11224. }
  11225. },
  11226. "/TaAccount/QueryHisAmountLog": {
  11227. "get": {
  11228. "security": [
  11229. {
  11230. "ApiKeyAuth": []
  11231. }
  11232. ],
  11233. "produces": [
  11234. "application/json"
  11235. ],
  11236. "tags": [
  11237. "资金账户"
  11238. ],
  11239. "summary": "资金流水查询(历史)",
  11240. "parameters": [
  11241. {
  11242. "type": "integer",
  11243. "description": "页码",
  11244. "name": "page",
  11245. "in": "query"
  11246. },
  11247. {
  11248. "type": "integer",
  11249. "description": "每页条数",
  11250. "name": "pagesize",
  11251. "in": "query"
  11252. },
  11253. {
  11254. "type": "string",
  11255. "description": "资金账户 - 格式:1,2,3",
  11256. "name": "accountID",
  11257. "in": "query",
  11258. "required": true
  11259. },
  11260. {
  11261. "type": "string",
  11262. "description": "资金操作类型 - 格式:1,2,3",
  11263. "name": "OperateType",
  11264. "in": "query"
  11265. },
  11266. {
  11267. "type": "string",
  11268. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  11269. "name": "startDate",
  11270. "in": "query"
  11271. },
  11272. {
  11273. "type": "string",
  11274. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  11275. "name": "endDate",
  11276. "in": "query"
  11277. }
  11278. ],
  11279. "responses": {
  11280. "200": {
  11281. "description": "OK",
  11282. "schema": {
  11283. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  11284. }
  11285. },
  11286. "500": {
  11287. "description": "Internal Server Error",
  11288. "schema": {
  11289. "$ref": "#/definitions/app.Response"
  11290. }
  11291. }
  11292. }
  11293. }
  11294. },
  11295. "/TaAccount/QueryRelatedTaAccount": {
  11296. "get": {
  11297. "security": [
  11298. {
  11299. "ApiKeyAuth": []
  11300. }
  11301. ],
  11302. "produces": [
  11303. "application/json"
  11304. ],
  11305. "tags": [
  11306. "资金账户"
  11307. ],
  11308. "summary": "查询关联资金账户信息",
  11309. "parameters": [
  11310. {
  11311. "type": "integer",
  11312. "description": "关联UserID",
  11313. "name": "relateduserid",
  11314. "in": "query",
  11315. "required": true
  11316. }
  11317. ],
  11318. "responses": {
  11319. "200": {
  11320. "description": "OK",
  11321. "schema": {
  11322. "type": "array",
  11323. "items": {
  11324. "$ref": "#/definitions/models.RelatedTaAccount"
  11325. }
  11326. }
  11327. },
  11328. "500": {
  11329. "description": "Internal Server Error",
  11330. "schema": {
  11331. "$ref": "#/definitions/app.Response"
  11332. }
  11333. }
  11334. }
  11335. }
  11336. },
  11337. "/Tjmd/QueryQuoteGoodsList": {
  11338. "get": {
  11339. "security": [
  11340. {
  11341. "ApiKeyAuth": []
  11342. }
  11343. ],
  11344. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  11345. "produces": [
  11346. "application/json"
  11347. ],
  11348. "tags": [
  11349. "天津麦顿"
  11350. ],
  11351. "summary": "查询掉期报价列表",
  11352. "parameters": [
  11353. {
  11354. "type": "integer",
  11355. "description": "用户类型",
  11356. "name": "usertype",
  11357. "in": "query",
  11358. "required": true
  11359. },
  11360. {
  11361. "type": "string",
  11362. "description": "市场id, 格式 1,2,3",
  11363. "name": "marketids",
  11364. "in": "query"
  11365. },
  11366. {
  11367. "type": "integer",
  11368. "description": "商品组id",
  11369. "name": "goodsgroupid",
  11370. "in": "query"
  11371. },
  11372. {
  11373. "type": "integer",
  11374. "description": "商品id",
  11375. "name": "goodsid",
  11376. "in": "query"
  11377. }
  11378. ],
  11379. "responses": {
  11380. "200": {
  11381. "description": "OK",
  11382. "schema": {
  11383. "type": "array",
  11384. "items": {
  11385. "$ref": "#/definitions/models.TjmdQuoteGoods"
  11386. }
  11387. }
  11388. },
  11389. "500": {
  11390. "description": "Internal Server Error",
  11391. "schema": {
  11392. "$ref": "#/definitions/app.Response"
  11393. }
  11394. }
  11395. }
  11396. }
  11397. },
  11398. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  11399. "get": {
  11400. "security": [
  11401. {
  11402. "ApiKeyAuth": []
  11403. }
  11404. ],
  11405. "produces": [
  11406. "application/json"
  11407. ],
  11408. "tags": [
  11409. "天津麦顿"
  11410. ],
  11411. "summary": "掉期商品订单详情(交易确认书)",
  11412. "parameters": [
  11413. {
  11414. "type": "string",
  11415. "description": "成交单号",
  11416. "name": "tradeid",
  11417. "in": "query",
  11418. "required": true
  11419. }
  11420. ],
  11421. "responses": {
  11422. "200": {
  11423. "description": "OK",
  11424. "schema": {
  11425. "type": "array",
  11426. "items": {
  11427. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  11428. }
  11429. }
  11430. },
  11431. "500": {
  11432. "description": "Internal Server Error",
  11433. "schema": {
  11434. "$ref": "#/definitions/app.Response"
  11435. }
  11436. }
  11437. }
  11438. }
  11439. },
  11440. "/Tjmd/QueryTjmdMarketSection": {
  11441. "get": {
  11442. "security": [
  11443. {
  11444. "ApiKeyAuth": []
  11445. }
  11446. ],
  11447. "produces": [
  11448. "application/json"
  11449. ],
  11450. "tags": [
  11451. "天津麦顿"
  11452. ],
  11453. "summary": "查询市场板块",
  11454. "responses": {
  11455. "200": {
  11456. "description": "OK",
  11457. "schema": {
  11458. "type": "array",
  11459. "items": {
  11460. "$ref": "#/definitions/models.TjmdMarketSection"
  11461. }
  11462. }
  11463. },
  11464. "500": {
  11465. "description": "Internal Server Error",
  11466. "schema": {
  11467. "$ref": "#/definitions/app.Response"
  11468. }
  11469. }
  11470. }
  11471. }
  11472. },
  11473. "/Tjmd/QueryTjmdTodayAccountMargin": {
  11474. "get": {
  11475. "security": [
  11476. {
  11477. "ApiKeyAuth": []
  11478. }
  11479. ],
  11480. "produces": [
  11481. "application/json"
  11482. ],
  11483. "tags": [
  11484. "天津麦顿"
  11485. ],
  11486. "summary": "查询今日账户保证金配置",
  11487. "parameters": [
  11488. {
  11489. "type": "string",
  11490. "description": "市场id",
  11491. "name": "marketid",
  11492. "in": "query"
  11493. },
  11494. {
  11495. "type": "string",
  11496. "description": "商品id",
  11497. "name": "goodsid",
  11498. "in": "query"
  11499. },
  11500. {
  11501. "type": "string",
  11502. "description": "资金账号",
  11503. "name": "accountid",
  11504. "in": "query"
  11505. }
  11506. ],
  11507. "responses": {
  11508. "200": {
  11509. "description": "OK",
  11510. "schema": {
  11511. "type": "array",
  11512. "items": {
  11513. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  11514. }
  11515. }
  11516. },
  11517. "500": {
  11518. "description": "Internal Server Error",
  11519. "schema": {
  11520. "$ref": "#/definitions/app.Response"
  11521. }
  11522. }
  11523. }
  11524. }
  11525. },
  11526. "/Tjmd/QueryTjmdTradeOrderDetail": {
  11527. "get": {
  11528. "security": [
  11529. {
  11530. "ApiKeyAuth": []
  11531. }
  11532. ],
  11533. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  11534. "produces": [
  11535. "application/json"
  11536. ],
  11537. "tags": [
  11538. "天津麦顿"
  11539. ],
  11540. "summary": "查询掉期买卖大厅",
  11541. "parameters": [
  11542. {
  11543. "type": "integer",
  11544. "description": "页码",
  11545. "name": "page",
  11546. "in": "query"
  11547. },
  11548. {
  11549. "type": "integer",
  11550. "description": "每页条数",
  11551. "name": "pagesize",
  11552. "in": "query"
  11553. },
  11554. {
  11555. "type": "integer",
  11556. "description": "用户id",
  11557. "name": "userid",
  11558. "in": "query",
  11559. "required": true
  11560. },
  11561. {
  11562. "type": "integer",
  11563. "description": "用户类型",
  11564. "name": "usertype",
  11565. "in": "query",
  11566. "required": true
  11567. },
  11568. {
  11569. "type": "string",
  11570. "description": "市场id, 格式 1,2,3",
  11571. "name": "marketids",
  11572. "in": "query"
  11573. },
  11574. {
  11575. "type": "integer",
  11576. "description": "商品id",
  11577. "name": "goodsid",
  11578. "in": "query",
  11579. "required": true
  11580. },
  11581. {
  11582. "type": "integer",
  11583. "description": "买卖方向 0-买 1-卖",
  11584. "name": "buyorsell",
  11585. "in": "query",
  11586. "required": true
  11587. }
  11588. ],
  11589. "responses": {
  11590. "200": {
  11591. "description": "OK",
  11592. "schema": {
  11593. "type": "array",
  11594. "items": {
  11595. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  11596. }
  11597. }
  11598. },
  11599. "500": {
  11600. "description": "Internal Server Error",
  11601. "schema": {
  11602. "$ref": "#/definitions/app.Response"
  11603. }
  11604. }
  11605. }
  11606. }
  11607. },
  11608. "/Tjmd/QueryTjmdTransferApply": {
  11609. "get": {
  11610. "security": [
  11611. {
  11612. "ApiKeyAuth": []
  11613. }
  11614. ],
  11615. "produces": [
  11616. "application/json"
  11617. ],
  11618. "tags": [
  11619. "天津麦顿"
  11620. ],
  11621. "summary": "查询掉期协议单",
  11622. "parameters": [
  11623. {
  11624. "type": "integer",
  11625. "description": "类型 1-我的申请 2-对方申请",
  11626. "name": "applytype",
  11627. "in": "query",
  11628. "required": true
  11629. },
  11630. {
  11631. "type": "string",
  11632. "description": "市场id, 格式 1,2,3",
  11633. "name": "marketids",
  11634. "in": "query"
  11635. },
  11636. {
  11637. "type": "string",
  11638. "description": "资金账号, 格式 25000000001,25000000003",
  11639. "name": "accountids",
  11640. "in": "query"
  11641. },
  11642. {
  11643. "type": "string",
  11644. "description": "开始交易日(yyyymmdd)",
  11645. "name": "begindate",
  11646. "in": "query"
  11647. },
  11648. {
  11649. "type": "string",
  11650. "description": "结束交易日(yyyymmdd)",
  11651. "name": "enddate",
  11652. "in": "query"
  11653. }
  11654. ],
  11655. "responses": {
  11656. "200": {
  11657. "description": "OK",
  11658. "schema": {
  11659. "type": "array",
  11660. "items": {
  11661. "$ref": "#/definitions/models.TjmdTransferApply"
  11662. }
  11663. }
  11664. },
  11665. "500": {
  11666. "description": "Internal Server Error",
  11667. "schema": {
  11668. "$ref": "#/definitions/app.Response"
  11669. }
  11670. }
  11671. }
  11672. }
  11673. },
  11674. "/Trade/QueryRecieptOrder": {
  11675. "get": {
  11676. "security": [
  11677. {
  11678. "ApiKeyAuth": []
  11679. }
  11680. ],
  11681. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11682. "produces": [
  11683. "application/json"
  11684. ],
  11685. "tags": [
  11686. "通用交易"
  11687. ],
  11688. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  11689. "parameters": [
  11690. {
  11691. "type": "integer",
  11692. "description": "页码",
  11693. "name": "page",
  11694. "in": "query"
  11695. },
  11696. {
  11697. "type": "integer",
  11698. "description": "每页条数",
  11699. "name": "pagesize",
  11700. "in": "query"
  11701. },
  11702. {
  11703. "type": "integer",
  11704. "description": "商品ID",
  11705. "name": "goodsID",
  11706. "in": "query",
  11707. "required": true
  11708. },
  11709. {
  11710. "type": "string",
  11711. "description": "所属账户名称",
  11712. "name": "accountName",
  11713. "in": "query"
  11714. },
  11715. {
  11716. "type": "integer",
  11717. "description": "市场ID",
  11718. "name": "marketID",
  11719. "in": "query"
  11720. },
  11721. {
  11722. "type": "integer",
  11723. "description": "方向 - 0:买 1:卖",
  11724. "name": "buyorsell",
  11725. "in": "query",
  11726. "required": true
  11727. }
  11728. ],
  11729. "responses": {
  11730. "200": {
  11731. "description": "OK",
  11732. "schema": {
  11733. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  11734. }
  11735. },
  11736. "500": {
  11737. "description": "Internal Server Error",
  11738. "schema": {
  11739. "$ref": "#/definitions/app.Response"
  11740. }
  11741. }
  11742. }
  11743. }
  11744. },
  11745. "/User/AddMessageBoard": {
  11746. "post": {
  11747. "security": [
  11748. {
  11749. "ApiKeyAuth": []
  11750. }
  11751. ],
  11752. "produces": [
  11753. "application/json"
  11754. ],
  11755. "tags": [
  11756. "用户信息"
  11757. ],
  11758. "summary": "添加用户留言板信息",
  11759. "parameters": [
  11760. {
  11761. "type": "integer",
  11762. "description": "用户ID",
  11763. "name": "userID",
  11764. "in": "query",
  11765. "required": true
  11766. },
  11767. {
  11768. "type": "string",
  11769. "description": "留言信息",
  11770. "name": "message",
  11771. "in": "query",
  11772. "required": true
  11773. },
  11774. {
  11775. "type": "string",
  11776. "description": "联系电话",
  11777. "name": "contactNum",
  11778. "in": "query",
  11779. "required": true
  11780. }
  11781. ],
  11782. "responses": {
  11783. "200": {
  11784. "description": "OK",
  11785. "schema": {
  11786. "$ref": "#/definitions/app.Response"
  11787. }
  11788. },
  11789. "500": {
  11790. "description": "Internal Server Error",
  11791. "schema": {
  11792. "$ref": "#/definitions/app.Response"
  11793. }
  11794. }
  11795. }
  11796. }
  11797. },
  11798. "/User/AddUserFavoriteGoods": {
  11799. "post": {
  11800. "security": [
  11801. {
  11802. "ApiKeyAuth": []
  11803. }
  11804. ],
  11805. "produces": [
  11806. "application/json"
  11807. ],
  11808. "tags": [
  11809. "用户信息"
  11810. ],
  11811. "summary": "添加用户商品收藏信息",
  11812. "parameters": [
  11813. {
  11814. "type": "integer",
  11815. "description": "用户ID",
  11816. "name": "userID",
  11817. "in": "query",
  11818. "required": true
  11819. },
  11820. {
  11821. "type": "integer",
  11822. "description": "商品ID",
  11823. "name": "goodsID",
  11824. "in": "query",
  11825. "required": true
  11826. }
  11827. ],
  11828. "responses": {
  11829. "200": {
  11830. "description": "OK",
  11831. "schema": {
  11832. "$ref": "#/definitions/app.Response"
  11833. }
  11834. },
  11835. "500": {
  11836. "description": "Internal Server Error",
  11837. "schema": {
  11838. "$ref": "#/definitions/app.Response"
  11839. }
  11840. }
  11841. }
  11842. }
  11843. },
  11844. "/User/GetLoginID": {
  11845. "get": {
  11846. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  11847. "produces": [
  11848. "application/json"
  11849. ],
  11850. "tags": [
  11851. "用户信息"
  11852. ],
  11853. "summary": "获取登录ID",
  11854. "parameters": [
  11855. {
  11856. "type": "string",
  11857. "description": "登录代码",
  11858. "name": "username",
  11859. "in": "query",
  11860. "required": true
  11861. }
  11862. ],
  11863. "responses": {
  11864. "200": {
  11865. "description": "OK",
  11866. "schema": {
  11867. "$ref": "#/definitions/app.Response"
  11868. }
  11869. },
  11870. "500": {
  11871. "description": "Internal Server Error",
  11872. "schema": {
  11873. "$ref": "#/definitions/app.Response"
  11874. }
  11875. }
  11876. }
  11877. }
  11878. },
  11879. "/User/GetUserAccount": {
  11880. "get": {
  11881. "security": [
  11882. {
  11883. "ApiKeyAuth": []
  11884. }
  11885. ],
  11886. "produces": [
  11887. "application/json"
  11888. ],
  11889. "tags": [
  11890. "用户信息"
  11891. ],
  11892. "summary": "获取用户账号信息",
  11893. "parameters": [
  11894. {
  11895. "type": "integer",
  11896. "description": "用户ID",
  11897. "name": "userID",
  11898. "in": "query",
  11899. "required": true
  11900. }
  11901. ],
  11902. "responses": {
  11903. "200": {
  11904. "description": "OK",
  11905. "schema": {
  11906. "$ref": "#/definitions/models.Useraccount"
  11907. }
  11908. },
  11909. "500": {
  11910. "description": "Internal Server Error",
  11911. "schema": {
  11912. "$ref": "#/definitions/app.Response"
  11913. }
  11914. }
  11915. }
  11916. }
  11917. },
  11918. "/User/GetUserAuthStatus": {
  11919. "get": {
  11920. "security": [
  11921. {
  11922. "ApiKeyAuth": []
  11923. }
  11924. ],
  11925. "produces": [
  11926. "application/json"
  11927. ],
  11928. "tags": [
  11929. "用户信息"
  11930. ],
  11931. "summary": "获取用户实名认证状态",
  11932. "parameters": [
  11933. {
  11934. "type": "integer",
  11935. "description": "用户ID",
  11936. "name": "userID",
  11937. "in": "query",
  11938. "required": true
  11939. }
  11940. ],
  11941. "responses": {
  11942. "200": {
  11943. "description": "OK",
  11944. "schema": {
  11945. "$ref": "#/definitions/app.Response"
  11946. }
  11947. },
  11948. "500": {
  11949. "description": "Internal Server Error",
  11950. "schema": {
  11951. "$ref": "#/definitions/app.Response"
  11952. }
  11953. }
  11954. }
  11955. }
  11956. },
  11957. "/User/LoginQuery": {
  11958. "get": {
  11959. "security": [
  11960. {
  11961. "ApiKeyAuth": []
  11962. }
  11963. ],
  11964. "produces": [
  11965. "application/json"
  11966. ],
  11967. "tags": [
  11968. "用户信息"
  11969. ],
  11970. "summary": "账户登录后信息查询",
  11971. "parameters": [
  11972. {
  11973. "type": "integer",
  11974. "description": "登录账号",
  11975. "name": "loginID",
  11976. "in": "query",
  11977. "required": true
  11978. }
  11979. ],
  11980. "responses": {
  11981. "200": {
  11982. "description": "OK",
  11983. "schema": {
  11984. "$ref": "#/definitions/user.LoginQueryRsp"
  11985. }
  11986. },
  11987. "500": {
  11988. "description": "Internal Server Error",
  11989. "schema": {
  11990. "$ref": "#/definitions/app.Response"
  11991. }
  11992. }
  11993. }
  11994. }
  11995. },
  11996. "/User/QueryMessageBoard": {
  11997. "get": {
  11998. "security": [
  11999. {
  12000. "ApiKeyAuth": []
  12001. }
  12002. ],
  12003. "produces": [
  12004. "application/json"
  12005. ],
  12006. "tags": [
  12007. "用户信息"
  12008. ],
  12009. "summary": "获取用户留言板信息",
  12010. "parameters": [
  12011. {
  12012. "type": "integer",
  12013. "description": "用户ID",
  12014. "name": "userID",
  12015. "in": "query",
  12016. "required": true
  12017. }
  12018. ],
  12019. "responses": {
  12020. "200": {
  12021. "description": "OK",
  12022. "schema": {
  12023. "$ref": "#/definitions/models.Messageboard"
  12024. }
  12025. },
  12026. "500": {
  12027. "description": "Internal Server Error",
  12028. "schema": {
  12029. "$ref": "#/definitions/app.Response"
  12030. }
  12031. }
  12032. }
  12033. }
  12034. },
  12035. "/User/QueryUserFavoriteGoodses": {
  12036. "get": {
  12037. "security": [
  12038. {
  12039. "ApiKeyAuth": []
  12040. }
  12041. ],
  12042. "produces": [
  12043. "application/json"
  12044. ],
  12045. "tags": [
  12046. "用户信息"
  12047. ],
  12048. "summary": "获取用户商品收藏信息",
  12049. "parameters": [
  12050. {
  12051. "type": "integer",
  12052. "description": "用户ID",
  12053. "name": "userID",
  12054. "in": "query",
  12055. "required": true
  12056. }
  12057. ],
  12058. "responses": {
  12059. "200": {
  12060. "description": "OK",
  12061. "schema": {
  12062. "$ref": "#/definitions/models.Userfavoritegoods"
  12063. }
  12064. },
  12065. "500": {
  12066. "description": "Internal Server Error",
  12067. "schema": {
  12068. "$ref": "#/definitions/app.Response"
  12069. }
  12070. }
  12071. }
  12072. }
  12073. },
  12074. "/User/QueryUserInfo": {
  12075. "get": {
  12076. "security": [
  12077. {
  12078. "ApiKeyAuth": []
  12079. }
  12080. ],
  12081. "produces": [
  12082. "application/json"
  12083. ],
  12084. "tags": [
  12085. "用户信息"
  12086. ],
  12087. "summary": "获取用户信息",
  12088. "parameters": [
  12089. {
  12090. "type": "integer",
  12091. "description": "用户ID",
  12092. "name": "userID",
  12093. "in": "query",
  12094. "required": true
  12095. },
  12096. {
  12097. "type": "boolean",
  12098. "description": "是否解密",
  12099. "name": "isDecrypt",
  12100. "in": "query"
  12101. }
  12102. ],
  12103. "responses": {
  12104. "200": {
  12105. "description": "OK",
  12106. "schema": {
  12107. "$ref": "#/definitions/models.Userinfo"
  12108. }
  12109. },
  12110. "500": {
  12111. "description": "Internal Server Error",
  12112. "schema": {
  12113. "$ref": "#/definitions/app.Response"
  12114. }
  12115. }
  12116. }
  12117. }
  12118. },
  12119. "/User/QueryUserReferNum": {
  12120. "get": {
  12121. "produces": [
  12122. "application/json"
  12123. ],
  12124. "tags": [
  12125. "用户信息"
  12126. ],
  12127. "summary": "获取用户邀请码",
  12128. "parameters": [
  12129. {
  12130. "type": "integer",
  12131. "description": "用户ID",
  12132. "name": "userID",
  12133. "in": "query",
  12134. "required": true
  12135. }
  12136. ],
  12137. "responses": {
  12138. "200": {
  12139. "description": "OK",
  12140. "schema": {
  12141. "$ref": "#/definitions/app.Response"
  12142. }
  12143. },
  12144. "500": {
  12145. "description": "Internal Server Error",
  12146. "schema": {
  12147. "$ref": "#/definitions/app.Response"
  12148. }
  12149. }
  12150. }
  12151. }
  12152. },
  12153. "/User/RemoveUserFavoriteGoods": {
  12154. "post": {
  12155. "security": [
  12156. {
  12157. "ApiKeyAuth": []
  12158. }
  12159. ],
  12160. "produces": [
  12161. "application/json"
  12162. ],
  12163. "tags": [
  12164. "用户信息"
  12165. ],
  12166. "summary": "移除用户商品收藏信息",
  12167. "parameters": [
  12168. {
  12169. "type": "integer",
  12170. "description": "用户ID",
  12171. "name": "userID",
  12172. "in": "query",
  12173. "required": true
  12174. },
  12175. {
  12176. "type": "integer",
  12177. "description": "商品ID",
  12178. "name": "goodsID",
  12179. "in": "query",
  12180. "required": true
  12181. }
  12182. ],
  12183. "responses": {
  12184. "200": {
  12185. "description": "OK",
  12186. "schema": {
  12187. "$ref": "#/definitions/app.Response"
  12188. }
  12189. },
  12190. "500": {
  12191. "description": "Internal Server Error",
  12192. "schema": {
  12193. "$ref": "#/definitions/app.Response"
  12194. }
  12195. }
  12196. }
  12197. }
  12198. },
  12199. "/User/UpdateUserAccountStatus": {
  12200. "post": {
  12201. "security": [
  12202. {
  12203. "ApiKeyAuth": []
  12204. }
  12205. ],
  12206. "produces": [
  12207. "application/json"
  12208. ],
  12209. "tags": [
  12210. "用户信息"
  12211. ],
  12212. "summary": "更新用户状态",
  12213. "parameters": [
  12214. {
  12215. "type": "integer",
  12216. "description": "用户ID",
  12217. "name": "userID",
  12218. "in": "query",
  12219. "required": true
  12220. },
  12221. {
  12222. "type": "integer",
  12223. "description": "账户状态 - 4:正常 6:注销(停用)",
  12224. "name": "accountStatus",
  12225. "in": "query",
  12226. "required": true
  12227. }
  12228. ],
  12229. "responses": {
  12230. "200": {
  12231. "description": "OK",
  12232. "schema": {
  12233. "$ref": "#/definitions/app.Response"
  12234. }
  12235. },
  12236. "500": {
  12237. "description": "Internal Server Error",
  12238. "schema": {
  12239. "$ref": "#/definitions/app.Response"
  12240. }
  12241. }
  12242. }
  12243. }
  12244. },
  12245. "/WRTrade/GetAllDeliveryGoods": {
  12246. "get": {
  12247. "security": [
  12248. {
  12249. "ApiKeyAuth": []
  12250. }
  12251. ],
  12252. "produces": [
  12253. "application/json"
  12254. ],
  12255. "tags": [
  12256. "仓单贸易",
  12257. "仓单贸易"
  12258. ],
  12259. "summary": "获取带仓单分类的种类信息",
  12260. "responses": {
  12261. "200": {
  12262. "description": "OK",
  12263. "schema": {
  12264. "$ref": "#/definitions/app.Response"
  12265. }
  12266. },
  12267. "500": {
  12268. "description": "Internal Server Error",
  12269. "schema": {
  12270. "$ref": "#/definitions/app.Response"
  12271. }
  12272. }
  12273. }
  12274. }
  12275. },
  12276. "/WrTrade2/QueryDeliveryGoodsSection": {
  12277. "get": {
  12278. "security": [
  12279. {
  12280. "ApiKeyAuth": []
  12281. }
  12282. ],
  12283. "produces": [
  12284. "application/json"
  12285. ],
  12286. "tags": [
  12287. "仓单贸易v2"
  12288. ],
  12289. "summary": "查询板块(分类)",
  12290. "responses": {
  12291. "200": {
  12292. "description": "OK",
  12293. "schema": {
  12294. "type": "array",
  12295. "items": {
  12296. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  12297. }
  12298. }
  12299. },
  12300. "500": {
  12301. "description": "Internal Server Error",
  12302. "schema": {
  12303. "$ref": "#/definitions/app.Response"
  12304. }
  12305. }
  12306. }
  12307. }
  12308. },
  12309. "/WrTrade2/QueryFaProductDetail": {
  12310. "get": {
  12311. "security": [
  12312. {
  12313. "ApiKeyAuth": []
  12314. }
  12315. ],
  12316. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  12317. "produces": [
  12318. "application/json"
  12319. ],
  12320. "tags": [
  12321. "仓单贸易v2"
  12322. ],
  12323. "summary": "查询融资产品列表",
  12324. "parameters": [
  12325. {
  12326. "type": "integer",
  12327. "description": "仓单要素id",
  12328. "name": "wrfactortypeid",
  12329. "in": "query",
  12330. "required": true
  12331. }
  12332. ],
  12333. "responses": {
  12334. "200": {
  12335. "description": "OK",
  12336. "schema": {
  12337. "type": "array",
  12338. "items": {
  12339. "$ref": "#/definitions/models.WrFAProductDetail"
  12340. }
  12341. }
  12342. },
  12343. "500": {
  12344. "description": "Internal Server Error",
  12345. "schema": {
  12346. "$ref": "#/definitions/app.Response"
  12347. }
  12348. }
  12349. }
  12350. }
  12351. },
  12352. "/WrTrade2/QueryFilterItem": {
  12353. "get": {
  12354. "security": [
  12355. {
  12356. "ApiKeyAuth": []
  12357. }
  12358. ],
  12359. "produces": [
  12360. "application/json"
  12361. ],
  12362. "tags": [
  12363. "仓单贸易v2"
  12364. ],
  12365. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  12366. "parameters": [
  12367. {
  12368. "type": "string",
  12369. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  12370. "name": "itype",
  12371. "in": "query",
  12372. "required": true
  12373. }
  12374. ],
  12375. "responses": {
  12376. "200": {
  12377. "description": "OK",
  12378. "schema": {
  12379. "type": "array",
  12380. "items": {
  12381. "$ref": "#/definitions/models.WrFilterItem"
  12382. }
  12383. }
  12384. },
  12385. "500": {
  12386. "description": "Internal Server Error",
  12387. "schema": {
  12388. "$ref": "#/definitions/app.Response"
  12389. }
  12390. }
  12391. }
  12392. }
  12393. },
  12394. "/WrTrade2/QueryFtDeliveryGoods": {
  12395. "get": {
  12396. "security": [
  12397. {
  12398. "ApiKeyAuth": []
  12399. }
  12400. ],
  12401. "produces": [
  12402. "application/json"
  12403. ],
  12404. "tags": [
  12405. "仓单贸易v2"
  12406. ],
  12407. "summary": "查询品种品类筛选框列表",
  12408. "responses": {
  12409. "200": {
  12410. "description": "OK",
  12411. "schema": {
  12412. "type": "array",
  12413. "items": {
  12414. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  12415. }
  12416. }
  12417. },
  12418. "500": {
  12419. "description": "Internal Server Error",
  12420. "schema": {
  12421. "$ref": "#/definitions/app.Response"
  12422. }
  12423. }
  12424. }
  12425. }
  12426. },
  12427. "/WrTrade2/QueryHoldLB": {
  12428. "get": {
  12429. "security": [
  12430. {
  12431. "ApiKeyAuth": []
  12432. }
  12433. ],
  12434. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  12435. "produces": [
  12436. "application/json"
  12437. ],
  12438. "tags": [
  12439. "仓单贸易v2"
  12440. ],
  12441. "summary": "查询仓单持有记录",
  12442. "parameters": [
  12443. {
  12444. "type": "integer",
  12445. "description": "资金账号",
  12446. "name": "accountid",
  12447. "in": "query",
  12448. "required": true
  12449. },
  12450. {
  12451. "type": "integer",
  12452. "description": "仓库id",
  12453. "name": "warehouseid",
  12454. "in": "query"
  12455. },
  12456. {
  12457. "type": "integer",
  12458. "description": "品种id",
  12459. "name": "deliverygoodsid",
  12460. "in": "query"
  12461. },
  12462. {
  12463. "type": "integer",
  12464. "description": "品类id",
  12465. "name": "wrstandardid",
  12466. "in": "query"
  12467. },
  12468. {
  12469. "type": "integer",
  12470. "description": "仓单要素id",
  12471. "name": "wrfactortypeid",
  12472. "in": "query"
  12473. },
  12474. {
  12475. "type": "string",
  12476. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12477. "name": "dgitemname",
  12478. "in": "query"
  12479. }
  12480. ],
  12481. "responses": {
  12482. "200": {
  12483. "description": "OK",
  12484. "schema": {
  12485. "type": "array",
  12486. "items": {
  12487. "$ref": "#/definitions/models.WrHoldLB"
  12488. }
  12489. }
  12490. },
  12491. "500": {
  12492. "description": "Internal Server Error",
  12493. "schema": {
  12494. "$ref": "#/definitions/app.Response"
  12495. }
  12496. }
  12497. }
  12498. }
  12499. },
  12500. "/WrTrade2/QueryOrderQuote": {
  12501. "get": {
  12502. "security": [
  12503. {
  12504. "ApiKeyAuth": []
  12505. }
  12506. ],
  12507. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  12508. "produces": [
  12509. "application/json"
  12510. ],
  12511. "tags": [
  12512. "仓单贸易v2"
  12513. ],
  12514. "summary": "查询大厅行情列表",
  12515. "parameters": [
  12516. {
  12517. "type": "integer",
  12518. "description": "页码",
  12519. "name": "page",
  12520. "in": "query"
  12521. },
  12522. {
  12523. "type": "integer",
  12524. "description": "每页条数",
  12525. "name": "pagesize",
  12526. "in": "query"
  12527. },
  12528. {
  12529. "type": "integer",
  12530. "description": "仓单贸易市场id",
  12531. "name": "marketid",
  12532. "in": "query"
  12533. },
  12534. {
  12535. "type": "integer",
  12536. "description": "价格方式 - 1:固定价 2-浮动价",
  12537. "name": "wrpricetype",
  12538. "in": "query",
  12539. "required": true
  12540. },
  12541. {
  12542. "type": "integer",
  12543. "description": "0:仓单预售 1:仓单贸易",
  12544. "name": "haswr",
  12545. "in": "query"
  12546. },
  12547. {
  12548. "type": "string",
  12549. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12550. "name": "dgitemname",
  12551. "in": "query"
  12552. },
  12553. {
  12554. "type": "integer",
  12555. "description": "仓库id(筛选条件)",
  12556. "name": "warehouseid",
  12557. "in": "query"
  12558. },
  12559. {
  12560. "type": "integer",
  12561. "description": "品种id",
  12562. "name": "deliverygoodsid",
  12563. "in": "query"
  12564. },
  12565. {
  12566. "type": "integer",
  12567. "description": "品类id",
  12568. "name": "wrstandardid",
  12569. "in": "query"
  12570. },
  12571. {
  12572. "type": "integer",
  12573. "description": "品牌id(dgfactoryitemid)",
  12574. "name": "brandid",
  12575. "in": "query"
  12576. },
  12577. {
  12578. "type": "integer",
  12579. "description": "年份id(dgfactoryitemid)",
  12580. "name": "yearsid",
  12581. "in": "query"
  12582. },
  12583. {
  12584. "type": "integer",
  12585. "description": "仓单要素id",
  12586. "name": "wrfactortypeid",
  12587. "in": "query"
  12588. },
  12589. {
  12590. "type": "string",
  12591. "description": "交收月(yyyy-mm) 仓单预售填写",
  12592. "name": "deliverymonth",
  12593. "in": "query"
  12594. }
  12595. ],
  12596. "responses": {
  12597. "200": {
  12598. "description": "OK",
  12599. "schema": {
  12600. "type": "array",
  12601. "items": {
  12602. "$ref": "#/definitions/models.WrOrderQuote"
  12603. }
  12604. }
  12605. },
  12606. "500": {
  12607. "description": "Internal Server Error",
  12608. "schema": {
  12609. "$ref": "#/definitions/app.Response"
  12610. }
  12611. }
  12612. }
  12613. }
  12614. },
  12615. "/WrTrade2/QueryOrderQuoteDetail": {
  12616. "get": {
  12617. "security": [
  12618. {
  12619. "ApiKeyAuth": []
  12620. }
  12621. ],
  12622. "produces": [
  12623. "application/json"
  12624. ],
  12625. "tags": [
  12626. "仓单贸易v2"
  12627. ],
  12628. "summary": "查询买卖大厅",
  12629. "parameters": [
  12630. {
  12631. "type": "integer",
  12632. "description": "页码",
  12633. "name": "page",
  12634. "in": "query"
  12635. },
  12636. {
  12637. "type": "integer",
  12638. "description": "每页条数",
  12639. "name": "pagesize",
  12640. "in": "query"
  12641. },
  12642. {
  12643. "type": "integer",
  12644. "description": "仓单贸易市场id",
  12645. "name": "marketid",
  12646. "in": "query"
  12647. },
  12648. {
  12649. "type": "integer",
  12650. "description": "价格方式 - 1:固定价 2-浮动价",
  12651. "name": "wrpricetype",
  12652. "in": "query",
  12653. "required": true
  12654. },
  12655. {
  12656. "type": "integer",
  12657. "description": "0:仓单预售 1:仓单贸易",
  12658. "name": "haswr",
  12659. "in": "query"
  12660. },
  12661. {
  12662. "type": "integer",
  12663. "description": "仓单要素id",
  12664. "name": "wrfactortypeid",
  12665. "in": "query",
  12666. "required": true
  12667. },
  12668. {
  12669. "type": "integer",
  12670. "description": "期货商品id(浮动价方式时填)",
  12671. "name": "goodsid",
  12672. "in": "query"
  12673. },
  12674. {
  12675. "type": "integer",
  12676. "description": "买卖方向 0-买 1-卖",
  12677. "name": "buyorsell",
  12678. "in": "query",
  12679. "required": true
  12680. },
  12681. {
  12682. "type": "string",
  12683. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  12684. "name": "deliverymonth",
  12685. "in": "query"
  12686. }
  12687. ],
  12688. "responses": {
  12689. "200": {
  12690. "description": "OK",
  12691. "schema": {
  12692. "type": "array",
  12693. "items": {
  12694. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  12695. }
  12696. }
  12697. },
  12698. "500": {
  12699. "description": "Internal Server Error",
  12700. "schema": {
  12701. "$ref": "#/definitions/app.Response"
  12702. }
  12703. }
  12704. }
  12705. }
  12706. },
  12707. "/WrTrade2/QueryOrderQuoteMyq": {
  12708. "get": {
  12709. "security": [
  12710. {
  12711. "ApiKeyAuth": []
  12712. }
  12713. ],
  12714. "produces": [
  12715. "application/json"
  12716. ],
  12717. "tags": [
  12718. "仓单贸易v2"
  12719. ],
  12720. "summary": "查询贸易圈挂牌大厅",
  12721. "parameters": [
  12722. {
  12723. "type": "integer",
  12724. "description": "页码",
  12725. "name": "page",
  12726. "in": "query"
  12727. },
  12728. {
  12729. "type": "integer",
  12730. "description": "每页条数",
  12731. "name": "pagesize",
  12732. "in": "query"
  12733. },
  12734. {
  12735. "type": "integer",
  12736. "description": "用户id",
  12737. "name": "userid",
  12738. "in": "query",
  12739. "required": true
  12740. },
  12741. {
  12742. "type": "integer",
  12743. "description": "仓单贸易市场id",
  12744. "name": "marketid",
  12745. "in": "query"
  12746. },
  12747. {
  12748. "type": "integer",
  12749. "description": "0:仓单预售 1:仓单贸易",
  12750. "name": "haswr",
  12751. "in": "query"
  12752. },
  12753. {
  12754. "type": "integer",
  12755. "description": "买卖方向 0-买 1-卖",
  12756. "name": "buyorsell",
  12757. "in": "query",
  12758. "required": true
  12759. },
  12760. {
  12761. "type": "integer",
  12762. "description": "品种id",
  12763. "name": "deliverygoodsid",
  12764. "in": "query"
  12765. },
  12766. {
  12767. "type": "integer",
  12768. "description": "品类id",
  12769. "name": "wrstandardid",
  12770. "in": "query"
  12771. },
  12772. {
  12773. "type": "string",
  12774. "description": "交收月(yyyy-mm) 仓单预售填写",
  12775. "name": "deliverymonth",
  12776. "in": "query"
  12777. },
  12778. {
  12779. "type": "string",
  12780. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  12781. "name": "dgitemname",
  12782. "in": "query"
  12783. }
  12784. ],
  12785. "responses": {
  12786. "200": {
  12787. "description": "OK",
  12788. "schema": {
  12789. "type": "array",
  12790. "items": {
  12791. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  12792. }
  12793. }
  12794. },
  12795. "500": {
  12796. "description": "Internal Server Error",
  12797. "schema": {
  12798. "$ref": "#/definitions/app.Response"
  12799. }
  12800. }
  12801. }
  12802. }
  12803. },
  12804. "/WrTrade2/QueryPerformancePlan": {
  12805. "get": {
  12806. "security": [
  12807. {
  12808. "ApiKeyAuth": []
  12809. }
  12810. ],
  12811. "produces": [
  12812. "application/json"
  12813. ],
  12814. "tags": [
  12815. "仓单贸易v2"
  12816. ],
  12817. "summary": "查询履约信息",
  12818. "parameters": [
  12819. {
  12820. "type": "integer",
  12821. "description": "用户id",
  12822. "name": "userid",
  12823. "in": "query",
  12824. "required": true
  12825. },
  12826. {
  12827. "type": "integer",
  12828. "description": "买卖方向 0-买 1-卖",
  12829. "name": "buyorsell",
  12830. "in": "query",
  12831. "required": true
  12832. },
  12833. {
  12834. "type": "string",
  12835. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  12836. "name": "status",
  12837. "in": "query"
  12838. },
  12839. {
  12840. "type": "string",
  12841. "description": "开始交易日(yyyymmdd)",
  12842. "name": "begindate",
  12843. "in": "query"
  12844. },
  12845. {
  12846. "type": "string",
  12847. "description": "结束交易日(yyyymmdd)",
  12848. "name": "enddate",
  12849. "in": "query"
  12850. }
  12851. ],
  12852. "responses": {
  12853. "200": {
  12854. "description": "OK",
  12855. "schema": {
  12856. "type": "array",
  12857. "items": {
  12858. "$ref": "#/definitions/models.WrPerformancePlan"
  12859. }
  12860. }
  12861. },
  12862. "500": {
  12863. "description": "Internal Server Error",
  12864. "schema": {
  12865. "$ref": "#/definitions/app.Response"
  12866. }
  12867. }
  12868. }
  12869. }
  12870. },
  12871. "/WrTrade2/QueryPermancePlanTmp": {
  12872. "get": {
  12873. "security": [
  12874. {
  12875. "ApiKeyAuth": []
  12876. }
  12877. ],
  12878. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  12879. "produces": [
  12880. "application/json"
  12881. ],
  12882. "tags": [
  12883. "仓单贸易v2"
  12884. ],
  12885. "summary": "查询履约模板",
  12886. "parameters": [
  12887. {
  12888. "type": "integer",
  12889. "description": "用户id",
  12890. "name": "userid",
  12891. "in": "query"
  12892. },
  12893. {
  12894. "type": "string",
  12895. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  12896. "name": "tmptype",
  12897. "in": "query"
  12898. },
  12899. {
  12900. "type": "integer",
  12901. "description": "是否包含公共模板(用户id为空的) 1-包含",
  12902. "name": "includepub",
  12903. "in": "query"
  12904. },
  12905. {
  12906. "type": "integer",
  12907. "description": "市场id(天津麦顿指定此参数,其它不用)",
  12908. "name": "marketid",
  12909. "in": "query"
  12910. }
  12911. ],
  12912. "responses": {
  12913. "200": {
  12914. "description": "OK",
  12915. "schema": {
  12916. "type": "array",
  12917. "items": {
  12918. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  12919. }
  12920. }
  12921. },
  12922. "500": {
  12923. "description": "Internal Server Error",
  12924. "schema": {
  12925. "$ref": "#/definitions/app.Response"
  12926. }
  12927. }
  12928. }
  12929. }
  12930. },
  12931. "/WrTrade2/QuerySiteColumnDetail": {
  12932. "get": {
  12933. "security": [
  12934. {
  12935. "ApiKeyAuth": []
  12936. }
  12937. ],
  12938. "produces": [
  12939. "application/json"
  12940. ],
  12941. "tags": [
  12942. "仓单贸易v2"
  12943. ],
  12944. "summary": "查询资讯",
  12945. "parameters": [
  12946. {
  12947. "type": "integer",
  12948. "description": "页码",
  12949. "name": "page",
  12950. "in": "query"
  12951. },
  12952. {
  12953. "type": "integer",
  12954. "description": "每页条数",
  12955. "name": "pagesize",
  12956. "in": "query"
  12957. },
  12958. {
  12959. "type": "integer",
  12960. "description": "所属栏目id",
  12961. "name": "columnid",
  12962. "in": "query"
  12963. }
  12964. ],
  12965. "responses": {
  12966. "200": {
  12967. "description": "OK",
  12968. "schema": {
  12969. "type": "array",
  12970. "items": {
  12971. "$ref": "#/definitions/models.WrSiteColumnDetail"
  12972. }
  12973. }
  12974. },
  12975. "500": {
  12976. "description": "Internal Server Error",
  12977. "schema": {
  12978. "$ref": "#/definitions/app.Response"
  12979. }
  12980. }
  12981. }
  12982. }
  12983. },
  12984. "/WrTrade2/QuerySpotGroupTradeSum": {
  12985. "get": {
  12986. "security": [
  12987. {
  12988. "ApiKeyAuth": []
  12989. }
  12990. ],
  12991. "produces": [
  12992. "application/json"
  12993. ],
  12994. "tags": [
  12995. "仓单贸易v2"
  12996. ],
  12997. "summary": "查询指数",
  12998. "responses": {
  12999. "200": {
  13000. "description": "OK",
  13001. "schema": {
  13002. "type": "array",
  13003. "items": {
  13004. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  13005. }
  13006. }
  13007. },
  13008. "500": {
  13009. "description": "Internal Server Error",
  13010. "schema": {
  13011. "$ref": "#/definitions/app.Response"
  13012. }
  13013. }
  13014. }
  13015. }
  13016. },
  13017. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  13018. "get": {
  13019. "security": [
  13020. {
  13021. "ApiKeyAuth": []
  13022. }
  13023. ],
  13024. "description": "查询的结果将会按日期 从小到大 排序",
  13025. "produces": [
  13026. "application/json"
  13027. ],
  13028. "tags": [
  13029. "仓单贸易v2"
  13030. ],
  13031. "summary": "查询指数详细(价格走势图)",
  13032. "parameters": [
  13033. {
  13034. "type": "integer",
  13035. "description": "现货商品id",
  13036. "name": "deliverygoodsid",
  13037. "in": "query",
  13038. "required": true
  13039. },
  13040. {
  13041. "type": "integer",
  13042. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  13043. "name": "lastnum",
  13044. "in": "query"
  13045. }
  13046. ],
  13047. "responses": {
  13048. "200": {
  13049. "description": "OK",
  13050. "schema": {
  13051. "type": "array",
  13052. "items": {
  13053. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  13054. }
  13055. }
  13056. },
  13057. "500": {
  13058. "description": "Internal Server Error",
  13059. "schema": {
  13060. "$ref": "#/definitions/app.Response"
  13061. }
  13062. }
  13063. }
  13064. }
  13065. },
  13066. "/WrTrade2/QueryWrAverageTradePrice": {
  13067. "get": {
  13068. "security": [
  13069. {
  13070. "ApiKeyAuth": []
  13071. }
  13072. ],
  13073. "produces": [
  13074. "application/json"
  13075. ],
  13076. "tags": [
  13077. "仓单贸易v2"
  13078. ],
  13079. "summary": "查询成交价(历史走势)",
  13080. "parameters": [
  13081. {
  13082. "type": "integer",
  13083. "description": "页码",
  13084. "name": "page",
  13085. "in": "query"
  13086. },
  13087. {
  13088. "type": "integer",
  13089. "description": "每页条数",
  13090. "name": "pagesize",
  13091. "in": "query"
  13092. },
  13093. {
  13094. "type": "integer",
  13095. "description": "0:仓单预售 1:仓单贸易",
  13096. "name": "haswr",
  13097. "in": "query",
  13098. "required": true
  13099. },
  13100. {
  13101. "type": "integer",
  13102. "description": "仓单要素id",
  13103. "name": "wrfactortypeid",
  13104. "in": "query",
  13105. "required": true
  13106. }
  13107. ],
  13108. "responses": {
  13109. "200": {
  13110. "description": "OK",
  13111. "schema": {
  13112. "type": "array",
  13113. "items": {
  13114. "$ref": "#/definitions/models.WrAverageTradePrice"
  13115. }
  13116. }
  13117. },
  13118. "500": {
  13119. "description": "Internal Server Error",
  13120. "schema": {
  13121. "$ref": "#/definitions/app.Response"
  13122. }
  13123. }
  13124. }
  13125. }
  13126. },
  13127. "/WrTrade2/QueryWrBrandAndYears": {
  13128. "get": {
  13129. "security": [
  13130. {
  13131. "ApiKeyAuth": []
  13132. }
  13133. ],
  13134. "produces": [
  13135. "application/json"
  13136. ],
  13137. "tags": [
  13138. "仓单贸易v2"
  13139. ],
  13140. "summary": "查询品牌和年份",
  13141. "responses": {
  13142. "200": {
  13143. "description": "OK",
  13144. "schema": {
  13145. "type": "array",
  13146. "items": {
  13147. "$ref": "#/definitions/models.WrBrandAndYears"
  13148. }
  13149. }
  13150. },
  13151. "500": {
  13152. "description": "Internal Server Error",
  13153. "schema": {
  13154. "$ref": "#/definitions/app.Response"
  13155. }
  13156. }
  13157. }
  13158. }
  13159. },
  13160. "/WrTrade2/QueryWrBsGoodsInfo": {
  13161. "get": {
  13162. "security": [
  13163. {
  13164. "ApiKeyAuth": []
  13165. }
  13166. ],
  13167. "description": "合约交易/买卖大厅/详情",
  13168. "produces": [
  13169. "application/json"
  13170. ],
  13171. "tags": [
  13172. "仓单贸易v2"
  13173. ],
  13174. "summary": "查询合约交易买卖大厅详情",
  13175. "parameters": [
  13176. {
  13177. "type": "integer",
  13178. "description": "商品id",
  13179. "name": "goodsid",
  13180. "in": "query",
  13181. "required": true
  13182. }
  13183. ],
  13184. "responses": {
  13185. "200": {
  13186. "description": "OK",
  13187. "schema": {
  13188. "type": "array",
  13189. "items": {
  13190. "$ref": "#/definitions/models.WrBsGoodsInfo"
  13191. }
  13192. }
  13193. },
  13194. "500": {
  13195. "description": "Internal Server Error",
  13196. "schema": {
  13197. "$ref": "#/definitions/app.Response"
  13198. }
  13199. }
  13200. }
  13201. }
  13202. },
  13203. "/WrTrade2/QueryWrBuybackDetail": {
  13204. "get": {
  13205. "security": [
  13206. {
  13207. "ApiKeyAuth": []
  13208. }
  13209. ],
  13210. "produces": [
  13211. "application/json"
  13212. ],
  13213. "tags": [
  13214. "仓单贸易v2"
  13215. ],
  13216. "summary": "查询仓单回购明细",
  13217. "parameters": [
  13218. {
  13219. "type": "integer",
  13220. "description": "融资合同id",
  13221. "name": "scfcontractid",
  13222. "in": "query"
  13223. }
  13224. ],
  13225. "responses": {
  13226. "200": {
  13227. "description": "OK",
  13228. "schema": {
  13229. "type": "array",
  13230. "items": {
  13231. "$ref": "#/definitions/models.WrBuybackDetail"
  13232. }
  13233. }
  13234. },
  13235. "500": {
  13236. "description": "Internal Server Error",
  13237. "schema": {
  13238. "$ref": "#/definitions/app.Response"
  13239. }
  13240. }
  13241. }
  13242. }
  13243. },
  13244. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  13245. "get": {
  13246. "security": [
  13247. {
  13248. "ApiKeyAuth": []
  13249. }
  13250. ],
  13251. "produces": [
  13252. "application/json"
  13253. ],
  13254. "tags": [
  13255. "仓单贸易v2"
  13256. ],
  13257. "summary": "查询固定广告配置",
  13258. "responses": {
  13259. "200": {
  13260. "description": "OK",
  13261. "schema": {
  13262. "type": "array",
  13263. "items": {
  13264. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  13265. }
  13266. }
  13267. },
  13268. "500": {
  13269. "description": "Internal Server Error",
  13270. "schema": {
  13271. "$ref": "#/definitions/app.Response"
  13272. }
  13273. }
  13274. }
  13275. }
  13276. },
  13277. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  13278. "get": {
  13279. "security": [
  13280. {
  13281. "ApiKeyAuth": []
  13282. }
  13283. ],
  13284. "produces": [
  13285. "application/json"
  13286. ],
  13287. "tags": [
  13288. "仓单贸易v2"
  13289. ],
  13290. "summary": "查询合约交收可点选仓单",
  13291. "parameters": [
  13292. {
  13293. "type": "integer",
  13294. "description": "资金账号",
  13295. "name": "accountid",
  13296. "in": "query",
  13297. "required": true
  13298. },
  13299. {
  13300. "type": "integer",
  13301. "description": "商品id",
  13302. "name": "goodsid",
  13303. "in": "query",
  13304. "required": true
  13305. }
  13306. ],
  13307. "responses": {
  13308. "200": {
  13309. "description": "OK",
  13310. "schema": {
  13311. "type": "array",
  13312. "items": {
  13313. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  13314. }
  13315. }
  13316. },
  13317. "500": {
  13318. "description": "Internal Server Error",
  13319. "schema": {
  13320. "$ref": "#/definitions/app.Response"
  13321. }
  13322. }
  13323. }
  13324. }
  13325. },
  13326. "/WrTrade2/QueryWrDeliveryDetail": {
  13327. "get": {
  13328. "security": [
  13329. {
  13330. "ApiKeyAuth": []
  13331. }
  13332. ],
  13333. "produces": [
  13334. "application/json"
  13335. ],
  13336. "tags": [
  13337. "仓单贸易v2"
  13338. ],
  13339. "summary": "查询交收",
  13340. "parameters": [
  13341. {
  13342. "type": "integer",
  13343. "description": "用户id",
  13344. "name": "userid",
  13345. "in": "query",
  13346. "required": true
  13347. },
  13348. {
  13349. "type": "integer",
  13350. "description": "资金账号id",
  13351. "name": "accountid",
  13352. "in": "query"
  13353. },
  13354. {
  13355. "type": "string",
  13356. "description": "开始交易日(yyyymmdd)",
  13357. "name": "begindate",
  13358. "in": "query"
  13359. },
  13360. {
  13361. "type": "string",
  13362. "description": "结束交易日(yyyymmdd)",
  13363. "name": "enddate",
  13364. "in": "query"
  13365. }
  13366. ],
  13367. "responses": {
  13368. "200": {
  13369. "description": "OK",
  13370. "schema": {
  13371. "type": "array",
  13372. "items": {
  13373. "$ref": "#/definitions/models.WrDeliveryDetail"
  13374. }
  13375. }
  13376. },
  13377. "500": {
  13378. "description": "Internal Server Error",
  13379. "schema": {
  13380. "$ref": "#/definitions/app.Response"
  13381. }
  13382. }
  13383. }
  13384. }
  13385. },
  13386. "/WrTrade2/QueryWrDraftUserInfo": {
  13387. "get": {
  13388. "security": [
  13389. {
  13390. "ApiKeyAuth": []
  13391. }
  13392. ],
  13393. "produces": [
  13394. "application/json"
  13395. ],
  13396. "tags": [
  13397. "仓单贸易v2"
  13398. ],
  13399. "summary": "查询实名认证信息",
  13400. "parameters": [
  13401. {
  13402. "type": "integer",
  13403. "description": "用户ID",
  13404. "name": "userid",
  13405. "in": "query",
  13406. "required": true
  13407. },
  13408. {
  13409. "type": "integer",
  13410. "description": "用户状态 1:正常 2:注销",
  13411. "name": "userstatus",
  13412. "in": "query"
  13413. }
  13414. ],
  13415. "responses": {
  13416. "200": {
  13417. "description": "OK",
  13418. "schema": {
  13419. "type": "array",
  13420. "items": {
  13421. "$ref": "#/definitions/models.WrDraftUserInfo"
  13422. }
  13423. }
  13424. },
  13425. "500": {
  13426. "description": "Internal Server Error",
  13427. "schema": {
  13428. "$ref": "#/definitions/app.Response"
  13429. }
  13430. }
  13431. }
  13432. }
  13433. },
  13434. "/WrTrade2/QueryWrFactorTypeInfo": {
  13435. "get": {
  13436. "security": [
  13437. {
  13438. "ApiKeyAuth": []
  13439. }
  13440. ],
  13441. "produces": [
  13442. "application/json"
  13443. ],
  13444. "tags": [
  13445. "仓单贸易v2"
  13446. ],
  13447. "summary": "查询仓单要素详细信息",
  13448. "parameters": [
  13449. {
  13450. "type": "integer",
  13451. "description": "仓单要素id",
  13452. "name": "wrfactortypeid",
  13453. "in": "query",
  13454. "required": true
  13455. }
  13456. ],
  13457. "responses": {
  13458. "200": {
  13459. "description": "OK",
  13460. "schema": {
  13461. "type": "array",
  13462. "items": {
  13463. "$ref": "#/definitions/models.WrFactorTypeInfo"
  13464. }
  13465. }
  13466. },
  13467. "500": {
  13468. "description": "Internal Server Error",
  13469. "schema": {
  13470. "$ref": "#/definitions/app.Response"
  13471. }
  13472. }
  13473. }
  13474. }
  13475. },
  13476. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  13477. "get": {
  13478. "security": [
  13479. {
  13480. "ApiKeyAuth": []
  13481. }
  13482. ],
  13483. "produces": [
  13484. "application/json"
  13485. ],
  13486. "tags": [
  13487. "仓单贸易v2"
  13488. ],
  13489. "summary": "查询仓单要素详细信息列表项",
  13490. "parameters": [
  13491. {
  13492. "type": "integer",
  13493. "description": "仓单要素id",
  13494. "name": "wrfactortypeid",
  13495. "in": "query",
  13496. "required": true
  13497. }
  13498. ],
  13499. "responses": {
  13500. "200": {
  13501. "description": "OK",
  13502. "schema": {
  13503. "type": "array",
  13504. "items": {
  13505. "$ref": "#/definitions/models.WrTypeItem"
  13506. }
  13507. }
  13508. },
  13509. "500": {
  13510. "description": "Internal Server Error",
  13511. "schema": {
  13512. "$ref": "#/definitions/app.Response"
  13513. }
  13514. }
  13515. }
  13516. }
  13517. },
  13518. "/WrTrade2/QueryWrFinanceBuyApply": {
  13519. "get": {
  13520. "security": [
  13521. {
  13522. "ApiKeyAuth": []
  13523. }
  13524. ],
  13525. "description": "页面 融资信息+ / 申请单",
  13526. "produces": [
  13527. "application/json"
  13528. ],
  13529. "tags": [
  13530. "仓单贸易v2"
  13531. ],
  13532. "summary": "查询融资购买申请",
  13533. "parameters": [
  13534. {
  13535. "type": "integer",
  13536. "description": "用户id",
  13537. "name": "userid",
  13538. "in": "query",
  13539. "required": true
  13540. }
  13541. ],
  13542. "responses": {
  13543. "200": {
  13544. "description": "OK",
  13545. "schema": {
  13546. "type": "array",
  13547. "items": {
  13548. "$ref": "#/definitions/models.WrFinanceBuyApply"
  13549. }
  13550. }
  13551. },
  13552. "500": {
  13553. "description": "Internal Server Error",
  13554. "schema": {
  13555. "$ref": "#/definitions/app.Response"
  13556. }
  13557. }
  13558. }
  13559. }
  13560. },
  13561. "/WrTrade2/QueryWrFriendApply": {
  13562. "get": {
  13563. "security": [
  13564. {
  13565. "ApiKeyAuth": []
  13566. }
  13567. ],
  13568. "produces": [
  13569. "application/json"
  13570. ],
  13571. "tags": [
  13572. "仓单贸易v2"
  13573. ],
  13574. "summary": "查询好友申请记录",
  13575. "parameters": [
  13576. {
  13577. "type": "integer",
  13578. "description": "用户id",
  13579. "name": "userid",
  13580. "in": "query",
  13581. "required": true
  13582. }
  13583. ],
  13584. "responses": {
  13585. "200": {
  13586. "description": "OK",
  13587. "schema": {
  13588. "type": "array",
  13589. "items": {
  13590. "$ref": "#/definitions/models.WrFriendApply"
  13591. }
  13592. }
  13593. },
  13594. "500": {
  13595. "description": "Internal Server Error",
  13596. "schema": {
  13597. "$ref": "#/definitions/app.Response"
  13598. }
  13599. }
  13600. }
  13601. }
  13602. },
  13603. "/WrTrade2/QueryWrGoodsInfo": {
  13604. "get": {
  13605. "security": [
  13606. {
  13607. "ApiKeyAuth": []
  13608. }
  13609. ],
  13610. "produces": [
  13611. "application/json"
  13612. ],
  13613. "tags": [
  13614. "仓单贸易v2"
  13615. ],
  13616. "summary": "查询仓单商品信息",
  13617. "parameters": [
  13618. {
  13619. "type": "integer",
  13620. "description": "仓单贸易市场id",
  13621. "name": "marketid",
  13622. "in": "query"
  13623. },
  13624. {
  13625. "type": "integer",
  13626. "description": "0:仓单预售 1:仓单贸易",
  13627. "name": "haswr",
  13628. "in": "query",
  13629. "required": true
  13630. },
  13631. {
  13632. "type": "integer",
  13633. "description": "仓单要素id",
  13634. "name": "wrfactortypeid",
  13635. "in": "query",
  13636. "required": true
  13637. },
  13638. {
  13639. "type": "integer",
  13640. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  13641. "name": "tmplateid",
  13642. "in": "query"
  13643. }
  13644. ],
  13645. "responses": {
  13646. "200": {
  13647. "description": "OK",
  13648. "schema": {
  13649. "type": "array",
  13650. "items": {
  13651. "$ref": "#/definitions/models.WrGoodsInfo"
  13652. }
  13653. }
  13654. },
  13655. "500": {
  13656. "description": "Internal Server Error",
  13657. "schema": {
  13658. "$ref": "#/definitions/app.Response"
  13659. }
  13660. }
  13661. }
  13662. }
  13663. },
  13664. "/WrTrade2/QueryWrMarketTradeConfig": {
  13665. "get": {
  13666. "security": [
  13667. {
  13668. "ApiKeyAuth": []
  13669. }
  13670. ],
  13671. "produces": [
  13672. "application/json"
  13673. ],
  13674. "tags": [
  13675. "仓单贸易v2"
  13676. ],
  13677. "summary": "查询市场交易参数配置",
  13678. "parameters": [
  13679. {
  13680. "type": "integer",
  13681. "description": "市场id",
  13682. "name": "marketid",
  13683. "in": "query"
  13684. }
  13685. ],
  13686. "responses": {
  13687. "200": {
  13688. "description": "OK",
  13689. "schema": {
  13690. "type": "array",
  13691. "items": {
  13692. "$ref": "#/definitions/models.WrMarketTradeConfig"
  13693. }
  13694. }
  13695. },
  13696. "500": {
  13697. "description": "Internal Server Error",
  13698. "schema": {
  13699. "$ref": "#/definitions/app.Response"
  13700. }
  13701. }
  13702. }
  13703. }
  13704. },
  13705. "/WrTrade2/QueryWrOrderDetail": {
  13706. "get": {
  13707. "security": [
  13708. {
  13709. "ApiKeyAuth": []
  13710. }
  13711. ],
  13712. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  13713. "produces": [
  13714. "application/json"
  13715. ],
  13716. "tags": [
  13717. "仓单贸易v2"
  13718. ],
  13719. "summary": "查询仓单委托单",
  13720. "parameters": [
  13721. {
  13722. "type": "integer",
  13723. "description": "页码",
  13724. "name": "page",
  13725. "in": "query"
  13726. },
  13727. {
  13728. "type": "integer",
  13729. "description": "每页条数",
  13730. "name": "pagesize",
  13731. "in": "query"
  13732. },
  13733. {
  13734. "type": "integer",
  13735. "description": "用户id",
  13736. "name": "userid",
  13737. "in": "query",
  13738. "required": true
  13739. },
  13740. {
  13741. "type": "integer",
  13742. "description": "仓单贸易市场id",
  13743. "name": "marketid",
  13744. "in": "query"
  13745. },
  13746. {
  13747. "type": "integer",
  13748. "description": "0:仓单预售 1:仓单贸易",
  13749. "name": "haswr",
  13750. "in": "query",
  13751. "required": true
  13752. },
  13753. {
  13754. "type": "integer",
  13755. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  13756. "name": "bcancel",
  13757. "in": "query"
  13758. },
  13759. {
  13760. "type": "integer",
  13761. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  13762. "name": "wrtradetype",
  13763. "in": "query"
  13764. },
  13765. {
  13766. "type": "string",
  13767. "description": "开始交易日(yyyymmdd)",
  13768. "name": "begindate",
  13769. "in": "query"
  13770. },
  13771. {
  13772. "type": "string",
  13773. "description": "结束交易日(yyyymmdd)",
  13774. "name": "enddate",
  13775. "in": "query"
  13776. }
  13777. ],
  13778. "responses": {
  13779. "200": {
  13780. "description": "OK",
  13781. "schema": {
  13782. "type": "array",
  13783. "items": {
  13784. "$ref": "#/definitions/models.WrOrderDetail"
  13785. }
  13786. }
  13787. },
  13788. "500": {
  13789. "description": "Internal Server Error",
  13790. "schema": {
  13791. "$ref": "#/definitions/app.Response"
  13792. }
  13793. }
  13794. }
  13795. }
  13796. },
  13797. "/WrTrade2/QueryWrOutInApply": {
  13798. "get": {
  13799. "security": [
  13800. {
  13801. "ApiKeyAuth": []
  13802. }
  13803. ],
  13804. "produces": [
  13805. "application/json"
  13806. ],
  13807. "tags": [
  13808. "仓单贸易v2"
  13809. ],
  13810. "summary": "查询提货申请",
  13811. "parameters": [
  13812. {
  13813. "type": "integer",
  13814. "description": "用户id",
  13815. "name": "userid",
  13816. "in": "query",
  13817. "required": true
  13818. },
  13819. {
  13820. "type": "string",
  13821. "description": "开始交易日(yyyymmdd)",
  13822. "name": "begindate",
  13823. "in": "query"
  13824. },
  13825. {
  13826. "type": "string",
  13827. "description": "结束交易日(yyyymmdd)",
  13828. "name": "enddate",
  13829. "in": "query"
  13830. }
  13831. ],
  13832. "responses": {
  13833. "200": {
  13834. "description": "OK",
  13835. "schema": {
  13836. "type": "array",
  13837. "items": {
  13838. "$ref": "#/definitions/models.WrOutInApply"
  13839. }
  13840. }
  13841. },
  13842. "500": {
  13843. "description": "Internal Server Error",
  13844. "schema": {
  13845. "$ref": "#/definitions/app.Response"
  13846. }
  13847. }
  13848. }
  13849. }
  13850. },
  13851. "/WrTrade2/QueryWrPerformancePlanStep": {
  13852. "get": {
  13853. "security": [
  13854. {
  13855. "ApiKeyAuth": []
  13856. }
  13857. ],
  13858. "produces": [
  13859. "application/json"
  13860. ],
  13861. "tags": [
  13862. "仓单贸易v2"
  13863. ],
  13864. "summary": "查询履约信息详情",
  13865. "parameters": [
  13866. {
  13867. "type": "integer",
  13868. "description": "履约计划id(performanceplanid)",
  13869. "name": "planid",
  13870. "in": "query",
  13871. "required": true
  13872. },
  13873. {
  13874. "type": "integer",
  13875. "description": "当前步骤id",
  13876. "name": "curstepid",
  13877. "in": "query"
  13878. }
  13879. ],
  13880. "responses": {
  13881. "200": {
  13882. "description": "OK",
  13883. "schema": {
  13884. "type": "array",
  13885. "items": {
  13886. "$ref": "#/definitions/models.WrPerformancePlanStep"
  13887. }
  13888. }
  13889. },
  13890. "500": {
  13891. "description": "Internal Server Error",
  13892. "schema": {
  13893. "$ref": "#/definitions/app.Response"
  13894. }
  13895. }
  13896. }
  13897. }
  13898. },
  13899. "/WrTrade2/QueryWrPerformanceStepType": {
  13900. "get": {
  13901. "security": [
  13902. {
  13903. "ApiKeyAuth": []
  13904. }
  13905. ],
  13906. "produces": [
  13907. "application/json"
  13908. ],
  13909. "tags": [
  13910. "仓单贸易v2"
  13911. ],
  13912. "summary": "查询履约步骤枚举",
  13913. "responses": {
  13914. "200": {
  13915. "description": "OK",
  13916. "schema": {
  13917. "type": "array",
  13918. "items": {
  13919. "$ref": "#/definitions/models.WrPerformanceStepType"
  13920. }
  13921. }
  13922. },
  13923. "500": {
  13924. "description": "Internal Server Error",
  13925. "schema": {
  13926. "$ref": "#/definitions/app.Response"
  13927. }
  13928. }
  13929. }
  13930. }
  13931. },
  13932. "/WrTrade2/QueryWrPosition": {
  13933. "get": {
  13934. "security": [
  13935. {
  13936. "ApiKeyAuth": []
  13937. }
  13938. ],
  13939. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  13940. "produces": [
  13941. "application/json"
  13942. ],
  13943. "tags": [
  13944. "仓单贸易v2"
  13945. ],
  13946. "summary": "查询现货(预售)仓单持仓",
  13947. "parameters": [
  13948. {
  13949. "type": "integer",
  13950. "description": "用户id",
  13951. "name": "userid",
  13952. "in": "query",
  13953. "required": true
  13954. },
  13955. {
  13956. "type": "integer",
  13957. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  13958. "name": "querytype",
  13959. "in": "query",
  13960. "required": true
  13961. },
  13962. {
  13963. "type": "integer",
  13964. "description": "0:仓单预售 1:仓单贸易",
  13965. "name": "haswr",
  13966. "in": "query",
  13967. "required": true
  13968. },
  13969. {
  13970. "type": "string",
  13971. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13972. "name": "dgitemname",
  13973. "in": "query"
  13974. },
  13975. {
  13976. "type": "integer",
  13977. "description": "仓库id(筛选条件)",
  13978. "name": "warehouseid",
  13979. "in": "query"
  13980. },
  13981. {
  13982. "type": "integer",
  13983. "description": "品种id",
  13984. "name": "deliverygoodsid",
  13985. "in": "query"
  13986. },
  13987. {
  13988. "type": "integer",
  13989. "description": "品类id",
  13990. "name": "wrstandardid",
  13991. "in": "query"
  13992. }
  13993. ],
  13994. "responses": {
  13995. "200": {
  13996. "description": "OK",
  13997. "schema": {
  13998. "type": "array",
  13999. "items": {
  14000. "$ref": "#/definitions/models.WrPosition"
  14001. }
  14002. }
  14003. },
  14004. "500": {
  14005. "description": "Internal Server Error",
  14006. "schema": {
  14007. "$ref": "#/definitions/app.Response"
  14008. }
  14009. }
  14010. }
  14011. }
  14012. },
  14013. "/WrTrade2/QueryWrPreSaleInfo": {
  14014. "get": {
  14015. "security": [
  14016. {
  14017. "ApiKeyAuth": []
  14018. }
  14019. ],
  14020. "produces": [
  14021. "application/json"
  14022. ],
  14023. "tags": [
  14024. "仓单贸易v2"
  14025. ],
  14026. "summary": "查询新品发布",
  14027. "parameters": [
  14028. {
  14029. "type": "integer",
  14030. "description": "市场id",
  14031. "name": "marketid",
  14032. "in": "query"
  14033. },
  14034. {
  14035. "type": "string",
  14036. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  14037. "name": "presalestatus",
  14038. "in": "query"
  14039. },
  14040. {
  14041. "type": "integer",
  14042. "description": "摇号标识 - 0:未摇号 1:已摇号",
  14043. "name": "lotteryflag",
  14044. "in": "query"
  14045. },
  14046. {
  14047. "type": "integer",
  14048. "description": "最近多少条记录(按创建时间倒序)",
  14049. "name": "lastnum",
  14050. "in": "query"
  14051. }
  14052. ],
  14053. "responses": {
  14054. "200": {
  14055. "description": "OK",
  14056. "schema": {
  14057. "type": "array",
  14058. "items": {
  14059. "$ref": "#/definitions/models.WrPreSaleInfo"
  14060. }
  14061. }
  14062. },
  14063. "500": {
  14064. "description": "Internal Server Error",
  14065. "schema": {
  14066. "$ref": "#/definitions/app.Response"
  14067. }
  14068. }
  14069. }
  14070. }
  14071. },
  14072. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  14073. "get": {
  14074. "security": [
  14075. {
  14076. "ApiKeyAuth": []
  14077. }
  14078. ],
  14079. "produces": [
  14080. "application/json"
  14081. ],
  14082. "tags": [
  14083. "仓单贸易v2"
  14084. ],
  14085. "summary": "查询价格走势",
  14086. "parameters": [
  14087. {
  14088. "type": "integer",
  14089. "description": "市场id",
  14090. "name": "marketid",
  14091. "in": "query",
  14092. "required": true
  14093. },
  14094. {
  14095. "type": "integer",
  14096. "description": "现货商品id",
  14097. "name": "wrstandardid",
  14098. "in": "query",
  14099. "required": true
  14100. },
  14101. {
  14102. "type": "string",
  14103. "description": "开始交易日(yyyymmdd)",
  14104. "name": "begindate",
  14105. "in": "query"
  14106. },
  14107. {
  14108. "type": "string",
  14109. "description": "结束交易日(yyyymmdd)",
  14110. "name": "enddate",
  14111. "in": "query"
  14112. },
  14113. {
  14114. "type": "integer",
  14115. "description": "最近多少条记录(按交易日倒序)",
  14116. "name": "lastnum",
  14117. "in": "query"
  14118. }
  14119. ],
  14120. "responses": {
  14121. "200": {
  14122. "description": "OK",
  14123. "schema": {
  14124. "type": "array",
  14125. "items": {
  14126. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  14127. }
  14128. }
  14129. },
  14130. "500": {
  14131. "description": "Internal Server Error",
  14132. "schema": {
  14133. "$ref": "#/definitions/app.Response"
  14134. }
  14135. }
  14136. }
  14137. }
  14138. },
  14139. "/WrTrade2/QueryWrScfContract": {
  14140. "get": {
  14141. "security": [
  14142. {
  14143. "ApiKeyAuth": []
  14144. }
  14145. ],
  14146. "produces": [
  14147. "application/json"
  14148. ],
  14149. "tags": [
  14150. "仓单贸易v2"
  14151. ],
  14152. "summary": "查询仓单贸易融资合同",
  14153. "parameters": [
  14154. {
  14155. "type": "integer",
  14156. "description": "用户id",
  14157. "name": "userid",
  14158. "in": "query",
  14159. "required": true
  14160. },
  14161. {
  14162. "type": "integer",
  14163. "description": "融资合同id",
  14164. "name": "scfcontractid",
  14165. "in": "query"
  14166. }
  14167. ],
  14168. "responses": {
  14169. "200": {
  14170. "description": "OK",
  14171. "schema": {
  14172. "type": "array",
  14173. "items": {
  14174. "$ref": "#/definitions/models.WrScfContract"
  14175. }
  14176. }
  14177. },
  14178. "500": {
  14179. "description": "Internal Server Error",
  14180. "schema": {
  14181. "$ref": "#/definitions/app.Response"
  14182. }
  14183. }
  14184. }
  14185. }
  14186. },
  14187. "/WrTrade2/QueryWrScfContractInterest": {
  14188. "get": {
  14189. "security": [
  14190. {
  14191. "ApiKeyAuth": []
  14192. }
  14193. ],
  14194. "produces": [
  14195. "application/json"
  14196. ],
  14197. "tags": [
  14198. "仓单贸易v2"
  14199. ],
  14200. "summary": "查询融资合同费用明细",
  14201. "parameters": [
  14202. {
  14203. "type": "integer",
  14204. "description": "融资合同id",
  14205. "name": "scfcontractid",
  14206. "in": "query"
  14207. }
  14208. ],
  14209. "responses": {
  14210. "200": {
  14211. "description": "OK",
  14212. "schema": {
  14213. "type": "array",
  14214. "items": {
  14215. "$ref": "#/definitions/models.WrScfContractInterest"
  14216. }
  14217. }
  14218. },
  14219. "500": {
  14220. "description": "Internal Server Error",
  14221. "schema": {
  14222. "$ref": "#/definitions/app.Response"
  14223. }
  14224. }
  14225. }
  14226. }
  14227. },
  14228. "/WrTrade2/QueryWrSearchUser": {
  14229. "get": {
  14230. "security": [
  14231. {
  14232. "ApiKeyAuth": []
  14233. }
  14234. ],
  14235. "produces": [
  14236. "application/json"
  14237. ],
  14238. "tags": [
  14239. "仓单贸易v2"
  14240. ],
  14241. "summary": "查询用户",
  14242. "parameters": [
  14243. {
  14244. "type": "string",
  14245. "description": "用户名称(模糊匹配)",
  14246. "name": "username",
  14247. "in": "query",
  14248. "required": true
  14249. }
  14250. ],
  14251. "responses": {
  14252. "200": {
  14253. "description": "OK",
  14254. "schema": {
  14255. "type": "array",
  14256. "items": {
  14257. "$ref": "#/definitions/models.WrSearchUser"
  14258. }
  14259. }
  14260. },
  14261. "500": {
  14262. "description": "Internal Server Error",
  14263. "schema": {
  14264. "$ref": "#/definitions/app.Response"
  14265. }
  14266. }
  14267. }
  14268. }
  14269. },
  14270. "/WrTrade2/QueryWrSpecialMatchOrder": {
  14271. "get": {
  14272. "security": [
  14273. {
  14274. "ApiKeyAuth": []
  14275. }
  14276. ],
  14277. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  14278. "produces": [
  14279. "application/json"
  14280. ],
  14281. "tags": [
  14282. "仓单贸易v2"
  14283. ],
  14284. "summary": "查询指定成交",
  14285. "parameters": [
  14286. {
  14287. "type": "integer",
  14288. "description": "页码",
  14289. "name": "page",
  14290. "in": "query"
  14291. },
  14292. {
  14293. "type": "integer",
  14294. "description": "每页条数",
  14295. "name": "pagesize",
  14296. "in": "query"
  14297. },
  14298. {
  14299. "type": "integer",
  14300. "description": "用户id",
  14301. "name": "userid",
  14302. "in": "query",
  14303. "required": true
  14304. },
  14305. {
  14306. "type": "integer",
  14307. "description": "仓单贸易市场id",
  14308. "name": "marketid",
  14309. "in": "query"
  14310. },
  14311. {
  14312. "type": "integer",
  14313. "description": "0:仓单预售 1:仓单贸易",
  14314. "name": "haswr",
  14315. "in": "query",
  14316. "required": true
  14317. },
  14318. {
  14319. "type": "integer",
  14320. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  14321. "name": "isspecified",
  14322. "in": "query"
  14323. }
  14324. ],
  14325. "responses": {
  14326. "200": {
  14327. "description": "OK",
  14328. "schema": {
  14329. "type": "array",
  14330. "items": {
  14331. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  14332. }
  14333. }
  14334. },
  14335. "500": {
  14336. "description": "Internal Server Error",
  14337. "schema": {
  14338. "$ref": "#/definitions/app.Response"
  14339. }
  14340. }
  14341. }
  14342. }
  14343. },
  14344. "/WrTrade2/QueryWrStandardFactoryItem": {
  14345. "get": {
  14346. "security": [
  14347. {
  14348. "ApiKeyAuth": []
  14349. }
  14350. ],
  14351. "produces": [
  14352. "application/json"
  14353. ],
  14354. "tags": [
  14355. "仓单贸易v2"
  14356. ],
  14357. "summary": "查询品类要素定义项",
  14358. "parameters": [
  14359. {
  14360. "type": "integer",
  14361. "description": "品类id",
  14362. "name": "wrstandardid",
  14363. "in": "query",
  14364. "required": true
  14365. }
  14366. ],
  14367. "responses": {
  14368. "200": {
  14369. "description": "OK",
  14370. "schema": {
  14371. "type": "array",
  14372. "items": {
  14373. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  14374. }
  14375. }
  14376. },
  14377. "500": {
  14378. "description": "Internal Server Error",
  14379. "schema": {
  14380. "$ref": "#/definitions/app.Response"
  14381. }
  14382. }
  14383. }
  14384. }
  14385. },
  14386. "/WrTrade2/QueryWrTradeBargainApply": {
  14387. "get": {
  14388. "security": [
  14389. {
  14390. "ApiKeyAuth": []
  14391. }
  14392. ],
  14393. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  14394. "produces": [
  14395. "application/json"
  14396. ],
  14397. "tags": [
  14398. "仓单贸易v2"
  14399. ],
  14400. "summary": "查询议价单",
  14401. "parameters": [
  14402. {
  14403. "type": "integer",
  14404. "description": "议价人id(摘牌方)",
  14405. "name": "userid",
  14406. "in": "query"
  14407. },
  14408. {
  14409. "type": "integer",
  14410. "description": "挂牌方id(查对方议价时,填写此项)",
  14411. "name": "matchuserid",
  14412. "in": "query"
  14413. },
  14414. {
  14415. "type": "integer",
  14416. "description": "关联委托单id",
  14417. "name": "wrtradeorderid",
  14418. "in": "query"
  14419. },
  14420. {
  14421. "type": "integer",
  14422. "description": "0:仓单预售 1:仓单贸易",
  14423. "name": "haswr",
  14424. "in": "query",
  14425. "required": true
  14426. },
  14427. {
  14428. "type": "string",
  14429. "description": "开始交易日(yyyymmdd)",
  14430. "name": "begindate",
  14431. "in": "query"
  14432. },
  14433. {
  14434. "type": "string",
  14435. "description": "结束交易日(yyyymmdd)",
  14436. "name": "enddate",
  14437. "in": "query"
  14438. }
  14439. ],
  14440. "responses": {
  14441. "200": {
  14442. "description": "OK",
  14443. "schema": {
  14444. "type": "array",
  14445. "items": {
  14446. "$ref": "#/definitions/models.WRTradeBargainApply"
  14447. }
  14448. }
  14449. },
  14450. "500": {
  14451. "description": "Internal Server Error",
  14452. "schema": {
  14453. "$ref": "#/definitions/app.Response"
  14454. }
  14455. }
  14456. }
  14457. }
  14458. },
  14459. "/WrTrade2/QueryWrTradeDetail": {
  14460. "get": {
  14461. "security": [
  14462. {
  14463. "ApiKeyAuth": []
  14464. }
  14465. ],
  14466. "produces": [
  14467. "application/json"
  14468. ],
  14469. "tags": [
  14470. "仓单贸易v2"
  14471. ],
  14472. "summary": "查询仓单成交明细",
  14473. "parameters": [
  14474. {
  14475. "type": "integer",
  14476. "description": "页码",
  14477. "name": "page",
  14478. "in": "query"
  14479. },
  14480. {
  14481. "type": "integer",
  14482. "description": "每页条数",
  14483. "name": "pagesize",
  14484. "in": "query"
  14485. },
  14486. {
  14487. "type": "integer",
  14488. "description": "用户id",
  14489. "name": "userid",
  14490. "in": "query",
  14491. "required": true
  14492. },
  14493. {
  14494. "type": "integer",
  14495. "description": "仓单贸易市场id",
  14496. "name": "marketid",
  14497. "in": "query"
  14498. },
  14499. {
  14500. "type": "integer",
  14501. "description": "0:仓单预售 1:仓单贸易",
  14502. "name": "haswr",
  14503. "in": "query",
  14504. "required": true
  14505. },
  14506. {
  14507. "type": "string",
  14508. "description": "开始交易日(yyyymmdd)",
  14509. "name": "begindate",
  14510. "in": "query"
  14511. },
  14512. {
  14513. "type": "string",
  14514. "description": "结束交易日(yyyymmdd)",
  14515. "name": "enddate",
  14516. "in": "query"
  14517. }
  14518. ],
  14519. "responses": {
  14520. "200": {
  14521. "description": "OK",
  14522. "schema": {
  14523. "type": "array",
  14524. "items": {
  14525. "$ref": "#/definitions/models.WrTradeDetail"
  14526. }
  14527. }
  14528. },
  14529. "500": {
  14530. "description": "Internal Server Error",
  14531. "schema": {
  14532. "$ref": "#/definitions/app.Response"
  14533. }
  14534. }
  14535. }
  14536. }
  14537. },
  14538. "/WrTrade2/QueryWrTradeOrderDetail": {
  14539. "get": {
  14540. "security": [
  14541. {
  14542. "ApiKeyAuth": []
  14543. }
  14544. ],
  14545. "produces": [
  14546. "application/json"
  14547. ],
  14548. "tags": [
  14549. "仓单贸易v2"
  14550. ],
  14551. "summary": "查询合约交易买卖大厅",
  14552. "parameters": [
  14553. {
  14554. "type": "integer",
  14555. "description": "页码",
  14556. "name": "page",
  14557. "in": "query"
  14558. },
  14559. {
  14560. "type": "integer",
  14561. "description": "每页条数",
  14562. "name": "pagesize",
  14563. "in": "query"
  14564. },
  14565. {
  14566. "type": "integer",
  14567. "description": "商品id",
  14568. "name": "goodsid",
  14569. "in": "query",
  14570. "required": true
  14571. },
  14572. {
  14573. "type": "integer",
  14574. "description": "买卖方向 0-买 1-卖",
  14575. "name": "buyorsell",
  14576. "in": "query",
  14577. "required": true
  14578. }
  14579. ],
  14580. "responses": {
  14581. "200": {
  14582. "description": "OK",
  14583. "schema": {
  14584. "type": "array",
  14585. "items": {
  14586. "$ref": "#/definitions/models.WrTradeOrderDetail"
  14587. }
  14588. }
  14589. },
  14590. "500": {
  14591. "description": "Internal Server Error",
  14592. "schema": {
  14593. "$ref": "#/definitions/app.Response"
  14594. }
  14595. }
  14596. }
  14597. }
  14598. },
  14599. "/WrTrade2/QueryWrUserFriend": {
  14600. "get": {
  14601. "security": [
  14602. {
  14603. "ApiKeyAuth": []
  14604. }
  14605. ],
  14606. "produces": [
  14607. "application/json"
  14608. ],
  14609. "tags": [
  14610. "仓单贸易v2"
  14611. ],
  14612. "summary": "查询我的朋友",
  14613. "parameters": [
  14614. {
  14615. "type": "integer",
  14616. "description": "用户id",
  14617. "name": "userid",
  14618. "in": "query",
  14619. "required": true
  14620. },
  14621. {
  14622. "type": "integer",
  14623. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  14624. "name": "newuserid",
  14625. "in": "query"
  14626. }
  14627. ],
  14628. "responses": {
  14629. "200": {
  14630. "description": "OK",
  14631. "schema": {
  14632. "type": "array",
  14633. "items": {
  14634. "$ref": "#/definitions/models.WrUserFriend"
  14635. }
  14636. }
  14637. },
  14638. "500": {
  14639. "description": "Internal Server Error",
  14640. "schema": {
  14641. "$ref": "#/definitions/app.Response"
  14642. }
  14643. }
  14644. }
  14645. }
  14646. },
  14647. "/WrTrade2/QueryWrUserReceiptInfo": {
  14648. "get": {
  14649. "security": [
  14650. {
  14651. "ApiKeyAuth": []
  14652. }
  14653. ],
  14654. "produces": [
  14655. "application/json"
  14656. ],
  14657. "tags": [
  14658. "仓单贸易v2"
  14659. ],
  14660. "summary": "查询发票信息",
  14661. "parameters": [
  14662. {
  14663. "type": "integer",
  14664. "description": "用户id",
  14665. "name": "userid",
  14666. "in": "query"
  14667. },
  14668. {
  14669. "type": "integer",
  14670. "description": "发票类型 - 1:个人 2:企业",
  14671. "name": "receipttype",
  14672. "in": "query"
  14673. }
  14674. ],
  14675. "responses": {
  14676. "200": {
  14677. "description": "OK",
  14678. "schema": {
  14679. "type": "array",
  14680. "items": {
  14681. "$ref": "#/definitions/models.WrUserReceiptInfo"
  14682. }
  14683. }
  14684. },
  14685. "500": {
  14686. "description": "Internal Server Error",
  14687. "schema": {
  14688. "$ref": "#/definitions/app.Response"
  14689. }
  14690. }
  14691. }
  14692. }
  14693. },
  14694. "/ZJ/GetBankTip": {
  14695. "get": {
  14696. "produces": [
  14697. "application/json"
  14698. ],
  14699. "tags": [
  14700. "中江"
  14701. ],
  14702. "summary": "获取中江网银端出入金提示信息",
  14703. "responses": {
  14704. "200": {
  14705. "description": "OK",
  14706. "schema": {
  14707. "type": "string"
  14708. }
  14709. },
  14710. "500": {
  14711. "description": "Internal Server Error",
  14712. "schema": {
  14713. "$ref": "#/definitions/app.Response"
  14714. }
  14715. }
  14716. }
  14717. }
  14718. },
  14719. "/ZJ/GetCusBankChannels": {
  14720. "get": {
  14721. "produces": [
  14722. "application/json"
  14723. ],
  14724. "tags": [
  14725. "中江"
  14726. ],
  14727. "summary": "获取中江出入金渠道显示列表",
  14728. "responses": {
  14729. "200": {
  14730. "description": "OK",
  14731. "schema": {
  14732. "type": "array",
  14733. "items": {
  14734. "type": "string"
  14735. }
  14736. }
  14737. },
  14738. "500": {
  14739. "description": "Internal Server Error",
  14740. "schema": {
  14741. "$ref": "#/definitions/app.Response"
  14742. }
  14743. }
  14744. }
  14745. }
  14746. }
  14747. },
  14748. "definitions": {
  14749. "app.Response": {
  14750. "type": "object",
  14751. "properties": {
  14752. "code": {
  14753. "type": "integer"
  14754. },
  14755. "data": {
  14756. "type": "object"
  14757. },
  14758. "msg": {
  14759. "type": "string"
  14760. },
  14761. "page": {
  14762. "description": "页码",
  14763. "type": "integer"
  14764. },
  14765. "pagesize": {
  14766. "description": "每页条数",
  14767. "type": "integer"
  14768. },
  14769. "total": {
  14770. "description": "总条数",
  14771. "type": "integer"
  14772. }
  14773. }
  14774. },
  14775. "common.ClientMenu": {
  14776. "type": "object",
  14777. "properties": {
  14778. "children": {
  14779. "description": "子菜单列表",
  14780. "type": "array",
  14781. "items": {
  14782. "$ref": "#/definitions/common.ClientMenu"
  14783. }
  14784. },
  14785. "code": {
  14786. "description": "ID",
  14787. "type": "string"
  14788. },
  14789. "isshow": {
  14790. "description": "是否显示",
  14791. "type": "boolean"
  14792. },
  14793. "remark": {
  14794. "description": "备注",
  14795. "type": "string"
  14796. },
  14797. "rulekey": {
  14798. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  14799. "type": "string"
  14800. },
  14801. "sort": {
  14802. "description": "排序",
  14803. "type": "integer"
  14804. },
  14805. "title": {
  14806. "description": "标题",
  14807. "type": "string"
  14808. },
  14809. "type": {
  14810. "description": "类型,1:菜单 2:按钮",
  14811. "type": "integer"
  14812. },
  14813. "url": {
  14814. "description": "URL",
  14815. "type": "string"
  14816. }
  14817. }
  14818. },
  14819. "common.PCWebMenu": {
  14820. "type": "object",
  14821. "properties": {
  14822. "auth": {
  14823. "description": "页面权限列表",
  14824. "type": "array",
  14825. "items": {
  14826. "$ref": "#/definitions/common.PCWebMenuAuth"
  14827. }
  14828. },
  14829. "children": {
  14830. "description": "子菜单列表",
  14831. "type": "array",
  14832. "items": {
  14833. "$ref": "#/definitions/common.PCWebMenu"
  14834. }
  14835. },
  14836. "code": {
  14837. "description": "ID,新版本中权限KEY也是这个字段",
  14838. "type": "string"
  14839. },
  14840. "component": {
  14841. "description": "路由组件",
  14842. "type": "string"
  14843. },
  14844. "isshow": {
  14845. "description": "是否显示",
  14846. "type": "boolean"
  14847. },
  14848. "path": {
  14849. "description": "路由路径",
  14850. "type": "string"
  14851. },
  14852. "remark": {
  14853. "description": "备注",
  14854. "type": "string"
  14855. },
  14856. "rulekey": {
  14857. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14858. "type": "string"
  14859. },
  14860. "sort": {
  14861. "description": "排序",
  14862. "type": "integer"
  14863. },
  14864. "title": {
  14865. "description": "标题",
  14866. "type": "string"
  14867. },
  14868. "url": {
  14869. "description": "URL",
  14870. "type": "string"
  14871. }
  14872. }
  14873. },
  14874. "common.PCWebMenuAuth": {
  14875. "type": "object",
  14876. "properties": {
  14877. "code": {
  14878. "description": "ID,新版本中权限KEY也是这个字段",
  14879. "type": "string"
  14880. },
  14881. "isshow": {
  14882. "description": "是否显示",
  14883. "type": "boolean"
  14884. },
  14885. "label": {
  14886. "description": "标题",
  14887. "type": "string"
  14888. },
  14889. "remark": {
  14890. "description": "备注",
  14891. "type": "string"
  14892. },
  14893. "rulekey": {
  14894. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  14895. "type": "string"
  14896. }
  14897. }
  14898. },
  14899. "common.QueryImageConfigsRsp": {
  14900. "type": "object",
  14901. "required": [
  14902. "configid"
  14903. ],
  14904. "properties": {
  14905. "areauserid": {
  14906. "description": "所属机构ID",
  14907. "type": "integer"
  14908. },
  14909. "configid": {
  14910. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14911. "type": "integer"
  14912. },
  14913. "createdate": {
  14914. "description": "创建时间",
  14915. "type": "string"
  14916. },
  14917. "creatorid": {
  14918. "description": "创建人",
  14919. "type": "integer"
  14920. },
  14921. "imagedetailpath": {
  14922. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  14923. "type": "string"
  14924. },
  14925. "imagepath": {
  14926. "description": "图片",
  14927. "type": "string"
  14928. },
  14929. "imagetype": {
  14930. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  14931. "type": "integer"
  14932. },
  14933. "isshow": {
  14934. "description": "是否展示 - 0:不展示 1:展示",
  14935. "type": "integer"
  14936. },
  14937. "marketid": {
  14938. "description": "市场ID",
  14939. "type": "integer"
  14940. },
  14941. "modifierid": {
  14942. "description": "操作人",
  14943. "type": "integer"
  14944. },
  14945. "sort": {
  14946. "description": "排序",
  14947. "type": "integer"
  14948. },
  14949. "title": {
  14950. "description": "标题",
  14951. "type": "string"
  14952. },
  14953. "trademode": {
  14954. "description": "交易模式",
  14955. "type": "integer"
  14956. },
  14957. "updatedate": {
  14958. "description": "修改时间",
  14959. "type": "string"
  14960. },
  14961. "url": {
  14962. "description": "链接(地址或商品ID)",
  14963. "type": "string"
  14964. },
  14965. "urltype": {
  14966. "description": "链接类型 - 1:直接地址 2:商品ID",
  14967. "type": "integer"
  14968. }
  14969. }
  14970. },
  14971. "common.QueryNoticeRsp": {
  14972. "type": "object",
  14973. "required": [
  14974. "autoid"
  14975. ],
  14976. "properties": {
  14977. "auditoruserid": {
  14978. "description": "审核人",
  14979. "type": "integer"
  14980. },
  14981. "auditremark": {
  14982. "description": "审核备注",
  14983. "type": "string"
  14984. },
  14985. "audittime": {
  14986. "description": "审核日期",
  14987. "type": "string"
  14988. },
  14989. "autoid": {
  14990. "description": "自增ID",
  14991. "type": "integer"
  14992. },
  14993. "content": {
  14994. "description": "内容",
  14995. "type": "string"
  14996. },
  14997. "createtime": {
  14998. "description": "创建时间",
  14999. "type": "string"
  15000. },
  15001. "creatorid": {
  15002. "description": "建仓人",
  15003. "type": "integer"
  15004. },
  15005. "endtime": {
  15006. "description": "结束时间",
  15007. "type": "string"
  15008. },
  15009. "istop": {
  15010. "description": "是否置顶 - 0:不置顶 1:置顶",
  15011. "type": "integer"
  15012. },
  15013. "msgiconurl": {
  15014. "description": "消息图标Url",
  15015. "type": "string"
  15016. },
  15017. "msgtype": {
  15018. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  15019. "type": "integer"
  15020. },
  15021. "publisher": {
  15022. "description": "消息发布者",
  15023. "type": "string"
  15024. },
  15025. "readed": {
  15026. "description": "是否已读",
  15027. "type": "boolean"
  15028. },
  15029. "scheduletime": {
  15030. "description": "计划发送时间",
  15031. "type": "string"
  15032. },
  15033. "sendtype": {
  15034. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  15035. "type": "integer"
  15036. },
  15037. "sentstatus": {
  15038. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  15039. "type": "integer"
  15040. },
  15041. "title": {
  15042. "description": "标题",
  15043. "type": "string"
  15044. },
  15045. "userid": {
  15046. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  15047. "type": "integer"
  15048. }
  15049. }
  15050. },
  15051. "common.QueryProvincesAndCitiesRsp": {
  15052. "type": "object",
  15053. "properties": {
  15054. "cities": {
  15055. "description": "市",
  15056. "type": "array",
  15057. "items": {
  15058. "$ref": "#/definitions/models.Division"
  15059. }
  15060. },
  15061. "province": {
  15062. "description": "省",
  15063. "$ref": "#/definitions/models.Division"
  15064. }
  15065. }
  15066. },
  15067. "common.QueryTableDefineRsp": {
  15068. "type": "object",
  15069. "required": [
  15070. "tablekey"
  15071. ],
  15072. "properties": {
  15073. "columns": {
  15074. "description": "列头信息数组",
  15075. "type": "array",
  15076. "items": {
  15077. "$ref": "#/definitions/models.Tablecolumnconfig"
  15078. }
  15079. },
  15080. "remark": {
  15081. "description": "Remark",
  15082. "type": "string"
  15083. },
  15084. "tabelmenu": {
  15085. "description": "列表菜单",
  15086. "type": "string"
  15087. },
  15088. "tablekey": {
  15089. "description": "列表Key",
  15090. "type": "string"
  15091. },
  15092. "tablename": {
  15093. "description": "列表名称",
  15094. "type": "string"
  15095. },
  15096. "tabletype": {
  15097. "description": "列表类型 - 1:管理端 2:终端",
  15098. "type": "integer"
  15099. }
  15100. }
  15101. },
  15102. "common.QueryTraderMenuRsp": {
  15103. "type": "object",
  15104. "properties": {
  15105. "OperationMenu": {
  15106. "description": "功能菜单",
  15107. "type": "array",
  15108. "items": {
  15109. "$ref": "#/definitions/models.OperationPrimaryMenu"
  15110. }
  15111. },
  15112. "QuoteMenu": {
  15113. "description": "报价牌分类菜单",
  15114. "type": "array",
  15115. "items": {
  15116. "$ref": "#/definitions/models.QuotePrimaryMenu"
  15117. }
  15118. }
  15119. }
  15120. },
  15121. "cptrade.Cptradepositioncancel": {
  15122. "type": "object",
  15123. "required": [
  15124. "cancelid"
  15125. ],
  15126. "properties": {
  15127. "accountid": {
  15128. "description": "申请人账户ID",
  15129. "type": "integer"
  15130. },
  15131. "applystatus": {
  15132. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  15133. "type": "integer"
  15134. },
  15135. "applytime": {
  15136. "description": "申请时间",
  15137. "type": "string"
  15138. },
  15139. "cancelid": {
  15140. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  15141. "type": "integer"
  15142. },
  15143. "cancelqty": {
  15144. "description": "注销数量",
  15145. "type": "integer"
  15146. },
  15147. "createtime": {
  15148. "description": "创建时间",
  15149. "type": "string"
  15150. },
  15151. "creatorid": {
  15152. "description": "创建人ID",
  15153. "type": "integer"
  15154. },
  15155. "creatorname": {
  15156. "description": "创建人",
  15157. "type": "string"
  15158. },
  15159. "goodscode": {
  15160. "description": "订单商品代码",
  15161. "type": "string"
  15162. },
  15163. "goodsid": {
  15164. "description": "商品ID",
  15165. "type": "integer"
  15166. },
  15167. "goodsname": {
  15168. "description": "订单商品名称",
  15169. "type": "string"
  15170. },
  15171. "goodunit": {
  15172. "description": "报价单位",
  15173. "type": "string"
  15174. },
  15175. "handlestatus": {
  15176. "description": "处理状态",
  15177. "type": "integer"
  15178. },
  15179. "marketid": {
  15180. "description": "市场ID",
  15181. "type": "integer"
  15182. },
  15183. "marketname": {
  15184. "description": "市场名称",
  15185. "type": "string"
  15186. },
  15187. "tradedate": {
  15188. "description": "交易日(yyyyMMdd)",
  15189. "type": "string"
  15190. },
  15191. "userid": {
  15192. "description": "申请人ID",
  15193. "type": "integer"
  15194. }
  15195. }
  15196. },
  15197. "cptrade.Cptradepresaleapply": {
  15198. "type": "object",
  15199. "required": [
  15200. "applyid"
  15201. ],
  15202. "properties": {
  15203. "accountid": {
  15204. "description": "申请人账户ID",
  15205. "type": "integer"
  15206. },
  15207. "applyid": {
  15208. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  15209. "type": "integer"
  15210. },
  15211. "applyremark": {
  15212. "description": "申请备注",
  15213. "type": "string"
  15214. },
  15215. "applystatus": {
  15216. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  15217. "type": "integer"
  15218. },
  15219. "applytime": {
  15220. "description": "申请时间",
  15221. "type": "string"
  15222. },
  15223. "attachmenturl": {
  15224. "description": "附件地址",
  15225. "type": "string"
  15226. },
  15227. "endtime": {
  15228. "description": "预售结束时间",
  15229. "type": "string"
  15230. },
  15231. "goodscode": {
  15232. "description": "商品代码",
  15233. "type": "string"
  15234. },
  15235. "goodsid": {
  15236. "description": "商品ID",
  15237. "type": "integer"
  15238. },
  15239. "goodsname": {
  15240. "description": "商品名称",
  15241. "type": "string"
  15242. },
  15243. "goodunit": {
  15244. "description": "报价单位",
  15245. "type": "string"
  15246. },
  15247. "handlestatus": {
  15248. "description": "处理状态",
  15249. "type": "integer"
  15250. },
  15251. "marketid": {
  15252. "description": "预售市场ID",
  15253. "type": "integer"
  15254. },
  15255. "marketname": {
  15256. "description": "预售市场名称",
  15257. "type": "string"
  15258. },
  15259. "presaleqty": {
  15260. "description": "预售数量",
  15261. "type": "integer"
  15262. },
  15263. "relatedgoodscode": {
  15264. "description": "关联交易合约代码",
  15265. "type": "string"
  15266. },
  15267. "relatedgoodsid": {
  15268. "description": "关联交易合约ID",
  15269. "type": "integer"
  15270. },
  15271. "relatedgoodsname": {
  15272. "description": "关联交易合约名称",
  15273. "type": "string"
  15274. },
  15275. "starttime": {
  15276. "description": "预售开始时间",
  15277. "type": "string"
  15278. },
  15279. "tradedate": {
  15280. "description": "交易日(yyyyMMdd)",
  15281. "type": "string"
  15282. },
  15283. "trademode": {
  15284. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  15285. "type": "integer"
  15286. },
  15287. "userid": {
  15288. "description": "申请人ID",
  15289. "type": "integer"
  15290. }
  15291. }
  15292. },
  15293. "cptrade.Cptradeusergoodsdata": {
  15294. "type": "object",
  15295. "required": [
  15296. "accountid",
  15297. "goodsid"
  15298. ],
  15299. "properties": {
  15300. "EnabledQty": {
  15301. "description": "可用量",
  15302. "type": "integer"
  15303. },
  15304. "GoodsCode": {
  15305. "description": "订单商品代码",
  15306. "type": "string"
  15307. },
  15308. "GoodsName": {
  15309. "description": "订单商品名称",
  15310. "type": "string"
  15311. },
  15312. "WRStandardCode": {
  15313. "description": "仓单标准代码",
  15314. "type": "string"
  15315. },
  15316. "WRStandardName": {
  15317. "description": "仓单标准名称",
  15318. "type": "string"
  15319. },
  15320. "accountid": {
  15321. "description": "账户ID",
  15322. "type": "integer"
  15323. },
  15324. "cancelqty": {
  15325. "description": "注销量",
  15326. "type": "integer"
  15327. },
  15328. "curpresaleqty": {
  15329. "description": "当前预售量",
  15330. "type": "integer"
  15331. },
  15332. "deliveryqty": {
  15333. "description": "交割量",
  15334. "type": "integer"
  15335. },
  15336. "freezeamount": {
  15337. "description": "冻结金额",
  15338. "type": "number"
  15339. },
  15340. "goodsid": {
  15341. "description": "商品ID",
  15342. "type": "integer"
  15343. },
  15344. "goodunit": {
  15345. "description": "报价单位",
  15346. "type": "string"
  15347. },
  15348. "hasspotfreeze": {
  15349. "description": "是否有现货冻结 - 0:否 1:有",
  15350. "type": "integer"
  15351. },
  15352. "inqty": {
  15353. "description": "转入量(总数量)",
  15354. "type": "integer"
  15355. },
  15356. "marketid": {
  15357. "description": "市场ID",
  15358. "type": "integer"
  15359. },
  15360. "presaledamount": {
  15361. "description": "已预售总金额",
  15362. "type": "integer"
  15363. },
  15364. "presaledqty": {
  15365. "description": "已预售量",
  15366. "type": "integer"
  15367. },
  15368. "userid": {
  15369. "description": "用户ID",
  15370. "type": "integer"
  15371. },
  15372. "wrstandardid": {
  15373. "description": "仓单标准ID",
  15374. "type": "integer"
  15375. }
  15376. }
  15377. },
  15378. "cptrade.QueryCPTradeMyBidRsp": {
  15379. "type": "object",
  15380. "required": [
  15381. "accountid",
  15382. "goodsid",
  15383. "marketid",
  15384. "orderid",
  15385. "orderqty",
  15386. "ordertime",
  15387. "tradeprice",
  15388. "tradeqty"
  15389. ],
  15390. "properties": {
  15391. "accountid": {
  15392. "description": "账户ID[报价币种]",
  15393. "type": "integer"
  15394. },
  15395. "goodsid": {
  15396. "description": "商品ID",
  15397. "type": "integer"
  15398. },
  15399. "goodunit": {
  15400. "description": "报价单位",
  15401. "type": "string"
  15402. },
  15403. "marketid": {
  15404. "description": "市场ID",
  15405. "type": "integer"
  15406. },
  15407. "orderid": {
  15408. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15409. "type": "integer"
  15410. },
  15411. "orderprice": {
  15412. "description": "委托价格",
  15413. "type": "number"
  15414. },
  15415. "orderqty": {
  15416. "description": "委托数量",
  15417. "type": "integer"
  15418. },
  15419. "ordertime": {
  15420. "description": "委托时间",
  15421. "type": "string"
  15422. },
  15423. "ordertotalprice": {
  15424. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  15425. "type": "number"
  15426. },
  15427. "ordertotalweight": {
  15428. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  15429. "type": "integer"
  15430. },
  15431. "totaltotalprice": {
  15432. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  15433. "type": "number"
  15434. },
  15435. "tradeprice": {
  15436. "description": "成交价格",
  15437. "type": "number"
  15438. },
  15439. "tradeqty": {
  15440. "description": "成交数量",
  15441. "type": "integer"
  15442. }
  15443. }
  15444. },
  15445. "cptrade.QueryCPTradeOrderDetailRsq": {
  15446. "type": "object",
  15447. "required": [
  15448. "accountid",
  15449. "buildtype",
  15450. "buyorsell",
  15451. "goodsid",
  15452. "marketid",
  15453. "memberuserid",
  15454. "operatetype",
  15455. "orderqty",
  15456. "ordertime",
  15457. "pricemode",
  15458. "strorderid",
  15459. "tradedate",
  15460. "validtype"
  15461. ],
  15462. "properties": {
  15463. "accountid": {
  15464. "description": "账户ID[报价币种]",
  15465. "type": "integer"
  15466. },
  15467. "buildtype": {
  15468. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  15469. "type": "integer"
  15470. },
  15471. "buyorsell": {
  15472. "description": "买卖 - 0:买 1:卖",
  15473. "type": "integer"
  15474. },
  15475. "cancelorderid": {
  15476. "description": "撤单单号(撤单时填写)",
  15477. "type": "integer"
  15478. },
  15479. "cancelqty": {
  15480. "description": "撤单数量",
  15481. "type": "integer"
  15482. },
  15483. "clientordertime": {
  15484. "description": "客户端委托时间",
  15485. "type": "string"
  15486. },
  15487. "clientticket": {
  15488. "description": "客户端流水号",
  15489. "type": "string"
  15490. },
  15491. "clienttype": {
  15492. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15493. "type": "integer"
  15494. },
  15495. "closeexchagechargevalue": {
  15496. "description": "平仓交易所手续费设置值",
  15497. "type": "number"
  15498. },
  15499. "closefeealgorithm": {
  15500. "description": "平仓手续费收取方式 1:比率 2:固定",
  15501. "type": "integer"
  15502. },
  15503. "closefreezecharge": {
  15504. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  15505. "type": "number"
  15506. },
  15507. "closememberchargevalue": {
  15508. "description": "平仓会员手续费设置值",
  15509. "type": "number"
  15510. },
  15511. "closeqty": {
  15512. "description": "平仓数量(先建后平操作 需要记录)",
  15513. "type": "integer"
  15514. },
  15515. "closetradeqty": {
  15516. "description": "平仓成交数量(先建后平操作,需要记录)",
  15517. "type": "integer"
  15518. },
  15519. "closeunfreezecharge": {
  15520. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  15521. "type": "number"
  15522. },
  15523. "delistingtype": {
  15524. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  15525. "type": "integer"
  15526. },
  15527. "freezecharge": {
  15528. "description": "冻结手续费",
  15529. "type": "number"
  15530. },
  15531. "freezemargin": {
  15532. "description": "冻结保证金(冻结交易金额)",
  15533. "type": "number"
  15534. },
  15535. "gcaccountid": {
  15536. "description": "账户ID[合约币种]",
  15537. "type": "integer"
  15538. },
  15539. "goodsid": {
  15540. "description": "商品ID",
  15541. "type": "integer"
  15542. },
  15543. "isconfirmexercise": {
  15544. "description": "是否确认行权- 0:否 1:是",
  15545. "type": "integer"
  15546. },
  15547. "ispreexercise": {
  15548. "description": "是否预申报- 0:否 1:是",
  15549. "type": "integer"
  15550. },
  15551. "listingselecttype": {
  15552. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15553. "type": "integer"
  15554. },
  15555. "marginalgorithm": {
  15556. "description": "保证金收取方式 1:比率 2:固定",
  15557. "type": "integer"
  15558. },
  15559. "marginvalue": {
  15560. "description": "即市保证金设置值",
  15561. "type": "number"
  15562. },
  15563. "marketid": {
  15564. "description": "市场ID",
  15565. "type": "integer"
  15566. },
  15567. "marketmaxsub": {
  15568. "description": "市价最大偏移范围",
  15569. "type": "number"
  15570. },
  15571. "memberuserid": {
  15572. "description": "所属会员UserID",
  15573. "type": "integer"
  15574. },
  15575. "openexchagechargevalue": {
  15576. "description": "建仓交易所手续费设置值",
  15577. "type": "number"
  15578. },
  15579. "openfeealgorithm": {
  15580. "description": "建仓手续费收取方式 1:比率 2:固定",
  15581. "type": "integer"
  15582. },
  15583. "openfreezecharge": {
  15584. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15585. "type": "number"
  15586. },
  15587. "openmemberchargevalue": {
  15588. "description": "建仓会员手续费设置值",
  15589. "type": "number"
  15590. },
  15591. "openqty": {
  15592. "description": "开仓数量(先建后平操作,需要记录)",
  15593. "type": "integer"
  15594. },
  15595. "opentradeqty": {
  15596. "description": "开仓成交数量(先建后平操作,需要记录)",
  15597. "type": "integer"
  15598. },
  15599. "openunfreezecharge": {
  15600. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15601. "type": "number"
  15602. },
  15603. "operatetype": {
  15604. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15605. "type": "integer"
  15606. },
  15607. "operatorid": {
  15608. "description": "登录账号(LoginID)",
  15609. "type": "integer"
  15610. },
  15611. "optiontype": {
  15612. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15613. "type": "integer"
  15614. },
  15615. "orderprice": {
  15616. "description": "委托价格",
  15617. "type": "number"
  15618. },
  15619. "orderqty": {
  15620. "description": "委托数量",
  15621. "type": "integer"
  15622. },
  15623. "ordersrc": {
  15624. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15625. "type": "integer"
  15626. },
  15627. "orderstatus": {
  15628. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15629. "type": "integer"
  15630. },
  15631. "ordertime": {
  15632. "description": "委托时间",
  15633. "type": "string"
  15634. },
  15635. "preexerciseprice": {
  15636. "description": "预申报价格",
  15637. "type": "number"
  15638. },
  15639. "premium": {
  15640. "description": "权利金",
  15641. "type": "number"
  15642. },
  15643. "preorderid": {
  15644. "description": "关联预埋单号(止盈止损单时填写)",
  15645. "type": "integer"
  15646. },
  15647. "pricemode": {
  15648. "description": "取价方式 - 1:市价 2: 限价",
  15649. "type": "integer"
  15650. },
  15651. "quoteid": {
  15652. "description": "报价单ID",
  15653. "type": "integer"
  15654. },
  15655. "relatedid": {
  15656. "description": "关联单号(交割单)",
  15657. "type": "integer"
  15658. },
  15659. "retcode": {
  15660. "description": "错误代码",
  15661. "type": "integer"
  15662. },
  15663. "sessionid": {
  15664. "description": "会话ID",
  15665. "type": "integer"
  15666. },
  15667. "strorderid": {
  15668. "description": "委托单号",
  15669. "type": "string"
  15670. },
  15671. "tradedate": {
  15672. "description": "交易日(yyyyMMdd)",
  15673. "type": "string"
  15674. },
  15675. "tradeproperty": {
  15676. "description": "交易属性",
  15677. "type": "integer"
  15678. },
  15679. "tradeqty": {
  15680. "description": "成交数量",
  15681. "type": "integer"
  15682. },
  15683. "unfreezecharge": {
  15684. "description": "解冻手续费",
  15685. "type": "number"
  15686. },
  15687. "unfreezemargin": {
  15688. "description": "解冻保证金",
  15689. "type": "number"
  15690. },
  15691. "updatetime": {
  15692. "description": "更新时间",
  15693. "type": "string"
  15694. },
  15695. "uuid": {
  15696. "description": "发起端唯一id",
  15697. "type": "string"
  15698. },
  15699. "validtime": {
  15700. "description": "有效期限",
  15701. "type": "string"
  15702. },
  15703. "validtype": {
  15704. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  15705. "type": "integer"
  15706. },
  15707. "volumetype": {
  15708. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  15709. "type": "integer"
  15710. }
  15711. }
  15712. },
  15713. "cptrade.QueryMyCPTradeGoodsRsp": {
  15714. "type": "object",
  15715. "required": [
  15716. "goodscode",
  15717. "goodsid",
  15718. "goodsname",
  15719. "marketid",
  15720. "relatedgoodscode",
  15721. "relatedgoodsname"
  15722. ],
  15723. "properties": {
  15724. "accountid": {
  15725. "description": "卖方账户ID",
  15726. "type": "integer"
  15727. },
  15728. "agreeunit": {
  15729. "description": "合约单位",
  15730. "type": "number"
  15731. },
  15732. "applyid": {
  15733. "description": "关联申请ID",
  15734. "type": "integer"
  15735. },
  15736. "attachmenturl": {
  15737. "description": "附件地址",
  15738. "type": "string"
  15739. },
  15740. "createtime": {
  15741. "description": "创建时间",
  15742. "type": "string"
  15743. },
  15744. "currencyid": {
  15745. "description": "报价货币ID",
  15746. "type": "integer"
  15747. },
  15748. "decimalplace": {
  15749. "description": "报价小数位",
  15750. "type": "integer"
  15751. },
  15752. "endtime": {
  15753. "description": "预售结束时间",
  15754. "type": "string"
  15755. },
  15756. "floorprice": {
  15757. "description": "底价[大宗式竞拍]",
  15758. "type": "number"
  15759. },
  15760. "goodscode": {
  15761. "description": "商品代码(预售)",
  15762. "type": "string"
  15763. },
  15764. "goodsdetail": {
  15765. "description": "详情[大宗]",
  15766. "type": "string"
  15767. },
  15768. "goodsid": {
  15769. "description": "商品ID(自增ID SEQ_GOODS)",
  15770. "type": "integer"
  15771. },
  15772. "goodsname": {
  15773. "description": "商品名称(预售)",
  15774. "type": "string"
  15775. },
  15776. "goodunit": {
  15777. "description": "报价单位",
  15778. "type": "string"
  15779. },
  15780. "goodunitid": {
  15781. "description": "报价单位ID",
  15782. "type": "integer"
  15783. },
  15784. "marketid": {
  15785. "description": "所属市场ID",
  15786. "type": "integer"
  15787. },
  15788. "marketname": {
  15789. "description": "预售市场名称",
  15790. "type": "string"
  15791. },
  15792. "presaledamount": {
  15793. "description": "已预售总金额(预售结束时更新)",
  15794. "type": "number"
  15795. },
  15796. "presaledqty": {
  15797. "description": "已预售量(预售结束时更新)",
  15798. "type": "integer"
  15799. },
  15800. "presalemode": {
  15801. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15802. "type": "integer"
  15803. },
  15804. "presaleqty": {
  15805. "description": "预售数量",
  15806. "type": "integer"
  15807. },
  15808. "refprice": {
  15809. "description": "参考价格[一口价]",
  15810. "type": "number"
  15811. },
  15812. "relatedgoodscode": {
  15813. "description": "商品代码(订单)",
  15814. "type": "string"
  15815. },
  15816. "relatedgoodsid": {
  15817. "description": "关联交易合约ID",
  15818. "type": "integer"
  15819. },
  15820. "relatedgoodsname": {
  15821. "description": "商品名称(订单)",
  15822. "type": "string"
  15823. },
  15824. "relatedmarketid": {
  15825. "description": "关联交易合约市场ID",
  15826. "type": "integer"
  15827. },
  15828. "sellstatus": {
  15829. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15830. "type": "integer"
  15831. },
  15832. "startprice": {
  15833. "description": "起拍价[大宗式竞拍]",
  15834. "type": "number"
  15835. },
  15836. "starttime": {
  15837. "description": "预售开始时间",
  15838. "type": "string"
  15839. },
  15840. "tradedate": {
  15841. "description": "交易日(yyyyMMdd)",
  15842. "type": "string"
  15843. },
  15844. "tradeprice": {
  15845. "description": "成交价[大宗]",
  15846. "type": "number"
  15847. },
  15848. "userid": {
  15849. "description": "卖方用户ID",
  15850. "type": "integer"
  15851. }
  15852. }
  15853. },
  15854. "cptrade.QueryPresaleGoodsExRsp": {
  15855. "type": "object",
  15856. "required": [
  15857. "goodsid"
  15858. ],
  15859. "properties": {
  15860. "attachmenturl": {
  15861. "description": "附件地址",
  15862. "type": "string"
  15863. },
  15864. "createtime": {
  15865. "description": "创建时间",
  15866. "type": "string"
  15867. },
  15868. "endtime": {
  15869. "description": "预售结束时间",
  15870. "type": "string"
  15871. },
  15872. "floorprice": {
  15873. "description": "底价[大宗式竞拍]",
  15874. "type": "number"
  15875. },
  15876. "goodsdetail": {
  15877. "description": "详情[大宗]",
  15878. "type": "string"
  15879. },
  15880. "goodsid": {
  15881. "description": "商品ID(预售)",
  15882. "type": "integer"
  15883. },
  15884. "goodunit": {
  15885. "description": "报价单位",
  15886. "type": "string"
  15887. },
  15888. "marketid": {
  15889. "description": "预售市场ID - 根据预售模式选择市场",
  15890. "type": "integer"
  15891. },
  15892. "presaledamount": {
  15893. "description": "已预售总金额(预售结束时更新)",
  15894. "type": "number"
  15895. },
  15896. "presaledqty": {
  15897. "description": "已预售量(预售结束时更新)",
  15898. "type": "integer"
  15899. },
  15900. "presalemode": {
  15901. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  15902. "type": "integer"
  15903. },
  15904. "presaleqty": {
  15905. "description": "预售数量",
  15906. "type": "integer"
  15907. },
  15908. "refprice": {
  15909. "description": "参考价格[一口价]",
  15910. "type": "number"
  15911. },
  15912. "relatedgoodsid": {
  15913. "description": "关联交易合约ID",
  15914. "type": "integer"
  15915. },
  15916. "relatedmarketid": {
  15917. "description": "关联交易合约市场ID",
  15918. "type": "integer"
  15919. },
  15920. "sellstatus": {
  15921. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  15922. "type": "integer"
  15923. },
  15924. "startprice": {
  15925. "description": "起拍价[大宗式竞拍]",
  15926. "type": "number"
  15927. },
  15928. "starttime": {
  15929. "description": "预售开始时间",
  15930. "type": "string"
  15931. },
  15932. "tradedate": {
  15933. "description": "交易日(yyyyMMdd)",
  15934. "type": "string"
  15935. },
  15936. "tradeprice": {
  15937. "description": "成交价[大宗]",
  15938. "type": "number"
  15939. }
  15940. }
  15941. },
  15942. "delivery.QueryDeliveryRelationRsp": {
  15943. "type": "object",
  15944. "required": [
  15945. "begindate",
  15946. "enddate",
  15947. "goodsid",
  15948. "mindeliveryqty",
  15949. "xdeliveryratio"
  15950. ],
  15951. "properties": {
  15952. "begindate": {
  15953. "description": "起始日期(yyyyMMdd)",
  15954. "type": "string"
  15955. },
  15956. "buytemplateid": {
  15957. "description": "买履约计划模板ID",
  15958. "type": "integer"
  15959. },
  15960. "deliverygoodscode": {
  15961. "description": "品种代码",
  15962. "type": "string"
  15963. },
  15964. "deliverygoodsid": {
  15965. "description": "交割商品",
  15966. "type": "integer"
  15967. },
  15968. "deliverygoodsname": {
  15969. "description": "品种名称",
  15970. "type": "string"
  15971. },
  15972. "deliverymode": {
  15973. "description": "交割方式 - 1:点选式 2:申报式",
  15974. "type": "integer"
  15975. },
  15976. "deliverypricerule": {
  15977. "description": "交割价规则- 1:行情价 2:建仓价",
  15978. "type": "integer"
  15979. },
  15980. "deliverytype": {
  15981. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  15982. "type": "integer"
  15983. },
  15984. "enddate": {
  15985. "description": "结束日期(yyyyMMdd)",
  15986. "type": "string"
  15987. },
  15988. "enumdicname": {
  15989. "description": "品类单位名称",
  15990. "type": "string"
  15991. },
  15992. "goodscode": {
  15993. "description": "商品代码",
  15994. "type": "string"
  15995. },
  15996. "goodsid": {
  15997. "description": "交易合约ID",
  15998. "type": "integer"
  15999. },
  16000. "goodsname": {
  16001. "description": "商品名称",
  16002. "type": "string"
  16003. },
  16004. "marketid": {
  16005. "description": "市场ID",
  16006. "type": "integer"
  16007. },
  16008. "mindeliveryqty": {
  16009. "description": "最小交割系数(K)",
  16010. "type": "integer"
  16011. },
  16012. "p2deliveryprice": {
  16013. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  16014. "type": "number"
  16015. },
  16016. "p2deliveryratio": {
  16017. "description": "P2合约系数(p)",
  16018. "type": "integer"
  16019. },
  16020. "p2goodsid": {
  16021. "description": "P2合约ID",
  16022. "type": "integer"
  16023. },
  16024. "p2pricemode": {
  16025. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  16026. "type": "integer"
  16027. },
  16028. "pdeliveryprice": {
  16029. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  16030. "type": "number"
  16031. },
  16032. "pdeliveryratio": {
  16033. "description": "P合约系数(n)",
  16034. "type": "integer"
  16035. },
  16036. "pgoodscode": {
  16037. "description": "p合约代码",
  16038. "type": "string"
  16039. },
  16040. "pgoodsid": {
  16041. "description": "P合约ID",
  16042. "type": "integer"
  16043. },
  16044. "ppricemode": {
  16045. "description": "P合约价格方式 - 1:商品价 2:固定值",
  16046. "type": "integer"
  16047. },
  16048. "rratio": {
  16049. "description": "兑换系数(R)",
  16050. "type": "integer"
  16051. },
  16052. "rratio1": {
  16053. "description": "兑换系数(交易合约)(R1)",
  16054. "type": "integer"
  16055. },
  16056. "rratio2": {
  16057. "description": "兑换系数(仓单标准)(R2)",
  16058. "type": "integer"
  16059. },
  16060. "selltemplateid": {
  16061. "description": "卖履约计划模板ID",
  16062. "type": "integer"
  16063. },
  16064. "wrstandardid": {
  16065. "description": "仓单标准ID",
  16066. "type": "integer"
  16067. },
  16068. "xdeliveryratio": {
  16069. "description": "交易合约系数(m)",
  16070. "type": "integer"
  16071. }
  16072. }
  16073. },
  16074. "ermcp.ExposureDetailRsp": {
  16075. "type": "object",
  16076. "properties": {
  16077. "areauserid": {
  16078. "description": "机构ID",
  16079. "type": "integer"
  16080. },
  16081. "changeQty": {
  16082. "description": "套保变动量",
  16083. "type": "number"
  16084. },
  16085. "contracttype": {
  16086. "description": "现货合同类型 - 1:采购 -1:销售",
  16087. "type": "integer"
  16088. },
  16089. "convertfactor": {
  16090. "description": "标仓系数",
  16091. "type": "number"
  16092. },
  16093. "convertratio": {
  16094. "description": "套保系数",
  16095. "type": "number"
  16096. },
  16097. "createtime": {
  16098. "description": "时间",
  16099. "type": "string"
  16100. },
  16101. "enumdicname": {
  16102. "description": "现货商品单位名称",
  16103. "type": "string"
  16104. },
  16105. "logtype": {
  16106. "description": "类型 - 1:套保计划 2:现货合同",
  16107. "type": "integer"
  16108. },
  16109. "middlegoodsId": {
  16110. "description": "套保商品id",
  16111. "type": "integer"
  16112. },
  16113. "middlegoodscode": {
  16114. "description": "套保商品代码",
  16115. "type": "string"
  16116. },
  16117. "middlegoodsname": {
  16118. "description": "套保商品名称",
  16119. "type": "string"
  16120. },
  16121. "qty": {
  16122. "description": "数量",
  16123. "type": "number"
  16124. },
  16125. "relateNo": {
  16126. "description": "现货合同/套保计划编号",
  16127. "type": "string"
  16128. },
  16129. "wrstandardcode": {
  16130. "description": "现货商品代码",
  16131. "type": "string"
  16132. },
  16133. "wrstandardid": {
  16134. "description": "现货商品ID",
  16135. "type": "integer"
  16136. },
  16137. "wrstandardname": {
  16138. "description": "现货商品名称",
  16139. "type": "string"
  16140. }
  16141. }
  16142. },
  16143. "ermcp.ExposureHedgePosDetailRsp": {
  16144. "type": "object",
  16145. "properties": {
  16146. "buyorsell": {
  16147. "description": "买卖方向 0-买 1-卖",
  16148. "type": "integer"
  16149. },
  16150. "channelbuildtype": {
  16151. "description": "开平方向 1-建仓 2-平仓",
  16152. "type": "integer"
  16153. },
  16154. "goodscode": {
  16155. "description": "商品代码",
  16156. "type": "string"
  16157. },
  16158. "goodsname": {
  16159. "description": "商品名称",
  16160. "type": "string"
  16161. },
  16162. "hedgegoodsid": {
  16163. "description": "商品id",
  16164. "type": "integer"
  16165. },
  16166. "tradeqty": {
  16167. "description": "数量(成交数量)",
  16168. "type": "integer"
  16169. },
  16170. "tradetime": {
  16171. "description": "时间(成交时间)",
  16172. "type": "string"
  16173. }
  16174. }
  16175. },
  16176. "ermcp.ExposureHedgePositionRsp": {
  16177. "type": "object",
  16178. "properties": {
  16179. "accountid": {
  16180. "description": "资金账号[外部母账户]",
  16181. "type": "integer"
  16182. },
  16183. "curbuyposition": {
  16184. "description": "期末买头寸",
  16185. "type": "integer"
  16186. },
  16187. "cursellposition": {
  16188. "description": "期末卖头寸",
  16189. "type": "integer"
  16190. },
  16191. "curtdbuyposition": {
  16192. "description": "期末今日买头寸",
  16193. "type": "integer"
  16194. },
  16195. "curtdsellposition": {
  16196. "description": "期末今日卖头寸",
  16197. "type": "integer"
  16198. },
  16199. "curydbuyposition": {
  16200. "description": "期末上日买头寸",
  16201. "type": "integer"
  16202. },
  16203. "curydsellposition": {
  16204. "description": "期末上日卖头寸",
  16205. "type": "integer"
  16206. },
  16207. "decreaseqty": {
  16208. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  16209. "type": "integer"
  16210. },
  16211. "fretdbuyposition": {
  16212. "description": "冻结今日买头寸",
  16213. "type": "integer"
  16214. },
  16215. "fretdsellposition": {
  16216. "description": "冻结今日卖头寸",
  16217. "type": "integer"
  16218. },
  16219. "freydbuyposition": {
  16220. "description": "冻结上日买头寸",
  16221. "type": "integer"
  16222. },
  16223. "freydsellposition": {
  16224. "description": "冻结上日卖头寸",
  16225. "type": "integer"
  16226. },
  16227. "goodscode": {
  16228. "description": "商品代码",
  16229. "type": "string"
  16230. },
  16231. "goodsid": {
  16232. "description": "商品id",
  16233. "type": "integer"
  16234. },
  16235. "goodsname": {
  16236. "description": "商品名称",
  16237. "type": "string"
  16238. },
  16239. "hedgeaccountcode": {
  16240. "description": "对冲账号",
  16241. "type": "string"
  16242. },
  16243. "hedgegoodsid": {
  16244. "description": "对冲合约ID",
  16245. "type": "integer"
  16246. },
  16247. "increaseqty": {
  16248. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  16249. "type": "integer"
  16250. },
  16251. "marketid": {
  16252. "description": "市场ID",
  16253. "type": "integer"
  16254. },
  16255. "relateduserid": {
  16256. "description": "关联用户id",
  16257. "type": "integer"
  16258. },
  16259. "totalcurqty": {
  16260. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  16261. "type": "integer"
  16262. },
  16263. "totalydqty": {
  16264. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  16265. "type": "integer"
  16266. },
  16267. "tradedate": {
  16268. "description": "交易日(yyyyMMdd)",
  16269. "type": "string"
  16270. },
  16271. "ydbuyposition": {
  16272. "description": "期初买头寸",
  16273. "type": "integer"
  16274. },
  16275. "ydsellposition": {
  16276. "description": "期初卖头寸",
  16277. "type": "integer"
  16278. }
  16279. }
  16280. },
  16281. "ermcp.ExposureSpotDetailRsp": {
  16282. "type": "object",
  16283. "properties": {
  16284. "contracttype": {
  16285. "description": "合同类型 1-采购 -1-销售",
  16286. "type": "integer"
  16287. },
  16288. "createtime": {
  16289. "description": "创建时间",
  16290. "type": "string"
  16291. },
  16292. "enumdicname": {
  16293. "description": "现货商品单位名称",
  16294. "type": "string"
  16295. },
  16296. "logtype": {
  16297. "description": "记录类型 1-套保 2-现货合同",
  16298. "type": "integer"
  16299. },
  16300. "qty": {
  16301. "description": "数量",
  16302. "type": "number"
  16303. },
  16304. "recordname": {
  16305. "description": "类型名称",
  16306. "type": "string"
  16307. },
  16308. "relatedid": {
  16309. "description": "套保计划ID/现货合同ID",
  16310. "type": "string"
  16311. },
  16312. "relatedno": {
  16313. "description": "编号",
  16314. "type": "string"
  16315. },
  16316. "strtime": {
  16317. "description": "时间",
  16318. "type": "string"
  16319. },
  16320. "wrstandardcode": {
  16321. "description": "现货商品代码",
  16322. "type": "string"
  16323. },
  16324. "wrstandardname": {
  16325. "description": "现货商品名称",
  16326. "type": "string"
  16327. }
  16328. }
  16329. },
  16330. "ermcp.ExposureSpotRsp": {
  16331. "type": "object",
  16332. "properties": {
  16333. "areauserid": {
  16334. "description": "所属机构",
  16335. "type": "integer"
  16336. },
  16337. "decreaseqty": {
  16338. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  16339. "type": "number"
  16340. },
  16341. "increaseqty": {
  16342. "description": "增加数量=销售计划数量+采购已定价数量",
  16343. "type": "number"
  16344. },
  16345. "oritoalspotqty": {
  16346. "description": "昨日数量",
  16347. "type": "number"
  16348. },
  16349. "totalspotqty": {
  16350. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  16351. "type": "number"
  16352. },
  16353. "updatetime": {
  16354. "description": "更新时间",
  16355. "type": "string"
  16356. },
  16357. "wrstandardcode": {
  16358. "description": "现货品种代码",
  16359. "type": "string"
  16360. },
  16361. "wrstandardid": {
  16362. "description": "现货商品ID",
  16363. "type": "integer"
  16364. },
  16365. "wrstandardname": {
  16366. "description": "现货品种",
  16367. "type": "string"
  16368. }
  16369. }
  16370. },
  16371. "ermcp.HisExposureRsp": {
  16372. "type": "object",
  16373. "properties": {
  16374. "data": {
  16375. "description": "历史敞口",
  16376. "type": "array",
  16377. "items": {
  16378. "$ref": "#/definitions/models.ErmcpHisExposure"
  16379. }
  16380. },
  16381. "enumdicname": {
  16382. "description": "单位名称",
  16383. "type": "string"
  16384. },
  16385. "middlegoodscode": {
  16386. "description": "套保品种代码",
  16387. "type": "string"
  16388. },
  16389. "middlegoodsid": {
  16390. "description": "套保品种ID",
  16391. "type": "integer"
  16392. },
  16393. "middlegoodsname": {
  16394. "description": "套保品种名称",
  16395. "type": "string"
  16396. }
  16397. }
  16398. },
  16399. "ermcp.PendingAuditCntRsp": {
  16400. "type": "object",
  16401. "properties": {
  16402. "areastockqty": {
  16403. "description": "待审核数量: 库存申请",
  16404. "type": "integer"
  16405. },
  16406. "businessdjqty": {
  16407. "description": "待审核数量: 点价",
  16408. "type": "integer"
  16409. },
  16410. "businessfpqty": {
  16411. "description": "待审核数量: 发票",
  16412. "type": "integer"
  16413. },
  16414. "businessjsqty": {
  16415. "description": "待审核数量: 结算",
  16416. "type": "integer"
  16417. },
  16418. "businesskxqty": {
  16419. "description": "待审核数量: 款项",
  16420. "type": "integer"
  16421. },
  16422. "hedgeplanqty": {
  16423. "description": "待审核数量: 套保计划",
  16424. "type": "integer"
  16425. },
  16426. "spotcontractqty": {
  16427. "description": "待审核数量: 现货合同",
  16428. "type": "integer"
  16429. },
  16430. "userqty": {
  16431. "description": "待审核数量: 用户",
  16432. "type": "integer"
  16433. }
  16434. }
  16435. },
  16436. "ermcp.QryAvalidGPRsp": {
  16437. "type": "object",
  16438. "properties": {
  16439. "goodsgroupid": {
  16440. "description": "期货品种id",
  16441. "type": "integer"
  16442. },
  16443. "goodsgroupname": {
  16444. "description": "期货品种名称",
  16445. "type": "string"
  16446. },
  16447. "goodunitid": {
  16448. "description": "品种单位id",
  16449. "type": "integer"
  16450. },
  16451. "goodunitname": {
  16452. "description": "品种单位名称",
  16453. "type": "string"
  16454. },
  16455. "outergroupcode": {
  16456. "description": "期货品种代码",
  16457. "type": "string"
  16458. }
  16459. }
  16460. },
  16461. "ermcp.QryBusinessDjRsp": {
  16462. "type": "object",
  16463. "properties": {
  16464. "amount": {
  16465. "description": "点价金额=(点价价格+升贴水)*点价数量",
  16466. "type": "number"
  16467. },
  16468. "applyid": {
  16469. "description": "申请人",
  16470. "type": "string"
  16471. },
  16472. "applyname": {
  16473. "description": "申请人名称",
  16474. "type": "string"
  16475. },
  16476. "applystatus": {
  16477. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16478. "type": "integer"
  16479. },
  16480. "applytime": {
  16481. "description": "申请时间",
  16482. "type": "string"
  16483. },
  16484. "attachurl": {
  16485. "description": "附件",
  16486. "type": "string"
  16487. },
  16488. "auditid": {
  16489. "description": "审核人ID",
  16490. "type": "string"
  16491. },
  16492. "auditname": {
  16493. "description": "审核人名称",
  16494. "type": "string"
  16495. },
  16496. "auditremark": {
  16497. "description": "审核备注",
  16498. "type": "string"
  16499. },
  16500. "audittime": {
  16501. "description": "审核时间",
  16502. "type": "string"
  16503. },
  16504. "buyusername": {
  16505. "description": "采购方名称",
  16506. "type": "string"
  16507. },
  16508. "contractno": {
  16509. "description": "合同编号",
  16510. "type": "string"
  16511. },
  16512. "contractstatus": {
  16513. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16514. "type": "integer"
  16515. },
  16516. "contracttype": {
  16517. "description": "现货合同类型 - 1:采购 -1:销售",
  16518. "type": "integer"
  16519. },
  16520. "deliverygoodscode": {
  16521. "description": "现货品种代码",
  16522. "type": "string"
  16523. },
  16524. "deliverygoodsid": {
  16525. "description": "现货商品ID",
  16526. "type": "integer"
  16527. },
  16528. "deliverygoodsname": {
  16529. "description": "现货品种名称",
  16530. "type": "string"
  16531. },
  16532. "enumdicname": {
  16533. "description": "单位名称",
  16534. "type": "string"
  16535. },
  16536. "goodscode": {
  16537. "description": "点价合约",
  16538. "type": "string"
  16539. },
  16540. "goodsname": {
  16541. "description": "商品名称",
  16542. "type": "string"
  16543. },
  16544. "operateapplyid": {
  16545. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16546. "type": "string"
  16547. },
  16548. "operateapplytype": {
  16549. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16550. "type": "integer"
  16551. },
  16552. "pricedPrice": {
  16553. "description": "点价价格(非必填)",
  16554. "type": "number"
  16555. },
  16556. "pricedQty": {
  16557. "description": "点价数量(非必填)",
  16558. "type": "number"
  16559. },
  16560. "pricemove": {
  16561. "description": "升贴水",
  16562. "type": "number"
  16563. },
  16564. "pricetype": {
  16565. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16566. "type": "integer"
  16567. },
  16568. "relatedid": {
  16569. "description": "现货合同ID",
  16570. "type": "string"
  16571. },
  16572. "sellusername": {
  16573. "description": "销售方名字",
  16574. "type": "string"
  16575. },
  16576. "userid": {
  16577. "description": "用户ID",
  16578. "type": "integer"
  16579. },
  16580. "wrstandardcode": {
  16581. "description": "品类代码",
  16582. "type": "string"
  16583. },
  16584. "wrstandardid": {
  16585. "description": "品类id",
  16586. "type": "integer"
  16587. },
  16588. "wrstandardname": {
  16589. "description": "品类名称",
  16590. "type": "string"
  16591. }
  16592. }
  16593. },
  16594. "ermcp.QryBussinessFpRsp": {
  16595. "type": "object",
  16596. "properties": {
  16597. "applyid": {
  16598. "description": "申请人",
  16599. "type": "string"
  16600. },
  16601. "applyname": {
  16602. "description": "申请人名称",
  16603. "type": "string"
  16604. },
  16605. "applystatus": {
  16606. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16607. "type": "integer"
  16608. },
  16609. "applytime": {
  16610. "description": "申请时间",
  16611. "type": "string"
  16612. },
  16613. "attachurl": {
  16614. "description": "附件",
  16615. "type": "string"
  16616. },
  16617. "auditid": {
  16618. "description": "审核人ID",
  16619. "type": "string"
  16620. },
  16621. "auditname": {
  16622. "description": "审核人名称",
  16623. "type": "string"
  16624. },
  16625. "auditremark": {
  16626. "description": "审核备注",
  16627. "type": "string"
  16628. },
  16629. "audittime": {
  16630. "description": "审核时间",
  16631. "type": "string"
  16632. },
  16633. "buyusername": {
  16634. "description": "采购方名称",
  16635. "type": "string"
  16636. },
  16637. "contractno": {
  16638. "description": "合同编号",
  16639. "type": "string"
  16640. },
  16641. "contractstatus": {
  16642. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16643. "type": "integer"
  16644. },
  16645. "contracttype": {
  16646. "description": "现货合同类型 - 1:采购 -1:销售",
  16647. "type": "integer"
  16648. },
  16649. "deliverygoodscode": {
  16650. "description": "现货品种代码",
  16651. "type": "string"
  16652. },
  16653. "deliverygoodsid": {
  16654. "description": "现货商品ID",
  16655. "type": "integer"
  16656. },
  16657. "deliverygoodsname": {
  16658. "description": "现货品种名称",
  16659. "type": "string"
  16660. },
  16661. "enumdicname": {
  16662. "description": "单位名称",
  16663. "type": "string"
  16664. },
  16665. "goodscode": {
  16666. "description": "点价合约",
  16667. "type": "string"
  16668. },
  16669. "goodsname": {
  16670. "description": "商品名称",
  16671. "type": "string"
  16672. },
  16673. "invoiceamount": {
  16674. "description": "已开收票金额(销售为开票,采购为收票)",
  16675. "type": "number"
  16676. },
  16677. "operateapplyid": {
  16678. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16679. "type": "string"
  16680. },
  16681. "operateapplytype": {
  16682. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16683. "type": "integer"
  16684. },
  16685. "pricemove": {
  16686. "description": "升贴水",
  16687. "type": "number"
  16688. },
  16689. "pricetype": {
  16690. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16691. "type": "integer"
  16692. },
  16693. "relatedid": {
  16694. "description": "现货合同ID",
  16695. "type": "string"
  16696. },
  16697. "sellusername": {
  16698. "description": "销售方名字",
  16699. "type": "string"
  16700. },
  16701. "userid": {
  16702. "description": "用户ID",
  16703. "type": "integer"
  16704. },
  16705. "wrstandardcode": {
  16706. "description": "品类代码",
  16707. "type": "string"
  16708. },
  16709. "wrstandardid": {
  16710. "description": "品类id",
  16711. "type": "integer"
  16712. },
  16713. "wrstandardname": {
  16714. "description": "品类名称",
  16715. "type": "string"
  16716. }
  16717. }
  16718. },
  16719. "ermcp.QryBussinessJsExRsp": {
  16720. "type": "object",
  16721. "properties": {
  16722. "applyid": {
  16723. "description": "申请人",
  16724. "type": "string"
  16725. },
  16726. "applyname": {
  16727. "description": "申请人名称",
  16728. "type": "string"
  16729. },
  16730. "applystatus": {
  16731. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16732. "type": "integer"
  16733. },
  16734. "applytime": {
  16735. "description": "申请时间",
  16736. "type": "string"
  16737. },
  16738. "attachurl": {
  16739. "description": "附件",
  16740. "type": "string"
  16741. },
  16742. "auditid": {
  16743. "description": "审核人ID",
  16744. "type": "string"
  16745. },
  16746. "auditname": {
  16747. "description": "审核人名称",
  16748. "type": "string"
  16749. },
  16750. "auditremark": {
  16751. "description": "审核备注",
  16752. "type": "string"
  16753. },
  16754. "audittime": {
  16755. "description": "审核时间",
  16756. "type": "string"
  16757. },
  16758. "buyusername": {
  16759. "description": "采购方名称",
  16760. "type": "string"
  16761. },
  16762. "contractno": {
  16763. "description": "合同编号",
  16764. "type": "string"
  16765. },
  16766. "contractstatus": {
  16767. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16768. "type": "integer"
  16769. },
  16770. "contracttype": {
  16771. "description": "现货合同类型 - 1:采购 -1:销售",
  16772. "type": "integer"
  16773. },
  16774. "deliverygoodscode": {
  16775. "description": "现货品种代码",
  16776. "type": "string"
  16777. },
  16778. "deliverygoodsid": {
  16779. "description": "现货商品ID",
  16780. "type": "integer"
  16781. },
  16782. "deliverygoodsname": {
  16783. "description": "现货品种名称",
  16784. "type": "string"
  16785. },
  16786. "enumdicname": {
  16787. "description": "单位名称",
  16788. "type": "string"
  16789. },
  16790. "goodscode": {
  16791. "description": "点价合约",
  16792. "type": "string"
  16793. },
  16794. "goodsname": {
  16795. "description": "商品名称",
  16796. "type": "string"
  16797. },
  16798. "operateapplyid": {
  16799. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16800. "type": "string"
  16801. },
  16802. "operateapplytype": {
  16803. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16804. "type": "integer"
  16805. },
  16806. "pricemove": {
  16807. "description": "升贴水",
  16808. "type": "number"
  16809. },
  16810. "pricetype": {
  16811. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16812. "type": "integer"
  16813. },
  16814. "reckontype": {
  16815. "description": "结算类型",
  16816. "type": "string"
  16817. },
  16818. "reckonvalue": {
  16819. "description": "值",
  16820. "type": "number"
  16821. },
  16822. "relatedid": {
  16823. "description": "现货合同ID",
  16824. "type": "string"
  16825. },
  16826. "sellusername": {
  16827. "description": "销售方名字",
  16828. "type": "string"
  16829. },
  16830. "userid": {
  16831. "description": "用户ID",
  16832. "type": "integer"
  16833. },
  16834. "wrstandardcode": {
  16835. "description": "品类代码",
  16836. "type": "string"
  16837. },
  16838. "wrstandardid": {
  16839. "description": "品类id",
  16840. "type": "integer"
  16841. },
  16842. "wrstandardname": {
  16843. "description": "品类名称",
  16844. "type": "string"
  16845. }
  16846. }
  16847. },
  16848. "ermcp.QryBussinessJsRsp": {
  16849. "type": "object",
  16850. "properties": {
  16851. "addmargin": {
  16852. "description": "追加保证金(非必填)",
  16853. "type": "number"
  16854. },
  16855. "applyid": {
  16856. "description": "申请人",
  16857. "type": "string"
  16858. },
  16859. "applyname": {
  16860. "description": "申请人名称",
  16861. "type": "string"
  16862. },
  16863. "applystatus": {
  16864. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16865. "type": "integer"
  16866. },
  16867. "applytime": {
  16868. "description": "申请时间",
  16869. "type": "string"
  16870. },
  16871. "attachurl": {
  16872. "description": "附件",
  16873. "type": "string"
  16874. },
  16875. "auditid": {
  16876. "description": "审核人ID",
  16877. "type": "string"
  16878. },
  16879. "auditname": {
  16880. "description": "审核人名称",
  16881. "type": "string"
  16882. },
  16883. "auditremark": {
  16884. "description": "审核备注",
  16885. "type": "string"
  16886. },
  16887. "audittime": {
  16888. "description": "审核时间",
  16889. "type": "string"
  16890. },
  16891. "buyusername": {
  16892. "description": "采购方名称",
  16893. "type": "string"
  16894. },
  16895. "contractno": {
  16896. "description": "合同编号",
  16897. "type": "string"
  16898. },
  16899. "contractstatus": {
  16900. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16901. "type": "integer"
  16902. },
  16903. "contracttype": {
  16904. "description": "现货合同类型 - 1:采购 -1:销售",
  16905. "type": "integer"
  16906. },
  16907. "decmargin": {
  16908. "description": "减少保证金(非必填)",
  16909. "type": "number"
  16910. },
  16911. "deliverygoodscode": {
  16912. "description": "现货品种代码",
  16913. "type": "string"
  16914. },
  16915. "deliverygoodsid": {
  16916. "description": "现货商品ID",
  16917. "type": "integer"
  16918. },
  16919. "deliverygoodsname": {
  16920. "description": "现货品种名称",
  16921. "type": "string"
  16922. },
  16923. "enumdicname": {
  16924. "description": "单位名称",
  16925. "type": "string"
  16926. },
  16927. "goodscode": {
  16928. "description": "点价合约",
  16929. "type": "string"
  16930. },
  16931. "goodsname": {
  16932. "description": "商品名称",
  16933. "type": "string"
  16934. },
  16935. "operateapplyid": {
  16936. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  16937. "type": "string"
  16938. },
  16939. "operateapplytype": {
  16940. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  16941. "type": "integer"
  16942. },
  16943. "pricemove": {
  16944. "description": "升贴水",
  16945. "type": "number"
  16946. },
  16947. "pricetype": {
  16948. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16949. "type": "integer"
  16950. },
  16951. "reckonadjustamount": {
  16952. "description": "结算调整金额(非必填)",
  16953. "type": "number"
  16954. },
  16955. "reckonosamount": {
  16956. "description": "结算溢短金额(非必填)",
  16957. "type": "number"
  16958. },
  16959. "reckonotheramount": {
  16960. "description": "结算其他费用(非必填)",
  16961. "type": "number"
  16962. },
  16963. "reckonrealqty": {
  16964. "description": "结算实际数量(非必填)",
  16965. "type": "number"
  16966. },
  16967. "relatedid": {
  16968. "description": "现货合同ID",
  16969. "type": "string"
  16970. },
  16971. "sellusername": {
  16972. "description": "销售方名字",
  16973. "type": "string"
  16974. },
  16975. "userid": {
  16976. "description": "用户ID",
  16977. "type": "integer"
  16978. },
  16979. "wrstandardcode": {
  16980. "description": "品类代码",
  16981. "type": "string"
  16982. },
  16983. "wrstandardid": {
  16984. "description": "品类id",
  16985. "type": "integer"
  16986. },
  16987. "wrstandardname": {
  16988. "description": "品类名称",
  16989. "type": "string"
  16990. }
  16991. }
  16992. },
  16993. "ermcp.QryBussinessKxRsp": {
  16994. "type": "object",
  16995. "properties": {
  16996. "applyid": {
  16997. "description": "申请人",
  16998. "type": "string"
  16999. },
  17000. "applyname": {
  17001. "description": "申请人名称",
  17002. "type": "string"
  17003. },
  17004. "applystatus": {
  17005. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17006. "type": "integer"
  17007. },
  17008. "applytime": {
  17009. "description": "申请时间",
  17010. "type": "string"
  17011. },
  17012. "attachurl": {
  17013. "description": "附件",
  17014. "type": "string"
  17015. },
  17016. "auditid": {
  17017. "description": "审核人ID",
  17018. "type": "string"
  17019. },
  17020. "auditname": {
  17021. "description": "审核人名称",
  17022. "type": "string"
  17023. },
  17024. "auditremark": {
  17025. "description": "审核备注",
  17026. "type": "string"
  17027. },
  17028. "audittime": {
  17029. "description": "审核时间",
  17030. "type": "string"
  17031. },
  17032. "buyusername": {
  17033. "description": "采购方名称",
  17034. "type": "string"
  17035. },
  17036. "contractno": {
  17037. "description": "合同编号",
  17038. "type": "string"
  17039. },
  17040. "contractstatus": {
  17041. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17042. "type": "integer"
  17043. },
  17044. "contracttype": {
  17045. "description": "现货合同类型 - 1:采购 -1:销售",
  17046. "type": "integer"
  17047. },
  17048. "deductamount": {
  17049. "description": "退款(非必填)",
  17050. "type": "number"
  17051. },
  17052. "deliverygoodscode": {
  17053. "description": "现货品种代码",
  17054. "type": "string"
  17055. },
  17056. "deliverygoodsid": {
  17057. "description": "现货商品ID",
  17058. "type": "integer"
  17059. },
  17060. "deliverygoodsname": {
  17061. "description": "现货品种名称",
  17062. "type": "string"
  17063. },
  17064. "enumdicname": {
  17065. "description": "单位名称",
  17066. "type": "string"
  17067. },
  17068. "goodscode": {
  17069. "description": "点价合约",
  17070. "type": "string"
  17071. },
  17072. "goodsname": {
  17073. "description": "商品名称",
  17074. "type": "string"
  17075. },
  17076. "kxtype": {
  17077. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  17078. "type": "integer"
  17079. },
  17080. "operateapplyid": {
  17081. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17082. "type": "string"
  17083. },
  17084. "operateapplytype": {
  17085. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17086. "type": "integer"
  17087. },
  17088. "payamount": {
  17089. "description": "收付款(非必填)",
  17090. "type": "number"
  17091. },
  17092. "pricemove": {
  17093. "description": "升贴水",
  17094. "type": "number"
  17095. },
  17096. "pricetype": {
  17097. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17098. "type": "integer"
  17099. },
  17100. "relatedid": {
  17101. "description": "现货合同ID",
  17102. "type": "string"
  17103. },
  17104. "sellusername": {
  17105. "description": "销售方名字",
  17106. "type": "string"
  17107. },
  17108. "userid": {
  17109. "description": "用户ID",
  17110. "type": "integer"
  17111. },
  17112. "wrstandardcode": {
  17113. "description": "品类代码",
  17114. "type": "string"
  17115. },
  17116. "wrstandardid": {
  17117. "description": "品类id",
  17118. "type": "integer"
  17119. },
  17120. "wrstandardname": {
  17121. "description": "品类名称",
  17122. "type": "string"
  17123. }
  17124. }
  17125. },
  17126. "ermcp.QryGGCovertCfgRsp": {
  17127. "type": "object",
  17128. "properties": {
  17129. "convertratio": {
  17130. "description": "折算系数",
  17131. "type": "number"
  17132. },
  17133. "destgoodsgroupid": {
  17134. "description": "目标品种ID",
  17135. "type": "integer"
  17136. },
  17137. "dstcode": {
  17138. "description": "目录品种代码",
  17139. "type": "string"
  17140. },
  17141. "dstexchangecode": {
  17142. "description": "目标期货交易所",
  17143. "type": "string"
  17144. },
  17145. "dstname": {
  17146. "description": "目标品种名称",
  17147. "type": "string"
  17148. },
  17149. "dstunitid": {
  17150. "description": "目标品种单位ID",
  17151. "type": "integer"
  17152. },
  17153. "dstunitidname": {
  17154. "description": "目标品种单位名称",
  17155. "type": "string"
  17156. },
  17157. "modifytime": {
  17158. "description": "修改时间",
  17159. "type": "string"
  17160. },
  17161. "srccode": {
  17162. "description": "源品种代码",
  17163. "type": "string"
  17164. },
  17165. "srcexchangecode": {
  17166. "description": "源期货交易所",
  17167. "type": "string"
  17168. },
  17169. "srcgoodsgroupid": {
  17170. "description": "源品种ID",
  17171. "type": "integer"
  17172. },
  17173. "srcname": {
  17174. "description": "源品种名称",
  17175. "type": "string"
  17176. },
  17177. "srcunitid": {
  17178. "description": "源品种单位ID",
  17179. "type": "integer"
  17180. },
  17181. "srcunitidname": {
  17182. "description": "源品种单位名称",
  17183. "type": "string"
  17184. }
  17185. }
  17186. },
  17187. "ermcp.QryMGChangeLogRsp": {
  17188. "type": "object",
  17189. "properties": {
  17190. "aftervalue": {
  17191. "description": "变更后",
  17192. "type": "number"
  17193. },
  17194. "applyid": {
  17195. "description": "操作人",
  17196. "type": "integer"
  17197. },
  17198. "applyname": {
  17199. "description": "操作人名称",
  17200. "type": "string"
  17201. },
  17202. "applysrc": {
  17203. "description": "操作来源 - 1:管理端 2:终端",
  17204. "type": "integer"
  17205. },
  17206. "beforevalue": {
  17207. "description": "变更前",
  17208. "type": "number"
  17209. },
  17210. "changelogtype": {
  17211. "description": "变更流水类型 - 1:套保比率变更",
  17212. "type": "integer"
  17213. },
  17214. "handlestatus": {
  17215. "description": "处理状态",
  17216. "type": "integer"
  17217. },
  17218. "logdatetime": {
  17219. "description": "流水日期",
  17220. "type": "string"
  17221. },
  17222. "logid": {
  17223. "description": "流水ID",
  17224. "type": "integer"
  17225. },
  17226. "logremark": {
  17227. "description": "流水备注",
  17228. "type": "string"
  17229. },
  17230. "middlegoodsid": {
  17231. "description": "套保品种ID",
  17232. "type": "integer"
  17233. },
  17234. "tradedate": {
  17235. "description": "交易日(yyyyMMdd)",
  17236. "type": "string"
  17237. },
  17238. "updatetime": {
  17239. "description": "更新时间",
  17240. "type": "string"
  17241. }
  17242. }
  17243. },
  17244. "ermcp.QryMiddleGoodsDetailRsp": {
  17245. "type": "object",
  17246. "properties": {
  17247. "cvList": {
  17248. "description": "期货品种折算列表",
  17249. "type": "array",
  17250. "items": {
  17251. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  17252. }
  17253. },
  17254. "mg": {
  17255. "description": "套保品种基本信息",
  17256. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17257. },
  17258. "wrcList": {
  17259. "description": "现货品种列表(现货商品折算配置)",
  17260. "type": "array",
  17261. "items": {
  17262. "$ref": "#/definitions/models.WRSConverTDetail"
  17263. }
  17264. }
  17265. }
  17266. },
  17267. "ermcp.QryMiddleGoodsRsp": {
  17268. "type": "object",
  17269. "properties": {
  17270. "areauserid": {
  17271. "description": "机构用户ID",
  17272. "type": "integer"
  17273. },
  17274. "createtime": {
  17275. "description": "修改时间",
  17276. "type": "string"
  17277. },
  17278. "enumdicname": {
  17279. "description": "单位名称",
  17280. "type": "string"
  17281. },
  17282. "evaluateratio": {
  17283. "description": "估价系数",
  17284. "type": "number"
  17285. },
  17286. "goodsgroupid": {
  17287. "description": "关联期货品种ID",
  17288. "type": "integer"
  17289. },
  17290. "goodsunitid": {
  17291. "description": "单位ID",
  17292. "type": "integer"
  17293. },
  17294. "isvalid": {
  17295. "description": "状态 0-无效(停用) 1-有效(正常)",
  17296. "type": "integer"
  17297. },
  17298. "middlegoodscode": {
  17299. "description": "套保品种代码",
  17300. "type": "string"
  17301. },
  17302. "middlegoodsid": {
  17303. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  17304. "type": "integer"
  17305. },
  17306. "middlegoodsname": {
  17307. "description": "套保品种名称",
  17308. "type": "string"
  17309. },
  17310. "modifytime": {
  17311. "description": "修改时间",
  17312. "type": "string"
  17313. },
  17314. "needarbitrageratio": {
  17315. "description": "套利比例",
  17316. "type": "number"
  17317. },
  17318. "needhedgeratio": {
  17319. "description": "套保比率",
  17320. "type": "number"
  17321. },
  17322. "qtydecimalplace": {
  17323. "description": "数量小数位",
  17324. "type": "integer"
  17325. },
  17326. "relatedgoodsid": {
  17327. "description": "关联交易商品ID",
  17328. "type": "integer"
  17329. },
  17330. "relatedgoodstype": {
  17331. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  17332. "type": "integer"
  17333. },
  17334. "remark": {
  17335. "description": "备注",
  17336. "type": "string"
  17337. }
  17338. }
  17339. },
  17340. "ermcp.QryOPLogRsp": {
  17341. "type": "object",
  17342. "properties": {
  17343. "aftervalue": {
  17344. "description": "变更后",
  17345. "type": "number"
  17346. },
  17347. "applyid": {
  17348. "description": "操作人ID",
  17349. "type": "string"
  17350. },
  17351. "applyname": {
  17352. "description": "操作人名称",
  17353. "type": "string"
  17354. },
  17355. "beforevalue": {
  17356. "description": "变更前",
  17357. "type": "number"
  17358. },
  17359. "biztype": {
  17360. "description": "业务类型 - 1:套保计划 2:现货合同",
  17361. "type": "integer"
  17362. },
  17363. "contracttype": {
  17364. "description": "现货合同类型 - 1:采购 -1:销售",
  17365. "type": "integer"
  17366. },
  17367. "logvalue": {
  17368. "description": "数值",
  17369. "type": "number"
  17370. },
  17371. "operatelogtype": {
  17372. "description": "操作流水类型",
  17373. "type": "integer"
  17374. },
  17375. "operatelogtypedesc": {
  17376. "description": "操作流水类型名称",
  17377. "type": "string"
  17378. },
  17379. "relatedid": {
  17380. "description": "现货合同ID\\套保计划",
  17381. "type": "string"
  17382. },
  17383. "updatetime": {
  17384. "description": "更新时间",
  17385. "type": "string"
  17386. }
  17387. }
  17388. },
  17389. "ermcp.QryUserInfoRsp": {
  17390. "type": "object",
  17391. "properties": {
  17392. "address": {
  17393. "description": "通讯地址",
  17394. "type": "string"
  17395. },
  17396. "attachment1": {
  17397. "description": "附件1",
  17398. "type": "string"
  17399. },
  17400. "audittime": {
  17401. "description": "审核时间",
  17402. "type": "string"
  17403. },
  17404. "cardbackphotourl": {
  17405. "description": "证件反面图片地址",
  17406. "type": "string"
  17407. },
  17408. "cardfrontphotourl": {
  17409. "description": "证件正面图片地址",
  17410. "type": "string"
  17411. },
  17412. "cardnum": {
  17413. "description": "证件号码",
  17414. "type": "string"
  17415. },
  17416. "cardtype": {
  17417. "description": "证件类型",
  17418. "type": "integer"
  17419. },
  17420. "cardtypename": {
  17421. "description": "证件类型名称",
  17422. "type": "string"
  17423. },
  17424. "cityid": {
  17425. "description": "市",
  17426. "type": "integer"
  17427. },
  17428. "contactname": {
  17429. "description": "联系人",
  17430. "type": "string"
  17431. },
  17432. "countryid": {
  17433. "description": "国家",
  17434. "type": "integer"
  17435. },
  17436. "createtime": {
  17437. "description": "创建时间",
  17438. "type": "string"
  17439. },
  17440. "customername": {
  17441. "description": "企业名称",
  17442. "type": "string"
  17443. },
  17444. "districtid": {
  17445. "description": "区域",
  17446. "type": "integer"
  17447. },
  17448. "email": {
  17449. "description": "邮件",
  17450. "type": "string"
  17451. },
  17452. "legalpersonname": {
  17453. "description": "法人姓名(企业)",
  17454. "type": "string"
  17455. },
  17456. "memberuserid": {
  17457. "description": "所属机构ID",
  17458. "type": "integer"
  17459. },
  17460. "mobile": {
  17461. "description": "手机号码",
  17462. "type": "string"
  17463. },
  17464. "modifytime": {
  17465. "description": "修改时间",
  17466. "type": "string"
  17467. },
  17468. "nickname": {
  17469. "description": "昵称",
  17470. "type": "string"
  17471. },
  17472. "provinceid": {
  17473. "description": "省",
  17474. "type": "integer"
  17475. },
  17476. "remark": {
  17477. "description": "备注",
  17478. "type": "string"
  17479. },
  17480. "status": {
  17481. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  17482. "type": "integer"
  17483. },
  17484. "statusdesc": {
  17485. "description": "账户状态中文描述",
  17486. "type": "string"
  17487. },
  17488. "taxpayernum": {
  17489. "description": "纳税人识别号",
  17490. "type": "string"
  17491. },
  17492. "telphone": {
  17493. "description": "联系电话",
  17494. "type": "string"
  17495. },
  17496. "userid": {
  17497. "description": "用户ID",
  17498. "type": "integer"
  17499. },
  17500. "userinfotype": {
  17501. "description": "客户类型",
  17502. "type": "string"
  17503. }
  17504. }
  17505. },
  17506. "ermcp.QryWarehouseRsp": {
  17507. "type": "object",
  17508. "properties": {
  17509. "address": {
  17510. "description": "详细地址",
  17511. "type": "string"
  17512. },
  17513. "areauserid": {
  17514. "description": "所属机构",
  17515. "type": "integer"
  17516. },
  17517. "autoid": {
  17518. "description": "自增ID(仓库ID)",
  17519. "type": "integer"
  17520. },
  17521. "cityid": {
  17522. "description": "市",
  17523. "type": "integer"
  17524. },
  17525. "contactname": {
  17526. "description": "联系人",
  17527. "type": "string"
  17528. },
  17529. "contactnum": {
  17530. "description": "联系电话",
  17531. "type": "string"
  17532. },
  17533. "countryid": {
  17534. "description": "国家",
  17535. "type": "integer"
  17536. },
  17537. "createtime": {
  17538. "description": "创建时间",
  17539. "type": "string"
  17540. },
  17541. "districtid": {
  17542. "description": "区",
  17543. "type": "integer"
  17544. },
  17545. "hasvideo": {
  17546. "description": "是否有视频 - 0:无 1:有",
  17547. "type": "integer"
  17548. },
  17549. "provinceid": {
  17550. "description": "省",
  17551. "type": "integer"
  17552. },
  17553. "remark": {
  17554. "description": "审核备注",
  17555. "type": "string"
  17556. },
  17557. "videourl": {
  17558. "description": "视频地址",
  17559. "type": "string"
  17560. },
  17561. "warehousecode": {
  17562. "description": "仓库代码",
  17563. "type": "string"
  17564. },
  17565. "warehousename": {
  17566. "description": "仓库名称",
  17567. "type": "string"
  17568. },
  17569. "warehousestatus": {
  17570. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17571. "type": "integer"
  17572. },
  17573. "warehousetype": {
  17574. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17575. "type": "integer"
  17576. }
  17577. }
  17578. },
  17579. "ermcp.QueryErmcpTradePositionRsp": {
  17580. "type": "object",
  17581. "properties": {
  17582. "agreeunit": {
  17583. "description": "合约单位",
  17584. "type": "number"
  17585. },
  17586. "buyorsell": {
  17587. "description": "方向 - 0:买 1:卖",
  17588. "type": "integer"
  17589. },
  17590. "curpositionqty": {
  17591. "description": "持仓(总仓数量, 期末头寸)",
  17592. "type": "integer"
  17593. },
  17594. "curtdposition": {
  17595. "description": "今仓数量(期末今日头寸)",
  17596. "type": "integer"
  17597. },
  17598. "curtdpositionenabled": {
  17599. "description": "今仓可用",
  17600. "type": "integer"
  17601. },
  17602. "decimalplace": {
  17603. "description": "报价小数位",
  17604. "type": "integer"
  17605. },
  17606. "enableqty": {
  17607. "description": "可用(总仓可用)",
  17608. "type": "integer"
  17609. },
  17610. "exexchangename": {
  17611. "description": "外部交易所名称",
  17612. "type": "string"
  17613. },
  17614. "exexehangecode": {
  17615. "description": "外部交易所代码",
  17616. "type": "string"
  17617. },
  17618. "exexehangeid": {
  17619. "description": "外部交易所id",
  17620. "type": "integer"
  17621. },
  17622. "goodscode": {
  17623. "description": "商品代码(内部)",
  17624. "type": "string"
  17625. },
  17626. "goodsid": {
  17627. "description": "商品ID(自增ID SEQ_GOODS)",
  17628. "type": "integer"
  17629. },
  17630. "goodsname": {
  17631. "description": "商品名称",
  17632. "type": "string"
  17633. },
  17634. "last": {
  17635. "description": "现价",
  17636. "type": "number"
  17637. },
  17638. "marketid": {
  17639. "description": "所属市场ID",
  17640. "type": "integer"
  17641. },
  17642. "openaverageprice": {
  17643. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  17644. "type": "number"
  17645. },
  17646. "opencost": {
  17647. "description": "开仓成本",
  17648. "type": "number"
  17649. },
  17650. "openpl": {
  17651. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17652. "type": "number"
  17653. },
  17654. "outgoodscode": {
  17655. "description": "商品代码(外部)",
  17656. "type": "string"
  17657. },
  17658. "positionaverageprice": {
  17659. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  17660. "type": "number"
  17661. },
  17662. "positioncost": {
  17663. "description": "持仓成本",
  17664. "type": "number"
  17665. },
  17666. "positionpl": {
  17667. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  17668. "type": "number"
  17669. },
  17670. "positionplrate": {
  17671. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  17672. "type": "number"
  17673. },
  17674. "usedmargin": {
  17675. "description": "占用保证金",
  17676. "type": "number"
  17677. }
  17678. }
  17679. },
  17680. "ermcp.RealtimeExposurePositionRsp": {
  17681. "type": "object",
  17682. "properties": {
  17683. "accountid": {
  17684. "description": "资金账号(只有外部账号才有值, 内部账号是根据userid汇总的)",
  17685. "type": "integer"
  17686. },
  17687. "agreeunit": {
  17688. "description": "合约单位",
  17689. "type": "string"
  17690. },
  17691. "areauserid": {
  17692. "description": "所属机构id",
  17693. "type": "integer"
  17694. },
  17695. "convertratio": {
  17696. "description": "期货品种系数(折算系数)",
  17697. "type": "number"
  17698. },
  17699. "curqty": {
  17700. "description": "当前持仓",
  17701. "type": "integer"
  17702. },
  17703. "diffhedgeqty": {
  17704. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  17705. "type": "number"
  17706. },
  17707. "diffqty": {
  17708. "description": "持仓变动量=当前持仓-昨日持仓",
  17709. "type": "integer"
  17710. },
  17711. "goodscode": {
  17712. "description": "商品代码",
  17713. "type": "string"
  17714. },
  17715. "goodsid": {
  17716. "description": "商品id",
  17717. "type": "integer"
  17718. },
  17719. "goodsname": {
  17720. "description": "商品名称",
  17721. "type": "string"
  17722. },
  17723. "hedgeaccountcode": {
  17724. "description": "对冲账号(只有外部账号才有值)",
  17725. "type": "string"
  17726. },
  17727. "middlegoodsid": {
  17728. "description": "套保商品id",
  17729. "type": "integer"
  17730. },
  17731. "ydqty": {
  17732. "description": "昨日持仓",
  17733. "type": "integer"
  17734. }
  17735. }
  17736. },
  17737. "ermcp.RealtimeExposureRsp": {
  17738. "type": "object",
  17739. "properties": {
  17740. "AreaUserID": {
  17741. "description": "所属机构",
  17742. "type": "integer"
  17743. },
  17744. "BuyFutureQty": {
  17745. "description": "买入期货数量",
  17746. "type": "number"
  17747. },
  17748. "BuyPlanQty": {
  17749. "description": "采购计划数量",
  17750. "type": "number"
  17751. },
  17752. "BuyPricedQty": {
  17753. "description": "采购合同已定价数量",
  17754. "type": "number"
  17755. },
  17756. "MiddleGoodsCode": {
  17757. "description": "套保品种代码",
  17758. "type": "string"
  17759. },
  17760. "MiddleGoodsHedgeRatio": {
  17761. "description": "套保比例",
  17762. "type": "number"
  17763. },
  17764. "MiddleGoodsID": {
  17765. "description": "套保品种",
  17766. "type": "integer"
  17767. },
  17768. "MiddleGoodsName": {
  17769. "description": "套保品种名称",
  17770. "type": "string"
  17771. },
  17772. "NeedHedgeExposoure": {
  17773. "description": "应套保敞口(套保敞口)",
  17774. "type": "number"
  17775. },
  17776. "NeedHedgeRatio": {
  17777. "description": "应套保敞口比例",
  17778. "type": "number"
  17779. },
  17780. "OriBuyFutureQty": {
  17781. "description": "期初买入期货数量",
  17782. "type": "number"
  17783. },
  17784. "OriBuyPlanQty": {
  17785. "description": "期初采购计划数量",
  17786. "type": "number"
  17787. },
  17788. "OriBuyPricedQty": {
  17789. "description": "期初采购合同已定价数量",
  17790. "type": "number"
  17791. },
  17792. "OriSellFutureQty": {
  17793. "description": "期初卖出期货数量",
  17794. "type": "number"
  17795. },
  17796. "OriSellPlanQty": {
  17797. "description": "期初销售计划数量",
  17798. "type": "number"
  17799. },
  17800. "OriSellPricedQty": {
  17801. "description": "期初销售合同已定价数量",
  17802. "type": "number"
  17803. },
  17804. "OriTotalSpotQty": {
  17805. "description": "期初现货总量",
  17806. "type": "number"
  17807. },
  17808. "SellFutureQty": {
  17809. "description": "卖出期货数量",
  17810. "type": "number"
  17811. },
  17812. "SellPlanQty": {
  17813. "description": "销售计划数量",
  17814. "type": "number"
  17815. },
  17816. "SellPricedQty": {
  17817. "description": "销售合同已定价数量",
  17818. "type": "number"
  17819. },
  17820. "TotalExposure": {
  17821. "description": "总敞口 平安:净敞口",
  17822. "type": "number"
  17823. },
  17824. "TotalFutureQty": {
  17825. "description": "期货总量 平安:保值净持仓量",
  17826. "type": "number"
  17827. },
  17828. "TotalHedgeRatio": {
  17829. "description": "敞口比例",
  17830. "type": "number"
  17831. },
  17832. "TotalNeedHedgeQty": {
  17833. "description": "应套保总量(现货应套保总量)",
  17834. "type": "number"
  17835. },
  17836. "TotalSpotQty": {
  17837. "description": "现货总量 平安:采销定价净值",
  17838. "type": "number"
  17839. },
  17840. "arbitrageqty": {
  17841. "description": "套利量",
  17842. "type": "number"
  17843. },
  17844. "diffArbitrageQty": {
  17845. "description": "套利变动量",
  17846. "type": "number"
  17847. },
  17848. "diffExposoureQty": {
  17849. "description": "变动量(套保敞口)",
  17850. "type": "number"
  17851. },
  17852. "diffFutuQty": {
  17853. "description": "变动量(期货总量) 平安:保值净持仓量今日变动",
  17854. "type": "number"
  17855. },
  17856. "diffHedgeQty": {
  17857. "description": "套保变动量",
  17858. "type": "number"
  17859. },
  17860. "diffQty": {
  17861. "description": "变动量(总敞口) 平安:净敞口今日变动",
  17862. "type": "number"
  17863. },
  17864. "diffSpotHedgeQty": {
  17865. "description": "变动量(现货应套保总量) 平安:应套保量今日变动",
  17866. "type": "number"
  17867. },
  17868. "diffSpotQty": {
  17869. "description": "变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动",
  17870. "type": "number"
  17871. },
  17872. "enumdicname": {
  17873. "description": "单位名称",
  17874. "type": "string"
  17875. },
  17876. "hedgeqty": {
  17877. "description": "套保量",
  17878. "type": "number"
  17879. },
  17880. "needarbitrageqty": {
  17881. "description": "应套利量",
  17882. "type": "number"
  17883. },
  17884. "needarbitrageratio": {
  17885. "description": "套利比例",
  17886. "type": "number"
  17887. },
  17888. "needhedgeqty": {
  17889. "description": "应套保量",
  17890. "type": "number"
  17891. },
  17892. "oriarbitrageqty": {
  17893. "description": "期初套利量",
  17894. "type": "number"
  17895. },
  17896. "orihedgeqty": {
  17897. "description": "期初套保量",
  17898. "type": "number"
  17899. },
  17900. "orineedhedgeexposoure": {
  17901. "description": "期初套保敞口",
  17902. "type": "number"
  17903. },
  17904. "oritotalexposure": {
  17905. "description": "期初总敞口",
  17906. "type": "number"
  17907. },
  17908. "oritotalfutureqty": {
  17909. "description": "期初期货总量",
  17910. "type": "number"
  17911. },
  17912. "oritotalneedhedgeqty": {
  17913. "description": "期初现货应套保量",
  17914. "type": "number"
  17915. }
  17916. }
  17917. },
  17918. "erms2.QueryArbitrageStrategyRsp": {
  17919. "type": "object",
  17920. "required": [
  17921. "asapplyid"
  17922. ],
  17923. "properties": {
  17924. "applybasis": {
  17925. "description": "申请基差",
  17926. "type": "number"
  17927. },
  17928. "asapplyid": {
  17929. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  17930. "type": "string"
  17931. },
  17932. "asname": {
  17933. "description": "策略名称",
  17934. "type": "string"
  17935. },
  17936. "asno": {
  17937. "description": "策略编号",
  17938. "type": "string"
  17939. },
  17940. "basischangepl": {
  17941. "description": "基差变动损益[结算更新]",
  17942. "type": "number"
  17943. },
  17944. "biztype": {
  17945. "description": "业务类型 - 1:正向套利 -1:反向套利",
  17946. "type": "integer"
  17947. },
  17948. "closetradedate": {
  17949. "description": "完结交易日(yyyyMMdd)",
  17950. "type": "string"
  17951. },
  17952. "curbasis": {
  17953. "description": "当前基差[结算更新]",
  17954. "type": "number"
  17955. },
  17956. "deliverygoodsid": {
  17957. "description": "现货品种ID",
  17958. "type": "integer"
  17959. },
  17960. "futureavgprice": {
  17961. "description": "期货建仓均价",
  17962. "type": "number"
  17963. },
  17964. "futurecloseamount": {
  17965. "description": "期货平仓金额",
  17966. "type": "number"
  17967. },
  17968. "futurecloseqty": {
  17969. "description": "期货平仓数量",
  17970. "type": "number"
  17971. },
  17972. "futureopenamount": {
  17973. "description": "期货开仓金额",
  17974. "type": "number"
  17975. },
  17976. "futureopenqty": {
  17977. "description": "期货开仓数量",
  17978. "type": "number"
  17979. },
  17980. "futurepl": {
  17981. "description": "期货总盈亏[结算更新]",
  17982. "type": "number"
  17983. },
  17984. "futureqty": {
  17985. "description": "期货持仓数量",
  17986. "type": "number"
  17987. },
  17988. "futurequote": {
  17989. "description": "期货额度",
  17990. "type": "number"
  17991. },
  17992. "goodsgroupid": {
  17993. "description": "期货品种ID",
  17994. "type": "integer"
  17995. },
  17996. "marketid": {
  17997. "description": "市场ID",
  17998. "type": "integer"
  17999. },
  18000. "netexposure": {
  18001. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  18002. "type": "number"
  18003. },
  18004. "netexposurepl": {
  18005. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  18006. "type": "number"
  18007. },
  18008. "netexposurerate": {
  18009. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  18010. "type": "number"
  18011. },
  18012. "openbasis": {
  18013. "description": "建仓基差",
  18014. "type": "number"
  18015. },
  18016. "pricedspotqty": {
  18017. "description": "已定价现货数量",
  18018. "type": "number"
  18019. },
  18020. "pricedspotqtynotax": {
  18021. "description": "已定价现货不含税数量",
  18022. "type": "number"
  18023. },
  18024. "remark": {
  18025. "description": "备注",
  18026. "type": "string"
  18027. },
  18028. "spotavgprice": {
  18029. "description": "现货均价",
  18030. "type": "number"
  18031. },
  18032. "spotbuyamount": {
  18033. "description": "现货采购金额",
  18034. "type": "number"
  18035. },
  18036. "spotbuyqty": {
  18037. "description": "现货采购数量",
  18038. "type": "number"
  18039. },
  18040. "spotpl": {
  18041. "description": "现货总盈亏[结算更新]",
  18042. "type": "number"
  18043. },
  18044. "spotquota": {
  18045. "description": "现货额度",
  18046. "type": "number"
  18047. },
  18048. "spotsellamount": {
  18049. "description": "现货销售金额",
  18050. "type": "number"
  18051. },
  18052. "spotsellqty": {
  18053. "description": "现货销售数量",
  18054. "type": "number"
  18055. },
  18056. "spotusedquota": {
  18057. "description": "现货占用资金",
  18058. "type": "number"
  18059. },
  18060. "strategystatus": {
  18061. "description": "策略状态 - 0:未结束 1:已结束",
  18062. "type": "integer"
  18063. },
  18064. "totalpl": {
  18065. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  18066. "type": "number"
  18067. },
  18068. "tradedate": {
  18069. "description": "交易日(yyyyMMdd)",
  18070. "type": "string"
  18071. },
  18072. "updatetime": {
  18073. "description": "更新时间",
  18074. "type": "string"
  18075. },
  18076. "usedquota": {
  18077. "description": "已占用资金",
  18078. "type": "number"
  18079. },
  18080. "userid": {
  18081. "description": "所属机构",
  18082. "type": "integer"
  18083. }
  18084. }
  18085. },
  18086. "erms2.QueryInnerTradeDetailRsp": {
  18087. "type": "object",
  18088. "required": [
  18089. "asapplyid",
  18090. "buyorsell",
  18091. "goodscode",
  18092. "goodsgroupid",
  18093. "goodsgroupname",
  18094. "goodsname",
  18095. "tradeid"
  18096. ],
  18097. "properties": {
  18098. "accountid": {
  18099. "description": "账号ID",
  18100. "type": "integer"
  18101. },
  18102. "agreeunit": {
  18103. "description": "合约单位",
  18104. "type": "number"
  18105. },
  18106. "asapplyid": {
  18107. "description": "策略申请ID",
  18108. "type": "integer"
  18109. },
  18110. "asname": {
  18111. "description": "策略名称",
  18112. "type": "string"
  18113. },
  18114. "asno": {
  18115. "description": "策略编号",
  18116. "type": "string"
  18117. },
  18118. "buyorsell": {
  18119. "description": "方向 - 0:买 1:卖",
  18120. "type": "integer"
  18121. },
  18122. "channelbuildtype": {
  18123. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  18124. "type": "integer"
  18125. },
  18126. "closetype": {
  18127. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  18128. "type": "integer"
  18129. },
  18130. "decimalplace": {
  18131. "description": "报价小数位",
  18132. "type": "integer"
  18133. },
  18134. "detailtype": {
  18135. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  18136. "type": "integer"
  18137. },
  18138. "exexchangecode": {
  18139. "description": "外部交易所代码",
  18140. "type": "string"
  18141. },
  18142. "exexchangename": {
  18143. "description": "外部交易所名称",
  18144. "type": "string"
  18145. },
  18146. "goodscode": {
  18147. "description": "商品代码(合约)",
  18148. "type": "string"
  18149. },
  18150. "goodsgroupid": {
  18151. "description": "商品组ID(品种ID)",
  18152. "type": "integer"
  18153. },
  18154. "goodsgroupname": {
  18155. "description": "商品组名称(品种)",
  18156. "type": "string"
  18157. },
  18158. "goodsid": {
  18159. "description": "商品ID",
  18160. "type": "integer"
  18161. },
  18162. "goodsname": {
  18163. "description": "商品名称(合约)",
  18164. "type": "string"
  18165. },
  18166. "goodunit": {
  18167. "description": "报价单位",
  18168. "type": "string"
  18169. },
  18170. "marketid": {
  18171. "description": "市场ID",
  18172. "type": "integer"
  18173. },
  18174. "orderid": {
  18175. "description": "委托单号",
  18176. "type": "string"
  18177. },
  18178. "outgoodscode": {
  18179. "description": "商品代码(外部)",
  18180. "type": "string"
  18181. },
  18182. "relatedouttradeid": {
  18183. "description": "关联外部成交单ID",
  18184. "type": "string"
  18185. },
  18186. "remark": {
  18187. "description": "备注",
  18188. "type": "string"
  18189. },
  18190. "spotcontractid": {
  18191. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  18192. "type": "integer"
  18193. },
  18194. "spotcontractno": {
  18195. "description": "现货合同编号",
  18196. "type": "string"
  18197. },
  18198. "tradeid": {
  18199. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18200. "type": "string"
  18201. },
  18202. "tradeprice": {
  18203. "description": "成交价格",
  18204. "type": "number"
  18205. },
  18206. "tradeqty": {
  18207. "description": "成交数量",
  18208. "type": "integer"
  18209. },
  18210. "tradetime": {
  18211. "description": "成交时间",
  18212. "type": "string"
  18213. },
  18214. "updatetime": {
  18215. "description": "更新时间",
  18216. "type": "string"
  18217. }
  18218. }
  18219. },
  18220. "erms2.QuerySpotContractRsp": {
  18221. "type": "object",
  18222. "required": [
  18223. "spotcontractid"
  18224. ],
  18225. "properties": {
  18226. "accountid": {
  18227. "description": "资金账户ID",
  18228. "type": "integer"
  18229. },
  18230. "areauserid": {
  18231. "description": "所属机构",
  18232. "type": "integer"
  18233. },
  18234. "closedate": {
  18235. "description": "终止日期",
  18236. "type": "string"
  18237. },
  18238. "closeremark": {
  18239. "description": "结束备注",
  18240. "type": "string"
  18241. },
  18242. "closetradedate": {
  18243. "description": "完结交易日(yyyyMMdd)",
  18244. "type": "string"
  18245. },
  18246. "closetype": {
  18247. "description": "终止类型 - 1:违约 2:提前终止",
  18248. "type": "integer"
  18249. },
  18250. "contractamount": {
  18251. "description": "合同金额",
  18252. "type": "number"
  18253. },
  18254. "contractattachment": {
  18255. "description": "合同附件",
  18256. "type": "string"
  18257. },
  18258. "contractno": {
  18259. "description": "现货合同编号",
  18260. "type": "string"
  18261. },
  18262. "contractqty": {
  18263. "description": "合同数量(数值) (用于计算)",
  18264. "type": "number"
  18265. },
  18266. "contractqtychar": {
  18267. "description": "合同数量\\已订价数量 (用于显示)",
  18268. "type": "string"
  18269. },
  18270. "contractstatus": {
  18271. "description": "合同状态 - 0:未结束 1:已结束",
  18272. "type": "integer"
  18273. },
  18274. "contracttype": {
  18275. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  18276. "type": "integer"
  18277. },
  18278. "customeraccountid": {
  18279. "description": "客户资金账户ID",
  18280. "type": "integer"
  18281. },
  18282. "customeruserid": {
  18283. "description": "客户ID",
  18284. "type": "integer"
  18285. },
  18286. "deliverygoodsdesc": {
  18287. "description": "品种说明",
  18288. "type": "string"
  18289. },
  18290. "deliverygoodsid": {
  18291. "description": "现货品种ID",
  18292. "type": "integer"
  18293. },
  18294. "handlestatus": {
  18295. "description": "处理状态",
  18296. "type": "integer"
  18297. },
  18298. "invoiceatt": {
  18299. "description": "发票附件",
  18300. "type": "string"
  18301. },
  18302. "invoicedatetime": {
  18303. "description": "开收票更新时间",
  18304. "type": "string"
  18305. },
  18306. "invoiceopentime": {
  18307. "description": "开票时间",
  18308. "type": "string"
  18309. },
  18310. "invoiceremark": {
  18311. "description": "发票备注",
  18312. "type": "string"
  18313. },
  18314. "invoicestatus": {
  18315. "description": "开收票状态 - 0:未开票 1:已开票",
  18316. "type": "integer"
  18317. },
  18318. "lastdate": {
  18319. "description": "交货时间",
  18320. "type": "string"
  18321. },
  18322. "marketid": {
  18323. "description": "市场ID",
  18324. "type": "integer"
  18325. },
  18326. "paydatetime": {
  18327. "description": "收付款更新时间",
  18328. "type": "string"
  18329. },
  18330. "payremark": {
  18331. "description": "收付款备注",
  18332. "type": "string"
  18333. },
  18334. "paystatus": {
  18335. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  18336. "type": "integer"
  18337. },
  18338. "positionqty": {
  18339. "description": "头寸数量 - 合同数量去小数部分",
  18340. "type": "integer"
  18341. },
  18342. "producttype": {
  18343. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18344. "type": "integer"
  18345. },
  18346. "relatedqty": {
  18347. "description": "已关联数量",
  18348. "type": "number"
  18349. },
  18350. "relatedstatus": {
  18351. "description": "关联完结状态 - 0:未结束 1:已结束",
  18352. "type": "integer"
  18353. },
  18354. "remark": {
  18355. "description": "备注",
  18356. "type": "string"
  18357. },
  18358. "signdate": {
  18359. "description": "签订日期",
  18360. "type": "string"
  18361. },
  18362. "spotcontractid": {
  18363. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  18364. "type": "string"
  18365. },
  18366. "spotdatetime": {
  18367. "description": "收发货更新时间",
  18368. "type": "string"
  18369. },
  18370. "spotprice": {
  18371. "description": "价格",
  18372. "type": "number"
  18373. },
  18374. "spotremark": {
  18375. "description": "收发货备注",
  18376. "type": "string"
  18377. },
  18378. "spotstatus": {
  18379. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  18380. "type": "integer"
  18381. },
  18382. "tradedate": {
  18383. "description": "交易日(yyyyMMdd)",
  18384. "type": "string"
  18385. },
  18386. "userid": {
  18387. "description": "业务员用户ID",
  18388. "type": "integer"
  18389. },
  18390. "warehouseid": {
  18391. "description": "仓库ID",
  18392. "type": "integer"
  18393. },
  18394. "wrfactortypeid": {
  18395. "description": "仓单要素类型ID",
  18396. "type": "integer"
  18397. },
  18398. "wrstandardid": {
  18399. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  18400. "type": "integer"
  18401. }
  18402. }
  18403. },
  18404. "erms3.AddErms2ASApplyReq": {
  18405. "type": "object",
  18406. "required": [
  18407. "asapplyid"
  18408. ],
  18409. "properties": {
  18410. "applybasis": {
  18411. "description": "申请基差",
  18412. "type": "number"
  18413. },
  18414. "applystatus": {
  18415. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18416. "type": "integer"
  18417. },
  18418. "asapplyid": {
  18419. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  18420. "type": "integer"
  18421. },
  18422. "asname": {
  18423. "description": "策略名称",
  18424. "type": "string"
  18425. },
  18426. "asno": {
  18427. "description": "策略编号",
  18428. "type": "string"
  18429. },
  18430. "auditid": {
  18431. "description": "审核人",
  18432. "type": "integer"
  18433. },
  18434. "auditremark": {
  18435. "description": "审核备注",
  18436. "type": "string"
  18437. },
  18438. "audittime": {
  18439. "description": "审核时间",
  18440. "type": "string"
  18441. },
  18442. "biztype": {
  18443. "description": "业务类型 - 1:正向套利 2:反向套利",
  18444. "type": "integer"
  18445. },
  18446. "createtime": {
  18447. "description": "创建时间",
  18448. "type": "string"
  18449. },
  18450. "creatorid": {
  18451. "description": "创建人",
  18452. "type": "integer"
  18453. },
  18454. "deliverygoodsid": {
  18455. "description": "现货品种ID",
  18456. "type": "integer"
  18457. },
  18458. "futurequote": {
  18459. "description": "期货额度",
  18460. "type": "number"
  18461. },
  18462. "goodsgroupid": {
  18463. "description": "期货品种ID",
  18464. "type": "integer"
  18465. },
  18466. "marketid": {
  18467. "description": "市场ID",
  18468. "type": "integer"
  18469. },
  18470. "remark": {
  18471. "description": "备注",
  18472. "type": "string"
  18473. },
  18474. "spotquota": {
  18475. "description": "现货额度",
  18476. "type": "number"
  18477. },
  18478. "tradedate": {
  18479. "description": "交易日(yyyyMMdd)",
  18480. "type": "string"
  18481. },
  18482. "userid": {
  18483. "description": "所属机构",
  18484. "type": "integer"
  18485. }
  18486. }
  18487. },
  18488. "erms3.AddErms2SpotTradeApplyReq": {
  18489. "type": "object",
  18490. "required": [
  18491. "spottradeid"
  18492. ],
  18493. "properties": {
  18494. "applyjsondetail": {
  18495. "description": "申请明细(JSON)",
  18496. "type": "string"
  18497. },
  18498. "applystatus": {
  18499. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18500. "type": "integer"
  18501. },
  18502. "areauserid": {
  18503. "description": "所属机构",
  18504. "type": "integer"
  18505. },
  18506. "auditid": {
  18507. "description": "审核人",
  18508. "type": "integer"
  18509. },
  18510. "auditremark": {
  18511. "description": "审核备注",
  18512. "type": "string"
  18513. },
  18514. "audittime": {
  18515. "description": "审核时间",
  18516. "type": "string"
  18517. },
  18518. "createtime": {
  18519. "description": "创建时间",
  18520. "type": "string"
  18521. },
  18522. "creatorid": {
  18523. "description": "创建人",
  18524. "type": "integer"
  18525. },
  18526. "deliverygoodsid": {
  18527. "description": "现货品种ID",
  18528. "type": "integer"
  18529. },
  18530. "futureaccountid": {
  18531. "description": "期货资金账户",
  18532. "type": "integer"
  18533. },
  18534. "goodsgroupid": {
  18535. "description": "期货品种",
  18536. "type": "integer"
  18537. },
  18538. "marketid": {
  18539. "description": "市场ID",
  18540. "type": "integer"
  18541. },
  18542. "remark": {
  18543. "description": "备注",
  18544. "type": "string"
  18545. },
  18546. "spotaccountid": {
  18547. "description": "现货资金账户",
  18548. "type": "integer"
  18549. },
  18550. "spottradeid": {
  18551. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  18552. "type": "integer"
  18553. },
  18554. "spottradename": {
  18555. "description": "业务名称",
  18556. "type": "string"
  18557. },
  18558. "spottradeno": {
  18559. "description": "业务编号",
  18560. "type": "string"
  18561. },
  18562. "tradedate": {
  18563. "description": "交易日(yyyyMMdd)",
  18564. "type": "string"
  18565. },
  18566. "wrstandardid": {
  18567. "description": "仓单标准ID",
  18568. "type": "integer"
  18569. }
  18570. }
  18571. },
  18572. "erms3.AddSpotContractApplyReq": {
  18573. "type": "object",
  18574. "required": [
  18575. "accountid",
  18576. "areauserid",
  18577. "contractno",
  18578. "contracttype",
  18579. "customeraccountid",
  18580. "customeruserid",
  18581. "details",
  18582. "orimargin",
  18583. "signdate"
  18584. ],
  18585. "properties": {
  18586. "accountid": {
  18587. "description": "资金账户ID",
  18588. "type": "integer"
  18589. },
  18590. "areauserid": {
  18591. "description": "所属机构",
  18592. "type": "integer"
  18593. },
  18594. "contractattachment": {
  18595. "description": "合同附件",
  18596. "type": "string"
  18597. },
  18598. "contractno": {
  18599. "description": "现货合同编号",
  18600. "type": "string"
  18601. },
  18602. "contracttype": {
  18603. "description": "现货合同类型 - 1:采购 -1:销售",
  18604. "type": "integer"
  18605. },
  18606. "creatorid": {
  18607. "description": "申请人",
  18608. "type": "integer"
  18609. },
  18610. "customeraccountid": {
  18611. "description": "客户资金账户ID",
  18612. "type": "integer"
  18613. },
  18614. "customeruserid": {
  18615. "description": "客户ID",
  18616. "type": "integer"
  18617. },
  18618. "details": {
  18619. "description": "明细",
  18620. "type": "array",
  18621. "items": {
  18622. "$ref": "#/definitions/erms3.SoptContractDetail"
  18623. }
  18624. },
  18625. "orimargin": {
  18626. "description": "初始保证金",
  18627. "type": "number"
  18628. },
  18629. "remark": {
  18630. "description": "备注",
  18631. "type": "string"
  18632. },
  18633. "signdate": {
  18634. "description": "签订日期",
  18635. "type": "string"
  18636. }
  18637. }
  18638. },
  18639. "erms3.AddSpotContractApplyRsp": {
  18640. "type": "object",
  18641. "required": [
  18642. "contractno"
  18643. ],
  18644. "properties": {
  18645. "contractno": {
  18646. "description": "现货合同编号",
  18647. "type": "string"
  18648. },
  18649. "spotcontractid": {
  18650. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  18651. "type": "integer"
  18652. }
  18653. }
  18654. },
  18655. "erms3.AddUserInfoApplyReq": {
  18656. "type": "object",
  18657. "required": [
  18658. "userid"
  18659. ],
  18660. "properties": {
  18661. "accountid": {
  18662. "description": "交易系统帐号Id (加密存储)",
  18663. "type": "integer"
  18664. },
  18665. "areacode": {
  18666. "description": "机构代码",
  18667. "type": "string"
  18668. },
  18669. "areaid": {
  18670. "description": "机构Id",
  18671. "type": "integer"
  18672. },
  18673. "attachment1": {
  18674. "description": "附件1",
  18675. "type": "string"
  18676. },
  18677. "attachment2": {
  18678. "description": "附件2",
  18679. "type": "string"
  18680. },
  18681. "attachment3": {
  18682. "description": "附件3",
  18683. "type": "string"
  18684. },
  18685. "attachment4": {
  18686. "description": "附件4",
  18687. "type": "string"
  18688. },
  18689. "attachment5": {
  18690. "description": "附件5",
  18691. "type": "string"
  18692. },
  18693. "auditedby": {
  18694. "description": "审核人",
  18695. "type": "string"
  18696. },
  18697. "auditime": {
  18698. "description": "审核时间",
  18699. "type": "string"
  18700. },
  18701. "auditsrc": {
  18702. "description": "审核来源 - 1:管理端 2:终端",
  18703. "type": "integer"
  18704. },
  18705. "bankaccount": {
  18706. "description": "银行帐号 (加密存储)",
  18707. "type": "string"
  18708. },
  18709. "bankaccountname": {
  18710. "description": "收款人名称",
  18711. "type": "string"
  18712. },
  18713. "bankcardbackphotourl": {
  18714. "description": "银行卡背面照地址",
  18715. "type": "string"
  18716. },
  18717. "bankcardfrontphotourl": {
  18718. "description": "银行卡正面照地址",
  18719. "type": "string"
  18720. },
  18721. "bankid": {
  18722. "description": "银行编码",
  18723. "type": "string"
  18724. },
  18725. "bankname": {
  18726. "description": "银行名称",
  18727. "type": "string"
  18728. },
  18729. "bankpictureurl": {
  18730. "description": "银行卡正面地址",
  18731. "type": "string"
  18732. },
  18733. "biznature": {
  18734. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18735. "type": "integer"
  18736. },
  18737. "bizscope": {
  18738. "description": "企业经营范围(企业)",
  18739. "type": "string"
  18740. },
  18741. "biztype": {
  18742. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  18743. "type": "integer"
  18744. },
  18745. "brokerid": {
  18746. "description": "经纪人ID(加密存储)",
  18747. "type": "string"
  18748. },
  18749. "cardaddress": {
  18750. "description": "证件地址 (加密存储)",
  18751. "type": "string"
  18752. },
  18753. "cardbackphotourl": {
  18754. "description": "背面证件照地址",
  18755. "type": "string"
  18756. },
  18757. "cardfrontphotourl": {
  18758. "description": "正面证件照地址",
  18759. "type": "string"
  18760. },
  18761. "cardnum": {
  18762. "description": "证件号码 (加密存储)",
  18763. "type": "string"
  18764. },
  18765. "cardtype": {
  18766. "description": "证件类型",
  18767. "type": "integer"
  18768. },
  18769. "cityid": {
  18770. "description": "市",
  18771. "type": "integer"
  18772. },
  18773. "company": {
  18774. "description": "公司(个人)",
  18775. "type": "string"
  18776. },
  18777. "contactcardbackphotourl": {
  18778. "description": "联系人证件背面图片地址",
  18779. "type": "string"
  18780. },
  18781. "contactcardfrontphotourl": {
  18782. "description": "联系人证件正面图片地址",
  18783. "type": "string"
  18784. },
  18785. "contactname": {
  18786. "description": "联系人",
  18787. "type": "string"
  18788. },
  18789. "countryid": {
  18790. "description": "国家",
  18791. "type": "integer"
  18792. },
  18793. "createtime": {
  18794. "description": "开户申请时间",
  18795. "type": "string"
  18796. },
  18797. "cusbankid": {
  18798. "description": "签约类型",
  18799. "type": "string"
  18800. },
  18801. "cusbankname": {
  18802. "description": "签约类型名称",
  18803. "type": "string"
  18804. },
  18805. "customername": {
  18806. "description": "客户名称(企业名称)",
  18807. "type": "string"
  18808. },
  18809. "districtid": {
  18810. "description": "地区",
  18811. "type": "integer"
  18812. },
  18813. "email": {
  18814. "description": "Email地址(加密存储)",
  18815. "type": "string"
  18816. },
  18817. "halfbodyphotourl": {
  18818. "description": "半身照地址",
  18819. "type": "string"
  18820. },
  18821. "headurl": {
  18822. "description": "头像地址",
  18823. "type": "string"
  18824. },
  18825. "ipaddress": {
  18826. "description": "IP地址",
  18827. "type": "string"
  18828. },
  18829. "isvalidate": {
  18830. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  18831. "type": "string"
  18832. },
  18833. "legalcardbackphotourl": {
  18834. "description": "法人身份证背面照地址",
  18835. "type": "string"
  18836. },
  18837. "legalcardfrontphotourl": {
  18838. "description": "法人身份证正面照地址",
  18839. "type": "string"
  18840. },
  18841. "legalpersonname": {
  18842. "description": "法人姓名(企业)",
  18843. "type": "string"
  18844. },
  18845. "logincode": {
  18846. "description": "登录帐号 (加密存储)",
  18847. "type": "string"
  18848. },
  18849. "memberareaid": {
  18850. "description": "所属会员ID",
  18851. "type": "integer"
  18852. },
  18853. "mobile2": {
  18854. "description": "手机号码[明文-尚志]",
  18855. "type": "string"
  18856. },
  18857. "mobilephone": {
  18858. "description": "手机号码 (加密存储)",
  18859. "type": "string"
  18860. },
  18861. "modifiedby": {
  18862. "description": "修改人帐号",
  18863. "type": "integer"
  18864. },
  18865. "modifiedtime": {
  18866. "description": "修改时间",
  18867. "type": "string"
  18868. },
  18869. "nickname": {
  18870. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  18871. "type": "string"
  18872. },
  18873. "openmode": {
  18874. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  18875. "type": "integer"
  18876. },
  18877. "otherurl": {
  18878. "description": "其它图片地址[使用分号分隔]",
  18879. "type": "string"
  18880. },
  18881. "postalcode": {
  18882. "description": "邮政编码",
  18883. "type": "string"
  18884. },
  18885. "provinceid": {
  18886. "description": "省",
  18887. "type": "integer"
  18888. },
  18889. "proxystatementurl": {
  18890. "description": "授权委托书",
  18891. "type": "string"
  18892. },
  18893. "qq": {
  18894. "description": "QQ(加密存储",
  18895. "type": "string"
  18896. },
  18897. "referral": {
  18898. "description": "推荐人编码",
  18899. "type": "string"
  18900. },
  18901. "remark": {
  18902. "description": "备注",
  18903. "type": "string"
  18904. },
  18905. "removebeforestatus": {
  18906. "description": "REMOVEBEFORESTATUS",
  18907. "type": "integer"
  18908. },
  18909. "sex": {
  18910. "description": "性别 - 0:女 1:男",
  18911. "type": "integer"
  18912. },
  18913. "signedstatus": {
  18914. "description": "账户一号签签约状态",
  18915. "type": "integer"
  18916. },
  18917. "signpdfurl": {
  18918. "description": "签约pdf文件",
  18919. "type": "string"
  18920. },
  18921. "subbranch": {
  18922. "description": "开户支行",
  18923. "type": "string"
  18924. },
  18925. "taxpayernum": {
  18926. "description": "纳税人识别号",
  18927. "type": "string"
  18928. },
  18929. "telphone": {
  18930. "description": "联系电话(加密存储)",
  18931. "type": "string"
  18932. },
  18933. "userid": {
  18934. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  18935. "type": "integer"
  18936. },
  18937. "userinfotype": {
  18938. "description": "用户信息类型 - 1:个人 2:企业",
  18939. "type": "integer"
  18940. },
  18941. "username": {
  18942. "description": "用户姓名",
  18943. "type": "string"
  18944. },
  18945. "userstate": {
  18946. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  18947. "type": "integer"
  18948. },
  18949. "usertype": {
  18950. "description": "用户类型 - 1:投资者 2:机构",
  18951. "type": "integer"
  18952. },
  18953. "videourl": {
  18954. "description": "视频地址",
  18955. "type": "string"
  18956. },
  18957. "wechat": {
  18958. "description": "微信号 (加密存储)",
  18959. "type": "string"
  18960. }
  18961. }
  18962. },
  18963. "erms3.CustomerInfo": {
  18964. "type": "object",
  18965. "required": [
  18966. "userid"
  18967. ],
  18968. "properties": {
  18969. "accountids": {
  18970. "description": "资金账户ID列表",
  18971. "type": "array",
  18972. "items": {
  18973. "type": "integer"
  18974. }
  18975. },
  18976. "customername": {
  18977. "description": "名称(企业名称)",
  18978. "type": "string"
  18979. },
  18980. "mobile": {
  18981. "description": "手机号码",
  18982. "type": "string"
  18983. },
  18984. "userid": {
  18985. "description": "用户ID",
  18986. "type": "integer"
  18987. }
  18988. }
  18989. },
  18990. "erms3.ModifyUserInfoApplyReq": {
  18991. "type": "object",
  18992. "required": [
  18993. "userid"
  18994. ],
  18995. "properties": {
  18996. "accountid": {
  18997. "description": "交易系统帐号Id (加密存储)",
  18998. "type": "integer"
  18999. },
  19000. "areacode": {
  19001. "description": "机构代码",
  19002. "type": "string"
  19003. },
  19004. "areaid": {
  19005. "description": "机构Id",
  19006. "type": "integer"
  19007. },
  19008. "attachment1": {
  19009. "description": "附件1",
  19010. "type": "string"
  19011. },
  19012. "attachment2": {
  19013. "description": "附件2",
  19014. "type": "string"
  19015. },
  19016. "attachment3": {
  19017. "description": "附件3",
  19018. "type": "string"
  19019. },
  19020. "attachment4": {
  19021. "description": "附件4",
  19022. "type": "string"
  19023. },
  19024. "attachment5": {
  19025. "description": "附件5",
  19026. "type": "string"
  19027. },
  19028. "auditedby": {
  19029. "description": "审核人",
  19030. "type": "string"
  19031. },
  19032. "auditime": {
  19033. "description": "审核时间",
  19034. "type": "string"
  19035. },
  19036. "auditsrc": {
  19037. "description": "审核来源 - 1:管理端 2:终端",
  19038. "type": "integer"
  19039. },
  19040. "bankaccount": {
  19041. "description": "银行帐号 (加密存储)",
  19042. "type": "string"
  19043. },
  19044. "bankaccountname": {
  19045. "description": "收款人名称",
  19046. "type": "string"
  19047. },
  19048. "bankcardbackphotourl": {
  19049. "description": "银行卡背面照地址",
  19050. "type": "string"
  19051. },
  19052. "bankcardfrontphotourl": {
  19053. "description": "银行卡正面照地址",
  19054. "type": "string"
  19055. },
  19056. "bankid": {
  19057. "description": "银行编码",
  19058. "type": "string"
  19059. },
  19060. "bankname": {
  19061. "description": "银行名称",
  19062. "type": "string"
  19063. },
  19064. "bankpictureurl": {
  19065. "description": "银行卡正面地址",
  19066. "type": "string"
  19067. },
  19068. "biznature": {
  19069. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19070. "type": "integer"
  19071. },
  19072. "bizscope": {
  19073. "description": "企业经营范围(企业)",
  19074. "type": "string"
  19075. },
  19076. "biztype": {
  19077. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  19078. "type": "integer"
  19079. },
  19080. "brokerid": {
  19081. "description": "经纪人ID(加密存储)",
  19082. "type": "string"
  19083. },
  19084. "cardaddress": {
  19085. "description": "证件地址 (加密存储)",
  19086. "type": "string"
  19087. },
  19088. "cardbackphotourl": {
  19089. "description": "背面证件照地址",
  19090. "type": "string"
  19091. },
  19092. "cardfrontphotourl": {
  19093. "description": "正面证件照地址",
  19094. "type": "string"
  19095. },
  19096. "cardnum": {
  19097. "description": "证件号码 (加密存储)",
  19098. "type": "string"
  19099. },
  19100. "cardtype": {
  19101. "description": "证件类型",
  19102. "type": "integer"
  19103. },
  19104. "cityid": {
  19105. "description": "市",
  19106. "type": "integer"
  19107. },
  19108. "company": {
  19109. "description": "公司(个人)",
  19110. "type": "string"
  19111. },
  19112. "contactcardbackphotourl": {
  19113. "description": "联系人证件背面图片地址",
  19114. "type": "string"
  19115. },
  19116. "contactcardfrontphotourl": {
  19117. "description": "联系人证件正面图片地址",
  19118. "type": "string"
  19119. },
  19120. "contactname": {
  19121. "description": "联系人",
  19122. "type": "string"
  19123. },
  19124. "countryid": {
  19125. "description": "国家",
  19126. "type": "integer"
  19127. },
  19128. "createtime": {
  19129. "description": "开户申请时间",
  19130. "type": "string"
  19131. },
  19132. "cusbankid": {
  19133. "description": "签约类型",
  19134. "type": "string"
  19135. },
  19136. "cusbankname": {
  19137. "description": "签约类型名称",
  19138. "type": "string"
  19139. },
  19140. "customername": {
  19141. "description": "客户名称(企业名称)",
  19142. "type": "string"
  19143. },
  19144. "districtid": {
  19145. "description": "地区",
  19146. "type": "integer"
  19147. },
  19148. "email": {
  19149. "description": "Email地址(加密存储)",
  19150. "type": "string"
  19151. },
  19152. "halfbodyphotourl": {
  19153. "description": "半身照地址",
  19154. "type": "string"
  19155. },
  19156. "headurl": {
  19157. "description": "头像地址",
  19158. "type": "string"
  19159. },
  19160. "ipaddress": {
  19161. "description": "IP地址",
  19162. "type": "string"
  19163. },
  19164. "isvalidate": {
  19165. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  19166. "type": "string"
  19167. },
  19168. "legalcardbackphotourl": {
  19169. "description": "法人身份证背面照地址",
  19170. "type": "string"
  19171. },
  19172. "legalcardfrontphotourl": {
  19173. "description": "法人身份证正面照地址",
  19174. "type": "string"
  19175. },
  19176. "legalpersonname": {
  19177. "description": "法人姓名(企业)",
  19178. "type": "string"
  19179. },
  19180. "logincode": {
  19181. "description": "登录帐号 (加密存储)",
  19182. "type": "string"
  19183. },
  19184. "memberareaid": {
  19185. "description": "所属会员ID",
  19186. "type": "integer"
  19187. },
  19188. "mobile2": {
  19189. "description": "手机号码[明文-尚志]",
  19190. "type": "string"
  19191. },
  19192. "mobilephone": {
  19193. "description": "手机号码 (加密存储)",
  19194. "type": "string"
  19195. },
  19196. "modifiedby": {
  19197. "description": "修改人帐号",
  19198. "type": "integer"
  19199. },
  19200. "modifiedtime": {
  19201. "description": "修改时间",
  19202. "type": "string"
  19203. },
  19204. "nickname": {
  19205. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  19206. "type": "string"
  19207. },
  19208. "openmode": {
  19209. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  19210. "type": "integer"
  19211. },
  19212. "otherurl": {
  19213. "description": "其它图片地址[使用分号分隔]",
  19214. "type": "string"
  19215. },
  19216. "postalcode": {
  19217. "description": "邮政编码",
  19218. "type": "string"
  19219. },
  19220. "provinceid": {
  19221. "description": "省",
  19222. "type": "integer"
  19223. },
  19224. "proxystatementurl": {
  19225. "description": "授权委托书",
  19226. "type": "string"
  19227. },
  19228. "qq": {
  19229. "description": "QQ(加密存储",
  19230. "type": "string"
  19231. },
  19232. "referral": {
  19233. "description": "推荐人编码",
  19234. "type": "string"
  19235. },
  19236. "remark": {
  19237. "description": "备注",
  19238. "type": "string"
  19239. },
  19240. "removebeforestatus": {
  19241. "description": "REMOVEBEFORESTATUS",
  19242. "type": "integer"
  19243. },
  19244. "sex": {
  19245. "description": "性别 - 0:女 1:男",
  19246. "type": "integer"
  19247. },
  19248. "signedstatus": {
  19249. "description": "账户一号签签约状态",
  19250. "type": "integer"
  19251. },
  19252. "signpdfurl": {
  19253. "description": "签约pdf文件",
  19254. "type": "string"
  19255. },
  19256. "subbranch": {
  19257. "description": "开户支行",
  19258. "type": "string"
  19259. },
  19260. "taxpayernum": {
  19261. "description": "纳税人识别号",
  19262. "type": "string"
  19263. },
  19264. "telphone": {
  19265. "description": "联系电话(加密存储)",
  19266. "type": "string"
  19267. },
  19268. "userid": {
  19269. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  19270. "type": "integer"
  19271. },
  19272. "userinfotype": {
  19273. "description": "用户信息类型 - 1:个人 2:企业",
  19274. "type": "integer"
  19275. },
  19276. "username": {
  19277. "description": "用户姓名",
  19278. "type": "string"
  19279. },
  19280. "userstate": {
  19281. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19282. "type": "integer"
  19283. },
  19284. "usertype": {
  19285. "description": "用户类型 - 1:投资者 2:机构",
  19286. "type": "integer"
  19287. },
  19288. "videourl": {
  19289. "description": "视频地址",
  19290. "type": "string"
  19291. },
  19292. "wechat": {
  19293. "description": "微信号 (加密存储)",
  19294. "type": "string"
  19295. }
  19296. }
  19297. },
  19298. "erms3.QryAuditContractRsp": {
  19299. "type": "object",
  19300. "required": [
  19301. "matchcustomername",
  19302. "spotcontractid"
  19303. ],
  19304. "properties": {
  19305. "accountid": {
  19306. "description": "交易员ID",
  19307. "type": "string"
  19308. },
  19309. "applystatus": {
  19310. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19311. "type": "integer"
  19312. },
  19313. "curdeliveryqty": {
  19314. "description": "未交收量",
  19315. "type": "integer"
  19316. },
  19317. "customername": {
  19318. "description": "采购方ID",
  19319. "type": "string"
  19320. },
  19321. "deliverygoodsid": {
  19322. "description": "品种ID",
  19323. "type": "string"
  19324. },
  19325. "deliveryqty": {
  19326. "description": "交收量",
  19327. "type": "integer"
  19328. },
  19329. "enumdicname": {
  19330. "description": "单位名称",
  19331. "type": "string"
  19332. },
  19333. "matchaccountid": {
  19334. "description": "业务员ID",
  19335. "type": "string"
  19336. },
  19337. "matchcustomername": {
  19338. "description": "销售方ID",
  19339. "type": "string"
  19340. },
  19341. "pricedqty": {
  19342. "description": "定价量",
  19343. "type": "number"
  19344. },
  19345. "signdate": {
  19346. "description": "签订日期",
  19347. "type": "string"
  19348. },
  19349. "spotcontractid": {
  19350. "description": "合同ID",
  19351. "type": "string"
  19352. },
  19353. "totaldqty": {
  19354. "description": "合同量",
  19355. "type": "number"
  19356. },
  19357. "unpricedqty": {
  19358. "description": "未定价量",
  19359. "type": "number"
  19360. },
  19361. "wrstandardname": {
  19362. "description": "商品名称",
  19363. "type": "string"
  19364. }
  19365. }
  19366. },
  19367. "erms3.QryPendingBizRsp": {
  19368. "type": "object",
  19369. "properties": {
  19370. "accountid": {
  19371. "description": "现货账户",
  19372. "type": "string"
  19373. },
  19374. "areaname": {
  19375. "description": "所属部门",
  19376. "type": "string"
  19377. },
  19378. "bizid": {
  19379. "description": "业务ID",
  19380. "type": "string"
  19381. },
  19382. "bizname": {
  19383. "description": "业务名称",
  19384. "type": "string"
  19385. },
  19386. "status": {
  19387. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19388. "type": "integer"
  19389. },
  19390. "type": {
  19391. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  19392. "type": "integer"
  19393. }
  19394. }
  19395. },
  19396. "erms3.QueryBusinessInfoRsp": {
  19397. "type": "object",
  19398. "properties": {
  19399. "businessid": {
  19400. "description": "业务ID.",
  19401. "type": "integer"
  19402. },
  19403. "buyamount": {
  19404. "description": "采购额.",
  19405. "type": "number"
  19406. },
  19407. "buyqty": {
  19408. "description": "采购量.",
  19409. "type": "string"
  19410. },
  19411. "futurepl": {
  19412. "description": "期货盈亏.",
  19413. "type": "number"
  19414. },
  19415. "futureqty": {
  19416. "description": "期货敞口.",
  19417. "type": "string"
  19418. },
  19419. "goodsid": {
  19420. "description": "商品名称/商品代码.",
  19421. "type": "string"
  19422. },
  19423. "hedgingqty": {
  19424. "description": "套保量.",
  19425. "type": "string"
  19426. },
  19427. "sellamount": {
  19428. "description": "销售额.",
  19429. "type": "number"
  19430. },
  19431. "sellqty": {
  19432. "description": "销售量.",
  19433. "type": "string"
  19434. },
  19435. "spotmarketvalue": {
  19436. "description": "现货市值.",
  19437. "type": "number"
  19438. },
  19439. "spotpl": {
  19440. "description": "浮动权益.",
  19441. "type": "number"
  19442. },
  19443. "spotqty": {
  19444. "description": "现货量.",
  19445. "type": "string"
  19446. },
  19447. "statu": {
  19448. "description": "状态,0-未结束 1-已结束.",
  19449. "type": "integer"
  19450. },
  19451. "totalpl": {
  19452. "description": "总盈亏.",
  19453. "type": "number"
  19454. },
  19455. "totalqty": {
  19456. "description": "总敞口.",
  19457. "type": "string"
  19458. },
  19459. "type": {
  19460. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  19461. "type": "integer"
  19462. }
  19463. }
  19464. },
  19465. "erms3.QuerySpotContractAppleFormRsp": {
  19466. "type": "object",
  19467. "properties": {
  19468. "goodses": {
  19469. "description": "合约列表",
  19470. "type": "array",
  19471. "items": {
  19472. "$ref": "#/definitions/models.GoodsIDAndName"
  19473. }
  19474. },
  19475. "oppositeusers": {
  19476. "description": "对方账号列表",
  19477. "type": "array",
  19478. "items": {
  19479. "$ref": "#/definitions/erms3.CustomerInfo"
  19480. }
  19481. },
  19482. "ouruser": {
  19483. "description": "我方账号",
  19484. "$ref": "#/definitions/erms3.CustomerInfo"
  19485. },
  19486. "warehouseinfos": {
  19487. "description": "仓库信息列表",
  19488. "type": "array",
  19489. "items": {
  19490. "$ref": "#/definitions/models.Warehouseinfo"
  19491. }
  19492. },
  19493. "wrstandards": {
  19494. "description": "仓单标准列表",
  19495. "type": "array",
  19496. "items": {
  19497. "$ref": "#/definitions/models.WRStandardInfo"
  19498. }
  19499. }
  19500. }
  19501. },
  19502. "erms3.QuerySpotContractInfoRsp": {
  19503. "type": "object",
  19504. "properties": {
  19505. "accountid": {
  19506. "description": "表示交易员ID.",
  19507. "type": "integer"
  19508. },
  19509. "curdeliveryqty": {
  19510. "description": "表示未交收量.",
  19511. "type": "number"
  19512. },
  19513. "customername": {
  19514. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  19515. "type": "string"
  19516. },
  19517. "deliverygoodsid": {
  19518. "description": "表示品种ID.",
  19519. "type": "string"
  19520. },
  19521. "deliveryqty": {
  19522. "description": "表示交收量.",
  19523. "type": "number"
  19524. },
  19525. "matchaccountid": {
  19526. "description": "表示业务员ID.",
  19527. "type": "integer"
  19528. },
  19529. "matchcustomername": {
  19530. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  19531. "type": "string"
  19532. },
  19533. "priceqty": {
  19534. "description": "表示定价量.",
  19535. "type": "number"
  19536. },
  19537. "relatedbizid": {
  19538. "description": "表示业务ID.",
  19539. "type": "string"
  19540. },
  19541. "signdate": {
  19542. "description": "表示签订日期.",
  19543. "type": "string"
  19544. },
  19545. "spotcontractid": {
  19546. "description": "合同ID",
  19547. "type": "string"
  19548. },
  19549. "status": {
  19550. "description": "表示状态,0-履约中 1-已完成.",
  19551. "type": "integer"
  19552. },
  19553. "totalqty": {
  19554. "description": "表示合同量.",
  19555. "type": "number"
  19556. },
  19557. "unpricedqty": {
  19558. "description": "表示未定价量.",
  19559. "type": "number"
  19560. },
  19561. "wrstandardname": {
  19562. "description": "表示商品ID.",
  19563. "type": "string"
  19564. }
  19565. }
  19566. },
  19567. "erms3.QueryUserInfoAppliesRsp": {
  19568. "type": "object",
  19569. "required": [
  19570. "userid"
  19571. ],
  19572. "properties": {
  19573. "biznature": {
  19574. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19575. "type": "integer"
  19576. },
  19577. "contactname": {
  19578. "description": "联系人",
  19579. "type": "string"
  19580. },
  19581. "createtime": {
  19582. "description": "开户申请时间",
  19583. "type": "string"
  19584. },
  19585. "userid": {
  19586. "description": "用户ID(自增ID)",
  19587. "type": "integer"
  19588. },
  19589. "userinfotype": {
  19590. "description": "用户信息类型 - 1:个人 2:企业",
  19591. "type": "integer"
  19592. },
  19593. "username": {
  19594. "description": "用户姓名",
  19595. "type": "string"
  19596. },
  19597. "userstate": {
  19598. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  19599. "type": "integer"
  19600. }
  19601. }
  19602. },
  19603. "erms3.QueryUserInfosRsp": {
  19604. "type": "object",
  19605. "required": [
  19606. "userid"
  19607. ],
  19608. "properties": {
  19609. "biznature": {
  19610. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19611. "type": "integer"
  19612. },
  19613. "contactname": {
  19614. "description": "联系人",
  19615. "type": "string"
  19616. },
  19617. "customername": {
  19618. "description": "客户名称(企业名称)",
  19619. "type": "string"
  19620. },
  19621. "userid": {
  19622. "description": "用户ID",
  19623. "type": "integer"
  19624. },
  19625. "userinfotype": {
  19626. "description": "用户信息类型 - 1:个人 2:企业",
  19627. "type": "integer"
  19628. },
  19629. "userstatus": {
  19630. "description": "用户状态 - 1:正常 2:注销",
  19631. "type": "integer"
  19632. }
  19633. }
  19634. },
  19635. "erms3.SoptContractDetail": {
  19636. "type": "object",
  19637. "required": [
  19638. "deliverygoodsid",
  19639. "producttype",
  19640. "unitname",
  19641. "warehouseid",
  19642. "wrstandardid",
  19643. "wrstandardname"
  19644. ],
  19645. "properties": {
  19646. "deliverygoodsdesc": {
  19647. "description": "现货品种说明",
  19648. "type": "string"
  19649. },
  19650. "deliverygoodsid": {
  19651. "description": "现货品种ID",
  19652. "type": "integer"
  19653. },
  19654. "deliverygoodsname": {
  19655. "description": "现货品种名称",
  19656. "type": "string"
  19657. },
  19658. "pointdesc": {
  19659. "description": "点价描述",
  19660. "type": "string"
  19661. },
  19662. "producttype": {
  19663. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  19664. "type": "integer"
  19665. },
  19666. "producttypename": {
  19667. "description": "产品类型名称",
  19668. "type": "string"
  19669. },
  19670. "spotPointOrderVoList": {
  19671. "description": "点价列表",
  19672. "type": "array",
  19673. "items": {
  19674. "$ref": "#/definitions/erms3.SpotPointOrder"
  19675. }
  19676. },
  19677. "spotPriceOrderList": {
  19678. "description": "定价列表",
  19679. "type": "array",
  19680. "items": {
  19681. "$ref": "#/definitions/erms3.SpotPriceOrder"
  19682. }
  19683. },
  19684. "unitname": {
  19685. "description": "单位名称",
  19686. "type": "string"
  19687. },
  19688. "warehouseid": {
  19689. "description": "仓库ID",
  19690. "type": "integer"
  19691. },
  19692. "warehousename": {
  19693. "description": "仓库名称",
  19694. "type": "string"
  19695. },
  19696. "wrstandardid": {
  19697. "description": "交易标的ID",
  19698. "type": "integer"
  19699. },
  19700. "wrstandardname": {
  19701. "description": "交易标的名称",
  19702. "type": "string"
  19703. }
  19704. }
  19705. },
  19706. "erms3.SpotPointOrder": {
  19707. "type": "object",
  19708. "required": [
  19709. "basic",
  19710. "goodsid",
  19711. "qty"
  19712. ],
  19713. "properties": {
  19714. "basic": {
  19715. "description": "基差",
  19716. "type": "number"
  19717. },
  19718. "deliveryenddate": {
  19719. "description": "交收结束日期",
  19720. "type": "string"
  19721. },
  19722. "deliverystartdate": {
  19723. "description": "交收开始日期",
  19724. "type": "string"
  19725. },
  19726. "enddate": {
  19727. "description": "点价结束日期",
  19728. "type": "string"
  19729. },
  19730. "goodsid": {
  19731. "description": "商品ID",
  19732. "type": "integer"
  19733. },
  19734. "goodsname": {
  19735. "description": "商品名称",
  19736. "type": "string"
  19737. },
  19738. "qty": {
  19739. "description": "数量",
  19740. "type": "number"
  19741. },
  19742. "startdate": {
  19743. "description": "点价开始日期",
  19744. "type": "string"
  19745. }
  19746. }
  19747. },
  19748. "erms3.SpotPriceOrder": {
  19749. "type": "object",
  19750. "required": [
  19751. "amount",
  19752. "price",
  19753. "qty"
  19754. ],
  19755. "properties": {
  19756. "amount": {
  19757. "description": "金额",
  19758. "type": "number"
  19759. },
  19760. "deliveryenddate": {
  19761. "description": "交收结束日期",
  19762. "type": "string"
  19763. },
  19764. "deliverystartdate": {
  19765. "description": "交收开始日期",
  19766. "type": "string"
  19767. },
  19768. "price": {
  19769. "description": "价格",
  19770. "type": "number"
  19771. },
  19772. "qty": {
  19773. "description": "数量",
  19774. "type": "number"
  19775. }
  19776. }
  19777. },
  19778. "hsby.GetHsbyMyCountRsp": {
  19779. "type": "object",
  19780. "properties": {
  19781. "myCouponCount": {
  19782. "description": "我的优惠卷数量",
  19783. "type": "integer"
  19784. },
  19785. "myOrderDetailListingCount": {
  19786. "description": "我的订单求购中数量",
  19787. "type": "integer"
  19788. },
  19789. "myOrderDetailPreCount": {
  19790. "description": "我的订单抢购中数量",
  19791. "type": "integer"
  19792. },
  19793. "myPackageUnReceiveCount": {
  19794. "description": "我的包裹待收货数量",
  19795. "type": "integer"
  19796. },
  19797. "myPackageUnSendCount": {
  19798. "description": "我的包裹待发货数量",
  19799. "type": "integer"
  19800. },
  19801. "myPayOrderCount": {
  19802. "description": "我的订单待付款数量",
  19803. "type": "integer"
  19804. }
  19805. }
  19806. },
  19807. "hsby.QueryProvincesAndCitiesRsp": {
  19808. "type": "object",
  19809. "properties": {
  19810. "cities": {
  19811. "description": "市",
  19812. "type": "array",
  19813. "items": {
  19814. "$ref": "#/definitions/models.Division"
  19815. }
  19816. },
  19817. "province": {
  19818. "description": "省",
  19819. "$ref": "#/definitions/models.Division"
  19820. }
  19821. }
  19822. },
  19823. "models.Arearole": {
  19824. "type": "object",
  19825. "required": [
  19826. "roletype",
  19827. "userid"
  19828. ],
  19829. "properties": {
  19830. "createtime": {
  19831. "description": "创建时间",
  19832. "type": "string"
  19833. },
  19834. "creatorid": {
  19835. "description": "创建人ID",
  19836. "type": "integer"
  19837. },
  19838. "fromuserid": {
  19839. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  19840. "type": "integer"
  19841. },
  19842. "isreturnscore": {
  19843. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  19844. "type": "integer"
  19845. },
  19846. "modifierid": {
  19847. "description": "修改人ID",
  19848. "type": "integer"
  19849. },
  19850. "modifytime": {
  19851. "description": "修改时间",
  19852. "type": "string"
  19853. },
  19854. "orgtype": {
  19855. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  19856. "type": "integer"
  19857. },
  19858. "outuserid": {
  19859. "description": "外部账户[场外期权做市商]",
  19860. "type": "string"
  19861. },
  19862. "parentuserid": {
  19863. "description": "上级组织机构(组织机构)",
  19864. "type": "integer"
  19865. },
  19866. "roletype": {
  19867. "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:门店",
  19868. "type": "integer"
  19869. },
  19870. "rootuserid": {
  19871. "description": "顶级组织机构用户ID(组织机构)",
  19872. "type": "integer"
  19873. },
  19874. "shoppassword": {
  19875. "description": "商城店铺登陆密码(商城店铺角色使用)",
  19876. "type": "string"
  19877. },
  19878. "sublevelpath": {
  19879. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  19880. "type": "string"
  19881. },
  19882. "suborgtype": {
  19883. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  19884. "type": "integer"
  19885. },
  19886. "tradeaccountid": {
  19887. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  19888. "type": "integer"
  19889. },
  19890. "transurl": {
  19891. "description": "物流地址(物流机构)",
  19892. "type": "string"
  19893. },
  19894. "userid": {
  19895. "description": "机构用户ID其他做市关系,都设置为 1",
  19896. "type": "integer"
  19897. }
  19898. }
  19899. },
  19900. "models.Clientfixedadconfig": {
  19901. "type": "object",
  19902. "required": [
  19903. "adsort",
  19904. "adtype"
  19905. ],
  19906. "properties": {
  19907. "adsort": {
  19908. "description": "排序",
  19909. "type": "integer"
  19910. },
  19911. "adtype": {
  19912. "description": "广告位类型 - 1:新品抢购(HSBY)",
  19913. "type": "integer"
  19914. },
  19915. "areauserid": {
  19916. "description": "所属机构ID",
  19917. "type": "integer"
  19918. },
  19919. "createdate": {
  19920. "description": "创建时间",
  19921. "type": "string"
  19922. },
  19923. "creatorid": {
  19924. "description": "创建人",
  19925. "type": "integer"
  19926. },
  19927. "imagepath": {
  19928. "description": "图片",
  19929. "type": "string"
  19930. },
  19931. "isshow": {
  19932. "description": "是否展示 - 0:不展示 1:展示",
  19933. "type": "integer"
  19934. },
  19935. "modifierid": {
  19936. "description": "操作人",
  19937. "type": "integer"
  19938. },
  19939. "recsize": {
  19940. "description": "推荐尺寸",
  19941. "type": "string"
  19942. },
  19943. "title": {
  19944. "description": "标题",
  19945. "type": "string"
  19946. },
  19947. "updatedate": {
  19948. "description": "更新时间",
  19949. "type": "string"
  19950. },
  19951. "urlcontent": {
  19952. "description": "链接(地址或商品ID)",
  19953. "type": "string"
  19954. },
  19955. "urltype": {
  19956. "description": "链接类型 - 1:直接地址 2:商品ID",
  19957. "type": "integer"
  19958. }
  19959. }
  19960. },
  19961. "models.DgFactoryItem": {
  19962. "type": "object",
  19963. "properties": {
  19964. "dgfactoryitemid": {
  19965. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  19966. "type": "integer"
  19967. },
  19968. "dgfactoryitemtypeid": {
  19969. "description": "要素项类型",
  19970. "type": "integer"
  19971. },
  19972. "dgfactoryitemvalue": {
  19973. "description": "要素项值(类型为仓库时填写仓库名称)",
  19974. "type": "string"
  19975. },
  19976. "orderindex": {
  19977. "description": "顺序",
  19978. "type": "integer"
  19979. }
  19980. }
  19981. },
  19982. "models.Division": {
  19983. "type": "object",
  19984. "required": [
  19985. "autoid",
  19986. "divisioncode"
  19987. ],
  19988. "properties": {
  19989. "autoid": {
  19990. "description": "自增ID",
  19991. "type": "integer"
  19992. },
  19993. "divisioncode": {
  19994. "description": "行政代码",
  19995. "type": "string"
  19996. },
  19997. "divisionlevel": {
  19998. "description": "行政级别",
  19999. "type": "string"
  20000. },
  20001. "divisionname": {
  20002. "description": "行政名称",
  20003. "type": "string"
  20004. },
  20005. "modifierid": {
  20006. "description": "修改人",
  20007. "type": "integer"
  20008. },
  20009. "modifytime": {
  20010. "description": "修改时间",
  20011. "type": "string"
  20012. },
  20013. "parentcode": {
  20014. "description": "上级行政代码",
  20015. "type": "string"
  20016. },
  20017. "pathname": {
  20018. "description": "路径名称",
  20019. "type": "string"
  20020. },
  20021. "postcode": {
  20022. "description": "邮政编码",
  20023. "type": "string"
  20024. },
  20025. "separablename": {
  20026. "description": "可拆分的全称",
  20027. "type": "string"
  20028. },
  20029. "shortcode": {
  20030. "description": "地区简码",
  20031. "type": "string"
  20032. }
  20033. }
  20034. },
  20035. "models.Enumdicitem": {
  20036. "type": "object",
  20037. "required": [
  20038. "autoid",
  20039. "enumdiccode",
  20040. "enumdicid",
  20041. "enumitemname"
  20042. ],
  20043. "properties": {
  20044. "autoid": {
  20045. "description": "自增ID",
  20046. "type": "integer"
  20047. },
  20048. "bankmappedvalue": {
  20049. "description": "银行服务对应值",
  20050. "type": "string"
  20051. },
  20052. "enumdiccode": {
  20053. "description": "所属枚举代码",
  20054. "type": "string"
  20055. },
  20056. "enumdicid": {
  20057. "description": "所属枚举ID",
  20058. "type": "integer"
  20059. },
  20060. "enumdicname": {
  20061. "description": "枚举项名称",
  20062. "type": "string"
  20063. },
  20064. "enumitemname": {
  20065. "description": "枚举项值",
  20066. "type": "integer"
  20067. },
  20068. "enumitemstatus": {
  20069. "description": "枚举项状态 - 1.启用 2.不启用",
  20070. "type": "integer"
  20071. },
  20072. "enumitemvalue": {
  20073. "description": "通用值 - [币种通用简写]",
  20074. "type": "string"
  20075. },
  20076. "param1": {
  20077. "description": "参数1[币种:币种小数位]",
  20078. "type": "string"
  20079. },
  20080. "param2": {
  20081. "description": "参数1[币种:币种显示单位]",
  20082. "type": "string"
  20083. },
  20084. "remark": {
  20085. "description": "备注",
  20086. "type": "string"
  20087. }
  20088. }
  20089. },
  20090. "models.Ermcp2hedgeditem": {
  20091. "type": "object",
  20092. "properties": {
  20093. "accountName": {
  20094. "description": "套期主体",
  20095. "type": "string"
  20096. },
  20097. "applyid": {
  20098. "description": "申请人",
  20099. "type": "integer"
  20100. },
  20101. "applysrc": {
  20102. "description": "申请来源 - 1:管理端 2:终端",
  20103. "type": "integer"
  20104. },
  20105. "areauserid": {
  20106. "description": "企业ID",
  20107. "type": "integer"
  20108. },
  20109. "auditid": {
  20110. "description": "审核人",
  20111. "type": "integer"
  20112. },
  20113. "auditremark": {
  20114. "description": "审核备注",
  20115. "type": "string"
  20116. },
  20117. "auditsrc": {
  20118. "description": "审核来源 - 1:管理端 2:终端",
  20119. "type": "integer"
  20120. },
  20121. "audittime": {
  20122. "description": "审核时间",
  20123. "type": "string"
  20124. },
  20125. "audittradedate": {
  20126. "description": "审核交易日(yyyyMMdd)",
  20127. "type": "string"
  20128. },
  20129. "createtime": {
  20130. "description": "申请时间",
  20131. "type": "string"
  20132. },
  20133. "curprice": {
  20134. "description": "当前市场价",
  20135. "type": "number"
  20136. },
  20137. "curstock": {
  20138. "description": "期末库存量 = 采购总量 - 销售总量",
  20139. "type": "number"
  20140. },
  20141. "deliverygoodsid": {
  20142. "description": "现货品种ID",
  20143. "type": "integer"
  20144. },
  20145. "enddate": {
  20146. "description": "完成日期",
  20147. "type": "string"
  20148. },
  20149. "endtradedate": {
  20150. "description": "完成交易日",
  20151. "type": "string"
  20152. },
  20153. "enumdicname": {
  20154. "description": "单位",
  20155. "type": "string"
  20156. },
  20157. "exeamount": {
  20158. "description": "执行市价总额",
  20159. "type": "number"
  20160. },
  20161. "exeavgprice": {
  20162. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  20163. "type": "number"
  20164. },
  20165. "execontractamount": {
  20166. "description": "执行定价总额",
  20167. "type": "number"
  20168. },
  20169. "exeqty": {
  20170. "description": "执行现货量",
  20171. "type": "number"
  20172. },
  20173. "exerestamount": {
  20174. "description": "执行剩余市价总额【现货贸易】",
  20175. "type": "number"
  20176. },
  20177. "futurefloatpl": {
  20178. "description": "期货浮动损益",
  20179. "type": "number"
  20180. },
  20181. "futurehedgepl": {
  20182. "description": "期货实际损益",
  20183. "type": "number"
  20184. },
  20185. "futurehedgeplchange": {
  20186. "description": "期货实际损益变动",
  20187. "type": "number"
  20188. },
  20189. "futurepl": {
  20190. "description": "期货套期损益",
  20191. "type": "number"
  20192. },
  20193. "futureplchange": {
  20194. "description": "期货套期损益变动",
  20195. "type": "number"
  20196. },
  20197. "hedgeamount": {
  20198. "description": "套期市价总额",
  20199. "type": "number"
  20200. },
  20201. "hedgecontractamount": {
  20202. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  20203. "type": "number"
  20204. },
  20205. "hedgeditemid": {
  20206. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  20207. "type": "string"
  20208. },
  20209. "hedgeditemname": {
  20210. "description": "项目名称",
  20211. "type": "string"
  20212. },
  20213. "hedgeditemnum": {
  20214. "description": "项目编号",
  20215. "type": "string"
  20216. },
  20217. "hedgeditemstatus": {
  20218. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20219. "type": "integer"
  20220. },
  20221. "hedgedtype": {
  20222. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  20223. "type": "integer"
  20224. },
  20225. "hedgeqty": {
  20226. "description": "套期现货量",
  20227. "type": "number"
  20228. },
  20229. "hedgerate": {
  20230. "description": "套保比率",
  20231. "type": "number"
  20232. },
  20233. "hedgerestamount": {
  20234. "description": "套期剩余市价总额【现货贸易】",
  20235. "type": "number"
  20236. },
  20237. "hedgesumpl": {
  20238. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  20239. "type": "number"
  20240. },
  20241. "middlegoodslist": {
  20242. "description": "套期商品列表",
  20243. "type": "array",
  20244. "items": {
  20245. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  20246. }
  20247. },
  20248. "oriavgprice": {
  20249. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  20250. "type": "number"
  20251. },
  20252. "orifuturehedgepl": {
  20253. "description": "期初期货实际损益",
  20254. "type": "number"
  20255. },
  20256. "orifuturepl": {
  20257. "description": "期初期货套期损益",
  20258. "type": "number"
  20259. },
  20260. "orispothedgepl": {
  20261. "description": "期初现货实际损益",
  20262. "type": "number"
  20263. },
  20264. "orispotpl": {
  20265. "description": "期初现货套期损益",
  20266. "type": "number"
  20267. },
  20268. "planenddate": {
  20269. "description": "计划结束日期",
  20270. "type": "string"
  20271. },
  20272. "planstartdate": {
  20273. "description": "计划开始日期",
  20274. "type": "string"
  20275. },
  20276. "remark": {
  20277. "description": "备注",
  20278. "type": "string"
  20279. },
  20280. "spotbookamount": {
  20281. "description": "现货账面总额",
  20282. "type": "number"
  20283. },
  20284. "spotfloatpl": {
  20285. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  20286. "type": "number"
  20287. },
  20288. "spothedgepl": {
  20289. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  20290. "type": "number"
  20291. },
  20292. "spothedgeplchange": {
  20293. "description": "现货实际损益变动",
  20294. "type": "number"
  20295. },
  20296. "spotpl": {
  20297. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  20298. "type": "number"
  20299. },
  20300. "spotplchange": {
  20301. "description": "现货套期损益变动",
  20302. "type": "number"
  20303. },
  20304. "spottradepl": {
  20305. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  20306. "type": "number"
  20307. },
  20308. "sumobspl": {
  20309. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  20310. "type": "number"
  20311. },
  20312. "tradeuserid": {
  20313. "description": "交易用户ID",
  20314. "type": "integer"
  20315. },
  20316. "unexeqty": {
  20317. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  20318. "type": "number"
  20319. },
  20320. "updatetime": {
  20321. "description": "更新时间",
  20322. "type": "string"
  20323. },
  20324. "vatpl": {
  20325. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  20326. "type": "number"
  20327. },
  20328. "vatrate": {
  20329. "description": "增值税",
  20330. "type": "number"
  20331. },
  20332. "wrstandardid": {
  20333. "description": "现货商品ID",
  20334. "type": "integer"
  20335. },
  20336. "wrstandardname": {
  20337. "description": "商品名称",
  20338. "type": "string"
  20339. }
  20340. }
  20341. },
  20342. "models.Ermcp2himiddlegoods": {
  20343. "type": "object",
  20344. "required": [
  20345. "hedgeditemid",
  20346. "middlegoodsid"
  20347. ],
  20348. "properties": {
  20349. "futurehedgeqty": {
  20350. "description": "期货持仓套期量",
  20351. "type": "number"
  20352. },
  20353. "hedgeditemid": {
  20354. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  20355. "type": "integer"
  20356. },
  20357. "hiexpsoure": {
  20358. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  20359. "type": "number"
  20360. },
  20361. "middlegoodscode": {
  20362. "description": "套保商品代码",
  20363. "type": "string"
  20364. },
  20365. "middlegoodsid": {
  20366. "description": "套保品种ID",
  20367. "type": "integer"
  20368. },
  20369. "middlegoodsname": {
  20370. "description": "套保商品名称",
  20371. "type": "string"
  20372. },
  20373. "unexehedgeqty": {
  20374. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  20375. "type": "number"
  20376. }
  20377. }
  20378. },
  20379. "models.Ermcp3AreaSpot": {
  20380. "type": "object",
  20381. "properties": {
  20382. "areauserid": {
  20383. "description": "所属机构",
  20384. "type": "integer"
  20385. },
  20386. "convertratio": {
  20387. "description": "套保系数",
  20388. "type": "number"
  20389. },
  20390. "decreaseqty": {
  20391. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  20392. "type": "number"
  20393. },
  20394. "enumdicname": {
  20395. "description": "单位名称",
  20396. "type": "string"
  20397. },
  20398. "increaseqty": {
  20399. "description": "增加数量=销售计划数量+采购已定价数量",
  20400. "type": "number"
  20401. },
  20402. "oritoalspotqty": {
  20403. "description": "昨日数量",
  20404. "type": "number"
  20405. },
  20406. "totalspotqty": {
  20407. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  20408. "type": "number"
  20409. },
  20410. "unitid": {
  20411. "description": "现货商品单位id",
  20412. "type": "integer"
  20413. },
  20414. "updatetime": {
  20415. "description": "更新时间",
  20416. "type": "string"
  20417. },
  20418. "wrstandardcode": {
  20419. "description": "现货商品代码",
  20420. "type": "string"
  20421. },
  20422. "wrstandardid": {
  20423. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20424. "type": "integer"
  20425. },
  20426. "wrstandardname": {
  20427. "description": "现货商品名称",
  20428. "type": "string"
  20429. }
  20430. }
  20431. },
  20432. "models.Ermcp3AreaSpotDetail": {
  20433. "type": "object",
  20434. "properties": {
  20435. "contracttype": {
  20436. "description": "合同类型 1-采购 -1-销售",
  20437. "type": "integer"
  20438. },
  20439. "createtime": {
  20440. "description": "创建时间",
  20441. "type": "string"
  20442. },
  20443. "enumdicname": {
  20444. "description": "现货商品单位名称",
  20445. "type": "string"
  20446. },
  20447. "logtype": {
  20448. "description": "记录类型 1-套保 2-现货合同",
  20449. "type": "integer"
  20450. },
  20451. "qty": {
  20452. "description": "数量",
  20453. "type": "number"
  20454. },
  20455. "recordname": {
  20456. "description": "类型名称",
  20457. "type": "string"
  20458. },
  20459. "relatedid": {
  20460. "description": "套保计划ID/现货合同ID",
  20461. "type": "string"
  20462. },
  20463. "relatedno": {
  20464. "description": "编号",
  20465. "type": "string"
  20466. },
  20467. "strtime": {
  20468. "description": "时间",
  20469. "type": "string"
  20470. },
  20471. "wrstandardcode": {
  20472. "description": "现货商品代码",
  20473. "type": "string"
  20474. },
  20475. "wrstandardid": {
  20476. "description": "现货商品ID(SEQ_WRSTANDARD)",
  20477. "type": "integer"
  20478. },
  20479. "wrstandardname": {
  20480. "description": "现货商品名称",
  20481. "type": "string"
  20482. }
  20483. }
  20484. },
  20485. "models.Ermcp3AreaSpotPLReport": {
  20486. "type": "object",
  20487. "properties": {
  20488. "accountid": {
  20489. "description": "期货账户ID (作废, 默认为0)",
  20490. "type": "integer"
  20491. },
  20492. "accountname": {
  20493. "description": "机构名称",
  20494. "type": "string"
  20495. },
  20496. "actualpl": {
  20497. "description": "现货损益",
  20498. "type": "number"
  20499. },
  20500. "areauserid": {
  20501. "description": "所属机构\\交易用户ID",
  20502. "type": "integer"
  20503. },
  20504. "begindate": {
  20505. "description": "开始交易日",
  20506. "type": "string"
  20507. },
  20508. "biztype": {
  20509. "description": "业务类型 - 1:套保 2:套利",
  20510. "type": "integer"
  20511. },
  20512. "brandname": {
  20513. "description": "品牌名称",
  20514. "type": "string"
  20515. },
  20516. "curamount": {
  20517. "description": "期末额",
  20518. "type": "number"
  20519. },
  20520. "curaverageprice": {
  20521. "description": "期末均价",
  20522. "type": "number"
  20523. },
  20524. "curbuyamount": {
  20525. "description": "期末采购总额",
  20526. "type": "number"
  20527. },
  20528. "curbuyqty": {
  20529. "description": "期末采购总量",
  20530. "type": "number"
  20531. },
  20532. "curmarketvalue": {
  20533. "description": "参考市值(期末市值)",
  20534. "type": "number"
  20535. },
  20536. "curqty": {
  20537. "description": "期末量",
  20538. "type": "number"
  20539. },
  20540. "currencyid": {
  20541. "description": "结算币种ID【原值】",
  20542. "type": "integer"
  20543. },
  20544. "currencyname": {
  20545. "description": "币种名称",
  20546. "type": "string"
  20547. },
  20548. "cursellamount": {
  20549. "description": "期末销售总额",
  20550. "type": "number"
  20551. },
  20552. "cursellqty": {
  20553. "description": "期末销售总量",
  20554. "type": "number"
  20555. },
  20556. "curspotprice": {
  20557. "description": "参考市价(最新价)",
  20558. "type": "number"
  20559. },
  20560. "cycletime": {
  20561. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  20562. "type": "string"
  20563. },
  20564. "cycletype": {
  20565. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  20566. "type": "integer"
  20567. },
  20568. "deliverygoodscode": {
  20569. "description": "现货品种代码",
  20570. "type": "string"
  20571. },
  20572. "deliverygoodsid": {
  20573. "description": "现货品种ID",
  20574. "type": "integer"
  20575. },
  20576. "deliverygoodsname": {
  20577. "description": "现货品种名称",
  20578. "type": "string"
  20579. },
  20580. "enddate": {
  20581. "description": "结束交易日",
  20582. "type": "string"
  20583. },
  20584. "enumdicname": {
  20585. "description": "现货品种单位名称(作废)",
  20586. "type": "string"
  20587. },
  20588. "floatpl": {
  20589. "description": "浮动损益",
  20590. "type": "number"
  20591. },
  20592. "goodsunitid": {
  20593. "description": "现货品种单位id(作废)",
  20594. "type": "integer"
  20595. },
  20596. "oriamount": {
  20597. "description": "期初额",
  20598. "type": "number"
  20599. },
  20600. "oriaverageprice": {
  20601. "description": "期初均价",
  20602. "type": "number"
  20603. },
  20604. "oribuyamount": {
  20605. "description": "期初采购总额",
  20606. "type": "number"
  20607. },
  20608. "oribuyqty": {
  20609. "description": "期初采购总量",
  20610. "type": "number"
  20611. },
  20612. "oriqty": {
  20613. "description": "期初量",
  20614. "type": "number"
  20615. },
  20616. "orisellamount": {
  20617. "description": "期初销售总额",
  20618. "type": "number"
  20619. },
  20620. "orisellqty": {
  20621. "description": "期初销售总量",
  20622. "type": "number"
  20623. },
  20624. "reckondate": {
  20625. "description": "日照时期(yyyyMMdd)",
  20626. "type": "string"
  20627. },
  20628. "spotgoodsbrandid": {
  20629. "description": "现货品牌ID",
  20630. "type": "integer"
  20631. },
  20632. "todaybuyamount": {
  20633. "description": "今日采购额(今采购额)",
  20634. "type": "number"
  20635. },
  20636. "todaybuyaverageprice": {
  20637. "description": "今日采购均价",
  20638. "type": "number"
  20639. },
  20640. "todaybuyqty": {
  20641. "description": "今日采购量(今采购量)",
  20642. "type": "number"
  20643. },
  20644. "todayinqty": {
  20645. "description": "今日入库量(今入库量)",
  20646. "type": "number"
  20647. },
  20648. "todayoutqty": {
  20649. "description": "今日出库量(今出库量)",
  20650. "type": "number"
  20651. },
  20652. "todaysellamount": {
  20653. "description": "今日销售额(今销售额)",
  20654. "type": "number"
  20655. },
  20656. "todaysellaverageprice": {
  20657. "description": "今日销售均价",
  20658. "type": "number"
  20659. },
  20660. "todaysellqty": {
  20661. "description": "今日销售量(今销售量)",
  20662. "type": "number"
  20663. },
  20664. "unitid": {
  20665. "description": "品类单位id",
  20666. "type": "integer"
  20667. },
  20668. "unitidname": {
  20669. "description": "品类单位名称",
  20670. "type": "string"
  20671. },
  20672. "updatetime": {
  20673. "description": "更新时间",
  20674. "type": "string"
  20675. },
  20676. "wrfactortypeid": {
  20677. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  20678. "type": "integer"
  20679. },
  20680. "wrstandardcode": {
  20681. "description": "现货商品(品类)代码",
  20682. "type": "string"
  20683. },
  20684. "wrstandardid": {
  20685. "description": "现货品类ID",
  20686. "type": "integer"
  20687. },
  20688. "wrstandardname": {
  20689. "description": "现货商品(品类)名称",
  20690. "type": "string"
  20691. }
  20692. }
  20693. },
  20694. "models.Ermcp3AreaStock": {
  20695. "type": "object",
  20696. "required": [
  20697. "userid"
  20698. ],
  20699. "properties": {
  20700. "brandname": {
  20701. "description": "品牌名称",
  20702. "type": "string"
  20703. },
  20704. "curstock": {
  20705. "description": "期末库存量(今日量)",
  20706. "type": "number"
  20707. },
  20708. "deliverygoodscode": {
  20709. "description": "现货品种代码",
  20710. "type": "string"
  20711. },
  20712. "deliverygoodsid": {
  20713. "description": "现货品种id",
  20714. "type": "integer"
  20715. },
  20716. "deliverygoodsname": {
  20717. "description": "现货品种名称",
  20718. "type": "string"
  20719. },
  20720. "enumdicname": {
  20721. "description": "单位名称",
  20722. "type": "string"
  20723. },
  20724. "goodsunitid": {
  20725. "description": "现货商品单位id",
  20726. "type": "integer"
  20727. },
  20728. "oristock": {
  20729. "description": "期初库存量(昨日量)",
  20730. "type": "number"
  20731. },
  20732. "spotgoodsbrandid": {
  20733. "description": "现货品牌ID",
  20734. "type": "integer"
  20735. },
  20736. "todaybuyinqty": {
  20737. "description": "今日采购入库量",
  20738. "type": "number"
  20739. },
  20740. "todayproduceinqty": {
  20741. "description": "今日生产入库量",
  20742. "type": "number"
  20743. },
  20744. "todayproduceoutqty": {
  20745. "description": "今日生产出库量",
  20746. "type": "number"
  20747. },
  20748. "todayselloutqty": {
  20749. "description": "今日销售出库量",
  20750. "type": "number"
  20751. },
  20752. "unitid": {
  20753. "description": "单位id",
  20754. "type": "integer"
  20755. },
  20756. "updatetime": {
  20757. "description": "更新时间",
  20758. "type": "string"
  20759. },
  20760. "userid": {
  20761. "description": "机构ID",
  20762. "type": "integer"
  20763. },
  20764. "username": {
  20765. "description": "机构名称",
  20766. "type": "string"
  20767. },
  20768. "warehousecode": {
  20769. "description": "仓库代码",
  20770. "type": "string"
  20771. },
  20772. "warehouseinfoid": {
  20773. "description": "仓库ID",
  20774. "type": "string"
  20775. },
  20776. "warehousename": {
  20777. "description": "仓库名称",
  20778. "type": "string"
  20779. },
  20780. "warehousetype": {
  20781. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20782. "type": "integer"
  20783. },
  20784. "wrstandardcode": {
  20785. "description": "品类代码",
  20786. "type": "string"
  20787. },
  20788. "wrstandardid": {
  20789. "description": "品类ID",
  20790. "type": "string"
  20791. },
  20792. "wrstandardname": {
  20793. "description": "品类名称",
  20794. "type": "string"
  20795. }
  20796. }
  20797. },
  20798. "models.Ermcp3AreaStockApply": {
  20799. "type": "object",
  20800. "properties": {
  20801. "applyid": {
  20802. "description": "申请人",
  20803. "type": "integer"
  20804. },
  20805. "applyname": {
  20806. "description": "申请人名称",
  20807. "type": "string"
  20808. },
  20809. "applyremark": {
  20810. "description": "申请备注",
  20811. "type": "string"
  20812. },
  20813. "applysrc": {
  20814. "description": "申请来源 - 1:管理端 2:终端",
  20815. "type": "integer"
  20816. },
  20817. "applystatus": {
  20818. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  20819. "type": "integer"
  20820. },
  20821. "applytime": {
  20822. "description": "申请时间",
  20823. "type": "string"
  20824. },
  20825. "auditid": {
  20826. "description": "审核人",
  20827. "type": "integer"
  20828. },
  20829. "auditname": {
  20830. "description": "审核人名称",
  20831. "type": "string"
  20832. },
  20833. "auditremark": {
  20834. "description": "审核备注",
  20835. "type": "string"
  20836. },
  20837. "auditsrc": {
  20838. "description": "审核来源 - 1:管理端 2:终端",
  20839. "type": "integer"
  20840. },
  20841. "audittime": {
  20842. "description": "审核时间",
  20843. "type": "string"
  20844. },
  20845. "audittradedate": {
  20846. "description": "审核交易日(yyyyMMdd)",
  20847. "type": "string"
  20848. },
  20849. "brandname": {
  20850. "description": "品牌名称",
  20851. "type": "string"
  20852. },
  20853. "buynickname": {
  20854. "description": "采购方昵称",
  20855. "type": "string"
  20856. },
  20857. "buyuserid": {
  20858. "description": "采购方userid",
  20859. "type": "integer"
  20860. },
  20861. "buyusername": {
  20862. "description": "采购方名称",
  20863. "type": "string"
  20864. },
  20865. "contractno": {
  20866. "description": "合同编号",
  20867. "type": "string"
  20868. },
  20869. "contractqty": {
  20870. "description": "合同量",
  20871. "type": "number"
  20872. },
  20873. "contracttype": {
  20874. "description": "现货合同类型 - 1:采购 -1:销售",
  20875. "type": "integer"
  20876. },
  20877. "deliverygoodscode": {
  20878. "description": "现货品种代码",
  20879. "type": "string"
  20880. },
  20881. "deliverygoodsid": {
  20882. "description": "现货品种id",
  20883. "type": "integer"
  20884. },
  20885. "deliverygoodsname": {
  20886. "description": "现货品种名称",
  20887. "type": "string"
  20888. },
  20889. "detailjson": {
  20890. "description": "明细数据",
  20891. "type": "string"
  20892. },
  20893. "enumdicname": {
  20894. "description": "现货商品单位名称",
  20895. "type": "string"
  20896. },
  20897. "inoutapplyid": {
  20898. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  20899. "type": "string"
  20900. },
  20901. "inouttype": {
  20902. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20903. "type": "integer"
  20904. },
  20905. "pricetype": {
  20906. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20907. "type": "integer"
  20908. },
  20909. "qty": {
  20910. "description": "数量",
  20911. "type": "number"
  20912. },
  20913. "sellnickname": {
  20914. "description": "销售方昵称",
  20915. "type": "string"
  20916. },
  20917. "selluserid": {
  20918. "description": "销售方userid",
  20919. "type": "integer"
  20920. },
  20921. "sellusername": {
  20922. "description": "销售方名称",
  20923. "type": "string"
  20924. },
  20925. "spotcontractid": {
  20926. "description": "关联现货合同ID",
  20927. "type": "string"
  20928. },
  20929. "spotgoodsbrandid": {
  20930. "description": "现货品牌ID",
  20931. "type": "integer"
  20932. },
  20933. "unitid": {
  20934. "description": "单位id",
  20935. "type": "integer"
  20936. },
  20937. "userid": {
  20938. "description": "机构ID",
  20939. "type": "integer"
  20940. },
  20941. "warehousecode": {
  20942. "description": "仓库代码",
  20943. "type": "string"
  20944. },
  20945. "warehouseinfoid": {
  20946. "description": "现货仓库ID",
  20947. "type": "string"
  20948. },
  20949. "warehousename": {
  20950. "description": "仓库名称",
  20951. "type": "string"
  20952. },
  20953. "warehousetype": {
  20954. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20955. "type": "integer"
  20956. },
  20957. "wrstandardcode": {
  20958. "description": "品类代码",
  20959. "type": "string"
  20960. },
  20961. "wrstandardid": {
  20962. "description": "品类ID",
  20963. "type": "integer"
  20964. },
  20965. "wrstandardname": {
  20966. "description": "品类名称",
  20967. "type": "string"
  20968. }
  20969. }
  20970. },
  20971. "models.Ermcp3AreaStockApplySum": {
  20972. "type": "object",
  20973. "properties": {
  20974. "brandname": {
  20975. "description": "品牌名称",
  20976. "type": "string"
  20977. },
  20978. "inouttype": {
  20979. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  20980. "type": "integer"
  20981. },
  20982. "spotcontractid": {
  20983. "description": "关联现货合同ID",
  20984. "type": "string"
  20985. },
  20986. "spotgoodsbrandid": {
  20987. "description": "品牌id",
  20988. "type": "integer"
  20989. },
  20990. "totalqty": {
  20991. "description": "总数量",
  20992. "type": "number"
  20993. },
  20994. "wrstandardid": {
  20995. "description": "品类id",
  20996. "type": "integer"
  20997. },
  20998. "wrstandardname": {
  20999. "description": "品类名称",
  21000. "type": "string"
  21001. }
  21002. }
  21003. },
  21004. "models.Ermcp3AreaStockReportEx": {
  21005. "type": "object",
  21006. "properties": {
  21007. "begindate": {
  21008. "description": "开始交易日",
  21009. "type": "string"
  21010. },
  21011. "brandname": {
  21012. "description": "品牌名称",
  21013. "type": "string"
  21014. },
  21015. "curstock": {
  21016. "description": "期末库存量",
  21017. "type": "number"
  21018. },
  21019. "cycletime": {
  21020. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21021. "type": "string"
  21022. },
  21023. "cycletype": {
  21024. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21025. "type": "integer"
  21026. },
  21027. "deliverygoodscode": {
  21028. "description": "现货品种代码",
  21029. "type": "string"
  21030. },
  21031. "deliverygoodsid": {
  21032. "description": "现货品种id",
  21033. "type": "integer"
  21034. },
  21035. "deliverygoodsname": {
  21036. "description": "现货品种名称",
  21037. "type": "string"
  21038. },
  21039. "diffqty": {
  21040. "description": "库存变化量 = 期末 - 期初",
  21041. "type": "number"
  21042. },
  21043. "enddate": {
  21044. "description": "结束交易日",
  21045. "type": "string"
  21046. },
  21047. "enumdicname": {
  21048. "description": "单位名称",
  21049. "type": "string"
  21050. },
  21051. "goodsunitid": {
  21052. "description": "现货单位id",
  21053. "type": "integer"
  21054. },
  21055. "oristock": {
  21056. "description": "期初库存量",
  21057. "type": "number"
  21058. },
  21059. "reckondate": {
  21060. "description": "日照时期(yyyyMMdd)",
  21061. "type": "string"
  21062. },
  21063. "spotgoodsbrandid": {
  21064. "description": "现货品牌ID",
  21065. "type": "integer"
  21066. },
  21067. "todaybuyinqty": {
  21068. "description": "今采购入库量",
  21069. "type": "number"
  21070. },
  21071. "todayproduceinqty": {
  21072. "description": "今内部入库量",
  21073. "type": "number"
  21074. },
  21075. "todayproduceoutqty": {
  21076. "description": "今内部出库量",
  21077. "type": "number"
  21078. },
  21079. "todayselloutqty": {
  21080. "description": "今销售出库量",
  21081. "type": "number"
  21082. },
  21083. "unbuyinqty": {
  21084. "description": "采购未入库量(数据库未找到相关字段?)",
  21085. "type": "number"
  21086. },
  21087. "unitid": {
  21088. "description": "品类单位id",
  21089. "type": "integer"
  21090. },
  21091. "unselloutqty": {
  21092. "description": "销售未出库量(数据库未找到相关字段?)",
  21093. "type": "number"
  21094. },
  21095. "updatetime": {
  21096. "description": "更新时间",
  21097. "type": "string"
  21098. },
  21099. "userid": {
  21100. "description": "机构ID",
  21101. "type": "integer"
  21102. },
  21103. "username": {
  21104. "description": "机构名称",
  21105. "type": "string"
  21106. },
  21107. "warehousecode": {
  21108. "description": "仓库代码",
  21109. "type": "string"
  21110. },
  21111. "warehouseinfoid": {
  21112. "description": "仓库ID",
  21113. "type": "string"
  21114. },
  21115. "warehousename": {
  21116. "description": "仓库名称",
  21117. "type": "string"
  21118. },
  21119. "warehousetype": {
  21120. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  21121. "type": "integer"
  21122. },
  21123. "wrstandardcode": {
  21124. "description": "品类代码",
  21125. "type": "string"
  21126. },
  21127. "wrstandardid": {
  21128. "description": "品类ID",
  21129. "type": "integer"
  21130. },
  21131. "wrstandardname": {
  21132. "description": "品类名称",
  21133. "type": "string"
  21134. }
  21135. }
  21136. },
  21137. "models.Ermcp3ArealSumPL": {
  21138. "type": "object",
  21139. "properties": {
  21140. "accountname": {
  21141. "description": "机构名称",
  21142. "type": "string"
  21143. },
  21144. "areauserid": {
  21145. "description": "所属机构\\交易用户ID",
  21146. "type": "integer"
  21147. },
  21148. "begindate": {
  21149. "description": "开始交易日",
  21150. "type": "string"
  21151. },
  21152. "currencyid": {
  21153. "description": "结算币种ID",
  21154. "type": "integer"
  21155. },
  21156. "currencyname": {
  21157. "description": "币种名称",
  21158. "type": "string"
  21159. },
  21160. "cycletime": {
  21161. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  21162. "type": "string"
  21163. },
  21164. "cycletype": {
  21165. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  21166. "type": "integer"
  21167. },
  21168. "enddate": {
  21169. "description": "结束交易日",
  21170. "type": "string"
  21171. },
  21172. "enumdicname": {
  21173. "description": "单位名称(套保品种)",
  21174. "type": "string"
  21175. },
  21176. "futureactualpl": {
  21177. "description": "期货损益",
  21178. "type": "number"
  21179. },
  21180. "futurefloatpl": {
  21181. "description": "期货浮动损益",
  21182. "type": "number"
  21183. },
  21184. "futurespotratio": {
  21185. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  21186. "type": "number"
  21187. },
  21188. "goodsunitid": {
  21189. "description": "套保品种单位id",
  21190. "type": "integer"
  21191. },
  21192. "hedgeexposurepl": {
  21193. "description": "套保敞口损益",
  21194. "type": "number"
  21195. },
  21196. "middlegoodscode": {
  21197. "description": "套保品种代码",
  21198. "type": "string"
  21199. },
  21200. "middlegoodsid": {
  21201. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  21202. "type": "integer"
  21203. },
  21204. "middlegoodsname": {
  21205. "description": "套保品种名称",
  21206. "type": "string"
  21207. },
  21208. "reckondate": {
  21209. "description": "日照时期(yyyyMMdd)",
  21210. "type": "string"
  21211. },
  21212. "spotactualpl": {
  21213. "description": "现货损益",
  21214. "type": "number"
  21215. },
  21216. "spotfloatpl": {
  21217. "description": "现货浮动损益",
  21218. "type": "number"
  21219. },
  21220. "sumactualpl": {
  21221. "description": "实际损益 = (ActualPL + FutureActualPL)",
  21222. "type": "number"
  21223. },
  21224. "sumpl": {
  21225. "description": "总敞口损益 | 汇总损益",
  21226. "type": "number"
  21227. },
  21228. "totalfutureqty": {
  21229. "description": "期货头寸总量",
  21230. "type": "number"
  21231. },
  21232. "totalneedhedgeqty": {
  21233. "description": "应套保总量",
  21234. "type": "number"
  21235. },
  21236. "totalspotqty": {
  21237. "description": "现货头寸总量",
  21238. "type": "number"
  21239. },
  21240. "updatetime": {
  21241. "description": "更新时间",
  21242. "type": "string"
  21243. }
  21244. }
  21245. },
  21246. "models.Ermcp3Brand": {
  21247. "type": "object",
  21248. "properties": {
  21249. "areauserid": {
  21250. "description": "用户id",
  21251. "type": "integer"
  21252. },
  21253. "brandid": {
  21254. "description": "品牌id",
  21255. "type": "integer"
  21256. },
  21257. "brandname": {
  21258. "description": "品牌名称",
  21259. "type": "string"
  21260. },
  21261. "deliverygoodsid": {
  21262. "description": "品种ID",
  21263. "type": "integer"
  21264. },
  21265. "isvalid": {
  21266. "description": "是否有效",
  21267. "type": "integer"
  21268. }
  21269. }
  21270. },
  21271. "models.Ermcp3Contract": {
  21272. "type": "object",
  21273. "properties": {
  21274. "accountid": {
  21275. "description": "期货账户id",
  21276. "type": "string"
  21277. },
  21278. "amount": {
  21279. "description": "金额 [1:一口价、3:暂定价]",
  21280. "type": "number"
  21281. },
  21282. "attachment": {
  21283. "description": "附件",
  21284. "type": "string"
  21285. },
  21286. "auditremark": {
  21287. "description": "审核意见",
  21288. "type": "string"
  21289. },
  21290. "audittime": {
  21291. "description": "审核时间",
  21292. "type": "string"
  21293. },
  21294. "biztype": {
  21295. "description": "业务类型 1-套保 2-套利",
  21296. "type": "integer"
  21297. },
  21298. "brandname": {
  21299. "description": "品牌名称",
  21300. "type": "string"
  21301. },
  21302. "buynickname": {
  21303. "description": "销售方昵称",
  21304. "type": "string"
  21305. },
  21306. "buyuserid": {
  21307. "description": "采购方ID",
  21308. "type": "integer"
  21309. },
  21310. "buyusername": {
  21311. "description": "采购方名称",
  21312. "type": "string"
  21313. },
  21314. "contracctstatus": {
  21315. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21316. "type": "integer"
  21317. },
  21318. "contractmargin": {
  21319. "description": "合同保证金",
  21320. "type": "number"
  21321. },
  21322. "contractno": {
  21323. "description": "现货合同编号",
  21324. "type": "string"
  21325. },
  21326. "contracttype": {
  21327. "description": "现货合同类型 - 1:采购 -1:销售",
  21328. "type": "integer"
  21329. },
  21330. "convertfactor": {
  21331. "description": "标仓系数(品类)",
  21332. "type": "number"
  21333. },
  21334. "createtime": {
  21335. "description": "创建时间",
  21336. "type": "string"
  21337. },
  21338. "currencyid": {
  21339. "description": "币种id",
  21340. "type": "integer"
  21341. },
  21342. "currencyname": {
  21343. "description": "币种名称",
  21344. "type": "string"
  21345. },
  21346. "deliveryenddate": {
  21347. "description": "交收期(结束)",
  21348. "type": "string"
  21349. },
  21350. "deliverygoodscode": {
  21351. "description": "现货品种代码",
  21352. "type": "string"
  21353. },
  21354. "deliverygoodsid": {
  21355. "description": "现货品种ID",
  21356. "type": "integer"
  21357. },
  21358. "deliverygoodsname": {
  21359. "description": "现货品种名称",
  21360. "type": "string"
  21361. },
  21362. "deliverystartdate": {
  21363. "description": "交收期(开始)",
  21364. "type": "string"
  21365. },
  21366. "enddate": {
  21367. "description": "点价结束日期 [2:点价 3:暂定价]",
  21368. "type": "string"
  21369. },
  21370. "enumdicname": {
  21371. "description": "单位名称",
  21372. "type": "string"
  21373. },
  21374. "goodscode": {
  21375. "description": "点价合约代码",
  21376. "type": "string"
  21377. },
  21378. "goodsid": {
  21379. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  21380. "type": "integer"
  21381. },
  21382. "goodsname": {
  21383. "description": "点价商品名称",
  21384. "type": "string"
  21385. },
  21386. "margin": {
  21387. "description": "当前保证金",
  21388. "type": "number"
  21389. },
  21390. "meruserid": {
  21391. "description": "跟单员id",
  21392. "type": "integer"
  21393. },
  21394. "meruserlogincode": {
  21395. "description": "跟单员登录代码",
  21396. "type": "string"
  21397. },
  21398. "merusername": {
  21399. "description": "跟单员名称",
  21400. "type": "string"
  21401. },
  21402. "pointdesc": {
  21403. "description": "点价备注",
  21404. "type": "string"
  21405. },
  21406. "price": {
  21407. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  21408. "type": "number"
  21409. },
  21410. "pricemove": {
  21411. "description": "升贴水 [2:点价 3:暂定价]",
  21412. "type": "number"
  21413. },
  21414. "pricetype": {
  21415. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  21416. "type": "integer"
  21417. },
  21418. "producttype": {
  21419. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21420. "type": "integer"
  21421. },
  21422. "qty": {
  21423. "description": "数量",
  21424. "type": "number"
  21425. },
  21426. "remark": {
  21427. "description": "备注",
  21428. "type": "string"
  21429. },
  21430. "saleuserid": {
  21431. "description": "业务员id",
  21432. "type": "integer"
  21433. },
  21434. "saleuserlogincode": {
  21435. "description": "业务员登录代码",
  21436. "type": "string"
  21437. },
  21438. "saleusername": {
  21439. "description": "业务员名称",
  21440. "type": "string"
  21441. },
  21442. "sellnickname": {
  21443. "description": "采购方昵称",
  21444. "type": "string"
  21445. },
  21446. "selluserid": {
  21447. "description": "销售方ID",
  21448. "type": "integer"
  21449. },
  21450. "sellusername": {
  21451. "description": "销售方名称",
  21452. "type": "string"
  21453. },
  21454. "spotcontractid": {
  21455. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  21456. "type": "string"
  21457. },
  21458. "spotgoodsbrandid": {
  21459. "description": "现货品牌ID(DGFactoryItem表的ID)",
  21460. "type": "integer"
  21461. },
  21462. "spotgoodsdesc": {
  21463. "description": "商品型号",
  21464. "type": "string"
  21465. },
  21466. "startdate": {
  21467. "description": "点价开始日期 [2:点价 3:暂定价]",
  21468. "type": "string"
  21469. },
  21470. "subjectid": {
  21471. "description": "交易主体ID",
  21472. "type": "integer"
  21473. },
  21474. "subjectname": {
  21475. "description": "交易主体名称",
  21476. "type": "string"
  21477. },
  21478. "tradeuserid": {
  21479. "description": "交易员id",
  21480. "type": "integer"
  21481. },
  21482. "tradeuserlogincode": {
  21483. "description": "交易员登录代码",
  21484. "type": "string"
  21485. },
  21486. "tradeusername": {
  21487. "description": "交易员名称",
  21488. "type": "string"
  21489. },
  21490. "unitid": {
  21491. "description": "单位id(取品类上的单位id)",
  21492. "type": "integer"
  21493. },
  21494. "updatetime": {
  21495. "description": "更新时间",
  21496. "type": "string"
  21497. },
  21498. "userid": {
  21499. "description": "所属机构ID",
  21500. "type": "integer"
  21501. },
  21502. "vatrate": {
  21503. "description": "增值税率",
  21504. "type": "number"
  21505. },
  21506. "wrstandardcode": {
  21507. "description": "品类代码",
  21508. "type": "string"
  21509. },
  21510. "wrstandardid": {
  21511. "description": "品类ID",
  21512. "type": "integer"
  21513. },
  21514. "wrstandardname": {
  21515. "description": "品类名称",
  21516. "type": "string"
  21517. }
  21518. }
  21519. },
  21520. "models.Ermcp3ContractMiddleGoodsCfg": {
  21521. "type": "object",
  21522. "properties": {
  21523. "agreeunit": {
  21524. "description": "合约乘数",
  21525. "type": "number"
  21526. },
  21527. "convertratio": {
  21528. "description": "期货品种系数",
  21529. "type": "number"
  21530. },
  21531. "covertqty": {
  21532. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  21533. "type": "integer"
  21534. },
  21535. "middlegoodsid": {
  21536. "description": "套保品种ID",
  21537. "type": "integer"
  21538. },
  21539. "middlegoodspricedqty3": {
  21540. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  21541. "type": "string",
  21542. "example": "0"
  21543. },
  21544. "pendingpricedqty": {
  21545. "description": "待点价量",
  21546. "type": "string",
  21547. "example": "0"
  21548. },
  21549. "relatedmiddlegoodsqty": {
  21550. "description": "已关联量(套保品种-期货)",
  21551. "type": "string",
  21552. "example": "0"
  21553. },
  21554. "spotcontractid": {
  21555. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  21556. "type": "string"
  21557. }
  21558. }
  21559. },
  21560. "models.Ermcp3ExposureContractDetail": {
  21561. "type": "object",
  21562. "properties": {
  21563. "biztype": {
  21564. "description": "业务类型 1-套保 2-套利",
  21565. "type": "integer"
  21566. },
  21567. "brandname": {
  21568. "description": "品牌名称",
  21569. "type": "string"
  21570. },
  21571. "buyuserid": {
  21572. "description": "采购方id",
  21573. "type": "integer"
  21574. },
  21575. "buyusername": {
  21576. "description": "采购方名称",
  21577. "type": "string"
  21578. },
  21579. "contractno": {
  21580. "description": "合同编号",
  21581. "type": "string"
  21582. },
  21583. "contracttype": {
  21584. "description": "现货合同类型 - 1:采购 -1:销售",
  21585. "type": "integer"
  21586. },
  21587. "convertfactor": {
  21588. "description": "标仓系数",
  21589. "type": "number"
  21590. },
  21591. "convertratio": {
  21592. "description": "折算系数(套保品种)",
  21593. "type": "number"
  21594. },
  21595. "curqty": {
  21596. "description": "今定价量",
  21597. "type": "number"
  21598. },
  21599. "deliverygoodscode": {
  21600. "description": "现货品种代码",
  21601. "type": "string"
  21602. },
  21603. "deliverygoodsid": {
  21604. "description": "现货品种id",
  21605. "type": "integer"
  21606. },
  21607. "deliverygoodsname": {
  21608. "description": "现货品种名称",
  21609. "type": "string"
  21610. },
  21611. "diffhedgeqty": {
  21612. "description": "套保变动量",
  21613. "type": "number"
  21614. },
  21615. "diffneedhedgeqty": {
  21616. "description": "应套保变动量",
  21617. "type": "number"
  21618. },
  21619. "diffqty": {
  21620. "description": "套保品种今变动量",
  21621. "type": "number"
  21622. },
  21623. "enumdicname": {
  21624. "description": "单位名称",
  21625. "type": "string"
  21626. },
  21627. "mgunitname": {
  21628. "description": "套保品种单位名称",
  21629. "type": "string"
  21630. },
  21631. "middlegoodscode": {
  21632. "description": "套保品种代码",
  21633. "type": "string"
  21634. },
  21635. "middlegoodsid": {
  21636. "description": "套保品种id",
  21637. "type": "integer"
  21638. },
  21639. "middlegoodsname": {
  21640. "description": "套保品种名称",
  21641. "type": "string"
  21642. },
  21643. "needarbitrageratio": {
  21644. "description": "应套利比例",
  21645. "type": "number"
  21646. },
  21647. "needhedgeratio": {
  21648. "description": "应套保比例",
  21649. "type": "number"
  21650. },
  21651. "pricedqty": {
  21652. "description": "已定价量",
  21653. "type": "number"
  21654. },
  21655. "qty": {
  21656. "description": "合同量",
  21657. "type": "number"
  21658. },
  21659. "reckondate": {
  21660. "description": "交易日(reckondate)",
  21661. "type": "string"
  21662. },
  21663. "selluserid": {
  21664. "description": "销售方id",
  21665. "type": "integer"
  21666. },
  21667. "sellusername": {
  21668. "description": "销售方名称",
  21669. "type": "string"
  21670. },
  21671. "spotcontractid": {
  21672. "description": "合同id",
  21673. "type": "string"
  21674. },
  21675. "todaypricedqty": {
  21676. "description": "今定价量",
  21677. "type": "number"
  21678. },
  21679. "tradedate": {
  21680. "description": "交易日",
  21681. "type": "string"
  21682. },
  21683. "unitid": {
  21684. "description": "品类单位id",
  21685. "type": "integer"
  21686. },
  21687. "userid": {
  21688. "description": "机构id",
  21689. "type": "integer"
  21690. },
  21691. "username": {
  21692. "description": "交易用户",
  21693. "type": "string"
  21694. },
  21695. "wrstandardcode": {
  21696. "description": "现货商品代码",
  21697. "type": "string"
  21698. },
  21699. "wrstandardid": {
  21700. "description": "现货商品id",
  21701. "type": "integer"
  21702. },
  21703. "wrstandardname": {
  21704. "description": "现货商品名称",
  21705. "type": "string"
  21706. }
  21707. }
  21708. },
  21709. "models.Ermcp3ExposureDetail": {
  21710. "type": "object",
  21711. "properties": {
  21712. "areauserid": {
  21713. "description": "机构ID",
  21714. "type": "integer"
  21715. },
  21716. "changeQty": {
  21717. "description": "套保变动量",
  21718. "type": "number"
  21719. },
  21720. "contracttype": {
  21721. "description": "现货合同类型 - 1:采购 -1:销售",
  21722. "type": "integer"
  21723. },
  21724. "convertfactor": {
  21725. "description": "标仓系数",
  21726. "type": "number"
  21727. },
  21728. "convertratio": {
  21729. "description": "折算系数",
  21730. "type": "number"
  21731. },
  21732. "createtime": {
  21733. "description": "时间",
  21734. "type": "string"
  21735. },
  21736. "enumdicname": {
  21737. "description": "现货商品单位名称",
  21738. "type": "string"
  21739. },
  21740. "logtype": {
  21741. "description": "类型 - 1:套保计划 2:现货合同",
  21742. "type": "integer"
  21743. },
  21744. "mgunitid": {
  21745. "description": "套保品种单位id",
  21746. "type": "integer"
  21747. },
  21748. "mgunitidname": {
  21749. "description": "套保品种单位名称",
  21750. "type": "string"
  21751. },
  21752. "middlegoodsId": {
  21753. "description": "套保商品id",
  21754. "type": "integer"
  21755. },
  21756. "middlegoodscode": {
  21757. "description": "套保商品代码",
  21758. "type": "string"
  21759. },
  21760. "middlegoodsname": {
  21761. "description": "套保商品名称",
  21762. "type": "string"
  21763. },
  21764. "qty": {
  21765. "description": "数量",
  21766. "type": "number"
  21767. },
  21768. "relateNo": {
  21769. "description": "现货合同/套保计划编号",
  21770. "type": "string"
  21771. },
  21772. "unitid": {
  21773. "description": "现货商品单位id",
  21774. "type": "integer"
  21775. },
  21776. "wrstandardcode": {
  21777. "description": "现货商品代码",
  21778. "type": "string"
  21779. },
  21780. "wrstandardid": {
  21781. "description": "现货商品ID(SEQ_WRSTANDARD)",
  21782. "type": "integer"
  21783. },
  21784. "wrstandardname": {
  21785. "description": "现货商品名称",
  21786. "type": "string"
  21787. }
  21788. }
  21789. },
  21790. "models.Ermcp3ExposureFutuDetail": {
  21791. "type": "object",
  21792. "properties": {
  21793. "accountid": {
  21794. "description": "交易账户id",
  21795. "type": "integer"
  21796. },
  21797. "accountname": {
  21798. "description": "交易账户",
  21799. "type": "string"
  21800. },
  21801. "begindate": {
  21802. "description": "开始交易日",
  21803. "type": "string"
  21804. },
  21805. "buyorsell": {
  21806. "description": "方向 0-买 1-卖",
  21807. "type": "integer"
  21808. },
  21809. "diffmgqty": {
  21810. "description": "套保品种今变化量",
  21811. "type": "number"
  21812. },
  21813. "diffneedqty": {
  21814. "description": "应套保总量变化量",
  21815. "type": "number"
  21816. },
  21817. "difftradeqty": {
  21818. "description": "交易品种今变化量",
  21819. "type": "number"
  21820. },
  21821. "enddate": {
  21822. "description": "结束交易日",
  21823. "type": "string"
  21824. },
  21825. "enumdicname": {
  21826. "description": "单位名称",
  21827. "type": "string"
  21828. },
  21829. "goodscode": {
  21830. "description": "商品代码",
  21831. "type": "string"
  21832. },
  21833. "goodsid": {
  21834. "description": "商品id",
  21835. "type": "integer"
  21836. },
  21837. "goodsname": {
  21838. "description": "商品名称",
  21839. "type": "string"
  21840. },
  21841. "holdqty": {
  21842. "description": "期末持仓量",
  21843. "type": "number"
  21844. },
  21845. "middlegoodscode": {
  21846. "description": "套保商品代码",
  21847. "type": "string"
  21848. },
  21849. "middlegoodsid": {
  21850. "description": "套保商品id",
  21851. "type": "integer"
  21852. },
  21853. "middlegoodsname": {
  21854. "description": "套保商品名称",
  21855. "type": "string"
  21856. },
  21857. "oriholdqty": {
  21858. "description": "期初持仓量",
  21859. "type": "number"
  21860. },
  21861. "reckondate": {
  21862. "description": "交易日(RECKONDATE)",
  21863. "type": "string"
  21864. },
  21865. "todaycloseqty": {
  21866. "description": "今平仓量",
  21867. "type": "number"
  21868. },
  21869. "todayopenqty": {
  21870. "description": "今开仓量",
  21871. "type": "number"
  21872. },
  21873. "tradedate": {
  21874. "description": "交易日(RECKONDATE)",
  21875. "type": "string"
  21876. },
  21877. "username": {
  21878. "description": "用户名称(交易用户)",
  21879. "type": "string"
  21880. }
  21881. }
  21882. },
  21883. "models.Ermcp3ExposureHedgeplanDetail": {
  21884. "type": "object",
  21885. "properties": {
  21886. "biztype": {
  21887. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  21888. "type": "integer"
  21889. },
  21890. "changqty": {
  21891. "description": "应套保总量变化量",
  21892. "type": "number"
  21893. },
  21894. "contracttype": {
  21895. "description": "计划类型 - 1:采购 -1:销售",
  21896. "type": "integer"
  21897. },
  21898. "convertratio": {
  21899. "description": "折算系数(套保品种)",
  21900. "type": "number"
  21901. },
  21902. "deliverygoodscode": {
  21903. "description": "现货商品代码",
  21904. "type": "string"
  21905. },
  21906. "deliverygoodsid": {
  21907. "description": "现货商品id",
  21908. "type": "integer"
  21909. },
  21910. "deliverygoodsname": {
  21911. "description": "现货商吕名称",
  21912. "type": "string"
  21913. },
  21914. "dgunitid": {
  21915. "description": "现货商品单位id",
  21916. "type": "integer"
  21917. },
  21918. "dgunitidname": {
  21919. "description": "单位名称(现货商品)",
  21920. "type": "string"
  21921. },
  21922. "diffqty": {
  21923. "description": "套保品种今变动量",
  21924. "type": "number"
  21925. },
  21926. "enumdicname": {
  21927. "description": "单位名称(品类)",
  21928. "type": "string"
  21929. },
  21930. "hedgeplanid": {
  21931. "description": "套保计划id",
  21932. "type": "string"
  21933. },
  21934. "hedgeplanno": {
  21935. "description": "套保计划名称",
  21936. "type": "string"
  21937. },
  21938. "hedgeplanstatus": {
  21939. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21940. "type": "integer"
  21941. },
  21942. "mgunitidname": {
  21943. "description": "单位名称(套保商品)",
  21944. "type": "string"
  21945. },
  21946. "middlegoodscode": {
  21947. "description": "套保品种代码",
  21948. "type": "string"
  21949. },
  21950. "middlegoodsid": {
  21951. "description": "套保品种id",
  21952. "type": "integer"
  21953. },
  21954. "middlegoodsname": {
  21955. "description": "套保品种名称",
  21956. "type": "string"
  21957. },
  21958. "needarbitrageratio": {
  21959. "description": "应套利比例",
  21960. "type": "number"
  21961. },
  21962. "needhedgeratio": {
  21963. "description": "应套保比例",
  21964. "type": "number"
  21965. },
  21966. "pricedqty": {
  21967. "description": "已定价量",
  21968. "type": "number"
  21969. },
  21970. "qty": {
  21971. "description": "合同量",
  21972. "type": "number"
  21973. },
  21974. "reckondate": {
  21975. "description": "交易日(reckondate)",
  21976. "type": "string"
  21977. },
  21978. "tradedate": {
  21979. "description": "交易日(登记日)",
  21980. "type": "string"
  21981. },
  21982. "unitid": {
  21983. "description": "品类单位id",
  21984. "type": "integer"
  21985. },
  21986. "userid": {
  21987. "description": "机构id",
  21988. "type": "integer"
  21989. },
  21990. "wrstandardcode": {
  21991. "description": "品类代码",
  21992. "type": "string"
  21993. },
  21994. "wrstandardid": {
  21995. "description": "品类id",
  21996. "type": "integer"
  21997. },
  21998. "wrstandardname": {
  21999. "description": "品类名称",
  22000. "type": "string"
  22001. }
  22002. }
  22003. },
  22004. "models.Ermcp3ExposureParamChLog": {
  22005. "type": "object",
  22006. "properties": {
  22007. "accountid": {
  22008. "description": "期货账户ID (作废, 默认为0)",
  22009. "type": "integer"
  22010. },
  22011. "aftervalue": {
  22012. "description": "应套保\\套利量变更后(调整后应套保总量)",
  22013. "type": "number"
  22014. },
  22015. "areauserid": {
  22016. "description": "所属机构\\交易用户ID",
  22017. "type": "integer"
  22018. },
  22019. "beforevalue": {
  22020. "description": "应套保\\套利量变更前(调整前应套保总量)",
  22021. "type": "number"
  22022. },
  22023. "begindate": {
  22024. "description": "开始交易日",
  22025. "type": "string"
  22026. },
  22027. "changelogtype": {
  22028. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  22029. "type": "integer"
  22030. },
  22031. "curvalue": {
  22032. "description": "当前套保\\套利量(套保总量|套利总量)",
  22033. "type": "number"
  22034. },
  22035. "diffvalue": {
  22036. "description": "应套保总量变化量",
  22037. "type": "number"
  22038. },
  22039. "enddate": {
  22040. "description": "结束交易日",
  22041. "type": "string"
  22042. },
  22043. "logdatetime": {
  22044. "description": "流水日期",
  22045. "type": "string"
  22046. },
  22047. "logid": {
  22048. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  22049. "type": "string"
  22050. },
  22051. "middlegoodscode": {
  22052. "description": "套保品种代码",
  22053. "type": "string"
  22054. },
  22055. "middlegoodsid": {
  22056. "description": "套保品种",
  22057. "type": "integer"
  22058. },
  22059. "middlegoodsname": {
  22060. "description": "套保品种名称",
  22061. "type": "string"
  22062. },
  22063. "paramaftervalue": {
  22064. "description": "参数变更后(调整后参数值)",
  22065. "type": "number"
  22066. },
  22067. "parambeforevalue": {
  22068. "description": "参数变更前(调整前参数值)",
  22069. "type": "number"
  22070. },
  22071. "reckondate": {
  22072. "description": "交易日(reckondate)",
  22073. "type": "string"
  22074. },
  22075. "tradedate": {
  22076. "description": "交易日(yyyyMMdd)",
  22077. "type": "string"
  22078. }
  22079. }
  22080. },
  22081. "models.Ermcp3ExpourseReport": {
  22082. "type": "object",
  22083. "properties": {
  22084. "accountid": {
  22085. "description": "期货账户ID (作废, 默认为0)",
  22086. "type": "integer"
  22087. },
  22088. "accountname": {
  22089. "description": "机构名称",
  22090. "type": "string"
  22091. },
  22092. "arbitrageqty": {
  22093. "description": "套利量",
  22094. "type": "number"
  22095. },
  22096. "areauserid": {
  22097. "description": "所属机构\\交易用户ID",
  22098. "type": "integer"
  22099. },
  22100. "begindate": {
  22101. "description": "开始交易日",
  22102. "type": "string"
  22103. },
  22104. "buyfutureqty": {
  22105. "description": "买入期货数量",
  22106. "type": "number"
  22107. },
  22108. "buyplanqty": {
  22109. "description": "采购计划数量",
  22110. "type": "number"
  22111. },
  22112. "buypricedqty": {
  22113. "description": "采购合同已定价数量",
  22114. "type": "number"
  22115. },
  22116. "cycletime": {
  22117. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22118. "type": "string"
  22119. },
  22120. "cycletype": {
  22121. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22122. "type": "integer"
  22123. },
  22124. "diffexposure": {
  22125. "description": "变动量(套保敞口)",
  22126. "type": "number"
  22127. },
  22128. "difffutuqty": {
  22129. "description": "变动量(期货)",
  22130. "type": "number"
  22131. },
  22132. "diffhedgeqty": {
  22133. "description": "变动量(现货应套保总量)",
  22134. "type": "number"
  22135. },
  22136. "diffmgqtya": {
  22137. "description": "套保变动量",
  22138. "type": "number"
  22139. },
  22140. "diffmgqtyb": {
  22141. "description": "套利变动量",
  22142. "type": "number"
  22143. },
  22144. "diffneedqty": {
  22145. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  22146. "type": "number"
  22147. },
  22148. "diffqty": {
  22149. "description": "变动量(总敞口)",
  22150. "type": "number"
  22151. },
  22152. "diffspotqty": {
  22153. "description": "变动量(现货) | 除税变动量",
  22154. "type": "number"
  22155. },
  22156. "enddate": {
  22157. "description": "结束交易日",
  22158. "type": "string"
  22159. },
  22160. "enumdicname": {
  22161. "description": "单位名称",
  22162. "type": "string"
  22163. },
  22164. "hedgeqty": {
  22165. "description": "套保量",
  22166. "type": "number"
  22167. },
  22168. "mgneedhedgeratio": {
  22169. "description": "套保比例(套保品的)",
  22170. "type": "number"
  22171. },
  22172. "middlegoodsid": {
  22173. "description": "套保品种ID",
  22174. "type": "integer"
  22175. },
  22176. "middlegoodsname": {
  22177. "description": "套保商品名称",
  22178. "type": "string"
  22179. },
  22180. "middlgoodscode": {
  22181. "description": "套保商品代码",
  22182. "type": "string"
  22183. },
  22184. "needarbitrageqty": {
  22185. "description": "应套利量",
  22186. "type": "number"
  22187. },
  22188. "needarbitrageratio": {
  22189. "description": "套利比例(套保品的)",
  22190. "type": "number"
  22191. },
  22192. "needhedgeexposoure": {
  22193. "description": "应套保敞口(套保敞口)",
  22194. "type": "number"
  22195. },
  22196. "needhedgeqty": {
  22197. "description": "应套保量",
  22198. "type": "number"
  22199. },
  22200. "needhedgeratio": {
  22201. "description": "应套保敞口比例",
  22202. "type": "number"
  22203. },
  22204. "needqty": {
  22205. "description": "应套总量 = 应套保量 + 应套利量",
  22206. "type": "number"
  22207. },
  22208. "oriarbitrageqty": {
  22209. "description": "期初套利量",
  22210. "type": "number"
  22211. },
  22212. "oribuyfutureqty": {
  22213. "description": "期初买入期货数量",
  22214. "type": "number"
  22215. },
  22216. "oribuyplanqty": {
  22217. "description": "期初采购计划数量",
  22218. "type": "number"
  22219. },
  22220. "oribuypricedqty": {
  22221. "description": "期初采购合同已定价数量",
  22222. "type": "number"
  22223. },
  22224. "orihedgeqty": {
  22225. "description": "期初套保量",
  22226. "type": "number"
  22227. },
  22228. "orineedarbitrageqty": {
  22229. "description": "期初应套利量",
  22230. "type": "number"
  22231. },
  22232. "orineedhedgeexposoure": {
  22233. "description": "期初应套保敞口",
  22234. "type": "number"
  22235. },
  22236. "orineedhedgeqty": {
  22237. "description": "期初应套保量",
  22238. "type": "number"
  22239. },
  22240. "orisellfutureqty": {
  22241. "description": "期初卖出期货数量",
  22242. "type": "number"
  22243. },
  22244. "orisellplanqty": {
  22245. "description": "期初销售计划数量",
  22246. "type": "number"
  22247. },
  22248. "orisellpricedqty": {
  22249. "description": "期初销售合同已定价数量",
  22250. "type": "number"
  22251. },
  22252. "oritotalexposure": {
  22253. "description": "期初实时总敞口",
  22254. "type": "number"
  22255. },
  22256. "oritotalfutureqty": {
  22257. "description": "期初期货头寸总量",
  22258. "type": "number"
  22259. },
  22260. "oritotalneedhedgeqty": {
  22261. "description": "期初应套保总量",
  22262. "type": "number"
  22263. },
  22264. "oritotalspotqty": {
  22265. "description": "期初现货头寸总量",
  22266. "type": "number"
  22267. },
  22268. "reckondate": {
  22269. "description": "日照时期(yyyyMMdd)",
  22270. "type": "string"
  22271. },
  22272. "sellfutureqty": {
  22273. "description": "卖出期货数量",
  22274. "type": "number"
  22275. },
  22276. "sellplanqty": {
  22277. "description": "销售计划数量",
  22278. "type": "number"
  22279. },
  22280. "sellpricedqty": {
  22281. "description": "销售合同已定价数量",
  22282. "type": "number"
  22283. },
  22284. "totalexposure": {
  22285. "description": "实时总敞口(总敞口)",
  22286. "type": "number"
  22287. },
  22288. "totalfutureqty": {
  22289. "description": "期货头寸总量(期货总量)",
  22290. "type": "number"
  22291. },
  22292. "totalhedgeratio": {
  22293. "description": "敞口比例",
  22294. "type": "number"
  22295. },
  22296. "totalneedhedgeqty": {
  22297. "description": "应套保总量(现货应套保总量)",
  22298. "type": "number"
  22299. },
  22300. "totalspotqty": {
  22301. "description": "现货头寸总量 | 除税总量",
  22302. "type": "number"
  22303. },
  22304. "unitid": {
  22305. "description": "单位id",
  22306. "type": "integer"
  22307. },
  22308. "updatetime": {
  22309. "description": "更新时间",
  22310. "type": "string"
  22311. }
  22312. }
  22313. },
  22314. "models.Ermcp3FinanceReport": {
  22315. "type": "object",
  22316. "properties": {
  22317. "accountname": {
  22318. "description": "机构名称",
  22319. "type": "string"
  22320. },
  22321. "areauserid": {
  22322. "description": "所属机构\\交易用户ID",
  22323. "type": "integer"
  22324. },
  22325. "begindate": {
  22326. "description": "开始交易日",
  22327. "type": "string"
  22328. },
  22329. "biztype": {
  22330. "description": "业务类型 - 1:套保 2:套利",
  22331. "type": "integer"
  22332. },
  22333. "brandname": {
  22334. "description": "品牌名称",
  22335. "type": "string"
  22336. },
  22337. "buypreinvoicedamount": {
  22338. "description": "采购预收票额(预收票额)",
  22339. "type": "number"
  22340. },
  22341. "buyprepaidamount": {
  22342. "description": "采购预付款额(预付货款额)",
  22343. "type": "number"
  22344. },
  22345. "buytodayinvoiceamount": {
  22346. "description": "采购今收票额(今收票额)",
  22347. "type": "number"
  22348. },
  22349. "buytodayrefundamount": {
  22350. "description": "采购今收退款额(今收退款额)",
  22351. "type": "number"
  22352. },
  22353. "buytodaysettleamount": {
  22354. "description": "采购今付款额(今付货款额)",
  22355. "type": "number"
  22356. },
  22357. "buyuninvoicedamount": {
  22358. "description": "采购应收票额(应收票额)",
  22359. "type": "number"
  22360. },
  22361. "buyunpaidamount": {
  22362. "description": "采购应付款额(应付货款额)",
  22363. "type": "number"
  22364. },
  22365. "currencyid": {
  22366. "description": "结算币种ID",
  22367. "type": "integer"
  22368. },
  22369. "currencyname": {
  22370. "description": "币种名称",
  22371. "type": "string"
  22372. },
  22373. "cycletime": {
  22374. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22375. "type": "string"
  22376. },
  22377. "cycletype": {
  22378. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22379. "type": "integer"
  22380. },
  22381. "deliverygoodscode": {
  22382. "description": "现货品种代码",
  22383. "type": "string"
  22384. },
  22385. "deliverygoodsid": {
  22386. "description": "现货品种ID",
  22387. "type": "integer"
  22388. },
  22389. "deliverygoodsname": {
  22390. "description": "现货品种名称",
  22391. "type": "string"
  22392. },
  22393. "enddate": {
  22394. "description": "结束交易日",
  22395. "type": "string"
  22396. },
  22397. "reckondate": {
  22398. "description": "日照时期(yyyyMMdd)",
  22399. "type": "string"
  22400. },
  22401. "sellpreinvoicedamount": {
  22402. "description": "销售预开票额(预开票额)",
  22403. "type": "number"
  22404. },
  22405. "sellprepaidamount": {
  22406. "description": "销售预收款额(预收货款额)",
  22407. "type": "number"
  22408. },
  22409. "selltodayinvoiceamount": {
  22410. "description": "销售今开票额(今开票额)",
  22411. "type": "number"
  22412. },
  22413. "selltodayrefundamount": {
  22414. "description": "销售今付退款额(今付退款额)",
  22415. "type": "number"
  22416. },
  22417. "selltodaysettleamount": {
  22418. "description": "销售今收款额(今收货款额)",
  22419. "type": "number"
  22420. },
  22421. "selluninvoicedamount": {
  22422. "description": "销售应开票额(应开票额)",
  22423. "type": "number"
  22424. },
  22425. "sellunpaidamount": {
  22426. "description": "销售应收款额(应收货款额)",
  22427. "type": "number"
  22428. },
  22429. "spotgoodsbrandid": {
  22430. "description": "现货品牌ID",
  22431. "type": "integer"
  22432. },
  22433. "todaypaysum": {
  22434. "description": "今付款合计",
  22435. "type": "number"
  22436. },
  22437. "todayreceivesum": {
  22438. "description": "今收款合计",
  22439. "type": "number"
  22440. },
  22441. "updatetime": {
  22442. "description": "更新时间",
  22443. "type": "string"
  22444. },
  22445. "wrfactortypeid": {
  22446. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22447. "type": "integer"
  22448. },
  22449. "wrstandardcode": {
  22450. "description": "品类代码",
  22451. "type": "string"
  22452. },
  22453. "wrstandardid": {
  22454. "description": "现货商品ID",
  22455. "type": "integer"
  22456. },
  22457. "wrstandardname": {
  22458. "description": "品类名称",
  22459. "type": "string"
  22460. }
  22461. }
  22462. },
  22463. "models.Ermcp3GoodsGroup": {
  22464. "type": "object",
  22465. "required": [
  22466. "areauserid"
  22467. ],
  22468. "properties": {
  22469. "agreeunit": {
  22470. "description": "合约单位",
  22471. "type": "number"
  22472. },
  22473. "areauserid": {
  22474. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  22475. "type": "integer"
  22476. },
  22477. "canshort": {
  22478. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  22479. "type": "integer"
  22480. },
  22481. "closepricemode": {
  22482. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  22483. "type": "integer"
  22484. },
  22485. "createtime": {
  22486. "description": "创建时间",
  22487. "type": "string"
  22488. },
  22489. "creatorid": {
  22490. "description": "创建人",
  22491. "type": "integer"
  22492. },
  22493. "currencyid": {
  22494. "description": "报价货币ID",
  22495. "type": "integer"
  22496. },
  22497. "decimalplace": {
  22498. "description": "报价小数位",
  22499. "type": "integer"
  22500. },
  22501. "enumdicname": {
  22502. "description": "单位名称",
  22503. "type": "string"
  22504. },
  22505. "exchangefullname": {
  22506. "description": "交易所全称",
  22507. "type": "string"
  22508. },
  22509. "excludecfg": {
  22510. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  22511. "type": "integer"
  22512. },
  22513. "exexchangecode": {
  22514. "description": "交易所代码",
  22515. "type": "string"
  22516. },
  22517. "exexchangeid": {
  22518. "description": "外部交易所ID[通道交易]",
  22519. "type": "integer"
  22520. },
  22521. "exexchangename": {
  22522. "description": "交易所名称",
  22523. "type": "string"
  22524. },
  22525. "goodsgroupid": {
  22526. "description": "商品组ID(自增ID)",
  22527. "type": "integer"
  22528. },
  22529. "goodsgroupname": {
  22530. "description": "商品组名称",
  22531. "type": "string"
  22532. },
  22533. "goodsgroupstatus": {
  22534. "description": "商品组状态 - 1:正常 2:注销",
  22535. "type": "integer"
  22536. },
  22537. "goodunitid": {
  22538. "description": "报价单位ID",
  22539. "type": "integer"
  22540. },
  22541. "groupcategroyid": {
  22542. "description": "品种分类ID",
  22543. "type": "integer"
  22544. },
  22545. "innerdealmode": {
  22546. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  22547. "type": "integer"
  22548. },
  22549. "marketid": {
  22550. "description": "所属市场ID",
  22551. "type": "integer"
  22552. },
  22553. "modifierid": {
  22554. "description": "修改人",
  22555. "type": "integer"
  22556. },
  22557. "modifytime": {
  22558. "description": "修改时间",
  22559. "type": "string"
  22560. },
  22561. "outerdealmode": {
  22562. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  22563. "type": "integer"
  22564. },
  22565. "outergroupcode": {
  22566. "description": "外部商品组代码[通道交易]",
  22567. "type": "string"
  22568. },
  22569. "quoteminunit": {
  22570. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22571. "type": "integer"
  22572. },
  22573. "quotesourcegroupid": {
  22574. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  22575. "type": "integer"
  22576. },
  22577. "syncgoodsqty": {
  22578. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  22579. "type": "integer"
  22580. }
  22581. }
  22582. },
  22583. "models.Ermcp3HPMiddleGoods": {
  22584. "type": "object",
  22585. "properties": {
  22586. "biztype": {
  22587. "description": "业务类型 1:套保 2:套利",
  22588. "type": "integer"
  22589. },
  22590. "contracttype": {
  22591. "description": "合同类型 1:采购 -1:销售",
  22592. "type": "integer"
  22593. },
  22594. "convertratio": {
  22595. "description": "折算系数",
  22596. "type": "number"
  22597. },
  22598. "customername": {
  22599. "description": "对手手名称",
  22600. "type": "string"
  22601. },
  22602. "customeruserid": {
  22603. "description": "对手id",
  22604. "type": "integer"
  22605. },
  22606. "enumdicname": {
  22607. "description": "现货单位名称",
  22608. "type": "string"
  22609. },
  22610. "hedgeplanid": {
  22611. "description": "计划id",
  22612. "type": "string"
  22613. },
  22614. "hedgeplanno": {
  22615. "description": "计划编号",
  22616. "type": "string"
  22617. },
  22618. "middlegoodsid": {
  22619. "description": "套保品种ID",
  22620. "type": "integer"
  22621. },
  22622. "middlegoodsplanqty3": {
  22623. "description": "应套保计划量",
  22624. "type": "number"
  22625. },
  22626. "needhedgeratio": {
  22627. "description": "套保比例",
  22628. "type": "number"
  22629. },
  22630. "pricedqty": {
  22631. "description": "已定价量",
  22632. "type": "number"
  22633. },
  22634. "relatedmiddlegoodsqty": {
  22635. "description": "已关联量(套保品种)(期货)",
  22636. "type": "number"
  22637. },
  22638. "unitid": {
  22639. "description": "现货单位id",
  22640. "type": "integer"
  22641. },
  22642. "userid": {
  22643. "description": "用户id",
  22644. "type": "integer"
  22645. },
  22646. "vatrate": {
  22647. "description": "增值税率",
  22648. "type": "number"
  22649. },
  22650. "wrstandardcode": {
  22651. "description": "现货商品代码",
  22652. "type": "string"
  22653. },
  22654. "wrstandardid": {
  22655. "description": "现货商品id",
  22656. "type": "integer"
  22657. },
  22658. "wrstandardname": {
  22659. "description": "现货商品名称",
  22660. "type": "string"
  22661. }
  22662. }
  22663. },
  22664. "models.Ermcp3HedgePlan": {
  22665. "type": "object",
  22666. "properties": {
  22667. "accountid": {
  22668. "description": "资金账号",
  22669. "type": "integer"
  22670. },
  22671. "areauserid": {
  22672. "description": "用户ID",
  22673. "type": "integer"
  22674. },
  22675. "auditid": {
  22676. "description": "审核id",
  22677. "type": "integer"
  22678. },
  22679. "auditname": {
  22680. "description": "审核人名称",
  22681. "type": "string"
  22682. },
  22683. "auditremark": {
  22684. "description": "审核备注",
  22685. "type": "string"
  22686. },
  22687. "auditsrc": {
  22688. "description": "审核来源 1-管理端 2-终端",
  22689. "type": "integer"
  22690. },
  22691. "audittime": {
  22692. "description": "审核时间",
  22693. "type": "string"
  22694. },
  22695. "contracttype": {
  22696. "description": "计划类型 - 1:采购 -1:销售",
  22697. "type": "integer"
  22698. },
  22699. "convertfactor": {
  22700. "description": "标仓系数",
  22701. "type": "number"
  22702. },
  22703. "createtime": {
  22704. "description": "创建时间",
  22705. "type": "string"
  22706. },
  22707. "currencyid": {
  22708. "description": "币种id",
  22709. "type": "integer"
  22710. },
  22711. "currencyname": {
  22712. "description": "币种名称",
  22713. "type": "string"
  22714. },
  22715. "deliverygoodscode": {
  22716. "description": "现货品种代码",
  22717. "type": "string"
  22718. },
  22719. "deliverygoodsid": {
  22720. "description": "现货品种ID",
  22721. "type": "integer"
  22722. },
  22723. "deliverygoodsname": {
  22724. "description": "现货品种名称",
  22725. "type": "string"
  22726. },
  22727. "enumdicname": {
  22728. "description": "单位名称(现货商品)",
  22729. "type": "string"
  22730. },
  22731. "hedgeplanid": {
  22732. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  22733. "type": "string"
  22734. },
  22735. "hedgeplanno": {
  22736. "description": "套保计划编号(名称)",
  22737. "type": "string"
  22738. },
  22739. "hedgeplanstatus": {
  22740. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22741. "type": "integer"
  22742. },
  22743. "planqty": {
  22744. "description": "计划数量",
  22745. "type": "number"
  22746. },
  22747. "plantime": {
  22748. "description": "计划时间",
  22749. "type": "string"
  22750. },
  22751. "producttype": {
  22752. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  22753. "type": "integer"
  22754. },
  22755. "remark": {
  22756. "description": "备注",
  22757. "type": "string"
  22758. },
  22759. "spotgoodsdesc": {
  22760. "description": "商品型号",
  22761. "type": "string"
  22762. },
  22763. "taaccountname": {
  22764. "description": "资金账号名称",
  22765. "type": "string"
  22766. },
  22767. "tradeuserid": {
  22768. "description": "交易用户id",
  22769. "type": "integer"
  22770. },
  22771. "tradeusername": {
  22772. "description": "交易用户名称",
  22773. "type": "string"
  22774. },
  22775. "unitid": {
  22776. "description": "单位id(现货商品)",
  22777. "type": "integer"
  22778. },
  22779. "updatetime": {
  22780. "description": "更新时间",
  22781. "type": "string"
  22782. },
  22783. "vatrate": {
  22784. "description": "增值税率",
  22785. "type": "number"
  22786. },
  22787. "wrstandardcode": {
  22788. "description": "品类代码",
  22789. "type": "string"
  22790. },
  22791. "wrstandardid": {
  22792. "description": "品类id",
  22793. "type": "integer"
  22794. },
  22795. "wrstandardname": {
  22796. "description": "品类名称",
  22797. "type": "string"
  22798. },
  22799. "wrunitid": {
  22800. "description": "品类单位id",
  22801. "type": "integer"
  22802. },
  22803. "wrunitidame": {
  22804. "description": "品类单位名称",
  22805. "type": "string"
  22806. }
  22807. }
  22808. },
  22809. "models.Ermcp3InnerTradeLink": {
  22810. "type": "object",
  22811. "properties": {
  22812. "accountid": {
  22813. "description": "期货账号代码 | 资金账号ID",
  22814. "type": "integer"
  22815. },
  22816. "buyorsell": {
  22817. "description": "方向 - 0:买 1:卖",
  22818. "type": "integer"
  22819. },
  22820. "channelbuildtype": {
  22821. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  22822. "type": "integer"
  22823. },
  22824. "currencyid": {
  22825. "description": "币种id",
  22826. "type": "integer"
  22827. },
  22828. "currencyname": {
  22829. "description": "结算币种 名称",
  22830. "type": "string"
  22831. },
  22832. "goodscode": {
  22833. "description": "商品代码",
  22834. "type": "string"
  22835. },
  22836. "goodsid": {
  22837. "description": "商品ID",
  22838. "type": "integer"
  22839. },
  22840. "goodsname": {
  22841. "description": "商品名称",
  22842. "type": "string"
  22843. },
  22844. "outtradeid": {
  22845. "description": "外部成交单号",
  22846. "type": "string"
  22847. },
  22848. "taname": {
  22849. "description": "期货账户名称",
  22850. "type": "string"
  22851. },
  22852. "tradeid": {
  22853. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22854. "type": "string"
  22855. },
  22856. "tradeprice": {
  22857. "description": "成交价格",
  22858. "type": "number"
  22859. },
  22860. "tradeqty": {
  22861. "description": "期货成交数量",
  22862. "type": "integer"
  22863. },
  22864. "tradetime": {
  22865. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  22866. "type": "string"
  22867. },
  22868. "username": {
  22869. "description": "用户名称",
  22870. "type": "string"
  22871. }
  22872. }
  22873. },
  22874. "models.Ermcp3OutTradeLink": {
  22875. "type": "object",
  22876. "properties": {
  22877. "buyorsell": {
  22878. "description": "买卖方向 - 0:买 1:卖",
  22879. "type": "integer"
  22880. },
  22881. "channelbuildtype": {
  22882. "description": "开平标志- 0:无 1:建仓 2:平仓",
  22883. "type": "integer"
  22884. },
  22885. "currencyname": {
  22886. "description": "币种名称",
  22887. "type": "string"
  22888. },
  22889. "exexchangecode": {
  22890. "description": "交易所代码",
  22891. "type": "string"
  22892. },
  22893. "exexchangename": {
  22894. "description": "交易所名称",
  22895. "type": "string"
  22896. },
  22897. "goodscode": {
  22898. "description": "合约代码",
  22899. "type": "string"
  22900. },
  22901. "goodsid": {
  22902. "description": "合约id",
  22903. "type": "integer"
  22904. },
  22905. "goodsname": {
  22906. "description": "合约名称",
  22907. "type": "string"
  22908. },
  22909. "hasinnerorder": {
  22910. "description": "是否有内部单关联 - 0:无 1:有",
  22911. "type": "integer"
  22912. },
  22913. "hedgeaccountcode": {
  22914. "description": "外部账号 | 对冲账号",
  22915. "type": "string"
  22916. },
  22917. "outtradeid": {
  22918. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22919. "type": "string"
  22920. },
  22921. "tradeprice": {
  22922. "description": "成交价格",
  22923. "type": "number"
  22924. },
  22925. "tradeqty": {
  22926. "description": "成交数量",
  22927. "type": "integer"
  22928. },
  22929. "tradetime": {
  22930. "description": "成交时间",
  22931. "type": "string"
  22932. }
  22933. }
  22934. },
  22935. "models.Ermcp3PaAreaAuditCfg": {
  22936. "type": "object",
  22937. "properties": {
  22938. "areauserid": {
  22939. "description": "用户ID",
  22940. "type": "integer"
  22941. },
  22942. "buyinauditflag": {
  22943. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  22944. "type": "integer"
  22945. },
  22946. "costratioauditflag": {
  22947. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  22948. "type": "integer"
  22949. },
  22950. "customerauditflag": {
  22951. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  22952. "type": "integer"
  22953. },
  22954. "deliveryauditflag": {
  22955. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  22956. "type": "integer"
  22957. },
  22958. "invoiceauditflag": {
  22959. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  22960. "type": "integer"
  22961. },
  22962. "mgneedhedgeratioauditflag": {
  22963. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  22964. "type": "integer"
  22965. },
  22966. "moneyauditflag": {
  22967. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  22968. "type": "integer"
  22969. },
  22970. "operatorid": {
  22971. "description": "操作人",
  22972. "type": "integer"
  22973. },
  22974. "operatorsrc": {
  22975. "description": "操作来源 - 1:管理端 2:终端",
  22976. "type": "integer"
  22977. },
  22978. "pointpriceauditflag": {
  22979. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  22980. "type": "integer"
  22981. },
  22982. "produceinauditflag": {
  22983. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  22984. "type": "integer"
  22985. },
  22986. "produceoutauditflag": {
  22987. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  22988. "type": "integer"
  22989. },
  22990. "selloutauditflag": {
  22991. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  22992. "type": "integer"
  22993. },
  22994. "sgconvertratioauditflag": {
  22995. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  22996. "type": "integer"
  22997. },
  22998. "sgvtaratioauditflag": {
  22999. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  23000. "type": "integer"
  23001. },
  23002. "spotcontractauditflag": {
  23003. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  23004. "type": "integer"
  23005. },
  23006. "updatetime": {
  23007. "description": "更新时间",
  23008. "type": "string"
  23009. }
  23010. }
  23011. },
  23012. "models.Ermcp3PaAreaSubject": {
  23013. "type": "object",
  23014. "properties": {
  23015. "areauserid": {
  23016. "description": "所属机构",
  23017. "type": "integer"
  23018. },
  23019. "canmodify": {
  23020. "description": "是否可修改 - 0:否 1:是",
  23021. "type": "integer"
  23022. },
  23023. "createtime": {
  23024. "description": "创建时间",
  23025. "type": "string"
  23026. },
  23027. "creatorid": {
  23028. "description": "创建人ID",
  23029. "type": "string"
  23030. },
  23031. "creatorsrc": {
  23032. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  23033. "type": "integer"
  23034. },
  23035. "modifierid": {
  23036. "description": "修改人",
  23037. "type": "string"
  23038. },
  23039. "modifiersrc": {
  23040. "description": "修改人来源 - 1:管理端 2:终端",
  23041. "type": "integer"
  23042. },
  23043. "modifytime": {
  23044. "description": "修改时间",
  23045. "type": "string"
  23046. },
  23047. "parentsubjectid": {
  23048. "description": "上级主体ID",
  23049. "type": "string"
  23050. },
  23051. "remark": {
  23052. "description": "备注",
  23053. "type": "string"
  23054. },
  23055. "subjectid": {
  23056. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  23057. "type": "integer"
  23058. },
  23059. "subjectname": {
  23060. "description": "主体名称",
  23061. "type": "string"
  23062. },
  23063. "subjectstatus": {
  23064. "description": "主体状态 - 1:正常 2: 停用",
  23065. "type": "integer"
  23066. },
  23067. "subjecttype": {
  23068. "description": "主体类型 - 1:交易主体 2:业务部门",
  23069. "type": "integer"
  23070. }
  23071. }
  23072. },
  23073. "models.Ermcp3PaTradeLink": {
  23074. "type": "object",
  23075. "properties": {
  23076. "accountid": {
  23077. "description": "期货账户代码 | 账号ID",
  23078. "type": "integer"
  23079. },
  23080. "agreeunit": {
  23081. "description": "合约乘数",
  23082. "type": "number"
  23083. },
  23084. "buyorsell": {
  23085. "description": "方向 - 0:买 1:卖",
  23086. "type": "integer"
  23087. },
  23088. "channelbuildtype": {
  23089. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  23090. "type": "integer"
  23091. },
  23092. "charge": {
  23093. "description": "手续费",
  23094. "type": "number"
  23095. },
  23096. "closepl": {
  23097. "description": "平仓盈亏",
  23098. "type": "number"
  23099. },
  23100. "closetype": {
  23101. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  23102. "type": "integer"
  23103. },
  23104. "convertratio": {
  23105. "description": "折算系数",
  23106. "type": "number"
  23107. },
  23108. "enumdicname": {
  23109. "description": "单位名称",
  23110. "type": "string"
  23111. },
  23112. "executeprice": {
  23113. "description": "执行价 [期权]",
  23114. "type": "integer"
  23115. },
  23116. "goodscode": {
  23117. "description": "合约代码",
  23118. "type": "string"
  23119. },
  23120. "goodsgroupid": {
  23121. "description": "对冲品种ID[期货合约商品组ID]",
  23122. "type": "integer"
  23123. },
  23124. "goodsid": {
  23125. "description": "商品ID",
  23126. "type": "integer"
  23127. },
  23128. "goodsname": {
  23129. "description": "合约名称",
  23130. "type": "string"
  23131. },
  23132. "goodunitid": {
  23133. "description": "单位id",
  23134. "type": "integer"
  23135. },
  23136. "hedgeflag": {
  23137. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  23138. "type": "integer"
  23139. },
  23140. "marketid": {
  23141. "description": "市场ID",
  23142. "type": "integer"
  23143. },
  23144. "middlegoodsid": {
  23145. "description": "套保品种ID",
  23146. "type": "integer"
  23147. },
  23148. "middlegoodsqty": {
  23149. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  23150. "type": "number"
  23151. },
  23152. "optioncode": {
  23153. "description": "期权代码 [期权]",
  23154. "type": "string"
  23155. },
  23156. "ordertype": {
  23157. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  23158. "type": "integer"
  23159. },
  23160. "ordertypename": {
  23161. "description": "订单类型",
  23162. "type": "string"
  23163. },
  23164. "parentaccountid": {
  23165. "description": "所属母账户",
  23166. "type": "integer"
  23167. },
  23168. "premium": {
  23169. "description": "权利金 [期权]",
  23170. "type": "number"
  23171. },
  23172. "relatedlot": {
  23173. "description": "已关联数量(已关联数量手) | db:关联手数",
  23174. "type": "number"
  23175. },
  23176. "relatedouttradeid": {
  23177. "description": "关联外部成交单ID",
  23178. "type": "string"
  23179. },
  23180. "relatedqty": {
  23181. "description": "关联数量",
  23182. "type": "number"
  23183. },
  23184. "spotcontractid": {
  23185. "description": "现货合同ID [4:套期保值\\10\\11]",
  23186. "type": "string"
  23187. },
  23188. "taname": {
  23189. "description": "期货账户名称",
  23190. "type": "string"
  23191. },
  23192. "tradeamount": {
  23193. "description": "成交金额(账户)",
  23194. "type": "number"
  23195. },
  23196. "tradedate": {
  23197. "description": "交易日(yyyyMMdd)",
  23198. "type": "string"
  23199. },
  23200. "tradeid": {
  23201. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23202. "type": "string"
  23203. },
  23204. "tradelot": {
  23205. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  23206. "type": "integer"
  23207. },
  23208. "tradeprice": {
  23209. "description": "成交价格",
  23210. "type": "number"
  23211. },
  23212. "tradetime": {
  23213. "description": "时间 | db:成交时间",
  23214. "type": "string"
  23215. },
  23216. "tradetype": {
  23217. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  23218. "type": "integer"
  23219. },
  23220. "userid": {
  23221. "description": "所属机构 - 所属母账户的UserID",
  23222. "type": "string"
  23223. },
  23224. "username": {
  23225. "description": "用户名称",
  23226. "type": "string"
  23227. }
  23228. }
  23229. },
  23230. "models.Ermcp3ParamChangeApp": {
  23231. "type": "object",
  23232. "properties": {
  23233. "aftervalue": {
  23234. "description": "变更后",
  23235. "type": "number"
  23236. },
  23237. "applicationid": {
  23238. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  23239. "type": "string"
  23240. },
  23241. "applyid": {
  23242. "description": "申请人",
  23243. "type": "string"
  23244. },
  23245. "applyname": {
  23246. "description": "申请人名称(代码)",
  23247. "type": "string"
  23248. },
  23249. "applyremark": {
  23250. "description": "申请备注",
  23251. "type": "string"
  23252. },
  23253. "applysrc": {
  23254. "description": "申请来源 - 1:管理端 2:终端",
  23255. "type": "integer"
  23256. },
  23257. "applystatus": {
  23258. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  23259. "type": "integer"
  23260. },
  23261. "applytime": {
  23262. "description": "申请时间",
  23263. "type": "string"
  23264. },
  23265. "areauserid": {
  23266. "description": "所属机构用户ID",
  23267. "type": "integer"
  23268. },
  23269. "auditid": {
  23270. "description": "审核人",
  23271. "type": "string"
  23272. },
  23273. "auditname": {
  23274. "description": "审核人名称(代码)",
  23275. "type": "string"
  23276. },
  23277. "auditremark": {
  23278. "description": "审核备注",
  23279. "type": "string"
  23280. },
  23281. "auditsrc": {
  23282. "description": "审核来源 - 1:管理端 2:终端",
  23283. "type": "integer"
  23284. },
  23285. "audittime": {
  23286. "description": "审核时间",
  23287. "type": "string"
  23288. },
  23289. "audittradedate": {
  23290. "description": "审核交易日(yyyyMMdd)",
  23291. "type": "string"
  23292. },
  23293. "beforevalue": {
  23294. "description": "变更前",
  23295. "type": "number"
  23296. },
  23297. "deliverygoodscode": {
  23298. "description": "品种代码",
  23299. "type": "string"
  23300. },
  23301. "deliverygoodsid": {
  23302. "description": "品种id",
  23303. "type": "integer"
  23304. },
  23305. "deliverygoodsname": {
  23306. "description": "品种名称",
  23307. "type": "string"
  23308. },
  23309. "middlegoodscode": {
  23310. "description": "套保品种代码",
  23311. "type": "string"
  23312. },
  23313. "middlegoodsid": {
  23314. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  23315. "type": "integer"
  23316. },
  23317. "middlegoodsname": {
  23318. "description": "套保品种名称",
  23319. "type": "string"
  23320. },
  23321. "operatetype": {
  23322. "description": "操作类型 - 1:新增 2:修改",
  23323. "type": "integer"
  23324. },
  23325. "paramchangetype": {
  23326. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  23327. "type": "integer"
  23328. },
  23329. "wrstandardcode": {
  23330. "description": "现货商品代码",
  23331. "type": "string"
  23332. },
  23333. "wrstandardid": {
  23334. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  23335. "type": "integer"
  23336. },
  23337. "wrstandardname": {
  23338. "description": "现货商品名称",
  23339. "type": "string"
  23340. }
  23341. }
  23342. },
  23343. "models.Ermcp3RootUserAccount": {
  23344. "type": "object",
  23345. "properties": {
  23346. "accountname": {
  23347. "description": "账户名称(机构名称)",
  23348. "type": "string"
  23349. },
  23350. "accountstatus": {
  23351. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  23352. "type": "integer"
  23353. },
  23354. "applysrc": {
  23355. "description": "申请来源 - 1:管理端 2:终端",
  23356. "type": "integer"
  23357. },
  23358. "auditremark": {
  23359. "description": "审核备注",
  23360. "type": "string"
  23361. },
  23362. "auditsrc": {
  23363. "description": "审核来源 - 1:管理端 2:终端",
  23364. "type": "integer"
  23365. },
  23366. "audittime": {
  23367. "description": "审核时间",
  23368. "type": "string"
  23369. },
  23370. "audituserid": {
  23371. "description": "审核人",
  23372. "type": "integer"
  23373. },
  23374. "broker": {
  23375. "description": "所属经纪人ID",
  23376. "type": "integer"
  23377. },
  23378. "canceltime": {
  23379. "description": "销户时间",
  23380. "type": "string"
  23381. },
  23382. "canceluserid": {
  23383. "description": "销户人",
  23384. "type": "integer"
  23385. },
  23386. "canrecommend": {
  23387. "description": "是否可推荐 - 0:不可 1;可",
  23388. "type": "integer"
  23389. },
  23390. "createtime": {
  23391. "description": "创建时间",
  23392. "type": "string"
  23393. },
  23394. "creatorid": {
  23395. "description": "创建人",
  23396. "type": "integer"
  23397. },
  23398. "hasauth": {
  23399. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  23400. "type": "integer"
  23401. },
  23402. "isanonymous": {
  23403. "description": "是否匿名下单 - 0:否 1:是",
  23404. "type": "integer"
  23405. },
  23406. "maxinvestornum": {
  23407. "description": "最大用户数(经纪会员下投资者个数)",
  23408. "type": "integer"
  23409. },
  23410. "memberuserid": {
  23411. "description": "所属会员ID",
  23412. "type": "integer"
  23413. },
  23414. "modifierid": {
  23415. "description": "修改人",
  23416. "type": "integer"
  23417. },
  23418. "modifyremark": {
  23419. "description": "变更备注",
  23420. "type": "string"
  23421. },
  23422. "modifystatus": {
  23423. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  23424. "type": "integer"
  23425. },
  23426. "modifytime": {
  23427. "description": "修改时间",
  23428. "type": "string"
  23429. },
  23430. "nickname": {
  23431. "description": "昵称",
  23432. "type": "string"
  23433. },
  23434. "parenttopuser": {
  23435. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  23436. "type": "string"
  23437. },
  23438. "parentuserid": {
  23439. "description": "所属机构ID",
  23440. "type": "integer"
  23441. },
  23442. "reckonaccountid": {
  23443. "description": "默认结算资金账号ID(机构分润使用) 作废",
  23444. "type": "integer"
  23445. },
  23446. "refercount": {
  23447. "description": "推荐总人数",
  23448. "type": "integer"
  23449. },
  23450. "refereeuserid": {
  23451. "description": "推荐人ID",
  23452. "type": "integer"
  23453. },
  23454. "refernum": {
  23455. "description": "推荐码",
  23456. "type": "string"
  23457. },
  23458. "rootuserid": {
  23459. "description": "根用户ID",
  23460. "type": "integer"
  23461. },
  23462. "subaccountlevel": {
  23463. "description": "子账户层数",
  23464. "type": "integer"
  23465. },
  23466. "subarealevelpath": {
  23467. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  23468. "type": "string"
  23469. },
  23470. "userid": {
  23471. "description": "用户ID",
  23472. "type": "integer"
  23473. },
  23474. "usertype": {
  23475. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  23476. "type": "integer"
  23477. }
  23478. }
  23479. },
  23480. "models.Ermcp3SCMiddleGoods": {
  23481. "type": "object",
  23482. "properties": {
  23483. "biztype": {
  23484. "description": "业务类型 1:套保 2:套利",
  23485. "type": "integer"
  23486. },
  23487. "contractno": {
  23488. "description": "合同编号",
  23489. "type": "string"
  23490. },
  23491. "contracttype": {
  23492. "description": "合同类型 1:采购 -1:销售",
  23493. "type": "integer"
  23494. },
  23495. "convertratio": {
  23496. "description": "折算系数",
  23497. "type": "number"
  23498. },
  23499. "customername": {
  23500. "description": "对手手名称",
  23501. "type": "string"
  23502. },
  23503. "customeruserid": {
  23504. "description": "对手id",
  23505. "type": "integer"
  23506. },
  23507. "deliverygoodscode": {
  23508. "description": "现货品种代码",
  23509. "type": "string"
  23510. },
  23511. "deliverygoodsid": {
  23512. "description": "现货品种ID",
  23513. "type": "integer"
  23514. },
  23515. "deliverygoodsname": {
  23516. "description": "现货品种名称",
  23517. "type": "string"
  23518. },
  23519. "enumdicname": {
  23520. "description": "现货单位名称",
  23521. "type": "string"
  23522. },
  23523. "middlegoodsid": {
  23524. "description": "套保品种ID",
  23525. "type": "integer"
  23526. },
  23527. "middlegoodspricedqty3": {
  23528. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  23529. "type": "number"
  23530. },
  23531. "needhedgeratio": {
  23532. "description": "套保比例",
  23533. "type": "number"
  23534. },
  23535. "pricedqty": {
  23536. "description": "已定价量",
  23537. "type": "number"
  23538. },
  23539. "relatedmiddlegoodsqty": {
  23540. "description": "已关联量(套保品种)(期货)",
  23541. "type": "number"
  23542. },
  23543. "spotcontractid": {
  23544. "description": "合同编号",
  23545. "type": "string"
  23546. },
  23547. "unitid": {
  23548. "description": "现货单位id",
  23549. "type": "integer"
  23550. },
  23551. "userid": {
  23552. "description": "用户id",
  23553. "type": "integer"
  23554. },
  23555. "vatrate": {
  23556. "description": "增值税率",
  23557. "type": "number"
  23558. },
  23559. "wrstandardcode": {
  23560. "description": "现货商品代码",
  23561. "type": "string"
  23562. },
  23563. "wrstandardid": {
  23564. "description": "现货商品id",
  23565. "type": "integer"
  23566. },
  23567. "wrstandardname": {
  23568. "description": "现货商品名称",
  23569. "type": "string"
  23570. }
  23571. }
  23572. },
  23573. "models.Ermcp3SCMiddleGoodsReport": {
  23574. "type": "object",
  23575. "properties": {
  23576. "begindate": {
  23577. "description": "开始交易日",
  23578. "type": "string"
  23579. },
  23580. "contractno": {
  23581. "description": "合同编号",
  23582. "type": "string"
  23583. },
  23584. "contracttype": {
  23585. "description": "合同类型 1:采购 -1:销售",
  23586. "type": "integer"
  23587. },
  23588. "convertratio": {
  23589. "description": "折算系数",
  23590. "type": "number"
  23591. },
  23592. "cycletime": {
  23593. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23594. "type": "string"
  23595. },
  23596. "cycletype": {
  23597. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23598. "type": "integer"
  23599. },
  23600. "deliverygoodscode": {
  23601. "description": "品种代码",
  23602. "type": "string"
  23603. },
  23604. "deliverygoodsid": {
  23605. "description": "现货品种ID",
  23606. "type": "integer"
  23607. },
  23608. "deliverygoodsname": {
  23609. "description": "品种名称",
  23610. "type": "string"
  23611. },
  23612. "diffprice": {
  23613. "description": "现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价",
  23614. "type": "number"
  23615. },
  23616. "diffqty": {
  23617. "description": "期现数量差 = 套保计划量 - 今日期货关联成交量",
  23618. "type": "number"
  23619. },
  23620. "enddate": {
  23621. "description": "结束交易日",
  23622. "type": "string"
  23623. },
  23624. "hedgeplanqty": {
  23625. "description": "套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例",
  23626. "type": "number"
  23627. },
  23628. "matchname": {
  23629. "description": "交易对手方(个人:用户名称 企业:简称)",
  23630. "type": "string"
  23631. },
  23632. "matchnickname": {
  23633. "description": "交易对手方昵称",
  23634. "type": "string"
  23635. },
  23636. "middlegoodscode": {
  23637. "description": "套保品种代码",
  23638. "type": "string"
  23639. },
  23640. "middlegoodsid": {
  23641. "description": "套保品种ID",
  23642. "type": "integer"
  23643. },
  23644. "middlegoodsname": {
  23645. "description": "套保品种名称",
  23646. "type": "string"
  23647. },
  23648. "middlegoodspricedqty": {
  23649. "description": "已定价量(套保品种 - 税前) = PricedQty * 折算系数",
  23650. "type": "number"
  23651. },
  23652. "middlegoodspricedqty2": {
  23653. "description": "已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))",
  23654. "type": "number"
  23655. },
  23656. "middlegoodspricedqty3": {
  23657. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  23658. "type": "number"
  23659. },
  23660. "needhedgeratio": {
  23661. "description": "套保系数",
  23662. "type": "number"
  23663. },
  23664. "pricedamount": {
  23665. "description": "已定价额(现货)",
  23666. "type": "number"
  23667. },
  23668. "pricedamount2": {
  23669. "description": "已定价额(现货-基价额)",
  23670. "type": "number"
  23671. },
  23672. "pricedqty": {
  23673. "description": "已定价量(现货)",
  23674. "type": "number"
  23675. },
  23676. "reckondate": {
  23677. "description": "日照时期(yyyyMMdd)",
  23678. "type": "string"
  23679. },
  23680. "relatedmiddlegoodsamount": {
  23681. "description": "已关联额(期货)",
  23682. "type": "number"
  23683. },
  23684. "relatedmiddlegoodsqty": {
  23685. "description": "已关联量(套保品种)(期货)",
  23686. "type": "number"
  23687. },
  23688. "spotcontractid": {
  23689. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23690. "type": "string"
  23691. },
  23692. "todayavgfutuprice": {
  23693. "description": "今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty",
  23694. "type": "number"
  23695. },
  23696. "todayavgprice": {
  23697. "description": "今日定价均价 = TodayPricedAmount / TodayPricedQty",
  23698. "type": "number"
  23699. },
  23700. "todayavgprice2": {
  23701. "description": "今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty",
  23702. "type": "number"
  23703. },
  23704. "todaypricedamount": {
  23705. "description": "今日定价额(现货)",
  23706. "type": "number"
  23707. },
  23708. "todaypricedamount2": {
  23709. "description": "今日定价额(现货-基价额)",
  23710. "type": "number"
  23711. },
  23712. "todaypricedqty": {
  23713. "description": "今日定价量(现货)",
  23714. "type": "number"
  23715. },
  23716. "todayrelatedfutureqty": {
  23717. "description": "今日关联量(期货)",
  23718. "type": "number"
  23719. },
  23720. "todayrelatedmiddlegoodsamount": {
  23721. "description": "今日关联额(期货)",
  23722. "type": "number"
  23723. },
  23724. "todayrelatedmiddlegoodsqty": {
  23725. "description": "今日关联量(套保品-期货)",
  23726. "type": "number"
  23727. },
  23728. "updatetime": {
  23729. "description": "更新时间",
  23730. "type": "string"
  23731. },
  23732. "userid": {
  23733. "description": "合同所属用户id",
  23734. "type": "integer"
  23735. },
  23736. "vatrate": {
  23737. "description": "增值税率",
  23738. "type": "number"
  23739. },
  23740. "wrstandardcode": {
  23741. "description": "商品(品类) 代码",
  23742. "type": "string"
  23743. },
  23744. "wrstandardid": {
  23745. "description": "现货商品ID",
  23746. "type": "integer"
  23747. },
  23748. "wrstandardname": {
  23749. "description": "商品(品类) 名称",
  23750. "type": "string"
  23751. }
  23752. }
  23753. },
  23754. "models.Ermcp3SellBuyContract": {
  23755. "type": "object",
  23756. "properties": {
  23757. "accountid": {
  23758. "description": "期货账户id",
  23759. "type": "string"
  23760. },
  23761. "accountname": {
  23762. "description": "账户名称",
  23763. "type": "string"
  23764. },
  23765. "attachment": {
  23766. "description": "附件",
  23767. "type": "string"
  23768. },
  23769. "audittime": {
  23770. "description": "审核时间",
  23771. "type": "string"
  23772. },
  23773. "bizsubjectid": {
  23774. "description": "归属业务部门ID - SubjectID",
  23775. "type": "integer"
  23776. },
  23777. "biztype": {
  23778. "description": "业务类型 1-套保 2-套利",
  23779. "type": "integer"
  23780. },
  23781. "brandname": {
  23782. "description": "品牌名称",
  23783. "type": "string"
  23784. },
  23785. "contracctstatus": {
  23786. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23787. "type": "integer"
  23788. },
  23789. "contractmargin": {
  23790. "description": "合同保证金",
  23791. "type": "number"
  23792. },
  23793. "contractno": {
  23794. "description": "合同编号",
  23795. "type": "string"
  23796. },
  23797. "contracttype": {
  23798. "description": "合同类型 1-采购, -1-销售",
  23799. "type": "integer"
  23800. },
  23801. "convertfactor": {
  23802. "description": "标仓系数(品类)",
  23803. "type": "number"
  23804. },
  23805. "createtime": {
  23806. "description": "创建时间",
  23807. "type": "string"
  23808. },
  23809. "currencyid": {
  23810. "description": "币种id",
  23811. "type": "integer"
  23812. },
  23813. "currencyname": {
  23814. "description": "币种名称",
  23815. "type": "string"
  23816. },
  23817. "daikaiamount": {
  23818. "description": "应收(开)票额 | 未收票额",
  23819. "type": "number"
  23820. },
  23821. "deliveryenddate": {
  23822. "description": "交割结束日",
  23823. "type": "string"
  23824. },
  23825. "deliverygoodscode": {
  23826. "description": "现货品种代码",
  23827. "type": "string"
  23828. },
  23829. "deliverygoodsid": {
  23830. "description": "现货商品ID",
  23831. "type": "integer"
  23832. },
  23833. "deliverygoodsname": {
  23834. "description": "现货品种名称",
  23835. "type": "string"
  23836. },
  23837. "deliverystartdate": {
  23838. "description": "交割开始日",
  23839. "type": "string"
  23840. },
  23841. "enddate": {
  23842. "description": "点价结束日",
  23843. "type": "string"
  23844. },
  23845. "enumdicname": {
  23846. "description": "单位名称",
  23847. "type": "string"
  23848. },
  23849. "goodscode": {
  23850. "description": "点价商品代码",
  23851. "type": "string"
  23852. },
  23853. "goodsgroupid": {
  23854. "description": "点价商品组id",
  23855. "type": "integer"
  23856. },
  23857. "goodsid": {
  23858. "description": "点价商品ID",
  23859. "type": "integer"
  23860. },
  23861. "goodsname": {
  23862. "description": "点价商品名称",
  23863. "type": "string"
  23864. },
  23865. "invoiceamount": {
  23866. "description": "已开票额",
  23867. "type": "number"
  23868. },
  23869. "loanamount": {
  23870. "description": "贷款总额=已定价额+调整金额",
  23871. "type": "number"
  23872. },
  23873. "margin": {
  23874. "description": "保证金",
  23875. "type": "number"
  23876. },
  23877. "meruserid": {
  23878. "description": "跟单员id",
  23879. "type": "integer"
  23880. },
  23881. "meruserlogincode": {
  23882. "description": "跟单员登录代码",
  23883. "type": "string"
  23884. },
  23885. "merusername": {
  23886. "description": "跟单员名称",
  23887. "type": "string"
  23888. },
  23889. "nickname": {
  23890. "description": "账户昵称",
  23891. "type": "string"
  23892. },
  23893. "orireckonrealqty": {
  23894. "description": "应交收量",
  23895. "type": "number"
  23896. },
  23897. "payamount": {
  23898. "description": "已收付额(收款或付款)",
  23899. "type": "number"
  23900. },
  23901. "preinvoiceamount": {
  23902. "description": "预收(开)票额",
  23903. "type": "number"
  23904. },
  23905. "prepayamount": {
  23906. "description": "预收付额",
  23907. "type": "number"
  23908. },
  23909. "price": {
  23910. "description": "价格",
  23911. "type": "number"
  23912. },
  23913. "pricedamount": {
  23914. "description": "已定价额",
  23915. "type": "number"
  23916. },
  23917. "pricedavg": {
  23918. "description": "已点均价",
  23919. "type": "number"
  23920. },
  23921. "pricedqty": {
  23922. "description": "已定价量",
  23923. "type": "number"
  23924. },
  23925. "pricemove": {
  23926. "description": "升贴水",
  23927. "type": "number"
  23928. },
  23929. "pricetype": {
  23930. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23931. "type": "integer"
  23932. },
  23933. "producttype": {
  23934. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  23935. "type": "integer"
  23936. },
  23937. "qty": {
  23938. "description": "合同量",
  23939. "type": "number"
  23940. },
  23941. "reckonadjustamount": {
  23942. "description": "调整金额",
  23943. "type": "number"
  23944. },
  23945. "reckonedamount": {
  23946. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  23947. "type": "number"
  23948. },
  23949. "reckonotheramount": {
  23950. "description": "其它费用",
  23951. "type": "number"
  23952. },
  23953. "reckonrealqty": {
  23954. "description": "已交收量",
  23955. "type": "number"
  23956. },
  23957. "remark": {
  23958. "description": "备注",
  23959. "type": "string"
  23960. },
  23961. "saleuserid": {
  23962. "description": "业务员id",
  23963. "type": "integer"
  23964. },
  23965. "saleuserlogincode": {
  23966. "description": "业务员登录代码",
  23967. "type": "string"
  23968. },
  23969. "saleusername": {
  23970. "description": "业务员名称",
  23971. "type": "string"
  23972. },
  23973. "spotcontractid": {
  23974. "description": "合同ID",
  23975. "type": "string"
  23976. },
  23977. "spotgoodsbrandid": {
  23978. "description": "现货品牌ID(DGFactoryItem表的ID)",
  23979. "type": "integer"
  23980. },
  23981. "spotgoodsdesc": {
  23982. "description": "商品型号(商品规格)",
  23983. "type": "string"
  23984. },
  23985. "startdate": {
  23986. "description": "点价开始日",
  23987. "type": "string"
  23988. },
  23989. "subjectid": {
  23990. "description": "交易主体ID",
  23991. "type": "integer"
  23992. },
  23993. "subjectname": {
  23994. "description": "交易主体名称",
  23995. "type": "string"
  23996. },
  23997. "totalamount": {
  23998. "description": "合计总额",
  23999. "type": "number"
  24000. },
  24001. "tradeuserid": {
  24002. "description": "交易员id",
  24003. "type": "integer"
  24004. },
  24005. "tradeuserlogincode": {
  24006. "description": "交易员登录代码",
  24007. "type": "string"
  24008. },
  24009. "tradeusername": {
  24010. "description": "交易员名称",
  24011. "type": "string"
  24012. },
  24013. "unpayamount": {
  24014. "description": "应收付款额(应支付或应收款) | 未付款额",
  24015. "type": "number"
  24016. },
  24017. "unpricedqty": {
  24018. "description": "未定价量",
  24019. "type": "number"
  24020. },
  24021. "unsureqty": {
  24022. "description": "未确定量 | 未交收量",
  24023. "type": "number"
  24024. },
  24025. "userid": {
  24026. "description": "机构ID",
  24027. "type": "integer"
  24028. },
  24029. "vatrate": {
  24030. "description": "增值税率",
  24031. "type": "number"
  24032. },
  24033. "wrstandardcode": {
  24034. "description": "品类代码",
  24035. "type": "string"
  24036. },
  24037. "wrstandardid": {
  24038. "description": "品类ID",
  24039. "type": "integer"
  24040. },
  24041. "wrstandardname": {
  24042. "description": "品类名称",
  24043. "type": "string"
  24044. }
  24045. }
  24046. },
  24047. "models.Ermcp3SpotGoodsPrice": {
  24048. "type": "object",
  24049. "properties": {
  24050. "areauserid": {
  24051. "description": "所属机构id",
  24052. "type": "integer"
  24053. },
  24054. "brandname": {
  24055. "description": "品牌名称",
  24056. "type": "string"
  24057. },
  24058. "currencyid": {
  24059. "description": "报价货币ID",
  24060. "type": "integer"
  24061. },
  24062. "currencyname": {
  24063. "description": "币种名称",
  24064. "type": "string"
  24065. },
  24066. "deliverygoodscode": {
  24067. "description": "现货商品代码",
  24068. "type": "string"
  24069. },
  24070. "deliverygoodsid": {
  24071. "description": "现货商品id",
  24072. "type": "integer"
  24073. },
  24074. "deliverygoodsname": {
  24075. "description": "现货商品名称",
  24076. "type": "string"
  24077. },
  24078. "enumdicname": {
  24079. "description": "现货商品单位名称",
  24080. "type": "string"
  24081. },
  24082. "gbenumdicname": {
  24083. "description": "品类单位名称",
  24084. "type": "string"
  24085. },
  24086. "gmunitid": {
  24087. "description": "品类单位id",
  24088. "type": "integer"
  24089. },
  24090. "isvalid": {
  24091. "description": "是否有效 - 0:无效 1:有效",
  24092. "type": "integer"
  24093. },
  24094. "operateid": {
  24095. "description": "最后操作人",
  24096. "type": "integer"
  24097. },
  24098. "operatesrc": {
  24099. "description": "最后操作来源 - 1:管理端 2:终端",
  24100. "type": "integer"
  24101. },
  24102. "operatetime": {
  24103. "description": "最后操作时间",
  24104. "type": "string"
  24105. },
  24106. "operatorname": {
  24107. "description": "操作人名称",
  24108. "type": "string"
  24109. },
  24110. "spotgoodsbrandid": {
  24111. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  24112. "type": "integer"
  24113. },
  24114. "spotgoodsprice": {
  24115. "description": "现货价格",
  24116. "type": "number"
  24117. },
  24118. "tradedate": {
  24119. "description": "交易日(yyyyMMdd)",
  24120. "type": "string"
  24121. },
  24122. "unitid": {
  24123. "description": "现货商品单位id",
  24124. "type": "integer"
  24125. },
  24126. "wrstandardcode": {
  24127. "description": "品类代码",
  24128. "type": "string"
  24129. },
  24130. "wrstandardid": {
  24131. "description": "现货品类ID(通用则为0)",
  24132. "type": "integer"
  24133. },
  24134. "wrstandardname": {
  24135. "description": "品类名称",
  24136. "type": "string"
  24137. }
  24138. }
  24139. },
  24140. "models.Ermcp3SpotGoodsPriceLog": {
  24141. "type": "object",
  24142. "properties": {
  24143. "areauserid": {
  24144. "description": "所属机构id",
  24145. "type": "integer"
  24146. },
  24147. "brandname": {
  24148. "description": "品牌名称",
  24149. "type": "string"
  24150. },
  24151. "currencyid": {
  24152. "description": "报价货币ID",
  24153. "type": "integer"
  24154. },
  24155. "deliverygoodscode": {
  24156. "description": "现货商品代码",
  24157. "type": "string"
  24158. },
  24159. "deliverygoodsid": {
  24160. "description": "现货商品id",
  24161. "type": "integer"
  24162. },
  24163. "deliverygoodsname": {
  24164. "description": "现货商品名称",
  24165. "type": "string"
  24166. },
  24167. "enumdicname": {
  24168. "description": "现货商品单位名称",
  24169. "type": "string"
  24170. },
  24171. "gbenumdicname": {
  24172. "description": "品类单位名称",
  24173. "type": "string"
  24174. },
  24175. "gmunitid": {
  24176. "description": "品类单位id",
  24177. "type": "integer"
  24178. },
  24179. "logid": {
  24180. "description": "日志id",
  24181. "type": "integer"
  24182. },
  24183. "operateid": {
  24184. "description": "最后操作人",
  24185. "type": "integer"
  24186. },
  24187. "operatesrc": {
  24188. "description": "最后操作来源 - 1:管理端 2:终端",
  24189. "type": "integer"
  24190. },
  24191. "operatetime": {
  24192. "description": "最后操作时间",
  24193. "type": "string"
  24194. },
  24195. "operatorname": {
  24196. "description": "操作人名称",
  24197. "type": "string"
  24198. },
  24199. "spotgoodsbrandid": {
  24200. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  24201. "type": "integer"
  24202. },
  24203. "spotgoodsprice": {
  24204. "description": "现货价格",
  24205. "type": "number"
  24206. },
  24207. "tradedate": {
  24208. "description": "交易日(yyyyMMdd)",
  24209. "type": "string"
  24210. },
  24211. "unitid": {
  24212. "description": "现货商品单位id",
  24213. "type": "integer"
  24214. },
  24215. "wrstandardcode": {
  24216. "description": "品类代码",
  24217. "type": "string"
  24218. },
  24219. "wrstandardid": {
  24220. "description": "现货品类ID(通用则为0)",
  24221. "type": "integer"
  24222. },
  24223. "wrstandardname": {
  24224. "description": "品类名称",
  24225. "type": "string"
  24226. }
  24227. }
  24228. },
  24229. "models.Ermcp3SubTaaccount": {
  24230. "type": "object",
  24231. "properties": {
  24232. "accountid": {
  24233. "description": "资金账户ID",
  24234. "type": "integer"
  24235. },
  24236. "parentaccountcode": {
  24237. "description": "所属根账号代码(母账号代码)",
  24238. "type": "string"
  24239. },
  24240. "parentaccountid": {
  24241. "description": "所属根账号(母账号)",
  24242. "type": "integer"
  24243. },
  24244. "taname": {
  24245. "description": "资金账号名称",
  24246. "type": "string"
  24247. },
  24248. "tradestatus": {
  24249. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  24250. "type": "integer"
  24251. },
  24252. "username": {
  24253. "description": "交易用户",
  24254. "type": "string"
  24255. }
  24256. }
  24257. },
  24258. "models.Ermcp3TaFutuReDataReport": {
  24259. "type": "object",
  24260. "properties": {
  24261. "accountid": {
  24262. "description": "交易账户",
  24263. "type": "integer"
  24264. },
  24265. "accountname": {
  24266. "description": "交易账号名称",
  24267. "type": "string"
  24268. },
  24269. "agreeunit": {
  24270. "description": "商品合约单位",
  24271. "type": "number"
  24272. },
  24273. "begindate": {
  24274. "description": "开始交易日",
  24275. "type": "string"
  24276. },
  24277. "buyorsell": {
  24278. "description": "持仓方向",
  24279. "type": "integer"
  24280. },
  24281. "charge": {
  24282. "description": "手续费",
  24283. "type": "number"
  24284. },
  24285. "closeavgprice": {
  24286. "description": "平仓均价",
  24287. "type": "number"
  24288. },
  24289. "closepl": {
  24290. "description": "平仓损益",
  24291. "type": "number"
  24292. },
  24293. "currencyid": {
  24294. "description": "结算币种ID",
  24295. "type": "integer"
  24296. },
  24297. "currencyname": {
  24298. "description": "币种名称",
  24299. "type": "string"
  24300. },
  24301. "cycletime": {
  24302. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24303. "type": "string"
  24304. },
  24305. "cycletype": {
  24306. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24307. "type": "integer"
  24308. },
  24309. "enddate": {
  24310. "description": "结束交易日",
  24311. "type": "string"
  24312. },
  24313. "enumdicname": {
  24314. "description": "单位名称",
  24315. "type": "string"
  24316. },
  24317. "floatpl": {
  24318. "description": "浮动损益",
  24319. "type": "number"
  24320. },
  24321. "goodscode": {
  24322. "description": "交易合约代码",
  24323. "type": "string"
  24324. },
  24325. "goodsgroupid": {
  24326. "description": "交易品种",
  24327. "type": "integer"
  24328. },
  24329. "goodsgroupname": {
  24330. "description": "交易品种名称",
  24331. "type": "string"
  24332. },
  24333. "goodsgroupspotqty": {
  24334. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  24335. "type": "number"
  24336. },
  24337. "goodsid": {
  24338. "description": "交易合约",
  24339. "type": "integer"
  24340. },
  24341. "goodsname": {
  24342. "description": "交易合约名称",
  24343. "type": "string"
  24344. },
  24345. "goodunitid": {
  24346. "description": "交易合约单位id",
  24347. "type": "integer"
  24348. },
  24349. "holdamount": {
  24350. "description": "期末持仓额",
  24351. "type": "number"
  24352. },
  24353. "holdqty": {
  24354. "description": "期末持仓量",
  24355. "type": "number"
  24356. },
  24357. "lastholdamount": {
  24358. "description": "当前持仓额",
  24359. "type": "number"
  24360. },
  24361. "lastprice": {
  24362. "description": "最新价",
  24363. "type": "number"
  24364. },
  24365. "middlegoodsid": {
  24366. "description": "套保品种id",
  24367. "type": "integer"
  24368. },
  24369. "middlegoodsname": {
  24370. "description": "套保商品名称",
  24371. "type": "string"
  24372. },
  24373. "middlegoodsqty": {
  24374. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  24375. "type": "number"
  24376. },
  24377. "middlgoodscode": {
  24378. "description": "套保商品代码",
  24379. "type": "string"
  24380. },
  24381. "openamount": {
  24382. "description": "期末开仓额",
  24383. "type": "number"
  24384. },
  24385. "openavgprice": {
  24386. "description": "开仓均价",
  24387. "type": "number"
  24388. },
  24389. "oriholdamount": {
  24390. "description": "期初持仓额",
  24391. "type": "number"
  24392. },
  24393. "oriholdqty": {
  24394. "description": "期初持仓量",
  24395. "type": "number"
  24396. },
  24397. "oriopenamount": {
  24398. "description": "期初开仓额",
  24399. "type": "number"
  24400. },
  24401. "outergroupcode": {
  24402. "description": "交易品种代码",
  24403. "type": "string"
  24404. },
  24405. "qtydecimalplace": {
  24406. "description": "成交量小数位",
  24407. "type": "integer"
  24408. },
  24409. "reckondate": {
  24410. "description": "日照时期(yyyyMMdd)",
  24411. "type": "string"
  24412. },
  24413. "reckonholdamount": {
  24414. "description": "结算持仓额",
  24415. "type": "number"
  24416. },
  24417. "reckonpl": {
  24418. "description": "结算损益",
  24419. "type": "number"
  24420. },
  24421. "reckonpl2": {
  24422. "description": "结算逐笔盈亏",
  24423. "type": "number"
  24424. },
  24425. "reckonprice": {
  24426. "description": "结算价",
  24427. "type": "number"
  24428. },
  24429. "relateduserid": {
  24430. "description": "账户关联用户ID",
  24431. "type": "integer"
  24432. },
  24433. "todaycloseamount": {
  24434. "description": "今平仓额",
  24435. "type": "number"
  24436. },
  24437. "todaycloseqty": {
  24438. "description": "今平仓量",
  24439. "type": "number"
  24440. },
  24441. "todaygoodsgroupspotqty": {
  24442. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  24443. "type": "number"
  24444. },
  24445. "todaymiddlegoodsqty": {
  24446. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  24447. "type": "number"
  24448. },
  24449. "todayopenamount": {
  24450. "description": "今开仓额",
  24451. "type": "number"
  24452. },
  24453. "todayopenqty": {
  24454. "description": "今开仓量",
  24455. "type": "number"
  24456. },
  24457. "userid": {
  24458. "description": "账户所属用户ID",
  24459. "type": "integer"
  24460. }
  24461. }
  24462. },
  24463. "models.Ermcp3TradeLinkDetail": {
  24464. "type": "object",
  24465. "properties": {
  24466. "accountid": {
  24467. "description": "资金账号",
  24468. "type": "integer"
  24469. },
  24470. "agreeunit": {
  24471. "description": "合约乘数",
  24472. "type": "number"
  24473. },
  24474. "areauserid": {
  24475. "description": "所属机构",
  24476. "type": "string"
  24477. },
  24478. "bizsubjectid": {
  24479. "description": "归属业务部门ID - SubjectID",
  24480. "type": "string"
  24481. },
  24482. "buyorsell": {
  24483. "description": "方向 - 0:买 1:卖",
  24484. "type": "integer"
  24485. },
  24486. "channelbuildtype": {
  24487. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24488. "type": "integer"
  24489. },
  24490. "contractno": {
  24491. "description": "现货编号 (合同编号)",
  24492. "type": "string"
  24493. },
  24494. "convertratio": {
  24495. "description": "折算系数",
  24496. "type": "number"
  24497. },
  24498. "createtime": {
  24499. "description": "关联时间 | 创建时间",
  24500. "type": "string"
  24501. },
  24502. "creatorid": {
  24503. "description": "创建人ID",
  24504. "type": "string"
  24505. },
  24506. "creatorsrc": {
  24507. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  24508. "type": "integer"
  24509. },
  24510. "enumdicname": {
  24511. "description": "单位名称",
  24512. "type": "string"
  24513. },
  24514. "goodscode": {
  24515. "description": "合约代码",
  24516. "type": "string"
  24517. },
  24518. "goodsgroupid": {
  24519. "description": "对冲品种ID[期货合约商品组ID]",
  24520. "type": "integer"
  24521. },
  24522. "goodsid": {
  24523. "description": "商品ID",
  24524. "type": "integer"
  24525. },
  24526. "goodsname": {
  24527. "description": "合约名称",
  24528. "type": "string"
  24529. },
  24530. "hedgeflag": {
  24531. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  24532. "type": "integer"
  24533. },
  24534. "linkdetailid": {
  24535. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  24536. "type": "string"
  24537. },
  24538. "linkstatus": {
  24539. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  24540. "type": "integer"
  24541. },
  24542. "middlegoodscode": {
  24543. "description": "套保品种代码",
  24544. "type": "string"
  24545. },
  24546. "middlegoodsid": {
  24547. "description": "套保品种ID",
  24548. "type": "integer"
  24549. },
  24550. "middlegoodsname": {
  24551. "description": "套保品种名称",
  24552. "type": "string"
  24553. },
  24554. "relatedlot": {
  24555. "description": "关联手数",
  24556. "type": "number"
  24557. },
  24558. "relatedmode": {
  24559. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  24560. "type": "integer"
  24561. },
  24562. "relatedqty": {
  24563. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  24564. "type": "number"
  24565. },
  24566. "retcode": {
  24567. "description": "返回码",
  24568. "type": "integer"
  24569. },
  24570. "saleuserid": {
  24571. "description": "业务员ID",
  24572. "type": "string"
  24573. },
  24574. "spotcontractid": {
  24575. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  24576. "type": "string"
  24577. },
  24578. "taname": {
  24579. "description": "期货账户",
  24580. "type": "string"
  24581. },
  24582. "tradedate": {
  24583. "description": "关联交易日(yyyyMMdd)",
  24584. "type": "string"
  24585. },
  24586. "tradeid": {
  24587. "description": "期货订单号 | 内部成交单ID",
  24588. "type": "string"
  24589. },
  24590. "tradelot": {
  24591. "description": "成交数量 | 成交手数",
  24592. "type": "integer"
  24593. },
  24594. "tradeprice": {
  24595. "description": "成交价格",
  24596. "type": "number"
  24597. },
  24598. "tradetime": {
  24599. "description": "期货成交时间",
  24600. "type": "string"
  24601. },
  24602. "tradetradedate": {
  24603. "description": "成交交易日(yyyyMMdd)",
  24604. "type": "string"
  24605. },
  24606. "username": {
  24607. "description": "用户名称",
  24608. "type": "string"
  24609. }
  24610. }
  24611. },
  24612. "models.Ermcp3Wrstandard": {
  24613. "type": "object",
  24614. "properties": {
  24615. "areauserid": {
  24616. "description": "所属机构",
  24617. "type": "integer"
  24618. },
  24619. "cantrade": {
  24620. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  24621. "type": "integer"
  24622. },
  24623. "convertfactor": {
  24624. "description": "标仓系数",
  24625. "type": "number"
  24626. },
  24627. "createtime": {
  24628. "description": "创建时间",
  24629. "type": "string"
  24630. },
  24631. "creatorid": {
  24632. "description": "创建人",
  24633. "type": "integer"
  24634. },
  24635. "deliverygoodsid": {
  24636. "description": "现货品种ID",
  24637. "type": "integer"
  24638. },
  24639. "enumdicname": {
  24640. "description": "品类单位名称",
  24641. "type": "string"
  24642. },
  24643. "isvalid": {
  24644. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  24645. "type": "integer"
  24646. },
  24647. "minivalue": {
  24648. "description": "最小变动值",
  24649. "type": "integer"
  24650. },
  24651. "minivaluedp": {
  24652. "description": "最小变动值小数位",
  24653. "type": "integer"
  24654. },
  24655. "realminivalue": {
  24656. "description": "实际最小变动值",
  24657. "type": "integer"
  24658. },
  24659. "realminivaluedp": {
  24660. "description": "实际最小变动值小数位",
  24661. "type": "integer"
  24662. },
  24663. "remark": {
  24664. "description": "备注",
  24665. "type": "string"
  24666. },
  24667. "unitid": {
  24668. "description": "品类单位ID",
  24669. "type": "integer"
  24670. },
  24671. "updatetime": {
  24672. "description": "更新时间",
  24673. "type": "string"
  24674. },
  24675. "wrstandardcode": {
  24676. "description": "品类代码",
  24677. "type": "string"
  24678. },
  24679. "wrstandardid": {
  24680. "description": "品类ID(SEQ_WRSTANDARD)",
  24681. "type": "integer"
  24682. },
  24683. "wrstandardname": {
  24684. "description": "品类名称",
  24685. "type": "string"
  24686. }
  24687. }
  24688. },
  24689. "models.ErmcpBizGroupEx": {
  24690. "type": "object",
  24691. "properties": {
  24692. "acclist": {
  24693. "description": "账号列表",
  24694. "type": "array",
  24695. "items": {
  24696. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  24697. }
  24698. },
  24699. "bizgroupid": {
  24700. "description": "业务分组id",
  24701. "type": "integer"
  24702. },
  24703. "biztype": {
  24704. "description": "业务类型 1-套保 2-套利",
  24705. "type": "integer"
  24706. },
  24707. "wrlist": {
  24708. "description": "现货商品表",
  24709. "type": "array",
  24710. "items": {
  24711. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  24712. }
  24713. }
  24714. }
  24715. },
  24716. "models.ErmcpBizGroupSpotGoods": {
  24717. "type": "object",
  24718. "properties": {
  24719. "areauserid": {
  24720. "description": "所属机构id",
  24721. "type": "integer"
  24722. },
  24723. "bizgroupid": {
  24724. "description": "分组id",
  24725. "type": "integer"
  24726. },
  24727. "biztype": {
  24728. "description": "业务类型 1-套保 2-套利",
  24729. "type": "integer"
  24730. },
  24731. "deliverygoodscode": {
  24732. "description": "现货商品代码",
  24733. "type": "string"
  24734. },
  24735. "deliverygoodsid": {
  24736. "description": "现货商品id",
  24737. "type": "integer"
  24738. },
  24739. "deliverygoodsname": {
  24740. "description": "现货商品名称",
  24741. "type": "string"
  24742. },
  24743. "unitid": {
  24744. "description": "现货商品单位id",
  24745. "type": "integer"
  24746. }
  24747. }
  24748. },
  24749. "models.ErmcpBizGroupTaAccount": {
  24750. "type": "object",
  24751. "properties": {
  24752. "accountid": {
  24753. "description": "账号id",
  24754. "type": "integer"
  24755. },
  24756. "accountname": {
  24757. "description": "账号名称",
  24758. "type": "string"
  24759. },
  24760. "areauserid": {
  24761. "description": "所属机构id",
  24762. "type": "integer"
  24763. },
  24764. "bizgroupid": {
  24765. "description": "业务分组id",
  24766. "type": "integer"
  24767. },
  24768. "ismain": {
  24769. "description": "是否主账号 1-是 0-否",
  24770. "type": "integer"
  24771. }
  24772. }
  24773. },
  24774. "models.ErmcpDGFactoryItem": {
  24775. "type": "object",
  24776. "properties": {
  24777. "areauserid": {
  24778. "description": "用户id",
  24779. "type": "integer"
  24780. },
  24781. "deliverygoodsid": {
  24782. "description": "现货品种ID",
  24783. "type": "integer"
  24784. },
  24785. "dgfactoryitemid": {
  24786. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  24787. "type": "integer"
  24788. },
  24789. "dgfactoryitemtypeid": {
  24790. "description": "要素项类型",
  24791. "type": "integer"
  24792. },
  24793. "dgfactoryitemvalue": {
  24794. "description": "要素项值(类型为仓库时填写仓库名称)",
  24795. "type": "string"
  24796. },
  24797. "isvalid": {
  24798. "description": "是否有效 - 0:无效 1:有效",
  24799. "type": "integer"
  24800. },
  24801. "orderindex": {
  24802. "description": "顺序",
  24803. "type": "integer"
  24804. },
  24805. "warehouseid": {
  24806. "description": "仓库ID(类型为仓库时填写)",
  24807. "type": "integer"
  24808. }
  24809. }
  24810. },
  24811. "models.ErmcpDeliveryGoods": {
  24812. "type": "object",
  24813. "properties": {
  24814. "agreeunit": {
  24815. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  24816. "type": "integer"
  24817. },
  24818. "areauserid": {
  24819. "description": "所属机构",
  24820. "type": "integer"
  24821. },
  24822. "auditflag": {
  24823. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  24824. "type": "integer"
  24825. },
  24826. "categoryid": {
  24827. "description": "类别ID(SEQ_WRCATEGORY)",
  24828. "type": "integer"
  24829. },
  24830. "deliverygoodscode": {
  24831. "description": "现货品种代码",
  24832. "type": "string"
  24833. },
  24834. "deliverygoodsid": {
  24835. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  24836. "type": "integer"
  24837. },
  24838. "deliverygoodsname": {
  24839. "description": "现货品种名称",
  24840. "type": "string"
  24841. },
  24842. "deliverygoodstype": {
  24843. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  24844. "type": "integer"
  24845. },
  24846. "dgstatus": {
  24847. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  24848. "type": "integer"
  24849. },
  24850. "enumdicname": {
  24851. "description": "现货品种单位名称",
  24852. "type": "string"
  24853. },
  24854. "goodsunitid": {
  24855. "description": "现货品种单位ID",
  24856. "type": "integer"
  24857. },
  24858. "isvalid": {
  24859. "description": "是否有效 - 0:无效 1:有效",
  24860. "type": "integer"
  24861. },
  24862. "qtydecimalplace": {
  24863. "description": "成交量小数位",
  24864. "type": "integer"
  24865. },
  24866. "remark": {
  24867. "description": "备注",
  24868. "type": "string"
  24869. },
  24870. "standardqty": {
  24871. "description": "标准数量(库位数量) [标准品特有]",
  24872. "type": "integer"
  24873. },
  24874. "standardqtyrange": {
  24875. "description": "标准数量偏差范围 [标准品特有]",
  24876. "type": "integer"
  24877. }
  24878. }
  24879. },
  24880. "models.ErmcpFuturesCompany": {
  24881. "type": "object",
  24882. "properties": {
  24883. "brokerid": {
  24884. "description": "经纪公司代码",
  24885. "type": "string"
  24886. },
  24887. "channeladdress": {
  24888. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  24889. "type": "string"
  24890. },
  24891. "channelid": {
  24892. "description": "对冲渠道ID",
  24893. "type": "string"
  24894. },
  24895. "createtime": {
  24896. "description": "创建时间",
  24897. "type": "string"
  24898. },
  24899. "creatorid": {
  24900. "description": "创建人",
  24901. "type": "string"
  24902. },
  24903. "fcid": {
  24904. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  24905. "type": "integer"
  24906. },
  24907. "fcname": {
  24908. "description": "期货公司名称",
  24909. "type": "string"
  24910. },
  24911. "isvalid": {
  24912. "description": "是否有效 - 0:无效 1:有效",
  24913. "type": "integer"
  24914. },
  24915. "mhpaddress": {
  24916. "description": "MHP服务地址(IP:Port)",
  24917. "type": "string"
  24918. },
  24919. "riskrulegroupid": {
  24920. "description": "风控规则组ID",
  24921. "type": "string"
  24922. },
  24923. "tradefeetmpid": {
  24924. "description": "手续费模板ID[TradeConfigTmpType为2]",
  24925. "type": "string"
  24926. },
  24927. "trademargintmpid": {
  24928. "description": "保证金模板ID [TradeConfigTmpType为1]",
  24929. "type": "string"
  24930. },
  24931. "traderatetmpid": {
  24932. "description": "汇率模板ID[TradeConfigTmpType为3]",
  24933. "type": "string"
  24934. },
  24935. "updatetime": {
  24936. "description": "更新时间",
  24937. "type": "string"
  24938. },
  24939. "updatorid": {
  24940. "description": "更新人",
  24941. "type": "string"
  24942. }
  24943. }
  24944. },
  24945. "models.ErmcpGGConvertCfg": {
  24946. "type": "object",
  24947. "properties": {
  24948. "convertratio": {
  24949. "description": "折算系数",
  24950. "type": "number"
  24951. },
  24952. "destgoodsgroupid": {
  24953. "description": "目标品种ID",
  24954. "type": "integer"
  24955. },
  24956. "dstcode": {
  24957. "description": "目录品种代码",
  24958. "type": "string"
  24959. },
  24960. "dstexchangecode": {
  24961. "description": "目标期货交易所",
  24962. "type": "string"
  24963. },
  24964. "dstname": {
  24965. "description": "目标品种名称",
  24966. "type": "string"
  24967. },
  24968. "dstunitid": {
  24969. "description": "目标品种单位ID",
  24970. "type": "integer"
  24971. },
  24972. "dstunitidname": {
  24973. "description": "目标品种单位名称",
  24974. "type": "string"
  24975. },
  24976. "modifytime": {
  24977. "description": "修改时间",
  24978. "type": "string"
  24979. },
  24980. "srccode": {
  24981. "description": "源品种代码",
  24982. "type": "string"
  24983. },
  24984. "srcexchangecode": {
  24985. "description": "源期货交易所",
  24986. "type": "string"
  24987. },
  24988. "srcgoodsgroupid": {
  24989. "description": "源品种ID",
  24990. "type": "integer"
  24991. },
  24992. "srcname": {
  24993. "description": "源品种名称",
  24994. "type": "string"
  24995. },
  24996. "srcunitid": {
  24997. "description": "源品种单位ID",
  24998. "type": "integer"
  24999. },
  25000. "srcunitidname": {
  25001. "description": "源品种单位名称",
  25002. "type": "string"
  25003. }
  25004. }
  25005. },
  25006. "models.ErmcpGoods": {
  25007. "type": "object",
  25008. "required": [
  25009. "goodscode",
  25010. "goodsid",
  25011. "goodsname",
  25012. "marketid"
  25013. ],
  25014. "properties": {
  25015. "agreeunit": {
  25016. "description": "合约单位",
  25017. "type": "number"
  25018. },
  25019. "areauserid": {
  25020. "description": "所属机构",
  25021. "type": "integer"
  25022. },
  25023. "auditaccountid": {
  25024. "description": "审核操作员账号",
  25025. "type": "integer"
  25026. },
  25027. "audittime": {
  25028. "description": "审核时间",
  25029. "type": "string"
  25030. },
  25031. "cancelaccountid": {
  25032. "description": "注销操作员账号",
  25033. "type": "integer"
  25034. },
  25035. "canceltime": {
  25036. "description": "注销时间",
  25037. "type": "string"
  25038. },
  25039. "closepricemode": {
  25040. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25041. "type": "integer"
  25042. },
  25043. "closepriceparam": {
  25044. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  25045. "type": "number"
  25046. },
  25047. "createtime": {
  25048. "description": "创建时间",
  25049. "type": "string"
  25050. },
  25051. "creatorid": {
  25052. "description": "创建人",
  25053. "type": "integer"
  25054. },
  25055. "currencyid": {
  25056. "description": "报价货币ID",
  25057. "type": "integer"
  25058. },
  25059. "cutmode": {
  25060. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  25061. "type": "integer"
  25062. },
  25063. "decimalplace": {
  25064. "description": "报价小数位",
  25065. "type": "integer"
  25066. },
  25067. "delistingdate": {
  25068. "description": "商品退市时间(状态:退市) -- 已作废",
  25069. "type": "string"
  25070. },
  25071. "delistingmode": {
  25072. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  25073. "type": "integer"
  25074. },
  25075. "deliveryflag": {
  25076. "description": "交割标志 - 0:不可交割 1:可交割",
  25077. "type": "integer"
  25078. },
  25079. "enumdicname": {
  25080. "description": "单位名称",
  25081. "type": "string"
  25082. },
  25083. "forceclosemode": {
  25084. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  25085. "type": "integer"
  25086. },
  25087. "forceclosevalue": {
  25088. "description": "定期强平参数 [收益权]",
  25089. "type": "integer"
  25090. },
  25091. "goodscode": {
  25092. "description": "商品代码(内部)",
  25093. "type": "string"
  25094. },
  25095. "goodscurrencyid": {
  25096. "description": "合约货币ID",
  25097. "type": "integer"
  25098. },
  25099. "goodsgroupid": {
  25100. "description": "所属商品组ID",
  25101. "type": "integer"
  25102. },
  25103. "goodsid": {
  25104. "description": "商品ID(自增ID SEQ_GOODS)",
  25105. "type": "integer"
  25106. },
  25107. "goodsname": {
  25108. "description": "商品名称",
  25109. "type": "string"
  25110. },
  25111. "goodsquotetype": {
  25112. "description": "合约报价类型: 1-直接报价 2-间接报价",
  25113. "type": "integer"
  25114. },
  25115. "goodsstatus": {
  25116. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  25117. "type": "integer"
  25118. },
  25119. "goodstradetype": {
  25120. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  25121. "type": "integer"
  25122. },
  25123. "goodunitid": {
  25124. "description": "报价单位ID",
  25125. "type": "integer"
  25126. },
  25127. "hasquoter": {
  25128. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  25129. "type": "integer"
  25130. },
  25131. "hqprotecttime": {
  25132. "description": "行情保护时间(秒)",
  25133. "type": "integer"
  25134. },
  25135. "innerdealmode": {
  25136. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25137. "type": "integer"
  25138. },
  25139. "isbuylimited": {
  25140. "description": "是否限制建仓量 - 0:不限制 1:限制",
  25141. "type": "integer"
  25142. },
  25143. "isvisible": {
  25144. "description": "游客是否可见 - 0:不可见 1:可见",
  25145. "type": "integer"
  25146. },
  25147. "lasttradedate": {
  25148. "description": "最后交易日期(状态:待退市)",
  25149. "type": "string"
  25150. },
  25151. "listingdate": {
  25152. "description": "交易开始日期",
  25153. "type": "string"
  25154. },
  25155. "marketid": {
  25156. "description": "所属市场ID",
  25157. "type": "integer"
  25158. },
  25159. "modifierid": {
  25160. "description": "修改人",
  25161. "type": "integer"
  25162. },
  25163. "modifystatus": {
  25164. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  25165. "type": "integer"
  25166. },
  25167. "modifytime": {
  25168. "description": "修改时间",
  25169. "type": "string"
  25170. },
  25171. "outerdealmode": {
  25172. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25173. "type": "integer"
  25174. },
  25175. "outgoodscode": {
  25176. "description": "商品代码(外部)",
  25177. "type": "string"
  25178. },
  25179. "pictureurl": {
  25180. "description": "商品图片",
  25181. "type": "string"
  25182. },
  25183. "qtydecimalplace": {
  25184. "description": "成交量小数位",
  25185. "type": "integer"
  25186. },
  25187. "quotegear": {
  25188. "description": "行情档位(1-10)",
  25189. "type": "integer"
  25190. },
  25191. "quoteminunit": {
  25192. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25193. "type": "integer"
  25194. },
  25195. "quoteshowtype": {
  25196. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  25197. "type": "integer"
  25198. },
  25199. "quoteshowtypeinterval": {
  25200. "description": "行情报价间隔时间(秒)(成交价时为0)",
  25201. "type": "integer"
  25202. },
  25203. "relatedgoodsid": {
  25204. "description": "关联参考商品ID",
  25205. "type": "integer"
  25206. },
  25207. "remark": {
  25208. "description": "备注",
  25209. "type": "string"
  25210. },
  25211. "trademode": {
  25212. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  25213. "type": "integer"
  25214. }
  25215. }
  25216. },
  25217. "models.ErmcpGoodsBrand": {
  25218. "type": "object",
  25219. "properties": {
  25220. "areauserid": {
  25221. "description": "所属机构",
  25222. "type": "integer"
  25223. },
  25224. "brandid": {
  25225. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  25226. "type": "integer"
  25227. },
  25228. "brandname": {
  25229. "description": "品牌名称",
  25230. "type": "string"
  25231. },
  25232. "createtime": {
  25233. "description": "创建时间",
  25234. "type": "string"
  25235. },
  25236. "creatorid": {
  25237. "description": "创建人",
  25238. "type": "integer"
  25239. },
  25240. "creatorsrc": {
  25241. "description": "创建人来源 - 1:管理端 2:终端",
  25242. "type": "integer"
  25243. },
  25244. "deliverygoodsid": {
  25245. "description": "现货品种ID",
  25246. "type": "integer"
  25247. },
  25248. "isvalid": {
  25249. "description": "是否有效 - 0:无效 1:有效",
  25250. "type": "integer"
  25251. },
  25252. "updatetime": {
  25253. "description": "更新时间",
  25254. "type": "string"
  25255. },
  25256. "updatorid": {
  25257. "description": "更新人",
  25258. "type": "integer"
  25259. },
  25260. "updatorsrc": {
  25261. "description": "更新人来源 - 1:管理端 2:终端",
  25262. "type": "integer"
  25263. },
  25264. "wrstandardid": {
  25265. "description": "现货商品ID",
  25266. "type": "integer"
  25267. }
  25268. }
  25269. },
  25270. "models.ErmcpGoodsModel": {
  25271. "type": "object",
  25272. "properties": {
  25273. "areauserid": {
  25274. "description": "所属机构",
  25275. "type": "integer"
  25276. },
  25277. "convertfactor": {
  25278. "description": "标仓系数",
  25279. "type": "number"
  25280. },
  25281. "createtime": {
  25282. "description": "创建时间",
  25283. "type": "string"
  25284. },
  25285. "creatorid": {
  25286. "description": "创建人",
  25287. "type": "integer"
  25288. },
  25289. "creatorsrc": {
  25290. "description": "创建人来源 - 1:管理端 2:终端",
  25291. "type": "integer"
  25292. },
  25293. "deliverygoodsid": {
  25294. "description": "现货品种ID",
  25295. "type": "integer"
  25296. },
  25297. "isvalid": {
  25298. "description": "是否有效 - 0:无效 1:有效",
  25299. "type": "integer"
  25300. },
  25301. "modelid": {
  25302. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  25303. "type": "integer"
  25304. },
  25305. "modelname": {
  25306. "description": "型号名称",
  25307. "type": "string"
  25308. },
  25309. "updatetime": {
  25310. "description": "更新时间",
  25311. "type": "string"
  25312. },
  25313. "updatorid": {
  25314. "description": "更新人",
  25315. "type": "integer"
  25316. },
  25317. "updatorsrc": {
  25318. "description": "更新人来源 - 1:管理端 2:终端",
  25319. "type": "integer"
  25320. },
  25321. "wrstandardid": {
  25322. "description": "现货商品ID",
  25323. "type": "integer"
  25324. }
  25325. }
  25326. },
  25327. "models.ErmcpHisExposure": {
  25328. "type": "object",
  25329. "properties": {
  25330. "needhedgeexposoure": {
  25331. "description": "应套保敞口",
  25332. "type": "number"
  25333. },
  25334. "reckondate": {
  25335. "description": "日照时期(yyyyMMdd)",
  25336. "type": "string"
  25337. },
  25338. "totalexposure": {
  25339. "description": "总敞口",
  25340. "type": "number"
  25341. }
  25342. }
  25343. },
  25344. "models.ErmcpLoginTaAccount": {
  25345. "type": "object",
  25346. "properties": {
  25347. "accountid": {
  25348. "description": "账号id",
  25349. "type": "integer"
  25350. },
  25351. "accountname": {
  25352. "description": "账号名称",
  25353. "type": "string"
  25354. }
  25355. }
  25356. },
  25357. "models.ErmcpLoginUser": {
  25358. "type": "object",
  25359. "properties": {
  25360. "acclist": {
  25361. "description": "关联资金账号",
  25362. "type": "array",
  25363. "items": {
  25364. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  25365. }
  25366. },
  25367. "accountname": {
  25368. "description": "用户名称",
  25369. "type": "string"
  25370. },
  25371. "clientroleid": {
  25372. "description": "角色id(usertype=2)",
  25373. "type": "integer"
  25374. },
  25375. "createtime": {
  25376. "description": "创建时间",
  25377. "type": "string"
  25378. },
  25379. "logincode": {
  25380. "description": "登录代码",
  25381. "type": "string"
  25382. },
  25383. "loginid": {
  25384. "description": "登录id(LOGINID)",
  25385. "type": "integer"
  25386. },
  25387. "loginname": {
  25388. "description": "登录名称(loginaccount表中的accountname字段)",
  25389. "type": "string"
  25390. },
  25391. "loginstatus": {
  25392. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  25393. "type": "integer"
  25394. },
  25395. "memberuserid": {
  25396. "description": "所属会员id",
  25397. "type": "integer"
  25398. },
  25399. "mobile": {
  25400. "description": "手机号",
  25401. "type": "string"
  25402. },
  25403. "modifytime": {
  25404. "description": "修改时间",
  25405. "type": "string"
  25406. },
  25407. "password": {
  25408. "description": "密码(不可解密)",
  25409. "type": "string"
  25410. },
  25411. "rolename": {
  25412. "description": "角色名称",
  25413. "type": "string"
  25414. },
  25415. "rolestatus": {
  25416. "description": "角色状态 1-启用 2-停用",
  25417. "type": "integer"
  25418. },
  25419. "roletype": {
  25420. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  25421. "type": "string"
  25422. },
  25423. "userid": {
  25424. "description": "用户id",
  25425. "type": "integer"
  25426. },
  25427. "usertype": {
  25428. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25429. "type": "integer"
  25430. }
  25431. }
  25432. },
  25433. "models.ErmcpLoginUserEx": {
  25434. "type": "object",
  25435. "properties": {
  25436. "accountstatus": {
  25437. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25438. "type": "integer"
  25439. },
  25440. "mobile": {
  25441. "description": "手机号",
  25442. "type": "string"
  25443. },
  25444. "querytype": {
  25445. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  25446. "type": "integer"
  25447. },
  25448. "roleid": {
  25449. "description": "角色id(交易账户-\u003e用户id)",
  25450. "type": "integer"
  25451. },
  25452. "rolename": {
  25453. "description": "角色名称(交易账户-\u003e用户名称)",
  25454. "type": "string"
  25455. },
  25456. "userlist": {
  25457. "description": "用户列表",
  25458. "type": "array",
  25459. "items": {
  25460. "$ref": "#/definitions/models.ErmcpLoginUser"
  25461. }
  25462. },
  25463. "usertype": {
  25464. "description": "用户类型 2-机构 7-企业成员(云平台)",
  25465. "type": "integer"
  25466. }
  25467. }
  25468. },
  25469. "models.ErmcpMiddleGoodsModel": {
  25470. "type": "object",
  25471. "properties": {
  25472. "areauserid": {
  25473. "description": "机构用户ID",
  25474. "type": "integer"
  25475. },
  25476. "createtime": {
  25477. "description": "修改时间",
  25478. "type": "string"
  25479. },
  25480. "enumdicname": {
  25481. "description": "单位名称",
  25482. "type": "string"
  25483. },
  25484. "evaluateratio": {
  25485. "description": "估价系数",
  25486. "type": "number"
  25487. },
  25488. "goodsgroupid": {
  25489. "description": "关联期货品种ID",
  25490. "type": "integer"
  25491. },
  25492. "goodsunitid": {
  25493. "description": "单位ID",
  25494. "type": "integer"
  25495. },
  25496. "isvalid": {
  25497. "description": "状态 0-无效(停用) 1-有效(正常)",
  25498. "type": "integer"
  25499. },
  25500. "middlegoodscode": {
  25501. "description": "套保品种代码",
  25502. "type": "string"
  25503. },
  25504. "middlegoodsid": {
  25505. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  25506. "type": "integer"
  25507. },
  25508. "middlegoodsname": {
  25509. "description": "套保品种名称",
  25510. "type": "string"
  25511. },
  25512. "modifytime": {
  25513. "description": "修改时间",
  25514. "type": "string"
  25515. },
  25516. "needarbitrageratio": {
  25517. "description": "套利比例",
  25518. "type": "number"
  25519. },
  25520. "needhedgeratio": {
  25521. "description": "套保比率",
  25522. "type": "number"
  25523. },
  25524. "qtydecimalplace": {
  25525. "description": "数量小数位",
  25526. "type": "integer"
  25527. },
  25528. "relatedgoodsid": {
  25529. "description": "关联交易商品ID",
  25530. "type": "integer"
  25531. },
  25532. "relatedgoodstype": {
  25533. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  25534. "type": "integer"
  25535. },
  25536. "remark": {
  25537. "description": "备注",
  25538. "type": "string"
  25539. }
  25540. }
  25541. },
  25542. "models.ErmcpMiddlegoodsRelateGoods": {
  25543. "type": "object",
  25544. "properties": {
  25545. "agreeunit": {
  25546. "description": "合约乘数",
  25547. "type": "number"
  25548. },
  25549. "convertratio": {
  25550. "description": "折算系数",
  25551. "type": "number"
  25552. },
  25553. "enumdicname": {
  25554. "description": "单位名称(交易商品)",
  25555. "type": "string"
  25556. },
  25557. "goodscode": {
  25558. "description": "交易商品代码",
  25559. "type": "string"
  25560. },
  25561. "goodsgroupid": {
  25562. "description": "交易品种id",
  25563. "type": "integer"
  25564. },
  25565. "goodsid": {
  25566. "description": "商品Id",
  25567. "type": "integer"
  25568. },
  25569. "goodsname": {
  25570. "description": "交易商品名称",
  25571. "type": "string"
  25572. },
  25573. "goodunitid": {
  25574. "description": "交易商品单位id",
  25575. "type": "integer"
  25576. },
  25577. "middlegoodsid": {
  25578. "description": "套保商品id",
  25579. "type": "integer"
  25580. },
  25581. "middlegoodsname": {
  25582. "description": "套保商品名称",
  25583. "type": "string"
  25584. },
  25585. "middlegoodsswcode": {
  25586. "description": "套保商品代码",
  25587. "type": "string"
  25588. },
  25589. "needarbitrageratio": {
  25590. "description": "应套利比例",
  25591. "type": "number"
  25592. },
  25593. "needhedgeratio": {
  25594. "description": "应套保比例",
  25595. "type": "number"
  25596. }
  25597. }
  25598. },
  25599. "models.ErmcpRole": {
  25600. "type": "object",
  25601. "properties": {
  25602. "areauserid": {
  25603. "description": "所属机构",
  25604. "type": "integer"
  25605. },
  25606. "autoid": {
  25607. "description": "角色ID(自增ID)",
  25608. "type": "integer"
  25609. },
  25610. "modifierid": {
  25611. "description": "修改人(创建人)",
  25612. "type": "integer"
  25613. },
  25614. "modifiername": {
  25615. "description": "修改人名称",
  25616. "type": "string"
  25617. },
  25618. "modifytime": {
  25619. "description": "修改时间(创建时间)",
  25620. "type": "string"
  25621. },
  25622. "rolename": {
  25623. "description": "角色名称",
  25624. "type": "string"
  25625. },
  25626. "rolestatus": {
  25627. "description": "角色状态 - 1:启用 2:停用",
  25628. "type": "integer"
  25629. },
  25630. "roletype": {
  25631. "description": "角色类型 - 1- 管理端 2- 交易端",
  25632. "type": "integer"
  25633. }
  25634. }
  25635. },
  25636. "models.ErmcpRoleMenu": {
  25637. "type": "object",
  25638. "properties": {
  25639. "iconame": {
  25640. "description": "菜单图标",
  25641. "type": "string"
  25642. },
  25643. "ishadrole": {
  25644. "description": "是否有权限",
  25645. "type": "boolean"
  25646. },
  25647. "menutype": {
  25648. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  25649. "type": "integer"
  25650. },
  25651. "parentcode": {
  25652. "description": "上级资源代码",
  25653. "type": "string"
  25654. },
  25655. "remark": {
  25656. "description": "菜单备注",
  25657. "type": "string"
  25658. },
  25659. "resourcecode": {
  25660. "description": "菜单代码",
  25661. "type": "string"
  25662. },
  25663. "resourcelevel": {
  25664. "description": "级别",
  25665. "type": "integer"
  25666. },
  25667. "resourcename": {
  25668. "description": "菜单名称",
  25669. "type": "string"
  25670. },
  25671. "roleid": {
  25672. "description": "角色id",
  25673. "type": "integer"
  25674. },
  25675. "sort": {
  25676. "description": "排序",
  25677. "type": "integer"
  25678. },
  25679. "url": {
  25680. "description": "URL",
  25681. "type": "string"
  25682. },
  25683. "userid": {
  25684. "description": "用户id",
  25685. "type": "integer"
  25686. }
  25687. }
  25688. },
  25689. "models.ErmcpRoleMenuEx": {
  25690. "type": "object",
  25691. "properties": {
  25692. "menu": {
  25693. "description": "父级菜单",
  25694. "$ref": "#/definitions/models.ErmcpRoleMenu"
  25695. },
  25696. "subMenu": {
  25697. "description": "子级菜单",
  25698. "type": "array",
  25699. "items": {
  25700. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  25701. }
  25702. }
  25703. }
  25704. },
  25705. "models.ErmcpTaAccount": {
  25706. "type": "object",
  25707. "properties": {
  25708. "accountid": {
  25709. "description": "账户id",
  25710. "type": "integer"
  25711. },
  25712. "accountname": {
  25713. "description": "账户名称",
  25714. "type": "string"
  25715. },
  25716. "currencyid": {
  25717. "description": "币种id",
  25718. "type": "integer"
  25719. },
  25720. "hedgeaccountcode": {
  25721. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  25722. "type": "string"
  25723. },
  25724. "ismain": {
  25725. "description": "是否主账户 0-否 1-是",
  25726. "type": "integer"
  25727. },
  25728. "parentaccountid": {
  25729. "description": "父账户id",
  25730. "type": "integer"
  25731. },
  25732. "relateduserid": {
  25733. "description": "关联userid",
  25734. "type": "integer"
  25735. },
  25736. "tradefeetmpid": {
  25737. "description": "手续费模板id",
  25738. "type": "integer"
  25739. },
  25740. "tradefeetmpname": {
  25741. "description": "手续费模板名称",
  25742. "type": "string"
  25743. },
  25744. "trademargintmpid": {
  25745. "description": "保证金模板id",
  25746. "type": "integer"
  25747. },
  25748. "trademargintmpname": {
  25749. "description": "保证金模板名称",
  25750. "type": "string"
  25751. },
  25752. "traderatetmpid": {
  25753. "description": "汇率模板id",
  25754. "type": "integer"
  25755. },
  25756. "traderatetmpname": {
  25757. "description": "汇率模板名称",
  25758. "type": "string"
  25759. },
  25760. "tradestatus": {
  25761. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25762. "type": "integer"
  25763. },
  25764. "userid": {
  25765. "description": "用户id",
  25766. "type": "integer"
  25767. }
  25768. }
  25769. },
  25770. "models.ErmcpTaAccountEx": {
  25771. "type": "object",
  25772. "properties": {
  25773. "mainAcc": {
  25774. "description": "主账号",
  25775. "$ref": "#/definitions/models.ErmcpTaAccountM"
  25776. },
  25777. "subacclist": {
  25778. "description": "子账号列表",
  25779. "type": "array",
  25780. "items": {
  25781. "$ref": "#/definitions/models.ErmcpTaAccount"
  25782. }
  25783. }
  25784. }
  25785. },
  25786. "models.ErmcpTaAccountInfo": {
  25787. "type": "object",
  25788. "properties": {
  25789. "accountid": {
  25790. "description": "资金账户ID",
  25791. "type": "integer"
  25792. },
  25793. "accountname": {
  25794. "description": "账户名称",
  25795. "type": "string"
  25796. },
  25797. "balance": {
  25798. "description": "期初余额",
  25799. "type": "number"
  25800. },
  25801. "capitalbalance": {
  25802. "description": "本金余额[外部子账户实际出入金余额]",
  25803. "type": "number"
  25804. },
  25805. "closepl": {
  25806. "description": "今日平仓盈亏",
  25807. "type": "number"
  25808. },
  25809. "creditdecrease": {
  25810. "description": "今日授信减少",
  25811. "type": "number"
  25812. },
  25813. "creditincrease": {
  25814. "description": "今日授信增加",
  25815. "type": "number"
  25816. },
  25817. "curdebt": {
  25818. "description": "期末欠款",
  25819. "type": "number"
  25820. },
  25821. "currencyid": {
  25822. "description": "货币ID",
  25823. "type": "integer"
  25824. },
  25825. "currentbalance": {
  25826. "description": "期末余额",
  25827. "type": "number"
  25828. },
  25829. "freezecharge": {
  25830. "description": "手续费冻结",
  25831. "type": "number"
  25832. },
  25833. "freezemargin": {
  25834. "description": "冻结保证金",
  25835. "type": "number"
  25836. },
  25837. "fromaccountid": {
  25838. "description": "所属上级账户",
  25839. "type": "integer"
  25840. },
  25841. "inamount": {
  25842. "description": "今日入金金额(包括三方入金)",
  25843. "type": "number"
  25844. },
  25845. "ismain": {
  25846. "description": "是否母账号 0:不是母账户 1:是母账户",
  25847. "type": "integer"
  25848. },
  25849. "mortgagecredit": {
  25850. "description": "授信金额",
  25851. "type": "number"
  25852. },
  25853. "oridebt": {
  25854. "description": "期初欠款",
  25855. "type": "number"
  25856. },
  25857. "orifreezecharge": {
  25858. "description": "期初手续费冻结",
  25859. "type": "number"
  25860. },
  25861. "orifreezemargin": {
  25862. "description": "期初冻结保证金",
  25863. "type": "number"
  25864. },
  25865. "orimortgagecredit": {
  25866. "description": "期初授信金额",
  25867. "type": "number"
  25868. },
  25869. "oriothercredit": {
  25870. "description": "期初其它授信金额",
  25871. "type": "number"
  25872. },
  25873. "oriotherfreezemargin": {
  25874. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  25875. "type": "number"
  25876. },
  25877. "orioutamountfreeze": {
  25878. "description": "期初出金冻结",
  25879. "type": "number"
  25880. },
  25881. "oriusedmargin": {
  25882. "description": "期初占用保证金",
  25883. "type": "number"
  25884. },
  25885. "othercredit": {
  25886. "description": "其它授信金额",
  25887. "type": "number"
  25888. },
  25889. "othercreditdecrease": {
  25890. "description": "今日其它授信减少",
  25891. "type": "number"
  25892. },
  25893. "othercreditincrease": {
  25894. "description": "今日其它授信增加",
  25895. "type": "number"
  25896. },
  25897. "otherfreezemargin": {
  25898. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  25899. "type": "number"
  25900. },
  25901. "outamount": {
  25902. "description": "今日出金金额(包括三方出金)",
  25903. "type": "number"
  25904. },
  25905. "outamountfreeze": {
  25906. "description": "出金冻结",
  25907. "type": "number"
  25908. },
  25909. "outthreshold": {
  25910. "description": "出金阈值",
  25911. "type": "number"
  25912. },
  25913. "parentaccountid": {
  25914. "description": "所属根账号",
  25915. "type": "integer"
  25916. },
  25917. "paycharge": {
  25918. "description": "今日手续费支出",
  25919. "type": "number"
  25920. },
  25921. "relateduserid": {
  25922. "description": "关联用户",
  25923. "type": "integer"
  25924. },
  25925. "signstatus": {
  25926. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  25927. "type": "integer"
  25928. },
  25929. "sublevelpath": {
  25930. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  25931. "type": "string"
  25932. },
  25933. "taaccounttype": {
  25934. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  25935. "type": "integer"
  25936. },
  25937. "thirdinamount": {
  25938. "description": "今日三方入金",
  25939. "type": "number"
  25940. },
  25941. "thirdoutamount": {
  25942. "description": "今日三方出金",
  25943. "type": "number"
  25944. },
  25945. "tradestatus": {
  25946. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  25947. "type": "integer"
  25948. },
  25949. "transferamount": {
  25950. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  25951. "type": "number"
  25952. },
  25953. "usedmargin": {
  25954. "description": "占用保证金",
  25955. "type": "number"
  25956. },
  25957. "userid": {
  25958. "description": "用户ID",
  25959. "type": "integer"
  25960. }
  25961. }
  25962. },
  25963. "models.ErmcpTaAccountM": {
  25964. "type": "object",
  25965. "properties": {
  25966. "accountid": {
  25967. "description": "账户id",
  25968. "type": "integer"
  25969. },
  25970. "accountname": {
  25971. "description": "账户名称",
  25972. "type": "string"
  25973. },
  25974. "currencyid": {
  25975. "description": "币种id",
  25976. "type": "integer"
  25977. },
  25978. "fcid": {
  25979. "description": "期货公司id",
  25980. "type": "integer"
  25981. },
  25982. "fcname": {
  25983. "description": "期货公司代码",
  25984. "type": "string"
  25985. },
  25986. "hedgeaccountcode": {
  25987. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  25988. "type": "string"
  25989. },
  25990. "ismain": {
  25991. "description": "是否主账户 0-否 1-是",
  25992. "type": "integer"
  25993. },
  25994. "parentaccountid": {
  25995. "description": "父账户id",
  25996. "type": "integer"
  25997. },
  25998. "relateduserid": {
  25999. "description": "关联userid",
  26000. "type": "integer"
  26001. },
  26002. "tradefeetmpid": {
  26003. "description": "手续费模板id",
  26004. "type": "integer"
  26005. },
  26006. "tradefeetmpname": {
  26007. "description": "手续费模板名称",
  26008. "type": "string"
  26009. },
  26010. "trademargintmpid": {
  26011. "description": "保证金模板id",
  26012. "type": "integer"
  26013. },
  26014. "trademargintmpname": {
  26015. "description": "保证金模板名称",
  26016. "type": "string"
  26017. },
  26018. "traderatetmpid": {
  26019. "description": "汇率模板id",
  26020. "type": "integer"
  26021. },
  26022. "traderatetmpname": {
  26023. "description": "汇率模板名称",
  26024. "type": "string"
  26025. },
  26026. "tradestatus": {
  26027. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  26028. "type": "integer"
  26029. },
  26030. "userid": {
  26031. "description": "用户id",
  26032. "type": "integer"
  26033. }
  26034. }
  26035. },
  26036. "models.ErmcpTradeConfigTMP": {
  26037. "type": "object",
  26038. "properties": {
  26039. "areauserid": {
  26040. "description": "所属机构",
  26041. "type": "integer"
  26042. },
  26043. "basiccurrencyid": {
  26044. "description": "基本币种ID[汇率] - 目标币种",
  26045. "type": "integer"
  26046. },
  26047. "mainaccountid": {
  26048. "description": "主账户ID",
  26049. "type": "integer"
  26050. },
  26051. "modifierid": {
  26052. "description": "修改人",
  26053. "type": "integer"
  26054. },
  26055. "remark": {
  26056. "description": "备注",
  26057. "type": "string"
  26058. },
  26059. "tradeconfigtmpid": {
  26060. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  26061. "type": "integer"
  26062. },
  26063. "tradeconfigtmpname": {
  26064. "description": "交易配置模板名称",
  26065. "type": "string"
  26066. },
  26067. "tradeconfigtmptype": {
  26068. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  26069. "type": "integer"
  26070. },
  26071. "updatetime": {
  26072. "description": "更新时间",
  26073. "type": "string"
  26074. }
  26075. }
  26076. },
  26077. "models.Externalexchange": {
  26078. "type": "object",
  26079. "required": [
  26080. "autoid"
  26081. ],
  26082. "properties": {
  26083. "autoid": {
  26084. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  26085. "type": "integer"
  26086. },
  26087. "exchangefullname": {
  26088. "description": "外部交易所全称",
  26089. "type": "string"
  26090. },
  26091. "exexchangecode": {
  26092. "description": "外部交易所代码",
  26093. "type": "string"
  26094. },
  26095. "exexchangename": {
  26096. "description": "外部交易所名称(简称)",
  26097. "type": "string"
  26098. },
  26099. "ismarketprice": {
  26100. "description": "是否支持市价 - 0:不支持 1:支持",
  26101. "type": "integer"
  26102. },
  26103. "quotegear": {
  26104. "description": "行情档位(1-10)",
  26105. "type": "integer"
  26106. },
  26107. "showbrokerflag": {
  26108. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  26109. "type": "integer"
  26110. },
  26111. "updatetime": {
  26112. "description": "更新时间",
  26113. "type": "string"
  26114. }
  26115. }
  26116. },
  26117. "models.Funcmenulist": {
  26118. "type": "object",
  26119. "required": [
  26120. "resourcecode"
  26121. ],
  26122. "properties": {
  26123. "iconame": {
  26124. "description": "菜单图标",
  26125. "type": "string"
  26126. },
  26127. "menutype": {
  26128. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  26129. "type": "integer"
  26130. },
  26131. "parentcode": {
  26132. "description": "上级资源代码",
  26133. "type": "string"
  26134. },
  26135. "remark": {
  26136. "description": "备注",
  26137. "type": "string"
  26138. },
  26139. "resourcecode": {
  26140. "description": "资源代码",
  26141. "type": "string"
  26142. },
  26143. "resourcelevel": {
  26144. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  26145. "type": "integer"
  26146. },
  26147. "resourcename": {
  26148. "description": "资源名",
  26149. "type": "string"
  26150. },
  26151. "sort": {
  26152. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  26153. "type": "integer"
  26154. },
  26155. "url": {
  26156. "description": "URL",
  26157. "type": "string"
  26158. }
  26159. }
  26160. },
  26161. "models.Goods": {
  26162. "type": "object",
  26163. "required": [
  26164. "goodscode",
  26165. "goodsid",
  26166. "goodsname",
  26167. "marketid"
  26168. ],
  26169. "properties": {
  26170. "agreeunit": {
  26171. "description": "合约单位",
  26172. "type": "number"
  26173. },
  26174. "areauserid": {
  26175. "description": "所属机构",
  26176. "type": "integer"
  26177. },
  26178. "auditaccountid": {
  26179. "description": "审核操作员账号",
  26180. "type": "integer"
  26181. },
  26182. "audittime": {
  26183. "description": "审核时间",
  26184. "type": "string"
  26185. },
  26186. "cancelaccountid": {
  26187. "description": "注销操作员账号",
  26188. "type": "integer"
  26189. },
  26190. "canceltime": {
  26191. "description": "注销时间",
  26192. "type": "string"
  26193. },
  26194. "closepricemode": {
  26195. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  26196. "type": "integer"
  26197. },
  26198. "closepriceparam": {
  26199. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  26200. "type": "number"
  26201. },
  26202. "createtime": {
  26203. "description": "创建时间",
  26204. "type": "string"
  26205. },
  26206. "creatorid": {
  26207. "description": "创建人",
  26208. "type": "integer"
  26209. },
  26210. "currencyid": {
  26211. "description": "报价货币ID",
  26212. "type": "integer"
  26213. },
  26214. "cutmode": {
  26215. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  26216. "type": "integer"
  26217. },
  26218. "decimalplace": {
  26219. "description": "报价小数位",
  26220. "type": "integer"
  26221. },
  26222. "delistingdate": {
  26223. "description": "商品退市时间(状态:退市) -- 已作废",
  26224. "type": "string"
  26225. },
  26226. "delistingmode": {
  26227. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  26228. "type": "integer"
  26229. },
  26230. "deliveryflag": {
  26231. "description": "交割标志 - 0:不可交割 1:可交割",
  26232. "type": "integer"
  26233. },
  26234. "forceclosemode": {
  26235. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  26236. "type": "integer"
  26237. },
  26238. "forceclosevalue": {
  26239. "description": "定期强平参数 [收益权]",
  26240. "type": "integer"
  26241. },
  26242. "goodscode": {
  26243. "description": "商品代码(内部)",
  26244. "type": "string"
  26245. },
  26246. "goodscurrencyid": {
  26247. "description": "合约货币ID",
  26248. "type": "integer"
  26249. },
  26250. "goodsgroupid": {
  26251. "description": "所属商品组ID",
  26252. "type": "integer"
  26253. },
  26254. "goodsid": {
  26255. "description": "商品ID(自增ID SEQ_GOODS)",
  26256. "type": "integer"
  26257. },
  26258. "goodsname": {
  26259. "description": "商品名称",
  26260. "type": "string"
  26261. },
  26262. "goodsquotetype": {
  26263. "description": "合约报价类型: 1-直接报价 2-间接报价",
  26264. "type": "integer"
  26265. },
  26266. "goodsstatus": {
  26267. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  26268. "type": "integer"
  26269. },
  26270. "goodstradetype": {
  26271. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  26272. "type": "integer"
  26273. },
  26274. "goodunitid": {
  26275. "description": "报价单位ID",
  26276. "type": "integer"
  26277. },
  26278. "hasquoter": {
  26279. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  26280. "type": "integer"
  26281. },
  26282. "hqprotecttime": {
  26283. "description": "行情保护时间(秒)",
  26284. "type": "integer"
  26285. },
  26286. "innerdealmode": {
  26287. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  26288. "type": "integer"
  26289. },
  26290. "isbuylimited": {
  26291. "description": "是否限制建仓量 - 0:不限制 1:限制",
  26292. "type": "integer"
  26293. },
  26294. "isvisible": {
  26295. "description": "游客是否可见 - 0:不可见 1:可见",
  26296. "type": "integer"
  26297. },
  26298. "lasttradedate": {
  26299. "description": "最后交易日期(状态:待退市)",
  26300. "type": "string"
  26301. },
  26302. "listingdate": {
  26303. "description": "交易开始日期",
  26304. "type": "string"
  26305. },
  26306. "marketid": {
  26307. "description": "所属市场ID",
  26308. "type": "integer"
  26309. },
  26310. "modifierid": {
  26311. "description": "修改人",
  26312. "type": "integer"
  26313. },
  26314. "modifystatus": {
  26315. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  26316. "type": "integer"
  26317. },
  26318. "modifytime": {
  26319. "description": "修改时间",
  26320. "type": "string"
  26321. },
  26322. "outerdealmode": {
  26323. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  26324. "type": "integer"
  26325. },
  26326. "outgoodscode": {
  26327. "description": "商品代码(外部)",
  26328. "type": "string"
  26329. },
  26330. "pictureurl": {
  26331. "description": "商品图片",
  26332. "type": "string"
  26333. },
  26334. "qtydecimalplace": {
  26335. "description": "成交量小数位",
  26336. "type": "integer"
  26337. },
  26338. "quotegear": {
  26339. "description": "行情档位(1-10)",
  26340. "type": "integer"
  26341. },
  26342. "quoteminunit": {
  26343. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26344. "type": "integer"
  26345. },
  26346. "quoteshowtype": {
  26347. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  26348. "type": "integer"
  26349. },
  26350. "quoteshowtypeinterval": {
  26351. "description": "行情报价间隔时间(秒)(成交价时为0)",
  26352. "type": "integer"
  26353. },
  26354. "remark": {
  26355. "description": "备注",
  26356. "type": "string"
  26357. }
  26358. }
  26359. },
  26360. "models.GoodsIDAndName": {
  26361. "type": "object",
  26362. "required": [
  26363. "goodscode",
  26364. "goodsid",
  26365. "goodsname",
  26366. "marketid"
  26367. ],
  26368. "properties": {
  26369. "goodscode": {
  26370. "description": "商品代码(内部)",
  26371. "type": "string"
  26372. },
  26373. "goodsid": {
  26374. "description": "商品ID(自增ID SEQ_GOODS)",
  26375. "type": "integer"
  26376. },
  26377. "goodsname": {
  26378. "description": "商品名称",
  26379. "type": "string"
  26380. },
  26381. "marketid": {
  26382. "description": "所属市场ID",
  26383. "type": "integer"
  26384. }
  26385. }
  26386. },
  26387. "models.Goodsgroup": {
  26388. "type": "object",
  26389. "required": [
  26390. "goodsgroupid",
  26391. "goodsgroupname",
  26392. "goodsgroupstatus",
  26393. "marketid"
  26394. ],
  26395. "properties": {
  26396. "agreeunit": {
  26397. "description": "合约单位",
  26398. "type": "number"
  26399. },
  26400. "canshort": {
  26401. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  26402. "type": "integer"
  26403. },
  26404. "closepricemode": {
  26405. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  26406. "type": "integer"
  26407. },
  26408. "closepriceparam": {
  26409. "description": "强平最新价浮动比例 - 方式为2时使用",
  26410. "type": "number"
  26411. },
  26412. "createtime": {
  26413. "description": "创建时间",
  26414. "type": "string"
  26415. },
  26416. "creatorid": {
  26417. "description": "创建人",
  26418. "type": "integer"
  26419. },
  26420. "currencyid": {
  26421. "description": "报价货币ID",
  26422. "type": "integer"
  26423. },
  26424. "decimalplace": {
  26425. "description": "报价小数位",
  26426. "type": "integer"
  26427. },
  26428. "exercisetype": {
  26429. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  26430. "type": "integer"
  26431. },
  26432. "exexchangeid": {
  26433. "description": "外部交易所ID[通道交易]",
  26434. "type": "integer"
  26435. },
  26436. "goodsgroupid": {
  26437. "description": "商品组ID(自增ID)",
  26438. "type": "integer"
  26439. },
  26440. "goodsgroupname": {
  26441. "description": "商品组名称",
  26442. "type": "string"
  26443. },
  26444. "goodsgroupstatus": {
  26445. "description": "商品组状态 - 1:正常 2:注销",
  26446. "type": "integer"
  26447. },
  26448. "goodunitid": {
  26449. "description": "报价单位ID",
  26450. "type": "integer"
  26451. },
  26452. "innerdealmode": {
  26453. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  26454. "type": "integer"
  26455. },
  26456. "isbuylimited": {
  26457. "description": "是否限制建仓量 - 0:不限制 1:限制",
  26458. "type": "integer"
  26459. },
  26460. "marketid": {
  26461. "description": "所属市场ID",
  26462. "type": "integer"
  26463. },
  26464. "modifierid": {
  26465. "description": "修改人",
  26466. "type": "integer"
  26467. },
  26468. "modifytime": {
  26469. "description": "修改时间",
  26470. "type": "string"
  26471. },
  26472. "outerdealmode": {
  26473. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  26474. "type": "integer"
  26475. },
  26476. "outergroupcode": {
  26477. "description": "外部商品组代码[通道交易]",
  26478. "type": "string"
  26479. },
  26480. "premiumdecimalplace": {
  26481. "description": "权利金小数位[场外期权]",
  26482. "type": "integer"
  26483. },
  26484. "premiumspreadalgorithm": {
  26485. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  26486. "type": "integer"
  26487. },
  26488. "premiumspreadvalue": {
  26489. "description": "权利金点差值[场外期权]",
  26490. "type": "number"
  26491. },
  26492. "qtydecimalplace": {
  26493. "description": "成交量小数位",
  26494. "type": "integer"
  26495. },
  26496. "quotegear": {
  26497. "description": "行情档位(1-10)",
  26498. "type": "integer"
  26499. },
  26500. "quoteminunit": {
  26501. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26502. "type": "integer"
  26503. },
  26504. "quoterid": {
  26505. "description": "报价商ID[场外期权]",
  26506. "type": "integer"
  26507. },
  26508. "quotesourcegroupid": {
  26509. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  26510. "type": "integer"
  26511. },
  26512. "syncgoodsqty": {
  26513. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  26514. "type": "integer"
  26515. }
  26516. }
  26517. },
  26518. "models.Goodssortbypreposition": {
  26519. "type": "object",
  26520. "required": [
  26521. "goodscode",
  26522. "tradedate"
  26523. ],
  26524. "properties": {
  26525. "goodscode": {
  26526. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  26527. "type": "string"
  26528. },
  26529. "goodsgroupcode": {
  26530. "description": "品种代码",
  26531. "type": "string"
  26532. },
  26533. "prepositionqty": {
  26534. "description": "昨持仓量",
  26535. "type": "integer"
  26536. },
  26537. "sortindex": {
  26538. "description": "排序",
  26539. "type": "integer"
  26540. },
  26541. "tradedate": {
  26542. "description": "交易日",
  26543. "type": "string"
  26544. },
  26545. "updatetime": {
  26546. "description": "更新时间",
  26547. "type": "string"
  26548. }
  26549. }
  26550. },
  26551. "models.Hedgeinnerholderdetail": {
  26552. "type": "object",
  26553. "required": [
  26554. "buyorsell",
  26555. "tradeid"
  26556. ],
  26557. "properties": {
  26558. "accountid": {
  26559. "description": "账号ID",
  26560. "type": "integer"
  26561. },
  26562. "buyorsell": {
  26563. "description": "方向 - 0:买 1:卖",
  26564. "type": "integer"
  26565. },
  26566. "freezeqty": {
  26567. "description": "冻结数量 - 按单平使用",
  26568. "type": "integer"
  26569. },
  26570. "goodsid": {
  26571. "description": "商品ID",
  26572. "type": "integer"
  26573. },
  26574. "holderamount": {
  26575. "description": "持仓金额 [商品币种]",
  26576. "type": "number"
  26577. },
  26578. "holderdays": {
  26579. "description": "剩余冻结天数",
  26580. "type": "integer"
  26581. },
  26582. "holderprice": {
  26583. "description": "持仓价格",
  26584. "type": "number"
  26585. },
  26586. "holderqty": {
  26587. "description": "持仓数量",
  26588. "type": "integer"
  26589. },
  26590. "marketid": {
  26591. "description": "市场ID",
  26592. "type": "integer"
  26593. },
  26594. "openprice": {
  26595. "description": "建仓价格",
  26596. "type": "number"
  26597. },
  26598. "openqty": {
  26599. "description": "建仓数量",
  26600. "type": "integer"
  26601. },
  26602. "parentaccountid": {
  26603. "description": "所属母账户",
  26604. "type": "integer"
  26605. },
  26606. "releaseamount": {
  26607. "description": "释放持仓金额[商品币种]",
  26608. "type": "number"
  26609. },
  26610. "tradeamount": {
  26611. "description": "成交金额[账户]",
  26612. "type": "number"
  26613. },
  26614. "tradedate": {
  26615. "description": "交易日(yyyyMMdd)",
  26616. "type": "string"
  26617. },
  26618. "tradeid": {
  26619. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26620. "type": "string"
  26621. },
  26622. "tradetime": {
  26623. "description": "交易时间",
  26624. "type": "string"
  26625. }
  26626. }
  26627. },
  26628. "models.Hedgemarketopenlog": {
  26629. "type": "object",
  26630. "required": [
  26631. "accountid"
  26632. ],
  26633. "properties": {
  26634. "accountid": {
  26635. "description": "资金账号[外部母账户]",
  26636. "type": "integer"
  26637. },
  26638. "fcname": {
  26639. "description": "期货公司名称",
  26640. "type": "string"
  26641. },
  26642. "handlestatus": {
  26643. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  26644. "type": "integer"
  26645. },
  26646. "marketid": {
  26647. "description": "市场ID",
  26648. "type": "integer"
  26649. },
  26650. "status": {
  26651. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  26652. "type": "integer"
  26653. },
  26654. "tradedate": {
  26655. "description": "交易日(yyyyMMdd)",
  26656. "type": "string"
  26657. },
  26658. "updatetime": {
  26659. "description": "更新时间",
  26660. "type": "string"
  26661. }
  26662. }
  26663. },
  26664. "models.HsbyBuyMyPayOrder": {
  26665. "type": "object",
  26666. "required": [
  26667. "goodscode",
  26668. "goodsname",
  26669. "tradeid",
  26670. "trademode"
  26671. ],
  26672. "properties": {
  26673. "agreeunit": {
  26674. "description": "合约单位",
  26675. "type": "number"
  26676. },
  26677. "buyaccountid": {
  26678. "description": "买方账号ID[报价币种]",
  26679. "type": "integer"
  26680. },
  26681. "buyorderid": {
  26682. "description": "买方委托单号",
  26683. "type": "string"
  26684. },
  26685. "createtime": {
  26686. "description": "创建时间",
  26687. "type": "string"
  26688. },
  26689. "currencysign": {
  26690. "description": "货币符号",
  26691. "type": "string"
  26692. },
  26693. "decimalplace": {
  26694. "description": "报价小数位",
  26695. "type": "integer"
  26696. },
  26697. "goodscode": {
  26698. "description": "商品代码(内部)",
  26699. "type": "string"
  26700. },
  26701. "goodsid": {
  26702. "description": "商品ID",
  26703. "type": "integer"
  26704. },
  26705. "goodsname": {
  26706. "description": "商品名称",
  26707. "type": "string"
  26708. },
  26709. "marketid": {
  26710. "description": "市场ID",
  26711. "type": "integer"
  26712. },
  26713. "offamount": {
  26714. "description": "优惠金额",
  26715. "type": "number"
  26716. },
  26717. "originalamount": {
  26718. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  26719. "type": "number"
  26720. },
  26721. "payamount": {
  26722. "description": "支付金额 = TradeAmount + TradeCharge",
  26723. "type": "number"
  26724. },
  26725. "payflag": {
  26726. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26727. "type": "integer"
  26728. },
  26729. "paylimitedtime": {
  26730. "description": "支付期限",
  26731. "type": "string"
  26732. },
  26733. "paytime": {
  26734. "description": "付款时间",
  26735. "type": "string"
  26736. },
  26737. "picurls1": {
  26738. "description": "预售商品介绍图片[多张用逗号分隔]",
  26739. "type": "string"
  26740. },
  26741. "picurls2": {
  26742. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  26743. "type": "string"
  26744. },
  26745. "sellaccountid": {
  26746. "description": "卖方账号ID[报价币种]",
  26747. "type": "integer"
  26748. },
  26749. "sellorderid": {
  26750. "description": "卖方委托单号",
  26751. "type": "string"
  26752. },
  26753. "tradeamount": {
  26754. "description": "成交金额",
  26755. "type": "number"
  26756. },
  26757. "tradecharge": {
  26758. "description": "成交手续费(买方)",
  26759. "type": "number"
  26760. },
  26761. "tradedate": {
  26762. "description": "交易日(yyyyMMdd)",
  26763. "type": "string"
  26764. },
  26765. "tradeid": {
  26766. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26767. "type": "string"
  26768. },
  26769. "trademode": {
  26770. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26771. "type": "integer"
  26772. },
  26773. "tradeprice": {
  26774. "description": "成交价格",
  26775. "type": "number"
  26776. },
  26777. "tradeqty": {
  26778. "description": "成交数量",
  26779. "type": "integer"
  26780. },
  26781. "vendorname1": {
  26782. "description": "预售商品供应商名称",
  26783. "type": "string"
  26784. },
  26785. "vendorname2": {
  26786. "description": "挂牌商品供应商名称",
  26787. "type": "string"
  26788. }
  26789. }
  26790. },
  26791. "models.HsbyBuyMyTradeDetail": {
  26792. "type": "object",
  26793. "required": [
  26794. "accountid",
  26795. "buyorsell",
  26796. "goodscode",
  26797. "goodsid",
  26798. "goodsname",
  26799. "marketid",
  26800. "orderid",
  26801. "qty",
  26802. "time",
  26803. "trademode"
  26804. ],
  26805. "properties": {
  26806. "accountid": {
  26807. "description": "账户ID[报价币种]",
  26808. "type": "integer"
  26809. },
  26810. "agreeunit": {
  26811. "description": "合约单位",
  26812. "type": "number"
  26813. },
  26814. "amount": {
  26815. "description": "金额 = 价格 * 数量 * 合约单位",
  26816. "type": "number"
  26817. },
  26818. "buyorsell": {
  26819. "description": "买卖 - 0:买 1:卖",
  26820. "type": "integer"
  26821. },
  26822. "currencysign": {
  26823. "description": "货币符号",
  26824. "type": "string"
  26825. },
  26826. "decimalplace": {
  26827. "description": "报价小数位",
  26828. "type": "integer"
  26829. },
  26830. "goodscode": {
  26831. "description": "商品代码(内部)",
  26832. "type": "string"
  26833. },
  26834. "goodsid": {
  26835. "description": "商品ID",
  26836. "type": "integer"
  26837. },
  26838. "goodsname": {
  26839. "description": "商品名称",
  26840. "type": "string"
  26841. },
  26842. "marketid": {
  26843. "description": "市场ID",
  26844. "type": "integer"
  26845. },
  26846. "orderamount": {
  26847. "description": "委托金额",
  26848. "type": "number"
  26849. },
  26850. "orderid": {
  26851. "description": "单号(成交单号)",
  26852. "type": "string"
  26853. },
  26854. "picurls1": {
  26855. "description": "预售商品介绍图片[多张用逗号分隔]",
  26856. "type": "string"
  26857. },
  26858. "picurls2": {
  26859. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  26860. "type": "string"
  26861. },
  26862. "price": {
  26863. "description": "价格",
  26864. "type": "number"
  26865. },
  26866. "qty": {
  26867. "description": "数量",
  26868. "type": "integer"
  26869. },
  26870. "time": {
  26871. "description": "时间",
  26872. "type": "string"
  26873. },
  26874. "trademode": {
  26875. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26876. "type": "integer"
  26877. },
  26878. "vendorname1": {
  26879. "description": "预售商品供应商名称",
  26880. "type": "string"
  26881. },
  26882. "vendorname2": {
  26883. "description": "挂牌商品供应商名称",
  26884. "type": "string"
  26885. }
  26886. }
  26887. },
  26888. "models.HsbyGoodsOrderDetail": {
  26889. "type": "object",
  26890. "required": [
  26891. "buyorsell",
  26892. "orderid",
  26893. "ordertime"
  26894. ],
  26895. "properties": {
  26896. "buyorsell": {
  26897. "description": "买卖 - 0:买 1:卖",
  26898. "type": "integer"
  26899. },
  26900. "currencysign": {
  26901. "description": "货币符号",
  26902. "type": "string"
  26903. },
  26904. "customername": {
  26905. "description": "客户名称(企业名称),已脱敏",
  26906. "type": "string"
  26907. },
  26908. "enableqty": {
  26909. "description": "可用数量",
  26910. "type": "integer"
  26911. },
  26912. "goodunit": {
  26913. "description": "报价单位",
  26914. "type": "string"
  26915. },
  26916. "orderid": {
  26917. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26918. "type": "string"
  26919. },
  26920. "orderprice": {
  26921. "description": "委托价格",
  26922. "type": "number"
  26923. },
  26924. "ordertime": {
  26925. "description": "委托时间",
  26926. "type": "string"
  26927. }
  26928. }
  26929. },
  26930. "models.HsbyListingGoodsDetail": {
  26931. "type": "object",
  26932. "required": [
  26933. "goodscode",
  26934. "goodsid",
  26935. "goodsname",
  26936. "marketid",
  26937. "trademode"
  26938. ],
  26939. "properties": {
  26940. "agreeunit": {
  26941. "description": "合约单位",
  26942. "type": "number"
  26943. },
  26944. "buymaxqty": {
  26945. "description": "购买上限 [71] - 0为不限",
  26946. "type": "integer"
  26947. },
  26948. "currency": {
  26949. "description": "货币",
  26950. "type": "string"
  26951. },
  26952. "currencysign": {
  26953. "description": "货币符号",
  26954. "type": "string"
  26955. },
  26956. "decimalplace": {
  26957. "description": "报价小数位",
  26958. "type": "integer"
  26959. },
  26960. "desccityid": {
  26961. "description": "目的地(市)ID",
  26962. "type": "integer"
  26963. },
  26964. "descprovinceid": {
  26965. "description": "目的地(省)ID",
  26966. "type": "integer"
  26967. },
  26968. "goodscode": {
  26969. "description": "商品代码(内部)",
  26970. "type": "string"
  26971. },
  26972. "goodsdesc": {
  26973. "description": "商品详情",
  26974. "type": "string"
  26975. },
  26976. "goodsid": {
  26977. "description": "商品ID(自增ID SEQ_GOODS)",
  26978. "type": "integer"
  26979. },
  26980. "goodsname": {
  26981. "description": "商品名称",
  26982. "type": "string"
  26983. },
  26984. "goodsprice": {
  26985. "description": "商品价格",
  26986. "type": "number"
  26987. },
  26988. "hotindex": {
  26989. "description": "景点热度",
  26990. "type": "integer"
  26991. },
  26992. "last": {
  26993. "description": "现价",
  26994. "type": "number"
  26995. },
  26996. "limitdown": {
  26997. "description": "跌停价",
  26998. "type": "number"
  26999. },
  27000. "limitup": {
  27001. "description": "涨停价",
  27002. "type": "number"
  27003. },
  27004. "lotsize": {
  27005. "description": "手数最小变动单位",
  27006. "type": "integer"
  27007. },
  27008. "marketid": {
  27009. "description": "所属市场ID",
  27010. "type": "integer"
  27011. },
  27012. "picurls": {
  27013. "description": "介绍图片[多张用逗号分隔]",
  27014. "type": "string"
  27015. },
  27016. "quoteminunit": {
  27017. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27018. "type": "integer"
  27019. },
  27020. "stepvalue": {
  27021. "description": "价格最小变动单位",
  27022. "type": "number"
  27023. },
  27024. "trademode": {
  27025. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27026. "type": "integer"
  27027. },
  27028. "vendorattr": {
  27029. "description": "供应商附件(多张,逗号分隔)",
  27030. "type": "string"
  27031. },
  27032. "vendorname": {
  27033. "description": "供应商名称",
  27034. "type": "string"
  27035. },
  27036. "vendorphone": {
  27037. "description": "供应商客服电话",
  27038. "type": "string"
  27039. },
  27040. "videourls": {
  27041. "description": "介绍视频[多张用逗号分隔]",
  27042. "type": "string"
  27043. }
  27044. }
  27045. },
  27046. "models.HsbyMarketGoods": {
  27047. "type": "object",
  27048. "required": [
  27049. "accountid",
  27050. "buyorsell",
  27051. "goodscode",
  27052. "goodsid",
  27053. "goodsname",
  27054. "marketid",
  27055. "orderid",
  27056. "trademode"
  27057. ],
  27058. "properties": {
  27059. "accountid": {
  27060. "description": "账户ID[报价币种]",
  27061. "type": "integer"
  27062. },
  27063. "agreeunit": {
  27064. "description": "合约单位",
  27065. "type": "number"
  27066. },
  27067. "buyorsell": {
  27068. "description": "买卖 - 0:买 1:卖",
  27069. "type": "integer"
  27070. },
  27071. "categoryid": {
  27072. "description": "类别ID(WRCATEGORY)",
  27073. "type": "integer"
  27074. },
  27075. "currency": {
  27076. "description": "货币",
  27077. "type": "string"
  27078. },
  27079. "currencysign": {
  27080. "description": "货币符号",
  27081. "type": "string"
  27082. },
  27083. "customername": {
  27084. "description": "卖家名称",
  27085. "type": "string"
  27086. },
  27087. "decimalplace": {
  27088. "description": "报价小数位",
  27089. "type": "integer"
  27090. },
  27091. "goodscode": {
  27092. "description": "商品代码(内部)",
  27093. "type": "string"
  27094. },
  27095. "goodsid": {
  27096. "description": "商品ID",
  27097. "type": "integer"
  27098. },
  27099. "goodsname": {
  27100. "description": "商品名称",
  27101. "type": "string"
  27102. },
  27103. "goodsprice": {
  27104. "description": "商品价格",
  27105. "type": "number"
  27106. },
  27107. "hascoupon": {
  27108. "description": "是否可用优惠卷",
  27109. "type": "boolean"
  27110. },
  27111. "hotindex": {
  27112. "description": "景点热度",
  27113. "type": "integer"
  27114. },
  27115. "marketid": {
  27116. "description": "市场ID",
  27117. "type": "integer"
  27118. },
  27119. "orderid": {
  27120. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27121. "type": "string"
  27122. },
  27123. "orderprice": {
  27124. "description": "委托价格",
  27125. "type": "number"
  27126. },
  27127. "orderstatus": {
  27128. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27129. "type": "integer"
  27130. },
  27131. "picurls": {
  27132. "description": "介绍图片[多张用逗号分隔]",
  27133. "type": "string"
  27134. },
  27135. "quoteminunit": {
  27136. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27137. "type": "integer"
  27138. },
  27139. "sellUserID": {
  27140. "description": "卖方UserID",
  27141. "type": "integer"
  27142. },
  27143. "trademode": {
  27144. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27145. "type": "integer"
  27146. },
  27147. "videourls": {
  27148. "description": "介绍视频[多张用逗号分隔]",
  27149. "type": "string"
  27150. }
  27151. }
  27152. },
  27153. "models.HsbyMarketGoodsDetail": {
  27154. "type": "object",
  27155. "required": [
  27156. "accountid",
  27157. "buyorsell",
  27158. "goodscode",
  27159. "goodsid",
  27160. "goodsname",
  27161. "marketid",
  27162. "orderid",
  27163. "orderqty",
  27164. "trademode"
  27165. ],
  27166. "properties": {
  27167. "accountid": {
  27168. "description": "账户ID[报价币种]",
  27169. "type": "integer"
  27170. },
  27171. "agreeunit": {
  27172. "description": "合约单位",
  27173. "type": "number"
  27174. },
  27175. "buymaxqty": {
  27176. "description": "购买上限 [71] - 0为不限",
  27177. "type": "integer"
  27178. },
  27179. "buyorsell": {
  27180. "description": "买卖 - 0:买 1:卖",
  27181. "type": "integer"
  27182. },
  27183. "cancelqty": {
  27184. "description": "撤单数量",
  27185. "type": "integer"
  27186. },
  27187. "categoryid": {
  27188. "description": "类别ID(WRCATEGORY)",
  27189. "type": "integer"
  27190. },
  27191. "currency": {
  27192. "description": "货币",
  27193. "type": "string"
  27194. },
  27195. "currencysign": {
  27196. "description": "货币符号",
  27197. "type": "string"
  27198. },
  27199. "customername": {
  27200. "description": "卖家名称",
  27201. "type": "string"
  27202. },
  27203. "decimalplace": {
  27204. "description": "报价小数位",
  27205. "type": "integer"
  27206. },
  27207. "goodscode": {
  27208. "description": "商品代码(内部)",
  27209. "type": "string"
  27210. },
  27211. "goodsdesc": {
  27212. "description": "商品详情",
  27213. "type": "string"
  27214. },
  27215. "goodsid": {
  27216. "description": "商品ID",
  27217. "type": "integer"
  27218. },
  27219. "goodsname": {
  27220. "description": "商品名称",
  27221. "type": "string"
  27222. },
  27223. "goodsprice": {
  27224. "description": "商品价格",
  27225. "type": "number"
  27226. },
  27227. "hotindex": {
  27228. "description": "景点热度",
  27229. "type": "integer"
  27230. },
  27231. "lotsize": {
  27232. "description": "手数最小变动单位",
  27233. "type": "integer"
  27234. },
  27235. "marketid": {
  27236. "description": "市场ID",
  27237. "type": "integer"
  27238. },
  27239. "orderid": {
  27240. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27241. "type": "string"
  27242. },
  27243. "orderprice": {
  27244. "description": "委托价格",
  27245. "type": "number"
  27246. },
  27247. "orderqty": {
  27248. "description": "委托数量",
  27249. "type": "integer"
  27250. },
  27251. "orderstatus": {
  27252. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  27253. "type": "integer"
  27254. },
  27255. "picurls": {
  27256. "description": "介绍图片[多张用逗号分隔]",
  27257. "type": "string"
  27258. },
  27259. "quoteminunit": {
  27260. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27261. "type": "integer"
  27262. },
  27263. "sellUserID": {
  27264. "description": "卖方UserID",
  27265. "type": "integer"
  27266. },
  27267. "trademode": {
  27268. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27269. "type": "integer"
  27270. },
  27271. "tradeqty": {
  27272. "description": "成交数量",
  27273. "type": "integer"
  27274. },
  27275. "vendorattr": {
  27276. "description": "供应商附件(多张,逗号分隔)",
  27277. "type": "string"
  27278. },
  27279. "vendorname": {
  27280. "description": "供应商名称",
  27281. "type": "string"
  27282. },
  27283. "vendorphone": {
  27284. "description": "供应商客服电话",
  27285. "type": "string"
  27286. },
  27287. "videourls": {
  27288. "description": "介绍视频[多张用逗号分隔]",
  27289. "type": "string"
  27290. }
  27291. }
  27292. },
  27293. "models.HsbyMarketInfo": {
  27294. "type": "object",
  27295. "required": [
  27296. "marketid",
  27297. "marketstatus",
  27298. "trademode"
  27299. ],
  27300. "properties": {
  27301. "marketid": {
  27302. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  27303. "type": "integer"
  27304. },
  27305. "marketname": {
  27306. "description": "市场名称",
  27307. "type": "string"
  27308. },
  27309. "marketstatus": {
  27310. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  27311. "type": "integer"
  27312. },
  27313. "trademode": {
  27314. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27315. "type": "integer"
  27316. }
  27317. }
  27318. },
  27319. "models.HsbyMyGoods": {
  27320. "type": "object",
  27321. "required": [
  27322. "accountid",
  27323. "goodscode",
  27324. "goodsid",
  27325. "goodsname",
  27326. "marketid",
  27327. "trademode"
  27328. ],
  27329. "properties": {
  27330. "accountid": {
  27331. "description": "账号Id",
  27332. "type": "integer"
  27333. },
  27334. "agreeunit": {
  27335. "description": "合约单位",
  27336. "type": "number"
  27337. },
  27338. "buyaverageprice": {
  27339. "description": "持仓均价",
  27340. "type": "number"
  27341. },
  27342. "buycurholderamount": {
  27343. "description": "买当前持仓总金额[商品币种]",
  27344. "type": "number"
  27345. },
  27346. "buycurpositionqty": {
  27347. "description": "买当前持仓总数量",
  27348. "type": "integer"
  27349. },
  27350. "buymaxqty": {
  27351. "description": "购买上限 [71] - 0为不限",
  27352. "type": "integer"
  27353. },
  27354. "currencysign": {
  27355. "description": "货币符号",
  27356. "type": "string"
  27357. },
  27358. "decimalplace": {
  27359. "description": "报价小数位",
  27360. "type": "integer"
  27361. },
  27362. "enableqty": {
  27363. "description": "可用数量",
  27364. "type": "integer"
  27365. },
  27366. "goodscode": {
  27367. "description": "商品代码(内部)",
  27368. "type": "string"
  27369. },
  27370. "goodsid": {
  27371. "description": "商品Id",
  27372. "type": "integer"
  27373. },
  27374. "goodsname": {
  27375. "description": "商品名称",
  27376. "type": "string"
  27377. },
  27378. "goodsprice": {
  27379. "description": "商品价格",
  27380. "type": "number"
  27381. },
  27382. "goodsstatus": {
  27383. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  27384. "type": "integer"
  27385. },
  27386. "last": {
  27387. "description": "现价(仅使用于挂牌点选)",
  27388. "type": "number"
  27389. },
  27390. "limitdown": {
  27391. "description": "跌停价(仅使用于挂牌点选)",
  27392. "type": "number"
  27393. },
  27394. "limitup": {
  27395. "description": "涨停价(仅使用于挂牌点选)",
  27396. "type": "number"
  27397. },
  27398. "lotsize": {
  27399. "description": "手数最小变动单位",
  27400. "type": "integer"
  27401. },
  27402. "marketid": {
  27403. "description": "所属市场ID",
  27404. "type": "integer"
  27405. },
  27406. "picurls": {
  27407. "description": "介绍图片[多张用逗号分隔]",
  27408. "type": "string"
  27409. },
  27410. "quoteminunit": {
  27411. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27412. "type": "integer"
  27413. },
  27414. "stepvalue": {
  27415. "description": "价格最小变动单位",
  27416. "type": "number"
  27417. },
  27418. "trademode": {
  27419. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27420. "type": "integer"
  27421. }
  27422. }
  27423. },
  27424. "models.HsbyMyPackage": {
  27425. "type": "object",
  27426. "required": [
  27427. "goodscode",
  27428. "goodsname",
  27429. "takeorderid",
  27430. "trademode"
  27431. ],
  27432. "properties": {
  27433. "accountid": {
  27434. "description": "账户ID",
  27435. "type": "integer"
  27436. },
  27437. "address": {
  27438. "description": "提货人详细地址",
  27439. "type": "string"
  27440. },
  27441. "agreeunit": {
  27442. "description": "合约单位",
  27443. "type": "number"
  27444. },
  27445. "amount": {
  27446. "description": "提货金额",
  27447. "type": "number"
  27448. },
  27449. "auditer": {
  27450. "description": "审核人",
  27451. "type": "integer"
  27452. },
  27453. "audittime": {
  27454. "description": "审核时间",
  27455. "type": "string"
  27456. },
  27457. "averageprice": {
  27458. "description": "均价",
  27459. "type": "number"
  27460. },
  27461. "cardnum": {
  27462. "description": "提货人证件号码",
  27463. "type": "string"
  27464. },
  27465. "cardtypeid": {
  27466. "description": "提货人证件类型",
  27467. "type": "integer"
  27468. },
  27469. "checkremark": {
  27470. "description": "审核备注",
  27471. "type": "string"
  27472. },
  27473. "currencysign": {
  27474. "description": "货币符号",
  27475. "type": "string"
  27476. },
  27477. "decimalplace": {
  27478. "description": "报价小数位",
  27479. "type": "integer"
  27480. },
  27481. "goodscode": {
  27482. "description": "商品代码(内部)",
  27483. "type": "string"
  27484. },
  27485. "goodsid": {
  27486. "description": "商品ID",
  27487. "type": "integer"
  27488. },
  27489. "goodsname": {
  27490. "description": "商品名称",
  27491. "type": "string"
  27492. },
  27493. "handlestatus": {
  27494. "description": "处理状态",
  27495. "type": "integer"
  27496. },
  27497. "marketid": {
  27498. "description": "市场ID",
  27499. "type": "integer"
  27500. },
  27501. "phonenum": {
  27502. "description": "提货人联系方式",
  27503. "type": "string"
  27504. },
  27505. "picurls": {
  27506. "description": "介绍图片[多张用逗号分隔]",
  27507. "type": "string"
  27508. },
  27509. "qty": {
  27510. "description": "提货数量",
  27511. "type": "number"
  27512. },
  27513. "recivername": {
  27514. "description": "提货人姓名",
  27515. "type": "string"
  27516. },
  27517. "reqtime": {
  27518. "description": "更新时间",
  27519. "type": "string"
  27520. },
  27521. "takemode": {
  27522. "description": "提货方式 - 2:自提 3:配送",
  27523. "type": "integer"
  27524. },
  27525. "takeorderid": {
  27526. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  27527. "type": "string"
  27528. },
  27529. "takeorderstatus": {
  27530. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  27531. "type": "integer"
  27532. },
  27533. "takeremark": {
  27534. "description": "提货备注",
  27535. "type": "string"
  27536. },
  27537. "tradedate": {
  27538. "description": "交易日(yyyyMMdd)",
  27539. "type": "string"
  27540. },
  27541. "trademode": {
  27542. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27543. "type": "integer"
  27544. },
  27545. "userid": {
  27546. "description": "用户ID",
  27547. "type": "integer"
  27548. },
  27549. "vendorname": {
  27550. "description": "供应商名称",
  27551. "type": "string"
  27552. }
  27553. }
  27554. },
  27555. "models.HsbyPreGoods": {
  27556. "type": "object",
  27557. "required": [
  27558. "goodscode",
  27559. "goodsid",
  27560. "goodsname",
  27561. "marketid",
  27562. "trademode"
  27563. ],
  27564. "properties": {
  27565. "agreeunit": {
  27566. "description": "合约单位",
  27567. "type": "number"
  27568. },
  27569. "currency": {
  27570. "description": "货币",
  27571. "type": "string"
  27572. },
  27573. "currencysign": {
  27574. "description": "货币符号",
  27575. "type": "string"
  27576. },
  27577. "decimalplace": {
  27578. "description": "报价小数位",
  27579. "type": "integer"
  27580. },
  27581. "desccityid": {
  27582. "description": "目的地(市)",
  27583. "type": "integer"
  27584. },
  27585. "descprovinceid": {
  27586. "description": "目的地(省)",
  27587. "type": "integer"
  27588. },
  27589. "enableqty": {
  27590. "description": "剩余数量",
  27591. "type": "integer"
  27592. },
  27593. "goodscode": {
  27594. "description": "商品代码(内部)",
  27595. "type": "string"
  27596. },
  27597. "goodsid": {
  27598. "description": "商品ID(自增ID SEQ_GOODS)",
  27599. "type": "integer"
  27600. },
  27601. "goodsname": {
  27602. "description": "商品名称",
  27603. "type": "string"
  27604. },
  27605. "goodsstatus": {
  27606. "description": "商品状态- 2:未上市 3:上市",
  27607. "type": "integer"
  27608. },
  27609. "lasttradedate": {
  27610. "description": "最后交易日期(状态:待退市)",
  27611. "type": "string"
  27612. },
  27613. "listingdate": {
  27614. "description": "交易开始日期",
  27615. "type": "string"
  27616. },
  27617. "marketid": {
  27618. "description": "所属市场ID",
  27619. "type": "integer"
  27620. },
  27621. "picurls": {
  27622. "description": "介绍图片[多张用逗号分隔]",
  27623. "type": "string"
  27624. },
  27625. "presaledqty": {
  27626. "description": "已预售量(预售结束时更新)",
  27627. "type": "integer"
  27628. },
  27629. "presaleqty": {
  27630. "description": "预售数量",
  27631. "type": "integer"
  27632. },
  27633. "quoteminunit": {
  27634. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27635. "type": "integer"
  27636. },
  27637. "refprice": {
  27638. "description": "参考价格[一口价]",
  27639. "type": "number"
  27640. },
  27641. "relatedgoodsid": {
  27642. "description": "关联交易合约ID",
  27643. "type": "integer"
  27644. },
  27645. "trademode": {
  27646. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27647. "type": "integer"
  27648. },
  27649. "videourls": {
  27650. "description": "介绍视频[多张用逗号分隔]",
  27651. "type": "string"
  27652. }
  27653. }
  27654. },
  27655. "models.HsbyPreGoodsDetail": {
  27656. "type": "object",
  27657. "required": [
  27658. "goodscode",
  27659. "goodsid",
  27660. "goodsname",
  27661. "marketid",
  27662. "trademode"
  27663. ],
  27664. "properties": {
  27665. "agreeunit": {
  27666. "description": "合约单位",
  27667. "type": "number"
  27668. },
  27669. "buymaxqty": {
  27670. "description": "购买上限 [71] - 0为不限",
  27671. "type": "integer"
  27672. },
  27673. "currency": {
  27674. "description": "货币",
  27675. "type": "string"
  27676. },
  27677. "currencysign": {
  27678. "description": "货币符号",
  27679. "type": "string"
  27680. },
  27681. "customername": {
  27682. "description": "发行单位",
  27683. "type": "string"
  27684. },
  27685. "decimalplace": {
  27686. "description": "报价小数位",
  27687. "type": "integer"
  27688. },
  27689. "desccityid": {
  27690. "description": "目的地(市)ID",
  27691. "type": "integer"
  27692. },
  27693. "descprovinceid": {
  27694. "description": "目的地(省)ID",
  27695. "type": "integer"
  27696. },
  27697. "enableqty": {
  27698. "description": "剩余数量",
  27699. "type": "integer"
  27700. },
  27701. "goodscode": {
  27702. "description": "商品代码(内部)",
  27703. "type": "string"
  27704. },
  27705. "goodsdesc": {
  27706. "description": "商品详情",
  27707. "type": "string"
  27708. },
  27709. "goodsid": {
  27710. "description": "商品ID(自增ID SEQ_GOODS)",
  27711. "type": "integer"
  27712. },
  27713. "goodsname": {
  27714. "description": "商品名称",
  27715. "type": "string"
  27716. },
  27717. "goodsstatus": {
  27718. "description": "商品状态- 2:未上市 3:上市",
  27719. "type": "integer"
  27720. },
  27721. "goodunit": {
  27722. "description": "报价单位",
  27723. "type": "string"
  27724. },
  27725. "lasttradedate": {
  27726. "description": "最后交易日期(状态:待退市)",
  27727. "type": "string"
  27728. },
  27729. "listingdate": {
  27730. "description": "交易开始日期",
  27731. "type": "string"
  27732. },
  27733. "lotsize": {
  27734. "description": "手数最小变动单位",
  27735. "type": "integer"
  27736. },
  27737. "marketid": {
  27738. "description": "所属市场ID",
  27739. "type": "integer"
  27740. },
  27741. "picurls": {
  27742. "description": "介绍图片[多张用逗号分隔]",
  27743. "type": "string"
  27744. },
  27745. "presaledqty": {
  27746. "description": "已预售量(预售结束时更新)",
  27747. "type": "integer"
  27748. },
  27749. "presaleqty": {
  27750. "description": "预售数量",
  27751. "type": "integer"
  27752. },
  27753. "quoteminunit": {
  27754. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27755. "type": "integer"
  27756. },
  27757. "refprice": {
  27758. "description": "参考价格[一口价]",
  27759. "type": "number"
  27760. },
  27761. "relatedgoodsid": {
  27762. "description": "关联交易合约ID",
  27763. "type": "integer"
  27764. },
  27765. "stepvalue": {
  27766. "description": "价格最小变动单位",
  27767. "type": "number"
  27768. },
  27769. "trademode": {
  27770. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27771. "type": "integer"
  27772. },
  27773. "vendorattr": {
  27774. "description": "供应商附件(多张,逗号分隔)",
  27775. "type": "string"
  27776. },
  27777. "vendorname": {
  27778. "description": "供应商名称",
  27779. "type": "string"
  27780. },
  27781. "vendorphone": {
  27782. "description": "供应商客服电话",
  27783. "type": "string"
  27784. },
  27785. "videourls": {
  27786. "description": "介绍视频[多张用逗号分隔]",
  27787. "type": "string"
  27788. }
  27789. }
  27790. },
  27791. "models.HsbySellCollectionOrder": {
  27792. "type": "object",
  27793. "required": [
  27794. "goodscode",
  27795. "goodsname",
  27796. "tradeid",
  27797. "trademode"
  27798. ],
  27799. "properties": {
  27800. "agreeunit": {
  27801. "description": "合约单位",
  27802. "type": "number"
  27803. },
  27804. "buyaccountid": {
  27805. "description": "买方账号ID[报价币种]",
  27806. "type": "integer"
  27807. },
  27808. "buyorderid": {
  27809. "description": "买方委托单号",
  27810. "type": "string"
  27811. },
  27812. "createtime": {
  27813. "description": "创建时间",
  27814. "type": "string"
  27815. },
  27816. "currencysign": {
  27817. "description": "货币符号",
  27818. "type": "string"
  27819. },
  27820. "decimalplace": {
  27821. "description": "报价小数位",
  27822. "type": "integer"
  27823. },
  27824. "goodscode": {
  27825. "description": "商品代码(内部)",
  27826. "type": "string"
  27827. },
  27828. "goodsid": {
  27829. "description": "商品ID",
  27830. "type": "integer"
  27831. },
  27832. "goodsname": {
  27833. "description": "商品名称",
  27834. "type": "string"
  27835. },
  27836. "marketid": {
  27837. "description": "市场ID",
  27838. "type": "integer"
  27839. },
  27840. "offamount": {
  27841. "description": "优惠金额",
  27842. "type": "number"
  27843. },
  27844. "payamount": {
  27845. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  27846. "type": "number"
  27847. },
  27848. "payflag": {
  27849. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  27850. "type": "integer"
  27851. },
  27852. "paylimitedtime": {
  27853. "description": "支付期限",
  27854. "type": "string"
  27855. },
  27856. "paytime": {
  27857. "description": "付款时间",
  27858. "type": "string"
  27859. },
  27860. "picurls": {
  27861. "description": "商品介绍图片[多张用逗号分隔]",
  27862. "type": "string"
  27863. },
  27864. "sellaccountid": {
  27865. "description": "卖方账号ID[报价币种]",
  27866. "type": "integer"
  27867. },
  27868. "sellorderid": {
  27869. "description": "卖方委托单号",
  27870. "type": "string"
  27871. },
  27872. "tradeamount": {
  27873. "description": "成交金额",
  27874. "type": "number"
  27875. },
  27876. "tradecharge": {
  27877. "description": "成交手续费(买方)",
  27878. "type": "number"
  27879. },
  27880. "tradedate": {
  27881. "description": "交易日(yyyyMMdd)",
  27882. "type": "string"
  27883. },
  27884. "tradeid": {
  27885. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27886. "type": "string"
  27887. },
  27888. "trademode": {
  27889. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27890. "type": "integer"
  27891. },
  27892. "tradeprice": {
  27893. "description": "成交价格",
  27894. "type": "number"
  27895. },
  27896. "tradeqty": {
  27897. "description": "成交数量",
  27898. "type": "integer"
  27899. }
  27900. }
  27901. },
  27902. "models.HsbySellMyDetail": {
  27903. "type": "object",
  27904. "required": [
  27905. "accountid",
  27906. "buyorsell",
  27907. "goodscode",
  27908. "goodsid",
  27909. "goodsname",
  27910. "marketid",
  27911. "orderid",
  27912. "time",
  27913. "trademode"
  27914. ],
  27915. "properties": {
  27916. "accountid": {
  27917. "description": "账户ID[报价币种]",
  27918. "type": "integer"
  27919. },
  27920. "agreeunit": {
  27921. "description": "合约单位",
  27922. "type": "number"
  27923. },
  27924. "buyorsell": {
  27925. "description": "买卖 - 0:买 1:卖",
  27926. "type": "integer"
  27927. },
  27928. "currencysign": {
  27929. "description": "货币符号",
  27930. "type": "string"
  27931. },
  27932. "decimalplace": {
  27933. "description": "报价小数位",
  27934. "type": "integer"
  27935. },
  27936. "goodscode": {
  27937. "description": "商品代码(内部)",
  27938. "type": "string"
  27939. },
  27940. "goodsid": {
  27941. "description": "商品ID",
  27942. "type": "integer"
  27943. },
  27944. "goodsname": {
  27945. "description": "商品名称",
  27946. "type": "string"
  27947. },
  27948. "marketid": {
  27949. "description": "市场ID",
  27950. "type": "integer"
  27951. },
  27952. "orderid": {
  27953. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  27954. "type": "string"
  27955. },
  27956. "ordertype": {
  27957. "description": "单据类型:0 - 发布中, 1 - 已完成",
  27958. "type": "integer"
  27959. },
  27960. "picurls": {
  27961. "description": "介绍图片[多张用逗号分隔]",
  27962. "type": "string"
  27963. },
  27964. "price": {
  27965. "description": "价格",
  27966. "type": "number"
  27967. },
  27968. "qty": {
  27969. "description": "数量",
  27970. "type": "integer"
  27971. },
  27972. "time": {
  27973. "description": "时间",
  27974. "type": "string"
  27975. },
  27976. "trademode": {
  27977. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27978. "type": "integer"
  27979. },
  27980. "vendorname": {
  27981. "description": "供应商名称",
  27982. "type": "string"
  27983. }
  27984. }
  27985. },
  27986. "models.HsbyTopGoods": {
  27987. "type": "object",
  27988. "required": [
  27989. "goodscode",
  27990. "goodsid",
  27991. "goodsname",
  27992. "marketid",
  27993. "trademode"
  27994. ],
  27995. "properties": {
  27996. "agreeunit": {
  27997. "description": "合约单位",
  27998. "type": "number"
  27999. },
  28000. "currency": {
  28001. "description": "货币",
  28002. "type": "string"
  28003. },
  28004. "currencysign": {
  28005. "description": "货币符号",
  28006. "type": "string"
  28007. },
  28008. "decimalplace": {
  28009. "description": "报价小数位",
  28010. "type": "integer"
  28011. },
  28012. "desccityid": {
  28013. "description": "目的地(市)",
  28014. "type": "integer"
  28015. },
  28016. "descprovinceid": {
  28017. "description": "目的地(省)",
  28018. "type": "integer"
  28019. },
  28020. "goodscode": {
  28021. "description": "商品代码(内部)",
  28022. "type": "string"
  28023. },
  28024. "goodsid": {
  28025. "description": "商品ID(自增ID SEQ_GOODS)",
  28026. "type": "integer"
  28027. },
  28028. "goodsname": {
  28029. "description": "商品名称",
  28030. "type": "string"
  28031. },
  28032. "hotindex": {
  28033. "description": "景点热度",
  28034. "type": "integer"
  28035. },
  28036. "last": {
  28037. "description": "现价",
  28038. "type": "number"
  28039. },
  28040. "marketid": {
  28041. "description": "所属市场ID",
  28042. "type": "integer"
  28043. },
  28044. "picurls": {
  28045. "description": "介绍图片[多张用逗号分隔]",
  28046. "type": "string"
  28047. },
  28048. "quoteminunit": {
  28049. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28050. "type": "integer"
  28051. },
  28052. "trademode": {
  28053. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28054. "type": "integer"
  28055. },
  28056. "videourls": {
  28057. "description": "介绍视频[多张用逗号分隔]",
  28058. "type": "string"
  28059. }
  28060. }
  28061. },
  28062. "models.HybsMyBuyOrderDetail": {
  28063. "type": "object",
  28064. "required": [
  28065. "accountid",
  28066. "buyorsell",
  28067. "goodscode",
  28068. "goodsid",
  28069. "goodsname",
  28070. "marketid",
  28071. "orderid",
  28072. "orderqty",
  28073. "ordertime",
  28074. "trademode"
  28075. ],
  28076. "properties": {
  28077. "accountid": {
  28078. "description": "账户ID[报价币种]",
  28079. "type": "integer"
  28080. },
  28081. "agreeunit": {
  28082. "description": "合约单位",
  28083. "type": "number"
  28084. },
  28085. "buyorsell": {
  28086. "description": "买卖 - 0:买 1:卖",
  28087. "type": "integer"
  28088. },
  28089. "cancelqty": {
  28090. "description": "撤单数量",
  28091. "type": "integer"
  28092. },
  28093. "currencysign": {
  28094. "description": "货币符号",
  28095. "type": "string"
  28096. },
  28097. "decimalplace": {
  28098. "description": "报价小数位",
  28099. "type": "integer"
  28100. },
  28101. "goodscode": {
  28102. "description": "商品代码(内部)",
  28103. "type": "string"
  28104. },
  28105. "goodsid": {
  28106. "description": "商品ID",
  28107. "type": "integer"
  28108. },
  28109. "goodsname": {
  28110. "description": "商品名称",
  28111. "type": "string"
  28112. },
  28113. "listingselecttype": {
  28114. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  28115. "type": "integer"
  28116. },
  28117. "marketid": {
  28118. "description": "市场ID",
  28119. "type": "integer"
  28120. },
  28121. "mybuystatus": {
  28122. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  28123. "type": "integer"
  28124. },
  28125. "orderamount": {
  28126. "description": "委托金额",
  28127. "type": "number"
  28128. },
  28129. "orderid": {
  28130. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28131. "type": "string"
  28132. },
  28133. "orderprice": {
  28134. "description": "委托价格",
  28135. "type": "number"
  28136. },
  28137. "orderqty": {
  28138. "description": "委托数量",
  28139. "type": "integer"
  28140. },
  28141. "orderstatus": {
  28142. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  28143. "type": "integer"
  28144. },
  28145. "ordertime": {
  28146. "description": "委托时间",
  28147. "type": "string"
  28148. },
  28149. "picurls1": {
  28150. "description": "预售商品介绍图片[多张用逗号分隔]",
  28151. "type": "string"
  28152. },
  28153. "picurls2": {
  28154. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  28155. "type": "string"
  28156. },
  28157. "trademode": {
  28158. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28159. "type": "integer"
  28160. },
  28161. "tradeqty": {
  28162. "description": "成交数量",
  28163. "type": "integer"
  28164. },
  28165. "vendorname1": {
  28166. "description": "预售商品供应商名称",
  28167. "type": "string"
  28168. },
  28169. "vendorname2": {
  28170. "description": "挂牌商品供应商名称",
  28171. "type": "string"
  28172. }
  28173. }
  28174. },
  28175. "models.Loginaccount": {
  28176. "type": "object",
  28177. "required": [
  28178. "loginid"
  28179. ],
  28180. "properties": {
  28181. "accountname": {
  28182. "description": "账户名称",
  28183. "type": "string"
  28184. },
  28185. "canoutin": {
  28186. "description": "是否可出入金 - 0:不可 1:可",
  28187. "type": "integer"
  28188. },
  28189. "clientroleid": {
  28190. "description": "终端角色ID",
  28191. "type": "integer"
  28192. },
  28193. "haslogined": {
  28194. "description": "是否已登录 - 0:未登录 1:已登录",
  28195. "type": "integer"
  28196. },
  28197. "hasupdatedpwd": {
  28198. "description": "是否已更改密码 - 0:未修改 1:已修改",
  28199. "type": "integer"
  28200. },
  28201. "lastloginip": {
  28202. "description": "最新登录地址",
  28203. "type": "string"
  28204. },
  28205. "lastloginmode": {
  28206. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  28207. "type": "integer"
  28208. },
  28209. "lastloginremark": {
  28210. "description": "最新登录描述",
  28211. "type": "string"
  28212. },
  28213. "lastlogintime": {
  28214. "description": "最新登录时间",
  28215. "type": "string"
  28216. },
  28217. "logincode": {
  28218. "description": "登录代码",
  28219. "type": "string"
  28220. },
  28221. "loginfailnum": {
  28222. "description": "连续登录失败次数(登录成功时清零)",
  28223. "type": "integer"
  28224. },
  28225. "loginid": {
  28226. "description": "登陆账号",
  28227. "type": "integer"
  28228. },
  28229. "loginport": {
  28230. "description": "最新登录端口",
  28231. "type": "integer"
  28232. },
  28233. "loginstatus": {
  28234. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  28235. "type": "integer"
  28236. },
  28237. "loginusertype": {
  28238. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  28239. "type": "integer"
  28240. },
  28241. "mobile": {
  28242. "description": "手机号码(加密存储)",
  28243. "type": "string"
  28244. },
  28245. "modifierid": {
  28246. "description": "修改人",
  28247. "type": "integer"
  28248. },
  28249. "modifysrc": {
  28250. "description": "审核来源 - 1:管理端 2:终端",
  28251. "type": "integer"
  28252. },
  28253. "modifytime": {
  28254. "description": "修改时间",
  28255. "type": "string"
  28256. },
  28257. "password": {
  28258. "description": "登陆密码",
  28259. "type": "string"
  28260. },
  28261. "pwdwrongcount": {
  28262. "description": "密码错误次数",
  28263. "type": "integer"
  28264. },
  28265. "relateduserid": {
  28266. "description": "关联用户ID(机构)",
  28267. "type": "integer"
  28268. },
  28269. "taaccountrighttype": {
  28270. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  28271. "type": "integer"
  28272. },
  28273. "unfreezetime": {
  28274. "description": "账户解冻时间",
  28275. "type": "string"
  28276. },
  28277. "userid": {
  28278. "description": "用户ID",
  28279. "type": "integer"
  28280. }
  28281. }
  28282. },
  28283. "models.MainAccountInfo": {
  28284. "type": "object",
  28285. "properties": {
  28286. "accountid": {
  28287. "description": "账号id",
  28288. "type": "integer"
  28289. },
  28290. "accountname": {
  28291. "description": "账号名称(taaccount表中的名称)",
  28292. "type": "string"
  28293. },
  28294. "appid": {
  28295. "description": "AppID",
  28296. "type": "string"
  28297. },
  28298. "authcode": {
  28299. "description": "授权码",
  28300. "type": "string"
  28301. },
  28302. "brokerid": {
  28303. "description": "经纪商id",
  28304. "type": "string"
  28305. },
  28306. "fcid": {
  28307. "description": "期货公司id",
  28308. "type": "integer"
  28309. },
  28310. "fcname": {
  28311. "description": "期货公司代码",
  28312. "type": "string"
  28313. },
  28314. "hedgeaccountcode": {
  28315. "description": "外部账号代码(主账号登录代码)",
  28316. "type": "string"
  28317. },
  28318. "hedgeaccountpwd": {
  28319. "description": "密码",
  28320. "type": "string"
  28321. },
  28322. "ismain": {
  28323. "description": "是否主账号",
  28324. "type": "integer"
  28325. },
  28326. "relateduserid": {
  28327. "description": "关联用户id",
  28328. "type": "integer"
  28329. },
  28330. "userid": {
  28331. "description": "关联用户id",
  28332. "type": "integer"
  28333. }
  28334. }
  28335. },
  28336. "models.Market": {
  28337. "type": "object",
  28338. "required": [
  28339. "marketid",
  28340. "marketstatus",
  28341. "openmethod",
  28342. "reckonpricealgorithm",
  28343. "trademode",
  28344. "tradeproperty"
  28345. ],
  28346. "properties": {
  28347. "auctionwrtype": {
  28348. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  28349. "type": "integer"
  28350. },
  28351. "canacceptquote": {
  28352. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  28353. "type": "integer"
  28354. },
  28355. "cangoodsexercise": {
  28356. "description": "[期权]是否可现货行权- 0:否 1:是",
  28357. "type": "integer"
  28358. },
  28359. "cangoodsexercisetype": {
  28360. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  28361. "type": "integer"
  28362. },
  28363. "canmanualquotestrike": {
  28364. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  28365. "type": "integer"
  28366. },
  28367. "canmutistage": {
  28368. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  28369. "type": "integer"
  28370. },
  28371. "canpreexercise": {
  28372. "description": "[期权]是否可预申报- 0:否 1:是",
  28373. "type": "integer"
  28374. },
  28375. "clearinterval": {
  28376. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  28377. "type": "integer"
  28378. },
  28379. "contracttmp": {
  28380. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  28381. "type": "string"
  28382. },
  28383. "exchareaid": {
  28384. "description": "所属交易所,可以没有",
  28385. "type": "integer"
  28386. },
  28387. "goodstype": {
  28388. "description": "商品类型 - 1:交易商品 2:仓单商品",
  28389. "type": "integer"
  28390. },
  28391. "hasrebate": {
  28392. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  28393. "type": "integer"
  28394. },
  28395. "hastradecredit": {
  28396. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  28397. "type": "integer"
  28398. },
  28399. "haswr": {
  28400. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  28401. "type": "integer"
  28402. },
  28403. "isdeductmargin": {
  28404. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  28405. "type": "integer"
  28406. },
  28407. "isrecordsource": {
  28408. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  28409. "type": "integer"
  28410. },
  28411. "isreleasemargin": {
  28412. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  28413. "type": "integer"
  28414. },
  28415. "marginformula": {
  28416. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  28417. "type": "integer"
  28418. },
  28419. "marginformula2": {
  28420. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  28421. "type": "integer"
  28422. },
  28423. "marketid": {
  28424. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  28425. "type": "integer"
  28426. },
  28427. "marketname": {
  28428. "description": "市场名称",
  28429. "type": "string"
  28430. },
  28431. "marketserviceid": {
  28432. "description": "市场服务ID",
  28433. "type": "integer"
  28434. },
  28435. "marketstatus": {
  28436. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  28437. "type": "integer"
  28438. },
  28439. "markettype": {
  28440. "description": "市场类型- 1:非交易服务 2:交易服务",
  28441. "type": "integer"
  28442. },
  28443. "matchermode": {
  28444. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  28445. "type": "integer"
  28446. },
  28447. "openmethod": {
  28448. "description": "开盘模式 - 0 自动 1手动",
  28449. "type": "integer"
  28450. },
  28451. "otcuserid": {
  28452. "description": "场外期权做市商[场外期权]",
  28453. "type": "integer"
  28454. },
  28455. "outersynctime": {
  28456. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  28457. "type": "string"
  28458. },
  28459. "pendingflag": {
  28460. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  28461. "type": "integer"
  28462. },
  28463. "pendingtime": {
  28464. "description": "待开市时间[通道交易-对冲](HH:mm)",
  28465. "type": "string"
  28466. },
  28467. "performancetempid": {
  28468. "description": "履约计划模板ID - 作废",
  28469. "type": "integer"
  28470. },
  28471. "premiumquotemode": {
  28472. "description": "权利金报价方式 - 1:自动 2:手动",
  28473. "type": "integer"
  28474. },
  28475. "rebateratio": {
  28476. "description": "返利比率[竞价式]",
  28477. "type": "number"
  28478. },
  28479. "reckonorder": {
  28480. "description": "结算顺序",
  28481. "type": "integer"
  28482. },
  28483. "reckonpricealgorithm": {
  28484. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  28485. "type": "integer"
  28486. },
  28487. "reckonpriceparam": {
  28488. "description": "结算价参数",
  28489. "type": "integer"
  28490. },
  28491. "reckontime": {
  28492. "description": "结算时间[通道交易-对冲](HH:mm)",
  28493. "type": "string"
  28494. },
  28495. "roleprioritytype": {
  28496. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  28497. "type": "integer"
  28498. },
  28499. "selllistingauditflag": {
  28500. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  28501. "type": "integer"
  28502. },
  28503. "trademarkettype": {
  28504. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  28505. "type": "integer"
  28506. },
  28507. "trademode": {
  28508. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28509. "type": "integer"
  28510. },
  28511. "tradeproperty": {
  28512. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  28513. "type": "integer"
  28514. },
  28515. "tradetype": {
  28516. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  28517. "type": "integer"
  28518. }
  28519. }
  28520. },
  28521. "models.Marketrun": {
  28522. "type": "object",
  28523. "required": [
  28524. "marketid",
  28525. "nexttradedate",
  28526. "reckonflag",
  28527. "runstatus",
  28528. "tradedate",
  28529. "tradedate2"
  28530. ],
  28531. "properties": {
  28532. "afternexttradedate": {
  28533. "description": "下下交易日",
  28534. "type": "string"
  28535. },
  28536. "clearquoteflag": {
  28537. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  28538. "type": "integer"
  28539. },
  28540. "lastreckondate": {
  28541. "description": "最新交易日(结算成功)",
  28542. "type": "string"
  28543. },
  28544. "machinedate": {
  28545. "description": "机器时间",
  28546. "type": "string"
  28547. },
  28548. "manualflag": {
  28549. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  28550. "type": "integer"
  28551. },
  28552. "marketid": {
  28553. "description": "市场ID",
  28554. "type": "integer"
  28555. },
  28556. "nexttradedate": {
  28557. "description": "下一交易日",
  28558. "type": "string"
  28559. },
  28560. "pretradedate": {
  28561. "description": "上一交易日",
  28562. "type": "string"
  28563. },
  28564. "reckonflag": {
  28565. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  28566. "type": "integer"
  28567. },
  28568. "runstatus": {
  28569. "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.今日免清算",
  28570. "type": "integer"
  28571. },
  28572. "sectionid": {
  28573. "description": "时间段号[多时段时用]",
  28574. "type": "integer"
  28575. },
  28576. "tradedate": {
  28577. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  28578. "type": "string"
  28579. },
  28580. "tradedate2": {
  28581. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  28582. "type": "string"
  28583. },
  28584. "updatetime": {
  28585. "description": "更新时间",
  28586. "type": "string"
  28587. }
  28588. }
  28589. },
  28590. "models.Messageboard": {
  28591. "type": "object",
  28592. "required": [
  28593. "messageboardid"
  28594. ],
  28595. "properties": {
  28596. "contactnum": {
  28597. "description": "联系电话",
  28598. "type": "string"
  28599. },
  28600. "createtime": {
  28601. "description": "创建时间",
  28602. "type": "string"
  28603. },
  28604. "message": {
  28605. "description": "留言信息",
  28606. "type": "string"
  28607. },
  28608. "messageboardid": {
  28609. "description": "留言簿ID(SEQ_MessageBoard)",
  28610. "type": "integer"
  28611. },
  28612. "userid": {
  28613. "description": "用户ID",
  28614. "type": "integer"
  28615. }
  28616. }
  28617. },
  28618. "models.MyCoupon": {
  28619. "type": "object",
  28620. "required": [
  28621. "accountid",
  28622. "coupontypeid"
  28623. ],
  28624. "properties": {
  28625. "accountid": {
  28626. "description": "资金账户ID",
  28627. "type": "integer"
  28628. },
  28629. "areauserid": {
  28630. "description": "所属机构",
  28631. "type": "integer"
  28632. },
  28633. "conditionvalue": {
  28634. "description": "条件阈值(可为0)",
  28635. "type": "number"
  28636. },
  28637. "couponcategroy": {
  28638. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  28639. "type": "integer"
  28640. },
  28641. "couponname": {
  28642. "description": "优惠券名称",
  28643. "type": "string"
  28644. },
  28645. "coupontypeid": {
  28646. "description": "优惠券类型ID",
  28647. "type": "string"
  28648. },
  28649. "couponvalue": {
  28650. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  28651. "type": "number"
  28652. },
  28653. "curfreezeqty": {
  28654. "description": "期末冻结数量",
  28655. "type": "integer"
  28656. },
  28657. "curqty": {
  28658. "description": "期末数量",
  28659. "type": "integer"
  28660. },
  28661. "isgeneral": {
  28662. "description": "是否通用券 - 0:否 1:是",
  28663. "type": "integer"
  28664. },
  28665. "isunusable": {
  28666. "description": "是否不可用",
  28667. "type": "boolean"
  28668. },
  28669. "limitedflag": {
  28670. "description": "是否指定商品 - 0:不限 1:限制",
  28671. "type": "integer"
  28672. },
  28673. "limitedgoodsids": {
  28674. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  28675. "type": "string"
  28676. },
  28677. "orifreezeqty": {
  28678. "description": "期初冻结数量",
  28679. "type": "integer"
  28680. },
  28681. "oriqty": {
  28682. "description": "期初数量",
  28683. "type": "integer"
  28684. },
  28685. "reasontype": {
  28686. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  28687. "type": "integer"
  28688. },
  28689. "todaydecrease": {
  28690. "description": "今日减少",
  28691. "type": "integer"
  28692. },
  28693. "todayincrease": {
  28694. "description": "今日增加",
  28695. "type": "integer"
  28696. },
  28697. "userid": {
  28698. "description": "用户ID",
  28699. "type": "integer"
  28700. },
  28701. "userscope": {
  28702. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  28703. "type": "string"
  28704. }
  28705. }
  28706. },
  28707. "models.MyCouponHold": {
  28708. "type": "object",
  28709. "required": [
  28710. "couponholdid"
  28711. ],
  28712. "properties": {
  28713. "accountid": {
  28714. "description": "资金账户ID",
  28715. "type": "integer"
  28716. },
  28717. "conditionvalue": {
  28718. "description": "条件阈值(可为0)",
  28719. "type": "number"
  28720. },
  28721. "couponcategroy": {
  28722. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  28723. "type": "integer"
  28724. },
  28725. "couponholdid": {
  28726. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  28727. "type": "string"
  28728. },
  28729. "couponname": {
  28730. "description": "优惠券名称",
  28731. "type": "string"
  28732. },
  28733. "coupontypeid": {
  28734. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  28735. "type": "string"
  28736. },
  28737. "couponvalue": {
  28738. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  28739. "type": "number"
  28740. },
  28741. "createtime": {
  28742. "description": "创建时间",
  28743. "type": "string"
  28744. },
  28745. "enddate": {
  28746. "description": "结束日期",
  28747. "type": "string"
  28748. },
  28749. "giveapplyid": {
  28750. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  28751. "type": "integer"
  28752. },
  28753. "holdstatus": {
  28754. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  28755. "type": "integer"
  28756. },
  28757. "isgeneral": {
  28758. "description": "是否通用券 - 0:否 1:是",
  28759. "type": "integer"
  28760. },
  28761. "limitedflag": {
  28762. "description": "是否指定商品 - 0:不限 1:限制",
  28763. "type": "integer"
  28764. },
  28765. "limitedgoodsids": {
  28766. "description": "指定商品IDs[逗号分隔]",
  28767. "type": "string"
  28768. },
  28769. "qty": {
  28770. "description": "数量(按1平铺)",
  28771. "type": "integer"
  28772. },
  28773. "startdate": {
  28774. "description": "开始日期",
  28775. "type": "string"
  28776. },
  28777. "userid": {
  28778. "description": "用户ID",
  28779. "type": "integer"
  28780. },
  28781. "userscope": {
  28782. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  28783. "type": "string"
  28784. }
  28785. }
  28786. },
  28787. "models.MyUsedCoupon": {
  28788. "type": "object",
  28789. "required": [
  28790. "coupontypeid",
  28791. "orderid"
  28792. ],
  28793. "properties": {
  28794. "accountid": {
  28795. "description": "资金账户ID(买方)",
  28796. "type": "integer"
  28797. },
  28798. "conditionvalue": {
  28799. "description": "条件阈值(可为0)",
  28800. "type": "number"
  28801. },
  28802. "couponcategroy": {
  28803. "description": "种类 - 1:现金券 2:折扣券",
  28804. "type": "integer"
  28805. },
  28806. "couponname": {
  28807. "description": "优惠券名称",
  28808. "type": "string"
  28809. },
  28810. "coupontypeid": {
  28811. "description": "优惠券类型ID(买方)",
  28812. "type": "string"
  28813. },
  28814. "couponvalue": {
  28815. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  28816. "type": "number"
  28817. },
  28818. "createtime": {
  28819. "description": "创建时间",
  28820. "type": "string"
  28821. },
  28822. "goodsid": {
  28823. "description": "商品ID",
  28824. "type": "integer"
  28825. },
  28826. "handlestatus": {
  28827. "description": "处理状态",
  28828. "type": "integer"
  28829. },
  28830. "marketid": {
  28831. "description": "市场ID",
  28832. "type": "integer"
  28833. },
  28834. "offamount": {
  28835. "description": "优惠金额",
  28836. "type": "number"
  28837. },
  28838. "orderid": {
  28839. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28840. "type": "string"
  28841. },
  28842. "sellaccountid": {
  28843. "description": "资金账户ID(卖方)",
  28844. "type": "integer"
  28845. },
  28846. "tradeamount": {
  28847. "description": "成交金额",
  28848. "type": "number"
  28849. },
  28850. "tradeid": {
  28851. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28852. "type": "string"
  28853. },
  28854. "usedqty": {
  28855. "description": "使用数量",
  28856. "type": "integer"
  28857. }
  28858. }
  28859. },
  28860. "models.OperationPrimaryMenu": {
  28861. "type": "object",
  28862. "properties": {
  28863. "Children": {
  28864. "description": "二级功能菜单",
  28865. "type": "array",
  28866. "items": {
  28867. "$ref": "#/definitions/models.OperationSecondaryMenu"
  28868. }
  28869. },
  28870. "Key": {
  28871. "description": "菜单KEY",
  28872. "type": "string"
  28873. },
  28874. "Label": {
  28875. "description": "菜单标题",
  28876. "type": "string"
  28877. }
  28878. }
  28879. },
  28880. "models.OperationSecondaryMenu": {
  28881. "type": "object",
  28882. "properties": {
  28883. "Key": {
  28884. "description": "菜单KEY",
  28885. "type": "string"
  28886. },
  28887. "Label": {
  28888. "description": "菜单标题",
  28889. "type": "string"
  28890. },
  28891. "TabList": {
  28892. "description": "三级功能菜单",
  28893. "type": "array",
  28894. "items": {
  28895. "$ref": "#/definitions/models.OperationTabMenu"
  28896. }
  28897. }
  28898. }
  28899. },
  28900. "models.OperationTabMenu": {
  28901. "type": "object",
  28902. "properties": {
  28903. "Key": {
  28904. "description": "菜单KEY",
  28905. "type": "string"
  28906. },
  28907. "Label": {
  28908. "description": "菜单标题",
  28909. "type": "string"
  28910. }
  28911. }
  28912. },
  28913. "models.QhjAccountOutInApply": {
  28914. "type": "object",
  28915. "properties": {
  28916. "accountcode": {
  28917. "description": "资金账号",
  28918. "type": "string"
  28919. },
  28920. "accountname": {
  28921. "description": "用户名称(名称)",
  28922. "type": "string"
  28923. },
  28924. "accountpwd": {
  28925. "description": "资金密码",
  28926. "type": "string"
  28927. },
  28928. "accountticket": {
  28929. "description": "最新账户服务流水号",
  28930. "type": "string"
  28931. },
  28932. "amount": {
  28933. "description": "金额",
  28934. "type": "number"
  28935. },
  28936. "applyremark": {
  28937. "description": "申请备注",
  28938. "type": "string"
  28939. },
  28940. "applystatus": {
  28941. "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: 复审通过,账户冻结金额检查中;",
  28942. "type": "integer"
  28943. },
  28944. "auditid": {
  28945. "description": "审核人",
  28946. "type": "integer"
  28947. },
  28948. "audittime": {
  28949. "description": "审核时间",
  28950. "type": "string"
  28951. },
  28952. "bank_apply_ticket": {
  28953. "description": "银行申请流水",
  28954. "type": "string"
  28955. },
  28956. "bankaccountname": {
  28957. "description": "银行账户名",
  28958. "type": "string"
  28959. },
  28960. "bankaccountno": {
  28961. "description": "银行卡号",
  28962. "type": "string"
  28963. },
  28964. "bankid": {
  28965. "description": "银行编号",
  28966. "type": "string"
  28967. },
  28968. "bankticket": {
  28969. "description": "银行流水",
  28970. "type": "string"
  28971. },
  28972. "branchbankid": {
  28973. "description": "银行支行号",
  28974. "type": "string"
  28975. },
  28976. "branchbankname": {
  28977. "description": "银行支行名称",
  28978. "type": "string"
  28979. },
  28980. "capamountout": {
  28981. "description": "出金(劣后本金) - 外部子账户",
  28982. "type": "number"
  28983. },
  28984. "certificatephotourl": {
  28985. "description": "凭证地址",
  28986. "type": "string"
  28987. },
  28988. "charge": {
  28989. "description": "手续费",
  28990. "type": "number"
  28991. },
  28992. "checkerrorflag": {
  28993. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  28994. "type": "integer"
  28995. },
  28996. "currency": {
  28997. "description": "币种",
  28998. "type": "string"
  28999. },
  29000. "cusbankid": {
  29001. "description": "托管银行编号",
  29002. "type": "string"
  29003. },
  29004. "exchticket": {
  29005. "description": "银行服务流水号",
  29006. "type": "string"
  29007. },
  29008. "executetype": {
  29009. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  29010. "type": "integer"
  29011. },
  29012. "extendinfo": {
  29013. "description": "扩展信息",
  29014. "type": "string"
  29015. },
  29016. "extoperateid": {
  29017. "description": "交易服务流水号",
  29018. "type": "integer"
  29019. },
  29020. "infamount": {
  29021. "description": "劣后金额(自有)",
  29022. "type": "number"
  29023. },
  29024. "logincode": {
  29025. "description": "登录账号(账号)",
  29026. "type": "string"
  29027. },
  29028. "netaddr": {
  29029. "description": "调转网址",
  29030. "type": "string"
  29031. },
  29032. "priamount": {
  29033. "description": "优先金额(授信)",
  29034. "type": "number"
  29035. },
  29036. "reauditid": {
  29037. "description": "复审人",
  29038. "type": "integer"
  29039. },
  29040. "reauditremark": {
  29041. "description": "复审备注",
  29042. "type": "string"
  29043. },
  29044. "reaudittime": {
  29045. "description": "复审时间",
  29046. "type": "string"
  29047. },
  29048. "relatedorderid": {
  29049. "description": "三方关联ID",
  29050. "type": "string"
  29051. },
  29052. "remark": {
  29053. "description": "备注",
  29054. "type": "string"
  29055. },
  29056. "remark2": {
  29057. "description": "备注(失败原因)",
  29058. "type": "string"
  29059. },
  29060. "soucreamount": {
  29061. "description": "原始出入金金额",
  29062. "type": "number"
  29063. },
  29064. "soucrecurrencyid": {
  29065. "description": "原始出入金币种",
  29066. "type": "integer"
  29067. },
  29068. "tradedate": {
  29069. "description": "交易日(yyyyMMdd)",
  29070. "type": "string"
  29071. },
  29072. "updatetime": {
  29073. "description": "更新时间(申请时间)",
  29074. "type": "string"
  29075. },
  29076. "userid": {
  29077. "description": "用户id",
  29078. "type": "integer"
  29079. },
  29080. "userinfotype": {
  29081. "description": "账户类型 1-个人 2-企业",
  29082. "type": "integer"
  29083. }
  29084. }
  29085. },
  29086. "models.QhjAgreementChangeLog": {
  29087. "type": "object",
  29088. "properties": {
  29089. "agreementcontent": {
  29090. "description": "协议内容",
  29091. "type": "string"
  29092. },
  29093. "agreementfrequency": {
  29094. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  29095. "type": "integer"
  29096. },
  29097. "agreementid": {
  29098. "description": "协议ID",
  29099. "type": "integer"
  29100. },
  29101. "agreementname": {
  29102. "description": "协议名称",
  29103. "type": "string"
  29104. },
  29105. "agreementno": {
  29106. "description": "协议编号",
  29107. "type": "string"
  29108. },
  29109. "agreementtype": {
  29110. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29111. "type": "integer"
  29112. },
  29113. "agreementversion": {
  29114. "description": "协议版本号",
  29115. "type": "integer"
  29116. },
  29117. "logid": {
  29118. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  29119. "type": "integer"
  29120. },
  29121. "reviserid": {
  29122. "description": "修改人",
  29123. "type": "integer"
  29124. },
  29125. "revisersrc": {
  29126. "description": "修改来源 - 1:管理端 2:终端",
  29127. "type": "integer"
  29128. },
  29129. "updatetime": {
  29130. "description": "更新时间",
  29131. "type": "string"
  29132. }
  29133. }
  29134. },
  29135. "models.QhjAgreementConfig": {
  29136. "type": "object",
  29137. "properties": {
  29138. "agreementcontent": {
  29139. "description": "协议内容",
  29140. "type": "string"
  29141. },
  29142. "agreementfrequency": {
  29143. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  29144. "type": "integer"
  29145. },
  29146. "agreementid": {
  29147. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  29148. "type": "integer"
  29149. },
  29150. "agreementname": {
  29151. "description": "协议名称",
  29152. "type": "string"
  29153. },
  29154. "agreementno": {
  29155. "description": "协议编号",
  29156. "type": "string"
  29157. },
  29158. "agreementtype": {
  29159. "description": "协议类型 - 1:注册 2:登录 3:交易",
  29160. "type": "integer"
  29161. },
  29162. "agreementversion": {
  29163. "description": "协议版本号(从1开始每次修改加1)",
  29164. "type": "integer"
  29165. },
  29166. "createtime": {
  29167. "description": "创建时间",
  29168. "type": "string"
  29169. },
  29170. "creatorid": {
  29171. "description": "创建人",
  29172. "type": "integer"
  29173. },
  29174. "creatorsrc": {
  29175. "description": "创建来源 - 1:管理端 2:终端",
  29176. "type": "integer"
  29177. },
  29178. "isvalid": {
  29179. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  29180. "type": "integer"
  29181. },
  29182. "reviserid": {
  29183. "description": "修改人",
  29184. "type": "integer"
  29185. },
  29186. "revisersrc": {
  29187. "description": "修改来源 - 1:管理端 2:终端",
  29188. "type": "integer"
  29189. },
  29190. "updatetime": {
  29191. "description": "更新时间",
  29192. "type": "string"
  29193. }
  29194. }
  29195. },
  29196. "models.QhjAreaFinanceConfig": {
  29197. "type": "object",
  29198. "properties": {
  29199. "additionalratio": {
  29200. "description": "追加款比例",
  29201. "type": "number"
  29202. },
  29203. "advanceratio": {
  29204. "description": "预付款比例",
  29205. "type": "number"
  29206. },
  29207. "alarmratio": {
  29208. "description": "告警比例",
  29209. "type": "number"
  29210. },
  29211. "consumptiondirectreward": {
  29212. "description": "消费直推奖励值",
  29213. "type": "number"
  29214. },
  29215. "consumptionenabled": {
  29216. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  29217. "type": "integer"
  29218. },
  29219. "consumptionindirectreward": {
  29220. "description": "消费间推奖励值",
  29221. "type": "number"
  29222. },
  29223. "consumptionmodel": {
  29224. "description": "消费奖励方式 - 1:比率 2:固定",
  29225. "type": "integer"
  29226. },
  29227. "customerservicenum": {
  29228. "description": "客服电话",
  29229. "type": "string"
  29230. },
  29231. "dayinterestrate": {
  29232. "description": "日利率",
  29233. "type": "number"
  29234. },
  29235. "disableconsumptiontips": {
  29236. "description": "关闭消费奖励提示",
  29237. "type": "string"
  29238. },
  29239. "modifierid": {
  29240. "description": "修改人ID",
  29241. "type": "integer"
  29242. },
  29243. "modifysrc": {
  29244. "description": "审核来源 - 1:管理端 2:终端",
  29245. "type": "integer"
  29246. },
  29247. "modifytime": {
  29248. "description": "修改时间",
  29249. "type": "string"
  29250. },
  29251. "promotionvalue": {
  29252. "description": "推广奖励值(固定)",
  29253. "type": "number"
  29254. },
  29255. "scoreconfigvalue1": {
  29256. "description": "提货积分配置1",
  29257. "type": "integer"
  29258. },
  29259. "scoreconfigvalue2": {
  29260. "description": "提货积分配置2",
  29261. "type": "integer"
  29262. },
  29263. "userid": {
  29264. "description": "机构用户ID其他做市关系,都设置为 1",
  29265. "type": "integer"
  29266. },
  29267. "username": {
  29268. "description": "用户名称",
  29269. "type": "string"
  29270. }
  29271. }
  29272. },
  29273. "models.QhjBankAccountSign": {
  29274. "type": "object",
  29275. "properties": {
  29276. "accountcode": {
  29277. "description": "资金账号",
  29278. "type": "string"
  29279. },
  29280. "accountname": {
  29281. "description": "资金账号对应的账号名(UserName)",
  29282. "type": "string"
  29283. },
  29284. "accountname2": {
  29285. "description": "资金账号对应的账号名(UserName) - 密文",
  29286. "type": "string"
  29287. },
  29288. "accounttype": {
  29289. "description": "账户类型(UserType)",
  29290. "type": "integer"
  29291. },
  29292. "applicationtime": {
  29293. "description": "最后一次更新的时间",
  29294. "type": "string"
  29295. },
  29296. "applyexchticket": {
  29297. "description": "申请流水",
  29298. "type": "string"
  29299. },
  29300. "auditid": {
  29301. "description": "审核人",
  29302. "type": "integer"
  29303. },
  29304. "audittime": {
  29305. "description": "审核时间",
  29306. "type": "string"
  29307. },
  29308. "bankaccountname": {
  29309. "description": "签约银行卡账号名",
  29310. "type": "string"
  29311. },
  29312. "bankaccountname2": {
  29313. "description": "签约银行卡账号名 - 密文",
  29314. "type": "string"
  29315. },
  29316. "bankaccountno": {
  29317. "description": "银行卡号",
  29318. "type": "string"
  29319. },
  29320. "bankaccountno2": {
  29321. "description": "银行卡号 - 密文",
  29322. "type": "string"
  29323. },
  29324. "bankaccounttype": {
  29325. "description": "银行账户类型 - 1-对私; 2-对公",
  29326. "type": "integer"
  29327. },
  29328. "bankcardtype": {
  29329. "description": "银行卡类型",
  29330. "type": "integer"
  29331. },
  29332. "bankchildaccount": {
  29333. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  29334. "type": "string"
  29335. },
  29336. "bankcity": {
  29337. "description": "开户行城市",
  29338. "type": "string"
  29339. },
  29340. "bankid": {
  29341. "description": "签约银行ID",
  29342. "type": "string"
  29343. },
  29344. "bankname": {
  29345. "description": "签约银行名称",
  29346. "type": "string"
  29347. },
  29348. "bankprovince": {
  29349. "description": "开户行省份",
  29350. "type": "string"
  29351. },
  29352. "branchbankid": {
  29353. "description": "签约银行支行号",
  29354. "type": "string"
  29355. },
  29356. "branchbankname": {
  29357. "description": "签约银行支行名称",
  29358. "type": "string"
  29359. },
  29360. "cardno": {
  29361. "description": "证件号码",
  29362. "type": "string"
  29363. },
  29364. "cardno2": {
  29365. "description": "证件号码 - 密文",
  29366. "type": "string"
  29367. },
  29368. "cardtype": {
  29369. "description": "证件类型",
  29370. "type": "string"
  29371. },
  29372. "currency": {
  29373. "description": "币种",
  29374. "type": "string"
  29375. },
  29376. "cusbankid": {
  29377. "description": "托管银行编号",
  29378. "type": "string"
  29379. },
  29380. "direct": {
  29381. "description": "方向(可以判断那方先发起的签约)",
  29382. "type": "integer"
  29383. },
  29384. "exchticket": {
  29385. "description": "最后一次签约成功的流水号",
  29386. "type": "string"
  29387. },
  29388. "extendinfo": {
  29389. "description": "扩展信息(JSON字符串)",
  29390. "type": "string"
  29391. },
  29392. "mobilephone": {
  29393. "description": "手机号",
  29394. "type": "string"
  29395. },
  29396. "mobilephone2": {
  29397. "description": "手机号 - 密文",
  29398. "type": "string"
  29399. },
  29400. "netaddr": {
  29401. "description": "调转网址",
  29402. "type": "string"
  29403. },
  29404. "relateduserid": {
  29405. "description": "关联使用者userid",
  29406. "type": "integer"
  29407. },
  29408. "signstatus": {
  29409. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  29410. "type": "integer"
  29411. },
  29412. "updatetime": {
  29413. "description": "更新时间(签解约更新时间)",
  29414. "type": "string"
  29415. }
  29416. }
  29417. },
  29418. "models.QhjBankInfo": {
  29419. "type": "object",
  29420. "properties": {
  29421. "bankid": {
  29422. "description": "银行ID",
  29423. "type": "string"
  29424. },
  29425. "bankname": {
  29426. "description": "银行名称",
  29427. "type": "string"
  29428. },
  29429. "clearbankno": {
  29430. "description": "清算系统银行编号",
  29431. "type": "string"
  29432. },
  29433. "orderindex": {
  29434. "description": "排序顺序",
  29435. "type": "integer"
  29436. },
  29437. "status": {
  29438. "description": "状态 - 0:正常 1:注销",
  29439. "type": "integer"
  29440. }
  29441. }
  29442. },
  29443. "models.QhjBrokerApply": {
  29444. "type": "object",
  29445. "properties": {
  29446. "applicantid": {
  29447. "description": "申请人",
  29448. "type": "integer"
  29449. },
  29450. "applysrc": {
  29451. "description": "申请来源 - 1:管理端 2:终端",
  29452. "type": "integer"
  29453. },
  29454. "applystatus": {
  29455. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  29456. "type": "integer"
  29457. },
  29458. "applytime": {
  29459. "description": "申请时间",
  29460. "type": "string"
  29461. },
  29462. "auditorid": {
  29463. "description": "审核人",
  29464. "type": "integer"
  29465. },
  29466. "auditremark": {
  29467. "description": "审核备注",
  29468. "type": "string"
  29469. },
  29470. "auditsrc": {
  29471. "description": "审核来源 - 1:管理端 2:终端",
  29472. "type": "integer"
  29473. },
  29474. "audittime": {
  29475. "description": "审核时间",
  29476. "type": "string"
  29477. },
  29478. "audittradedate": {
  29479. "description": "审核交易日(yyyyMMdd)",
  29480. "type": "string"
  29481. },
  29482. "brokerapplyid": {
  29483. "description": "申请ID(SEQ_BROKERAPPLY)",
  29484. "type": "integer"
  29485. },
  29486. "cardbackphotourl": {
  29487. "description": "证件背面图片地址",
  29488. "type": "string"
  29489. },
  29490. "cardfrontphotourl": {
  29491. "description": "证件正面图片地址",
  29492. "type": "string"
  29493. },
  29494. "cardnum": {
  29495. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  29496. "type": "string"
  29497. },
  29498. "customername": {
  29499. "description": "姓名",
  29500. "type": "string"
  29501. },
  29502. "logincode": {
  29503. "description": "登录代码",
  29504. "type": "string"
  29505. },
  29506. "mobile": {
  29507. "description": "手机号码",
  29508. "type": "string"
  29509. },
  29510. "parentuserid": {
  29511. "description": "所属机构id",
  29512. "type": "integer"
  29513. },
  29514. "parentusername": {
  29515. "description": "所属机构名称",
  29516. "type": "string"
  29517. },
  29518. "refereeuserid": {
  29519. "description": "推荐人id(经纪人)",
  29520. "type": "integer"
  29521. },
  29522. "refernum": {
  29523. "description": "推荐码",
  29524. "type": "string"
  29525. },
  29526. "remark": {
  29527. "description": "备注",
  29528. "type": "string"
  29529. },
  29530. "subarealevelpath": {
  29531. "description": "层级路径",
  29532. "type": "string"
  29533. },
  29534. "tradedate": {
  29535. "description": "交易日(yyyyMMdd)",
  29536. "type": "string"
  29537. },
  29538. "userid": {
  29539. "description": "申请人用户ID",
  29540. "type": "integer"
  29541. },
  29542. "userinfotype": {
  29543. "description": "用户类型 1-个人 2-企业",
  29544. "type": "integer"
  29545. },
  29546. "username": {
  29547. "description": "用户名称",
  29548. "type": "string"
  29549. }
  29550. }
  29551. },
  29552. "models.QhjBrokerApplyEx": {
  29553. "type": "object",
  29554. "properties": {
  29555. "applylist": {
  29556. "description": "经纪人申请记录(只返回最新一条)",
  29557. "type": "array",
  29558. "items": {
  29559. "$ref": "#/definitions/models.QhjBrokerApply"
  29560. }
  29561. },
  29562. "canrecommend": {
  29563. "description": "是否经纪人 0-不是 1-是",
  29564. "type": "integer"
  29565. },
  29566. "refernum": {
  29567. "description": "推荐码",
  29568. "type": "string"
  29569. },
  29570. "userid": {
  29571. "description": "用户id",
  29572. "type": "integer"
  29573. },
  29574. "userinfotype": {
  29575. "description": "用户类型 1-个人 2-企业",
  29576. "type": "integer"
  29577. }
  29578. }
  29579. },
  29580. "models.QhjBrokerRewardLog": {
  29581. "type": "object",
  29582. "properties": {
  29583. "accountid": {
  29584. "description": "资金账号ID",
  29585. "type": "integer"
  29586. },
  29587. "createtime": {
  29588. "description": "创建时间(时间)",
  29589. "type": "string"
  29590. },
  29591. "handlestatus": {
  29592. "description": "处理状态",
  29593. "type": "integer"
  29594. },
  29595. "logid": {
  29596. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29597. "type": "string"
  29598. },
  29599. "marketid": {
  29600. "description": "市场ID",
  29601. "type": "integer"
  29602. },
  29603. "mmaccountid": {
  29604. "description": "做市商资金账号ID",
  29605. "type": "string"
  29606. },
  29607. "mmuserid": {
  29608. "description": "做市商用户ID",
  29609. "type": "string"
  29610. },
  29611. "rewardamount": {
  29612. "description": "奖励金额",
  29613. "type": "number"
  29614. },
  29615. "rewardmodel": {
  29616. "description": "消费奖励方式 - 1:比率 2:固定",
  29617. "type": "integer"
  29618. },
  29619. "rewardtype": {
  29620. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  29621. "type": "integer"
  29622. },
  29623. "rewardvalue": {
  29624. "description": "配置奖励值",
  29625. "type": "number"
  29626. },
  29627. "srcamount": {
  29628. "description": "成交金额 [消费奖励] (金额)",
  29629. "type": "number"
  29630. },
  29631. "srcgoodsid": {
  29632. "description": "来源商品ID [消费奖励]",
  29633. "type": "string"
  29634. },
  29635. "srctime": {
  29636. "description": "来源时间 (成交时间) [消费奖励]",
  29637. "type": "string"
  29638. },
  29639. "srctradeid": {
  29640. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  29641. "type": "string"
  29642. },
  29643. "srcuserid": {
  29644. "description": "来源用户ID(推广账户)",
  29645. "type": "string"
  29646. },
  29647. "srcusername": {
  29648. "description": "推广账户名称",
  29649. "type": "string"
  29650. },
  29651. "tradedate": {
  29652. "description": "交易日(yyyyMMdd)",
  29653. "type": "string"
  29654. },
  29655. "userid": {
  29656. "description": "经纪人用户ID",
  29657. "type": "integer"
  29658. }
  29659. }
  29660. },
  29661. "models.QhjContract": {
  29662. "type": "object",
  29663. "properties": {
  29664. "contractconfirmtime": {
  29665. "description": "合同确认时间(时间)",
  29666. "type": "string"
  29667. },
  29668. "currisklevel": {
  29669. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  29670. "type": "integer"
  29671. },
  29672. "decimalplace": {
  29673. "description": "商品报价小数位",
  29674. "type": "integer"
  29675. },
  29676. "enumdicname": {
  29677. "description": "单位名称",
  29678. "type": "string"
  29679. },
  29680. "goodscode": {
  29681. "description": "商品代码",
  29682. "type": "string"
  29683. },
  29684. "goodsid": {
  29685. "description": "商品ID [5:融资单]",
  29686. "type": "integer"
  29687. },
  29688. "goodsname": {
  29689. "description": "商品名称",
  29690. "type": "string"
  29691. },
  29692. "goodunitid": {
  29693. "description": "商品单位id",
  29694. "type": "integer"
  29695. },
  29696. "initmargin": {
  29697. "description": "初始保证金(首付款)",
  29698. "type": "number"
  29699. },
  29700. "lenderamount": {
  29701. "description": "贷款金额(总额|订单总额)",
  29702. "type": "number"
  29703. },
  29704. "marginratio": {
  29705. "description": "保证金比率(首付比例)",
  29706. "type": "number"
  29707. },
  29708. "payamount": {
  29709. "description": "已付(已付货款)",
  29710. "type": "number"
  29711. },
  29712. "reckonrecovermargin": {
  29713. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  29714. "type": "number"
  29715. },
  29716. "recoveredmargin": {
  29717. "description": "已追缴保证金",
  29718. "type": "number"
  29719. },
  29720. "remainamount": {
  29721. "description": "合同剩余金额(融资额)",
  29722. "type": "number"
  29723. },
  29724. "scfcontractid": {
  29725. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29726. "type": "string"
  29727. },
  29728. "scfcontractstatus": {
  29729. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  29730. "type": "integer"
  29731. },
  29732. "scfcontracttype": {
  29733. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  29734. "type": "integer"
  29735. },
  29736. "totalinterest": {
  29737. "description": "已计总利息(利息)",
  29738. "type": "number"
  29739. },
  29740. "tradeprice": {
  29741. "description": "成交价格(成本价格)",
  29742. "type": "number"
  29743. },
  29744. "userid": {
  29745. "description": "用户ID",
  29746. "type": "integer"
  29747. },
  29748. "username": {
  29749. "description": "用户名称",
  29750. "type": "string"
  29751. },
  29752. "wrqty": {
  29753. "description": "仓单数量(数量)",
  29754. "type": "number"
  29755. }
  29756. }
  29757. },
  29758. "models.QhjContractLog": {
  29759. "type": "object",
  29760. "properties": {
  29761. "amount": {
  29762. "description": "支付金额",
  29763. "type": "number"
  29764. },
  29765. "amounttype": {
  29766. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  29767. "type": "integer"
  29768. },
  29769. "logid": {
  29770. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29771. "type": "string"
  29772. },
  29773. "remainamount": {
  29774. "description": "剩余货款",
  29775. "type": "number"
  29776. },
  29777. "scfcontractid": {
  29778. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  29779. "type": "integer"
  29780. },
  29781. "updatetime": {
  29782. "description": "更新时间",
  29783. "type": "string"
  29784. }
  29785. }
  29786. },
  29787. "models.QhjCusBankSignBankEx": {
  29788. "type": "object",
  29789. "properties": {
  29790. "banklst": {
  29791. "description": "银行列表",
  29792. "type": "array",
  29793. "items": {
  29794. "$ref": "#/definitions/models.QhjBankInfo"
  29795. }
  29796. },
  29797. "canallot": {
  29798. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  29799. "type": "integer"
  29800. },
  29801. "canallotquery": {
  29802. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  29803. "type": "integer"
  29804. },
  29805. "canbindcard": {
  29806. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  29807. "type": "integer"
  29808. },
  29809. "caninamount": {
  29810. "description": "是否可入金 - 0:不可 1:可以",
  29811. "type": "integer"
  29812. },
  29813. "caninamount2": {
  29814. "description": "是否可入金(网银端) - 0:不可 1:可以",
  29815. "type": "integer"
  29816. },
  29817. "canmodifybankcard": {
  29818. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  29819. "type": "integer"
  29820. },
  29821. "canmodifyphone": {
  29822. "description": "是否可修改手机号 - 0:不可 1:可以",
  29823. "type": "integer"
  29824. },
  29825. "canmodifysigninfo": {
  29826. "description": "是否可修改签约信息 - 0:不可 1:可以",
  29827. "type": "integer"
  29828. },
  29829. "canoutamount": {
  29830. "description": "是否可出金 - 0:不可 1:可以",
  29831. "type": "integer"
  29832. },
  29833. "canoutamount2": {
  29834. "description": "是否可出金(网银端) - 0:不可 1:可以",
  29835. "type": "integer"
  29836. },
  29837. "canrelease": {
  29838. "description": "是否可解约 - 0:不可 1:可以",
  29839. "type": "integer"
  29840. },
  29841. "canrelease2": {
  29842. "description": "是否可解约(网银端) - 0:不可 1:可以",
  29843. "type": "integer"
  29844. },
  29845. "cansign": {
  29846. "description": "是否可签约 - 0:不可 1:可以",
  29847. "type": "integer"
  29848. },
  29849. "cansign2": {
  29850. "description": "是否可签约(网银端) - 0:不可 1:可以",
  29851. "type": "integer"
  29852. },
  29853. "currency": {
  29854. "description": "币种",
  29855. "type": "string"
  29856. },
  29857. "cusbankid": {
  29858. "description": "托管银行编号(对应清算中心TRAN_NO)",
  29859. "type": "string"
  29860. },
  29861. "cusbankname": {
  29862. "description": "银行业务名称",
  29863. "type": "string"
  29864. },
  29865. "cusbankshortname": {
  29866. "description": "银行业务简称",
  29867. "type": "string"
  29868. },
  29869. "exchbankid": {
  29870. "description": "交易所开户银行ID",
  29871. "type": "string"
  29872. },
  29873. "exchpaybankaccname": {
  29874. "description": "交易所支出结算账户户名",
  29875. "type": "string"
  29876. },
  29877. "exchpaybankaccno": {
  29878. "description": "交易所支出结算账户",
  29879. "type": "string"
  29880. },
  29881. "isneedcheck": {
  29882. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  29883. "type": "integer"
  29884. },
  29885. "isneedclear": {
  29886. "description": "是否需要清算 - 0:不需要 1:需要",
  29887. "type": "integer"
  29888. },
  29889. "lastcheckstatus": {
  29890. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  29891. "type": "integer"
  29892. },
  29893. "lastchecktime": {
  29894. "description": "最后对账时间",
  29895. "type": "string"
  29896. },
  29897. "lastclearstatus": {
  29898. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  29899. "type": "integer"
  29900. },
  29901. "lastcleartime": {
  29902. "description": "最后清算时间",
  29903. "type": "string"
  29904. },
  29905. "lastsignintime": {
  29906. "description": "最后签到时间",
  29907. "type": "string"
  29908. },
  29909. "lastsignouttime": {
  29910. "description": "最后签退时间",
  29911. "type": "string"
  29912. },
  29913. "riskinfo": {
  29914. "description": "签约风险提示书",
  29915. "type": "string"
  29916. },
  29917. "signstatus": {
  29918. "description": "当前签到/签退状态 - 1:签到 2:签退",
  29919. "type": "integer"
  29920. },
  29921. "tradedate": {
  29922. "description": "交易日(yyyyMMdd)",
  29923. "type": "string"
  29924. },
  29925. "updatetime": {
  29926. "description": "当前签到/签退更新时间",
  29927. "type": "string"
  29928. }
  29929. }
  29930. },
  29931. "models.QhjCustomer": {
  29932. "type": "object",
  29933. "properties": {
  29934. "address": {
  29935. "description": "通讯地址",
  29936. "type": "string"
  29937. },
  29938. "attachment1": {
  29939. "description": "附件1",
  29940. "type": "string"
  29941. },
  29942. "attachment2": {
  29943. "description": "附件2",
  29944. "type": "string"
  29945. },
  29946. "audittime": {
  29947. "description": "审核时间",
  29948. "type": "string"
  29949. },
  29950. "cardbackphotourl": {
  29951. "description": "证件反面图片地址",
  29952. "type": "string"
  29953. },
  29954. "cardfrontphotourl": {
  29955. "description": "证件正面图片地址",
  29956. "type": "string"
  29957. },
  29958. "cardnum": {
  29959. "description": "证件号码",
  29960. "type": "string"
  29961. },
  29962. "cardtype": {
  29963. "description": "证件类型",
  29964. "type": "integer"
  29965. },
  29966. "cardtypename": {
  29967. "description": "证件类型名称",
  29968. "type": "string"
  29969. },
  29970. "cityid": {
  29971. "description": "市",
  29972. "type": "integer"
  29973. },
  29974. "cityname": {
  29975. "description": "城市名称",
  29976. "type": "string"
  29977. },
  29978. "contactname": {
  29979. "description": "联系人",
  29980. "type": "string"
  29981. },
  29982. "countryid": {
  29983. "description": "国家",
  29984. "type": "integer"
  29985. },
  29986. "countryname": {
  29987. "description": "国家名称",
  29988. "type": "string"
  29989. },
  29990. "createtime": {
  29991. "description": "创建时间",
  29992. "type": "string"
  29993. },
  29994. "customername": {
  29995. "description": "客户名称",
  29996. "type": "string"
  29997. },
  29998. "districtid": {
  29999. "description": "区域",
  30000. "type": "integer"
  30001. },
  30002. "districtname": {
  30003. "description": "地区名称",
  30004. "type": "string"
  30005. },
  30006. "email": {
  30007. "description": "邮件",
  30008. "type": "string"
  30009. },
  30010. "legalpersonname": {
  30011. "description": "法人姓名(企业)",
  30012. "type": "string"
  30013. },
  30014. "logincode": {
  30015. "description": "登录账号(代码)",
  30016. "type": "string"
  30017. },
  30018. "memberuserid": {
  30019. "description": "所属机构ID(所属会员)",
  30020. "type": "integer"
  30021. },
  30022. "memberusername": {
  30023. "description": "所属会员名称",
  30024. "type": "string"
  30025. },
  30026. "mobile": {
  30027. "description": "手机号码",
  30028. "type": "string"
  30029. },
  30030. "modifytime": {
  30031. "description": "修改时间",
  30032. "type": "string"
  30033. },
  30034. "nickname": {
  30035. "description": "昵称",
  30036. "type": "string"
  30037. },
  30038. "parentuserid": {
  30039. "description": "上级机构(所属机构)",
  30040. "type": "integer"
  30041. },
  30042. "parentusername": {
  30043. "description": "所属机构名称",
  30044. "type": "string"
  30045. },
  30046. "provinceid": {
  30047. "description": "省",
  30048. "type": "integer"
  30049. },
  30050. "provincename": {
  30051. "description": "省名称",
  30052. "type": "string"
  30053. },
  30054. "proxystatementurl": {
  30055. "description": "授权委托书",
  30056. "type": "string"
  30057. },
  30058. "remark": {
  30059. "description": "备注",
  30060. "type": "string"
  30061. },
  30062. "status": {
  30063. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  30064. "type": "integer"
  30065. },
  30066. "statusdesc": {
  30067. "description": "账户状态中文描述",
  30068. "type": "string"
  30069. },
  30070. "taxpayernum": {
  30071. "description": "纳税人识别号",
  30072. "type": "string"
  30073. },
  30074. "telphone": {
  30075. "description": "联系电话",
  30076. "type": "string"
  30077. },
  30078. "userid": {
  30079. "description": "用户ID",
  30080. "type": "integer"
  30081. },
  30082. "userinfotype": {
  30083. "description": "客户类型 1-个人 2-企业",
  30084. "type": "integer"
  30085. },
  30086. "username": {
  30087. "description": "用户名称",
  30088. "type": "string"
  30089. }
  30090. }
  30091. },
  30092. "models.QhjCustomerSignLog": {
  30093. "type": "object",
  30094. "properties": {
  30095. "agreementcontent": {
  30096. "description": "协议内容",
  30097. "type": "string"
  30098. },
  30099. "agreementid": {
  30100. "description": "协议ID",
  30101. "type": "integer"
  30102. },
  30103. "agreementname": {
  30104. "description": "协议名称",
  30105. "type": "string"
  30106. },
  30107. "agreementno": {
  30108. "description": "协议编号",
  30109. "type": "string"
  30110. },
  30111. "agreementtype": {
  30112. "description": "协议类型 - 1:注册 2:登录 3:交易",
  30113. "type": "integer"
  30114. },
  30115. "agreementversion": {
  30116. "description": "协议版本号",
  30117. "type": "integer"
  30118. },
  30119. "createtime": {
  30120. "description": "创建时间",
  30121. "type": "string"
  30122. },
  30123. "goodscode": {
  30124. "description": "商品代码",
  30125. "type": "string"
  30126. },
  30127. "goodsid": {
  30128. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  30129. "type": "integer"
  30130. },
  30131. "goodsname": {
  30132. "description": "商品名称",
  30133. "type": "string"
  30134. },
  30135. "logid": {
  30136. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  30137. "type": "integer"
  30138. },
  30139. "nodetype": {
  30140. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  30141. "type": "integer"
  30142. },
  30143. "signadressurl": {
  30144. "description": "签约文件地址",
  30145. "type": "string"
  30146. },
  30147. "signtimestamp": {
  30148. "description": "签约状态时间戳",
  30149. "type": "string"
  30150. },
  30151. "userid": {
  30152. "description": "客户ID",
  30153. "type": "integer"
  30154. },
  30155. "username": {
  30156. "description": "客户名称",
  30157. "type": "string"
  30158. }
  30159. }
  30160. },
  30161. "models.QhjCustomerSignStatus": {
  30162. "type": "object",
  30163. "properties": {
  30164. "createtime": {
  30165. "description": "创建时间",
  30166. "type": "string"
  30167. },
  30168. "goodscode": {
  30169. "description": "商品代码",
  30170. "type": "string"
  30171. },
  30172. "goodsid": {
  30173. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  30174. "type": "integer"
  30175. },
  30176. "goodsname": {
  30177. "description": "商品名称",
  30178. "type": "string"
  30179. },
  30180. "nodetype": {
  30181. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  30182. "type": "integer"
  30183. },
  30184. "signtimestamp": {
  30185. "description": "签约状态时间戳",
  30186. "type": "string"
  30187. },
  30188. "tradedate": {
  30189. "description": "创建交易日(yyyyMMdd)",
  30190. "type": "string"
  30191. },
  30192. "updatetime": {
  30193. "description": "更新时间",
  30194. "type": "string"
  30195. },
  30196. "userid": {
  30197. "description": "客户ID",
  30198. "type": "integer"
  30199. },
  30200. "username": {
  30201. "description": "客户名称",
  30202. "type": "string"
  30203. }
  30204. }
  30205. },
  30206. "models.QhjMgrAccountOutInApply": {
  30207. "type": "object",
  30208. "properties": {
  30209. "accountcode": {
  30210. "description": "资金账号",
  30211. "type": "string"
  30212. },
  30213. "accountname": {
  30214. "description": "用户名称(名称)",
  30215. "type": "string"
  30216. },
  30217. "accountpwd": {
  30218. "description": "资金密码",
  30219. "type": "string"
  30220. },
  30221. "accountticket": {
  30222. "description": "最新账户服务流水号",
  30223. "type": "string"
  30224. },
  30225. "amount": {
  30226. "description": "金额",
  30227. "type": "number"
  30228. },
  30229. "applyremark": {
  30230. "description": "申请备注",
  30231. "type": "string"
  30232. },
  30233. "applystatus": {
  30234. "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: 复审通过,账户冻结金额检查中;",
  30235. "type": "integer"
  30236. },
  30237. "auditid": {
  30238. "description": "审核人",
  30239. "type": "integer"
  30240. },
  30241. "audittime": {
  30242. "description": "审核时间",
  30243. "type": "string"
  30244. },
  30245. "bank_apply_ticket": {
  30246. "description": "银行申请流水",
  30247. "type": "string"
  30248. },
  30249. "bankaccountname": {
  30250. "description": "银行账户名",
  30251. "type": "string"
  30252. },
  30253. "bankaccountno": {
  30254. "description": "银行卡号",
  30255. "type": "string"
  30256. },
  30257. "bankid": {
  30258. "description": "银行编号",
  30259. "type": "string"
  30260. },
  30261. "bankname": {
  30262. "description": "银行名称",
  30263. "type": "string"
  30264. },
  30265. "bankticket": {
  30266. "description": "银行流水",
  30267. "type": "string"
  30268. },
  30269. "branchbankid": {
  30270. "description": "银行支行号",
  30271. "type": "string"
  30272. },
  30273. "branchbankname": {
  30274. "description": "银行支行名称",
  30275. "type": "string"
  30276. },
  30277. "capamountout": {
  30278. "description": "出金(劣后本金) - 外部子账户",
  30279. "type": "number"
  30280. },
  30281. "certificatephotourl": {
  30282. "description": "凭证地址",
  30283. "type": "string"
  30284. },
  30285. "charge": {
  30286. "description": "手续费",
  30287. "type": "number"
  30288. },
  30289. "checkerrorflag": {
  30290. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  30291. "type": "integer"
  30292. },
  30293. "currency": {
  30294. "description": "币种",
  30295. "type": "string"
  30296. },
  30297. "cusbankid": {
  30298. "description": "托管银行编号",
  30299. "type": "string"
  30300. },
  30301. "exchticket": {
  30302. "description": "银行服务流水号",
  30303. "type": "string"
  30304. },
  30305. "executetype": {
  30306. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  30307. "type": "integer"
  30308. },
  30309. "extendinfo": {
  30310. "description": "扩展信息",
  30311. "type": "string"
  30312. },
  30313. "extoperateid": {
  30314. "description": "交易服务流水号",
  30315. "type": "integer"
  30316. },
  30317. "infamount": {
  30318. "description": "劣后金额(自有)",
  30319. "type": "number"
  30320. },
  30321. "logincode": {
  30322. "description": "登录账号(账号)",
  30323. "type": "string"
  30324. },
  30325. "netaddr": {
  30326. "description": "调转网址",
  30327. "type": "string"
  30328. },
  30329. "priamount": {
  30330. "description": "优先金额(授信)",
  30331. "type": "number"
  30332. },
  30333. "reauditid": {
  30334. "description": "复审人",
  30335. "type": "integer"
  30336. },
  30337. "reauditremark": {
  30338. "description": "复审备注",
  30339. "type": "string"
  30340. },
  30341. "reaudittime": {
  30342. "description": "复审时间",
  30343. "type": "string"
  30344. },
  30345. "relatedorderid": {
  30346. "description": "三方关联ID",
  30347. "type": "string"
  30348. },
  30349. "remark": {
  30350. "description": "备注",
  30351. "type": "string"
  30352. },
  30353. "remark2": {
  30354. "description": "备注(失败原因)",
  30355. "type": "string"
  30356. },
  30357. "soucreamount": {
  30358. "description": "原始出入金金额",
  30359. "type": "number"
  30360. },
  30361. "soucrecurrencyid": {
  30362. "description": "原始出入金币种",
  30363. "type": "integer"
  30364. },
  30365. "tradedate": {
  30366. "description": "交易日(yyyyMMdd)",
  30367. "type": "string"
  30368. },
  30369. "updatetime": {
  30370. "description": "更新时间(申请时间)",
  30371. "type": "string"
  30372. },
  30373. "userid": {
  30374. "description": "用户id",
  30375. "type": "integer"
  30376. },
  30377. "userinfotype": {
  30378. "description": "账户类型 1-个人 2-企业",
  30379. "type": "integer"
  30380. }
  30381. }
  30382. },
  30383. "models.QhjMgrBrokerApply": {
  30384. "type": "object",
  30385. "properties": {
  30386. "applicantid": {
  30387. "description": "申请人",
  30388. "type": "integer"
  30389. },
  30390. "applysrc": {
  30391. "description": "申请来源 - 1:管理端 2:终端",
  30392. "type": "integer"
  30393. },
  30394. "applystatus": {
  30395. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  30396. "type": "integer"
  30397. },
  30398. "applytime": {
  30399. "description": "申请时间",
  30400. "type": "string"
  30401. },
  30402. "auditorid": {
  30403. "description": "审核人",
  30404. "type": "integer"
  30405. },
  30406. "auditremark": {
  30407. "description": "审核备注",
  30408. "type": "string"
  30409. },
  30410. "auditsrc": {
  30411. "description": "审核来源 - 1:管理端 2:终端",
  30412. "type": "integer"
  30413. },
  30414. "audittime": {
  30415. "description": "审核时间",
  30416. "type": "string"
  30417. },
  30418. "audittradedate": {
  30419. "description": "审核交易日(yyyyMMdd)",
  30420. "type": "string"
  30421. },
  30422. "brokerapplyid": {
  30423. "description": "申请ID(SEQ_BROKERAPPLY)",
  30424. "type": "integer"
  30425. },
  30426. "cardbackphotourl": {
  30427. "description": "证件背面图片地址",
  30428. "type": "string"
  30429. },
  30430. "cardfrontphotourl": {
  30431. "description": "证件正面图片地址",
  30432. "type": "string"
  30433. },
  30434. "cardnum": {
  30435. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  30436. "type": "string"
  30437. },
  30438. "customername": {
  30439. "description": "姓名",
  30440. "type": "string"
  30441. },
  30442. "filterstatus": {
  30443. "description": "筛选条件",
  30444. "type": "string"
  30445. },
  30446. "logincode": {
  30447. "description": "登录代码",
  30448. "type": "string"
  30449. },
  30450. "mobile": {
  30451. "description": "手机号码",
  30452. "type": "string"
  30453. },
  30454. "parentuserid": {
  30455. "description": "所属机构id",
  30456. "type": "integer"
  30457. },
  30458. "parentusername": {
  30459. "description": "所属机构名称",
  30460. "type": "string"
  30461. },
  30462. "refereeuserid": {
  30463. "description": "推荐人id(经纪人)",
  30464. "type": "integer"
  30465. },
  30466. "refernum": {
  30467. "description": "推荐码",
  30468. "type": "string"
  30469. },
  30470. "remark": {
  30471. "description": "备注",
  30472. "type": "string"
  30473. },
  30474. "subarealevelpath": {
  30475. "description": "层级路径",
  30476. "type": "string"
  30477. },
  30478. "tradedate": {
  30479. "description": "交易日(yyyyMMdd)",
  30480. "type": "string"
  30481. },
  30482. "userid": {
  30483. "description": "申请人用户ID",
  30484. "type": "integer"
  30485. },
  30486. "userinfotype": {
  30487. "description": "用户类型 1-个人 2-企业",
  30488. "type": "integer"
  30489. },
  30490. "username": {
  30491. "description": "用户名称",
  30492. "type": "string"
  30493. }
  30494. }
  30495. },
  30496. "models.QhjMgrBrokerRewardReport": {
  30497. "type": "object",
  30498. "properties": {
  30499. "createtime": {
  30500. "description": "创建时间(注册时间)",
  30501. "type": "string"
  30502. },
  30503. "cycletime": {
  30504. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  30505. "type": "string"
  30506. },
  30507. "cycletype": {
  30508. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  30509. "type": "integer"
  30510. },
  30511. "directtotalnum": {
  30512. "description": "直推总人数【期末】",
  30513. "type": "integer"
  30514. },
  30515. "indirecttotalnum": {
  30516. "description": "间推总人数【期末】",
  30517. "type": "integer"
  30518. },
  30519. "mobile": {
  30520. "description": "电话号码",
  30521. "type": "string"
  30522. },
  30523. "refereeuserid": {
  30524. "description": "推荐人id(经纪人id)",
  30525. "type": "integer"
  30526. },
  30527. "refereeusername": {
  30528. "description": "推荐人名称(经纪人) 上级经纪人名称",
  30529. "type": "string"
  30530. },
  30531. "refernum": {
  30532. "description": "推荐码",
  30533. "type": "string"
  30534. },
  30535. "subarealevelpath": {
  30536. "description": "用户层级路径",
  30537. "type": "string"
  30538. },
  30539. "todayrewardamount": {
  30540. "description": "奖励总金额【汇总】",
  30541. "type": "number"
  30542. },
  30543. "updatetime": {
  30544. "description": "更新时间",
  30545. "type": "string"
  30546. },
  30547. "userid": {
  30548. "description": "经纪人用户ID",
  30549. "type": "integer"
  30550. },
  30551. "userinfotype": {
  30552. "description": "用户类型 1-个人 2-企业",
  30553. "type": "integer"
  30554. },
  30555. "username": {
  30556. "description": "用户名称",
  30557. "type": "string"
  30558. }
  30559. }
  30560. },
  30561. "models.QhjMgrContract": {
  30562. "type": "object",
  30563. "properties": {
  30564. "contractconfirmtime": {
  30565. "description": "合同确认时间(时间)",
  30566. "type": "string"
  30567. },
  30568. "currisklevel": {
  30569. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  30570. "type": "integer"
  30571. },
  30572. "decimalplace": {
  30573. "description": "商品报价小数位",
  30574. "type": "integer"
  30575. },
  30576. "enumdicname": {
  30577. "description": "单位名称",
  30578. "type": "string"
  30579. },
  30580. "goodscode": {
  30581. "description": "商品代码",
  30582. "type": "string"
  30583. },
  30584. "goodsid": {
  30585. "description": "商品ID [5:融资单]",
  30586. "type": "integer"
  30587. },
  30588. "goodsname": {
  30589. "description": "商品名称",
  30590. "type": "string"
  30591. },
  30592. "goodunitid": {
  30593. "description": "商品单位id",
  30594. "type": "integer"
  30595. },
  30596. "initmargin": {
  30597. "description": "初始保证金(首付款)",
  30598. "type": "number"
  30599. },
  30600. "lenderamount": {
  30601. "description": "贷款金额(总额|订单总额)",
  30602. "type": "number"
  30603. },
  30604. "logincode": {
  30605. "description": "账号(登录代码)",
  30606. "type": "string"
  30607. },
  30608. "marginratio": {
  30609. "description": "保证金比率(首付比例)",
  30610. "type": "number"
  30611. },
  30612. "mobile": {
  30613. "description": "电话号码(用户资料里的电话)",
  30614. "type": "string"
  30615. },
  30616. "payamount": {
  30617. "description": "已付(已付货款)",
  30618. "type": "number"
  30619. },
  30620. "reckonrecovermargin": {
  30621. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  30622. "type": "number"
  30623. },
  30624. "recoveredmargin": {
  30625. "description": "已追缴保证金",
  30626. "type": "number"
  30627. },
  30628. "remainamount": {
  30629. "description": "合同剩余金额(融资额)",
  30630. "type": "number"
  30631. },
  30632. "scfcontractid": {
  30633. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  30634. "type": "string"
  30635. },
  30636. "scfcontractstatus": {
  30637. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  30638. "type": "integer"
  30639. },
  30640. "scfcontracttype": {
  30641. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  30642. "type": "integer"
  30643. },
  30644. "totalinterest": {
  30645. "description": "已计总利息(利息)",
  30646. "type": "number"
  30647. },
  30648. "tradedate": {
  30649. "description": "交易日",
  30650. "type": "string"
  30651. },
  30652. "tradeprice": {
  30653. "description": "成交价格(成本价格)",
  30654. "type": "number"
  30655. },
  30656. "userid": {
  30657. "description": "用户ID",
  30658. "type": "integer"
  30659. },
  30660. "userinfotype": {
  30661. "description": "用户类型 1-个人 2-企业",
  30662. "type": "integer"
  30663. },
  30664. "username": {
  30665. "description": "用户名称",
  30666. "type": "string"
  30667. },
  30668. "wrqty": {
  30669. "description": "仓单数量(数量)",
  30670. "type": "number"
  30671. }
  30672. }
  30673. },
  30674. "models.QhjMgrCustomer": {
  30675. "type": "object",
  30676. "properties": {
  30677. "address": {
  30678. "description": "通讯地址",
  30679. "type": "string"
  30680. },
  30681. "attachment1": {
  30682. "description": "附件1",
  30683. "type": "string"
  30684. },
  30685. "audittime": {
  30686. "description": "审核时间",
  30687. "type": "string"
  30688. },
  30689. "birthday": {
  30690. "description": "生日",
  30691. "type": "string"
  30692. },
  30693. "brokerid": {
  30694. "description": "所属客户经理id",
  30695. "type": "integer"
  30696. },
  30697. "brokername": {
  30698. "description": "所属客户经理名称",
  30699. "type": "string"
  30700. },
  30701. "cardbackphotourl": {
  30702. "description": "证件反面图片地址",
  30703. "type": "string"
  30704. },
  30705. "cardfrontphotourl": {
  30706. "description": "证件正面图片地址",
  30707. "type": "string"
  30708. },
  30709. "cardnum": {
  30710. "description": "证件号码",
  30711. "type": "string"
  30712. },
  30713. "cardtype": {
  30714. "description": "证件类型",
  30715. "type": "integer"
  30716. },
  30717. "cardtypename": {
  30718. "description": "证件类型名称",
  30719. "type": "string"
  30720. },
  30721. "cityid": {
  30722. "description": "市",
  30723. "type": "integer"
  30724. },
  30725. "cityname": {
  30726. "description": "城市名称",
  30727. "type": "string"
  30728. },
  30729. "contactname": {
  30730. "description": "联系人",
  30731. "type": "string"
  30732. },
  30733. "countryid": {
  30734. "description": "国家",
  30735. "type": "integer"
  30736. },
  30737. "countryname": {
  30738. "description": "国家名称",
  30739. "type": "string"
  30740. },
  30741. "createtime": {
  30742. "description": "创建时间",
  30743. "type": "string"
  30744. },
  30745. "customername": {
  30746. "description": "客户名称",
  30747. "type": "string"
  30748. },
  30749. "districtid": {
  30750. "description": "区域",
  30751. "type": "integer"
  30752. },
  30753. "districtname": {
  30754. "description": "地区名称",
  30755. "type": "string"
  30756. },
  30757. "email": {
  30758. "description": "邮件",
  30759. "type": "string"
  30760. },
  30761. "legalpersonname": {
  30762. "description": "法人姓名(企业)",
  30763. "type": "string"
  30764. },
  30765. "logincode": {
  30766. "description": "登录账号(代码)",
  30767. "type": "string"
  30768. },
  30769. "memberuserid": {
  30770. "description": "所属机构ID(所属会员)",
  30771. "type": "integer"
  30772. },
  30773. "memberusername": {
  30774. "description": "所属会员名称",
  30775. "type": "string"
  30776. },
  30777. "mobile": {
  30778. "description": "手机号码",
  30779. "type": "string"
  30780. },
  30781. "modifytime": {
  30782. "description": "修改时间",
  30783. "type": "string"
  30784. },
  30785. "nickname": {
  30786. "description": "昵称",
  30787. "type": "string"
  30788. },
  30789. "parentuserid": {
  30790. "description": "上级机构(所属机构)",
  30791. "type": "integer"
  30792. },
  30793. "parentusername": {
  30794. "description": "所属机构名称",
  30795. "type": "string"
  30796. },
  30797. "provinceid": {
  30798. "description": "省",
  30799. "type": "integer"
  30800. },
  30801. "provincename": {
  30802. "description": "省名称",
  30803. "type": "string"
  30804. },
  30805. "proxystatementurl": {
  30806. "description": "授权委托书",
  30807. "type": "string"
  30808. },
  30809. "querytype": {
  30810. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  30811. "type": "integer"
  30812. },
  30813. "remark": {
  30814. "description": "备注",
  30815. "type": "string"
  30816. },
  30817. "sex": {
  30818. "description": "性别 0-女 1-男",
  30819. "type": "integer"
  30820. },
  30821. "status": {
  30822. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  30823. "type": "integer"
  30824. },
  30825. "statusdesc": {
  30826. "description": "账户状态中文描述",
  30827. "type": "string"
  30828. },
  30829. "taxpayernum": {
  30830. "description": "纳税人识别号",
  30831. "type": "string"
  30832. },
  30833. "telphone": {
  30834. "description": "联系电话",
  30835. "type": "string"
  30836. },
  30837. "userid": {
  30838. "description": "用户ID",
  30839. "type": "integer"
  30840. },
  30841. "userinfotype": {
  30842. "description": "客户类型 1-个人 2-企业",
  30843. "type": "integer"
  30844. },
  30845. "username": {
  30846. "description": "用户名称",
  30847. "type": "string"
  30848. }
  30849. }
  30850. },
  30851. "models.QhjMgrPickGoods": {
  30852. "type": "object",
  30853. "properties": {
  30854. "enumdicname": {
  30855. "description": "单位名称(提货商品)",
  30856. "type": "string"
  30857. },
  30858. "goodsid": {
  30859. "description": "商品id",
  30860. "type": "integer"
  30861. },
  30862. "imageaddress": {
  30863. "description": "图片",
  30864. "type": "string"
  30865. },
  30866. "modifierid": {
  30867. "description": "修改人",
  30868. "type": "integer"
  30869. },
  30870. "modifiername": {
  30871. "description": "修改人名称",
  30872. "type": "string"
  30873. },
  30874. "modifysrc": {
  30875. "description": "修改来源 - 1:管理端 2:终端",
  30876. "type": "integer"
  30877. },
  30878. "pickupgoodsagreeunit": {
  30879. "description": "合约乘数",
  30880. "type": "number"
  30881. },
  30882. "pickupgoodsdesc": {
  30883. "description": "描述",
  30884. "type": "string"
  30885. },
  30886. "pickupgoodsid": {
  30887. "description": "提货商品ID",
  30888. "type": "string"
  30889. },
  30890. "pickupgoodsname": {
  30891. "description": "提货商品名称",
  30892. "type": "string"
  30893. },
  30894. "pickupgoodsstatus": {
  30895. "description": "状态 - 1:正常 2:停用 3:注销",
  30896. "type": "integer"
  30897. },
  30898. "pickupgoodsunitid": {
  30899. "description": "单位ID",
  30900. "type": "integer"
  30901. },
  30902. "pickupratio": {
  30903. "description": "提货系数",
  30904. "type": "number"
  30905. },
  30906. "preparedays": {
  30907. "description": "备货期(天)",
  30908. "type": "integer"
  30909. },
  30910. "remark": {
  30911. "description": "备注",
  30912. "type": "string"
  30913. },
  30914. "updatetime": {
  30915. "description": "更新时间",
  30916. "type": "string"
  30917. }
  30918. }
  30919. },
  30920. "models.QhjMgrPositionRsp": {
  30921. "type": "object",
  30922. "properties": {
  30923. "accountid": {
  30924. "description": "账号Id",
  30925. "type": "integer"
  30926. },
  30927. "accountname": {
  30928. "description": "用户名称",
  30929. "type": "string"
  30930. },
  30931. "agreeunit": {
  30932. "description": "合约乘数",
  30933. "type": "number"
  30934. },
  30935. "averageprice": {
  30936. "description": "均价",
  30937. "type": "number"
  30938. },
  30939. "avialqty": {
  30940. "description": "可用数量",
  30941. "type": "number"
  30942. },
  30943. "decimalplace": {
  30944. "description": "报价小数位",
  30945. "type": "integer"
  30946. },
  30947. "enumdicname": {
  30948. "description": "单位名称(商品)",
  30949. "type": "string"
  30950. },
  30951. "frozenqty": {
  30952. "description": "冻结数量",
  30953. "type": "number"
  30954. },
  30955. "goodscode": {
  30956. "description": "商品代码(内部)",
  30957. "type": "string"
  30958. },
  30959. "goodsid": {
  30960. "description": "商品Id",
  30961. "type": "integer"
  30962. },
  30963. "goodsname": {
  30964. "description": "商品名称",
  30965. "type": "string"
  30966. },
  30967. "goodunitid": {
  30968. "description": "报价单位ID",
  30969. "type": "integer"
  30970. },
  30971. "holderamount": {
  30972. "description": "金额",
  30973. "type": "number"
  30974. },
  30975. "holderqty": {
  30976. "description": "持有数量",
  30977. "type": "number"
  30978. },
  30979. "holdertype": {
  30980. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  30981. "type": "integer"
  30982. },
  30983. "logincode": {
  30984. "description": "登录代码(账户)",
  30985. "type": "string"
  30986. },
  30987. "marketid": {
  30988. "description": "市场id",
  30989. "type": "integer"
  30990. },
  30991. "qtydecimalplace": {
  30992. "description": "成交量小数位",
  30993. "type": "integer"
  30994. },
  30995. "trademode": {
  30996. "description": "交易模式",
  30997. "type": "integer"
  30998. },
  30999. "userid": {
  31000. "description": "用户id",
  31001. "type": "integer"
  31002. },
  31003. "userinfotype": {
  31004. "description": "账户类型 1-个人 2-企业",
  31005. "type": "integer"
  31006. }
  31007. }
  31008. },
  31009. "models.QhjMgrSubArea": {
  31010. "type": "object",
  31011. "properties": {
  31012. "accountname": {
  31013. "description": "账户名称(机构名称)",
  31014. "type": "string"
  31015. },
  31016. "memberuserid": {
  31017. "description": "所属会员ID",
  31018. "type": "integer"
  31019. },
  31020. "parenttopuser": {
  31021. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  31022. "type": "string"
  31023. },
  31024. "parentuserid": {
  31025. "description": "所属机构ID",
  31026. "type": "integer"
  31027. },
  31028. "rootuserid": {
  31029. "description": "根用户ID",
  31030. "type": "string"
  31031. },
  31032. "subaccountlevel": {
  31033. "description": "子账户层数",
  31034. "type": "integer"
  31035. },
  31036. "subarealevelpath": {
  31037. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  31038. "type": "string"
  31039. },
  31040. "userid": {
  31041. "description": "用户ID",
  31042. "type": "integer"
  31043. },
  31044. "usertype": {
  31045. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  31046. "type": "integer"
  31047. }
  31048. }
  31049. },
  31050. "models.QhjMgrTradeDetailRsp": {
  31051. "type": "object",
  31052. "properties": {
  31053. "accountid": {
  31054. "description": "资金账号",
  31055. "type": "integer"
  31056. },
  31057. "accountname": {
  31058. "description": "用户名称",
  31059. "type": "string"
  31060. },
  31061. "agreeunit": {
  31062. "description": "合约乘数",
  31063. "type": "number"
  31064. },
  31065. "buyorsell": {
  31066. "description": "成交类型(方向) 0:买 1:卖",
  31067. "type": "integer"
  31068. },
  31069. "decimalplace": {
  31070. "description": "报价小数位",
  31071. "type": "integer"
  31072. },
  31073. "enumdicname": {
  31074. "description": "单位名称(商品)",
  31075. "type": "string"
  31076. },
  31077. "goodscode": {
  31078. "description": "商品代码(内部)",
  31079. "type": "string"
  31080. },
  31081. "goodsid": {
  31082. "description": "商品id",
  31083. "type": "integer"
  31084. },
  31085. "goodsname": {
  31086. "description": "商品名称",
  31087. "type": "string"
  31088. },
  31089. "goodunitid": {
  31090. "description": "报价单位ID",
  31091. "type": "integer"
  31092. },
  31093. "logincode": {
  31094. "description": "登录代码(账户)",
  31095. "type": "string"
  31096. },
  31097. "marketid": {
  31098. "description": "市场id",
  31099. "type": "integer"
  31100. },
  31101. "orderid": {
  31102. "description": "关联委托单号",
  31103. "type": "string"
  31104. },
  31105. "qtydecimalplace": {
  31106. "description": "成交量小数位",
  31107. "type": "integer"
  31108. },
  31109. "tradeamount": {
  31110. "description": "金额",
  31111. "type": "number"
  31112. },
  31113. "tradedate": {
  31114. "description": "交易日",
  31115. "type": "string"
  31116. },
  31117. "tradeid": {
  31118. "description": "成交单号",
  31119. "type": "string"
  31120. },
  31121. "trademode": {
  31122. "description": "交易模式",
  31123. "type": "integer"
  31124. },
  31125. "tradeprice": {
  31126. "description": "价格",
  31127. "type": "number"
  31128. },
  31129. "tradeqty": {
  31130. "description": "数量",
  31131. "type": "number"
  31132. },
  31133. "tradetime": {
  31134. "description": "成交时间",
  31135. "type": "string"
  31136. },
  31137. "userid": {
  31138. "description": "用户id",
  31139. "type": "integer"
  31140. },
  31141. "userinfotype": {
  31142. "description": "账户类型 1-个人 2-企业",
  31143. "type": "integer"
  31144. }
  31145. }
  31146. },
  31147. "models.QhjMgrTradeOrderDetailRsp": {
  31148. "type": "object",
  31149. "properties": {
  31150. "accountid": {
  31151. "description": "资金账号",
  31152. "type": "integer"
  31153. },
  31154. "accountname": {
  31155. "description": "用户名称",
  31156. "type": "string"
  31157. },
  31158. "agreeunit": {
  31159. "description": "合约乘数",
  31160. "type": "number"
  31161. },
  31162. "amount": {
  31163. "description": "金额",
  31164. "type": "number"
  31165. },
  31166. "decimalplace": {
  31167. "description": "报价小数位",
  31168. "type": "integer"
  31169. },
  31170. "enumdicname": {
  31171. "description": "单位名称(商品)",
  31172. "type": "string"
  31173. },
  31174. "goodscode": {
  31175. "description": "商品代码(内部)",
  31176. "type": "string"
  31177. },
  31178. "goodsid": {
  31179. "description": "商品id",
  31180. "type": "integer"
  31181. },
  31182. "goodsname": {
  31183. "description": "商品名称",
  31184. "type": "string"
  31185. },
  31186. "goodunitid": {
  31187. "description": "报价单位ID",
  31188. "type": "integer"
  31189. },
  31190. "logincode": {
  31191. "description": "登录代码(账户)",
  31192. "type": "string"
  31193. },
  31194. "marketid": {
  31195. "description": "市场id",
  31196. "type": "integer"
  31197. },
  31198. "orderid": {
  31199. "description": "关联委托单号",
  31200. "type": "string"
  31201. },
  31202. "orderprice": {
  31203. "description": "价格",
  31204. "type": "number"
  31205. },
  31206. "orderqty": {
  31207. "description": "数量",
  31208. "type": "number"
  31209. },
  31210. "orderstatus": {
  31211. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  31212. "type": "integer"
  31213. },
  31214. "ordertime": {
  31215. "description": "委托时间",
  31216. "type": "string"
  31217. },
  31218. "qtydecimalplace": {
  31219. "description": "成交量小数位",
  31220. "type": "integer"
  31221. },
  31222. "tradedate": {
  31223. "description": "交易日",
  31224. "type": "string"
  31225. },
  31226. "trademode": {
  31227. "description": "交易模式",
  31228. "type": "integer"
  31229. },
  31230. "userid": {
  31231. "description": "用户id",
  31232. "type": "integer"
  31233. },
  31234. "userinfotype": {
  31235. "description": "账户类型 1-个人 2-企业",
  31236. "type": "integer"
  31237. }
  31238. }
  31239. },
  31240. "models.QhjMgrTradePayOrder": {
  31241. "type": "object",
  31242. "properties": {
  31243. "accountname": {
  31244. "description": "用户名称",
  31245. "type": "string"
  31246. },
  31247. "advanceratio": {
  31248. "description": "首付比率",
  31249. "type": "number"
  31250. },
  31251. "agreeunit": {
  31252. "description": "合约乘数",
  31253. "type": "number"
  31254. },
  31255. "buyaccountid": {
  31256. "description": "买方账号ID[报价币种]",
  31257. "type": "integer"
  31258. },
  31259. "buyorderid": {
  31260. "description": "买方委托单号(关联单号)",
  31261. "type": "string"
  31262. },
  31263. "createtime": {
  31264. "description": "创建时间",
  31265. "type": "string"
  31266. },
  31267. "decimalplace": {
  31268. "description": "报价小数位",
  31269. "type": "integer"
  31270. },
  31271. "enumdicname": {
  31272. "description": "单位名称(商品)",
  31273. "type": "string"
  31274. },
  31275. "goodscode": {
  31276. "description": "商品代码(内部)",
  31277. "type": "string"
  31278. },
  31279. "goodsid": {
  31280. "description": "商品ID",
  31281. "type": "integer"
  31282. },
  31283. "goodsname": {
  31284. "description": "商品名称",
  31285. "type": "string"
  31286. },
  31287. "goodunitid": {
  31288. "description": "报价单位ID",
  31289. "type": "integer"
  31290. },
  31291. "logincode": {
  31292. "description": "登录代码(账户)",
  31293. "type": "string"
  31294. },
  31295. "marketid": {
  31296. "description": "市场id",
  31297. "type": "integer"
  31298. },
  31299. "offamount": {
  31300. "description": "优惠金额",
  31301. "type": "number"
  31302. },
  31303. "operatetype": {
  31304. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  31305. "type": "integer"
  31306. },
  31307. "payamount": {
  31308. "description": "支付金额(金额)",
  31309. "type": "number"
  31310. },
  31311. "payflag": {
  31312. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  31313. "type": "integer"
  31314. },
  31315. "paylimitedtime": {
  31316. "description": "支付期限",
  31317. "type": "string"
  31318. },
  31319. "paytime": {
  31320. "description": "付款时间",
  31321. "type": "string"
  31322. },
  31323. "qtydecimalplace": {
  31324. "description": "成交量小数位",
  31325. "type": "integer"
  31326. },
  31327. "sellaccountid": {
  31328. "description": "卖方账号ID[报价币种]",
  31329. "type": "integer"
  31330. },
  31331. "sellorderid": {
  31332. "description": "卖方委托单号",
  31333. "type": "string"
  31334. },
  31335. "tradeamount": {
  31336. "description": "成交金额(优惠后金额)",
  31337. "type": "number"
  31338. },
  31339. "tradecharge": {
  31340. "description": "成交手续费(买方)",
  31341. "type": "number"
  31342. },
  31343. "tradedate": {
  31344. "description": "交易日(yyyyMMdd)",
  31345. "type": "string"
  31346. },
  31347. "tradeid": {
  31348. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31349. "type": "string"
  31350. },
  31351. "trademode": {
  31352. "description": "交易模式",
  31353. "type": "integer"
  31354. },
  31355. "tradeprice": {
  31356. "description": "成交价格(价格)",
  31357. "type": "number"
  31358. },
  31359. "tradeqty": {
  31360. "description": "成交数量(数量)",
  31361. "type": "number"
  31362. },
  31363. "tradetime": {
  31364. "description": "成交时间",
  31365. "type": "string"
  31366. },
  31367. "userid": {
  31368. "description": "用户id",
  31369. "type": "integer"
  31370. },
  31371. "userinfotype": {
  31372. "description": "账户类型 1-个人 2-企业",
  31373. "type": "integer"
  31374. }
  31375. }
  31376. },
  31377. "models.QhjMyTeamEx": {
  31378. "type": "object",
  31379. "properties": {
  31380. "accountname": {
  31381. "description": "用户名称",
  31382. "type": "string"
  31383. },
  31384. "accountstatus": {
  31385. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  31386. "type": "integer"
  31387. },
  31388. "createtime": {
  31389. "description": "创建时间",
  31390. "type": "string"
  31391. },
  31392. "mobile": {
  31393. "description": "手机号码",
  31394. "type": "string"
  31395. },
  31396. "refereeuserid": {
  31397. "description": "推荐人id",
  31398. "type": "integer"
  31399. },
  31400. "refernum": {
  31401. "description": "推荐码",
  31402. "type": "string"
  31403. },
  31404. "subList": {
  31405. "type": "array",
  31406. "items": {
  31407. "$ref": "#/definitions/models.QhjMyTeamEx"
  31408. }
  31409. },
  31410. "userid": {
  31411. "description": "用户id",
  31412. "type": "integer"
  31413. },
  31414. "userinfotype": {
  31415. "description": "用户类型 1-个人 2-企业",
  31416. "type": "integer"
  31417. }
  31418. }
  31419. },
  31420. "models.QhjNodeAgreementConfig": {
  31421. "type": "object",
  31422. "properties": {
  31423. "agreementcontent": {
  31424. "description": "协议内容",
  31425. "type": "string"
  31426. },
  31427. "agreementid": {
  31428. "description": "协议ID",
  31429. "type": "integer"
  31430. },
  31431. "agreementname": {
  31432. "description": "协议名称",
  31433. "type": "string"
  31434. },
  31435. "agreementno": {
  31436. "description": "协议编号",
  31437. "type": "string"
  31438. },
  31439. "agreementtype": {
  31440. "description": "协议类型 - 1:注册 2:登录 3:交易",
  31441. "type": "integer"
  31442. },
  31443. "agreementversion": {
  31444. "description": "协议版本号",
  31445. "type": "integer"
  31446. },
  31447. "configid": {
  31448. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  31449. "type": "integer"
  31450. },
  31451. "createtime": {
  31452. "description": "创建时间",
  31453. "type": "string"
  31454. },
  31455. "goodsid": {
  31456. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  31457. "type": "integer"
  31458. },
  31459. "nodetype": {
  31460. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  31461. "type": "integer"
  31462. }
  31463. }
  31464. },
  31465. "models.QhjParentAreaList": {
  31466. "type": "object",
  31467. "properties": {
  31468. "accountname": {
  31469. "description": "账户名称(机构名称)",
  31470. "type": "string"
  31471. },
  31472. "userid": {
  31473. "description": "用户ID",
  31474. "type": "integer"
  31475. },
  31476. "usertype": {
  31477. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  31478. "type": "integer"
  31479. }
  31480. }
  31481. },
  31482. "models.QhjPayOrder": {
  31483. "type": "object",
  31484. "properties": {
  31485. "advanceratio": {
  31486. "description": "首付比率",
  31487. "type": "number"
  31488. },
  31489. "buyaccountid": {
  31490. "description": "买方账号ID[报价币种]",
  31491. "type": "integer"
  31492. },
  31493. "buyorderid": {
  31494. "description": "买方委托单号",
  31495. "type": "string"
  31496. },
  31497. "createtime": {
  31498. "description": "创建时间",
  31499. "type": "string"
  31500. },
  31501. "decimalplace": {
  31502. "description": "商品报价小数位",
  31503. "type": "integer"
  31504. },
  31505. "enumdicname": {
  31506. "description": "单位名称",
  31507. "type": "string"
  31508. },
  31509. "goodscode": {
  31510. "description": "商品代码",
  31511. "type": "string"
  31512. },
  31513. "goodsid": {
  31514. "description": "商品ID",
  31515. "type": "integer"
  31516. },
  31517. "goodsname": {
  31518. "description": "商品名称",
  31519. "type": "string"
  31520. },
  31521. "goodunitid": {
  31522. "description": "商品单位id",
  31523. "type": "integer"
  31524. },
  31525. "marketid": {
  31526. "description": "市场ID",
  31527. "type": "integer"
  31528. },
  31529. "offamount": {
  31530. "description": "优惠金额",
  31531. "type": "number"
  31532. },
  31533. "operatetype": {
  31534. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  31535. "type": "integer"
  31536. },
  31537. "payamount": {
  31538. "description": "支付金额",
  31539. "type": "number"
  31540. },
  31541. "payflag": {
  31542. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  31543. "type": "integer"
  31544. },
  31545. "paylimitedtime": {
  31546. "description": "支付期限",
  31547. "type": "string"
  31548. },
  31549. "paytime": {
  31550. "description": "付款时间",
  31551. "type": "string"
  31552. },
  31553. "qtydecimalplace": {
  31554. "description": "成交量小数位",
  31555. "type": "integer"
  31556. },
  31557. "sellaccountid": {
  31558. "description": "卖方账号ID[报价币种]",
  31559. "type": "integer"
  31560. },
  31561. "sellorderid": {
  31562. "description": "卖方委托单号",
  31563. "type": "string"
  31564. },
  31565. "tradeamount": {
  31566. "description": "成交金额(优惠后金额)",
  31567. "type": "number"
  31568. },
  31569. "tradecharge": {
  31570. "description": "成交手续费(买方)",
  31571. "type": "number"
  31572. },
  31573. "tradedate": {
  31574. "description": "交易日(yyyyMMdd)",
  31575. "type": "string"
  31576. },
  31577. "tradeid": {
  31578. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31579. "type": "string"
  31580. },
  31581. "tradeprice": {
  31582. "description": "成交价格",
  31583. "type": "number"
  31584. },
  31585. "tradeqty": {
  31586. "description": "成交数量",
  31587. "type": "number"
  31588. }
  31589. }
  31590. },
  31591. "models.QhjPickArea": {
  31592. "type": "object",
  31593. "properties": {
  31594. "address": {
  31595. "description": "详细地址",
  31596. "type": "string"
  31597. },
  31598. "cityid": {
  31599. "description": "市",
  31600. "type": "integer"
  31601. },
  31602. "cityname": {
  31603. "description": "城市名称",
  31604. "type": "string"
  31605. },
  31606. "countryid": {
  31607. "description": "国家",
  31608. "type": "integer"
  31609. },
  31610. "countryname": {
  31611. "description": "国家名称",
  31612. "type": "string"
  31613. },
  31614. "districtid": {
  31615. "description": "地区",
  31616. "type": "integer"
  31617. },
  31618. "districtname": {
  31619. "description": "地区名称",
  31620. "type": "string"
  31621. },
  31622. "fromuserid": {
  31623. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  31624. "type": "integer"
  31625. },
  31626. "fromusername": {
  31627. "description": "所属机构名称",
  31628. "type": "string"
  31629. },
  31630. "provinceid": {
  31631. "description": "省",
  31632. "type": "integer"
  31633. },
  31634. "provincename": {
  31635. "description": "省名称",
  31636. "type": "string"
  31637. },
  31638. "suborgtype": {
  31639. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  31640. "type": "integer"
  31641. },
  31642. "userid": {
  31643. "description": "机构用户ID 其他做市关系,都设置为 1",
  31644. "type": "integer"
  31645. },
  31646. "username": {
  31647. "description": "机构用户名称(门店门称)",
  31648. "type": "string"
  31649. }
  31650. }
  31651. },
  31652. "models.QhjPickGoods": {
  31653. "type": "object",
  31654. "properties": {
  31655. "enumdicname": {
  31656. "description": "单位名称(提货商品)",
  31657. "type": "string"
  31658. },
  31659. "goodsid": {
  31660. "description": "商品id",
  31661. "type": "integer"
  31662. },
  31663. "imageaddress": {
  31664. "description": "图片",
  31665. "type": "string"
  31666. },
  31667. "modifierid": {
  31668. "description": "修改人",
  31669. "type": "integer"
  31670. },
  31671. "modifiername": {
  31672. "description": "修改人名称",
  31673. "type": "string"
  31674. },
  31675. "modifysrc": {
  31676. "description": "修改来源 - 1:管理端 2:终端",
  31677. "type": "integer"
  31678. },
  31679. "pickupgoodsagreeunit": {
  31680. "description": "合约乘数",
  31681. "type": "number"
  31682. },
  31683. "pickupgoodsdesc": {
  31684. "description": "描述",
  31685. "type": "string"
  31686. },
  31687. "pickupgoodsid": {
  31688. "description": "提货商品ID",
  31689. "type": "string"
  31690. },
  31691. "pickupgoodsname": {
  31692. "description": "提货商品名称",
  31693. "type": "string"
  31694. },
  31695. "pickupgoodsstatus": {
  31696. "description": "状态 - 1:正常 2:停用 3:注销",
  31697. "type": "integer"
  31698. },
  31699. "pickupgoodsunitid": {
  31700. "description": "单位ID",
  31701. "type": "integer"
  31702. },
  31703. "pickupratio": {
  31704. "description": "提货系数",
  31705. "type": "number"
  31706. },
  31707. "preparedays": {
  31708. "description": "备货期(天)",
  31709. "type": "integer"
  31710. },
  31711. "remark": {
  31712. "description": "备注",
  31713. "type": "string"
  31714. },
  31715. "updatetime": {
  31716. "description": "更新时间",
  31717. "type": "string"
  31718. }
  31719. }
  31720. },
  31721. "models.QhjRSTriggerLog": {
  31722. "type": "object",
  31723. "properties": {
  31724. "accountid": {
  31725. "description": "用户资金账户",
  31726. "type": "integer"
  31727. },
  31728. "accountname": {
  31729. "description": "账号名称(ACCOUNTID对应的名称)",
  31730. "type": "string"
  31731. },
  31732. "currencyid": {
  31733. "description": "币种id",
  31734. "type": "integer"
  31735. },
  31736. "currencyname": {
  31737. "description": "币种名称",
  31738. "type": "string"
  31739. },
  31740. "decimalplace": {
  31741. "description": "商品报价小数位",
  31742. "type": "integer"
  31743. },
  31744. "enumdicname": {
  31745. "description": "单位名称",
  31746. "type": "string"
  31747. },
  31748. "goodscode": {
  31749. "description": "定投商品代码",
  31750. "type": "string"
  31751. },
  31752. "goodsid": {
  31753. "description": "定投商品ID",
  31754. "type": "integer"
  31755. },
  31756. "goodsname": {
  31757. "description": "定投商品名称",
  31758. "type": "string"
  31759. },
  31760. "goodunitid": {
  31761. "description": "定投商品单位id",
  31762. "type": "integer"
  31763. },
  31764. "logid": {
  31765. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  31766. "type": "string"
  31767. },
  31768. "logincode": {
  31769. "description": "账号(登录代码)",
  31770. "type": "string"
  31771. },
  31772. "qtydecimalplace": {
  31773. "description": "成交量小数位",
  31774. "type": "integer"
  31775. },
  31776. "regularlycycle": {
  31777. "description": "定投频率 - 1:每周 2:每月",
  31778. "type": "integer"
  31779. },
  31780. "regularlycyclevalue": {
  31781. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  31782. "type": "string"
  31783. },
  31784. "regularlymode": {
  31785. "description": "定投方式 - 1:按数量 2:按金额",
  31786. "type": "integer"
  31787. },
  31788. "regularlymodevalue": {
  31789. "description": "定投方式值 - 数量或金额",
  31790. "type": "number"
  31791. },
  31792. "regularlystrategyid": {
  31793. "description": "定投策略ID",
  31794. "type": "integer"
  31795. },
  31796. "retcode": {
  31797. "description": "错误码",
  31798. "type": "string"
  31799. },
  31800. "tradeid": {
  31801. "description": "成交单ID",
  31802. "type": "string"
  31803. },
  31804. "triggeramount": {
  31805. "description": "触发金额",
  31806. "type": "number"
  31807. },
  31808. "triggerqty": {
  31809. "description": "触发数量",
  31810. "type": "number"
  31811. },
  31812. "triggerstatus": {
  31813. "description": "触发状态 - 1:成功 2:失败",
  31814. "type": "integer"
  31815. },
  31816. "triggertime": {
  31817. "description": "触发时间",
  31818. "type": "string"
  31819. },
  31820. "triggertradedate": {
  31821. "description": "触发交易日",
  31822. "type": "string"
  31823. },
  31824. "userid": {
  31825. "description": "所属用户ID",
  31826. "type": "integer"
  31827. },
  31828. "userinfotype": {
  31829. "description": "用户类型 1-个人 2-企业",
  31830. "type": "integer"
  31831. },
  31832. "username": {
  31833. "description": "用户名称(userid对应的名称)",
  31834. "type": "string"
  31835. }
  31836. }
  31837. },
  31838. "models.QhjRStrategy": {
  31839. "type": "object",
  31840. "properties": {
  31841. "accountid": {
  31842. "description": "用户资金账户",
  31843. "type": "integer"
  31844. },
  31845. "accountname": {
  31846. "description": "账号名称(ACCOUNTID对应的名称)",
  31847. "type": "string"
  31848. },
  31849. "currencyid": {
  31850. "description": "币种id",
  31851. "type": "integer"
  31852. },
  31853. "currencyname": {
  31854. "description": "币种名称",
  31855. "type": "string"
  31856. },
  31857. "decimalplace": {
  31858. "description": "商品报价小数位",
  31859. "type": "integer"
  31860. },
  31861. "enumdicname": {
  31862. "description": "单位名称",
  31863. "type": "string"
  31864. },
  31865. "goodscode": {
  31866. "description": "定投商品代码",
  31867. "type": "string"
  31868. },
  31869. "goodsid": {
  31870. "description": "定投商品ID",
  31871. "type": "integer"
  31872. },
  31873. "goodsname": {
  31874. "description": "定投商品名称",
  31875. "type": "string"
  31876. },
  31877. "goodunitid": {
  31878. "description": "定投商品单位id",
  31879. "type": "integer"
  31880. },
  31881. "lasteffecttradedate": {
  31882. "description": "最新生效交易日",
  31883. "type": "string"
  31884. },
  31885. "laststoptradedate": {
  31886. "description": "最新暂停交易日",
  31887. "type": "string"
  31888. },
  31889. "lasttriggertradedate": {
  31890. "description": "最新触发交易日",
  31891. "type": "string"
  31892. },
  31893. "logincode": {
  31894. "description": "账号(登录代码)",
  31895. "type": "string"
  31896. },
  31897. "nexttriggeramount": {
  31898. "description": "下次触发金额",
  31899. "type": "number"
  31900. },
  31901. "nexttriggerdate": {
  31902. "description": "下次触发日期",
  31903. "type": "string"
  31904. },
  31905. "nexttriggerqty": {
  31906. "description": "下次触发数量 [按小数位放大值]",
  31907. "type": "number"
  31908. },
  31909. "qtydecimalplace": {
  31910. "description": "成交量小数位",
  31911. "type": "integer"
  31912. },
  31913. "regularlycycle": {
  31914. "description": "定投频率 - 1:每周 2:每月",
  31915. "type": "integer"
  31916. },
  31917. "regularlycyclevalue": {
  31918. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  31919. "type": "string"
  31920. },
  31921. "regularlymode": {
  31922. "description": "定投方式 - 1:按数量 2:按金额",
  31923. "type": "integer"
  31924. },
  31925. "regularlymodevalue": {
  31926. "description": "定投方式值 - 数量或金额",
  31927. "type": "number"
  31928. },
  31929. "regularlystrategyid": {
  31930. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  31931. "type": "integer"
  31932. },
  31933. "regularlystrategystatus": {
  31934. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  31935. "type": "integer"
  31936. },
  31937. "remark": {
  31938. "description": "备注",
  31939. "type": "string"
  31940. },
  31941. "triggersuccesstimes": {
  31942. "description": "累计定投成功次数",
  31943. "type": "string"
  31944. },
  31945. "triggertotalamount": {
  31946. "description": "累计定投金额(成功)",
  31947. "type": "number"
  31948. },
  31949. "triggertotalqty": {
  31950. "description": "累计定投数量(成功) [按小数位放大值]",
  31951. "type": "number"
  31952. },
  31953. "triggertotaltimes": {
  31954. "description": "累计定投总次数",
  31955. "type": "string"
  31956. },
  31957. "updatesrc": {
  31958. "description": "更新来源 - 1:管理端 2:终端",
  31959. "type": "integer"
  31960. },
  31961. "updatetime": {
  31962. "description": "更新时间",
  31963. "type": "string"
  31964. },
  31965. "updatorid": {
  31966. "description": "更新人",
  31967. "type": "string"
  31968. },
  31969. "userid": {
  31970. "description": "所属用户ID",
  31971. "type": "integer"
  31972. },
  31973. "userinfotype": {
  31974. "description": "用户类型 1-个人 2-企业",
  31975. "type": "integer"
  31976. },
  31977. "username": {
  31978. "description": "用户名称(userid对应的名称)",
  31979. "type": "string"
  31980. }
  31981. }
  31982. },
  31983. "models.QhjReckonPriceLog": {
  31984. "type": "object",
  31985. "properties": {
  31986. "decimalplace": {
  31987. "description": "商品报价小数位",
  31988. "type": "integer"
  31989. },
  31990. "goodscode": {
  31991. "description": "商品代码",
  31992. "type": "string"
  31993. },
  31994. "goodsid": {
  31995. "description": "商品ID",
  31996. "type": "integer"
  31997. },
  31998. "goodsname": {
  31999. "description": "商品名称",
  32000. "type": "string"
  32001. },
  32002. "lastreckonprice": {
  32003. "description": "上日结算价",
  32004. "type": "number"
  32005. },
  32006. "nextdnlimitprice": {
  32007. "description": "下个交易日跌停价",
  32008. "type": "number"
  32009. },
  32010. "nexttrade": {
  32011. "description": "下个交易日",
  32012. "type": "string"
  32013. },
  32014. "nextuplimitprice": {
  32015. "description": "下个交易日涨停价",
  32016. "type": "number"
  32017. },
  32018. "reckonprice": {
  32019. "description": "今日结算价(定投价)",
  32020. "type": "number"
  32021. },
  32022. "reckontime": {
  32023. "description": "结算时间",
  32024. "type": "string"
  32025. },
  32026. "totalholderqty": {
  32027. "description": "总持仓数",
  32028. "type": "integer"
  32029. },
  32030. "totalstock": {
  32031. "description": "总库存",
  32032. "type": "integer"
  32033. },
  32034. "tradedate": {
  32035. "description": "交易日",
  32036. "type": "string"
  32037. },
  32038. "updowncount": {
  32039. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  32040. "type": "integer"
  32041. },
  32042. "updownflag": {
  32043. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  32044. "type": "integer"
  32045. },
  32046. "updownrate": {
  32047. "description": "今日涨跌幅",
  32048. "type": "number"
  32049. },
  32050. "updownrate_2d": {
  32051. "description": "连续两日涨跌幅",
  32052. "type": "number"
  32053. },
  32054. "updownrate_3d": {
  32055. "description": "连续三日涨跌幅",
  32056. "type": "number"
  32057. }
  32058. }
  32059. },
  32060. "models.QhjScoreLog": {
  32061. "type": "object",
  32062. "properties": {
  32063. "accountid": {
  32064. "description": "账户ID",
  32065. "type": "integer"
  32066. },
  32067. "createtime": {
  32068. "description": "创建时间(时间)",
  32069. "type": "string"
  32070. },
  32071. "goodsid": {
  32072. "description": "商品ID",
  32073. "type": "integer"
  32074. },
  32075. "hasuploaded": {
  32076. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  32077. "type": "integer"
  32078. },
  32079. "logid": {
  32080. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32081. "type": "string"
  32082. },
  32083. "marketid": {
  32084. "description": "市场ID",
  32085. "type": "integer"
  32086. },
  32087. "relatedamount": {
  32088. "description": "关联金额",
  32089. "type": "number"
  32090. },
  32091. "relatedorderid": {
  32092. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  32093. "type": "string"
  32094. },
  32095. "scoreconfigvalue1": {
  32096. "description": "积分配置1",
  32097. "type": "integer"
  32098. },
  32099. "scoreconfigvalue2": {
  32100. "description": "积分配置1",
  32101. "type": "integer"
  32102. },
  32103. "scoretype": {
  32104. "description": "积分类型 - 1:提货积分",
  32105. "type": "integer"
  32106. },
  32107. "scorevalue": {
  32108. "description": "积分",
  32109. "type": "number"
  32110. },
  32111. "tradedate": {
  32112. "description": "交易日(yyyyMMdd)",
  32113. "type": "string"
  32114. },
  32115. "uploadedtime": {
  32116. "description": "同步时间",
  32117. "type": "string"
  32118. },
  32119. "userid": {
  32120. "description": "用户ID",
  32121. "type": "integer"
  32122. }
  32123. }
  32124. },
  32125. "models.QhjSiteColumnDetail": {
  32126. "type": "object",
  32127. "properties": {
  32128. "author": {
  32129. "description": "作者",
  32130. "type": "string"
  32131. },
  32132. "brief": {
  32133. "description": "简介",
  32134. "type": "string"
  32135. },
  32136. "columnid": {
  32137. "description": "所属栏目",
  32138. "type": "integer"
  32139. },
  32140. "context": {
  32141. "description": "内容",
  32142. "type": "string"
  32143. },
  32144. "coverimage": {
  32145. "description": "封面图片",
  32146. "type": "string"
  32147. },
  32148. "creaedate": {
  32149. "description": "创建时间",
  32150. "type": "string"
  32151. },
  32152. "creatorid": {
  32153. "description": "创建人",
  32154. "type": "integer"
  32155. },
  32156. "hits": {
  32157. "description": "点击数",
  32158. "type": "integer"
  32159. },
  32160. "id": {
  32161. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  32162. "type": "integer"
  32163. },
  32164. "isshow": {
  32165. "description": "是否展示 - 0:不展示 1:展示",
  32166. "type": "integer"
  32167. },
  32168. "istop": {
  32169. "description": "是否置顶 - 0:不置 1:置顶",
  32170. "type": "integer"
  32171. },
  32172. "modifierid": {
  32173. "description": "操作人",
  32174. "type": "integer"
  32175. },
  32176. "publishdate": {
  32177. "description": "发布日期",
  32178. "type": "string"
  32179. },
  32180. "status": {
  32181. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  32182. "type": "integer"
  32183. },
  32184. "title": {
  32185. "description": "标题",
  32186. "type": "string"
  32187. },
  32188. "updatedate": {
  32189. "description": "修改时间",
  32190. "type": "string"
  32191. },
  32192. "userid": {
  32193. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  32194. "type": "integer"
  32195. },
  32196. "username": {
  32197. "description": "用户名称",
  32198. "type": "string"
  32199. }
  32200. }
  32201. },
  32202. "models.QhjTeamOrder": {
  32203. "type": "object",
  32204. "properties": {
  32205. "accountid": {
  32206. "description": "账户ID[报价币种]",
  32207. "type": "integer"
  32208. },
  32209. "accountname": {
  32210. "description": "账户名称",
  32211. "type": "string"
  32212. },
  32213. "agreeunit": {
  32214. "description": "合约乘数",
  32215. "type": "number"
  32216. },
  32217. "buyorsell": {
  32218. "description": "方向 - 0:买 1:卖",
  32219. "type": "integer"
  32220. },
  32221. "decimalplace": {
  32222. "description": "报价小数位",
  32223. "type": "integer"
  32224. },
  32225. "enumdicname": {
  32226. "description": "单位名称",
  32227. "type": "string"
  32228. },
  32229. "goodscode": {
  32230. "description": "商品代码(内部)",
  32231. "type": "string"
  32232. },
  32233. "goodsid": {
  32234. "description": "商品ID",
  32235. "type": "integer"
  32236. },
  32237. "goodsname": {
  32238. "description": "商品名称",
  32239. "type": "string"
  32240. },
  32241. "goodunitid": {
  32242. "description": "报价单位ID",
  32243. "type": "integer"
  32244. },
  32245. "marketid": {
  32246. "description": "市场ID",
  32247. "type": "integer"
  32248. },
  32249. "marketname": {
  32250. "description": "市场名称",
  32251. "type": "string"
  32252. },
  32253. "qtydecimalplace": {
  32254. "description": "成交量小数位",
  32255. "type": "integer"
  32256. },
  32257. "refereeuserid": {
  32258. "description": "推荐人ID",
  32259. "type": "integer"
  32260. },
  32261. "tradeamount": {
  32262. "description": "成交金额[账户币种,用于所有权]",
  32263. "type": "number"
  32264. },
  32265. "tradedate": {
  32266. "description": "交易日(yyyyMMdd)",
  32267. "type": "string"
  32268. },
  32269. "trademode": {
  32270. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32271. "type": "integer"
  32272. },
  32273. "tradeprice": {
  32274. "description": "成交价格",
  32275. "type": "number"
  32276. },
  32277. "tradeqty": {
  32278. "description": "成交数量",
  32279. "type": "number"
  32280. },
  32281. "tradetime": {
  32282. "description": "成交时间",
  32283. "type": "string"
  32284. },
  32285. "userid": {
  32286. "description": "用户ID",
  32287. "type": "integer"
  32288. }
  32289. }
  32290. },
  32291. "models.QhjTradeGoodsPickup": {
  32292. "type": "object",
  32293. "properties": {
  32294. "accountid": {
  32295. "description": "账户ID",
  32296. "type": "integer"
  32297. },
  32298. "address": {
  32299. "description": "提货人详细地址",
  32300. "type": "string"
  32301. },
  32302. "amount": {
  32303. "description": "提货金额",
  32304. "type": "number"
  32305. },
  32306. "artradedate": {
  32307. "description": "自动收货交易日(yyyyMMdd)",
  32308. "type": "string"
  32309. },
  32310. "auditer": {
  32311. "description": "审核人",
  32312. "type": "integer"
  32313. },
  32314. "auditsrc": {
  32315. "description": "更新来源 - 1:管理端 2:终端",
  32316. "type": "integer"
  32317. },
  32318. "audittime": {
  32319. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  32320. "type": "string"
  32321. },
  32322. "audittradedate": {
  32323. "description": "审核交易日(yyyyMMdd)",
  32324. "type": "string"
  32325. },
  32326. "cardnum": {
  32327. "description": "提货人证件号码",
  32328. "type": "string"
  32329. },
  32330. "cardtypeid": {
  32331. "description": "提货人证件类型",
  32332. "type": "integer"
  32333. },
  32334. "checkremark": {
  32335. "description": "审核备注",
  32336. "type": "string"
  32337. },
  32338. "cityid": {
  32339. "description": "市",
  32340. "type": "integer"
  32341. },
  32342. "cityname": {
  32343. "description": "城市名称",
  32344. "type": "string"
  32345. },
  32346. "confirmtime": {
  32347. "description": "取货时间 或 收货时间",
  32348. "type": "string"
  32349. },
  32350. "countryid": {
  32351. "description": "国家",
  32352. "type": "integer"
  32353. },
  32354. "countryname": {
  32355. "description": "国家名称",
  32356. "type": "string"
  32357. },
  32358. "decimalplace": {
  32359. "description": "商品报价小数位",
  32360. "type": "integer"
  32361. },
  32362. "districtid": {
  32363. "description": "地区",
  32364. "type": "integer"
  32365. },
  32366. "districtname": {
  32367. "description": "地区名称",
  32368. "type": "string"
  32369. },
  32370. "enumdicname": {
  32371. "description": "单位名称(提货商品)",
  32372. "type": "string"
  32373. },
  32374. "expresscompany": {
  32375. "description": "物流公司",
  32376. "type": "string"
  32377. },
  32378. "expressnum": {
  32379. "description": "物流单号",
  32380. "type": "string"
  32381. },
  32382. "goodsagreeunit": {
  32383. "description": "交易商品乘数",
  32384. "type": "number"
  32385. },
  32386. "goodscode": {
  32387. "description": "商品代码",
  32388. "type": "string"
  32389. },
  32390. "goodsid": {
  32391. "description": "商品ID",
  32392. "type": "integer"
  32393. },
  32394. "goodsname": {
  32395. "description": "商品名称",
  32396. "type": "string"
  32397. },
  32398. "goodsqty": {
  32399. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  32400. "type": "number"
  32401. },
  32402. "handlestatus": {
  32403. "description": "处理状态",
  32404. "type": "integer"
  32405. },
  32406. "logincode": {
  32407. "description": "账号(登录代码, 有可能为空)",
  32408. "type": "string"
  32409. },
  32410. "marketid": {
  32411. "description": "市场ID",
  32412. "type": "integer"
  32413. },
  32414. "phonenum": {
  32415. "description": "提货人联系方式",
  32416. "type": "string"
  32417. },
  32418. "pickupgoodsagreeunit": {
  32419. "description": "提货商品合约乘数",
  32420. "type": "number"
  32421. },
  32422. "pickupgoodsid": {
  32423. "description": "提货商品ID",
  32424. "type": "string"
  32425. },
  32426. "pickupgoodsname": {
  32427. "description": "提货商品名称",
  32428. "type": "string"
  32429. },
  32430. "pickupgoodsqty": {
  32431. "description": "提货商品手数(数量)",
  32432. "type": "number"
  32433. },
  32434. "pickupgoodsunitid": {
  32435. "description": "单位ID(提货商品)",
  32436. "type": "integer"
  32437. },
  32438. "pickupratio": {
  32439. "description": "提货系数",
  32440. "type": "number"
  32441. },
  32442. "preparedays": {
  32443. "description": "备货期(天)-提货单明细表",
  32444. "type": "integer"
  32445. },
  32446. "provinceid": {
  32447. "description": "省",
  32448. "type": "integer"
  32449. },
  32450. "provincename": {
  32451. "description": "省名称",
  32452. "type": "string"
  32453. },
  32454. "qty": {
  32455. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  32456. "type": "number"
  32457. },
  32458. "qtydecimalplace": {
  32459. "description": "商品数量小数位",
  32460. "type": "integer"
  32461. },
  32462. "recivername": {
  32463. "description": "提货人姓名",
  32464. "type": "string"
  32465. },
  32466. "reqtime": {
  32467. "description": "提货申请时间",
  32468. "type": "string"
  32469. },
  32470. "storeuserid": {
  32471. "description": "门店用户ID (千海金)",
  32472. "type": "integer"
  32473. },
  32474. "storeusername": {
  32475. "description": "门店用户名称",
  32476. "type": "string"
  32477. },
  32478. "takemode": {
  32479. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  32480. "type": "integer"
  32481. },
  32482. "takeorderid": {
  32483. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  32484. "type": "string"
  32485. },
  32486. "takeorderstatus": {
  32487. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  32488. "type": "integer"
  32489. },
  32490. "takeremark": {
  32491. "description": "提货备注",
  32492. "type": "string"
  32493. },
  32494. "tradedate": {
  32495. "description": "交易日(yyyyMMdd)",
  32496. "type": "string"
  32497. },
  32498. "updatetime": {
  32499. "description": "更新时间",
  32500. "type": "string"
  32501. },
  32502. "userid": {
  32503. "description": "用户ID",
  32504. "type": "integer"
  32505. },
  32506. "userinfotype": {
  32507. "description": "客户类型 1-个人 2-企业",
  32508. "type": "integer"
  32509. },
  32510. "username": {
  32511. "description": "用户名称",
  32512. "type": "string"
  32513. }
  32514. }
  32515. },
  32516. "models.QhjUserNodeCfgAndStatus": {
  32517. "type": "object",
  32518. "properties": {
  32519. "agreementcontent": {
  32520. "description": "协议内容",
  32521. "type": "string"
  32522. },
  32523. "agreementid": {
  32524. "description": "协议ID",
  32525. "type": "integer"
  32526. },
  32527. "agreementname": {
  32528. "description": "协议名称",
  32529. "type": "string"
  32530. },
  32531. "agreementno": {
  32532. "description": "协议编号",
  32533. "type": "string"
  32534. },
  32535. "agreementtype": {
  32536. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32537. "type": "integer"
  32538. },
  32539. "agreementversion": {
  32540. "description": "协议版本号",
  32541. "type": "integer"
  32542. },
  32543. "configid": {
  32544. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  32545. "type": "integer"
  32546. },
  32547. "createtime": {
  32548. "description": "创建时间",
  32549. "type": "string"
  32550. },
  32551. "goodsid": {
  32552. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  32553. "type": "integer"
  32554. },
  32555. "nodetype": {
  32556. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  32557. "type": "integer"
  32558. },
  32559. "signtimestamp": {
  32560. "description": "签约状态时间戳(最近一次)",
  32561. "type": "string"
  32562. },
  32563. "tradedate": {
  32564. "description": "签约交易日(yyyyMMdd)",
  32565. "type": "string"
  32566. },
  32567. "userid": {
  32568. "description": "客户ID",
  32569. "type": "integer"
  32570. }
  32571. }
  32572. },
  32573. "models.Qhjgoodsex": {
  32574. "type": "object",
  32575. "properties": {
  32576. "canfinance": {
  32577. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  32578. "type": "integer"
  32579. },
  32580. "canregularlybuy": {
  32581. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  32582. "type": "integer"
  32583. },
  32584. "defaulttradeuserid": {
  32585. "description": "默认交易用户ID",
  32586. "type": "integer"
  32587. },
  32588. "deliverygoodsid": {
  32589. "description": "现货品种ID",
  32590. "type": "integer"
  32591. },
  32592. "goodsid": {
  32593. "description": "商品ID(自增ID SEQ_GOODS)",
  32594. "type": "integer"
  32595. },
  32596. "minamount": {
  32597. "description": "最小购买金额",
  32598. "type": "number"
  32599. },
  32600. "regularlybuyminamount": {
  32601. "description": "定投最小金额",
  32602. "type": "number"
  32603. },
  32604. "regularlybuyminqty": {
  32605. "description": "定投最小数量",
  32606. "type": "number"
  32607. },
  32608. "spotgoodsbrandid": {
  32609. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  32610. "type": "integer"
  32611. },
  32612. "visibilityforenterprise": {
  32613. "description": "企业客户是否可见 - 0:不可见 1:可见",
  32614. "type": "integer"
  32615. },
  32616. "visibilityforpersonal": {
  32617. "description": "个人客户是否可见 - 0:不可见 1:可见",
  32618. "type": "integer"
  32619. },
  32620. "wrstandardid": {
  32621. "description": "现货商品ID",
  32622. "type": "integer"
  32623. }
  32624. }
  32625. },
  32626. "models.QueryErrorInfosRsp": {
  32627. "type": "object",
  32628. "required": [
  32629. "errorid"
  32630. ],
  32631. "properties": {
  32632. "description": {
  32633. "description": "异常描述",
  32634. "type": "string"
  32635. },
  32636. "errorcode": {
  32637. "description": "异常代码",
  32638. "type": "string"
  32639. },
  32640. "errorid": {
  32641. "description": "异常ID",
  32642. "type": "integer"
  32643. },
  32644. "modulecode": {
  32645. "description": "所属模块",
  32646. "type": "string"
  32647. },
  32648. "operatecode": {
  32649. "description": "所属操作",
  32650. "type": "string"
  32651. },
  32652. "rownumber": {
  32653. "description": "行号",
  32654. "type": "string"
  32655. }
  32656. }
  32657. },
  32658. "models.QueryHedgeOrderDetailRsp": {
  32659. "type": "object",
  32660. "properties": {
  32661. "accountid": {
  32662. "description": "账户ID",
  32663. "type": "integer"
  32664. },
  32665. "buyorsell": {
  32666. "description": "买卖 - 0:买 1:卖",
  32667. "type": "integer"
  32668. },
  32669. "cancellogincode": {
  32670. "description": "撤单人",
  32671. "type": "string"
  32672. },
  32673. "channelbuildtype": {
  32674. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  32675. "type": "integer"
  32676. },
  32677. "channelinnerorderstatus": {
  32678. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  32679. "type": "integer"
  32680. },
  32681. "channeloperatetype": {
  32682. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  32683. "type": "integer"
  32684. },
  32685. "closetype": {
  32686. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  32687. "type": "integer"
  32688. },
  32689. "curexchangerate": {
  32690. "description": "当前汇率",
  32691. "type": "number"
  32692. },
  32693. "decimalplace": {
  32694. "description": "商品报价小数位",
  32695. "type": "integer"
  32696. },
  32697. "exchangefullname": {
  32698. "description": "外部交易所全称",
  32699. "type": "string"
  32700. },
  32701. "goodscode": {
  32702. "description": "商品代码(内部)",
  32703. "type": "string"
  32704. },
  32705. "goodsid": {
  32706. "description": "商品ID",
  32707. "type": "integer"
  32708. },
  32709. "goodsname": {
  32710. "description": "商品名称",
  32711. "type": "string"
  32712. },
  32713. "marketid": {
  32714. "description": "市场ID",
  32715. "type": "integer"
  32716. },
  32717. "openfreezemargin": {
  32718. "description": "冻结保证金(冻结交易金额)",
  32719. "type": "number"
  32720. },
  32721. "orderid": {
  32722. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32723. "type": "string"
  32724. },
  32725. "orderlogincode": {
  32726. "description": "委托人",
  32727. "type": "string"
  32728. },
  32729. "orderprice": {
  32730. "description": "委托价格(账户)",
  32731. "type": "number"
  32732. },
  32733. "orderqty": {
  32734. "description": "委托数量",
  32735. "type": "integer"
  32736. },
  32737. "ordertime": {
  32738. "description": "委托时间",
  32739. "type": "string"
  32740. },
  32741. "pricemode": {
  32742. "description": "取价方式 - 1:市价 2: 限价",
  32743. "type": "integer"
  32744. },
  32745. "tradedate": {
  32746. "description": "交易日(yyyyMMdd)",
  32747. "type": "string"
  32748. },
  32749. "tradeqty": {
  32750. "description": "成交数量",
  32751. "type": "integer"
  32752. }
  32753. }
  32754. },
  32755. "models.QueryHedgeTradeDetailRsp": {
  32756. "type": "object",
  32757. "properties": {
  32758. "accountid": {
  32759. "description": "账号ID",
  32760. "type": "integer"
  32761. },
  32762. "buyorsell": {
  32763. "description": "方向 - 0:买 1:卖",
  32764. "type": "integer"
  32765. },
  32766. "channelbuildtype": {
  32767. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  32768. "type": "integer"
  32769. },
  32770. "closecharge": {
  32771. "description": "平仓手续费(账户)",
  32772. "type": "number"
  32773. },
  32774. "closecharge2": {
  32775. "description": "平仓手续费(商品)",
  32776. "type": "number"
  32777. },
  32778. "closepl": {
  32779. "description": "平仓盈亏(账户)",
  32780. "type": "number"
  32781. },
  32782. "closepl2": {
  32783. "description": "平仓盈亏(商品)",
  32784. "type": "number"
  32785. },
  32786. "closepl3": {
  32787. "description": "平仓盈亏(账户)(逐笔)",
  32788. "type": "number"
  32789. },
  32790. "closepl4": {
  32791. "description": "平仓盈亏(商品)(逐笔)",
  32792. "type": "number"
  32793. },
  32794. "closetype": {
  32795. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  32796. "type": "integer"
  32797. },
  32798. "curexchangerate": {
  32799. "description": "当前汇率",
  32800. "type": "number"
  32801. },
  32802. "decimalplace": {
  32803. "description": "商品报价小数位",
  32804. "type": "integer"
  32805. },
  32806. "exchangefullname": {
  32807. "description": "外部交易所全称",
  32808. "type": "string"
  32809. },
  32810. "goodscode": {
  32811. "description": "商品代码(内部)",
  32812. "type": "string"
  32813. },
  32814. "goodsid": {
  32815. "description": "商品ID",
  32816. "type": "integer"
  32817. },
  32818. "goodsname": {
  32819. "description": "商品名称",
  32820. "type": "string"
  32821. },
  32822. "marketid": {
  32823. "description": "市场ID",
  32824. "type": "integer"
  32825. },
  32826. "opencharge": {
  32827. "description": "建仓手续费(账户)",
  32828. "type": "number"
  32829. },
  32830. "opencharge2": {
  32831. "description": "建仓手续费(商品)",
  32832. "type": "number"
  32833. },
  32834. "orderid": {
  32835. "description": "委托单号",
  32836. "type": "string"
  32837. },
  32838. "orderlogincode": {
  32839. "description": "委托人",
  32840. "type": "string"
  32841. },
  32842. "tradeamount": {
  32843. "description": "成交金额(账户)",
  32844. "type": "number"
  32845. },
  32846. "tradedate": {
  32847. "description": "交易日(yyyyMMdd)",
  32848. "type": "string"
  32849. },
  32850. "tradeid": {
  32851. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32852. "type": "string"
  32853. },
  32854. "tradeprice": {
  32855. "description": "成交价格",
  32856. "type": "number"
  32857. },
  32858. "tradeqty": {
  32859. "description": "成交数量",
  32860. "type": "integer"
  32861. },
  32862. "tradetime": {
  32863. "description": "成交时间",
  32864. "type": "string"
  32865. },
  32866. "tradetype": {
  32867. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  32868. "type": "integer"
  32869. }
  32870. }
  32871. },
  32872. "models.QuotePrimaryMenu": {
  32873. "type": "object",
  32874. "properties": {
  32875. "Index": {
  32876. "description": "序号",
  32877. "type": "integer"
  32878. },
  32879. "Key": {
  32880. "description": "键名",
  32881. "type": "string"
  32882. },
  32883. "Name": {
  32884. "description": "菜单名称",
  32885. "type": "string"
  32886. },
  32887. "SubMenus": {
  32888. "description": "子菜单",
  32889. "type": "array",
  32890. "items": {
  32891. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  32892. }
  32893. },
  32894. "SubTitleType": {
  32895. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  32896. "type": "integer"
  32897. },
  32898. "TradeModes": {
  32899. "description": "包含市场交易类型",
  32900. "type": "string"
  32901. }
  32902. }
  32903. },
  32904. "models.QuoteSecondaryMenu": {
  32905. "type": "object",
  32906. "properties": {
  32907. "ExExchangeCode": {
  32908. "description": "外部交易所代码",
  32909. "type": "string"
  32910. },
  32911. "ExExchangeID": {
  32912. "description": "外部交易所ID",
  32913. "type": "integer"
  32914. },
  32915. "GoodsGroupIDs": {
  32916. "description": "商品组ID列表",
  32917. "type": "array",
  32918. "items": {
  32919. "type": "integer"
  32920. }
  32921. },
  32922. "Index": {
  32923. "description": "序号",
  32924. "type": "integer"
  32925. },
  32926. "MarketID": {
  32927. "description": "市场ID",
  32928. "type": "integer"
  32929. },
  32930. "MenuTitle": {
  32931. "description": "菜单标题(市场名称或外部交易所名称)",
  32932. "type": "string"
  32933. },
  32934. "TradeMode": {
  32935. "description": "交易模式",
  32936. "type": "integer"
  32937. }
  32938. }
  32939. },
  32940. "models.RelatedTaAccount": {
  32941. "type": "object",
  32942. "properties": {
  32943. "accountid": {
  32944. "description": "资金账户ID",
  32945. "type": "integer"
  32946. }
  32947. }
  32948. },
  32949. "models.RoleMenu": {
  32950. "type": "object",
  32951. "properties": {
  32952. "hasright": {
  32953. "description": "是否有权限 0-没有权限 1-有权限",
  32954. "type": "integer"
  32955. },
  32956. "iconame": {
  32957. "description": "菜单图标",
  32958. "type": "string"
  32959. },
  32960. "menutype": {
  32961. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  32962. "type": "integer"
  32963. },
  32964. "parentcode": {
  32965. "description": "上级资源代码",
  32966. "type": "string"
  32967. },
  32968. "remark": {
  32969. "description": "菜单备注",
  32970. "type": "string"
  32971. },
  32972. "resourcecode": {
  32973. "description": "菜单代码",
  32974. "type": "string"
  32975. },
  32976. "resourcelevel": {
  32977. "description": "级别",
  32978. "type": "integer"
  32979. },
  32980. "resourcename": {
  32981. "description": "菜单名称",
  32982. "type": "string"
  32983. },
  32984. "roleid": {
  32985. "description": "角色id",
  32986. "type": "integer"
  32987. },
  32988. "sort": {
  32989. "description": "排序",
  32990. "type": "integer"
  32991. },
  32992. "subMenu": {
  32993. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  32994. "type": "array",
  32995. "items": {
  32996. "$ref": "#/definitions/models.RoleMenu"
  32997. }
  32998. },
  32999. "url": {
  33000. "description": "URL",
  33001. "type": "string"
  33002. },
  33003. "userid": {
  33004. "description": "用户id",
  33005. "type": "integer"
  33006. }
  33007. }
  33008. },
  33009. "models.SearchGoods": {
  33010. "type": "object",
  33011. "required": [
  33012. "goodscode",
  33013. "goodsid",
  33014. "goodsname",
  33015. "marketid",
  33016. "trademode"
  33017. ],
  33018. "properties": {
  33019. "goodscode": {
  33020. "description": "商品代码(内部)",
  33021. "type": "string"
  33022. },
  33023. "goodsid": {
  33024. "description": "商品ID(自增ID SEQ_GOODS)",
  33025. "type": "integer"
  33026. },
  33027. "goodsname": {
  33028. "description": "商品名称",
  33029. "type": "string"
  33030. },
  33031. "marketid": {
  33032. "description": "所属市场ID",
  33033. "type": "integer"
  33034. },
  33035. "marketname": {
  33036. "description": "市场名称",
  33037. "type": "string"
  33038. },
  33039. "trademode": {
  33040. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  33041. "type": "integer"
  33042. }
  33043. }
  33044. },
  33045. "models.Systemparam": {
  33046. "type": "object",
  33047. "required": [
  33048. "paramcode"
  33049. ],
  33050. "properties": {
  33051. "loginid": {
  33052. "description": "更新用户账号,登录账号",
  33053. "type": "string"
  33054. },
  33055. "modifyflag": {
  33056. "description": "修改标志0 不允许修改 1 允许修改",
  33057. "type": "integer"
  33058. },
  33059. "paramcode": {
  33060. "description": "参数代码",
  33061. "type": "string"
  33062. },
  33063. "paramname": {
  33064. "description": "参数名",
  33065. "type": "string"
  33066. },
  33067. "paramtype": {
  33068. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  33069. "type": "integer"
  33070. },
  33071. "paramvalue": {
  33072. "description": "参数值",
  33073. "type": "string"
  33074. },
  33075. "paramvalue2": {
  33076. "description": "参数值(CLOB)",
  33077. "type": "string"
  33078. },
  33079. "regexpress": {
  33080. "description": "正则表达式",
  33081. "type": "string"
  33082. },
  33083. "remark": {
  33084. "description": "备注",
  33085. "type": "string"
  33086. },
  33087. "serverip": {
  33088. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  33089. "type": "string"
  33090. },
  33091. "showflag": {
  33092. "description": "是否显示0 不显示 1 显示",
  33093. "type": "integer"
  33094. },
  33095. "updatetime": {
  33096. "description": "更新时间",
  33097. "type": "string"
  33098. },
  33099. "userid": {
  33100. "description": "更新用户ID",
  33101. "type": "integer"
  33102. }
  33103. }
  33104. },
  33105. "models.Szdz3convertconfig": {
  33106. "type": "object",
  33107. "required": [
  33108. "converttype",
  33109. "innergoodsid",
  33110. "outergoodscode"
  33111. ],
  33112. "properties": {
  33113. "canin": {
  33114. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  33115. "type": "integer"
  33116. },
  33117. "canout": {
  33118. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  33119. "type": "integer"
  33120. },
  33121. "converttype": {
  33122. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  33123. "type": "integer"
  33124. },
  33125. "createtime": {
  33126. "description": "创建时间",
  33127. "type": "string"
  33128. },
  33129. "creatorid": {
  33130. "description": "创建人",
  33131. "type": "integer"
  33132. },
  33133. "daymaxvalue": {
  33134. "description": "当日最大转入限制",
  33135. "type": "number"
  33136. },
  33137. "freezedays": {
  33138. "description": "冻结天数 [5:花生米转交易]",
  33139. "type": "integer"
  33140. },
  33141. "innergoodsid": {
  33142. "description": "内部商品ID[交易]",
  33143. "type": "integer"
  33144. },
  33145. "inratio": {
  33146. "description": "目标值",
  33147. "type": "integer"
  33148. },
  33149. "modifierid": {
  33150. "description": "修改人",
  33151. "type": "integer"
  33152. },
  33153. "modifytime": {
  33154. "description": "修改时间",
  33155. "type": "string"
  33156. },
  33157. "outergoodscode": {
  33158. "description": "外部商品代码[JD\\PD]",
  33159. "type": "string"
  33160. },
  33161. "outratio": {
  33162. "description": "源值",
  33163. "type": "integer"
  33164. },
  33165. "pddecimalplace": {
  33166. "description": "PD小数位",
  33167. "type": "integer"
  33168. },
  33169. "timemaxvalue": {
  33170. "description": "单次最大转入限制",
  33171. "type": "number"
  33172. },
  33173. "timeminvalue": {
  33174. "description": "单次最小转入限制",
  33175. "type": "number"
  33176. }
  33177. }
  33178. },
  33179. "models.Szdz3searchwhitelist": {
  33180. "type": "object",
  33181. "required": [
  33182. "userid"
  33183. ],
  33184. "properties": {
  33185. "createtime": {
  33186. "description": "创建时间",
  33187. "type": "string"
  33188. },
  33189. "creatorid": {
  33190. "description": "创建人",
  33191. "type": "integer"
  33192. },
  33193. "modifierid": {
  33194. "description": "修改人",
  33195. "type": "integer"
  33196. },
  33197. "modifytime": {
  33198. "description": "修改时间",
  33199. "type": "string"
  33200. },
  33201. "userid": {
  33202. "description": "用户ID",
  33203. "type": "integer"
  33204. }
  33205. }
  33206. },
  33207. "models.TBGoods": {
  33208. "type": "object",
  33209. "properties": {
  33210. "agreeunit": {
  33211. "description": "合约乘数",
  33212. "type": "number"
  33213. },
  33214. "enumdicname": {
  33215. "description": "单位名称",
  33216. "type": "string"
  33217. },
  33218. "goodscode": {
  33219. "description": "商品代码(内部)",
  33220. "type": "string"
  33221. },
  33222. "goodsid": {
  33223. "description": "商品ID(自增ID SEQ_GOODS)",
  33224. "type": "integer"
  33225. },
  33226. "goodsname": {
  33227. "description": "商品名称",
  33228. "type": "string"
  33229. }
  33230. }
  33231. },
  33232. "models.TBGoodsGroup": {
  33233. "type": "object",
  33234. "properties": {
  33235. "GDLST": {
  33236. "description": "商品列表",
  33237. "type": "array",
  33238. "items": {
  33239. "$ref": "#/definitions/models.TBGoods"
  33240. }
  33241. },
  33242. "convertratio": {
  33243. "description": "折算系数",
  33244. "type": "number"
  33245. },
  33246. "enumdicname": {
  33247. "description": "单位名称",
  33248. "type": "string"
  33249. },
  33250. "exexchangecode": {
  33251. "description": "交易所代码",
  33252. "type": "string"
  33253. },
  33254. "exexchangename": {
  33255. "description": "交易所名称",
  33256. "type": "string"
  33257. },
  33258. "goodsgroupid": {
  33259. "description": "商品组ID(自增ID)",
  33260. "type": "integer"
  33261. },
  33262. "goodsgroupname": {
  33263. "description": "商品组名称",
  33264. "type": "string"
  33265. },
  33266. "goodunitid": {
  33267. "description": "报价单位ID",
  33268. "type": "integer"
  33269. }
  33270. }
  33271. },
  33272. "models.TBMiddleGoods": {
  33273. "type": "object",
  33274. "properties": {
  33275. "GPLST": {
  33276. "description": "期货品种列表",
  33277. "type": "array",
  33278. "items": {
  33279. "$ref": "#/definitions/models.TBGoodsGroup"
  33280. }
  33281. },
  33282. "WDLST": {
  33283. "description": "商品信息列表(现货品类)",
  33284. "type": "array",
  33285. "items": {
  33286. "$ref": "#/definitions/models.TBWrstandard"
  33287. }
  33288. },
  33289. "areauserid": {
  33290. "description": "机构用户ID",
  33291. "type": "integer"
  33292. },
  33293. "enumdicname": {
  33294. "description": "单位名称",
  33295. "type": "string"
  33296. },
  33297. "goodsunitid": {
  33298. "description": "套保品种单位id",
  33299. "type": "integer"
  33300. },
  33301. "middlegoodscode": {
  33302. "description": "套保品种代码",
  33303. "type": "string"
  33304. },
  33305. "middlegoodsid": {
  33306. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  33307. "type": "integer"
  33308. },
  33309. "middlegoodsname": {
  33310. "description": "套保品种名称",
  33311. "type": "string"
  33312. },
  33313. "needarbitrageratio": {
  33314. "description": "套利比率",
  33315. "type": "number"
  33316. },
  33317. "needhedgeratio": {
  33318. "description": "套保比率",
  33319. "type": "number"
  33320. }
  33321. }
  33322. },
  33323. "models.TBWrstandard": {
  33324. "type": "object",
  33325. "properties": {
  33326. "convertratio": {
  33327. "description": "折算系数",
  33328. "type": "number"
  33329. },
  33330. "deliverygoodsname": {
  33331. "description": "品种名称",
  33332. "type": "string"
  33333. },
  33334. "enumdicname": {
  33335. "description": "单位名称",
  33336. "type": "string"
  33337. },
  33338. "vatrate": {
  33339. "description": "增值税率",
  33340. "type": "number"
  33341. },
  33342. "wrstandardcode": {
  33343. "description": "现货商品代码",
  33344. "type": "string"
  33345. },
  33346. "wrstandardid": {
  33347. "description": "现货商品ID(SEQ_WRSTANDARD)",
  33348. "type": "integer"
  33349. },
  33350. "wrstandardname": {
  33351. "description": "现货商品名称",
  33352. "type": "string"
  33353. }
  33354. }
  33355. },
  33356. "models.Taaccount": {
  33357. "type": "object",
  33358. "required": [
  33359. "accountid",
  33360. "userid"
  33361. ],
  33362. "properties": {
  33363. "accountflag": {
  33364. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  33365. "type": "integer"
  33366. },
  33367. "accountid": {
  33368. "description": "资金账户ID",
  33369. "type": "integer"
  33370. },
  33371. "accountname": {
  33372. "description": "账户名称",
  33373. "type": "string"
  33374. },
  33375. "balance": {
  33376. "description": "期初余额",
  33377. "type": "number"
  33378. },
  33379. "capitalbalance": {
  33380. "description": "本金余额[外部子账户实际出入金余额]",
  33381. "type": "number"
  33382. },
  33383. "changeflag": {
  33384. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  33385. "type": "integer"
  33386. },
  33387. "changetime": {
  33388. "description": "账户状态变更时间",
  33389. "type": "string"
  33390. },
  33391. "closepl": {
  33392. "description": "今日平仓盈亏",
  33393. "type": "number"
  33394. },
  33395. "creditdecrease": {
  33396. "description": "今日授信减少",
  33397. "type": "number"
  33398. },
  33399. "creditincrease": {
  33400. "description": "今日授信增加",
  33401. "type": "number"
  33402. },
  33403. "curamount": {
  33404. "description": "总市值(从持仓中统计)",
  33405. "type": "number"
  33406. },
  33407. "currencyid": {
  33408. "description": "货币ID",
  33409. "type": "integer"
  33410. },
  33411. "currentbalance": {
  33412. "description": "期末余额",
  33413. "type": "number"
  33414. },
  33415. "freezecharge": {
  33416. "description": "手续费冻结",
  33417. "type": "number"
  33418. },
  33419. "freezemargin": {
  33420. "description": "冻结保证金",
  33421. "type": "number"
  33422. },
  33423. "fromaccountid": {
  33424. "description": "所属上级账户",
  33425. "type": "integer"
  33426. },
  33427. "inamount": {
  33428. "description": "今日入金金额(包括三方入金)",
  33429. "type": "number"
  33430. },
  33431. "ismain": {
  33432. "description": "是否母账号 0:不是母账户 1:是母账户",
  33433. "type": "integer"
  33434. },
  33435. "ismarketaccount": {
  33436. "description": "是否机构接单账号 0:不是 1:是",
  33437. "type": "integer"
  33438. },
  33439. "isreckonaccount": {
  33440. "description": "是否机构分润账号 0:不是 1:是",
  33441. "type": "integer"
  33442. },
  33443. "mortgagecredit": {
  33444. "description": "授信金额",
  33445. "type": "number"
  33446. },
  33447. "orifreezecharge": {
  33448. "description": "期初手续费冻结",
  33449. "type": "number"
  33450. },
  33451. "orifreezemargin": {
  33452. "description": "期初冻结保证金",
  33453. "type": "number"
  33454. },
  33455. "orimortgagecredit": {
  33456. "description": "期初授信金额",
  33457. "type": "number"
  33458. },
  33459. "oriothercredit": {
  33460. "description": "期初其它授信金额",
  33461. "type": "number"
  33462. },
  33463. "oriotherfreezemargin": {
  33464. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  33465. "type": "number"
  33466. },
  33467. "orioutamountfreeze": {
  33468. "description": "期初出金冻结",
  33469. "type": "number"
  33470. },
  33471. "oriusedmargin": {
  33472. "description": "期初占用保证金",
  33473. "type": "number"
  33474. },
  33475. "othercredit": {
  33476. "description": "其它授信金额",
  33477. "type": "number"
  33478. },
  33479. "othercreditdecrease": {
  33480. "description": "今日其它授信减少",
  33481. "type": "number"
  33482. },
  33483. "othercreditincrease": {
  33484. "description": "今日其它授信增加",
  33485. "type": "number"
  33486. },
  33487. "otherfreezemargin": {
  33488. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  33489. "type": "number"
  33490. },
  33491. "otherincome": {
  33492. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  33493. "type": "number"
  33494. },
  33495. "otherpay": {
  33496. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  33497. "type": "number"
  33498. },
  33499. "outamount": {
  33500. "description": "今日出金金额(包括三方出金)",
  33501. "type": "number"
  33502. },
  33503. "outamountfreeze": {
  33504. "description": "出金冻结",
  33505. "type": "number"
  33506. },
  33507. "outthreshold": {
  33508. "description": "出金阈值",
  33509. "type": "number"
  33510. },
  33511. "parentaccountid": {
  33512. "description": "所属根账号",
  33513. "type": "integer"
  33514. },
  33515. "paycharge": {
  33516. "description": "今日手续费支出",
  33517. "type": "number"
  33518. },
  33519. "relatedaccountstatus": {
  33520. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  33521. "type": "integer"
  33522. },
  33523. "relateduserid": {
  33524. "description": "关联用户",
  33525. "type": "integer"
  33526. },
  33527. "remainamount": {
  33528. "description": "融资额(从融资合同中统计)",
  33529. "type": "number"
  33530. },
  33531. "serivcegroup": {
  33532. "description": "服务分组",
  33533. "type": "integer"
  33534. },
  33535. "signstatus": {
  33536. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  33537. "type": "integer"
  33538. },
  33539. "sublevelpath": {
  33540. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  33541. "type": "string"
  33542. },
  33543. "taaccounttype": {
  33544. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  33545. "type": "integer"
  33546. },
  33547. "thirdinamount": {
  33548. "description": "今日三方入金",
  33549. "type": "number"
  33550. },
  33551. "thirdoutamount": {
  33552. "description": "今日三方出金",
  33553. "type": "number"
  33554. },
  33555. "tradestatus": {
  33556. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  33557. "type": "integer"
  33558. },
  33559. "tradestatuschangetime": {
  33560. "description": "激活时间",
  33561. "type": "string"
  33562. },
  33563. "transferamount": {
  33564. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  33565. "type": "number"
  33566. },
  33567. "usedmargin": {
  33568. "description": "占用保证金",
  33569. "type": "number"
  33570. },
  33571. "userid": {
  33572. "description": "用户ID",
  33573. "type": "integer"
  33574. }
  33575. }
  33576. },
  33577. "models.Tablecolumnconfig": {
  33578. "type": "object",
  33579. "required": [
  33580. "autoid"
  33581. ],
  33582. "properties": {
  33583. "aligntype": {
  33584. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  33585. "type": "integer"
  33586. },
  33587. "autoid": {
  33588. "description": "AutoID",
  33589. "type": "integer"
  33590. },
  33591. "columnfield": {
  33592. "description": "列字段",
  33593. "type": "string"
  33594. },
  33595. "columntitle": {
  33596. "description": "列Title",
  33597. "type": "string"
  33598. },
  33599. "columnwidth": {
  33600. "description": "列宽",
  33601. "type": "string"
  33602. },
  33603. "formatterstring": {
  33604. "description": "格式化字符",
  33605. "type": "string"
  33606. },
  33607. "formattertype": {
  33608. "description": "格式化类型",
  33609. "type": "string"
  33610. },
  33611. "groupname": {
  33612. "description": "表头分组名称",
  33613. "type": "string"
  33614. },
  33615. "isshow": {
  33616. "description": "是否显示 - 0:不显示 1:显示",
  33617. "type": "integer"
  33618. },
  33619. "needsummary": {
  33620. "description": "是否需要汇总 - 0:不需要 1:需要",
  33621. "type": "integer"
  33622. },
  33623. "orderindex": {
  33624. "description": "顺序",
  33625. "type": "integer"
  33626. },
  33627. "remark": {
  33628. "description": "备注",
  33629. "type": "string"
  33630. },
  33631. "summarytype": {
  33632. "description": "汇总类型 - 1:加总 2:最后一个",
  33633. "type": "integer"
  33634. },
  33635. "tablekey": {
  33636. "description": "列表Key",
  33637. "type": "string"
  33638. }
  33639. }
  33640. },
  33641. "models.TjmdHolderDetailTradeInfo": {
  33642. "type": "object",
  33643. "properties": {
  33644. "agreeunit": {
  33645. "description": "合约乘数",
  33646. "type": "number"
  33647. },
  33648. "buyaccountid": {
  33649. "description": "买方账户",
  33650. "type": "string"
  33651. },
  33652. "buyusername": {
  33653. "description": "买方",
  33654. "type": "string"
  33655. },
  33656. "delistingdate": {
  33657. "description": "最后结算日",
  33658. "type": "string"
  33659. },
  33660. "expiredate": {
  33661. "description": "到期结算价定价日",
  33662. "type": "string"
  33663. },
  33664. "exprieprice": {
  33665. "description": "到期清算价格",
  33666. "type": "string"
  33667. },
  33668. "goodscode": {
  33669. "description": "商品代码",
  33670. "type": "string"
  33671. },
  33672. "goodsid": {
  33673. "description": "商品ID",
  33674. "type": "integer"
  33675. },
  33676. "goodsname": {
  33677. "description": "商品名称(交易标的)",
  33678. "type": "string"
  33679. },
  33680. "lasttradedate": {
  33681. "description": "最后交易日",
  33682. "type": "string"
  33683. },
  33684. "listingdate": {
  33685. "description": "开始交易日",
  33686. "type": "string"
  33687. },
  33688. "openprice": {
  33689. "description": "成交价",
  33690. "type": "number"
  33691. },
  33692. "openqty": {
  33693. "description": "交易数量",
  33694. "type": "integer"
  33695. },
  33696. "sellaccountid": {
  33697. "description": "卖方账户",
  33698. "type": "string"
  33699. },
  33700. "sellusername": {
  33701. "description": "卖方",
  33702. "type": "string"
  33703. },
  33704. "tradeamount": {
  33705. "description": "初始名义价值",
  33706. "type": "number"
  33707. },
  33708. "tradedate": {
  33709. "description": "成交日期",
  33710. "type": "string"
  33711. },
  33712. "tradeid": {
  33713. "description": "成交编号",
  33714. "type": "string"
  33715. }
  33716. }
  33717. },
  33718. "models.TjmdMarketSection": {
  33719. "type": "object",
  33720. "properties": {
  33721. "marketsectionid": {
  33722. "description": "市场版块ID(SEQ_MARKETSECTION)",
  33723. "type": "integer"
  33724. },
  33725. "marketsectionname": {
  33726. "description": "市场版块名称",
  33727. "type": "string"
  33728. },
  33729. "mlist": {
  33730. "description": "市场列表(板块下面有多少个市场)",
  33731. "type": "array",
  33732. "items": {
  33733. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  33734. }
  33735. },
  33736. "orderindex": {
  33737. "description": "排序",
  33738. "type": "integer"
  33739. },
  33740. "pictureurl": {
  33741. "description": "图片url, 规格(90*90)",
  33742. "type": "string"
  33743. },
  33744. "remark": {
  33745. "description": "备注",
  33746. "type": "string"
  33747. }
  33748. }
  33749. },
  33750. "models.TjmdMarketSectionConfig": {
  33751. "type": "object",
  33752. "properties": {
  33753. "auctionwrtype": {
  33754. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  33755. "type": "integer"
  33756. },
  33757. "canacceptquote": {
  33758. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  33759. "type": "integer"
  33760. },
  33761. "cangoodsexercise": {
  33762. "description": "[期权]是否可现货行权- 0:否 1:是",
  33763. "type": "integer"
  33764. },
  33765. "cangoodsexercisetype": {
  33766. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  33767. "type": "integer"
  33768. },
  33769. "canmanualquotestrike": {
  33770. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  33771. "type": "integer"
  33772. },
  33773. "canmutistage": {
  33774. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  33775. "type": "integer"
  33776. },
  33777. "canpreexercise": {
  33778. "description": "[期权]是否可预申报- 0:否 1:是",
  33779. "type": "integer"
  33780. },
  33781. "clearinterval": {
  33782. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  33783. "type": "integer"
  33784. },
  33785. "contracttmp": {
  33786. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  33787. "type": "string"
  33788. },
  33789. "exchareaid": {
  33790. "description": "所属交易所,可以没有",
  33791. "type": "integer"
  33792. },
  33793. "financemarketid": {
  33794. "description": "融资回购市场ID [仓单贸易]",
  33795. "type": "integer"
  33796. },
  33797. "goodstype": {
  33798. "description": "商品类型 - 1:交易商品 2:仓单商品",
  33799. "type": "integer"
  33800. },
  33801. "hasrebate": {
  33802. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  33803. "type": "integer"
  33804. },
  33805. "hastradecredit": {
  33806. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  33807. "type": "integer"
  33808. },
  33809. "haswr": {
  33810. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  33811. "type": "integer"
  33812. },
  33813. "isdeductmargin": {
  33814. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  33815. "type": "integer"
  33816. },
  33817. "isrecordsource": {
  33818. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  33819. "type": "integer"
  33820. },
  33821. "isreleasemargin": {
  33822. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  33823. "type": "integer"
  33824. },
  33825. "isupdatereckonprice": {
  33826. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  33827. "type": "integer"
  33828. },
  33829. "listingmode": {
  33830. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  33831. "type": "integer"
  33832. },
  33833. "marginformula": {
  33834. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  33835. "type": "integer"
  33836. },
  33837. "marginformula2": {
  33838. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  33839. "type": "integer"
  33840. },
  33841. "marketid": {
  33842. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  33843. "type": "integer"
  33844. },
  33845. "marketname": {
  33846. "description": "市场名称",
  33847. "type": "string"
  33848. },
  33849. "marketsectionid": {
  33850. "description": "市场版块ID(SEQ_MARKETSECTION)",
  33851. "type": "integer"
  33852. },
  33853. "marketserviceid": {
  33854. "description": "市场服务ID",
  33855. "type": "integer"
  33856. },
  33857. "marketstatus": {
  33858. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  33859. "type": "integer"
  33860. },
  33861. "markettype": {
  33862. "description": "市场类型- 1:非交易服务 2:交易服务",
  33863. "type": "integer"
  33864. },
  33865. "matchermode": {
  33866. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  33867. "type": "integer"
  33868. },
  33869. "nowrquotaflag": {
  33870. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  33871. "type": "integer"
  33872. },
  33873. "openmethod": {
  33874. "description": "开盘模式 - 0 自动 1手动",
  33875. "type": "integer"
  33876. },
  33877. "orderindex": {
  33878. "description": "排序",
  33879. "type": "integer"
  33880. },
  33881. "otcuserid": {
  33882. "description": "场外期权做市商[场外期权]",
  33883. "type": "integer"
  33884. },
  33885. "outersynctime": {
  33886. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  33887. "type": "string"
  33888. },
  33889. "paylaterflag": {
  33890. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  33891. "type": "integer"
  33892. },
  33893. "pendingflag": {
  33894. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  33895. "type": "integer"
  33896. },
  33897. "pendingtime": {
  33898. "description": "待开市时间[通道交易-对冲](HH:mm)",
  33899. "type": "string"
  33900. },
  33901. "performancetempid": {
  33902. "description": "履约计划模板ID - 作废",
  33903. "type": "integer"
  33904. },
  33905. "premiumquotemode": {
  33906. "description": "权利金报价方式 - 1:自动 2:手动",
  33907. "type": "integer"
  33908. },
  33909. "rebateratio": {
  33910. "description": "返利比率[竞价式]",
  33911. "type": "number"
  33912. },
  33913. "reckonorder": {
  33914. "description": "结算顺序",
  33915. "type": "integer"
  33916. },
  33917. "reckonpricealgorithm": {
  33918. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  33919. "type": "integer"
  33920. },
  33921. "reckonpriceparam": {
  33922. "description": "结算价参数",
  33923. "type": "integer"
  33924. },
  33925. "reckontime": {
  33926. "description": "结算时间[通道交易-对冲](HH:mm)",
  33927. "type": "string"
  33928. },
  33929. "roleprioritytype": {
  33930. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  33931. "type": "integer"
  33932. },
  33933. "selllistingauditflag": {
  33934. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  33935. "type": "integer"
  33936. },
  33937. "trademarkettype": {
  33938. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  33939. "type": "integer"
  33940. },
  33941. "trademode": {
  33942. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  33943. "type": "integer"
  33944. },
  33945. "tradeproperty": {
  33946. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  33947. "type": "integer"
  33948. },
  33949. "tradetype": {
  33950. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  33951. "type": "integer"
  33952. },
  33953. "updatereckonpriceinterval": {
  33954. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  33955. "type": "integer"
  33956. }
  33957. }
  33958. },
  33959. "models.TjmdQuoteGoods": {
  33960. "type": "object",
  33961. "properties": {
  33962. "buyqty": {
  33963. "description": "买量(暂不做, 无值, 保留字段)",
  33964. "type": "number"
  33965. },
  33966. "decimalplace": {
  33967. "description": "报价小数位",
  33968. "type": "integer"
  33969. },
  33970. "goodscode": {
  33971. "description": "合约代码",
  33972. "type": "string"
  33973. },
  33974. "goodsgroupid": {
  33975. "description": "商品组ID(自增ID)",
  33976. "type": "integer"
  33977. },
  33978. "goodsgroupname": {
  33979. "description": "商品组名称",
  33980. "type": "string"
  33981. },
  33982. "goodsid": {
  33983. "description": "合约id",
  33984. "type": "integer"
  33985. },
  33986. "goodsname": {
  33987. "description": "合约名称",
  33988. "type": "string"
  33989. },
  33990. "refgoodscode": {
  33991. "description": "标的合约代码",
  33992. "type": "string"
  33993. },
  33994. "refgoodsid": {
  33995. "description": "标的合约id",
  33996. "type": "integer"
  33997. },
  33998. "refgoodsname": {
  33999. "description": "标的合约名称",
  34000. "type": "string"
  34001. },
  34002. "sellqty": {
  34003. "description": "卖量(暂不做, 无值, 保留字段)",
  34004. "type": "number"
  34005. }
  34006. }
  34007. },
  34008. "models.TjmdTodayAccountMargin": {
  34009. "type": "object",
  34010. "properties": {
  34011. "accountid": {
  34012. "description": "账号ID",
  34013. "type": "integer"
  34014. },
  34015. "goodsid": {
  34016. "description": "商品ID",
  34017. "type": "integer"
  34018. },
  34019. "infoc": {
  34020. "description": "配置参数",
  34021. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  34022. },
  34023. "marketid": {
  34024. "description": "市场ID",
  34025. "type": "integer"
  34026. }
  34027. }
  34028. },
  34029. "models.TjmdTradeOrderDetail": {
  34030. "type": "object",
  34031. "properties": {
  34032. "buyorsell": {
  34033. "description": "买卖方向 0-买 1-卖",
  34034. "type": "integer"
  34035. },
  34036. "goodsid": {
  34037. "description": "商品id",
  34038. "type": "integer"
  34039. },
  34040. "marketmaxsub": {
  34041. "description": "市价最大偏移范围 [浮动价 - 点差]",
  34042. "type": "number"
  34043. },
  34044. "orderid": {
  34045. "description": "委托单号",
  34046. "type": "string"
  34047. },
  34048. "orderprice": {
  34049. "description": "委托价格",
  34050. "type": "number"
  34051. },
  34052. "orderqty": {
  34053. "description": "委托数量",
  34054. "type": "integer"
  34055. },
  34056. "pricemode": {
  34057. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  34058. "type": "integer"
  34059. },
  34060. "userid": {
  34061. "description": "用户id",
  34062. "type": "integer"
  34063. },
  34064. "username": {
  34065. "description": "用户名称(已脱敏)",
  34066. "type": "string"
  34067. }
  34068. }
  34069. },
  34070. "models.TjmdTransferApply": {
  34071. "type": "object",
  34072. "properties": {
  34073. "applyid": {
  34074. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  34075. "type": "integer"
  34076. },
  34077. "applystatus": {
  34078. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  34079. "type": "integer"
  34080. },
  34081. "applytime": {
  34082. "description": "申请时间(时间)",
  34083. "type": "string"
  34084. },
  34085. "auditremark": {
  34086. "description": "审核备注(拒绝原因?)",
  34087. "type": "string"
  34088. },
  34089. "begindate": {
  34090. "description": "开始交易日(yyyymmdd)",
  34091. "type": "string"
  34092. },
  34093. "buyorsell": {
  34094. "description": "买卖 - 0:买 1:卖",
  34095. "type": "integer"
  34096. },
  34097. "enddate": {
  34098. "description": "结束交易日(yyyymmdd)",
  34099. "type": "string"
  34100. },
  34101. "goodscode": {
  34102. "description": "商品代码",
  34103. "type": "string"
  34104. },
  34105. "goodsid": {
  34106. "description": "商品ID",
  34107. "type": "integer"
  34108. },
  34109. "goodsname": {
  34110. "description": "商品名称",
  34111. "type": "string"
  34112. },
  34113. "marketid": {
  34114. "description": "市场ID",
  34115. "type": "integer"
  34116. },
  34117. "qty": {
  34118. "description": "转让数量(数量)",
  34119. "type": "number"
  34120. },
  34121. "tradeid": {
  34122. "description": "成交单号(关联持仓)",
  34123. "type": "string"
  34124. },
  34125. "transferamount": {
  34126. "description": "转让总金额(金额)",
  34127. "type": "number"
  34128. },
  34129. "transferprice": {
  34130. "description": "转让价格(协议价格)",
  34131. "type": "number"
  34132. }
  34133. }
  34134. },
  34135. "models.TradeHolderDetail": {
  34136. "type": "object",
  34137. "properties": {
  34138. "accountid": {
  34139. "description": "账号ID",
  34140. "type": "integer"
  34141. },
  34142. "agreeunit": {
  34143. "description": "合约乘数",
  34144. "type": "number"
  34145. },
  34146. "buyorsell": {
  34147. "description": "方向 - 0:买 1:卖",
  34148. "type": "integer"
  34149. },
  34150. "currencyid": {
  34151. "description": "商品币种id",
  34152. "type": "integer"
  34153. },
  34154. "currencyname": {
  34155. "description": "币种名称",
  34156. "type": "string"
  34157. },
  34158. "decimalplace": {
  34159. "description": "商品价格小数位",
  34160. "type": "integer"
  34161. },
  34162. "enumdicname": {
  34163. "description": "商品单位名称",
  34164. "type": "string"
  34165. },
  34166. "expirecycle": {
  34167. "description": "行权周期(天) - 1:滚动行权时填写",
  34168. "type": "integer"
  34169. },
  34170. "expiredate": {
  34171. "description": "行权日(yyyyMMdd) - 到期日",
  34172. "type": "string"
  34173. },
  34174. "expiretype": {
  34175. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  34176. "type": "integer"
  34177. },
  34178. "freezeqty": {
  34179. "description": "冻结数量",
  34180. "type": "number"
  34181. },
  34182. "goodscode": {
  34183. "description": "商品代码",
  34184. "type": "string"
  34185. },
  34186. "goodsid": {
  34187. "description": "商品ID",
  34188. "type": "integer"
  34189. },
  34190. "goodsname": {
  34191. "description": "商品名称",
  34192. "type": "string"
  34193. },
  34194. "goodunitid": {
  34195. "description": "商品单位id",
  34196. "type": "integer"
  34197. },
  34198. "holderamount": {
  34199. "description": "持仓金额",
  34200. "type": "number"
  34201. },
  34202. "holdercredit": {
  34203. "description": "持仓授信金额",
  34204. "type": "number"
  34205. },
  34206. "holderdays": {
  34207. "description": "剩余冻结天数",
  34208. "type": "integer"
  34209. },
  34210. "holderprice": {
  34211. "description": "持仓价格",
  34212. "type": "number"
  34213. },
  34214. "holderqty": {
  34215. "description": "持仓数量",
  34216. "type": "number"
  34217. },
  34218. "isconfirmexercise": {
  34219. "description": "是否确认行权- 0:否 1:是",
  34220. "type": "integer"
  34221. },
  34222. "ispreexercise": {
  34223. "description": "是否预申报- 0:否 1:是 2:不可行权",
  34224. "type": "integer"
  34225. },
  34226. "marketid": {
  34227. "description": "市场id",
  34228. "type": "integer"
  34229. },
  34230. "marketname": {
  34231. "description": "市场名称",
  34232. "type": "string"
  34233. },
  34234. "openprice": {
  34235. "description": "建仓价格",
  34236. "type": "number"
  34237. },
  34238. "openqty": {
  34239. "description": "建仓数量",
  34240. "type": "number"
  34241. },
  34242. "optiontype": {
  34243. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  34244. "type": "integer"
  34245. },
  34246. "preexerciseprice": {
  34247. "description": "预申报价格",
  34248. "type": "number"
  34249. },
  34250. "premium": {
  34251. "description": "权利金",
  34252. "type": "number"
  34253. },
  34254. "qtydecimalplace": {
  34255. "description": "商品成交量小数位",
  34256. "type": "integer"
  34257. },
  34258. "refgoodscode": {
  34259. "description": "标的合约代码",
  34260. "type": "string"
  34261. },
  34262. "refgoodsid": {
  34263. "description": "标的合约id",
  34264. "type": "integer"
  34265. },
  34266. "releaseamount": {
  34267. "description": "释放持仓金额",
  34268. "type": "number"
  34269. },
  34270. "releaseholdercredit": {
  34271. "description": "释放持仓授信金额",
  34272. "type": "number"
  34273. },
  34274. "taname": {
  34275. "description": "资金账号名称",
  34276. "type": "string"
  34277. },
  34278. "tradeamount": {
  34279. "description": "成交金额",
  34280. "type": "number"
  34281. },
  34282. "tradedate": {
  34283. "description": "交易日(yyyyMMdd)",
  34284. "type": "string"
  34285. },
  34286. "tradeid": {
  34287. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34288. "type": "string"
  34289. },
  34290. "trademode": {
  34291. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  34292. "type": "integer"
  34293. },
  34294. "tradeproperty": {
  34295. "description": "交易属性",
  34296. "type": "integer"
  34297. },
  34298. "tradetime": {
  34299. "description": "交易时间",
  34300. "type": "string"
  34301. },
  34302. "userid": {
  34303. "description": "用户id",
  34304. "type": "integer"
  34305. },
  34306. "username": {
  34307. "description": "用户名称",
  34308. "type": "string"
  34309. }
  34310. }
  34311. },
  34312. "models.UserCollectConfig": {
  34313. "type": "object",
  34314. "properties": {
  34315. "accountstatus": {
  34316. "description": "账户状态 - 1:正常 2:停用 3:注销",
  34317. "type": "integer"
  34318. },
  34319. "collectaccountname": {
  34320. "description": "收款人账户名称",
  34321. "type": "string"
  34322. },
  34323. "collectaccountno": {
  34324. "description": "收款人账户",
  34325. "type": "string"
  34326. },
  34327. "collectbankname": {
  34328. "description": "收款人开户行",
  34329. "type": "string"
  34330. },
  34331. "collectbranchbankname": {
  34332. "description": "收款人开户支行",
  34333. "type": "string"
  34334. },
  34335. "collectconfigid": {
  34336. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  34337. "type": "string"
  34338. },
  34339. "remark": {
  34340. "description": "备注",
  34341. "type": "string"
  34342. },
  34343. "userid": {
  34344. "description": "收款人用户ID",
  34345. "type": "integer"
  34346. }
  34347. }
  34348. },
  34349. "models.UserReceiveInfo": {
  34350. "type": "object",
  34351. "properties": {
  34352. "address": {
  34353. "description": "提货人详细地址",
  34354. "type": "string"
  34355. },
  34356. "autoid": {
  34357. "description": "AutoID",
  34358. "type": "integer"
  34359. },
  34360. "cardnum": {
  34361. "description": "证件号码(加密存储)",
  34362. "type": "string"
  34363. },
  34364. "cardtypeid": {
  34365. "description": "证件类型",
  34366. "type": "integer"
  34367. },
  34368. "cityid": {
  34369. "description": "市",
  34370. "type": "integer"
  34371. },
  34372. "cityname": {
  34373. "description": "城市名称",
  34374. "type": "string"
  34375. },
  34376. "countryid": {
  34377. "description": "国家",
  34378. "type": "integer"
  34379. },
  34380. "countryname": {
  34381. "description": "国家名称",
  34382. "type": "string"
  34383. },
  34384. "districtid": {
  34385. "description": "地区",
  34386. "type": "integer"
  34387. },
  34388. "districtname": {
  34389. "description": "地区名称",
  34390. "type": "string"
  34391. },
  34392. "hasencrypt": {
  34393. "description": "数据是否已加密 - 0:未加密 1:已加密",
  34394. "type": "integer"
  34395. },
  34396. "isdefault": {
  34397. "description": "是否默认地址 - 0:否 1:是",
  34398. "type": "integer"
  34399. },
  34400. "phonenum": {
  34401. "description": "提货人联系方式(加密存储)",
  34402. "type": "string"
  34403. },
  34404. "provinceid": {
  34405. "description": "省",
  34406. "type": "integer"
  34407. },
  34408. "provincename": {
  34409. "description": "省名称",
  34410. "type": "string"
  34411. },
  34412. "receivername": {
  34413. "description": "提货人姓名",
  34414. "type": "string"
  34415. },
  34416. "takeremark": {
  34417. "description": "提货备注",
  34418. "type": "string"
  34419. },
  34420. "userid": {
  34421. "description": "用户ID",
  34422. "type": "integer"
  34423. }
  34424. }
  34425. },
  34426. "models.Useraccount": {
  34427. "type": "object",
  34428. "required": [
  34429. "userid"
  34430. ],
  34431. "properties": {
  34432. "accountname": {
  34433. "description": "账户名称(机构名称)",
  34434. "type": "string"
  34435. },
  34436. "accountstatus": {
  34437. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  34438. "type": "integer"
  34439. },
  34440. "applysrc": {
  34441. "description": "申请来源 - 1:管理端 2:终端",
  34442. "type": "integer"
  34443. },
  34444. "auditremark": {
  34445. "description": "审核备注",
  34446. "type": "string"
  34447. },
  34448. "auditsrc": {
  34449. "description": "审核来源 - 1:管理端 2:终端",
  34450. "type": "integer"
  34451. },
  34452. "audittime": {
  34453. "description": "审核时间",
  34454. "type": "string"
  34455. },
  34456. "audituserid": {
  34457. "description": "审核人",
  34458. "type": "integer"
  34459. },
  34460. "broker": {
  34461. "description": "所属经纪人ID",
  34462. "type": "integer"
  34463. },
  34464. "canceltime": {
  34465. "description": "销户时间",
  34466. "type": "string"
  34467. },
  34468. "canceluserid": {
  34469. "description": "销户人",
  34470. "type": "integer"
  34471. },
  34472. "canrecommend": {
  34473. "description": "是否可推荐 - 0:不可 1;可",
  34474. "type": "integer"
  34475. },
  34476. "createtime": {
  34477. "description": "创建时间",
  34478. "type": "string"
  34479. },
  34480. "creatorid": {
  34481. "description": "创建人",
  34482. "type": "integer"
  34483. },
  34484. "hasauth": {
  34485. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  34486. "type": "integer"
  34487. },
  34488. "isanonymous": {
  34489. "description": "是否匿名下单 - 0:否 1:是",
  34490. "type": "integer"
  34491. },
  34492. "maxinvestornum": {
  34493. "description": "最大用户数(经纪会员下投资者个数)",
  34494. "type": "integer"
  34495. },
  34496. "memberuserid": {
  34497. "description": "所属会员ID",
  34498. "type": "integer"
  34499. },
  34500. "modifierid": {
  34501. "description": "修改人",
  34502. "type": "integer"
  34503. },
  34504. "modifyremark": {
  34505. "description": "变更备注",
  34506. "type": "string"
  34507. },
  34508. "modifystatus": {
  34509. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  34510. "type": "integer"
  34511. },
  34512. "modifytime": {
  34513. "description": "修改时间",
  34514. "type": "string"
  34515. },
  34516. "parenttopuser": {
  34517. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  34518. "type": "string"
  34519. },
  34520. "parentuserid": {
  34521. "description": "所属机构ID",
  34522. "type": "integer"
  34523. },
  34524. "reckonaccountid": {
  34525. "description": "默认结算资金账号ID(机构分润使用) 作废",
  34526. "type": "integer"
  34527. },
  34528. "refercount": {
  34529. "description": "推荐总人数",
  34530. "type": "integer"
  34531. },
  34532. "refereeuserid": {
  34533. "description": "推荐人ID",
  34534. "type": "integer"
  34535. },
  34536. "refernum": {
  34537. "description": "推荐码",
  34538. "type": "string"
  34539. },
  34540. "rootuserid": {
  34541. "description": "根用户ID",
  34542. "type": "integer"
  34543. },
  34544. "subaccountlevel": {
  34545. "description": "子账户层数",
  34546. "type": "integer"
  34547. },
  34548. "subarealevelpath": {
  34549. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  34550. "type": "string"
  34551. },
  34552. "userid": {
  34553. "description": "用户ID",
  34554. "type": "integer"
  34555. },
  34556. "usertype": {
  34557. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  34558. "type": "integer"
  34559. }
  34560. }
  34561. },
  34562. "models.Userfavoritegoods": {
  34563. "type": "object",
  34564. "required": [
  34565. "goodsid"
  34566. ],
  34567. "properties": {
  34568. "goodsid": {
  34569. "description": "商品ID",
  34570. "type": "integer"
  34571. }
  34572. }
  34573. },
  34574. "models.Userinfo": {
  34575. "type": "object",
  34576. "required": [
  34577. "userid"
  34578. ],
  34579. "properties": {
  34580. "address": {
  34581. "description": "地址",
  34582. "type": "string"
  34583. },
  34584. "attachment1": {
  34585. "description": "附件1",
  34586. "type": "string"
  34587. },
  34588. "attachment2": {
  34589. "description": "附件2",
  34590. "type": "string"
  34591. },
  34592. "bankaccount": {
  34593. "description": "银行帐号 (加密存储)",
  34594. "type": "string"
  34595. },
  34596. "bankaccountname": {
  34597. "description": "收款人名称",
  34598. "type": "string"
  34599. },
  34600. "bankcardfrontphotourl": {
  34601. "description": "银行卡正面照地址",
  34602. "type": "string"
  34603. },
  34604. "bankid": {
  34605. "description": "银行编码",
  34606. "type": "string"
  34607. },
  34608. "bankname": {
  34609. "description": "银行名称",
  34610. "type": "string"
  34611. },
  34612. "biznature": {
  34613. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  34614. "type": "integer"
  34615. },
  34616. "bizscope": {
  34617. "description": "企业经营范围(企业)",
  34618. "type": "string"
  34619. },
  34620. "cardbackphotourl": {
  34621. "description": "证件背面图片地址",
  34622. "type": "string"
  34623. },
  34624. "cardfrontphotourl": {
  34625. "description": "证件正面图片地址",
  34626. "type": "string"
  34627. },
  34628. "cardnum": {
  34629. "description": "证件号码(加密存储)",
  34630. "type": "string"
  34631. },
  34632. "cardtypeid": {
  34633. "description": "证件类型ID",
  34634. "type": "integer"
  34635. },
  34636. "cityid": {
  34637. "description": "市",
  34638. "type": "integer"
  34639. },
  34640. "company": {
  34641. "description": "公司(个人)",
  34642. "type": "string"
  34643. },
  34644. "contactname": {
  34645. "description": "联系人",
  34646. "type": "string"
  34647. },
  34648. "countryid": {
  34649. "description": "国家",
  34650. "type": "integer"
  34651. },
  34652. "createtime": {
  34653. "description": "创建时间",
  34654. "type": "string"
  34655. },
  34656. "creatorid": {
  34657. "description": "创建人",
  34658. "type": "integer"
  34659. },
  34660. "customername": {
  34661. "description": "客户名称(企业名称)",
  34662. "type": "string"
  34663. },
  34664. "districtid": {
  34665. "description": "地区",
  34666. "type": "integer"
  34667. },
  34668. "email": {
  34669. "description": "邮件(加密存储)",
  34670. "type": "string"
  34671. },
  34672. "fax": {
  34673. "description": "传真(加密存储)",
  34674. "type": "string"
  34675. },
  34676. "halfbodyphotourl": {
  34677. "description": "半身照地址",
  34678. "type": "string"
  34679. },
  34680. "hasencrypt": {
  34681. "description": "数据是否已加密 - 0:未加密 1:已加密",
  34682. "type": "integer"
  34683. },
  34684. "headurl": {
  34685. "description": "头像地址",
  34686. "type": "string"
  34687. },
  34688. "legalcardbackphotourl": {
  34689. "description": "法人身份证背面照地址",
  34690. "type": "string"
  34691. },
  34692. "legalcardfrontphotourl": {
  34693. "description": "法人身份证正面照地址",
  34694. "type": "string"
  34695. },
  34696. "legalpersonname": {
  34697. "description": "法人姓名(企业)",
  34698. "type": "string"
  34699. },
  34700. "mobile": {
  34701. "description": "手机号码(加密存储)",
  34702. "type": "string"
  34703. },
  34704. "mobile2": {
  34705. "description": "手机号码[明文-尚志]",
  34706. "type": "string"
  34707. },
  34708. "modifierid": {
  34709. "description": "修改人",
  34710. "type": "integer"
  34711. },
  34712. "modifiertime": {
  34713. "description": "修改时间",
  34714. "type": "string"
  34715. },
  34716. "needinvoice": {
  34717. "description": "是否需要发票 - 0:不需要 1:需要",
  34718. "type": "integer"
  34719. },
  34720. "nickname": {
  34721. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  34722. "type": "string"
  34723. },
  34724. "openmode": {
  34725. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  34726. "type": "integer"
  34727. },
  34728. "otherurl": {
  34729. "description": "其它图片地址[使用分号分隔]",
  34730. "type": "string"
  34731. },
  34732. "postalcode": {
  34733. "description": "邮政编码",
  34734. "type": "string"
  34735. },
  34736. "provinceid": {
  34737. "description": "省",
  34738. "type": "integer"
  34739. },
  34740. "qq": {
  34741. "description": "QQ(加密存储",
  34742. "type": "string"
  34743. },
  34744. "remark": {
  34745. "description": "备注",
  34746. "type": "string"
  34747. },
  34748. "sex": {
  34749. "description": "用户性别 0: 女 1: 男",
  34750. "type": "integer"
  34751. },
  34752. "signpdfurl": {
  34753. "description": "签约pdf文件",
  34754. "type": "string"
  34755. },
  34756. "telphone": {
  34757. "description": "联系电话(加密存储)",
  34758. "type": "string"
  34759. },
  34760. "userid": {
  34761. "description": "用户ID",
  34762. "type": "integer"
  34763. },
  34764. "userinfotype": {
  34765. "description": "用户信息类型 - 1:个人 2:企业",
  34766. "type": "integer"
  34767. },
  34768. "userstatus": {
  34769. "description": "用户状态 - 1:正常 2:注销",
  34770. "type": "integer"
  34771. },
  34772. "usertype": {
  34773. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  34774. "type": "integer"
  34775. },
  34776. "wechat": {
  34777. "description": "微信(加密存储)",
  34778. "type": "string"
  34779. },
  34780. "wskhinfo": {
  34781. "description": "开户申请信息(JSON)",
  34782. "type": "string"
  34783. }
  34784. }
  34785. },
  34786. "models.WRSConverTDetail": {
  34787. "type": "object",
  34788. "properties": {
  34789. "convertratio": {
  34790. "description": "套保系数",
  34791. "type": "number"
  34792. },
  34793. "deliverygoodscode": {
  34794. "description": "现货商品代码",
  34795. "type": "string"
  34796. },
  34797. "deliverygoodsid": {
  34798. "description": "现货品种ID",
  34799. "type": "integer"
  34800. },
  34801. "deliverygoodsname": {
  34802. "description": "现货商品名称",
  34803. "type": "string"
  34804. },
  34805. "enumdicname": {
  34806. "description": "单位名称",
  34807. "type": "string"
  34808. },
  34809. "goodsunitid": {
  34810. "description": "套保品种单位id",
  34811. "type": "integer"
  34812. },
  34813. "middlegoodscode": {
  34814. "description": "套保品种代码",
  34815. "type": "string"
  34816. },
  34817. "middlegoodsid": {
  34818. "description": "套保品种ID",
  34819. "type": "integer"
  34820. },
  34821. "middlegoodsname": {
  34822. "description": "套保品种名称",
  34823. "type": "string"
  34824. },
  34825. "modifytime": {
  34826. "description": "修改时间",
  34827. "type": "string"
  34828. },
  34829. "wrstandardid": {
  34830. "description": "品类ID",
  34831. "type": "integer"
  34832. }
  34833. }
  34834. },
  34835. "models.WRStandardInfo": {
  34836. "type": "object",
  34837. "required": [
  34838. "wrstandardid"
  34839. ],
  34840. "properties": {
  34841. "areauserid": {
  34842. "description": "所属机构",
  34843. "type": "integer"
  34844. },
  34845. "convertfactor": {
  34846. "description": "标仓系数",
  34847. "type": "number"
  34848. },
  34849. "createtime": {
  34850. "description": "创建时间",
  34851. "type": "string"
  34852. },
  34853. "creatorid": {
  34854. "description": "创建人",
  34855. "type": "integer"
  34856. },
  34857. "deliverygoodsid": {
  34858. "description": "品种ID",
  34859. "type": "integer"
  34860. },
  34861. "deliverygoodsname": {
  34862. "description": "交割商品名称",
  34863. "type": "string"
  34864. },
  34865. "factoryitemjson": {
  34866. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  34867. "type": "string"
  34868. },
  34869. "isvalid": {
  34870. "description": "是否有效 - 0:无效 1:有效",
  34871. "type": "integer"
  34872. },
  34873. "minivalue": {
  34874. "description": "最小变动值",
  34875. "type": "integer"
  34876. },
  34877. "minivaluedp": {
  34878. "description": "最小变动值小数位",
  34879. "type": "integer"
  34880. },
  34881. "realminivalue": {
  34882. "description": "实际最小变动值",
  34883. "type": "integer"
  34884. },
  34885. "realminivaluedp": {
  34886. "description": "实际最小变动值小数位",
  34887. "type": "integer"
  34888. },
  34889. "remark": {
  34890. "description": "备注",
  34891. "type": "string"
  34892. },
  34893. "unitid": {
  34894. "description": "单位ID",
  34895. "type": "integer"
  34896. },
  34897. "unitname": {
  34898. "description": "单位",
  34899. "type": "string"
  34900. },
  34901. "updatetime": {
  34902. "description": "更新时间",
  34903. "type": "string"
  34904. },
  34905. "updatorid": {
  34906. "description": "更新人",
  34907. "type": "integer"
  34908. },
  34909. "wrsstatus": {
  34910. "description": "状态 - 作废 - 0:未激活 1:正常",
  34911. "type": "integer"
  34912. },
  34913. "wrstandardcode": {
  34914. "description": "现货品类代码",
  34915. "type": "string"
  34916. },
  34917. "wrstandardid": {
  34918. "description": "现货品类ID(SEQ_WRSTANDARD)",
  34919. "type": "integer"
  34920. },
  34921. "wrstandardname": {
  34922. "description": "现货品类名称",
  34923. "type": "string"
  34924. }
  34925. }
  34926. },
  34927. "models.WRTradeBargainApply": {
  34928. "type": "object",
  34929. "properties": {
  34930. "accountid": {
  34931. "description": "摘牌资金账号",
  34932. "type": "integer"
  34933. },
  34934. "applyprice": {
  34935. "description": "申请价格(议价价格)",
  34936. "type": "string"
  34937. },
  34938. "applyqty": {
  34939. "description": "摘牌数量(议价数量)",
  34940. "type": "number"
  34941. },
  34942. "applyremark": {
  34943. "description": "申请备注",
  34944. "type": "string"
  34945. },
  34946. "applystatus": {
  34947. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  34948. "type": "integer"
  34949. },
  34950. "applytime": {
  34951. "description": "申请时间(议价时间)",
  34952. "type": "string"
  34953. },
  34954. "begindate": {
  34955. "description": "开始交易日(yyyymmdd)",
  34956. "type": "string"
  34957. },
  34958. "buyorsell": {
  34959. "description": "买卖(挂牌类型) - 0:买 1:卖",
  34960. "type": "integer"
  34961. },
  34962. "confirmremark": {
  34963. "description": "确认备注",
  34964. "type": "string"
  34965. },
  34966. "confirmtime": {
  34967. "description": "确认时间",
  34968. "type": "string"
  34969. },
  34970. "confirmuserid": {
  34971. "description": "确认人",
  34972. "type": "integer"
  34973. },
  34974. "deliverygoodscode": {
  34975. "description": "品种代码",
  34976. "type": "string"
  34977. },
  34978. "deliverygoodsid": {
  34979. "description": "品种ID",
  34980. "type": "integer"
  34981. },
  34982. "deliverygoodsname": {
  34983. "description": "品种名称",
  34984. "type": "string"
  34985. },
  34986. "deliverymonth": {
  34987. "description": "交收月",
  34988. "type": "string"
  34989. },
  34990. "enddate": {
  34991. "description": "结束交易日(yyyymmdd)",
  34992. "type": "string"
  34993. },
  34994. "enumdicname": {
  34995. "description": "单位名称",
  34996. "type": "string"
  34997. },
  34998. "fixedprice": {
  34999. "description": "挂牌价格",
  35000. "type": "number"
  35001. },
  35002. "handlestatus": {
  35003. "description": "处理状态",
  35004. "type": "integer"
  35005. },
  35006. "marginvalue": {
  35007. "description": "履约保证金比例",
  35008. "type": "number"
  35009. },
  35010. "marketid": {
  35011. "description": "市场ID",
  35012. "type": "integer"
  35013. },
  35014. "matchaccountid": {
  35015. "description": "挂牌方资金账号",
  35016. "type": "integer"
  35017. },
  35018. "matchuserid": {
  35019. "description": "挂牌方用户id",
  35020. "type": "integer"
  35021. },
  35022. "matchusername": {
  35023. "description": "挂牌方用户名称(已脱敏)",
  35024. "type": "string"
  35025. },
  35026. "minivalue": {
  35027. "description": "现货商品最小变动值",
  35028. "type": "integer"
  35029. },
  35030. "optioncompare": {
  35031. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  35032. "type": "string"
  35033. },
  35034. "orderqty": {
  35035. "description": "挂牌数量",
  35036. "type": "integer"
  35037. },
  35038. "refprice": {
  35039. "description": "参考价格",
  35040. "type": "string"
  35041. },
  35042. "retcode": {
  35043. "description": "委托返回代码",
  35044. "type": "integer"
  35045. },
  35046. "templatename": {
  35047. "description": "履约方式(履约模板名称)",
  35048. "type": "string"
  35049. },
  35050. "tradedate": {
  35051. "description": "交易日(yyyyMMdd)",
  35052. "type": "string"
  35053. },
  35054. "userid": {
  35055. "description": "摘牌人用户ID(议价人ID)",
  35056. "type": "integer"
  35057. },
  35058. "username": {
  35059. "description": "议价人名字(已脱敏)",
  35060. "type": "string"
  35061. },
  35062. "validtime": {
  35063. "description": "有效期限",
  35064. "type": "string"
  35065. },
  35066. "warehouseid": {
  35067. "description": "仓库ID",
  35068. "type": "integer"
  35069. },
  35070. "warehousename": {
  35071. "description": "仓库名称",
  35072. "type": "string"
  35073. },
  35074. "wrbargainid": {
  35075. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  35076. "type": "string"
  35077. },
  35078. "wrfactortypeid": {
  35079. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  35080. "type": "string"
  35081. },
  35082. "wrfactortypename": {
  35083. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  35084. "type": "string"
  35085. },
  35086. "wrstandardcode": {
  35087. "description": "现货商品代码",
  35088. "type": "string"
  35089. },
  35090. "wrstandardid": {
  35091. "description": "现货商品ID",
  35092. "type": "integer"
  35093. },
  35094. "wrstandardname": {
  35095. "description": "商品名称",
  35096. "type": "string"
  35097. },
  35098. "wrtradeorderid": {
  35099. "description": "关联委托单ID",
  35100. "type": "string"
  35101. },
  35102. "wrtypename": {
  35103. "description": "商品",
  35104. "type": "string"
  35105. }
  35106. }
  35107. },
  35108. "models.Warehouseinfo": {
  35109. "type": "object",
  35110. "required": [
  35111. "autoid",
  35112. "warehousecode"
  35113. ],
  35114. "properties": {
  35115. "address": {
  35116. "description": "详细地址",
  35117. "type": "string"
  35118. },
  35119. "areauserid": {
  35120. "description": "所属机构",
  35121. "type": "integer"
  35122. },
  35123. "autoid": {
  35124. "description": "自增ID",
  35125. "type": "integer"
  35126. },
  35127. "cityid": {
  35128. "description": "市",
  35129. "type": "integer"
  35130. },
  35131. "contactname": {
  35132. "description": "联系人",
  35133. "type": "string"
  35134. },
  35135. "contactnum": {
  35136. "description": "联系电话",
  35137. "type": "string"
  35138. },
  35139. "countryid": {
  35140. "description": "国家",
  35141. "type": "integer"
  35142. },
  35143. "createtime": {
  35144. "description": "创建时间",
  35145. "type": "string"
  35146. },
  35147. "districtid": {
  35148. "description": "区",
  35149. "type": "integer"
  35150. },
  35151. "hasvideo": {
  35152. "description": "是否有视频 - 0:无 1:有",
  35153. "type": "integer"
  35154. },
  35155. "provinceid": {
  35156. "description": "省",
  35157. "type": "integer"
  35158. },
  35159. "remark": {
  35160. "description": "审核备注",
  35161. "type": "string"
  35162. },
  35163. "videourl": {
  35164. "description": "视频地址",
  35165. "type": "string"
  35166. },
  35167. "warehousecode": {
  35168. "description": "仓库代码",
  35169. "type": "string"
  35170. },
  35171. "warehousename": {
  35172. "description": "仓库名称",
  35173. "type": "string"
  35174. },
  35175. "warehousestatus": {
  35176. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  35177. "type": "integer"
  35178. },
  35179. "warehousetype": {
  35180. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  35181. "type": "integer"
  35182. }
  35183. }
  35184. },
  35185. "models.WrAverageTradePrice": {
  35186. "type": "object",
  35187. "properties": {
  35188. "averageprice": {
  35189. "description": "成交均价",
  35190. "type": "number"
  35191. },
  35192. "tradedate": {
  35193. "description": "交易日yyyymm",
  35194. "type": "string"
  35195. }
  35196. }
  35197. },
  35198. "models.WrBrandAndYears": {
  35199. "type": "object",
  35200. "properties": {
  35201. "brandlst": {
  35202. "description": "品牌列表",
  35203. "type": "array",
  35204. "items": {
  35205. "$ref": "#/definitions/models.DgFactoryItem"
  35206. }
  35207. },
  35208. "yearslst": {
  35209. "description": "年份列表",
  35210. "type": "array",
  35211. "items": {
  35212. "$ref": "#/definitions/models.DgFactoryItem"
  35213. }
  35214. }
  35215. }
  35216. },
  35217. "models.WrBsGoodsInfo": {
  35218. "type": "object",
  35219. "properties": {
  35220. "buyorsell": {
  35221. "description": "买卖方向 0-买 1-卖",
  35222. "type": "integer"
  35223. },
  35224. "goodsid": {
  35225. "description": "交易合约ID",
  35226. "type": "integer"
  35227. },
  35228. "lstitem": {
  35229. "description": "商品信息项",
  35230. "type": "array",
  35231. "items": {
  35232. "$ref": "#/definitions/models.WrTypeItem"
  35233. }
  35234. },
  35235. "lststep": {
  35236. "description": "履约规则",
  35237. "type": "array",
  35238. "items": {
  35239. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  35240. }
  35241. }
  35242. }
  35243. },
  35244. "models.WrBuybackDetail": {
  35245. "type": "object",
  35246. "properties": {
  35247. "buybackamount": {
  35248. "description": "回购金额",
  35249. "type": "number"
  35250. },
  35251. "buybackqty": {
  35252. "description": "回购数量",
  35253. "type": "number"
  35254. },
  35255. "buybackreleasemargin": {
  35256. "description": "回购释放保证金",
  35257. "type": "number"
  35258. },
  35259. "buybacktime": {
  35260. "description": "回购时间",
  35261. "type": "string"
  35262. },
  35263. "errordesc": {
  35264. "description": "错误描述",
  35265. "type": "string"
  35266. },
  35267. "handlestatus": {
  35268. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  35269. "type": "integer"
  35270. },
  35271. "relatedwrid": {
  35272. "description": "关联仓单ID",
  35273. "type": "integer"
  35274. },
  35275. "scfcontractid": {
  35276. "description": "SCF合同ID",
  35277. "type": "string"
  35278. },
  35279. "scfwrbuybackid": {
  35280. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  35281. "type": "integer"
  35282. },
  35283. "tradedate": {
  35284. "description": "交易日(yyyyMMdd)",
  35285. "type": "string"
  35286. }
  35287. }
  35288. },
  35289. "models.WrClientAdSpaceConfig": {
  35290. "type": "object",
  35291. "properties": {
  35292. "adspaceid": {
  35293. "description": "广告位ID",
  35294. "type": "integer"
  35295. },
  35296. "adspacename": {
  35297. "description": "广告位名称",
  35298. "type": "string"
  35299. },
  35300. "adspacetype": {
  35301. "description": "广告位类型 - 1:固定广告位",
  35302. "type": "integer"
  35303. },
  35304. "areauserid": {
  35305. "description": "所属机构ID",
  35306. "type": "integer"
  35307. },
  35308. "createdate": {
  35309. "description": "创建时间",
  35310. "type": "string"
  35311. },
  35312. "imagepath": {
  35313. "description": "图片",
  35314. "type": "string"
  35315. },
  35316. "modifierid": {
  35317. "description": "操作人",
  35318. "type": "integer"
  35319. },
  35320. "recsize": {
  35321. "description": "推荐尺寸",
  35322. "type": "string"
  35323. },
  35324. "title": {
  35325. "description": "标题",
  35326. "type": "string"
  35327. },
  35328. "updatedate": {
  35329. "description": "更新时间",
  35330. "type": "string"
  35331. },
  35332. "urlcontent": {
  35333. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  35334. "type": "string"
  35335. },
  35336. "urltype": {
  35337. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  35338. "type": "integer"
  35339. }
  35340. }
  35341. },
  35342. "models.WrDeliveryAvalidHoldLB": {
  35343. "type": "object",
  35344. "properties": {
  35345. "accountid": {
  35346. "description": "资金账号",
  35347. "type": "integer"
  35348. },
  35349. "avalidqty": {
  35350. "description": "数量(可点选数量)",
  35351. "type": "number"
  35352. },
  35353. "deliverygoodsid": {
  35354. "description": "品种id",
  35355. "type": "integer"
  35356. },
  35357. "enumdicname": {
  35358. "description": "单位名称",
  35359. "type": "string"
  35360. },
  35361. "goodsid": {
  35362. "description": "x合约商品id",
  35363. "type": "integer"
  35364. },
  35365. "ladingbillid": {
  35366. "description": "提单id",
  35367. "type": "string"
  35368. },
  35369. "pgoodscode": {
  35370. "description": "p商品代码(点价合约)",
  35371. "type": "string"
  35372. },
  35373. "pgoodsid": {
  35374. "description": "p商品id(点价合约)",
  35375. "type": "integer"
  35376. },
  35377. "pgoodsname": {
  35378. "description": "p商品名称(点价合约)",
  35379. "type": "string"
  35380. },
  35381. "pricemove": {
  35382. "description": "升贴水",
  35383. "type": "number"
  35384. },
  35385. "subnum": {
  35386. "description": "提单子id",
  35387. "type": "integer"
  35388. },
  35389. "userid": {
  35390. "description": "用户id",
  35391. "type": "integer"
  35392. },
  35393. "username": {
  35394. "description": "仓单持有人",
  35395. "type": "string"
  35396. },
  35397. "warehousecode": {
  35398. "description": "仓库代码",
  35399. "type": "string"
  35400. },
  35401. "warehouseid": {
  35402. "description": "仓库id",
  35403. "type": "integer"
  35404. },
  35405. "warehousename": {
  35406. "description": "仓库名称",
  35407. "type": "string"
  35408. },
  35409. "wrfactortypeid": {
  35410. "description": "仓单要素id",
  35411. "type": "string"
  35412. },
  35413. "wrstandardcode": {
  35414. "description": "品代码",
  35415. "type": "string"
  35416. },
  35417. "wrstandardid": {
  35418. "description": "品类d",
  35419. "type": "integer"
  35420. },
  35421. "wrstandardname": {
  35422. "description": "品类名称",
  35423. "type": "string"
  35424. },
  35425. "wrtypename": {
  35426. "description": "商品",
  35427. "type": "string"
  35428. },
  35429. "xgoodscode": {
  35430. "description": "x合约代码",
  35431. "type": "string"
  35432. },
  35433. "xgoodsname": {
  35434. "description": "x合约名称",
  35435. "type": "string"
  35436. }
  35437. }
  35438. },
  35439. "models.WrDeliveryDetail": {
  35440. "type": "object",
  35441. "properties": {
  35442. "accountid": {
  35443. "description": "账号ID",
  35444. "type": "integer"
  35445. },
  35446. "averageprice": {
  35447. "description": "交割均价 = 交割金额 / 交割数量",
  35448. "type": "number"
  35449. },
  35450. "begindate": {
  35451. "description": "开始交易日(yyyymmdd)",
  35452. "type": "string"
  35453. },
  35454. "buyorsell": {
  35455. "description": "方向 - 0:买 1:卖",
  35456. "type": "integer"
  35457. },
  35458. "deliveryamount": {
  35459. "description": "货款金额(X总货款+P总货款)",
  35460. "type": "number"
  35461. },
  35462. "deliveryid": {
  35463. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  35464. "type": "string"
  35465. },
  35466. "deliveryorderid": {
  35467. "description": "申报单号",
  35468. "type": "string"
  35469. },
  35470. "deliverypricemove": {
  35471. "description": "升贴水(升贴水总额)",
  35472. "type": "number"
  35473. },
  35474. "deliveryqty": {
  35475. "description": "交收数量(点选数量)",
  35476. "type": "number"
  35477. },
  35478. "deliverystatus": {
  35479. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  35480. "type": "integer"
  35481. },
  35482. "deliverytime": {
  35483. "description": "交割时间",
  35484. "type": "string"
  35485. },
  35486. "deliverytotalamount": {
  35487. "description": "交收金额",
  35488. "type": "number"
  35489. },
  35490. "enddate": {
  35491. "description": "结束交易日(yyyymmdd)",
  35492. "type": "string"
  35493. },
  35494. "enumdicname": {
  35495. "description": "单位名称",
  35496. "type": "string"
  35497. },
  35498. "matchaccountid": {
  35499. "description": "对手账号ID",
  35500. "type": "integer"
  35501. },
  35502. "matchusername": {
  35503. "description": "对手方名称(仓单持有人)",
  35504. "type": "string"
  35505. },
  35506. "p1goodsremainamount": {
  35507. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  35508. "type": "number"
  35509. },
  35510. "pdeliverycloseqty": {
  35511. "description": "p合约平仓数量",
  35512. "type": "number"
  35513. },
  35514. "pdeliveryprice": {
  35515. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  35516. "type": "number"
  35517. },
  35518. "pgoodscode": {
  35519. "description": "商品代码",
  35520. "type": "string"
  35521. },
  35522. "pgoodsid": {
  35523. "description": "p点选合约id",
  35524. "type": "integer"
  35525. },
  35526. "pgoodsname": {
  35527. "description": "商品名称",
  35528. "type": "string"
  35529. },
  35530. "ppricemode": {
  35531. "description": "点价价格方式 - 1:商品价 2:固定值",
  35532. "type": "integer"
  35533. },
  35534. "tradedate": {
  35535. "description": "交易日(yyyymmdd)",
  35536. "type": "string"
  35537. },
  35538. "userid": {
  35539. "description": "用户id",
  35540. "type": "integer"
  35541. },
  35542. "username": {
  35543. "description": "用户名称",
  35544. "type": "string"
  35545. },
  35546. "warehousename": {
  35547. "description": "仓库名称",
  35548. "type": "string"
  35549. },
  35550. "wrfactortypeid": {
  35551. "description": "仓单要素类型ID",
  35552. "type": "string"
  35553. },
  35554. "wrtypename": {
  35555. "description": "商品",
  35556. "type": "string"
  35557. },
  35558. "xdeliverycloseqty": {
  35559. "description": "合约数量",
  35560. "type": "number"
  35561. },
  35562. "xgoodsamount": {
  35563. "description": "合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)",
  35564. "type": "number"
  35565. },
  35566. "xgoodscode": {
  35567. "description": "商品代码",
  35568. "type": "string"
  35569. },
  35570. "xgoodsid": {
  35571. "description": "x交易合约ID",
  35572. "type": "integer"
  35573. },
  35574. "xgoodsname": {
  35575. "description": "商品名称",
  35576. "type": "string"
  35577. }
  35578. }
  35579. },
  35580. "models.WrDeliveryGoodsSection": {
  35581. "type": "object",
  35582. "properties": {
  35583. "dglst": {
  35584. "description": "板块商品列表",
  35585. "type": "array",
  35586. "items": {
  35587. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  35588. }
  35589. },
  35590. "imagepath": {
  35591. "description": "图片地址",
  35592. "type": "string"
  35593. },
  35594. "orderindex": {
  35595. "description": "排序",
  35596. "type": "integer"
  35597. },
  35598. "sectionid": {
  35599. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  35600. "type": "integer"
  35601. },
  35602. "sectionname": {
  35603. "description": "版块名称",
  35604. "type": "string"
  35605. },
  35606. "sectiontype": {
  35607. "description": "版块类型 - 1:指数版块 2:普通版块",
  35608. "type": "integer"
  35609. }
  35610. }
  35611. },
  35612. "models.WrDeliveryGoodsSectionConfig": {
  35613. "type": "object",
  35614. "properties": {
  35615. "deliverygoodscode": {
  35616. "description": "现货商品代码",
  35617. "type": "string"
  35618. },
  35619. "deliverygoodsid": {
  35620. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  35621. "type": "integer"
  35622. },
  35623. "deliverygoodsname": {
  35624. "description": "现货商品名称",
  35625. "type": "string"
  35626. },
  35627. "orderindex": {
  35628. "description": "排序",
  35629. "type": "integer"
  35630. }
  35631. }
  35632. },
  35633. "models.WrDraftUserInfo": {
  35634. "type": "object",
  35635. "properties": {
  35636. "address": {
  35637. "description": "地址",
  35638. "type": "string"
  35639. },
  35640. "attachment1": {
  35641. "description": "附件1",
  35642. "type": "string"
  35643. },
  35644. "attachment2": {
  35645. "description": "附件2",
  35646. "type": "string"
  35647. },
  35648. "attachment3": {
  35649. "description": "附件3",
  35650. "type": "string"
  35651. },
  35652. "attachment4": {
  35653. "description": "附件4",
  35654. "type": "string"
  35655. },
  35656. "attachment5": {
  35657. "description": "附件5",
  35658. "type": "string"
  35659. },
  35660. "bankaccount": {
  35661. "description": "银行帐号 (加密存储)",
  35662. "type": "string"
  35663. },
  35664. "bankaccountname": {
  35665. "description": "收款人名称",
  35666. "type": "string"
  35667. },
  35668. "bankcardfrontphotourl": {
  35669. "description": "银行卡正面照地址",
  35670. "type": "string"
  35671. },
  35672. "bankid": {
  35673. "description": "银行编码",
  35674. "type": "string"
  35675. },
  35676. "bankname": {
  35677. "description": "银行名称",
  35678. "type": "string"
  35679. },
  35680. "birthday": {
  35681. "description": "生日(个人:年月日)",
  35682. "type": "string"
  35683. },
  35684. "biznature": {
  35685. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  35686. "type": "integer"
  35687. },
  35688. "bizscope": {
  35689. "description": "企业经营范围(企业)",
  35690. "type": "string"
  35691. },
  35692. "biztype": {
  35693. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  35694. "type": "integer"
  35695. },
  35696. "cardbackphotourl": {
  35697. "description": "证件背面图片地址",
  35698. "type": "string"
  35699. },
  35700. "cardfrontphotourl": {
  35701. "description": "证件正面图片地址",
  35702. "type": "string"
  35703. },
  35704. "cardnum": {
  35705. "description": "证件号码(加密存储)",
  35706. "type": "string"
  35707. },
  35708. "cardtypeid": {
  35709. "description": "证件类型ID",
  35710. "type": "integer"
  35711. },
  35712. "cityid": {
  35713. "description": "市",
  35714. "type": "integer"
  35715. },
  35716. "company": {
  35717. "description": "公司(个人)",
  35718. "type": "string"
  35719. },
  35720. "contactcardbackphotourl": {
  35721. "description": "联系人证件背面图片地址",
  35722. "type": "string"
  35723. },
  35724. "contactcardfrontphotourl": {
  35725. "description": "联系人证件正面图片地址",
  35726. "type": "string"
  35727. },
  35728. "contactname": {
  35729. "description": "联系人",
  35730. "type": "string"
  35731. },
  35732. "countryid": {
  35733. "description": "国家",
  35734. "type": "integer"
  35735. },
  35736. "createtime": {
  35737. "description": "创建时间",
  35738. "type": "string"
  35739. },
  35740. "creatorid": {
  35741. "description": "创建人",
  35742. "type": "integer"
  35743. },
  35744. "creditquota": {
  35745. "description": "授信额度(金瑞)",
  35746. "type": "number"
  35747. },
  35748. "customername": {
  35749. "description": "客户名称(企业名称)",
  35750. "type": "string"
  35751. },
  35752. "districtid": {
  35753. "description": "地区",
  35754. "type": "integer"
  35755. },
  35756. "email": {
  35757. "description": "邮件(加密存储)",
  35758. "type": "string"
  35759. },
  35760. "fax": {
  35761. "description": "传真(加密存储)",
  35762. "type": "string"
  35763. },
  35764. "halfbodyphotourl": {
  35765. "description": "半身照地址",
  35766. "type": "string"
  35767. },
  35768. "hasencrypt": {
  35769. "description": "数据是否已加密 - 0:未加密 1:已加密",
  35770. "type": "integer"
  35771. },
  35772. "headurl": {
  35773. "description": "头像地址",
  35774. "type": "string"
  35775. },
  35776. "legalcardbackphotourl": {
  35777. "description": "法人身份证背面照地址",
  35778. "type": "string"
  35779. },
  35780. "legalcardfrontphotourl": {
  35781. "description": "法人身份证正面照地址",
  35782. "type": "string"
  35783. },
  35784. "legalpersonname": {
  35785. "description": "法人姓名(企业)",
  35786. "type": "string"
  35787. },
  35788. "mobile": {
  35789. "description": "手机号码(加密存储)",
  35790. "type": "string"
  35791. },
  35792. "mobile2": {
  35793. "description": "手机号码[明文-尚志]",
  35794. "type": "string"
  35795. },
  35796. "modifierid": {
  35797. "description": "修改人",
  35798. "type": "integer"
  35799. },
  35800. "modifiertime": {
  35801. "description": "修改时间",
  35802. "type": "string"
  35803. },
  35804. "needinvoice": {
  35805. "description": "是否需要发票 - 0:不需要 1:需要",
  35806. "type": "integer"
  35807. },
  35808. "nickname": {
  35809. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  35810. "type": "string"
  35811. },
  35812. "openmode": {
  35813. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  35814. "type": "integer"
  35815. },
  35816. "otherurl": {
  35817. "description": "其它图片地址[使用分号分隔]",
  35818. "type": "string"
  35819. },
  35820. "postalcode": {
  35821. "description": "邮政编码",
  35822. "type": "string"
  35823. },
  35824. "provinceid": {
  35825. "description": "省",
  35826. "type": "integer"
  35827. },
  35828. "proxystatementurl": {
  35829. "description": "授权委托书",
  35830. "type": "string"
  35831. },
  35832. "qq": {
  35833. "description": "QQ(加密存储",
  35834. "type": "string"
  35835. },
  35836. "remark": {
  35837. "description": "备注",
  35838. "type": "string"
  35839. },
  35840. "sex": {
  35841. "description": "用户性别 0: 女 1: 男",
  35842. "type": "integer"
  35843. },
  35844. "signpdfurl": {
  35845. "description": "签约pdf文件",
  35846. "type": "string"
  35847. },
  35848. "taxpayernum": {
  35849. "description": "纳税人识别号",
  35850. "type": "string"
  35851. },
  35852. "telphone": {
  35853. "description": "联系电话(加密存储)",
  35854. "type": "string"
  35855. },
  35856. "userid": {
  35857. "description": "用户ID",
  35858. "type": "integer"
  35859. },
  35860. "userinfotype": {
  35861. "description": "用户信息类型 - 1:个人 2:企业",
  35862. "type": "integer"
  35863. },
  35864. "userstatus": {
  35865. "description": "用户状态 - 1:正常 2:注销",
  35866. "type": "integer"
  35867. },
  35868. "usertype": {
  35869. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  35870. "type": "integer"
  35871. },
  35872. "wechat": {
  35873. "description": "微信(加密存储)",
  35874. "type": "string"
  35875. },
  35876. "wskhinfo": {
  35877. "description": "开户申请信息(JSON)",
  35878. "type": "string"
  35879. }
  35880. }
  35881. },
  35882. "models.WrFAProductDetail": {
  35883. "type": "object",
  35884. "properties": {
  35885. "accountid": {
  35886. "description": "资金账号",
  35887. "type": "integer"
  35888. },
  35889. "areauserid": {
  35890. "description": "金融机构ID",
  35891. "type": "integer"
  35892. },
  35893. "financingdays": {
  35894. "description": "天数(天)",
  35895. "type": "integer"
  35896. },
  35897. "interestminlen": {
  35898. "description": "最小起息天数",
  35899. "type": "integer"
  35900. },
  35901. "interestrate": {
  35902. "description": "利率",
  35903. "type": "number"
  35904. },
  35905. "interestratemode": {
  35906. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  35907. "type": "integer"
  35908. },
  35909. "interestsettlemode": {
  35910. "description": "结息方式 - 1:按日结息 3:按月结息",
  35911. "type": "integer"
  35912. },
  35913. "interestsettlevalue": {
  35914. "description": "结息方式值",
  35915. "type": "integer"
  35916. },
  35917. "isautoloan": {
  35918. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  35919. "type": "integer"
  35920. },
  35921. "loantag": {
  35922. "description": "放款标识: \"放款快\" 或者为空",
  35923. "type": "string"
  35924. },
  35925. "marginratio": {
  35926. "description": "保证金比率质押率 - [仓单质押]",
  35927. "type": "number"
  35928. },
  35929. "productdetailid": {
  35930. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  35931. "type": "integer"
  35932. },
  35933. "productid": {
  35934. "description": "金融产品ID",
  35935. "type": "integer"
  35936. },
  35937. "productname": {
  35938. "description": "产品名称",
  35939. "type": "string"
  35940. },
  35941. "updatetime": {
  35942. "description": "更新时间",
  35943. "type": "string"
  35944. },
  35945. "username": {
  35946. "description": "融出方",
  35947. "type": "string"
  35948. }
  35949. }
  35950. },
  35951. "models.WrFactorTypeInfo": {
  35952. "type": "object",
  35953. "properties": {
  35954. "deliverygoodscode": {
  35955. "description": "品种代码",
  35956. "type": "string"
  35957. },
  35958. "deliverygoodsname": {
  35959. "description": "品种名称",
  35960. "type": "string"
  35961. },
  35962. "dgfactoryitemid": {
  35963. "description": "选择项id",
  35964. "type": "integer"
  35965. },
  35966. "dgfactoryitemtypeid": {
  35967. "description": "要素选择项ID (1-仓库 2-品牌)",
  35968. "type": "integer"
  35969. },
  35970. "dgfactoryitemvalue": {
  35971. "description": "要素项值",
  35972. "type": "string"
  35973. },
  35974. "itemtypename": {
  35975. "description": "要素项名称",
  35976. "type": "string"
  35977. },
  35978. "optioncompare": {
  35979. "description": "选择比较串",
  35980. "type": "string"
  35981. },
  35982. "warehouseid": {
  35983. "description": "仓库id",
  35984. "type": "integer"
  35985. },
  35986. "wrfactortypeid": {
  35987. "description": "仓单要素ID",
  35988. "type": "string"
  35989. },
  35990. "wrfactortypename": {
  35991. "description": "要素名称",
  35992. "type": "string"
  35993. },
  35994. "wrfactortypename2": {
  35995. "description": "要素名称(不含仓库)",
  35996. "type": "string"
  35997. },
  35998. "wrstandardcode": {
  35999. "description": "品类代码",
  36000. "type": "string"
  36001. },
  36002. "wrstandardid": {
  36003. "description": "品类id",
  36004. "type": "integer"
  36005. },
  36006. "wrstandardname": {
  36007. "description": "品类名称",
  36008. "type": "string"
  36009. }
  36010. }
  36011. },
  36012. "models.WrFilterItem": {
  36013. "type": "object",
  36014. "properties": {
  36015. "itemcode": {
  36016. "description": "代码",
  36017. "type": "string"
  36018. },
  36019. "itemid": {
  36020. "description": "项id",
  36021. "type": "integer"
  36022. },
  36023. "itemname": {
  36024. "description": "名称",
  36025. "type": "string"
  36026. },
  36027. "itemtype": {
  36028. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  36029. "type": "integer"
  36030. }
  36031. }
  36032. },
  36033. "models.WrFinanceBuyApply": {
  36034. "type": "object",
  36035. "properties": {
  36036. "applydate": {
  36037. "description": "申请时间",
  36038. "type": "string"
  36039. },
  36040. "applystatus": {
  36041. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  36042. "type": "integer"
  36043. },
  36044. "applyuserid": {
  36045. "description": "申请人",
  36046. "type": "integer"
  36047. },
  36048. "auditdate": {
  36049. "description": "审核时间",
  36050. "type": "string"
  36051. },
  36052. "auditremark": {
  36053. "description": "审核备注",
  36054. "type": "string"
  36055. },
  36056. "audituserid": {
  36057. "description": "审核人",
  36058. "type": "integer"
  36059. },
  36060. "buyaccountid": {
  36061. "description": "买方资金账号",
  36062. "type": "integer"
  36063. },
  36064. "buyorsell": {
  36065. "description": "买卖 - 0:买 1:卖",
  36066. "type": "integer"
  36067. },
  36068. "buyuserid": {
  36069. "description": "买方用户ID",
  36070. "type": "integer"
  36071. },
  36072. "buyusername": {
  36073. "description": "买方名称",
  36074. "type": "string"
  36075. },
  36076. "buywrtradeorderid": {
  36077. "description": "融资方买委托单ID",
  36078. "type": "string"
  36079. },
  36080. "deliverygoodscode": {
  36081. "description": "品种代码",
  36082. "type": "string"
  36083. },
  36084. "deliverygoodsid": {
  36085. "description": "品种ID",
  36086. "type": "integer"
  36087. },
  36088. "deliverygoodsname": {
  36089. "description": "品种名称",
  36090. "type": "string"
  36091. },
  36092. "deliverymonth": {
  36093. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  36094. "type": "string"
  36095. },
  36096. "enumdicname": {
  36097. "description": "单位名称",
  36098. "type": "string"
  36099. },
  36100. "financeaccountid": {
  36101. "description": "融资方资金帐户ID",
  36102. "type": "integer"
  36103. },
  36104. "financeapplyid": {
  36105. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36106. "type": "string"
  36107. },
  36108. "financeareauserid": {
  36109. "description": "融资方用户ID",
  36110. "type": "string"
  36111. },
  36112. "financename": {
  36113. "description": "融出方名称",
  36114. "type": "string"
  36115. },
  36116. "financetype": {
  36117. "description": "融资类型 1-融资回购",
  36118. "type": "integer"
  36119. },
  36120. "financingdays": {
  36121. "description": "天数(天)",
  36122. "type": "integer"
  36123. },
  36124. "freezebuymargin": {
  36125. "description": "冻结融资保证金(买方)",
  36126. "type": "number"
  36127. },
  36128. "handleremark": {
  36129. "description": "处理备注",
  36130. "type": "string"
  36131. },
  36132. "handlestatus": {
  36133. "description": "处理状态",
  36134. "type": "integer"
  36135. },
  36136. "interestminlen": {
  36137. "description": "最小起息天数",
  36138. "type": "integer"
  36139. },
  36140. "interestrate": {
  36141. "description": "利率",
  36142. "type": "number"
  36143. },
  36144. "interestratemode": {
  36145. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  36146. "type": "integer"
  36147. },
  36148. "interestsettlemode": {
  36149. "description": "结息方式 - 1:按日结息 3:按月结息",
  36150. "type": "integer"
  36151. },
  36152. "interestsettlevalue": {
  36153. "description": "结息方式值",
  36154. "type": "integer"
  36155. },
  36156. "isautoloan": {
  36157. "description": "是否自动放款 - 0:手动 1:自动",
  36158. "type": "integer"
  36159. },
  36160. "marginratio": {
  36161. "description": "保证金比率质押率 - [仓单质押]",
  36162. "type": "number"
  36163. },
  36164. "marketid": {
  36165. "description": "市场ID",
  36166. "type": "integer"
  36167. },
  36168. "minivalue": {
  36169. "description": "现货商品最小变动值",
  36170. "type": "integer"
  36171. },
  36172. "optioncompare": {
  36173. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36174. "type": "string"
  36175. },
  36176. "orderqty": {
  36177. "description": "委托数量(商品数量)",
  36178. "type": "number"
  36179. },
  36180. "productdetailid": {
  36181. "description": "产品组合ID",
  36182. "type": "integer"
  36183. },
  36184. "productid": {
  36185. "description": "金融产品ID",
  36186. "type": "integer"
  36187. },
  36188. "productname": {
  36189. "description": "产品名称",
  36190. "type": "string"
  36191. },
  36192. "remark": {
  36193. "description": "备注",
  36194. "type": "string"
  36195. },
  36196. "scfcontractid": {
  36197. "description": "仓单回购合同ID",
  36198. "type": "string"
  36199. },
  36200. "sellaccountid": {
  36201. "description": "卖方资金账号",
  36202. "type": "integer"
  36203. },
  36204. "selluserid": {
  36205. "description": "卖方用户ID",
  36206. "type": "integer"
  36207. },
  36208. "sellwrtradeorderid": {
  36209. "description": "卖方委托单ID",
  36210. "type": "string"
  36211. },
  36212. "tradeamount": {
  36213. "description": "成交金额(借款金额)",
  36214. "type": "number"
  36215. },
  36216. "tradedate": {
  36217. "description": "交易日(yyyyMMdd)",
  36218. "type": "string"
  36219. },
  36220. "tradeprice": {
  36221. "description": "成交价格",
  36222. "type": "number"
  36223. },
  36224. "warehouseid": {
  36225. "description": "仓库ID",
  36226. "type": "integer"
  36227. },
  36228. "warehousename": {
  36229. "description": "仓库名称",
  36230. "type": "string"
  36231. },
  36232. "wrfactortypeid": {
  36233. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36234. "type": "string"
  36235. },
  36236. "wrfactortypename": {
  36237. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36238. "type": "string"
  36239. },
  36240. "wrpricetype": {
  36241. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  36242. "type": "integer"
  36243. },
  36244. "wrstandardcode": {
  36245. "description": "现货商品代码",
  36246. "type": "string"
  36247. },
  36248. "wrstandardid": {
  36249. "description": "现货商品ID",
  36250. "type": "integer"
  36251. },
  36252. "wrstandardname": {
  36253. "description": "商品名称",
  36254. "type": "string"
  36255. },
  36256. "wrtypename": {
  36257. "description": "商品",
  36258. "type": "string"
  36259. }
  36260. }
  36261. },
  36262. "models.WrFriendApply": {
  36263. "type": "object",
  36264. "properties": {
  36265. "applicantid": {
  36266. "description": "申请人",
  36267. "type": "integer"
  36268. },
  36269. "applyname": {
  36270. "description": "申请人名称",
  36271. "type": "string"
  36272. },
  36273. "applysrc": {
  36274. "description": "申请来源 - 1:管理端 2:终端",
  36275. "type": "integer"
  36276. },
  36277. "applystatus": {
  36278. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  36279. "type": "integer"
  36280. },
  36281. "applytime": {
  36282. "description": "申请时间",
  36283. "type": "string"
  36284. },
  36285. "auditname": {
  36286. "description": "审核人名称",
  36287. "type": "string"
  36288. },
  36289. "auditorid": {
  36290. "description": "审核人",
  36291. "type": "integer"
  36292. },
  36293. "auditremark": {
  36294. "description": "审核备注",
  36295. "type": "string"
  36296. },
  36297. "auditsrc": {
  36298. "description": "审核来源 - 1:管理端 2:终端",
  36299. "type": "integer"
  36300. },
  36301. "audittime": {
  36302. "description": "审核时间",
  36303. "type": "string"
  36304. },
  36305. "friendapplyid": {
  36306. "description": "申请ID(SEQ_FRIENDAPPLY)",
  36307. "type": "string"
  36308. },
  36309. "friendname": {
  36310. "description": "好友名字(已脱敏)",
  36311. "type": "string"
  36312. },
  36313. "frienduserid": {
  36314. "description": "好友用户ID",
  36315. "type": "string"
  36316. },
  36317. "remark": {
  36318. "description": "备注",
  36319. "type": "string"
  36320. },
  36321. "userid": {
  36322. "description": "申请人用户ID",
  36323. "type": "integer"
  36324. }
  36325. }
  36326. },
  36327. "models.WrFtDeliveryGoods": {
  36328. "type": "object",
  36329. "properties": {
  36330. "deliverygoodscode": {
  36331. "description": "品种代码",
  36332. "type": "string"
  36333. },
  36334. "deliverygoodsid": {
  36335. "description": "品种ID",
  36336. "type": "integer"
  36337. },
  36338. "deliverygoodsname": {
  36339. "description": "品种名称",
  36340. "type": "string"
  36341. },
  36342. "wdlst": {
  36343. "description": "商品列表",
  36344. "type": "array",
  36345. "items": {
  36346. "$ref": "#/definitions/models.WrFtWrstandard"
  36347. }
  36348. }
  36349. }
  36350. },
  36351. "models.WrFtWrstandard": {
  36352. "type": "object",
  36353. "properties": {
  36354. "enumdicname": {
  36355. "description": "单位名称",
  36356. "type": "string"
  36357. },
  36358. "minivalue": {
  36359. "description": "最小变动值",
  36360. "type": "integer"
  36361. },
  36362. "wrstandardcode": {
  36363. "description": "现货商品代码",
  36364. "type": "string"
  36365. },
  36366. "wrstandardid": {
  36367. "description": "现货商品ID",
  36368. "type": "integer"
  36369. },
  36370. "wrstandardname": {
  36371. "description": "商品名称",
  36372. "type": "string"
  36373. }
  36374. }
  36375. },
  36376. "models.WrGoodsInfo": {
  36377. "type": "object",
  36378. "properties": {
  36379. "haswr": {
  36380. "description": "0:仓单预售 1:仓单贸易",
  36381. "type": "integer"
  36382. },
  36383. "lstitem": {
  36384. "description": "商品信息项",
  36385. "type": "array",
  36386. "items": {
  36387. "$ref": "#/definitions/models.WrTypeItem"
  36388. }
  36389. },
  36390. "lststep": {
  36391. "description": "履约规则",
  36392. "type": "array",
  36393. "items": {
  36394. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  36395. }
  36396. },
  36397. "marketid": {
  36398. "description": "市场id",
  36399. "type": "integer"
  36400. }
  36401. }
  36402. },
  36403. "models.WrGoodsPerformanceStep": {
  36404. "type": "object",
  36405. "properties": {
  36406. "autoid": {
  36407. "description": "AutoID",
  36408. "type": "integer"
  36409. },
  36410. "isauto": {
  36411. "description": "是否自动 - 0:不自动 1:自动",
  36412. "type": "integer"
  36413. },
  36414. "remark": {
  36415. "description": "备注",
  36416. "type": "string"
  36417. },
  36418. "stepdate": {
  36419. "description": "天数信息(T+N)",
  36420. "type": "string"
  36421. },
  36422. "stepdays": {
  36423. "description": "距离上一步天数",
  36424. "type": "integer"
  36425. },
  36426. "stepindex": {
  36427. "description": "步骤序号",
  36428. "type": "integer"
  36429. },
  36430. "stepinfo": {
  36431. "description": "步骤信息(步骤名称+步骤值)",
  36432. "type": "string"
  36433. },
  36434. "steptypeid": {
  36435. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  36436. "type": "integer"
  36437. },
  36438. "steptypename": {
  36439. "description": "步骤名称",
  36440. "type": "string"
  36441. },
  36442. "stepvalue": {
  36443. "description": "步骤值",
  36444. "type": "number"
  36445. },
  36446. "templateid": {
  36447. "description": "履约计划模板ID",
  36448. "type": "integer"
  36449. }
  36450. }
  36451. },
  36452. "models.WrHoldLB": {
  36453. "type": "object",
  36454. "properties": {
  36455. "accountid": {
  36456. "description": "持有人帐户ID",
  36457. "type": "integer"
  36458. },
  36459. "bannerpicurl": {
  36460. "description": "Banner图",
  36461. "type": "string"
  36462. },
  36463. "createtime": {
  36464. "description": "创建时间(过户时间)",
  36465. "type": "string"
  36466. },
  36467. "deliverygoodscode": {
  36468. "description": "品种代码",
  36469. "type": "string"
  36470. },
  36471. "deliverygoodsid": {
  36472. "description": "品种ID",
  36473. "type": "integer"
  36474. },
  36475. "deliverygoodsname": {
  36476. "description": "品种名称",
  36477. "type": "string"
  36478. },
  36479. "enableqty": {
  36480. "description": "可用数量",
  36481. "type": "number"
  36482. },
  36483. "enumdicname": {
  36484. "description": "单位名称",
  36485. "type": "string"
  36486. },
  36487. "freezerqty": {
  36488. "description": "冻结数量",
  36489. "type": "number"
  36490. },
  36491. "ladingbillid": {
  36492. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  36493. "type": "string"
  36494. },
  36495. "minivalue": {
  36496. "description": "现货商品最小变动值",
  36497. "type": "integer"
  36498. },
  36499. "optioncompare": {
  36500. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36501. "type": "string"
  36502. },
  36503. "parentsubnum": {
  36504. "description": "拆分父子单号",
  36505. "type": "integer"
  36506. },
  36507. "pledgeqty": {
  36508. "description": "质押数量",
  36509. "type": "number"
  36510. },
  36511. "qty": {
  36512. "description": "数量",
  36513. "type": "number"
  36514. },
  36515. "subnum": {
  36516. "description": "提单子单号",
  36517. "type": "integer"
  36518. },
  36519. "thumurls": {
  36520. "description": "缩略图",
  36521. "type": "string"
  36522. },
  36523. "tradedate": {
  36524. "description": "交易日(yyyyMMdd)",
  36525. "type": "string"
  36526. },
  36527. "userid": {
  36528. "description": "持有人ID",
  36529. "type": "integer"
  36530. },
  36531. "warehouseid": {
  36532. "description": "仓库ID",
  36533. "type": "integer"
  36534. },
  36535. "warehousename": {
  36536. "description": "仓库名称",
  36537. "type": "string"
  36538. },
  36539. "wrfactortypeid": {
  36540. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36541. "type": "string"
  36542. },
  36543. "wrfactortypename": {
  36544. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36545. "type": "string"
  36546. },
  36547. "wrholdeno": {
  36548. "description": "仓单编号",
  36549. "type": "string"
  36550. },
  36551. "wrid": {
  36552. "description": "仓单变更ID",
  36553. "type": "string"
  36554. },
  36555. "wrstandardcode": {
  36556. "description": "现货商品代码",
  36557. "type": "string"
  36558. },
  36559. "wrstandardid": {
  36560. "description": "现货商品ID",
  36561. "type": "integer"
  36562. },
  36563. "wrstandardname": {
  36564. "description": "商品名称",
  36565. "type": "string"
  36566. },
  36567. "wrtypename": {
  36568. "description": "商品",
  36569. "type": "string"
  36570. }
  36571. }
  36572. },
  36573. "models.WrMarketTradeConfig": {
  36574. "type": "object",
  36575. "properties": {
  36576. "basisdownratio": {
  36577. "description": "浮动价基差下限比例(仓单贸易)",
  36578. "type": "number"
  36579. },
  36580. "basisupratio": {
  36581. "description": "浮动价基差上限比例(仓单贸易)",
  36582. "type": "number"
  36583. },
  36584. "buychargealgorithm": {
  36585. "description": "买方手续费收取方式 1:比率 2:固定",
  36586. "type": "integer"
  36587. },
  36588. "buychargealgorithm2": {
  36589. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  36590. "type": "integer"
  36591. },
  36592. "buychargealgorithmvalue": {
  36593. "description": "买方手续费设置值(交易所部分)",
  36594. "type": "number"
  36595. },
  36596. "buychargealgorithmvalue2": {
  36597. "description": "买方手续费设置值(会员部分)",
  36598. "type": "number"
  36599. },
  36600. "buychargealgorithmvalue3": {
  36601. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  36602. "type": "number"
  36603. },
  36604. "buychargealgorithmvalue4": {
  36605. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  36606. "type": "number"
  36607. },
  36608. "buyfirstmarginalgorithm": {
  36609. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  36610. "type": "integer"
  36611. },
  36612. "buyfirstmarginvalue": {
  36613. "description": "买方出价保证金设置值 - [竞拍]",
  36614. "type": "number"
  36615. },
  36616. "buymarginalgorithm": {
  36617. "description": "买方保证金方式 - 1:比率 2:固定",
  36618. "type": "integer"
  36619. },
  36620. "buymarginvalue": {
  36621. "description": "买方保证金设置值",
  36622. "type": "number"
  36623. },
  36624. "buyreleaseratio": {
  36625. "description": "买方释放比率[2:分步履约]",
  36626. "type": "number"
  36627. },
  36628. "executemode": {
  36629. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  36630. "type": "integer"
  36631. },
  36632. "executeside": {
  36633. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  36634. "type": "integer"
  36635. },
  36636. "failedchargealgorithm": {
  36637. "description": "流拍手续费收取方式 1:比率 2:固定",
  36638. "type": "integer"
  36639. },
  36640. "failedchargevalue": {
  36641. "description": "流拍手续费设置值",
  36642. "type": "number"
  36643. },
  36644. "failedchargevalue2": {
  36645. "description": "流拍卖方手续费设置值",
  36646. "type": "number"
  36647. },
  36648. "holddays": {
  36649. "description": "合同期限[2:分步履约]",
  36650. "type": "integer"
  36651. },
  36652. "listingmode": {
  36653. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  36654. "type": "integer"
  36655. },
  36656. "marketid": {
  36657. "description": "市场ID-仓单贸易、竞拍、预售",
  36658. "type": "integer"
  36659. },
  36660. "minqty": {
  36661. "description": "最小执行量[2:分步履约]",
  36662. "type": "number"
  36663. },
  36664. "modifierid": {
  36665. "description": "修改人",
  36666. "type": "integer"
  36667. },
  36668. "nowrquotaflag": {
  36669. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  36670. "type": "integer"
  36671. },
  36672. "performancetempid": {
  36673. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  36674. "type": "integer"
  36675. },
  36676. "performancetempid2": {
  36677. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  36678. "type": "integer"
  36679. },
  36680. "performancetempid2s": {
  36681. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  36682. "type": "string"
  36683. },
  36684. "performancetempids": {
  36685. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  36686. "type": "string"
  36687. },
  36688. "performanceway": {
  36689. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  36690. "type": "integer"
  36691. },
  36692. "sellchargealgorithm": {
  36693. "description": "卖方手续费收取方式 1:比率 2:固定",
  36694. "type": "integer"
  36695. },
  36696. "sellchargealgorithm2": {
  36697. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  36698. "type": "integer"
  36699. },
  36700. "sellchargealgorithmvalue": {
  36701. "description": "卖方手续费设置值(交易所部分)",
  36702. "type": "number"
  36703. },
  36704. "sellchargealgorithmvalue2": {
  36705. "description": "卖方手续费设置值(会员部分)",
  36706. "type": "number"
  36707. },
  36708. "sellchargealgorithmvalue3": {
  36709. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  36710. "type": "number"
  36711. },
  36712. "sellchargealgorithmvalue4": {
  36713. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  36714. "type": "number"
  36715. },
  36716. "sellmarginalgorithm": {
  36717. "description": "卖方保证金方式 - 1:比率 2:固定",
  36718. "type": "integer"
  36719. },
  36720. "sellmarginvalue": {
  36721. "description": "卖方保证金设置值",
  36722. "type": "number"
  36723. },
  36724. "sellmarginvalue2": {
  36725. "description": "卖方保证金设置值(无仓单)",
  36726. "type": "number"
  36727. },
  36728. "sellreleaseratio": {
  36729. "description": "卖方释放比率[2:分步履约]",
  36730. "type": "number"
  36731. },
  36732. "updatetime": {
  36733. "description": "更新时间",
  36734. "type": "string"
  36735. }
  36736. }
  36737. },
  36738. "models.WrOrderDetail": {
  36739. "type": "object",
  36740. "properties": {
  36741. "accountid": {
  36742. "description": "交易账号(资金账号)",
  36743. "type": "integer"
  36744. },
  36745. "allfriendsflag": {
  36746. "description": "是否全好友可见 - 0:否 1:是",
  36747. "type": "integer"
  36748. },
  36749. "amount": {
  36750. "description": "挂牌金额 = 委托数量 * 固定价或升贴水",
  36751. "type": "number"
  36752. },
  36753. "bannerpicurl": {
  36754. "description": "Banner图",
  36755. "type": "string"
  36756. },
  36757. "begindate": {
  36758. "description": "开始交易日(yyyymmdd)",
  36759. "type": "string"
  36760. },
  36761. "buyorsell": {
  36762. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  36763. "type": "integer"
  36764. },
  36765. "canbargain": {
  36766. "description": "是否可议价 - 0:不可 1:可",
  36767. "type": "integer"
  36768. },
  36769. "cancelqty": {
  36770. "description": "撤销数量",
  36771. "type": "number"
  36772. },
  36773. "canpart": {
  36774. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  36775. "type": "integer"
  36776. },
  36777. "delistminqty": {
  36778. "description": "起摘数量",
  36779. "type": "integer"
  36780. },
  36781. "deliverygoodscode": {
  36782. "description": "品种代码",
  36783. "type": "string"
  36784. },
  36785. "deliverygoodsid": {
  36786. "description": "品种ID",
  36787. "type": "integer"
  36788. },
  36789. "deliverygoodsname": {
  36790. "description": "品种名称",
  36791. "type": "string"
  36792. },
  36793. "deliverymonth": {
  36794. "description": "交收月",
  36795. "type": "string"
  36796. },
  36797. "enddate": {
  36798. "description": "结束交易日(yyyymmdd)",
  36799. "type": "string"
  36800. },
  36801. "enumdicname": {
  36802. "description": "单位名称",
  36803. "type": "string"
  36804. },
  36805. "fixedprice": {
  36806. "description": "固定价格 - [挂牌]",
  36807. "type": "number"
  36808. },
  36809. "freezecharge": {
  36810. "description": "冻结手续费",
  36811. "type": "number"
  36812. },
  36813. "freezemargin": {
  36814. "description": "冻结保证金(保证金)",
  36815. "type": "number"
  36816. },
  36817. "futupricemove": {
  36818. "description": "期货升贴水",
  36819. "type": "number"
  36820. },
  36821. "futushow": {
  36822. "description": "期货合约/升贴水",
  36823. "type": "string"
  36824. },
  36825. "goodscode": {
  36826. "description": "期货合约",
  36827. "type": "string"
  36828. },
  36829. "goodsid": {
  36830. "description": "期货商品id",
  36831. "type": "integer"
  36832. },
  36833. "goodsname": {
  36834. "description": "商品名称",
  36835. "type": "string"
  36836. },
  36837. "haswr": {
  36838. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  36839. "type": "integer"
  36840. },
  36841. "isspecified": {
  36842. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  36843. "type": "integer"
  36844. },
  36845. "ladingbillid": {
  36846. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  36847. "type": "string"
  36848. },
  36849. "marginvalue": {
  36850. "description": "保证金设置值(履约保证金)",
  36851. "type": "number"
  36852. },
  36853. "marketid": {
  36854. "description": "市场ID",
  36855. "type": "integer"
  36856. },
  36857. "matchusername": {
  36858. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  36859. "type": "string"
  36860. },
  36861. "minivalue": {
  36862. "description": "现货商品最小变动值",
  36863. "type": "integer"
  36864. },
  36865. "optioncompare": {
  36866. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  36867. "type": "string"
  36868. },
  36869. "orderqty": {
  36870. "description": "委托数量",
  36871. "type": "number"
  36872. },
  36873. "ordertime": {
  36874. "description": "委托时间(挂牌时间)",
  36875. "type": "string"
  36876. },
  36877. "performancetemplateid": {
  36878. "description": "履约模板id",
  36879. "type": "integer"
  36880. },
  36881. "pricemove": {
  36882. "description": "升贴水(浮动价时填写) - [挂牌]",
  36883. "type": "number"
  36884. },
  36885. "taname": {
  36886. "description": "交易用户名称(资金账号名称)",
  36887. "type": "string"
  36888. },
  36889. "thumurls": {
  36890. "description": "缩略图",
  36891. "type": "string"
  36892. },
  36893. "tradedate": {
  36894. "description": "交易日(yyyyMMdd)",
  36895. "type": "string"
  36896. },
  36897. "tradeprice": {
  36898. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  36899. "type": "number"
  36900. },
  36901. "tradeqty": {
  36902. "description": "成交数量",
  36903. "type": "number"
  36904. },
  36905. "userid": {
  36906. "description": "用户ID",
  36907. "type": "integer"
  36908. },
  36909. "validtime": {
  36910. "description": "挂牌有效期",
  36911. "type": "string"
  36912. },
  36913. "validtype": {
  36914. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  36915. "type": "integer"
  36916. },
  36917. "warehouseid": {
  36918. "description": "仓库ID",
  36919. "type": "integer"
  36920. },
  36921. "warehousename": {
  36922. "description": "仓库名称",
  36923. "type": "string"
  36924. },
  36925. "wrfactortypeid": {
  36926. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  36927. "type": "string"
  36928. },
  36929. "wrfactortypename": {
  36930. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  36931. "type": "string"
  36932. },
  36933. "wrpricetype": {
  36934. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36935. "type": "integer"
  36936. },
  36937. "wrstandardcode": {
  36938. "description": "现货商品代码",
  36939. "type": "string"
  36940. },
  36941. "wrstandardid": {
  36942. "description": "现货商品ID",
  36943. "type": "integer"
  36944. },
  36945. "wrstandardname": {
  36946. "description": "商品名称",
  36947. "type": "string"
  36948. },
  36949. "wrtradeorderid": {
  36950. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36951. "type": "string"
  36952. },
  36953. "wrtradeorderstatus": {
  36954. "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:撤单解冻贷款失败",
  36955. "type": "integer"
  36956. },
  36957. "wrtradetype": {
  36958. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36959. "type": "integer"
  36960. },
  36961. "wrtypename": {
  36962. "description": "商品",
  36963. "type": "string"
  36964. }
  36965. }
  36966. },
  36967. "models.WrOrderQuote": {
  36968. "type": "object",
  36969. "properties": {
  36970. "bannerpicurl": {
  36971. "description": "Banner图",
  36972. "type": "string"
  36973. },
  36974. "buyprice": {
  36975. "description": "买价",
  36976. "type": "number"
  36977. },
  36978. "buypricemove": {
  36979. "description": "买升贴水(基差)",
  36980. "type": "number"
  36981. },
  36982. "buyqty": {
  36983. "description": "买量",
  36984. "type": "number"
  36985. },
  36986. "deliverygoodscode": {
  36987. "description": "品种代码",
  36988. "type": "string"
  36989. },
  36990. "deliverygoodsid": {
  36991. "description": "品种id",
  36992. "type": "integer"
  36993. },
  36994. "deliverygoodsname": {
  36995. "description": "品种名称",
  36996. "type": "string"
  36997. },
  36998. "deliverymonth": {
  36999. "description": "交收月",
  37000. "type": "string"
  37001. },
  37002. "enumdicname": {
  37003. "description": "单位名称",
  37004. "type": "string"
  37005. },
  37006. "goodscode": {
  37007. "description": "商品合约(浮动价列表才有)",
  37008. "type": "string"
  37009. },
  37010. "goodsid": {
  37011. "description": "商品id(浮动价列表才有)",
  37012. "type": "integer"
  37013. },
  37014. "minivalue": {
  37015. "description": "现货商品最小变动值",
  37016. "type": "integer"
  37017. },
  37018. "pictureurls": {
  37019. "description": "详情图片(逗号分隔)",
  37020. "type": "string"
  37021. },
  37022. "sellprice": {
  37023. "description": "卖价",
  37024. "type": "number"
  37025. },
  37026. "sellpricemove": {
  37027. "description": "卖升贴水(基差)",
  37028. "type": "number"
  37029. },
  37030. "sellqty": {
  37031. "description": "卖量",
  37032. "type": "number"
  37033. },
  37034. "thumurls": {
  37035. "description": "缩略图片(1:1)(逗号分隔)",
  37036. "type": "string"
  37037. },
  37038. "warehousecode": {
  37039. "description": "仓库代码",
  37040. "type": "string"
  37041. },
  37042. "warehouseid": {
  37043. "description": "仓库id",
  37044. "type": "integer"
  37045. },
  37046. "warehousename": {
  37047. "description": "仓库名称",
  37048. "type": "string"
  37049. },
  37050. "wrfactortypeid": {
  37051. "description": "仓单要素id",
  37052. "type": "string"
  37053. },
  37054. "wrfactortypename": {
  37055. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37056. "type": "string"
  37057. },
  37058. "wrgoodsname": {
  37059. "description": "商品(商品名称+仓库要素名称 拼接)",
  37060. "type": "string"
  37061. },
  37062. "wrstandardcode": {
  37063. "description": "商品代码",
  37064. "type": "string"
  37065. },
  37066. "wrstandardid": {
  37067. "description": "商品id",
  37068. "type": "integer"
  37069. },
  37070. "wrstandardname": {
  37071. "description": "商品名称",
  37072. "type": "string"
  37073. }
  37074. }
  37075. },
  37076. "models.WrOrderQuoteDetail": {
  37077. "type": "object",
  37078. "properties": {
  37079. "buyorsell": {
  37080. "description": "买卖 - 0:买 1:卖",
  37081. "type": "integer"
  37082. },
  37083. "delistminqty": {
  37084. "description": "起摘数量",
  37085. "type": "number"
  37086. },
  37087. "deliverymonth": {
  37088. "description": "交收月",
  37089. "type": "string"
  37090. },
  37091. "enumdicname": {
  37092. "description": "单位名称",
  37093. "type": "string"
  37094. },
  37095. "fixedprice": {
  37096. "description": "买(卖)价",
  37097. "type": "number"
  37098. },
  37099. "marketid": {
  37100. "description": "市场id",
  37101. "type": "integer"
  37102. },
  37103. "minivalue": {
  37104. "description": "现货商品最小变动值",
  37105. "type": "integer"
  37106. },
  37107. "orderqty": {
  37108. "description": "买(卖)量(=委托量-成交量)",
  37109. "type": "number"
  37110. },
  37111. "ordertime": {
  37112. "description": "委托时间",
  37113. "type": "string"
  37114. },
  37115. "pricemove": {
  37116. "description": "买(卖)升贴水- 基差",
  37117. "type": "number"
  37118. },
  37119. "userid": {
  37120. "description": "购买方(销售方)用户ID",
  37121. "type": "integer"
  37122. },
  37123. "username": {
  37124. "description": "购买方(销售方)",
  37125. "type": "string"
  37126. },
  37127. "wrtradeorderid": {
  37128. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  37129. "type": "string"
  37130. }
  37131. }
  37132. },
  37133. "models.WrOutInApply": {
  37134. "type": "object",
  37135. "properties": {
  37136. "applyid": {
  37137. "description": "申请单id",
  37138. "type": "string"
  37139. },
  37140. "applystatus": {
  37141. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  37142. "type": "integer"
  37143. },
  37144. "applytime": {
  37145. "description": "申请时间",
  37146. "type": "string"
  37147. },
  37148. "applytype": {
  37149. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  37150. "type": "integer"
  37151. },
  37152. "bannerpicurl": {
  37153. "description": "Banner图",
  37154. "type": "string"
  37155. },
  37156. "begindate": {
  37157. "description": "开始交易日(yyyymmdd)",
  37158. "type": "string"
  37159. },
  37160. "deliverygoodscode": {
  37161. "description": "品种代码",
  37162. "type": "string"
  37163. },
  37164. "deliverygoodsid": {
  37165. "description": "品种ID",
  37166. "type": "integer"
  37167. },
  37168. "deliverygoodsname": {
  37169. "description": "品种名称",
  37170. "type": "string"
  37171. },
  37172. "enddate": {
  37173. "description": "结束交易日(yyyymmdd)",
  37174. "type": "string"
  37175. },
  37176. "enumdicname": {
  37177. "description": "单位名称",
  37178. "type": "string"
  37179. },
  37180. "expresscompany": {
  37181. "description": "物流公司",
  37182. "type": "string"
  37183. },
  37184. "expressnum": {
  37185. "description": "物流单号",
  37186. "type": "string"
  37187. },
  37188. "minivalue": {
  37189. "description": "现货商品最小变动值",
  37190. "type": "integer"
  37191. },
  37192. "optioncompare": {
  37193. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37194. "type": "string"
  37195. },
  37196. "qty": {
  37197. "description": "数量",
  37198. "type": "integer"
  37199. },
  37200. "userid": {
  37201. "description": "用户id",
  37202. "type": "integer"
  37203. },
  37204. "warehouseid": {
  37205. "description": "仓库ID",
  37206. "type": "integer"
  37207. },
  37208. "warehousename": {
  37209. "description": "仓库名称",
  37210. "type": "string"
  37211. },
  37212. "wrfactortypeid": {
  37213. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37214. "type": "string"
  37215. },
  37216. "wrfactortypename": {
  37217. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37218. "type": "string"
  37219. },
  37220. "wrstandardcode": {
  37221. "description": "现货商品代码",
  37222. "type": "string"
  37223. },
  37224. "wrstandardid": {
  37225. "description": "现货商品ID",
  37226. "type": "integer"
  37227. },
  37228. "wrstandardname": {
  37229. "description": "商品名称",
  37230. "type": "string"
  37231. },
  37232. "wrtypename": {
  37233. "description": "商品",
  37234. "type": "string"
  37235. }
  37236. }
  37237. },
  37238. "models.WrPerformancePlan": {
  37239. "type": "object",
  37240. "required": [
  37241. "userid"
  37242. ],
  37243. "properties": {
  37244. "activatemonth": {
  37245. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  37246. "type": "string"
  37247. },
  37248. "amount": {
  37249. "description": "履约金额(总金额)",
  37250. "type": "number"
  37251. },
  37252. "begindate": {
  37253. "description": "开始交易日(yyyymmdd)",
  37254. "type": "string"
  37255. },
  37256. "buyaccountid": {
  37257. "description": "买方账号",
  37258. "type": "integer"
  37259. },
  37260. "buyerfreezeamount": {
  37261. "description": "履约冻结(买履约)",
  37262. "type": "number"
  37263. },
  37264. "buyerfreezeamountremain": {
  37265. "description": "履约冻结剩余(买履约)",
  37266. "type": "number"
  37267. },
  37268. "buyorsell": {
  37269. "description": "买卖方向 0-买 1-卖",
  37270. "type": "integer"
  37271. },
  37272. "buypaidamount": {
  37273. "description": "买方已冻/已扣金额 (已付金额)",
  37274. "type": "number"
  37275. },
  37276. "buyusername": {
  37277. "description": "买方名字",
  37278. "type": "string"
  37279. },
  37280. "contractid": {
  37281. "description": "合同ID",
  37282. "type": "integer"
  37283. },
  37284. "createtime": {
  37285. "description": "创建时间",
  37286. "type": "string"
  37287. },
  37288. "creatorid": {
  37289. "description": "创建人",
  37290. "type": "integer"
  37291. },
  37292. "curstepdeadline": {
  37293. "description": "当前步骤到期时间",
  37294. "type": "string"
  37295. },
  37296. "curstepid": {
  37297. "description": "当前步骤ID",
  37298. "type": "string"
  37299. },
  37300. "curstepname": {
  37301. "description": "当前步骤名称",
  37302. "type": "string"
  37303. },
  37304. "deliverygoodscode": {
  37305. "description": "品种代码",
  37306. "type": "string"
  37307. },
  37308. "deliverygoodsid": {
  37309. "description": "品种ID",
  37310. "type": "integer"
  37311. },
  37312. "deliverygoodsname": {
  37313. "description": "品种名称",
  37314. "type": "string"
  37315. },
  37316. "enddate": {
  37317. "description": "结束交易日(yyyymmdd)",
  37318. "type": "string"
  37319. },
  37320. "enumdicname": {
  37321. "description": "单位名称",
  37322. "type": "string"
  37323. },
  37324. "expressfee": {
  37325. "description": "运费",
  37326. "type": "number"
  37327. },
  37328. "expressfeeconfirmed": {
  37329. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  37330. "type": "integer"
  37331. },
  37332. "hasovershort": {
  37333. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  37334. "type": "integer"
  37335. },
  37336. "haswr": {
  37337. "description": "类型 0-仓单预售 1-仓单贸易",
  37338. "type": "integer"
  37339. },
  37340. "marketid": {
  37341. "description": "市场ID",
  37342. "type": "integer"
  37343. },
  37344. "middleaccountid": {
  37345. "description": "中间商资金账号ID",
  37346. "type": "integer"
  37347. },
  37348. "middleuserid": {
  37349. "description": "中间商用户ID",
  37350. "type": "integer"
  37351. },
  37352. "minivalue": {
  37353. "description": "现货商品最小变动值",
  37354. "type": "integer"
  37355. },
  37356. "optioncompare": {
  37357. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37358. "type": "string"
  37359. },
  37360. "overshortamount": {
  37361. "description": "溢短金额",
  37362. "type": "number"
  37363. },
  37364. "overshortqty": {
  37365. "description": "溢短数量",
  37366. "type": "number"
  37367. },
  37368. "paymenttype": {
  37369. "description": "付款方式 - 1:冻结 2:扣款",
  37370. "type": "integer"
  37371. },
  37372. "performanceplanid": {
  37373. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  37374. "type": "string"
  37375. },
  37376. "performancestatus": {
  37377. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  37378. "type": "integer"
  37379. },
  37380. "performancetype": {
  37381. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  37382. "type": "integer"
  37383. },
  37384. "qty": {
  37385. "description": "履约数量",
  37386. "type": "number"
  37387. },
  37388. "relatedorderid": {
  37389. "description": "关联单号(履约类型的关联单号)",
  37390. "type": "string"
  37391. },
  37392. "remark": {
  37393. "description": "备注",
  37394. "type": "string"
  37395. },
  37396. "sellaccountid": {
  37397. "description": "卖方账号",
  37398. "type": "integer"
  37399. },
  37400. "sellerfreezeamount": {
  37401. "description": "履约冻结(卖履约)",
  37402. "type": "number"
  37403. },
  37404. "sellerfreezeamountremain": {
  37405. "description": "履约冻结剩余(卖履约)",
  37406. "type": "number"
  37407. },
  37408. "sellreceivedamount": {
  37409. "description": "卖方已收金额",
  37410. "type": "number"
  37411. },
  37412. "sellusername": {
  37413. "description": "卖方名字",
  37414. "type": "string"
  37415. },
  37416. "shipremark": {
  37417. "description": "发货备注[物流单号]",
  37418. "type": "string"
  37419. },
  37420. "starttime": {
  37421. "description": "开始时间",
  37422. "type": "string"
  37423. },
  37424. "steptypeid": {
  37425. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  37426. "type": "integer"
  37427. },
  37428. "typename": {
  37429. "description": "履约类型 名称",
  37430. "type": "string"
  37431. },
  37432. "unpaidamount": {
  37433. "description": "剩余款(待支付金额)",
  37434. "type": "number"
  37435. },
  37436. "userid": {
  37437. "description": "用户id",
  37438. "type": "integer"
  37439. },
  37440. "warehouseid": {
  37441. "description": "仓库ID",
  37442. "type": "integer"
  37443. },
  37444. "warehousename": {
  37445. "description": "仓库名称",
  37446. "type": "string"
  37447. },
  37448. "wrfactortypeid": {
  37449. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37450. "type": "string"
  37451. },
  37452. "wrfactortypename": {
  37453. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37454. "type": "string"
  37455. },
  37456. "wrstandardcode": {
  37457. "description": "现货商品代码",
  37458. "type": "string"
  37459. },
  37460. "wrstandardid": {
  37461. "description": "现货商品ID",
  37462. "type": "integer"
  37463. },
  37464. "wrstandardname": {
  37465. "description": "商品名称",
  37466. "type": "string"
  37467. },
  37468. "wrtransferuserid": {
  37469. "description": "仓单受让用户",
  37470. "type": "integer"
  37471. },
  37472. "wrtypename": {
  37473. "description": "商品",
  37474. "type": "string"
  37475. }
  37476. }
  37477. },
  37478. "models.WrPerformancePlanStep": {
  37479. "type": "object",
  37480. "properties": {
  37481. "delaydays": {
  37482. "description": "延期申请天数",
  37483. "type": "integer"
  37484. },
  37485. "deliverygoodscode": {
  37486. "description": "品种代码",
  37487. "type": "string"
  37488. },
  37489. "deliverygoodsid": {
  37490. "description": "品种ID",
  37491. "type": "integer"
  37492. },
  37493. "deliverygoodsname": {
  37494. "description": "品种名称",
  37495. "type": "string"
  37496. },
  37497. "endtime": {
  37498. "description": "结束日期",
  37499. "type": "string"
  37500. },
  37501. "enumdicname": {
  37502. "description": "单位名称",
  37503. "type": "string"
  37504. },
  37505. "executeside": {
  37506. "description": "步骤执行方 - 1:买方 2:卖方",
  37507. "type": "integer"
  37508. },
  37509. "handlestatus": {
  37510. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  37511. "type": "integer"
  37512. },
  37513. "isauto": {
  37514. "description": "是否自动 - 0:不自动 1:自动",
  37515. "type": "integer"
  37516. },
  37517. "islastreceivestep": {
  37518. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  37519. "type": "integer"
  37520. },
  37521. "minivalue": {
  37522. "description": "现货商品最小变动值",
  37523. "type": "integer"
  37524. },
  37525. "optioncompare": {
  37526. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37527. "type": "string"
  37528. },
  37529. "overdays": {
  37530. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  37531. "type": "integer"
  37532. },
  37533. "performancestepid": {
  37534. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  37535. "type": "string"
  37536. },
  37537. "planid": {
  37538. "description": "所属履约计划ID",
  37539. "type": "string"
  37540. },
  37541. "realamount": {
  37542. "description": "实际完成金额",
  37543. "type": "number"
  37544. },
  37545. "relatedorderid": {
  37546. "description": "关联单号",
  37547. "type": "string"
  37548. },
  37549. "remaindays": {
  37550. "description": "剩余天数",
  37551. "type": "integer"
  37552. },
  37553. "remark": {
  37554. "description": "错误备注",
  37555. "type": "string"
  37556. },
  37557. "starttime": {
  37558. "description": "开始日期",
  37559. "type": "string"
  37560. },
  37561. "stepamount": {
  37562. "description": "步骤金额",
  37563. "type": "number"
  37564. },
  37565. "stepdays": {
  37566. "description": "距离上一步天数(分钟)",
  37567. "type": "integer"
  37568. },
  37569. "stepindex": {
  37570. "description": "步骤序号",
  37571. "type": "integer"
  37572. },
  37573. "steplanchtype": {
  37574. "description": "步骤启动类型 - 1:系统自动 2:手动",
  37575. "type": "integer"
  37576. },
  37577. "stepremark": {
  37578. "description": "步骤备注",
  37579. "type": "string"
  37580. },
  37581. "stepstatus": {
  37582. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  37583. "type": "integer"
  37584. },
  37585. "steptypeid": {
  37586. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  37587. "type": "integer"
  37588. },
  37589. "steptypename": {
  37590. "description": "步骤名称",
  37591. "type": "string"
  37592. },
  37593. "stepvalue": {
  37594. "description": "步骤值",
  37595. "type": "number"
  37596. },
  37597. "warehouseid": {
  37598. "description": "仓库ID",
  37599. "type": "integer"
  37600. },
  37601. "warehousename": {
  37602. "description": "仓库名称",
  37603. "type": "string"
  37604. },
  37605. "wrfactortypeid": {
  37606. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37607. "type": "string"
  37608. },
  37609. "wrfactortypename": {
  37610. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37611. "type": "string"
  37612. },
  37613. "wrstandardcode": {
  37614. "description": "现货商品代码",
  37615. "type": "string"
  37616. },
  37617. "wrstandardid": {
  37618. "description": "现货商品ID",
  37619. "type": "integer"
  37620. },
  37621. "wrstandardname": {
  37622. "description": "商品名称",
  37623. "type": "string"
  37624. },
  37625. "wrtypename": {
  37626. "description": "商品",
  37627. "type": "string"
  37628. }
  37629. }
  37630. },
  37631. "models.WrPerformanceStepType": {
  37632. "type": "object",
  37633. "properties": {
  37634. "canauto": {
  37635. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  37636. "type": "integer"
  37637. },
  37638. "steptypeid": {
  37639. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  37640. "type": "integer"
  37641. },
  37642. "steptypename": {
  37643. "description": "步骤类型名称",
  37644. "type": "string"
  37645. }
  37646. }
  37647. },
  37648. "models.WrPerformanceTemplateEx": {
  37649. "type": "object",
  37650. "properties": {
  37651. "autoid": {
  37652. "description": "AutoID 模板id",
  37653. "type": "integer"
  37654. },
  37655. "createtime": {
  37656. "description": "创建时间",
  37657. "type": "string"
  37658. },
  37659. "creatorid": {
  37660. "description": "创建人",
  37661. "type": "integer"
  37662. },
  37663. "lstStep": {
  37664. "description": "步骤信息列表",
  37665. "type": "array",
  37666. "items": {
  37667. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  37668. }
  37669. },
  37670. "paymenttype": {
  37671. "description": "支付方式 - 1:冻结 2:扣款",
  37672. "type": "integer"
  37673. },
  37674. "takemode": {
  37675. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  37676. "type": "integer"
  37677. },
  37678. "templatename": {
  37679. "description": "模板名称",
  37680. "type": "string"
  37681. },
  37682. "templatetype": {
  37683. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  37684. "type": "integer"
  37685. },
  37686. "userid": {
  37687. "description": "所属用户",
  37688. "type": "integer"
  37689. }
  37690. }
  37691. },
  37692. "models.WrPosition": {
  37693. "type": "object",
  37694. "properties": {
  37695. "accountid": {
  37696. "description": "帐户ID",
  37697. "type": "integer"
  37698. },
  37699. "buyexcuteqty": {
  37700. "description": "采购履约中数量",
  37701. "type": "number"
  37702. },
  37703. "creditcurqty": {
  37704. "description": "授信当前数量(预售仓单:预售当前量)",
  37705. "type": "number"
  37706. },
  37707. "creditenableqty": {
  37708. "description": "授信可用数量(预售仓单: 可用数量)",
  37709. "type": "number"
  37710. },
  37711. "creditfreezeqty": {
  37712. "description": "授信冻结数量(预售仓单: 当前数量)",
  37713. "type": "number"
  37714. },
  37715. "credittotalqty": {
  37716. "description": "授信总数量(预售仓单:预售总量)",
  37717. "type": "number"
  37718. },
  37719. "credittradeqty": {
  37720. "description": "授信成交数量(预售仓单:成交总量)",
  37721. "type": "number"
  37722. },
  37723. "deliverygoodscode": {
  37724. "description": "品种代码",
  37725. "type": "string"
  37726. },
  37727. "deliverygoodsid": {
  37728. "description": "品种ID",
  37729. "type": "integer"
  37730. },
  37731. "deliverygoodsname": {
  37732. "description": "品种名称",
  37733. "type": "string"
  37734. },
  37735. "enalbeqty": {
  37736. "description": "可用数量",
  37737. "type": "number"
  37738. },
  37739. "enumdicname": {
  37740. "description": "单位名称",
  37741. "type": "string"
  37742. },
  37743. "freezeqty": {
  37744. "description": "总冻结数量",
  37745. "type": "number"
  37746. },
  37747. "haswr": {
  37748. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  37749. "type": "integer"
  37750. },
  37751. "minivalue": {
  37752. "description": "现货商品最小变动值",
  37753. "type": "integer"
  37754. },
  37755. "modifytime": {
  37756. "description": "修改时间(过户时间)",
  37757. "type": "string"
  37758. },
  37759. "optioncompare": {
  37760. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  37761. "type": "string"
  37762. },
  37763. "pledgeqty": {
  37764. "description": "质押数量",
  37765. "type": "number"
  37766. },
  37767. "querytype": {
  37768. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  37769. "type": "integer"
  37770. },
  37771. "sellexcuteqty": {
  37772. "description": "销售履约中数量",
  37773. "type": "number"
  37774. },
  37775. "totalqty": {
  37776. "description": "总数量(库存数量)",
  37777. "type": "number"
  37778. },
  37779. "warehouseid": {
  37780. "description": "仓库ID",
  37781. "type": "integer"
  37782. },
  37783. "warehousename": {
  37784. "description": "仓库名称",
  37785. "type": "string"
  37786. },
  37787. "wrfactortypeid": {
  37788. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  37789. "type": "string"
  37790. },
  37791. "wrfactortypename": {
  37792. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  37793. "type": "string"
  37794. },
  37795. "wrpositionid": {
  37796. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  37797. "type": "string"
  37798. },
  37799. "wrpositionno": {
  37800. "description": "仓单编号",
  37801. "type": "string"
  37802. },
  37803. "wrstandardcode": {
  37804. "description": "现货商品代码",
  37805. "type": "string"
  37806. },
  37807. "wrstandardid": {
  37808. "description": "现货商品ID",
  37809. "type": "integer"
  37810. },
  37811. "wrstandardname": {
  37812. "description": "商品名称",
  37813. "type": "string"
  37814. },
  37815. "wrtypename": {
  37816. "description": "商品",
  37817. "type": "string"
  37818. },
  37819. "wruserid": {
  37820. "description": "持有人ID",
  37821. "type": "integer"
  37822. }
  37823. }
  37824. },
  37825. "models.WrPreSaleInfo": {
  37826. "type": "object",
  37827. "properties": {
  37828. "bannerpicurl": {
  37829. "description": "Banner图",
  37830. "type": "string"
  37831. },
  37832. "baseqty": {
  37833. "description": "中签基数",
  37834. "type": "number"
  37835. },
  37836. "createtime": {
  37837. "description": "创建时间",
  37838. "type": "string"
  37839. },
  37840. "deliverygoodsid": {
  37841. "description": "现货品种ID",
  37842. "type": "integer"
  37843. },
  37844. "enddate": {
  37845. "description": "预售结束日期",
  37846. "type": "string"
  37847. },
  37848. "enumdicname": {
  37849. "description": "单位名称",
  37850. "type": "string"
  37851. },
  37852. "lotteryflag": {
  37853. "description": "摇号标识 - 0:未摇号 1:已摇号",
  37854. "type": "integer"
  37855. },
  37856. "lotteryqty": {
  37857. "description": "摇号总量",
  37858. "type": "number"
  37859. },
  37860. "luckyqty": {
  37861. "description": "已中签量",
  37862. "type": "number"
  37863. },
  37864. "marketid": {
  37865. "description": "市场ID",
  37866. "type": "integer"
  37867. },
  37868. "maxbuyqty": {
  37869. "description": "单人最大申购量",
  37870. "type": "number"
  37871. },
  37872. "maxluckyqty": {
  37873. "description": "单人最大中签量",
  37874. "type": "number"
  37875. },
  37876. "pictureurls": {
  37877. "description": "详情图片(逗号分隔)",
  37878. "type": "string"
  37879. },
  37880. "placeqty": {
  37881. "description": "已配售量",
  37882. "type": "number"
  37883. },
  37884. "presaleapplyid": {
  37885. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  37886. "type": "string",
  37887. "example": "0"
  37888. },
  37889. "presaleqty": {
  37890. "description": "预售总量",
  37891. "type": "number"
  37892. },
  37893. "presalestatus": {
  37894. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  37895. "type": "integer"
  37896. },
  37897. "sellaccountid": {
  37898. "description": "发行方资金账户ID",
  37899. "type": "integer"
  37900. },
  37901. "selluserid": {
  37902. "description": "发行方用户ID",
  37903. "type": "integer"
  37904. },
  37905. "sellwrtradeorderid": {
  37906. "description": "发行方卖委托单ID",
  37907. "type": "string"
  37908. },
  37909. "startdate": {
  37910. "description": "预售开始日期",
  37911. "type": "string"
  37912. },
  37913. "takestartdate": {
  37914. "description": "提货开始日期",
  37915. "type": "string"
  37916. },
  37917. "thumurls": {
  37918. "description": "缩略图片(1:1)(逗号分隔)",
  37919. "type": "string"
  37920. },
  37921. "tradedate": {
  37922. "description": "交易日",
  37923. "type": "string"
  37924. },
  37925. "unitid": {
  37926. "description": "单位ID",
  37927. "type": "integer"
  37928. },
  37929. "unitprice": {
  37930. "description": "商品单价",
  37931. "type": "number"
  37932. },
  37933. "username": {
  37934. "description": "发行方用户名称",
  37935. "type": "string"
  37936. },
  37937. "warehousecode": {
  37938. "description": "仓库代码(仓库简称)",
  37939. "type": "string"
  37940. },
  37941. "warehouseid": {
  37942. "description": "仓库ID",
  37943. "type": "integer"
  37944. },
  37945. "warehousename": {
  37946. "description": "仓库名称",
  37947. "type": "string"
  37948. },
  37949. "wrfactortypeid": {
  37950. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  37951. "type": "string",
  37952. "example": "0"
  37953. },
  37954. "wrstandardid": {
  37955. "description": "现货商品ID",
  37956. "type": "integer"
  37957. },
  37958. "wrstandardname": {
  37959. "description": "现货商品名称",
  37960. "type": "string"
  37961. }
  37962. }
  37963. },
  37964. "models.WrQuoteOrderMyq": {
  37965. "type": "object",
  37966. "properties": {
  37967. "buyorsell": {
  37968. "description": "买卖 - 0:买 1:卖",
  37969. "type": "integer"
  37970. },
  37971. "canbargain": {
  37972. "description": "是否可议价 - 0:不可 1:可",
  37973. "type": "integer"
  37974. },
  37975. "canpart": {
  37976. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  37977. "type": "integer"
  37978. },
  37979. "delistminqty": {
  37980. "description": "起摘数量",
  37981. "type": "number"
  37982. },
  37983. "deliverygoodscode": {
  37984. "description": "品种代码",
  37985. "type": "string"
  37986. },
  37987. "deliverygoodsid": {
  37988. "description": "品种ID",
  37989. "type": "integer"
  37990. },
  37991. "deliverygoodsname": {
  37992. "description": "品种名称",
  37993. "type": "string"
  37994. },
  37995. "deliverymonth": {
  37996. "description": "交收月",
  37997. "type": "string"
  37998. },
  37999. "enumdicname": {
  38000. "description": "单位名称",
  38001. "type": "string"
  38002. },
  38003. "fixedprice": {
  38004. "description": "买(卖)价",
  38005. "type": "number"
  38006. },
  38007. "goodscode": {
  38008. "description": "商品合约代码",
  38009. "type": "string"
  38010. },
  38011. "marginflag": {
  38012. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  38013. "type": "integer"
  38014. },
  38015. "marginvalue": {
  38016. "description": "保证金设置值",
  38017. "type": "number"
  38018. },
  38019. "minivalue": {
  38020. "description": "现货商品最小变动值",
  38021. "type": "integer"
  38022. },
  38023. "orderqty": {
  38024. "description": "买(卖)量(=委托量-成交量)",
  38025. "type": "number"
  38026. },
  38027. "ordertime": {
  38028. "description": "委托时间",
  38029. "type": "string"
  38030. },
  38031. "performancetemplateid": {
  38032. "description": "履约模板id",
  38033. "type": "integer"
  38034. },
  38035. "pricemove": {
  38036. "description": "买(卖)升贴水- 基差",
  38037. "type": "number"
  38038. },
  38039. "templatename": {
  38040. "description": "履约模板名称",
  38041. "type": "string"
  38042. },
  38043. "userid": {
  38044. "description": "购买方(销售方)用户ID",
  38045. "type": "integer"
  38046. },
  38047. "username": {
  38048. "description": "购买方(销售方)",
  38049. "type": "string"
  38050. },
  38051. "validtime": {
  38052. "description": "有效期限",
  38053. "type": "string"
  38054. },
  38055. "validtype": {
  38056. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  38057. "type": "integer"
  38058. },
  38059. "warehousename": {
  38060. "description": "仓库名称",
  38061. "type": "string"
  38062. },
  38063. "wrfactortypeid": {
  38064. "description": "仓单要素id",
  38065. "type": "string"
  38066. },
  38067. "wrstandardcode": {
  38068. "description": "现货商品代码",
  38069. "type": "string"
  38070. },
  38071. "wrstandardid": {
  38072. "description": "现货商品ID",
  38073. "type": "integer"
  38074. },
  38075. "wrstandardname": {
  38076. "description": "商品名称",
  38077. "type": "string"
  38078. },
  38079. "wrtradeorderid": {
  38080. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  38081. "type": "string"
  38082. },
  38083. "wrtypename": {
  38084. "description": "商品",
  38085. "type": "string"
  38086. }
  38087. }
  38088. },
  38089. "models.WrReckonSpotGoodsTradeSum": {
  38090. "type": "object",
  38091. "properties": {
  38092. "begindate": {
  38093. "description": "开始日期(结果含开始日期) yyyymmdd",
  38094. "type": "string"
  38095. },
  38096. "enddate": {
  38097. "description": "结束日期(结果含结束日期) yyyymmdd",
  38098. "type": "string"
  38099. },
  38100. "marketid": {
  38101. "description": "市场ID",
  38102. "type": "integer"
  38103. },
  38104. "price": {
  38105. "description": "价格 = 日成交金额 / 日成交数量",
  38106. "type": "string"
  38107. },
  38108. "reckondate": {
  38109. "description": "日期 格式 yyyymmdd",
  38110. "type": "string"
  38111. },
  38112. "tradeamount": {
  38113. "description": "日成交金额(当日单方向成交金额)",
  38114. "type": "number"
  38115. },
  38116. "tradeqty": {
  38117. "description": "日成交数量(当日单方向成交数量)",
  38118. "type": "number"
  38119. },
  38120. "wrstandardid": {
  38121. "description": "现货商品ID",
  38122. "type": "integer"
  38123. }
  38124. }
  38125. },
  38126. "models.WrScfContract": {
  38127. "type": "object",
  38128. "properties": {
  38129. "borroweruserid": {
  38130. "description": "借款用户ID",
  38131. "type": "integer"
  38132. },
  38133. "buybackwrpositionqty": {
  38134. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  38135. "type": "number"
  38136. },
  38137. "closeinterest": {
  38138. "description": "已结利息 -\u003e 已结费用",
  38139. "type": "number"
  38140. },
  38141. "currisklevel": {
  38142. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  38143. "type": "integer"
  38144. },
  38145. "deadline": {
  38146. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  38147. "type": "string"
  38148. },
  38149. "deliverygoodscode": {
  38150. "description": "品种代码",
  38151. "type": "string"
  38152. },
  38153. "deliverygoodsid": {
  38154. "description": "品种ID",
  38155. "type": "integer"
  38156. },
  38157. "deliverygoodsname": {
  38158. "description": "品种名称",
  38159. "type": "string"
  38160. },
  38161. "enumdicname": {
  38162. "description": "单位名称",
  38163. "type": "string"
  38164. },
  38165. "financingdays": {
  38166. "description": "天数(天)",
  38167. "type": "integer"
  38168. },
  38169. "initmargin": {
  38170. "description": "保证金 - [仓单回购]",
  38171. "type": "number"
  38172. },
  38173. "interestamount": {
  38174. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  38175. "type": "number"
  38176. },
  38177. "interestdebt": {
  38178. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  38179. "type": "number"
  38180. },
  38181. "interestminlen": {
  38182. "description": "最小起息天数",
  38183. "type": "integer"
  38184. },
  38185. "interestrate": {
  38186. "description": "利率",
  38187. "type": "number"
  38188. },
  38189. "interestratemode": {
  38190. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  38191. "type": "integer"
  38192. },
  38193. "interestsettlemode": {
  38194. "description": "结息方式 - 1:按日结息 3:按月结息",
  38195. "type": "integer"
  38196. },
  38197. "interestsettlevalue": {
  38198. "description": "结息方式值",
  38199. "type": "integer"
  38200. },
  38201. "isautoloan": {
  38202. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  38203. "type": "integer"
  38204. },
  38205. "lastcloseinterestday": {
  38206. "description": "最近结息日(yyyyMMdd)",
  38207. "type": "string"
  38208. },
  38209. "lenderamount": {
  38210. "description": "贷款金额 -\u003e 借款金额",
  38211. "type": "number"
  38212. },
  38213. "lenderuserid": {
  38214. "description": "贷款方用户ID -\u003e 融出方用户ID",
  38215. "type": "integer"
  38216. },
  38217. "lenderusername": {
  38218. "description": "融出方",
  38219. "type": "string"
  38220. },
  38221. "marginratio": {
  38222. "description": "保证金比率质押率 - [仓单质押]",
  38223. "type": "number"
  38224. },
  38225. "marketid": {
  38226. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  38227. "type": "integer"
  38228. },
  38229. "minivalue": {
  38230. "description": "现货商品最小变动值",
  38231. "type": "integer"
  38232. },
  38233. "optioncompare": {
  38234. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  38235. "type": "string"
  38236. },
  38237. "pricemove": {
  38238. "description": "估值升贴水值",
  38239. "type": "number"
  38240. },
  38241. "productdetailid": {
  38242. "description": "产品组合ID",
  38243. "type": "integer"
  38244. },
  38245. "productid": {
  38246. "description": "金融产品ID",
  38247. "type": "integer"
  38248. },
  38249. "productname": {
  38250. "description": "产品名称",
  38251. "type": "string"
  38252. },
  38253. "remainamount": {
  38254. "description": "合同剩余金额 -\u003e 剩余金额",
  38255. "type": "number"
  38256. },
  38257. "remainwrpositionqty": {
  38258. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  38259. "type": "number"
  38260. },
  38261. "remark": {
  38262. "description": "备注",
  38263. "type": "string"
  38264. },
  38265. "scfcontractid": {
  38266. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  38267. "type": "string"
  38268. },
  38269. "scfcontractstatus": {
  38270. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  38271. "type": "integer"
  38272. },
  38273. "scfcontracttype": {
  38274. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  38275. "type": "integer"
  38276. },
  38277. "startinterestday": {
  38278. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  38279. "type": "string"
  38280. },
  38281. "totalinterest": {
  38282. "description": "已计利息 -\u003e 已计费用",
  38283. "type": "number"
  38284. },
  38285. "unpaidinterest": {
  38286. "description": "未结费用",
  38287. "type": "number"
  38288. },
  38289. "updatetime": {
  38290. "description": "更新时间",
  38291. "type": "string"
  38292. },
  38293. "warehouseid": {
  38294. "description": "仓库ID",
  38295. "type": "integer"
  38296. },
  38297. "warehousename": {
  38298. "description": "仓库名称",
  38299. "type": "string"
  38300. },
  38301. "wrfactortypeid": {
  38302. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  38303. "type": "string"
  38304. },
  38305. "wrfactortypename": {
  38306. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  38307. "type": "string"
  38308. },
  38309. "wrqty": {
  38310. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  38311. "type": "number"
  38312. },
  38313. "wrstandardcode": {
  38314. "description": "现货商品代码",
  38315. "type": "string"
  38316. },
  38317. "wrstandardid": {
  38318. "description": "现货商品ID",
  38319. "type": "integer"
  38320. },
  38321. "wrstandardname": {
  38322. "description": "商品名称",
  38323. "type": "string"
  38324. },
  38325. "wrtypename": {
  38326. "description": "商品",
  38327. "type": "string"
  38328. }
  38329. }
  38330. },
  38331. "models.WrScfContractInterest": {
  38332. "type": "object",
  38333. "properties": {
  38334. "closeinterest": {
  38335. "description": "已结利息",
  38336. "type": "number"
  38337. },
  38338. "closeintereststatus": {
  38339. "description": "结息状态 - 1:未结 2:已结",
  38340. "type": "integer"
  38341. },
  38342. "closetime": {
  38343. "description": "结息时间",
  38344. "type": "string"
  38345. },
  38346. "closetradedate": {
  38347. "description": "结息交易日",
  38348. "type": "string"
  38349. },
  38350. "creatorid": {
  38351. "description": "操作人ID",
  38352. "type": "integer"
  38353. },
  38354. "dayrate": {
  38355. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  38356. "type": "number"
  38357. },
  38358. "interest": {
  38359. "description": "利息",
  38360. "type": "number"
  38361. },
  38362. "interestamount": {
  38363. "description": "计息金额",
  38364. "type": "number"
  38365. },
  38366. "interestday": {
  38367. "description": "计息日(yyyyMMdd)",
  38368. "type": "string"
  38369. },
  38370. "scfcontractid": {
  38371. "description": "SCF合同ID",
  38372. "type": "string"
  38373. },
  38374. "scfcontractinterestid": {
  38375. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  38376. "type": "integer"
  38377. },
  38378. "updatetime": {
  38379. "description": "更新时间",
  38380. "type": "string"
  38381. }
  38382. }
  38383. },
  38384. "models.WrSearchUser": {
  38385. "type": "object",
  38386. "required": [
  38387. "username"
  38388. ],
  38389. "properties": {
  38390. "userid": {
  38391. "description": "用户ID",
  38392. "type": "integer"
  38393. },
  38394. "username": {
  38395. "description": "用户名称(已脱敏)",
  38396. "type": "string"
  38397. },
  38398. "username2": {
  38399. "description": "用户名称(未脱敏)",
  38400. "type": "string"
  38401. },
  38402. "usertype": {
  38403. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  38404. "type": "integer"
  38405. }
  38406. }
  38407. },
  38408. "models.WrSiteColumnDetail": {
  38409. "type": "object",
  38410. "properties": {
  38411. "brief": {
  38412. "description": "简介",
  38413. "type": "string"
  38414. },
  38415. "context": {
  38416. "description": "内容",
  38417. "type": "string"
  38418. },
  38419. "coverimage": {
  38420. "description": "封面图片",
  38421. "type": "string"
  38422. },
  38423. "creaedate": {
  38424. "description": "创建时间",
  38425. "type": "string"
  38426. },
  38427. "id": {
  38428. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  38429. "type": "integer"
  38430. },
  38431. "istop": {
  38432. "description": "是否置顶 - 0:不置 1:置顶",
  38433. "type": "integer"
  38434. },
  38435. "publishdate": {
  38436. "description": "发布日期",
  38437. "type": "string"
  38438. },
  38439. "title": {
  38440. "description": "标题",
  38441. "type": "string"
  38442. },
  38443. "updatedate": {
  38444. "description": "修改时间",
  38445. "type": "string"
  38446. }
  38447. }
  38448. },
  38449. "models.WrSpecialMatchOrder": {
  38450. "type": "object",
  38451. "properties": {
  38452. "amount": {
  38453. "description": "金额 = 数量 * 价格",
  38454. "type": "number"
  38455. },
  38456. "buyorsell": {
  38457. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  38458. "type": "integer"
  38459. },
  38460. "cancelqty": {
  38461. "description": "撤销数量",
  38462. "type": "number"
  38463. },
  38464. "deliverygoodscode": {
  38465. "description": "品种代码",
  38466. "type": "string"
  38467. },
  38468. "deliverygoodsid": {
  38469. "description": "品种ID",
  38470. "type": "integer"
  38471. },
  38472. "deliverygoodsname": {
  38473. "description": "品种名称",
  38474. "type": "string"
  38475. },
  38476. "enumdicname": {
  38477. "description": "单位名称",
  38478. "type": "string"
  38479. },
  38480. "fixedprice": {
  38481. "description": "固定价格(价格)",
  38482. "type": "number"
  38483. },
  38484. "haswr": {
  38485. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  38486. "type": "integer"
  38487. },
  38488. "isspecified": {
  38489. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  38490. "type": "integer"
  38491. },
  38492. "marketid": {
  38493. "description": "市场ID",
  38494. "type": "integer"
  38495. },
  38496. "matchuserid": {
  38497. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  38498. "type": "integer"
  38499. },
  38500. "matchusername": {
  38501. "description": "指定方",
  38502. "type": "string"
  38503. },
  38504. "minivalue": {
  38505. "description": "现货商品最小变动值",
  38506. "type": "integer"
  38507. },
  38508. "optioncompare": {
  38509. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  38510. "type": "string"
  38511. },
  38512. "orderqty": {
  38513. "description": "委托数量",
  38514. "type": "number"
  38515. },
  38516. "ordertime": {
  38517. "description": "委托时间",
  38518. "type": "string"
  38519. },
  38520. "pricemove": {
  38521. "description": "升贴水(浮动价时填写) - [挂牌]",
  38522. "type": "number"
  38523. },
  38524. "tradedate": {
  38525. "description": "交易日(yyyyMMdd)",
  38526. "type": "string"
  38527. },
  38528. "tradeprice": {
  38529. "description": "成交价格",
  38530. "type": "number"
  38531. },
  38532. "tradeqty": {
  38533. "description": "成交数量",
  38534. "type": "number"
  38535. },
  38536. "userid": {
  38537. "description": "用户ID",
  38538. "type": "integer"
  38539. },
  38540. "username": {
  38541. "description": "发起方",
  38542. "type": "string"
  38543. },
  38544. "warehouseid": {
  38545. "description": "仓库ID",
  38546. "type": "integer"
  38547. },
  38548. "warehousename": {
  38549. "description": "仓库名称",
  38550. "type": "string"
  38551. },
  38552. "wrfactortypeid": {
  38553. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  38554. "type": "string"
  38555. },
  38556. "wrfactortypename": {
  38557. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  38558. "type": "string"
  38559. },
  38560. "wrpricetype": {
  38561. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  38562. "type": "integer"
  38563. },
  38564. "wrstandardcode": {
  38565. "description": "现货商品代码",
  38566. "type": "string"
  38567. },
  38568. "wrstandardid": {
  38569. "description": "现货商品ID",
  38570. "type": "integer"
  38571. },
  38572. "wrstandardname": {
  38573. "description": "商品名称",
  38574. "type": "string"
  38575. },
  38576. "wrtradeorderid": {
  38577. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  38578. "type": "string"
  38579. },
  38580. "wrtradeorderstatus": {
  38581. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  38582. "type": "integer"
  38583. },
  38584. "wrtradetype": {
  38585. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  38586. "type": "integer"
  38587. },
  38588. "wrtypename": {
  38589. "description": "商品",
  38590. "type": "string"
  38591. }
  38592. }
  38593. },
  38594. "models.WrSpotGroupTradeSum": {
  38595. "type": "object",
  38596. "properties": {
  38597. "deliverygoodscode": {
  38598. "description": "现货品种代码",
  38599. "type": "string"
  38600. },
  38601. "deliverygoodsid": {
  38602. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  38603. "type": "integer"
  38604. },
  38605. "deliverygoodsname": {
  38606. "description": "现货品种名称",
  38607. "type": "string"
  38608. },
  38609. "lastavgprice": {
  38610. "description": "上上个交易日价格(前2天价格)",
  38611. "type": "string"
  38612. },
  38613. "lastreckondate": {
  38614. "description": "上上个交易日(前2天交易日)",
  38615. "type": "string"
  38616. },
  38617. "reckondate": {
  38618. "description": "上个交易日(前1天交易日)",
  38619. "type": "string"
  38620. },
  38621. "todayavgprice": {
  38622. "description": "上个交易日价格(前1天价格)",
  38623. "type": "string"
  38624. },
  38625. "updown": {
  38626. "description": "涨跌",
  38627. "type": "string"
  38628. },
  38629. "updownratio": {
  38630. "description": "涨幅(已格式化, 直接显示即可)",
  38631. "type": "string"
  38632. }
  38633. }
  38634. },
  38635. "models.WrSpotGroupTradeSumDetail": {
  38636. "type": "object",
  38637. "properties": {
  38638. "deliverygoodsid": {
  38639. "description": "现货商品id",
  38640. "type": "integer"
  38641. },
  38642. "price": {
  38643. "description": "价格",
  38644. "type": "number"
  38645. },
  38646. "reckondate": {
  38647. "description": "日期(yyymmdd, 如:20211031)",
  38648. "type": "string"
  38649. }
  38650. }
  38651. },
  38652. "models.WrSpotGroupTradeSumEx": {
  38653. "type": "object",
  38654. "properties": {
  38655. "lst": {
  38656. "description": "指数列表",
  38657. "type": "array",
  38658. "items": {
  38659. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  38660. }
  38661. },
  38662. "prereckondate": {
  38663. "description": "上上个交易日(yyymmdd)",
  38664. "type": "string"
  38665. },
  38666. "reckondate": {
  38667. "description": "上个交易日(yyyymmdd)",
  38668. "type": "string"
  38669. }
  38670. }
  38671. },
  38672. "models.WrStandardFactoryItem": {
  38673. "type": "object",
  38674. "properties": {
  38675. "dgfactoryitemid": {
  38676. "description": "选择项id",
  38677. "type": "integer"
  38678. },
  38679. "dgfactoryitemvalue": {
  38680. "description": "要素项值",
  38681. "type": "string"
  38682. },
  38683. "warehouseid": {
  38684. "description": "仓库id",
  38685. "type": "integer"
  38686. }
  38687. }
  38688. },
  38689. "models.WrStandardFactoryItemEx": {
  38690. "type": "object",
  38691. "properties": {
  38692. "dgfactoryitemtypeid": {
  38693. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  38694. "type": "integer"
  38695. },
  38696. "itemlst": {
  38697. "description": "要素项列表",
  38698. "type": "array",
  38699. "items": {
  38700. "$ref": "#/definitions/models.WrStandardFactoryItem"
  38701. }
  38702. },
  38703. "itemtypename": {
  38704. "description": "要素项类型名称",
  38705. "type": "string"
  38706. },
  38707. "wrstandardid": {
  38708. "description": "品类",
  38709. "type": "integer"
  38710. }
  38711. }
  38712. },
  38713. "models.WrTradeDetail": {
  38714. "type": "object",
  38715. "properties": {
  38716. "accountid": {
  38717. "description": "资金账号",
  38718. "type": "integer"
  38719. },
  38720. "bannerpicurl": {
  38721. "description": "Banner图",
  38722. "type": "string"
  38723. },
  38724. "begindate": {
  38725. "description": "开始交易日(yyyymmdd)",
  38726. "type": "string"
  38727. },
  38728. "buyorsell": {
  38729. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  38730. "type": "integer"
  38731. },
  38732. "chargevalue": {
  38733. "description": "手续费",
  38734. "type": "number"
  38735. },
  38736. "deliverygoodscode": {
  38737. "description": "品种代码",
  38738. "type": "string"
  38739. },
  38740. "deliverygoodsid": {
  38741. "description": "品种ID",
  38742. "type": "integer"
  38743. },
  38744. "deliverygoodsname": {
  38745. "description": "品种名称",
  38746. "type": "string"
  38747. },
  38748. "deliverymonth": {
  38749. "description": "交收月",
  38750. "type": "string"
  38751. },
  38752. "enddate": {
  38753. "description": "结束交易日(yyyymmdd)",
  38754. "type": "string"
  38755. },
  38756. "enumdicname": {
  38757. "description": "单位名称",
  38758. "type": "string"
  38759. },
  38760. "haswr": {
  38761. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  38762. "type": "integer"
  38763. },
  38764. "marketid": {
  38765. "description": "市场ID",
  38766. "type": "integer"
  38767. },
  38768. "matchaccountid": {
  38769. "description": "对手账号",
  38770. "type": "integer"
  38771. },
  38772. "matchusername": {
  38773. "description": "对手方",
  38774. "type": "string"
  38775. },
  38776. "minivalue": {
  38777. "description": "现货商品最小变动值",
  38778. "type": "integer"
  38779. },
  38780. "optioncompare": {
  38781. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  38782. "type": "string"
  38783. },
  38784. "thumurls": {
  38785. "description": "缩略图",
  38786. "type": "string"
  38787. },
  38788. "tradedate": {
  38789. "description": "交易日(yyyyMMdd)",
  38790. "type": "string"
  38791. },
  38792. "tradeprice": {
  38793. "description": "成交价格",
  38794. "type": "number"
  38795. },
  38796. "tradeqty": {
  38797. "description": "成交数量",
  38798. "type": "number"
  38799. },
  38800. "tradetime": {
  38801. "description": "成交时间",
  38802. "type": "string"
  38803. },
  38804. "userid": {
  38805. "description": "用户ID",
  38806. "type": "integer"
  38807. },
  38808. "warehouseid": {
  38809. "description": "仓库ID",
  38810. "type": "integer"
  38811. },
  38812. "warehousename": {
  38813. "description": "仓库名称",
  38814. "type": "string"
  38815. },
  38816. "wrfactortypeid": {
  38817. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  38818. "type": "string"
  38819. },
  38820. "wrfactortypename": {
  38821. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  38822. "type": "string"
  38823. },
  38824. "wrstandardcode": {
  38825. "description": "现货商品代码",
  38826. "type": "string"
  38827. },
  38828. "wrstandardid": {
  38829. "description": "现货商品ID",
  38830. "type": "integer"
  38831. },
  38832. "wrstandardname": {
  38833. "description": "商品名称",
  38834. "type": "string"
  38835. },
  38836. "wrtradedetailid": {
  38837. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  38838. "type": "string"
  38839. },
  38840. "wrtradetype": {
  38841. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  38842. "type": "integer"
  38843. },
  38844. "wrtypename": {
  38845. "description": "商品",
  38846. "type": "string"
  38847. }
  38848. }
  38849. },
  38850. "models.WrTradeOrderDetail": {
  38851. "type": "object",
  38852. "properties": {
  38853. "buyorsell": {
  38854. "description": "买卖方向 0-买 1-卖",
  38855. "type": "integer"
  38856. },
  38857. "goodsid": {
  38858. "description": "商品id",
  38859. "type": "integer"
  38860. },
  38861. "orderid": {
  38862. "description": "委托单号",
  38863. "type": "string"
  38864. },
  38865. "orderprice": {
  38866. "description": "委托价格",
  38867. "type": "number"
  38868. },
  38869. "orderqty": {
  38870. "description": "委托数量",
  38871. "type": "integer"
  38872. },
  38873. "userid": {
  38874. "description": "用户id",
  38875. "type": "integer"
  38876. },
  38877. "username": {
  38878. "description": "用户名称(已脱敏)",
  38879. "type": "string"
  38880. }
  38881. }
  38882. },
  38883. "models.WrTypeItem": {
  38884. "type": "object",
  38885. "properties": {
  38886. "name": {
  38887. "description": "名称",
  38888. "type": "string"
  38889. },
  38890. "value": {
  38891. "description": "值",
  38892. "type": "string"
  38893. }
  38894. }
  38895. },
  38896. "models.WrUserFriend": {
  38897. "type": "object",
  38898. "properties": {
  38899. "friendname": {
  38900. "description": "朋友名称(已脱敏)",
  38901. "type": "string"
  38902. },
  38903. "frienduserid": {
  38904. "description": "朋友id",
  38905. "type": "integer"
  38906. },
  38907. "isfriend": {
  38908. "description": "是否好友 0-不是 1-是",
  38909. "type": "integer"
  38910. },
  38911. "userid": {
  38912. "description": "用户id",
  38913. "type": "integer"
  38914. }
  38915. }
  38916. },
  38917. "models.WrUserReceiptInfo": {
  38918. "type": "object",
  38919. "properties": {
  38920. "address": {
  38921. "description": "地址[发票类型:企业]",
  38922. "type": "string"
  38923. },
  38924. "autoid": {
  38925. "description": "AutoID",
  38926. "type": "integer"
  38927. },
  38928. "contactinfo": {
  38929. "description": "联系方式",
  38930. "type": "string"
  38931. },
  38932. "idnum": {
  38933. "description": "身份证号码[发票类型:个人]",
  38934. "type": "string"
  38935. },
  38936. "isdefault": {
  38937. "description": "是否默认地址 - 0:否 1:是",
  38938. "type": "integer"
  38939. },
  38940. "receiptaccount": {
  38941. "description": "发票帐号[发票类型:企业]",
  38942. "type": "string"
  38943. },
  38944. "receiptbank": {
  38945. "description": "发票开户行[发票类型:企业]",
  38946. "type": "string"
  38947. },
  38948. "receipttype": {
  38949. "description": "发票类型 - 1:个人 2:企业",
  38950. "type": "integer"
  38951. },
  38952. "taxpayerid": {
  38953. "description": "纳税人识别号",
  38954. "type": "string"
  38955. },
  38956. "userid": {
  38957. "description": "用户ID",
  38958. "type": "integer"
  38959. },
  38960. "username": {
  38961. "description": "户名(个人姓名或企业名称)",
  38962. "type": "string"
  38963. }
  38964. }
  38965. },
  38966. "models.XHBRAND": {
  38967. "type": "object",
  38968. "properties": {
  38969. "brandid": {
  38970. "description": "品牌id",
  38971. "type": "integer"
  38972. },
  38973. "brandname": {
  38974. "description": "品牌名称",
  38975. "type": "string"
  38976. },
  38977. "isvalid": {
  38978. "description": "是否有效 0-无效 1-有效",
  38979. "type": "integer"
  38980. }
  38981. }
  38982. },
  38983. "models.XHDeliveryGoods": {
  38984. "type": "object",
  38985. "properties": {
  38986. "areauserid": {
  38987. "description": "所属机构",
  38988. "type": "integer"
  38989. },
  38990. "bdlst": {
  38991. "description": "品牌列表",
  38992. "type": "array",
  38993. "items": {
  38994. "$ref": "#/definitions/models.XHBRAND"
  38995. }
  38996. },
  38997. "deliverygoodscode": {
  38998. "description": "现货品种代码",
  38999. "type": "string"
  39000. },
  39001. "deliverygoodsid": {
  39002. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  39003. "type": "integer"
  39004. },
  39005. "deliverygoodsname": {
  39006. "description": "现货品种名称",
  39007. "type": "string"
  39008. },
  39009. "dgstatus": {
  39010. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  39011. "type": "integer"
  39012. },
  39013. "filterSubEmpty": {
  39014. "description": "过滤下级为空的",
  39015. "type": "integer"
  39016. },
  39017. "isvalid": {
  39018. "description": "是否有效 - 0:无效 1:有效",
  39019. "type": "integer"
  39020. },
  39021. "remark": {
  39022. "description": "备注",
  39023. "type": "string"
  39024. },
  39025. "unitid": {
  39026. "description": "单位id(目前看,数据库中是空值)",
  39027. "type": "integer"
  39028. },
  39029. "wdlst": {
  39030. "description": "品类(现货商品)列表",
  39031. "type": "array",
  39032. "items": {
  39033. "$ref": "#/definitions/models.XHWrstandard"
  39034. }
  39035. }
  39036. }
  39037. },
  39038. "models.XHMiddleGoods": {
  39039. "type": "object",
  39040. "properties": {
  39041. "GPLST": {
  39042. "description": "期货品种列表",
  39043. "type": "array",
  39044. "items": {
  39045. "$ref": "#/definitions/models.TBGoodsGroup"
  39046. }
  39047. },
  39048. "convertratio": {
  39049. "description": "拆算系数",
  39050. "type": "number"
  39051. },
  39052. "costratio": {
  39053. "description": "成本权重",
  39054. "type": "number"
  39055. },
  39056. "deliverygoodsid": {
  39057. "description": "现货商品id",
  39058. "type": "integer"
  39059. },
  39060. "enumdicname": {
  39061. "description": "单位名称",
  39062. "type": "string"
  39063. },
  39064. "middlegoodscode": {
  39065. "description": "套保品种代码",
  39066. "type": "string"
  39067. },
  39068. "middlegoodsid": {
  39069. "description": "套保品种id",
  39070. "type": "integer"
  39071. },
  39072. "middlegoodsname": {
  39073. "description": "套保品种名称",
  39074. "type": "string"
  39075. },
  39076. "unitid": {
  39077. "description": "单位id",
  39078. "type": "integer"
  39079. }
  39080. }
  39081. },
  39082. "models.XHWrstandard": {
  39083. "type": "object",
  39084. "properties": {
  39085. "bannerpicurl": {
  39086. "description": "banner图",
  39087. "type": "string"
  39088. },
  39089. "deliverygoodsid": {
  39090. "description": "品种ID",
  39091. "type": "integer"
  39092. },
  39093. "enumdicname": {
  39094. "description": "单位名称",
  39095. "type": "string"
  39096. },
  39097. "mglst": {
  39098. "description": "套保品列表",
  39099. "type": "array",
  39100. "items": {
  39101. "$ref": "#/definitions/models.XHMiddleGoods"
  39102. }
  39103. },
  39104. "pictureurls": {
  39105. "description": "详情图片(逗号分隔)",
  39106. "type": "string"
  39107. },
  39108. "thumurls": {
  39109. "description": "缩略图片(1:1)(逗号分隔)",
  39110. "type": "string"
  39111. },
  39112. "unitid": {
  39113. "description": "单位id",
  39114. "type": "integer"
  39115. },
  39116. "vatrate": {
  39117. "description": "增值税率",
  39118. "type": "number"
  39119. },
  39120. "wrstandardcode": {
  39121. "description": "现货商品代码",
  39122. "type": "string"
  39123. },
  39124. "wrstandardid": {
  39125. "description": "现货商品ID(SEQ_WRSTANDARD)",
  39126. "type": "integer"
  39127. },
  39128. "wrstandardname": {
  39129. "description": "现货商品名称",
  39130. "type": "string"
  39131. }
  39132. }
  39133. },
  39134. "order.QueryHisTradeDetailRsp": {
  39135. "type": "object",
  39136. "required": [
  39137. "accountid",
  39138. "buyorsell",
  39139. "goodsid",
  39140. "histradedate",
  39141. "marketid",
  39142. "memberuserid",
  39143. "orderid",
  39144. "tradeamount",
  39145. "tradedate",
  39146. "tradeid",
  39147. "tradeprice",
  39148. "tradeqty",
  39149. "tradetime"
  39150. ],
  39151. "properties": {
  39152. "accountid": {
  39153. "description": "账户ID[报价币种]",
  39154. "type": "integer"
  39155. },
  39156. "advanceratio": {
  39157. "description": "首付比率",
  39158. "type": "number"
  39159. },
  39160. "buildtype": {
  39161. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  39162. "type": "integer"
  39163. },
  39164. "buyorsell": {
  39165. "description": "方向 - 0:买 1:卖",
  39166. "type": "integer"
  39167. },
  39168. "charge": {
  39169. "description": "手续费",
  39170. "type": "number"
  39171. },
  39172. "closecharge": {
  39173. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  39174. "type": "number"
  39175. },
  39176. "closeexchagechargevalue": {
  39177. "description": "平仓交易所手续费设置值",
  39178. "type": "number"
  39179. },
  39180. "closefeealgorithm": {
  39181. "description": "平仓手续费收取方式 1:比率 2:固定",
  39182. "type": "integer"
  39183. },
  39184. "closememberchargevalue": {
  39185. "description": "平仓会员手续费设置值",
  39186. "type": "number"
  39187. },
  39188. "closepl": {
  39189. "description": "平仓盈亏",
  39190. "type": "number"
  39191. },
  39192. "closepl2": {
  39193. "description": "平仓盈亏[逐笔]",
  39194. "type": "number"
  39195. },
  39196. "closeqty": {
  39197. "description": "平仓数量(先建后平操作 需要记录)",
  39198. "type": "number"
  39199. },
  39200. "creditamount": {
  39201. "description": "授信金额",
  39202. "type": "number"
  39203. },
  39204. "decimalplace": {
  39205. "description": "商品报价小数位",
  39206. "type": "integer"
  39207. },
  39208. "enumdicname": {
  39209. "description": "单位名称",
  39210. "type": "string"
  39211. },
  39212. "gcaccountid": {
  39213. "description": "账户ID[合约币种]",
  39214. "type": "integer"
  39215. },
  39216. "goodscode": {
  39217. "description": "商品代码",
  39218. "type": "string"
  39219. },
  39220. "goodsid": {
  39221. "description": "商品ID",
  39222. "type": "integer"
  39223. },
  39224. "goodsname": {
  39225. "description": "商品名称",
  39226. "type": "string"
  39227. },
  39228. "goodunitid": {
  39229. "description": "商品单位id",
  39230. "type": "integer"
  39231. },
  39232. "histradedate": {
  39233. "description": "历史交易日",
  39234. "type": "string"
  39235. },
  39236. "intclosepl": {
  39237. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  39238. "type": "integer"
  39239. },
  39240. "isconfirmexercise": {
  39241. "description": "是否确认行权- 0:否 1:是",
  39242. "type": "integer"
  39243. },
  39244. "ismain": {
  39245. "description": "是否主单 - 0:不是 1:是",
  39246. "type": "integer"
  39247. },
  39248. "ispreexercise": {
  39249. "description": "是否预申报- 0:否 1:是",
  39250. "type": "integer"
  39251. },
  39252. "isreckoned": {
  39253. "description": "是否结算 - 0:未结算 1:已结算",
  39254. "type": "integer"
  39255. },
  39256. "isvaliddata": {
  39257. "description": "是否有效 - 0:无效 1:有效",
  39258. "type": "integer"
  39259. },
  39260. "listingselecttype": {
  39261. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  39262. "type": "integer"
  39263. },
  39264. "marketid": {
  39265. "description": "市场ID",
  39266. "type": "integer"
  39267. },
  39268. "marketname": {
  39269. "description": "市场名称",
  39270. "type": "string"
  39271. },
  39272. "matchaccountid": {
  39273. "description": "对手账号id",
  39274. "type": "integer"
  39275. },
  39276. "memberuserid": {
  39277. "description": "会员id 个人投资者 需要填写",
  39278. "type": "integer"
  39279. },
  39280. "opencharge": {
  39281. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  39282. "type": "number"
  39283. },
  39284. "openexchagechargevalue": {
  39285. "description": "建仓交易所手续费设置值",
  39286. "type": "number"
  39287. },
  39288. "openfeealgorithm": {
  39289. "description": "建仓手续费收取方式 1:比率 2:固定",
  39290. "type": "integer"
  39291. },
  39292. "openmemberchargevalue": {
  39293. "description": "建仓会员手续费设置值",
  39294. "type": "number"
  39295. },
  39296. "openqty": {
  39297. "description": "开仓数量(先建后平操作 需要记录)",
  39298. "type": "number"
  39299. },
  39300. "optiontype": {
  39301. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  39302. "type": "integer"
  39303. },
  39304. "orderid": {
  39305. "description": "委托单号",
  39306. "type": "string"
  39307. },
  39308. "payamount": {
  39309. "description": "支付金额(付款金额)",
  39310. "type": "number"
  39311. },
  39312. "performanceplanid": {
  39313. "description": "履约计划ID[期权]",
  39314. "type": "integer"
  39315. },
  39316. "performancestatus": {
  39317. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  39318. "type": "integer"
  39319. },
  39320. "preexerciseprice": {
  39321. "description": "预申报价格",
  39322. "type": "number"
  39323. },
  39324. "premium": {
  39325. "description": "权利金 - [持仓单的权利金]",
  39326. "type": "number"
  39327. },
  39328. "qtydecimalplace": {
  39329. "description": "商品报价小数位",
  39330. "type": "integer"
  39331. },
  39332. "recvamount": {
  39333. "description": "到账金额 = 成交金额 - 手续费",
  39334. "type": "number"
  39335. },
  39336. "relatedouttradeid": {
  39337. "description": "关联外部成交单ID",
  39338. "type": "integer"
  39339. },
  39340. "status": {
  39341. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  39342. "type": "integer"
  39343. },
  39344. "totalamount": {
  39345. "description": "订单总额 = 成交金额 + 手续费",
  39346. "type": "number"
  39347. },
  39348. "tradeamount": {
  39349. "description": "成交金额[账户币种,用于所有权]",
  39350. "type": "number"
  39351. },
  39352. "tradedate": {
  39353. "description": "交易日(yyyyMMdd)",
  39354. "type": "string"
  39355. },
  39356. "tradeid": {
  39357. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39358. "type": "string"
  39359. },
  39360. "trademode": {
  39361. "description": "交易模式",
  39362. "type": "integer"
  39363. },
  39364. "tradeprice": {
  39365. "description": "成交价格",
  39366. "type": "number"
  39367. },
  39368. "tradeproperty": {
  39369. "description": "交易属性",
  39370. "type": "integer"
  39371. },
  39372. "tradeqty": {
  39373. "description": "成交数量",
  39374. "type": "number"
  39375. },
  39376. "tradetime": {
  39377. "description": "成交时间",
  39378. "type": "string"
  39379. },
  39380. "tradetype": {
  39381. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  39382. "type": "integer"
  39383. }
  39384. }
  39385. },
  39386. "order.QueryHisTradeOrderDetailRsp": {
  39387. "type": "object",
  39388. "required": [
  39389. "accountid",
  39390. "buildtype",
  39391. "buyorsell",
  39392. "goodsid",
  39393. "histradedate",
  39394. "marketid",
  39395. "memberuserid",
  39396. "operatetype",
  39397. "orderid",
  39398. "orderqty",
  39399. "ordertime",
  39400. "pricemode",
  39401. "tradedate",
  39402. "validtype"
  39403. ],
  39404. "properties": {
  39405. "accountid": {
  39406. "description": "账户ID[报价币种]",
  39407. "type": "integer"
  39408. },
  39409. "buildtype": {
  39410. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  39411. "type": "integer"
  39412. },
  39413. "buyorsell": {
  39414. "description": "买卖 - 0:买 1:卖",
  39415. "type": "integer"
  39416. },
  39417. "cancelorderid": {
  39418. "description": "撤单单号(撤单时填写)",
  39419. "type": "string"
  39420. },
  39421. "cancelqty": {
  39422. "description": "撤单数量",
  39423. "type": "number"
  39424. },
  39425. "clientordertime": {
  39426. "description": "客户端委托时间",
  39427. "type": "string"
  39428. },
  39429. "clientticket": {
  39430. "description": "客户端流水号",
  39431. "type": "string"
  39432. },
  39433. "clienttype": {
  39434. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  39435. "type": "integer"
  39436. },
  39437. "closeexchagechargevalue": {
  39438. "description": "平仓交易所手续费设置值",
  39439. "type": "number"
  39440. },
  39441. "closefeealgorithm": {
  39442. "description": "平仓手续费收取方式 1:比率 2:固定",
  39443. "type": "integer"
  39444. },
  39445. "closefreezecharge": {
  39446. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  39447. "type": "number"
  39448. },
  39449. "closememberchargevalue": {
  39450. "description": "平仓会员手续费设置值",
  39451. "type": "number"
  39452. },
  39453. "closeqty": {
  39454. "description": "平仓数量(先建后平操作 需要记录)",
  39455. "type": "number"
  39456. },
  39457. "closetradeqty": {
  39458. "description": "平仓成交数量(先建后平操作,需要记录)",
  39459. "type": "number"
  39460. },
  39461. "closeunfreezecharge": {
  39462. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  39463. "type": "number"
  39464. },
  39465. "decimalplace": {
  39466. "description": "商品报价小数位",
  39467. "type": "integer"
  39468. },
  39469. "delistingtype": {
  39470. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  39471. "type": "integer"
  39472. },
  39473. "enumdicname": {
  39474. "description": "单位名称",
  39475. "type": "string"
  39476. },
  39477. "freezecharge": {
  39478. "description": "冻结手续费",
  39479. "type": "number"
  39480. },
  39481. "freezemargin": {
  39482. "description": "冻结保证金(冻结交易金额)",
  39483. "type": "number"
  39484. },
  39485. "gcaccountid": {
  39486. "description": "账户ID[合约币种]",
  39487. "type": "integer"
  39488. },
  39489. "goodscode": {
  39490. "description": "商品代码",
  39491. "type": "string"
  39492. },
  39493. "goodsid": {
  39494. "description": "商品ID",
  39495. "type": "integer"
  39496. },
  39497. "goodsname": {
  39498. "description": "商品名称",
  39499. "type": "string"
  39500. },
  39501. "goodunitid": {
  39502. "description": "商品单位id",
  39503. "type": "integer"
  39504. },
  39505. "histradedate": {
  39506. "description": "历史交易日",
  39507. "type": "string"
  39508. },
  39509. "isconfirmexercise": {
  39510. "description": "是否确认行权- 0:否 1:是",
  39511. "type": "integer"
  39512. },
  39513. "ispreexercise": {
  39514. "description": "是否预申报- 0:否 1:是",
  39515. "type": "integer"
  39516. },
  39517. "isvaliddata": {
  39518. "description": "是否有效 - 0:无效 1:有效",
  39519. "type": "integer"
  39520. },
  39521. "listingselecttype": {
  39522. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  39523. "type": "integer"
  39524. },
  39525. "marginalgorithm": {
  39526. "description": "保证金收取方式 1:比率 2:固定",
  39527. "type": "integer"
  39528. },
  39529. "marginvalue": {
  39530. "description": "即市保证金设置值",
  39531. "type": "number"
  39532. },
  39533. "marketid": {
  39534. "description": "市场ID",
  39535. "type": "integer"
  39536. },
  39537. "marketmaxsub": {
  39538. "description": "市价最大偏移范围",
  39539. "type": "number"
  39540. },
  39541. "marketname": {
  39542. "description": "市场名称",
  39543. "type": "string"
  39544. },
  39545. "memberuserid": {
  39546. "description": "所属会员UserID",
  39547. "type": "integer"
  39548. },
  39549. "openexchagechargevalue": {
  39550. "description": "建仓交易所手续费设置值",
  39551. "type": "number"
  39552. },
  39553. "openfeealgorithm": {
  39554. "description": "建仓手续费收取方式 1:比率 2:固定",
  39555. "type": "integer"
  39556. },
  39557. "openfreezecharge": {
  39558. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  39559. "type": "number"
  39560. },
  39561. "openmemberchargevalue": {
  39562. "description": "建仓会员手续费设置值",
  39563. "type": "number"
  39564. },
  39565. "openqty": {
  39566. "description": "开仓数量(先建后平操作,需要记录)",
  39567. "type": "number"
  39568. },
  39569. "opentradeqty": {
  39570. "description": "开仓成交数量(先建后平操作,需要记录)",
  39571. "type": "number"
  39572. },
  39573. "openunfreezecharge": {
  39574. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  39575. "type": "number"
  39576. },
  39577. "operatetype": {
  39578. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  39579. "type": "integer"
  39580. },
  39581. "operatorid": {
  39582. "description": "登录账号(LoginID)",
  39583. "type": "integer"
  39584. },
  39585. "optiontype": {
  39586. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  39587. "type": "integer"
  39588. },
  39589. "orderid": {
  39590. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39591. "type": "string"
  39592. },
  39593. "orderprice": {
  39594. "description": "委托价格",
  39595. "type": "number"
  39596. },
  39597. "orderqty": {
  39598. "description": "委托数量",
  39599. "type": "number"
  39600. },
  39601. "ordersrc": {
  39602. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  39603. "type": "integer"
  39604. },
  39605. "orderstatus": {
  39606. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  39607. "type": "integer"
  39608. },
  39609. "ordertime": {
  39610. "description": "委托时间",
  39611. "type": "string"
  39612. },
  39613. "preexerciseprice": {
  39614. "description": "预申报价格",
  39615. "type": "number"
  39616. },
  39617. "premium": {
  39618. "description": "权利金",
  39619. "type": "number"
  39620. },
  39621. "preorderid": {
  39622. "description": "关联预埋单号(止盈止损单时填写)",
  39623. "type": "string"
  39624. },
  39625. "pricemode": {
  39626. "description": "取价方式 - 1:市价 2: 限价",
  39627. "type": "integer"
  39628. },
  39629. "qtydecimalplace": {
  39630. "description": "成交量小数位",
  39631. "type": "integer"
  39632. },
  39633. "quoteid": {
  39634. "description": "报价单ID",
  39635. "type": "integer"
  39636. },
  39637. "relatedid": {
  39638. "description": "关联单号(交割单)",
  39639. "type": "string"
  39640. },
  39641. "retcode": {
  39642. "description": "错误代码",
  39643. "type": "integer"
  39644. },
  39645. "sessionid": {
  39646. "description": "会话ID",
  39647. "type": "integer"
  39648. },
  39649. "tradedate": {
  39650. "description": "交易日(yyyyMMdd)",
  39651. "type": "string"
  39652. },
  39653. "trademode": {
  39654. "description": "交易模式",
  39655. "type": "integer"
  39656. },
  39657. "tradeproperty": {
  39658. "description": "交易属性",
  39659. "type": "integer"
  39660. },
  39661. "tradeqty": {
  39662. "description": "成交数量",
  39663. "type": "number"
  39664. },
  39665. "unfreezecharge": {
  39666. "description": "解冻手续费",
  39667. "type": "number"
  39668. },
  39669. "unfreezemargin": {
  39670. "description": "解冻保证金",
  39671. "type": "number"
  39672. },
  39673. "updatetime": {
  39674. "description": "更新时间",
  39675. "type": "string"
  39676. },
  39677. "uuid": {
  39678. "description": "发起端唯一id",
  39679. "type": "string"
  39680. },
  39681. "validtime": {
  39682. "description": "有效期限",
  39683. "type": "string"
  39684. },
  39685. "validtype": {
  39686. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  39687. "type": "integer"
  39688. },
  39689. "volumetype": {
  39690. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  39691. "type": "integer"
  39692. }
  39693. }
  39694. },
  39695. "order.QueryTradeDetailRsp": {
  39696. "type": "object",
  39697. "required": [
  39698. "accountid",
  39699. "buyorsell",
  39700. "goodsid",
  39701. "marketid",
  39702. "memberuserid",
  39703. "orderid",
  39704. "tradeamount",
  39705. "tradedate",
  39706. "tradeid",
  39707. "tradeprice",
  39708. "tradeqty",
  39709. "tradetime"
  39710. ],
  39711. "properties": {
  39712. "accountid": {
  39713. "description": "账户ID[报价币种]",
  39714. "type": "integer"
  39715. },
  39716. "advanceratio": {
  39717. "description": "首付比率",
  39718. "type": "number"
  39719. },
  39720. "buildtype": {
  39721. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  39722. "type": "integer"
  39723. },
  39724. "buyorsell": {
  39725. "description": "方向 - 0:买 1:卖",
  39726. "type": "integer"
  39727. },
  39728. "charge": {
  39729. "description": "手续费",
  39730. "type": "number"
  39731. },
  39732. "closecharge": {
  39733. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  39734. "type": "number"
  39735. },
  39736. "closeexchagechargevalue": {
  39737. "description": "平仓交易所手续费设置值",
  39738. "type": "number"
  39739. },
  39740. "closefeealgorithm": {
  39741. "description": "平仓手续费收取方式 1:比率 2:固定",
  39742. "type": "integer"
  39743. },
  39744. "closememberchargevalue": {
  39745. "description": "平仓会员手续费设置值",
  39746. "type": "number"
  39747. },
  39748. "closepl": {
  39749. "description": "平仓盈亏",
  39750. "type": "number"
  39751. },
  39752. "closepl2": {
  39753. "description": "平仓盈亏[逐笔]",
  39754. "type": "number"
  39755. },
  39756. "closeqty": {
  39757. "description": "平仓数量(先建后平操作 需要记录)",
  39758. "type": "number"
  39759. },
  39760. "creditamount": {
  39761. "description": "授信金额",
  39762. "type": "number"
  39763. },
  39764. "decimalplace": {
  39765. "description": "商品报价小数位",
  39766. "type": "integer"
  39767. },
  39768. "enumdicname": {
  39769. "description": "单位名称",
  39770. "type": "string"
  39771. },
  39772. "gcaccountid": {
  39773. "description": "账户ID[合约币种]",
  39774. "type": "integer"
  39775. },
  39776. "goodscode": {
  39777. "description": "商品代码",
  39778. "type": "string"
  39779. },
  39780. "goodsid": {
  39781. "description": "商品ID",
  39782. "type": "integer"
  39783. },
  39784. "goodsname": {
  39785. "description": "商品名称",
  39786. "type": "string"
  39787. },
  39788. "goodunitid": {
  39789. "description": "商品单位id",
  39790. "type": "integer"
  39791. },
  39792. "intclosepl": {
  39793. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  39794. "type": "integer"
  39795. },
  39796. "isconfirmexercise": {
  39797. "description": "是否确认行权- 0:否 1:是",
  39798. "type": "integer"
  39799. },
  39800. "ismain": {
  39801. "description": "是否主单 - 0:不是 1:是",
  39802. "type": "integer"
  39803. },
  39804. "ispreexercise": {
  39805. "description": "是否预申报- 0:否 1:是",
  39806. "type": "integer"
  39807. },
  39808. "isreckoned": {
  39809. "description": "是否结算 - 0:未结算 1:已结算",
  39810. "type": "integer"
  39811. },
  39812. "listingselecttype": {
  39813. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  39814. "type": "integer"
  39815. },
  39816. "marketid": {
  39817. "description": "市场ID",
  39818. "type": "integer"
  39819. },
  39820. "marketname": {
  39821. "description": "市场名称",
  39822. "type": "string"
  39823. },
  39824. "matchaccountid": {
  39825. "description": "对手账号id",
  39826. "type": "integer"
  39827. },
  39828. "memberuserid": {
  39829. "description": "会员id 个人投资者 需要填写",
  39830. "type": "integer"
  39831. },
  39832. "opencharge": {
  39833. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  39834. "type": "number"
  39835. },
  39836. "openexchagechargevalue": {
  39837. "description": "建仓交易所手续费设置值",
  39838. "type": "number"
  39839. },
  39840. "openfeealgorithm": {
  39841. "description": "建仓手续费收取方式 1:比率 2:固定",
  39842. "type": "integer"
  39843. },
  39844. "openmemberchargevalue": {
  39845. "description": "建仓会员手续费设置值",
  39846. "type": "number"
  39847. },
  39848. "openqty": {
  39849. "description": "开仓数量(先建后平操作 需要记录)",
  39850. "type": "number"
  39851. },
  39852. "optiontype": {
  39853. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  39854. "type": "integer"
  39855. },
  39856. "orderid": {
  39857. "description": "委托单号",
  39858. "type": "string"
  39859. },
  39860. "payamount": {
  39861. "description": "支付金额(付款金额)",
  39862. "type": "number"
  39863. },
  39864. "performanceplanid": {
  39865. "description": "履约计划ID[期权]",
  39866. "type": "integer"
  39867. },
  39868. "performancestatus": {
  39869. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  39870. "type": "integer"
  39871. },
  39872. "preexerciseprice": {
  39873. "description": "预申报价格",
  39874. "type": "number"
  39875. },
  39876. "premium": {
  39877. "description": "权利金 - [持仓单的权利金]",
  39878. "type": "number"
  39879. },
  39880. "qtydecimalplace": {
  39881. "description": "商品报价小数位",
  39882. "type": "integer"
  39883. },
  39884. "recvamount": {
  39885. "description": "到账金额 = 成交金额 - 手续费",
  39886. "type": "number"
  39887. },
  39888. "relatedouttradeid": {
  39889. "description": "关联外部成交单ID",
  39890. "type": "integer"
  39891. },
  39892. "status": {
  39893. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  39894. "type": "integer"
  39895. },
  39896. "totalamount": {
  39897. "description": "订单总额 = 成交金额 + 手续费",
  39898. "type": "number"
  39899. },
  39900. "tradeamount": {
  39901. "description": "成交金额[账户币种,用于所有权]",
  39902. "type": "number"
  39903. },
  39904. "tradedate": {
  39905. "description": "交易日(yyyyMMdd)",
  39906. "type": "string"
  39907. },
  39908. "tradeid": {
  39909. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39910. "type": "string"
  39911. },
  39912. "trademode": {
  39913. "description": "交易模式",
  39914. "type": "integer"
  39915. },
  39916. "tradeprice": {
  39917. "description": "成交价格",
  39918. "type": "number"
  39919. },
  39920. "tradeproperty": {
  39921. "description": "交易属性",
  39922. "type": "integer"
  39923. },
  39924. "tradeqty": {
  39925. "description": "成交数量",
  39926. "type": "number"
  39927. },
  39928. "tradetime": {
  39929. "description": "成交时间",
  39930. "type": "string"
  39931. },
  39932. "tradetype": {
  39933. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  39934. "type": "integer"
  39935. }
  39936. }
  39937. },
  39938. "order.QueryTradeOrderDetailRsp": {
  39939. "type": "object",
  39940. "required": [
  39941. "accountid",
  39942. "buildtype",
  39943. "buyorsell",
  39944. "goodsid",
  39945. "marketid",
  39946. "operatetype",
  39947. "orderqty",
  39948. "ordertime",
  39949. "pricemode",
  39950. "tradedate",
  39951. "validtype"
  39952. ],
  39953. "properties": {
  39954. "accountid": {
  39955. "description": "账户ID[报价币种]",
  39956. "type": "integer"
  39957. },
  39958. "buildtype": {
  39959. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  39960. "type": "integer"
  39961. },
  39962. "buyorsell": {
  39963. "description": "买卖 - 0:买 1:卖",
  39964. "type": "integer"
  39965. },
  39966. "cancelorderid": {
  39967. "description": "撤单单号(撤单时填写)",
  39968. "type": "string"
  39969. },
  39970. "cancelqty": {
  39971. "description": "撤单数量",
  39972. "type": "number"
  39973. },
  39974. "clienttype": {
  39975. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  39976. "type": "integer"
  39977. },
  39978. "closefreezecharge": {
  39979. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  39980. "type": "number"
  39981. },
  39982. "closeqty": {
  39983. "description": "平仓数量(先建后平操作 需要记录)",
  39984. "type": "number"
  39985. },
  39986. "closetradeqty": {
  39987. "description": "平仓成交数量(先建后平操作,需要记录)",
  39988. "type": "number"
  39989. },
  39990. "closeunfreezecharge": {
  39991. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  39992. "type": "number"
  39993. },
  39994. "decimalplace": {
  39995. "description": "商品报价小数位",
  39996. "type": "integer"
  39997. },
  39998. "delistingtype": {
  39999. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  40000. "type": "integer"
  40001. },
  40002. "enableqty": {
  40003. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  40004. "type": "number"
  40005. },
  40006. "enumdicname": {
  40007. "description": "单位名称",
  40008. "type": "string"
  40009. },
  40010. "freezecharge": {
  40011. "description": "冻结手续费",
  40012. "type": "number"
  40013. },
  40014. "freezemargin": {
  40015. "description": "冻结保证金(冻结交易金额)",
  40016. "type": "number"
  40017. },
  40018. "goodscode": {
  40019. "description": "商品代码",
  40020. "type": "string"
  40021. },
  40022. "goodsid": {
  40023. "description": "商品ID",
  40024. "type": "integer"
  40025. },
  40026. "goodsname": {
  40027. "description": "商品名称",
  40028. "type": "string"
  40029. },
  40030. "goodunitid": {
  40031. "description": "商品单位id",
  40032. "type": "integer"
  40033. },
  40034. "listingselecttype": {
  40035. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  40036. "type": "integer"
  40037. },
  40038. "marketid": {
  40039. "description": "市场ID",
  40040. "type": "integer"
  40041. },
  40042. "marketname": {
  40043. "description": "市场名称",
  40044. "type": "string"
  40045. },
  40046. "openfreezecharge": {
  40047. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  40048. "type": "number"
  40049. },
  40050. "openqty": {
  40051. "description": "开仓数量(先建后平操作,需要记录)",
  40052. "type": "number"
  40053. },
  40054. "opentradeqty": {
  40055. "description": "开仓成交数量(先建后平操作,需要记录)",
  40056. "type": "number"
  40057. },
  40058. "openunfreezecharge": {
  40059. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  40060. "type": "number"
  40061. },
  40062. "operatetype": {
  40063. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  40064. "type": "integer"
  40065. },
  40066. "operatorid": {
  40067. "description": "登录账号(LoginID)",
  40068. "type": "integer"
  40069. },
  40070. "orderid": {
  40071. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  40072. "type": "string"
  40073. },
  40074. "orderprice": {
  40075. "description": "委托价格",
  40076. "type": "number"
  40077. },
  40078. "orderqty": {
  40079. "description": "委托数量",
  40080. "type": "number"
  40081. },
  40082. "ordersrc": {
  40083. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  40084. "type": "integer"
  40085. },
  40086. "orderstatus": {
  40087. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  40088. "type": "integer"
  40089. },
  40090. "ordertime": {
  40091. "description": "委托时间",
  40092. "type": "string"
  40093. },
  40094. "preorderid": {
  40095. "description": "关联预埋单号(止盈止损单时填写)",
  40096. "type": "string"
  40097. },
  40098. "pricemode": {
  40099. "description": "取价方式 - 1:市价 2: 限价",
  40100. "type": "integer"
  40101. },
  40102. "qtydecimalplace": {
  40103. "description": "商品报价小数位",
  40104. "type": "integer"
  40105. },
  40106. "relatedid": {
  40107. "description": "关联单号(交割单)",
  40108. "type": "string"
  40109. },
  40110. "tradedate": {
  40111. "description": "交易日(yyyyMMdd)",
  40112. "type": "string"
  40113. },
  40114. "trademode": {
  40115. "description": "交易模式",
  40116. "type": "integer"
  40117. },
  40118. "tradeqty": {
  40119. "description": "成交数量",
  40120. "type": "number"
  40121. },
  40122. "unfreezecharge": {
  40123. "description": "解冻手续费",
  40124. "type": "number"
  40125. },
  40126. "unfreezemargin": {
  40127. "description": "解冻保证金",
  40128. "type": "number"
  40129. },
  40130. "validtime": {
  40131. "description": "有效期限",
  40132. "type": "string"
  40133. },
  40134. "validtype": {
  40135. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  40136. "type": "integer"
  40137. },
  40138. "volumetype": {
  40139. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  40140. "type": "integer"
  40141. }
  40142. }
  40143. },
  40144. "order.QueryTradePositionRsp": {
  40145. "type": "object",
  40146. "required": [
  40147. "goodsid"
  40148. ],
  40149. "properties": {
  40150. "accountid": {
  40151. "description": "资金账户",
  40152. "type": "integer"
  40153. },
  40154. "agreeunit": {
  40155. "description": "合约单位",
  40156. "type": "number"
  40157. },
  40158. "averageprice": {
  40159. "description": "持仓均价",
  40160. "type": "number"
  40161. },
  40162. "buyorsell": {
  40163. "description": "方向 - 0:买 1:卖",
  40164. "type": "integer"
  40165. },
  40166. "closetotalqty": {
  40167. "description": "平仓总数量",
  40168. "type": "number"
  40169. },
  40170. "curholderamount": {
  40171. "description": "当前持仓总金额[商品币种]",
  40172. "type": "number"
  40173. },
  40174. "curpositionqty": {
  40175. "description": "当前持仓总数量",
  40176. "type": "number"
  40177. },
  40178. "currencyid": {
  40179. "description": "报价货币ID",
  40180. "type": "integer"
  40181. },
  40182. "curtdposition": {
  40183. "description": "期末今日头寸",
  40184. "type": "number"
  40185. },
  40186. "decimalplace": {
  40187. "description": "报价小数位",
  40188. "type": "integer"
  40189. },
  40190. "enableqty": {
  40191. "description": "可用量",
  40192. "type": "number"
  40193. },
  40194. "fretdposition": {
  40195. "description": "冻结今日头寸",
  40196. "type": "number"
  40197. },
  40198. "frozenqty": {
  40199. "description": "持仓冻结数量",
  40200. "type": "number"
  40201. },
  40202. "goodscode": {
  40203. "description": "商品代码",
  40204. "type": "string"
  40205. },
  40206. "goodsid": {
  40207. "description": "商品Id",
  40208. "type": "integer"
  40209. },
  40210. "goodsname": {
  40211. "description": "商品名称",
  40212. "type": "string"
  40213. },
  40214. "goodunit": {
  40215. "description": "报价单位",
  40216. "type": "string"
  40217. },
  40218. "goodunitid": {
  40219. "description": "报价单位ID",
  40220. "type": "integer"
  40221. },
  40222. "holderamount": {
  40223. "description": "期初持仓总金额[商品币种]",
  40224. "type": "number"
  40225. },
  40226. "lastprice": {
  40227. "description": "最新价",
  40228. "type": "number"
  40229. },
  40230. "marketamount": {
  40231. "description": "市值",
  40232. "type": "number"
  40233. },
  40234. "marketid": {
  40235. "description": "所属市场ID",
  40236. "type": "integer"
  40237. },
  40238. "openreqqty": {
  40239. "description": "开仓申请数量(用于比较最大持仓数量)",
  40240. "type": "number"
  40241. },
  40242. "opentotalqty": {
  40243. "description": "开仓总数量",
  40244. "type": "number"
  40245. },
  40246. "otherfrozenqty": {
  40247. "description": "持仓其他冻结数量(交割冻结)",
  40248. "type": "number"
  40249. },
  40250. "positionpl": {
  40251. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  40252. "type": "number"
  40253. },
  40254. "positionplrate": {
  40255. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  40256. "type": "number"
  40257. },
  40258. "positionqty": {
  40259. "description": "期初持仓数量",
  40260. "type": "number"
  40261. },
  40262. "qtydecimalplace": {
  40263. "description": "成交量小数位",
  40264. "type": "integer"
  40265. },
  40266. "refgoodscode": {
  40267. "description": "参考商品代码",
  40268. "type": "string"
  40269. },
  40270. "refgoodsid": {
  40271. "description": "参考商品ID",
  40272. "type": "integer"
  40273. },
  40274. "tnqty": {
  40275. "description": "T+N冻结总量",
  40276. "type": "number"
  40277. },
  40278. "tnusedqty": {
  40279. "description": "T+N使用量(可以使用T+N的冻结数量)",
  40280. "type": "number"
  40281. },
  40282. "trademode": {
  40283. "description": "交易模式",
  40284. "type": "integer"
  40285. },
  40286. "tradeproperty": {
  40287. "description": "交易属性",
  40288. "type": "integer"
  40289. },
  40290. "usedmargin": {
  40291. "description": "占用保证金[商品币种]",
  40292. "type": "number"
  40293. }
  40294. }
  40295. },
  40296. "pb.GoodsMarginCfgStruct": {
  40297. "type": "object",
  40298. "properties": {
  40299. "CustomerTypeID": {
  40300. "description": "投资者客户类型",
  40301. "type": "integer"
  40302. },
  40303. "GoodsID": {
  40304. "description": "商品ID",
  40305. "type": "integer"
  40306. },
  40307. "IsDefault": {
  40308. "description": "是否默认标志位",
  40309. "type": "integer"
  40310. },
  40311. "LockMarginValue": {
  40312. "description": "锁仓保证金",
  40313. "type": "number"
  40314. },
  40315. "MarginAlgorithm": {
  40316. "description": "保证金计算方式",
  40317. "type": "integer"
  40318. },
  40319. "MarketMarginValue": {
  40320. "description": "即市保证金值",
  40321. "type": "number"
  40322. },
  40323. "RealMarginAlgorithm": {
  40324. "description": "实付保证金计算方式",
  40325. "type": "integer"
  40326. },
  40327. "RealMarginValue": {
  40328. "description": "实付比例",
  40329. "type": "number"
  40330. },
  40331. "ReckonMarginValue": {
  40332. "description": "结算保证金值",
  40333. "type": "number"
  40334. }
  40335. }
  40336. },
  40337. "quote.HistoryData": {
  40338. "type": "object",
  40339. "properties": {
  40340. "c": {
  40341. "description": "收盘价",
  40342. "type": "number"
  40343. },
  40344. "f": {
  40345. "description": "是否补充数据",
  40346. "type": "boolean"
  40347. },
  40348. "h": {
  40349. "description": "最高价",
  40350. "type": "number"
  40351. },
  40352. "hv": {
  40353. "description": "持仓量",
  40354. "type": "integer"
  40355. },
  40356. "l": {
  40357. "description": "最低价",
  40358. "type": "number"
  40359. },
  40360. "o": {
  40361. "description": "开盘价",
  40362. "type": "number"
  40363. },
  40364. "s": {
  40365. "description": "结算价,日线周期(包括)以上才有",
  40366. "type": "number"
  40367. },
  40368. "ts": {
  40369. "description": "时间",
  40370. "type": "string"
  40371. },
  40372. "tt": {
  40373. "description": "总金额",
  40374. "type": "number"
  40375. },
  40376. "tv": {
  40377. "description": "总量(成交量)",
  40378. "type": "integer"
  40379. }
  40380. }
  40381. },
  40382. "quote.HistoryTikData": {
  40383. "type": "object",
  40384. "properties": {
  40385. "AV": {
  40386. "description": "卖量",
  40387. "type": "integer"
  40388. },
  40389. "Ask": {
  40390. "description": "卖价",
  40391. "type": "number"
  40392. },
  40393. "BV": {
  40394. "description": "买量",
  40395. "type": "integer"
  40396. },
  40397. "Bid": {
  40398. "description": "买价",
  40399. "type": "number"
  40400. },
  40401. "HI": {
  40402. "description": "单笔持仓",
  40403. "type": "integer"
  40404. },
  40405. "HV": {
  40406. "description": "持仓量",
  40407. "type": "integer"
  40408. },
  40409. "PE": {
  40410. "description": "现价",
  40411. "type": "number"
  40412. },
  40413. "TDR": {
  40414. "description": "交易方向,0:买 1:卖",
  40415. "type": "integer"
  40416. },
  40417. "TK": {
  40418. "description": "交易类型",
  40419. "type": "integer"
  40420. },
  40421. "TS": {
  40422. "description": "行情时间文本",
  40423. "type": "string"
  40424. },
  40425. "TT": {
  40426. "description": "现金额",
  40427. "type": "number"
  40428. },
  40429. "Vol": {
  40430. "description": "现量",
  40431. "type": "integer"
  40432. }
  40433. }
  40434. },
  40435. "quote.QueryQuoteDayRsp": {
  40436. "type": "object",
  40437. "properties": {
  40438. "ask": {
  40439. "description": "卖1",
  40440. "type": "number"
  40441. },
  40442. "ask10": {
  40443. "description": "卖10",
  40444. "type": "number"
  40445. },
  40446. "ask2": {
  40447. "description": "卖2",
  40448. "type": "number"
  40449. },
  40450. "ask3": {
  40451. "description": "卖3",
  40452. "type": "number"
  40453. },
  40454. "ask4": {
  40455. "description": "卖4",
  40456. "type": "number"
  40457. },
  40458. "ask5": {
  40459. "description": "卖5",
  40460. "type": "number"
  40461. },
  40462. "ask6": {
  40463. "description": "卖6",
  40464. "type": "number"
  40465. },
  40466. "ask7": {
  40467. "description": "卖7",
  40468. "type": "number"
  40469. },
  40470. "ask8": {
  40471. "description": "卖8",
  40472. "type": "number"
  40473. },
  40474. "ask9": {
  40475. "description": "卖9",
  40476. "type": "number"
  40477. },
  40478. "askorderid": {
  40479. "description": "卖单号1",
  40480. "type": "integer"
  40481. },
  40482. "askorderid2": {
  40483. "description": "卖单号2",
  40484. "type": "integer"
  40485. },
  40486. "askorderid3": {
  40487. "description": "卖单号3",
  40488. "type": "integer"
  40489. },
  40490. "askorderid4": {
  40491. "description": "卖单号4",
  40492. "type": "integer"
  40493. },
  40494. "askorderid5": {
  40495. "description": "卖单号5",
  40496. "type": "integer"
  40497. },
  40498. "askordervolume": {
  40499. "description": "卖单量1",
  40500. "type": "integer"
  40501. },
  40502. "askordervolume10": {
  40503. "description": "卖单量10",
  40504. "type": "integer"
  40505. },
  40506. "askordervolume2": {
  40507. "description": "卖单量2",
  40508. "type": "integer"
  40509. },
  40510. "askordervolume3": {
  40511. "description": "卖单量3",
  40512. "type": "integer"
  40513. },
  40514. "askordervolume4": {
  40515. "description": "卖单量4",
  40516. "type": "integer"
  40517. },
  40518. "askordervolume5": {
  40519. "description": "卖单量5",
  40520. "type": "integer"
  40521. },
  40522. "askordervolume6": {
  40523. "description": "卖单量6",
  40524. "type": "integer"
  40525. },
  40526. "askordervolume7": {
  40527. "description": "卖单量7",
  40528. "type": "integer"
  40529. },
  40530. "askordervolume8": {
  40531. "description": "卖单量8",
  40532. "type": "integer"
  40533. },
  40534. "askordervolume9": {
  40535. "description": "卖单量9",
  40536. "type": "integer"
  40537. },
  40538. "askqueueinfo": {
  40539. "description": "大利市卖港股用",
  40540. "type": "string"
  40541. },
  40542. "askvolume": {
  40543. "description": "卖量1",
  40544. "type": "integer"
  40545. },
  40546. "askvolume10": {
  40547. "description": "卖量10",
  40548. "type": "integer"
  40549. },
  40550. "askvolume2": {
  40551. "description": "卖量2",
  40552. "type": "integer"
  40553. },
  40554. "askvolume3": {
  40555. "description": "卖量3",
  40556. "type": "integer"
  40557. },
  40558. "askvolume4": {
  40559. "description": "卖量4",
  40560. "type": "integer"
  40561. },
  40562. "askvolume5": {
  40563. "description": "卖量5",
  40564. "type": "integer"
  40565. },
  40566. "askvolume6": {
  40567. "description": "卖量6",
  40568. "type": "integer"
  40569. },
  40570. "askvolume7": {
  40571. "description": "卖量7",
  40572. "type": "integer"
  40573. },
  40574. "askvolume8": {
  40575. "description": "卖量8",
  40576. "type": "integer"
  40577. },
  40578. "askvolume9": {
  40579. "description": "卖量9",
  40580. "type": "integer"
  40581. },
  40582. "averageprice": {
  40583. "description": "均价",
  40584. "type": "number"
  40585. },
  40586. "bid": {
  40587. "description": "买1",
  40588. "type": "number"
  40589. },
  40590. "bid10": {
  40591. "description": "买10",
  40592. "type": "number"
  40593. },
  40594. "bid2": {
  40595. "description": "买2",
  40596. "type": "number"
  40597. },
  40598. "bid3": {
  40599. "description": "买3",
  40600. "type": "number"
  40601. },
  40602. "bid4": {
  40603. "description": "买4",
  40604. "type": "number"
  40605. },
  40606. "bid5": {
  40607. "description": "买5",
  40608. "type": "number"
  40609. },
  40610. "bid6": {
  40611. "description": "买6",
  40612. "type": "number"
  40613. },
  40614. "bid7": {
  40615. "description": "买7",
  40616. "type": "number"
  40617. },
  40618. "bid8": {
  40619. "description": "买8",
  40620. "type": "number"
  40621. },
  40622. "bid9": {
  40623. "description": "买9",
  40624. "type": "number"
  40625. },
  40626. "bidorderid": {
  40627. "description": "买单号1",
  40628. "type": "integer"
  40629. },
  40630. "bidorderid2": {
  40631. "description": "买单号2",
  40632. "type": "integer"
  40633. },
  40634. "bidorderid3": {
  40635. "description": "买单号3",
  40636. "type": "integer"
  40637. },
  40638. "bidorderid4": {
  40639. "description": "买单号4",
  40640. "type": "integer"
  40641. },
  40642. "bidorderid5": {
  40643. "description": "买单号5",
  40644. "type": "integer"
  40645. },
  40646. "bidordervolume": {
  40647. "description": "买单量1",
  40648. "type": "integer"
  40649. },
  40650. "bidordervolume10": {
  40651. "description": "买单量10",
  40652. "type": "integer"
  40653. },
  40654. "bidordervolume2": {
  40655. "description": "买单量2",
  40656. "type": "integer"
  40657. },
  40658. "bidordervolume3": {
  40659. "description": "买单量3",
  40660. "type": "integer"
  40661. },
  40662. "bidordervolume4": {
  40663. "description": "买单量4",
  40664. "type": "integer"
  40665. },
  40666. "bidordervolume5": {
  40667. "description": "买单量5",
  40668. "type": "integer"
  40669. },
  40670. "bidordervolume6": {
  40671. "description": "买单量6",
  40672. "type": "integer"
  40673. },
  40674. "bidordervolume7": {
  40675. "description": "买单量7",
  40676. "type": "integer"
  40677. },
  40678. "bidordervolume8": {
  40679. "description": "买单量8",
  40680. "type": "integer"
  40681. },
  40682. "bidordervolume9": {
  40683. "description": "买单量9",
  40684. "type": "integer"
  40685. },
  40686. "bidqueueinfo": {
  40687. "description": "大利市买港股用",
  40688. "type": "string"
  40689. },
  40690. "bidvolume": {
  40691. "description": "买量1",
  40692. "type": "integer"
  40693. },
  40694. "bidvolume10": {
  40695. "description": "买量10",
  40696. "type": "integer"
  40697. },
  40698. "bidvolume2": {
  40699. "description": "买量2",
  40700. "type": "integer"
  40701. },
  40702. "bidvolume3": {
  40703. "description": "买量3",
  40704. "type": "integer"
  40705. },
  40706. "bidvolume4": {
  40707. "description": "买量4",
  40708. "type": "integer"
  40709. },
  40710. "bidvolume5": {
  40711. "description": "买量5",
  40712. "type": "integer"
  40713. },
  40714. "bidvolume6": {
  40715. "description": "买量6",
  40716. "type": "integer"
  40717. },
  40718. "bidvolume7": {
  40719. "description": "买量7",
  40720. "type": "integer"
  40721. },
  40722. "bidvolume8": {
  40723. "description": "买量8",
  40724. "type": "integer"
  40725. },
  40726. "bidvolume9": {
  40727. "description": "买量9",
  40728. "type": "integer"
  40729. },
  40730. "calloptionpremiums": {
  40731. "description": "认购期权1",
  40732. "type": "integer"
  40733. },
  40734. "calloptionpremiums2": {
  40735. "description": "认购期权2",
  40736. "type": "integer"
  40737. },
  40738. "calloptionpremiums3": {
  40739. "description": "认购期权3",
  40740. "type": "integer"
  40741. },
  40742. "calloptionpremiums4": {
  40743. "description": "认购期权4",
  40744. "type": "integer"
  40745. },
  40746. "calloptionpremiums5": {
  40747. "description": "认购期权5",
  40748. "type": "integer"
  40749. },
  40750. "cleartime": {
  40751. "description": "清盘时间",
  40752. "type": "integer"
  40753. },
  40754. "exchangecode": {
  40755. "description": "交易所代码",
  40756. "type": "integer"
  40757. },
  40758. "exchangedate": {
  40759. "description": "交易日",
  40760. "type": "integer"
  40761. },
  40762. "goodscode": {
  40763. "description": "商品代码",
  40764. "type": "string"
  40765. },
  40766. "grepmarketprice": {
  40767. "description": "暗盘价 港股专用",
  40768. "type": "number"
  40769. },
  40770. "highest": {
  40771. "description": "最高价",
  40772. "type": "number"
  40773. },
  40774. "holdincrement": {
  40775. "description": "单笔持仓",
  40776. "type": "integer"
  40777. },
  40778. "holdvolume": {
  40779. "description": "持仓",
  40780. "type": "integer"
  40781. },
  40782. "iep": {
  40783. "description": "平衡价 港股专用",
  40784. "type": "number"
  40785. },
  40786. "iev": {
  40787. "description": "平衡量 港股专用",
  40788. "type": "number"
  40789. },
  40790. "inventory": {
  40791. "description": "库存",
  40792. "type": "integer"
  40793. },
  40794. "iscleared": {
  40795. "description": "是否清盘标志",
  40796. "type": "integer"
  40797. },
  40798. "issettled": {
  40799. "description": "是否结算标志",
  40800. "type": "integer"
  40801. },
  40802. "last": {
  40803. "description": "最新价",
  40804. "type": "number"
  40805. },
  40806. "lastlot": {
  40807. "description": "最新成交手数",
  40808. "type": "integer"
  40809. },
  40810. "lasttime": {
  40811. "description": "行情时间(只有现价变化行情时间才变化)",
  40812. "type": "string"
  40813. },
  40814. "lastturnover": {
  40815. "description": "最新成交金额",
  40816. "type": "number"
  40817. },
  40818. "lastvolume": {
  40819. "description": "最新成交量",
  40820. "type": "integer"
  40821. },
  40822. "limitdown": {
  40823. "description": "跌停价",
  40824. "type": "number"
  40825. },
  40826. "limitup": {
  40827. "description": "涨停价",
  40828. "type": "number"
  40829. },
  40830. "lowest": {
  40831. "description": "最低价",
  40832. "type": "number"
  40833. },
  40834. "nontotalholdervolume": {
  40835. "description": "非交易持仓量",
  40836. "type": "integer"
  40837. },
  40838. "nontotallot": {
  40839. "description": "非交易总手数",
  40840. "type": "integer"
  40841. },
  40842. "nontotalturnover": {
  40843. "description": "非交易总金额",
  40844. "type": "integer"
  40845. },
  40846. "nontotalvolume": {
  40847. "description": "非交易总量",
  40848. "type": "integer"
  40849. },
  40850. "opened": {
  40851. "description": "开盘价",
  40852. "type": "number"
  40853. },
  40854. "opentime": {
  40855. "description": "开盘时间",
  40856. "type": "string"
  40857. },
  40858. "orderid": {
  40859. "description": "序号",
  40860. "type": "integer"
  40861. },
  40862. "preclose": {
  40863. "description": "昨收",
  40864. "type": "number"
  40865. },
  40866. "preholdvolume": {
  40867. "description": "昨持仓",
  40868. "type": "integer"
  40869. },
  40870. "presettle": {
  40871. "description": "昨结价",
  40872. "type": "number"
  40873. },
  40874. "publictradetype": {
  40875. "description": "公共交易标志类型 港股专用",
  40876. "type": "string"
  40877. },
  40878. "putoptionpremiums": {
  40879. "description": "认沽期权1",
  40880. "type": "integer"
  40881. },
  40882. "putoptionpremiums2": {
  40883. "description": "认沽期权2",
  40884. "type": "integer"
  40885. },
  40886. "putoptionpremiums3": {
  40887. "description": "认沽期权3",
  40888. "type": "integer"
  40889. },
  40890. "putoptionpremiums4": {
  40891. "description": "认沽期权4",
  40892. "type": "integer"
  40893. },
  40894. "putoptionpremiums5": {
  40895. "description": "认沽期权5",
  40896. "type": "integer"
  40897. },
  40898. "settle": {
  40899. "description": "结算价",
  40900. "type": "number"
  40901. },
  40902. "strikeprice": {
  40903. "description": "发行价",
  40904. "type": "number"
  40905. },
  40906. "totalaskvolume": {
  40907. "description": "内盘",
  40908. "type": "integer"
  40909. },
  40910. "totalbidvolume": {
  40911. "description": "外盘",
  40912. "type": "integer"
  40913. },
  40914. "totallot": {
  40915. "description": "总手数",
  40916. "type": "integer"
  40917. },
  40918. "totalturnover": {
  40919. "description": "总金额",
  40920. "type": "number"
  40921. },
  40922. "totalvolume": {
  40923. "description": "总量",
  40924. "type": "integer"
  40925. },
  40926. "utclasttime": {
  40927. "description": "utc的行情时间",
  40928. "type": "string"
  40929. }
  40930. }
  40931. },
  40932. "quote.QueryTSDataRsp": {
  40933. "type": "object",
  40934. "properties": {
  40935. "Count": {
  40936. "description": "交易日应有数据个数",
  40937. "type": "integer"
  40938. },
  40939. "decimalPlace": {
  40940. "description": "小数位",
  40941. "type": "integer"
  40942. },
  40943. "endTime": {
  40944. "description": "结束时间",
  40945. "type": "string"
  40946. },
  40947. "goodsCode": {
  40948. "description": "商品代码",
  40949. "type": "string"
  40950. },
  40951. "historyDatas": {
  40952. "description": "历史数据",
  40953. "type": "array",
  40954. "items": {
  40955. "$ref": "#/definitions/quote.HistoryData"
  40956. }
  40957. },
  40958. "outGoodsCode": {
  40959. "description": "外部商品代码",
  40960. "type": "string"
  40961. },
  40962. "preSettle": {
  40963. "description": "昨结价",
  40964. "type": "number"
  40965. },
  40966. "runSteps": {
  40967. "description": "交易日开休市计划",
  40968. "type": "array",
  40969. "items": {
  40970. "$ref": "#/definitions/quote.TSDataRunStep"
  40971. }
  40972. },
  40973. "startTime": {
  40974. "description": "开始时间",
  40975. "type": "string"
  40976. },
  40977. "tradeDate": {
  40978. "description": "交易日",
  40979. "type": "string"
  40980. }
  40981. }
  40982. },
  40983. "quote.TSDataRunStep": {
  40984. "type": "object",
  40985. "properties": {
  40986. "end": {
  40987. "description": "真实结束时间",
  40988. "type": "string"
  40989. },
  40990. "endflag": {
  40991. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  40992. "type": "integer"
  40993. },
  40994. "endtime": {
  40995. "description": "结束时间(HH:mm)",
  40996. "type": "string"
  40997. },
  40998. "endweekday": {
  40999. "description": "结束周几",
  41000. "type": "integer"
  41001. },
  41002. "groupid": {
  41003. "description": "分组ID",
  41004. "type": "integer"
  41005. },
  41006. "runstep": {
  41007. "description": "运行阶段 - 2:连续交易",
  41008. "type": "integer"
  41009. },
  41010. "sectionid": {
  41011. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  41012. "type": "integer"
  41013. },
  41014. "start": {
  41015. "description": "真实开始时间",
  41016. "type": "string"
  41017. },
  41018. "startflag": {
  41019. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  41020. "type": "integer"
  41021. },
  41022. "starttime": {
  41023. "description": "起始时间(HH:mm)",
  41024. "type": "string"
  41025. },
  41026. "startweekday": {
  41027. "description": "起始周几",
  41028. "type": "integer"
  41029. },
  41030. "tradeweekday": {
  41031. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  41032. "type": "integer"
  41033. }
  41034. }
  41035. },
  41036. "szdz.QueryConvertLogRsp": {
  41037. "type": "object",
  41038. "required": [
  41039. "logid"
  41040. ],
  41041. "properties": {
  41042. "accountid": {
  41043. "description": "资金账户ID",
  41044. "type": "integer"
  41045. },
  41046. "clientticket": {
  41047. "description": "客户端流水号",
  41048. "type": "string"
  41049. },
  41050. "converttype": {
  41051. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  41052. "type": "integer"
  41053. },
  41054. "createtime": {
  41055. "description": "记账时间",
  41056. "type": "string"
  41057. },
  41058. "daymaxvalue": {
  41059. "description": "配置当日最大转入限制",
  41060. "type": "number"
  41061. },
  41062. "daymaxvalue2": {
  41063. "description": "配置当日最大转入限制(转入)",
  41064. "type": "number"
  41065. },
  41066. "goodscode": {
  41067. "description": "商品代码",
  41068. "type": "string"
  41069. },
  41070. "goodsname": {
  41071. "description": "商品名称",
  41072. "type": "string"
  41073. },
  41074. "handlestatus": {
  41075. "description": "处理状态",
  41076. "type": "integer"
  41077. },
  41078. "innergoodsid": {
  41079. "description": "内部商品ID",
  41080. "type": "integer"
  41081. },
  41082. "inratio": {
  41083. "description": "配置转入比值",
  41084. "type": "integer"
  41085. },
  41086. "invalue": {
  41087. "description": "目标值",
  41088. "type": "number"
  41089. },
  41090. "logid": {
  41091. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  41092. "type": "integer"
  41093. },
  41094. "mobile": {
  41095. "description": "手机号码(加密存储)",
  41096. "type": "string"
  41097. },
  41098. "outergoodscode": {
  41099. "description": "外部商品代码[JD\\PD]",
  41100. "type": "string"
  41101. },
  41102. "outratio": {
  41103. "description": "配置转出比值",
  41104. "type": "integer"
  41105. },
  41106. "outvalue": {
  41107. "description": "源值",
  41108. "type": "number"
  41109. },
  41110. "pddecimalplace": {
  41111. "description": "PD小数位",
  41112. "type": "integer"
  41113. },
  41114. "qty": {
  41115. "description": "数量",
  41116. "type": "string"
  41117. },
  41118. "remark": {
  41119. "description": "备注",
  41120. "type": "string"
  41121. },
  41122. "sessionid": {
  41123. "description": "会话ID",
  41124. "type": "integer"
  41125. },
  41126. "timemaxvalue": {
  41127. "description": "配置单次最大转入限制",
  41128. "type": "number"
  41129. },
  41130. "timemaxvalue2": {
  41131. "description": "配置单次最大转入限制(转入)",
  41132. "type": "number"
  41133. },
  41134. "timeminvalue": {
  41135. "description": "配置单次最小数量限制",
  41136. "type": "number"
  41137. },
  41138. "timeminvalue2": {
  41139. "description": "配置单次最小数量限制(转入)",
  41140. "type": "number"
  41141. },
  41142. "tradedate": {
  41143. "description": "交易日(yyyyMMdd)",
  41144. "type": "string"
  41145. },
  41146. "userid": {
  41147. "description": "用户ID",
  41148. "type": "integer"
  41149. }
  41150. }
  41151. },
  41152. "szdz.QueryGoodsPickupRsp": {
  41153. "type": "object",
  41154. "required": [
  41155. "takeorderid"
  41156. ],
  41157. "properties": {
  41158. "accountid": {
  41159. "description": "账户ID",
  41160. "type": "integer"
  41161. },
  41162. "address": {
  41163. "description": "提货人详细地址",
  41164. "type": "string"
  41165. },
  41166. "auditer": {
  41167. "description": "审核人",
  41168. "type": "integer"
  41169. },
  41170. "audittime": {
  41171. "description": "审核时间",
  41172. "type": "string"
  41173. },
  41174. "cardnum": {
  41175. "description": "提货人证件号码",
  41176. "type": "string"
  41177. },
  41178. "cardtypeid": {
  41179. "description": "提货人证件类型",
  41180. "type": "integer"
  41181. },
  41182. "checkremark": {
  41183. "description": "审核备注",
  41184. "type": "string"
  41185. },
  41186. "goodscode": {
  41187. "description": "商品代码",
  41188. "type": "string"
  41189. },
  41190. "goodsid": {
  41191. "description": "商品ID",
  41192. "type": "integer"
  41193. },
  41194. "goodsname": {
  41195. "description": "商品名称",
  41196. "type": "string"
  41197. },
  41198. "handlestatus": {
  41199. "description": "处理状态",
  41200. "type": "integer"
  41201. },
  41202. "marketid": {
  41203. "description": "市场ID",
  41204. "type": "integer"
  41205. },
  41206. "phonenum": {
  41207. "description": "提货人联系方式",
  41208. "type": "string"
  41209. },
  41210. "qty": {
  41211. "description": "提货数量",
  41212. "type": "number"
  41213. },
  41214. "recivername": {
  41215. "description": "提货人姓名",
  41216. "type": "string"
  41217. },
  41218. "reqtime": {
  41219. "description": "更新时间",
  41220. "type": "string"
  41221. },
  41222. "takemode": {
  41223. "description": "提货方式 - 2:自提 3:配送",
  41224. "type": "integer"
  41225. },
  41226. "takeorderid": {
  41227. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  41228. "type": "string"
  41229. },
  41230. "takeorderstatus": {
  41231. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  41232. "type": "integer"
  41233. },
  41234. "takeremark": {
  41235. "description": "提货备注",
  41236. "type": "string"
  41237. },
  41238. "tradedate": {
  41239. "description": "交易日(yyyyMMdd)",
  41240. "type": "string"
  41241. },
  41242. "userid": {
  41243. "description": "用户ID",
  41244. "type": "integer"
  41245. }
  41246. }
  41247. },
  41248. "szdz.QueryRecieptOrderRsp": {
  41249. "type": "object",
  41250. "required": [
  41251. "ordertime"
  41252. ],
  41253. "properties": {
  41254. "accountName": {
  41255. "description": "所属账号名称(已脱敏)",
  41256. "type": "string"
  41257. },
  41258. "accountid": {
  41259. "description": "资金账号",
  41260. "type": "integer"
  41261. },
  41262. "buyorsell": {
  41263. "description": "方向 - 0:买 1:卖",
  41264. "type": "integer"
  41265. },
  41266. "enableqty": {
  41267. "description": "可摘数量",
  41268. "type": "integer"
  41269. },
  41270. "goodscode": {
  41271. "description": "商品代码",
  41272. "type": "string"
  41273. },
  41274. "goodsid": {
  41275. "description": "商品ID",
  41276. "type": "integer"
  41277. },
  41278. "goodsname": {
  41279. "description": "商品名称",
  41280. "type": "string"
  41281. },
  41282. "orderid": {
  41283. "description": "委托单号",
  41284. "type": "string"
  41285. },
  41286. "orderprice": {
  41287. "description": "委托价格",
  41288. "type": "number"
  41289. },
  41290. "ordertime": {
  41291. "description": "委托时间",
  41292. "type": "string"
  41293. },
  41294. "tradedate": {
  41295. "description": "交易日(yyyyMMdd)",
  41296. "type": "string"
  41297. }
  41298. }
  41299. },
  41300. "szdz.QuerySZDZTradePositionRsp": {
  41301. "type": "object",
  41302. "properties": {
  41303. "accountid": {
  41304. "description": "账号Id",
  41305. "type": "integer"
  41306. },
  41307. "agreeunit": {
  41308. "description": "合约单位",
  41309. "type": "number"
  41310. },
  41311. "averageprice": {
  41312. "description": "持仓均价",
  41313. "type": "number"
  41314. },
  41315. "buyorsell": {
  41316. "description": "方向 - 0:买 1:卖",
  41317. "type": "integer"
  41318. },
  41319. "closetotalqty": {
  41320. "description": "平仓总数量",
  41321. "type": "integer"
  41322. },
  41323. "curholderamount": {
  41324. "description": "当前持仓总金额",
  41325. "type": "number"
  41326. },
  41327. "curpositionqty": {
  41328. "description": "当前持仓总数量",
  41329. "type": "integer"
  41330. },
  41331. "currencyid": {
  41332. "description": "报价货币ID",
  41333. "type": "integer"
  41334. },
  41335. "curtdposition": {
  41336. "description": "期末今日头寸",
  41337. "type": "integer"
  41338. },
  41339. "decimalplace": {
  41340. "description": "报价小数位",
  41341. "type": "integer"
  41342. },
  41343. "enableqty": {
  41344. "description": "可用量",
  41345. "type": "integer"
  41346. },
  41347. "fretdposition": {
  41348. "description": "冻结今日头寸",
  41349. "type": "integer"
  41350. },
  41351. "frozenqty": {
  41352. "description": "持仓冻结数量",
  41353. "type": "integer"
  41354. },
  41355. "goodscode": {
  41356. "description": "商品代码(内部)",
  41357. "type": "string"
  41358. },
  41359. "goodsid": {
  41360. "description": "商品Id",
  41361. "type": "integer"
  41362. },
  41363. "goodsname": {
  41364. "description": "商品名称",
  41365. "type": "string"
  41366. },
  41367. "goodunit": {
  41368. "description": "报价单位",
  41369. "type": "string"
  41370. },
  41371. "goodunitid": {
  41372. "description": "报价单位ID",
  41373. "type": "integer"
  41374. },
  41375. "holderamount": {
  41376. "description": "期初持仓总金额",
  41377. "type": "number"
  41378. },
  41379. "marketid": {
  41380. "description": "市场ID",
  41381. "type": "integer"
  41382. },
  41383. "openreqqty": {
  41384. "description": "开仓申请数量",
  41385. "type": "integer"
  41386. },
  41387. "opentotalqty": {
  41388. "description": "开仓总数量",
  41389. "type": "integer"
  41390. },
  41391. "otherfrozenqty": {
  41392. "description": "持仓其他冻结数量(交割冻结)",
  41393. "type": "integer"
  41394. },
  41395. "positionqty": {
  41396. "description": "期初持仓数量",
  41397. "type": "integer"
  41398. },
  41399. "szdz3freezqty": {
  41400. "description": "尚志大宗转换冻结总数量",
  41401. "type": "integer"
  41402. },
  41403. "tnqty": {
  41404. "description": "T+N冻结总量",
  41405. "type": "integer"
  41406. },
  41407. "tnusedqty": {
  41408. "description": "T+N使用量",
  41409. "type": "integer"
  41410. },
  41411. "trademode": {
  41412. "description": "交易模式",
  41413. "type": "integer"
  41414. },
  41415. "usedmargin": {
  41416. "description": "占用保证金",
  41417. "type": "number"
  41418. }
  41419. }
  41420. },
  41421. "taaccount.QueryAmountLogRsp": {
  41422. "type": "object",
  41423. "required": [
  41424. "accountid",
  41425. "amount",
  41426. "amountadjusttype",
  41427. "autoid",
  41428. "balance",
  41429. "createtime",
  41430. "currentbalance",
  41431. "operatetype"
  41432. ],
  41433. "properties": {
  41434. "OPERATETYPENAME": {
  41435. "description": "资金操作类型名称",
  41436. "type": "string"
  41437. },
  41438. "accountid": {
  41439. "description": "资金账户ID",
  41440. "type": "integer"
  41441. },
  41442. "agoodscode": {
  41443. "description": "竞拍商品代码",
  41444. "type": "string"
  41445. },
  41446. "agoodsname": {
  41447. "description": "竞拍商品名称",
  41448. "type": "string"
  41449. },
  41450. "amount": {
  41451. "description": "资金金额",
  41452. "type": "number"
  41453. },
  41454. "amountadjusttype": {
  41455. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  41456. "type": "integer"
  41457. },
  41458. "autoid": {
  41459. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  41460. "type": "integer"
  41461. },
  41462. "balance": {
  41463. "description": "期初余额",
  41464. "type": "number"
  41465. },
  41466. "businesscode": {
  41467. "description": "业务编号",
  41468. "type": "integer"
  41469. },
  41470. "createtime": {
  41471. "description": "发生时间",
  41472. "type": "string"
  41473. },
  41474. "currencyid": {
  41475. "description": "币种ID",
  41476. "type": "integer"
  41477. },
  41478. "currentbalance": {
  41479. "description": "期末余额(变动后金额)",
  41480. "type": "number"
  41481. },
  41482. "dgoodscode": {
  41483. "description": "交割商品代码",
  41484. "type": "string"
  41485. },
  41486. "dgoodsname": {
  41487. "description": "交割商品名称",
  41488. "type": "string"
  41489. },
  41490. "goodscode": {
  41491. "description": "商品代码",
  41492. "type": "string"
  41493. },
  41494. "goodsid": {
  41495. "description": "商品ID",
  41496. "type": "integer"
  41497. },
  41498. "goodsname": {
  41499. "description": "商品名称",
  41500. "type": "string"
  41501. },
  41502. "marketid": {
  41503. "description": "市场ID",
  41504. "type": "integer"
  41505. },
  41506. "marketname": {
  41507. "description": "市场名称",
  41508. "type": "string"
  41509. },
  41510. "moneyticket": {
  41511. "description": "资金流水号:银行端流水号",
  41512. "type": "integer"
  41513. },
  41514. "operatetype": {
  41515. "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:营销收款",
  41516. "type": "integer"
  41517. },
  41518. "relationorderid": {
  41519. "description": "关联单号",
  41520. "type": "string"
  41521. },
  41522. "remark": {
  41523. "description": "备注",
  41524. "type": "string"
  41525. },
  41526. "trademode": {
  41527. "description": "交易模式",
  41528. "type": "integer"
  41529. }
  41530. }
  41531. },
  41532. "taaccount.QueryHisAmountLogRsp": {
  41533. "type": "object",
  41534. "required": [
  41535. "accountid",
  41536. "amount",
  41537. "amountadjusttype",
  41538. "autoid",
  41539. "balance",
  41540. "createtime",
  41541. "currentbalance",
  41542. "histradedate",
  41543. "operatetype"
  41544. ],
  41545. "properties": {
  41546. "OPERATETYPENAME": {
  41547. "description": "资金操作类型名称",
  41548. "type": "string"
  41549. },
  41550. "accountid": {
  41551. "description": "资金账户ID",
  41552. "type": "integer"
  41553. },
  41554. "agoodscode": {
  41555. "description": "竞拍商品代码",
  41556. "type": "string"
  41557. },
  41558. "agoodsname": {
  41559. "description": "竞拍商品名称",
  41560. "type": "string"
  41561. },
  41562. "amount": {
  41563. "description": "资金金额",
  41564. "type": "number"
  41565. },
  41566. "amountadjusttype": {
  41567. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  41568. "type": "integer"
  41569. },
  41570. "autoid": {
  41571. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  41572. "type": "integer"
  41573. },
  41574. "balance": {
  41575. "description": "期初余额",
  41576. "type": "number"
  41577. },
  41578. "businesscode": {
  41579. "description": "业务编号",
  41580. "type": "integer"
  41581. },
  41582. "createtime": {
  41583. "description": "发生时间",
  41584. "type": "string"
  41585. },
  41586. "currencyid": {
  41587. "description": "币种ID",
  41588. "type": "integer"
  41589. },
  41590. "currentbalance": {
  41591. "description": "期末余额(变动后金额)",
  41592. "type": "number"
  41593. },
  41594. "dgoodscode": {
  41595. "description": "交割商品代码",
  41596. "type": "string"
  41597. },
  41598. "dgoodsname": {
  41599. "description": "交割商品名称",
  41600. "type": "string"
  41601. },
  41602. "goodscode": {
  41603. "description": "商品代码",
  41604. "type": "string"
  41605. },
  41606. "goodsid": {
  41607. "description": "商品ID",
  41608. "type": "integer"
  41609. },
  41610. "goodsname": {
  41611. "description": "商品名称",
  41612. "type": "string"
  41613. },
  41614. "histradedate": {
  41615. "description": "历史交易日",
  41616. "type": "string"
  41617. },
  41618. "isvaliddata": {
  41619. "description": "是否有效 - 0:无效 1:有效",
  41620. "type": "integer"
  41621. },
  41622. "marketid": {
  41623. "description": "市场ID",
  41624. "type": "integer"
  41625. },
  41626. "marketname": {
  41627. "description": "市场名称",
  41628. "type": "string"
  41629. },
  41630. "moneyticket": {
  41631. "description": "资金流水号:银行端流水号",
  41632. "type": "integer"
  41633. },
  41634. "operatetype": {
  41635. "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:营销收款",
  41636. "type": "integer"
  41637. },
  41638. "relationorderid": {
  41639. "description": "关联单号",
  41640. "type": "string"
  41641. },
  41642. "remark": {
  41643. "description": "备注",
  41644. "type": "string"
  41645. },
  41646. "trademode": {
  41647. "description": "交易模式",
  41648. "type": "integer"
  41649. }
  41650. }
  41651. },
  41652. "trade.QueryRecieptOrderRsp": {
  41653. "type": "object",
  41654. "required": [
  41655. "ordertime"
  41656. ],
  41657. "properties": {
  41658. "accountName": {
  41659. "description": "所属账号名称(已脱敏)",
  41660. "type": "string"
  41661. },
  41662. "accountid": {
  41663. "description": "资金账号",
  41664. "type": "integer"
  41665. },
  41666. "buyorsell": {
  41667. "description": "方向 - 0:买 1:卖",
  41668. "type": "integer"
  41669. },
  41670. "enableqty": {
  41671. "description": "可摘数量",
  41672. "type": "integer"
  41673. },
  41674. "goodscode": {
  41675. "description": "商品代码",
  41676. "type": "string"
  41677. },
  41678. "goodsid": {
  41679. "description": "商品ID",
  41680. "type": "integer"
  41681. },
  41682. "goodsname": {
  41683. "description": "商品名称",
  41684. "type": "string"
  41685. },
  41686. "orderid": {
  41687. "description": "委托单号",
  41688. "type": "string"
  41689. },
  41690. "orderprice": {
  41691. "description": "委托价格",
  41692. "type": "number"
  41693. },
  41694. "ordertime": {
  41695. "description": "委托时间",
  41696. "type": "string"
  41697. },
  41698. "tradedate": {
  41699. "description": "交易日(yyyyMMdd)",
  41700. "type": "string"
  41701. }
  41702. }
  41703. },
  41704. "user.LoginQueryRsp": {
  41705. "type": "object",
  41706. "properties": {
  41707. "areaRoles": {
  41708. "description": "所属角色信息",
  41709. "type": "array",
  41710. "items": {
  41711. "$ref": "#/definitions/models.Arearole"
  41712. }
  41713. },
  41714. "externalExchanges": {
  41715. "description": "外部交易所",
  41716. "type": "array",
  41717. "items": {
  41718. "$ref": "#/definitions/models.Externalexchange"
  41719. }
  41720. },
  41721. "goodsgroups": {
  41722. "description": "商品组",
  41723. "type": "array",
  41724. "items": {
  41725. "$ref": "#/definitions/models.Goodsgroup"
  41726. }
  41727. },
  41728. "loginAccount": {
  41729. "description": "登录账号",
  41730. "$ref": "#/definitions/models.Loginaccount"
  41731. },
  41732. "markets": {
  41733. "description": "市场",
  41734. "type": "array",
  41735. "items": {
  41736. "$ref": "#/definitions/models.Market"
  41737. }
  41738. },
  41739. "systemParams": {
  41740. "description": "系统参数",
  41741. "type": "array",
  41742. "items": {
  41743. "$ref": "#/definitions/models.Systemparam"
  41744. }
  41745. },
  41746. "userAccount": {
  41747. "description": "用户账号",
  41748. "$ref": "#/definitions/models.Useraccount"
  41749. },
  41750. "userInfo": {
  41751. "description": "用户信息",
  41752. "$ref": "#/definitions/models.Userinfo"
  41753. },
  41754. "username": {
  41755. "description": "用户姓名",
  41756. "type": "string"
  41757. }
  41758. }
  41759. }
  41760. },
  41761. "securityDefinitions": {
  41762. "ApiKeyAuth": {
  41763. "type": "apiKey",
  41764. "name": "Authorization",
  41765. "in": "header"
  41766. }
  41767. }
  41768. }`
  41769. type swaggerInfo struct {
  41770. Version string
  41771. Host string
  41772. BasePath string
  41773. Schemes []string
  41774. Title string
  41775. Description string
  41776. }
  41777. // SwaggerInfo holds exported Swagger Info so clients can modify it
  41778. var SwaggerInfo = swaggerInfo{
  41779. Version: "1.0",
  41780. Host: "",
  41781. BasePath: "/api",
  41782. Schemes: []string{},
  41783. Title: "MTP2.0 查询服务 API",
  41784. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  41785. }
  41786. type s struct{}
  41787. func (s *s) ReadDoc() string {
  41788. sInfo := SwaggerInfo
  41789. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  41790. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  41791. "marshal": func(v interface{}) string {
  41792. a, _ := json.Marshal(v)
  41793. return string(a)
  41794. },
  41795. }).Parse(doc)
  41796. if err != nil {
  41797. return doc
  41798. }
  41799. var tpl bytes.Buffer
  41800. if err := t.Execute(&tpl, sInfo); err != nil {
  41801. return doc
  41802. }
  41803. return tpl.String()
  41804. }
  41805. func init() {
  41806. swag.Register(swag.Name, &s{})
  41807. }